Versions in this module Expand all Collapse all v1 v1.7.4 Apr 15, 2023 v1.7.3 Apr 15, 2023 Changes in this version + const FeeFactorBase + const FeeFactorExp + func NewMsgServerImpl(keeper Keeper) types.MsgServer + func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier + type Keeper struct + func NewKeeper(cdc codec.Codec, key storetypes.StoreKey, paramSpace paramstypes.Subspace, ...) Keeper + func (k Keeper) AddBurnCoin(ctx sdk.Context, coin sdk.Coin) + func (k Keeper) AddToken(ctx sdk.Context, token types.Token) error + func (k Keeper) BurnToken(ctx sdk.Context, symbol string, amount uint64, owner sdk.AccAddress) error + func (k Keeper) DeductIssueTokenFee(ctx sdk.Context, owner sdk.AccAddress, symbol string) error + func (k Keeper) DeductMintTokenFee(ctx sdk.Context, owner sdk.AccAddress, symbol string) error + func (k Keeper) EditToken(ctx sdk.Context, symbol string, name string, maxSupply uint64, ...) error + func (k Keeper) Fees(c context.Context, req *types.QueryFeesRequest) (*types.QueryFeesResponse, error) + func (k Keeper) GetAllBurnCoin(ctx sdk.Context) []sdk.Coin + func (k Keeper) GetBurnCoin(ctx sdk.Context, minUint string) (sdk.Coin, error) + func (k Keeper) GetOwner(ctx sdk.Context, denom string) (sdk.AccAddress, error) + func (k Keeper) GetParamSet(ctx sdk.Context) types.Params + func (k Keeper) GetToken(ctx sdk.Context, denom string) (types.TokenI, error) + func (k Keeper) GetTokenIssueFee(ctx sdk.Context, symbol string) (sdk.Coin, error) + func (k Keeper) GetTokenMintFee(ctx sdk.Context, symbol string) (sdk.Coin, error) + func (k Keeper) GetTokens(ctx sdk.Context, owner sdk.AccAddress) (tokens []types.TokenI) + func (k Keeper) HasSymbol(ctx sdk.Context, symbol string) bool + func (k Keeper) HasToken(ctx sdk.Context, denom string) bool + func (k Keeper) IssueToken(ctx sdk.Context, symbol string, name string, minUnit string, scale uint32, ...) error + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) MintToken(ctx sdk.Context, symbol string, amount uint64, recipient sdk.AccAddress, ...) error + func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (k Keeper) SetParamSet(ctx sdk.Context, params types.Params) + func (k Keeper) SwapFeeToken(ctx sdk.Context, feePaid sdk.Coin, sender sdk.AccAddress, ...) (sdk.Coin, error) + func (k Keeper) Token(c context.Context, req *types.QueryTokenRequest) (*types.QueryTokenResponse, error) + func (k Keeper) Tokens(c context.Context, req *types.QueryTokensRequest) (*types.QueryTokensResponse, error) + func (k Keeper) TotalBurn(c context.Context, req *types.QueryTotalBurnRequest) (*types.QueryTotalBurnResponse, error) + func (k Keeper) TransferTokenOwner(ctx sdk.Context, symbol string, srcOwner sdk.AccAddress, ...) error + func (k Keeper) WithSwapRegistry(registry types.SwapRegistry) Keeper + type ValidateTokenFeeDecorator struct + func NewValidateTokenFeeDecorator(k Keeper, bk types.BankKeeper) ValidateTokenFeeDecorator + func (dtf ValidateTokenFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error)