Versions in this module Expand all Collapse all v6 v6.0.0 Feb 24, 2023 Changes in this version + var DefaultGasLimit uint64 = 30000000 + var ErrContractDeployments = sdkerrors.Register(types.ModuleName, 2004, ...) + var ErrDuplicateNFTID = sdkerrors.Register(types.ModuleName, 2011, ...) + var ErrFeeDistribution = sdkerrors.Register(types.ModuleName, 2001, ...) + var ErrMethodCall = sdkerrors.Register(types.ModuleName, 2005, ...) + var ErrNFTNotFound = sdkerrors.Register(types.ModuleName, 2010, "The NFT that was queried does not currently exist") + var ErrNonexistentAcct = sdkerrors.Register(types.ModuleName, 2008, ...) + var ErrNonexistentCSR = sdkerrors.Register(types.ModuleName, 2009, "The CSR that was queried does not currently exist") + var ErrPrevRegisteredSmartContract = sdkerrors.Register(types.ModuleName, 2000, ...) + var ErrRegisterInvalidContract = sdkerrors.Register(types.ModuleName, 2007, ...) + var TurnstileContract abi.ABI = contracts.TurnstileContract.ABI + func BytesToUInt64(bz []byte) uint64 + func UInt64ToBytes(number uint64) []byte + type Hooks struct + func (h Hooks) PostTxProcessing(ctx sdk.Context, msg core.Message, receipt *ethtypes.Receipt) error + type Keeper struct + FeeCollectorName string + func NewKeeper(cdc codec.BinaryCodec, storeKey sdk.StoreKey, ps paramtypes.Subspace, ...) Keeper + func (k Keeper) CSRByContract(c context.Context, request *types.QueryCSRByContractRequest) (*types.QueryCSRByContractResponse, error) + func (k Keeper) CSRByNFT(c context.Context, request *types.QueryCSRByNFTRequest) (*types.QueryCSRByNFTResponse, error) + func (k Keeper) CSRs(c context.Context, request *types.QueryCSRsRequest) (*types.QueryCSRsResponse, error) + func (k Keeper) CallEVM(ctx sdk.Context, from common.Address, to *common.Address, amount *big.Int, ...) (*evmtypes.MsgEthereumTxResponse, error) + func (k Keeper) CallMethod(ctx sdk.Context, method string, contract evmtypes.CompiledContract, ...) (*evmtypes.MsgEthereumTxResponse, error) + func (k Keeper) DeployContract(ctx sdk.Context, contract evmtypes.CompiledContract, args ...interface{}) (common.Address, error) + func (k Keeper) DeployTurnstile(ctx sdk.Context) (common.Address, error) + func (k Keeper) GetCSR(ctx sdk.Context, nftId uint64) (*types.CSR, bool) + func (k Keeper) GetDefaultParams() types.Params + func (k Keeper) GetNFTByContract(ctx sdk.Context, address string) (uint64, bool) + func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k Keeper) GetTurnstile(ctx sdk.Context) (common.Address, bool) + func (k Keeper) Hooks() Hooks + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) Params(c context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (k Keeper) RegisterEvent(ctx sdk.Context, data []byte) error + func (k Keeper) SetCSR(ctx sdk.Context, csr types.CSR) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetTurnstile(ctx sdk.Context, turnstile common.Address) + func (k Keeper) Turnstile(c context.Context, _ *types.QueryTurnstileRequest) (*types.QueryTurnstileResponse, error) + func (k Keeper) UpdateEvent(ctx sdk.Context, data []byte) error + func (k Keeper) ValidateContract(ctx sdk.Context, contract common.Address) error Other modules containing this package github.com/Canto-Network/Canto/v7 github.com/Canto-Network/Canto/v8