{"modulePath":"github.com/sei-protocol/sei-chain","version":"v0.0.38","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package pointer\n\n## Constants\n\n```go\nconst (\n\tPrecompileName   = \"pointer\"\n\tAddNativePointer = \"addNativePointer\"\n\tAddCW20Pointer   = \"addCW20Pointer\"\n\tAddCW721Pointer  = \"addCW721Pointer\"\n)\n```\n\n```go\nconst PointerAddress = \"0x000000000000000000000000000000000000100b\"\n```\n\n## Types\n\n```go\ntype Precompile struct {\n\tpcommon.Precompile\n\n\tAddNativePointerID []byte\n\tAddCW20PointerID   []byte\n\tAddCW721PointerID  []byte\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewPrecompile(evmKeeper pcommon.EVMKeeper, bankKeeper pcommon.BankKeeper, wasmdKeeper pcommon.WasmdViewKeeper) (*Precompile, error)\n```\n\n```go\nfunc (p Precompile) AddCW20(ctx sdk.Context, method *ethabi.Method, caller common.Address, args []interface{}, value *big.Int, evm *vm.EVM, suppliedGas uint64) (ret []byte, remainingGas uint64, err error)\n```\n\n```go\nfunc (p Precompile) AddCW721(ctx sdk.Context, method *ethabi.Method, caller common.Address, args []interface{}, value *big.Int, evm *vm.EVM, suppliedGas uint64) (ret []byte, remainingGas uint64, err error)\n```\n\n```go\nfunc (p Precompile) AddNative(ctx sdk.Context, method *ethabi.Method, caller common.Address, args []interface{}, value *big.Int, evm *vm.EVM, suppliedGas uint64) (ret []byte, remainingGas uint64, err error)\n```\n\n```go\nfunc (p Precompile) Address() common.Address\n```\n\n```go\nfunc (p Precompile) GetName() string\n```\n\n```go\nfunc (p Precompile) RequiredGas(input []byte) uint64\n```\nRequiredGas returns the required bare minimum gas to execute the precompile.\n\n```go\nfunc (p Precompile) Run(*vm.EVM, common.Address, common.Address, []byte, *big.Int, bool) ([]byte, error)\n```\n\n```go\nfunc (p Precompile) RunAndCalculateGas(evm *vm.EVM, caller common.Address, callingContract common.Address, input []byte, suppliedGas uint64, value *big.Int, _ *tracing.Hooks, readOnly bool) (ret []byte, remainingGas uint64, err error)\n```\n\n","path":"github.com/sei-protocol/sei-chain/precompiles/pointer","name":"pointer","synopsis":"","isRedistributable":true}
