package
0.0.0-20210308055104-cc5e3f53a14f
Repository: https://github.com/bentaro/nftchain.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConvertToProposals maps each key to a ProposalType and returns a typed list.
DefaultParams returns default wasm parameters.
DefaultWasmConfig returns the default settings for WasmConfig.
No description provided by the author
GetCodeKey constructs the key for retreiving the ID for the WASM code.
GetContractAddressKey returns the key for the WASM contract instance.
GetContractStorePrefixKey returns the store prefix for the WASM contract instance.
No description provided by the author
No description provided by the author
NewAbsoluteTxPosition gets a timestamp from the context.
NewCodeInfo fills a new Contract struct.
NewContractInfo creates a new instance of a given WASM contract info.
NewEnv initializes the environment for a contract instance.
NewInfo initializes the MessageInfo for a contract instance add additional nft info if necessary.
NewWasmCoins translates between Cosmos SDK coins and Wasm coins.
No description provided by the author
ParamKeyTable returns the parameter key table.
ParseEvents converts wasm LogAttributes into an sdk.Events (with 0 or 1 elements).
RegisterCodec registers the account types and interface.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BuildTagRegexp is a docker image regexp.
No description provided by the author
DefaultParamspace for params keeper.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MaxLabelSize is the longest label that can be used when Instantiating a contract.
No description provided by the author
No description provided by the author
ModuleName is the name of the contract module.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QuerierRoute is the querier route for the staking module.
RouterKey is the msg router key for the staking module.
StoreKey is the string store representation.
TStoreKey is the string transient store representation.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
nolint.
nolint.
nolint.
nolint.
Codes for wasm contract errors.
No description provided by the author
DisableAllProposals contains no wasm gov types.
EnableAllProposals contains all wasm gov types as keys.
ErrAccountExists error for a contract account that already exists.
ErrCreateFailed error for wasm code that has already been uploaded or failed.
ErrDuplicate error for content that exsists.
ErrEmpty error for empty content.
ErrExecuteFailed error for rust execution contract failure.
ErrGasLimit error for out of gas.
ErrInstantiateFailed error for rust instantiate contract failure.
ErrInvalid error for content that is invalid in this context.
ErrInvalidGenesis error for invalid genesis file syntax.
ErrInvalidMsg error when we cannot process the error returned from the contract.
ErrLimit error for content that exceeds a limit.
ErrMigrationFailed error for rust execution contract failure.
ErrNotFound error for an entry not found in the store.
ErrQueryFailed error for rust smart query contract failure.
nolint.
nolint.
ModuleCdc generic sealed codec to be used throughout module.
No description provided by the author
No description provided by the author
nolint.

# Structs

AbsoluteTxPosition can be used to sort contracts.
No description provided by the author
No description provided by the author
ClearAdminProposal gov proposal content type to clear the admin of a contract.
CodeInfo is data for the uploaded contract WASM code.
ContractCodeHistoryEntry stores code updates to a contract.
ContractInfo stores a WASM contract instance.
InstantiateContractProposal gov proposal content type to instantiate a contract.
MigrateContractProposal gov proposal content type to migrate a contract.
No description provided by the author
Model is a struct that holds a KV pair.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Params defines the set of wasm parameters.
StoreCodeProposal gov proposal content type to store wasm code.
No description provided by the author
UpdateAdminProposal gov proposal content type to set an admin for a contract.
WasmConfig is the extra config required for wasm.
WasmProposal contains common proposal data.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author