Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper WrappedBaseKeeper) types.MsgServer
- type AccountKeeper
- type BaseKeeper
- type ERC20Keeper
- type WrappedBaseKeeper
- func (k WrappedBaseKeeper) AllBalances(ctx context.Context, req *types.QueryAllBalancesRequest) (*types.QueryAllBalancesResponse, error)
- func (k WrappedBaseKeeper) Balance(ctx context.Context, req *types.QueryBalanceRequest) (*types.QueryBalanceResponse, error)
- func (k WrappedBaseKeeper) DenomMetadata(c context.Context, req *types.QueryDenomMetadataRequest) (*types.QueryDenomMetadataResponse, error)
- func (k WrappedBaseKeeper) DenomOwners(goCtx context.Context, req *types.QueryDenomOwnersRequest) (*types.QueryDenomOwnersResponse, error)
- func (k WrappedBaseKeeper) DenomsMetadata(c context.Context, req *types.QueryDenomsMetadataRequest) (*types.QueryDenomsMetadataResponse, error)
- func (k WrappedBaseKeeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k WrappedBaseKeeper) SendEnabled(c context.Context, req *types.QuerySendEnabledRequest) (*types.QuerySendEnabledResponse, error)
- func (k WrappedBaseKeeper) SpendableBalanceByDenom(ctx context.Context, req *types.QuerySpendableBalanceByDenomRequest) (*types.QuerySpendableBalanceByDenomResponse, error)
- func (k WrappedBaseKeeper) SpendableBalances(ctx context.Context, req *types.QuerySpendableBalancesRequest) (*types.QuerySpendableBalancesResponse, error)
- func (k WrappedBaseKeeper) SupplyOf(c context.Context, req *types.QuerySupplyOfRequest) (*types.QuerySupplyOfResponse, error)
- func (k WrappedBaseKeeper) TotalSupply(ctx context.Context, req *types.QueryTotalSupplyRequest) (*types.QueryTotalSupplyResponse, error)
- func (k WrappedBaseKeeper) UnwrapBaseKeeper() bankkeeper.BaseKeeper
- func (k WrappedBaseKeeper) UnwrapKeeper() bankkeeper.Keeper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶ added in v1.6.4
func NewMsgServerImpl(keeper WrappedBaseKeeper) types.MsgServer
NewMsgServerImpl returns an implementation of the bank MsgServer interface for the provided Keeper.
Types ¶
type AccountKeeper ¶ added in v1.6.4
type BaseKeeper ¶
type BaseKeeper struct { bankkeeper.BaseKeeper // contains filtered or unexported fields }
func NewBaseKeeper ¶
func NewBaseKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, distrStoreKey storetypes.StoreKey, ak banktypes.AccountKeeper, dk distrkeeper.Keeper, blockedAddrs map[string]bool, authority string, ) BaseKeeper
type ERC20Keeper ¶ added in v1.6.3
type ERC20Keeper interface { IsERC20Enabled(ctx sdk.Context) bool GetTokenPairID(ctx sdk.Context, token string) []byte GetTokenPair(ctx sdk.Context, id []byte) (types.TokenPair, bool) GetTokenPairs(ctx sdk.Context) []types.TokenPair IterateTokenPairs(ctx sdk.Context, cb func(tokenPair types.TokenPair) (stop bool)) BalanceOf(ctx sdk.Context, abi abi.ABI, contract, account common.Address) *big.Int ConvertCoin(goCtx context.Context, msg *types.MsgConvertCoin) (*types.MsgConvertCoinResponse, error) CallEVM(ctx sdk.Context, abi abi.ABI, from, contract common.Address, commit bool, method string, args ...interface{}) (*evmtypes.MsgEthereumTxResponse, error) }
type WrappedBaseKeeper ¶ added in v1.6.3
type WrappedBaseKeeper struct { bankkeeper.Keeper // contains filtered or unexported fields }
func NewWrappedBaseKeeper ¶ added in v1.6.3
func NewWrappedBaseKeeper( bk bankkeeper.Keeper, ek ERC20Keeper, ak AccountKeeper, ) WrappedBaseKeeper
func (WrappedBaseKeeper) AllBalances ¶ added in v1.6.3
func (k WrappedBaseKeeper) AllBalances(ctx context.Context, req *types.QueryAllBalancesRequest) (*types.QueryAllBalancesResponse, error)
AllBalances implements the Query/AllBalances gRPC method
func (WrappedBaseKeeper) Balance ¶ added in v1.6.3
func (k WrappedBaseKeeper) Balance(ctx context.Context, req *types.QueryBalanceRequest) (*types.QueryBalanceResponse, error)
Balance implements the Query/Balance gRPC method
func (WrappedBaseKeeper) DenomMetadata ¶ added in v1.6.3
func (k WrappedBaseKeeper) DenomMetadata(c context.Context, req *types.QueryDenomMetadataRequest) (*types.QueryDenomMetadataResponse, error)
DenomMetadata implements Query/DenomMetadata gRPC method.
func (WrappedBaseKeeper) DenomOwners ¶ added in v1.6.3
func (k WrappedBaseKeeper) DenomOwners( goCtx context.Context, req *types.QueryDenomOwnersRequest, ) (*types.QueryDenomOwnersResponse, error)
func (WrappedBaseKeeper) DenomsMetadata ¶ added in v1.6.3
func (k WrappedBaseKeeper) DenomsMetadata(c context.Context, req *types.QueryDenomsMetadataRequest) (*types.QueryDenomsMetadataResponse, error)
DenomsMetadata implements Query/DenomsMetadata gRPC method.
func (WrappedBaseKeeper) Params ¶ added in v1.6.3
func (k WrappedBaseKeeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params implements the gRPC service handler for querying x/bank parameters.
func (WrappedBaseKeeper) SendEnabled ¶ added in v1.7.0
func (k WrappedBaseKeeper) SendEnabled(c context.Context, req *types.QuerySendEnabledRequest) (*types.QuerySendEnabledResponse, error)
func (WrappedBaseKeeper) SpendableBalanceByDenom ¶ added in v1.7.0
func (k WrappedBaseKeeper) SpendableBalanceByDenom(ctx context.Context, req *types.QuerySpendableBalanceByDenomRequest) (*types.QuerySpendableBalanceByDenomResponse, error)
func (WrappedBaseKeeper) SpendableBalances ¶ added in v1.6.3
func (k WrappedBaseKeeper) SpendableBalances(ctx context.Context, req *types.QuerySpendableBalancesRequest) (*types.QuerySpendableBalancesResponse, error)
SpendableBalances implements a gRPC query handler for retrieving an account's spendable balances.
func (WrappedBaseKeeper) SupplyOf ¶ added in v1.6.3
func (k WrappedBaseKeeper) SupplyOf(c context.Context, req *types.QuerySupplyOfRequest) (*types.QuerySupplyOfResponse, error)
SupplyOf implements the Query/SupplyOf gRPC method
func (WrappedBaseKeeper) TotalSupply ¶ added in v1.6.3
func (k WrappedBaseKeeper) TotalSupply(ctx context.Context, req *types.QueryTotalSupplyRequest) (*types.QueryTotalSupplyResponse, error)
TotalSupply implements the Query/TotalSupply gRPC method
func (WrappedBaseKeeper) UnwrapBaseKeeper ¶ added in v1.6.3
func (k WrappedBaseKeeper) UnwrapBaseKeeper() bankkeeper.BaseKeeper
func (WrappedBaseKeeper) UnwrapKeeper ¶ added in v1.6.4
func (k WrappedBaseKeeper) UnwrapKeeper() bankkeeper.Keeper
Click to show internal directories.
Click to hide internal directories.