Documentation ¶
Index ¶
- Variables
- func InitGenesis(ctx sdk.Context, k Keeper, data GenesisState)
- func NewHandler(k Keeper) sdk.Handler
- func SortAddresses(addrs []sdk.AccAddress)
- func SortByteArrays(src [][]byte) [][]byte
- func ValidateGenesis(data GenesisState) error
- type AssetFamily
- type AssetSource
- type FungibleToken
- type Gateway
- type GatewayFeeOutput
- type Gateways
- type GenesisState
- type Keeper
- type MsgCreateGateway
- type MsgEditGateway
- type MsgEditToken
- type MsgIssueToken
- type MsgMintToken
- type MsgTransferGatewayOwner
- type MsgTransferTokenOwner
- type Params
- type QueryGatewayFeeParams
- type QueryGatewayParams
- type QueryGatewaysParams
- type QueryTokenFeesParams
- type QueryTokenParams
- type QueryTokensParams
- type TokenFeesOutput
- type Tokens
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NATIVE = types.NATIVE EXTERNAL = types.EXTERNAL GATEWAY = types.GATEWAY FUNGIBLE = types.FUNGIBLE DefaultCodespace = types.DefaultCodespace DefaultParamSpace = types.DefaultParamSpace DoNotModify = types.DoNotModify CodeInvalidAssetSource = types.CodeInvalidAssetSource MaximumAssetMaxSupply = types.MaximumAssetMaxSupply RegisterCodec = types.RegisterCodec ErrInvalidAssetFamily = types.ErrInvalidAssetFamily ErrAssetAlreadyExists = types.ErrAssetAlreadyExists CheckTokenID = types.CheckTokenID ValidateMoniker = types.ValidateMoniker StringToAssetFamilyMap = types.StringToAssetFamilyMap StringToAssetSourceMap = types.StringToAssetSourceMap GetTokenID = types.GetTokenID ParseBool = types.ParseBool NewFungibleToken = types.NewFungibleToken NewMsgCreateGateway = types.NewMsgCreateGateway NewGateway = types.NewGateway NewMsgEditGateway = types.NewMsgEditGateway NewMsgEditToken = types.NewMsgEditToken NewMsgTransferGatewayOwner = types.NewMsgTransferGatewayOwner NewMsgMintToken = types.NewMsgMintToken NewMsgTransferTokenOwner = types.NewMsgTransferTokenOwner NewMsgIssueToken = types.NewMsgIssueToken DefaultParams = types.DefaultParams DefaultParamsForTest = types.DefaultParamsForTest ValidateParams = types.ValidateParams QueryToken = types.QueryToken QueryTokens = types.QueryTokens QueryGateway = types.QueryGateway QueryGateways = types.QueryGateways QueryFees = types.QueryFees NewKeeper = keeper.NewKeeper TokenIssueFeeHandler = keeper.TokenIssueFeeHandler GatewayTokenIssueFeeHandler = keeper.GatewayTokenIssueFeeHandler GatewayCreateFeeHandler = keeper.GatewayCreateFeeHandler NewQuerier = keeper.NewQuerier NewAnteHandler = keeper.NewAnteHandler )
Functions ¶
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, k Keeper, data GenesisState)
InitGenesis - store genesis parameters
func ValidateGenesis ¶
func ValidateGenesis(data GenesisState) error
ValidateGenesis validates the provided asset genesis state to ensure the expected invariants holds.
Types ¶
type AssetFamily ¶
type AssetFamily = types.AssetFamily
type AssetSource ¶
type AssetSource = types.AssetSource
type FungibleToken ¶
type FungibleToken = types.FungibleToken
type GatewayFeeOutput ¶
type GatewayFeeOutput = types.GatewayFeeOutput
type GenesisState ¶
type GenesisState = types.GenesisState
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
get raw genesis raw message for testing
func DefaultGenesisStateForTest ¶
func DefaultGenesisStateForTest() GenesisState
get raw genesis raw message for testing
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, k Keeper) GenesisState
ExportGenesis - output genesis parameters
type MsgCreateGateway ¶
type MsgCreateGateway = types.MsgCreateGateway
type MsgEditGateway ¶
type MsgEditGateway = types.MsgEditGateway
type MsgEditToken ¶
type MsgEditToken = types.MsgEditToken
type MsgIssueToken ¶
type MsgIssueToken = types.MsgIssueToken
type MsgMintToken ¶
type MsgMintToken = types.MsgMintToken
type MsgTransferGatewayOwner ¶
type MsgTransferGatewayOwner = types.MsgTransferGatewayOwner
type MsgTransferTokenOwner ¶
type MsgTransferTokenOwner = types.MsgTransferTokenOwner
type QueryGatewayFeeParams ¶
type QueryGatewayFeeParams = types.QueryGatewayFeeParams
type QueryGatewayParams ¶
type QueryGatewayParams = types.QueryGatewayParams
type QueryGatewaysParams ¶
type QueryGatewaysParams = types.QueryGatewaysParams
type QueryTokenFeesParams ¶
type QueryTokenFeesParams = types.QueryTokenFeesParams
type QueryTokenParams ¶
type QueryTokenParams = types.QueryTokenParams
type QueryTokensParams ¶
type QueryTokensParams = types.QueryTokensParams
type TokenFeesOutput ¶
type TokenFeesOutput = types.TokenFeesOutput
Click to show internal directories.
Click to hide internal directories.