Crate cw1155

Crate cw1155 

Source
Expand description

CW1155 is a specification for managing multiple tokens based on CosmWasm. The name and design is based on Ethereum’s ERC1155 standard.

The specification is split into multiple sections, a contract may only implement some of this functionality, but must implement the base.

Fungible tokens and non-fungible tokens are treated equally, non-fungible tokens just have one max supply.

Approval is set or unset to some operator over entire set of tokens. (More nuanced control is defined in ERC1761)

For more information on this specification, please check out the README.

Structs§

Approval
ApproveAllEvent
Tracks approve_all status changes
ApprovedForAllResponse
BalanceResponse
BatchBalanceResponse
Cw1155BatchReceiveMsg
Cw1155BatchReceiveMsg should be de/serialized under BatchReceive() variant in a ExecuteMsg
Cw1155ReceiveMsg
Cw1155ReceiveMsg should be de/serialized under Receive() variant in a ExecuteMsg
IsApprovedForAllResponse
MetadataEvent
Tracks token metadata changes
TokenInfoResponse
TokensResponse
TransferEvent
Tracks token transfer/mint/burn actions

Enums§

Cw1155ExecuteMsg
Cw1155QueryMsg
Expiration
Expiration represents a point in time when some event happens. It can compare with a BlockInfo and will return is_expired() == true once the condition is hit (and for every block in the future)

Type Aliases§

TokenId