Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllTokens ¶
AllTokens / With Enumerable extension. / Requires pagination. Lists all token_ids controlled by the contract. #[returns(TokensResponse)]
type ApproveAll ¶
type ApproveAll struct { Operator string Expires Expiration }
ApproveAll / Allows operator to transfer / send any token from the owner's account. / If expiration is set then this allowance has a time/height limit
type ApprovedForAll ¶
type ApprovedForAll struct { Owner string /// unset or false will filter out expired approvals you must set to true to see them Include_expired bool Start_after string Limit uint32 }
ApprovedForAll / List all operators that can access all of the owner's tokens. #[returns(ApprovedForAllResponse)]
type BatchBalance ¶
BatchBalance BatchBalance / Returns the current balance of the given address for a batch of tokens 0 if unset. #[returns(BatchBalanceResponse)]
type BatchMint ¶
type BatchMint struct { /// If `to` is not contract `msg` should be `None` To string Batch Batch /// `None` means don't call the receiver interface Msg []byte }
BatchMint / BatchMint is a base message to mint multiple types of tokens in batch.
type BatchSendFrom ¶
type BatchSendFrom struct { From string /// if `to` is not contract `msg` should be `None` To string Batch Batch /// `None` means don't call the receiver interface Msg []byte }
BatchSendFrom / BatchSendFrom is a base message to move multiple types of tokens in batch / if `env.sender` is the owner or has sufficient pre-approval.
type Expiration ¶
type IsApprovedForAll ¶
IsApprovedForAll / Query approved status `owner` granted to `operator`. #[returns(IsApprovedForAllResponse)]
type Mint ¶
type Mint struct { /// If `to` is not contract `msg` should be `None` To string Token_id TokenId Value uint64 /// `None` means don't call the receiver interface Msg []byte }
Mint / Mint is a base message to mint tokens.
type RevokeAll ¶
type RevokeAll struct {
// contains filtered or unexported fields
}
RevokeAll / Remove previously granted ApproveAll permission
type SendFrom ¶
type SendFrom struct { From string /// If `to` is not contract `msg` should be `None` To string Token_id TokenId Value uint64 /// `None` means don't call the receiver interface Msg []byte }
SendFrom / SendFrom is a base message to move tokens / if `env.sender` is the owner or has sufficient pre-approval.