Documentation ¶
Index ¶
- Variables
- type ContractEvent
- type Event4ApprovalForAll
- type Event4TransferBatch
- type Event4TransferSingle
- type Event4URI
- type MethodReadBalanceOf
- type MethodReadBalanceOfBatchInputs
- type MethodReadIsApprovedForAllInputs
- type MethodWriteSafeBatchTransferFromInputs
- type MethodWriteSafeTransferFromInputs
- type MethodWriteSetApprovalForAllInputs
Constants ¶
This section is empty.
Variables ¶
var SupportEvents = map[ContractEvent]string{ EventTransferSingle: "TransferSingle", EventTransferBatch: "TransferBatch", EventApprovalForAll: "ApprovalForAll", EventURI: "URI", }
Functions ¶
This section is empty.
Types ¶
type ContractEvent ¶
type ContractEvent int
const ( EventTransferSingle ContractEvent = iota EventTransferBatch EventApprovalForAll EventURI )
type Event4ApprovalForAll ¶
type Event4ApprovalForAll struct { Account string `json:"account"` Operator string `json:"operator"` Approved bool `json:"approved"` }
Event4ApprovalForAll event ApprovalForAll(address indexed account, address indexed operator, bool approved);
type Event4TransferBatch ¶
type Event4TransferBatch struct { Operator string `json:"operator"` From string `json:"from"` To string `json:"to"` Ids []string `json:"ids"` Values []uint64 `json:"value"` }
Event4TransferBatch event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);
type Event4TransferSingle ¶
type Event4TransferSingle struct { Operator string `json:"operator"` From string `json:"from"` To string `json:"to"` Id string `json:"id"` Value uint64 `json:"value"` }
Event4TransferSingle event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);
type MethodReadBalanceOf ¶
MethodReadBalanceOf function balanceOf(address _owner, uint256 _id) external view returns (uint256);
type MethodReadBalanceOfBatchInputs ¶
type MethodReadBalanceOfBatchInputs struct { Owners []string `json:"owners"` Ids []string `json:"ids"` }
MethodReadBalanceOfBatchInputs function balanceOfBatch(address[] calldata _owners, uint256[] calldata _ids) external view returns (uint256[] memory);
type MethodReadIsApprovedForAllInputs ¶
type MethodReadIsApprovedForAllInputs struct { Owner string `json:"owner"` Operator string `json:"operator"` }
MethodReadIsApprovedForAllInputs function isApprovedForAll(address _owner, address _operator) external view returns (bool);
type MethodWriteSafeBatchTransferFromInputs ¶
type MethodWriteSafeBatchTransferFromInputs struct { From string `json:"from"` To string `json:"to"` Ids []string `json:"ids"` Amounts []int64 `json:"amounts"` Data []byte `json:"data"` }
MethodWriteSafeBatchTransferFromInputs SafeBatchTransferFrom(_from common.Address, _to common.Address, _ids []*big.Int, _amounts []*big.Int, _data []byte)
type MethodWriteSafeTransferFromInputs ¶
type MethodWriteSafeTransferFromInputs struct { From string `json:"from"` To string `json:"to"` Id string `json:"id"` Amount int64 `json:"amount"` Data []byte `json:"data"` }
MethodWriteSafeTransferFromInputs SafeTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _id *big.Int, _amount *big.Int, _data []byte)
type MethodWriteSetApprovalForAllInputs ¶
type MethodWriteSetApprovalForAllInputs struct { Operator string `json:"operator"` Approved bool `json:"approved"` }
MethodWriteSetApprovalForAllInputs SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool)