Documentation ¶
Index ¶
- func NewCustomMsgServerImpl(k *Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AfterExecuteContract(ctx sdk.Context, msg *types.MsgExecuteContract, ...) error
- func (k Keeper) DeleteExecutedContractAddresses(ctx sdk.Context)
- func (k Keeper) GetExecutedContractAddresses(ctx sdk.Context) (contracts types.ExecutedContracts, found bool)
- func (k Keeper) SetExecutedContractAddresses(ctx sdk.Context, contracts types.ExecutedContracts) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCustomMsgServerImpl ¶
NewCustomMsgServerImpl default constructor
Types ¶
type Keeper ¶
type Keeper struct { *wasmkeeper.Keeper // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper( cdc codec.Codec, storeKey storetypes.StoreKey, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, stakingKeeper types.StakingKeeper, distrKeeper types.DistributionKeeper, ics4Wrapper types.ICS4Wrapper, channelKeeper types.ChannelKeeper, portKeeper types.PortKeeper, capabilityKeeper types.CapabilityKeeper, portSource types.ICS20TransferPortSource, router wasmkeeper.MessageRouter, grpcQueryRouter wasmkeeper.GRPCQueryRouter, homeDir string, wasmConfig types.WasmConfig, availableCapabilities string, authority string, opts ...wasmkeeper.Option, ) Keeper
func (Keeper) AfterExecuteContract ¶
func (k Keeper) AfterExecuteContract(ctx sdk.Context, msg *types.MsgExecuteContract, res *types.MsgExecuteContractResponse) error
After executing the contract, get all executed contract addresses from the store, if there is a store already then check if the contract address exists in the list, if not then update the store, If the contract does not exist in the store, add it.
func (Keeper) DeleteExecutedContractAddresses ¶
func (Keeper) GetExecutedContractAddresses ¶
func (Keeper) SetExecutedContractAddresses ¶
Click to show internal directories.
Click to hide internal directories.