wasm

package
v3.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClaimActionMintNFT = "mint_nft"
	ClaimActionBidNFT  = "bid_nft"
)

Variables

This section is empty.

Functions

func Encoder

func Encoder(contract sdk.AccAddress, data json.RawMessage, version string) ([]sdk.Msg, error)

Types

type ClaimAction

type ClaimAction string

func (ClaimAction) ToAction

func (a ClaimAction) ToAction() (claimtypes.Action, error)

type ClaimFor

type ClaimFor struct {
	Address string      `json:"address"`
	Action  ClaimAction `json:"action"`
}

func (ClaimFor) Encode

func (c ClaimFor) Encode(contract sdk.AccAddress) ([]sdk.Msg, error)

type ClaimMsg

type ClaimMsg struct {
	ClaimFor *ClaimFor `json:"claim_for,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL