Versions in this module Expand all Collapse all v1 v1.0.0 Jan 6, 2023 Changes in this version + const SendNative20ToIbcEventName + const SendToIbcEventName + const SendToWasmEventName + var SendNative20ToIbcEvent abi.Event + var SendToIbcEvent abi.Event + func NewQuerier(keeper Keeper) sdk.Querier + func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper) + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) authexported.Account + NewAccountWithAddress func(ctx sdk.Context, addr sdk.AccAddress) authexported.Account + SetAccount func(ctx sdk.Context, acc authexported.Account) + type BankKeeper interface + BlacklistedAddr func(addr sdk.AccAddress) bool + SendCoins func(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error + type EvmKeeper interface + AddContract func(...interface{}) + AddInnerTx func(...interface{}) + GenerateCSDBParams func() evmtypes.CommitStateDBParams + GetChainConfig func(ctx sdk.Context) (evmtypes.ChainConfig, bool) + GetParams func(ctx sdk.Context) evmtypes.Params + type GovKeeper interface + GetDepositParams func(ctx sdk.Context) govtypes.DepositParams + GetVotingParams func(ctx sdk.Context) govtypes.VotingParams + type IBCTransferHooks struct + func NewIBCTransferHooks(k Keeper) IBCTransferHooks + func (iths IBCTransferHooks) AfterRecvTransfer(ctx sdk.Context, destPort, destChannel string, token sdk.SysCoin, ...) error + func (iths IBCTransferHooks) AfterRefundTransfer(ctx sdk.Context, sourcePort, sourceChannel string, token sdk.SysCoin, ...) error + func (iths IBCTransferHooks) AfterSendTransfer(ctx sdk.Context, sourcePort, sourceChannel string, token sdk.SysCoin, ...) error + type Keeper struct + func NewKeeper(cdc *codec.Codec, storeKey sdk.StoreKey, paramSpace params.Subspace, ...) Keeper + func (k *Keeper) SetGovKeeper(gk GovKeeper) + func (k Keeper) AfterDepositPeriodPassed(_ sdk.Context, _ govTypes.Proposal) + func (k Keeper) AfterSubmitProposalHandler(_ sdk.Context, _ govTypes.Proposal) + func (k Keeper) CallModuleERC20(ctx sdk.Context, contract common.Address, method string, args ...interface{}) ([]byte, error) + func (k Keeper) CallModuleERC20Proxy(ctx sdk.Context, contract common.Address, method string, args ...interface{}) ([]byte, error) + func (k Keeper) CheckMsgSubmitProposal(ctx sdk.Context, msg govTypes.MsgSubmitProposal) sdk.Error + func (k Keeper) ConvertNativeToERC20(ctx sdk.Context, from sdk.AccAddress, native sdk.SysCoin, ...) error + func (k Keeper) ConvertNatives(ctx sdk.Context, from string, vouchers sdk.SysCoins) error + func (k Keeper) ConvertVoucherToERC20(ctx sdk.Context, from sdk.AccAddress, voucher sdk.SysCoin, autoDeploy bool) error + func (k Keeper) ConvertVouchers(ctx sdk.Context, from string, vouchers sdk.SysCoins) error + func (k Keeper) DeleteContractForDenom(ctx sdk.Context, denom string) bool + func (k Keeper) DeployModuleERC20(ctx sdk.Context, denom string) (common.Address, error) + func (k Keeper) GetContractByDenom(ctx sdk.Context, denom string) (contract common.Address, found bool) + func (k Keeper) GetContracts(ctx sdk.Context) (out []types.TokenMapping) + func (k Keeper) GetDenomByContract(ctx sdk.Context, contract common.Address) (denom string, found bool) + func (k Keeper) GetEthAccount(ctx sdk.Context, addr common.Address) (*ethermint.EthAccount, bool) + func (k Keeper) GetImplementTemplateContract(ctx sdk.Context) (types.CompiledContract, bool) + func (k Keeper) GetMaxDepositPeriod(ctx sdk.Context, content sdkGov.Content) (maxDepositPeriod time.Duration) + func (k Keeper) GetMinDeposit(ctx sdk.Context, content sdkGov.Content) (minDeposit sdk.SysCoins) + func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) + func (k Keeper) GetProxyTemplateContract(ctx sdk.Context) (types.CompiledContract, bool) + func (k Keeper) GetSourceChannelID(ctx sdk.Context, ibcVoucherDenom string) (channelID string, err error) + func (k Keeper) GetVotingPeriod(ctx sdk.Context, content sdkGov.Content) (votingPeriod time.Duration) + func (k Keeper) IbcTransferNative20(ctx sdk.Context, from, to string, native20s sdk.SysCoins, ...) error + func (k Keeper) IbcTransferVouchers(ctx sdk.Context, from, to string, vouchers sdk.SysCoins) error + func (k Keeper) InitInternalTemplateContract(ctx sdk.Context) + func (k Keeper) IterateMapping(ctx sdk.Context, cb func(denom, contract string) (stop bool)) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) OnMintVouchers(ctx sdk.Context, vouchers sdk.SysCoins, receiver string) error + func (k Keeper) OnUnescrowNatives(ctx sdk.Context, natives sdk.SysCoins, receiver string) error + func (k Keeper) ProxyContractRedirect(ctx sdk.Context, denom string, tp types.RedirectType, addr common.Address) error + func (k Keeper) RejectedHandler(_ sdk.Context, _ govTypes.Content) + func (k Keeper) SetContractForDenom(ctx sdk.Context, denom string, contract common.Address) error + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetTemplateContract(ctx sdk.Context, typeStr string, str string) error + func (k Keeper) VoteHandler(_ sdk.Context, _ govTypes.Proposal, _ govTypes.Vote) (string, sdk.Error) + type SendNative20ToIbcEventHandler struct + func NewSendNative20ToIbcEventHandler(k Keeper) *SendNative20ToIbcEventHandler + func (h SendNative20ToIbcEventHandler) EventID() common.Hash + func (h SendNative20ToIbcEventHandler) Handle(ctx sdk.Context, contract common.Address, data []byte) error + type SendToIbcEventHandler struct + func NewSendToIbcEventHandler(k Keeper) *SendToIbcEventHandler + func (h SendToIbcEventHandler) EventID() common.Hash + func (h SendToIbcEventHandler) Handle(ctx sdk.Context, contract common.Address, data []byte) error + type Subspace interface + GetParamSet func(ctx sdk.Context, ps params.ParamSet) + SetParamSet func(ctx sdk.Context, ps params.ParamSet) + type SupplyKeeper interface + BurnCoins func(ctx sdk.Context, moduleName string, amt sdk.Coins) error + GetModuleAccount func(ctx sdk.Context, moduleName string) exported.ModuleAccountI + MintCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + type TransferKeeper interface + DenomPathFromHash func(ctx sdk.Context, denom string) (string, error) + GetDenomTrace func(ctx sdk.Context, denomTraceHash tmbytes.HexBytes) (types.DenomTrace, bool) + SendTransfer func(ctx sdk.Context, sourcePort, sourceChannel string, token sdk.CoinAdapter, ...) error