Documentation ¶
Index ¶
- Variables
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20Caller
- func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC20 *ERC20Caller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20CallerRaw
- type ERC20CallerSession
- func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)
- func (_ERC20 *ERC20CallerSession) Name() (string, error)
- func (_ERC20 *ERC20CallerSession) Symbol() (string, error)
- func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
- type ERC20Filterer
- func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
- func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
- func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
- func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
- func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20Raw
- func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20Session
- func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Decimals() (uint8, error)
- func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) Mint(amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) Name() (string, error)
- func (_ERC20 *ERC20Session) Symbol() (string, error)
- func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
- func (_ERC20 *ERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20Transactor
- func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) Mint(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type ERC20TransactorRaw
- type ERC20TransactorSession
- func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) Mint(amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20Transfer
- type ERC20TransferIterator
- type ERC721
- type ERC721Approval
- type ERC721ApprovalForAll
- type ERC721ApprovalForAllIterator
- type ERC721ApprovalIterator
- type ERC721Caller
- func (_ERC721 *ERC721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_ERC721 *ERC721Caller) CurrentTokenId(opts *bind.CallOpts) (*big.Int, error)
- func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_ERC721 *ERC721Caller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC721 *ERC721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_ERC721 *ERC721Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC721 *ERC721Caller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- type ERC721CallerRaw
- type ERC721CallerSession
- func (_ERC721 *ERC721CallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC721 *ERC721CallerSession) CurrentTokenId() (*big.Int, error)
- func (_ERC721 *ERC721CallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721CallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_ERC721 *ERC721CallerSession) Name() (string, error)
- func (_ERC721 *ERC721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_ERC721 *ERC721CallerSession) Symbol() (string, error)
- func (_ERC721 *ERC721CallerSession) TokenURI(tokenId *big.Int) (string, error)
- type ERC721Filterer
- func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*ERC721ApprovalIterator, error)
- func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ApprovalForAllIterator, error)
- func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*ERC721TransferIterator, error)
- func (_ERC721 *ERC721Filterer) ParseApproval(log types.Log) (*ERC721Approval, error)
- func (_ERC721 *ERC721Filterer) ParseApprovalForAll(log types.Log) (*ERC721ApprovalForAll, error)
- func (_ERC721 *ERC721Filterer) ParseTransfer(log types.Log) (*ERC721Transfer, error)
- func (_ERC721 *ERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ERC721 *ERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalForAll, ...) (event.Subscription, error)
- func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721Transfer, from []common.Address, ...) (event.Subscription, error)
- type ERC721Raw
- func (_ERC721 *ERC721Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC721 *ERC721Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC721 *ERC721Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC721Session
- func (_ERC721 *ERC721Session) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721Session) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC721 *ERC721Session) CurrentTokenId() (*big.Int, error)
- func (_ERC721 *ERC721Session) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721Session) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_ERC721 *ERC721Session) MintBatch(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721Session) Name() (string, error)
- func (_ERC721 *ERC721Session) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721Session) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721Session) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_ERC721 *ERC721Session) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721 *ERC721Session) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_ERC721 *ERC721Session) Symbol() (string, error)
- func (_ERC721 *ERC721Session) TokenURI(tokenId *big.Int) (string, error)
- func (_ERC721 *ERC721Session) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type ERC721Transactor
- func (_ERC721 *ERC721Transactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) MintBatch(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type ERC721TransactorRaw
- type ERC721TransactorSession
- func (_ERC721 *ERC721TransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) MintBatch(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- type ERC721Transfer
- type ERC721TransferIterator
Constants ¶
This section is empty.
Variables ¶
var ERC20ABI = ERC20MetaData.ABI
ERC20ABI is the input ABI used to generate the binding from. Deprecated: Use ERC20MetaData.ABI instead.
var ERC20Bin = ERC20MetaData.Bin
ERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC20MetaData.Bin instead.
var ERC20MetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decreaseAllowance\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"subtractedValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"increaseAllowance\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"addedValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"mint\",\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
Bin: "0x608060405234801562000010575f80fd5b506040518060400160405280600781526020016626bcaa37b5b2b760c91b815250604051806040016040528060038152602001624d544b60e81b81525081600390816200005e919062000261565b5060046200006d828262000261565b505050620000aa3362000085620000b060201b60201c565b620000959060ff16600a62000470565b620000a490620f42406200047f565b620000b5565b62000500565b601290565b6001600160a01b038216620000e75760405162461bcd60e51b8152600401620000de90620004a1565b60405180910390fd5b8060025f828254620000fa9190620004dd565b90915550506001600160a01b0382165f81815260208190526040808220805485019055517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200014d908590620004f3565b60405180910390a35b5050565b505050565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52602260045260245ffd5b6002810460018216806200019c57607f821691505b602082108103620001b157620001b162000173565b50919050565b5f620001c7620001c48381565b90565b92915050565b620001d883620001b7565b81545f1960089490940293841b1916921b91909117905550565b5f6200015a818484620001cd565b818110156200015657620002155f82620001f2565b60010162000200565b601f8211156200015a575f818152602090206020601f85010481016020851015620002465750805b6200025a6020601f86010483018262000200565b5050505050565b81516001600160401b038111156200027d576200027d6200015f565b62000289825462000187565b620002968282856200021e565b6020601f831160018114620002cb575f8415620002b35750858201515b5f19600886021c198116600286021786555062000325565b5f85815260208120601f198616915b82811015620002fc5788850151825560209485019460019092019101620002da565b868310156200031857848901515f19601f89166008021c191682555b6001600288020188555050505b505050505050565b634e487b7160e01b5f52601160045260245ffd5b80825b600185111562000387578086048111156200036357620003636200032d565b60018516156200037257908102905b80026200037f8560011c90565b945062000344565b94509492505050565b5f82620003a05750600162000469565b81620003ae57505f62000469565b8160018114620003c75760028114620003d25762000406565b600191505062000469565b60ff841115620003e657620003e66200032d565b8360020a915084821115620003ff57620003ff6200032d565b5062000469565b5060208310610133831016604e8410600b84101617156200043e575081810a838111156200043857620004386200032d565b62000469565b6200044d848484600162000341565b925090508184048111156200046657620004666200032d565b81025b9392505050565b5f620004695f19848462000390565b8181028082158382048514176200049a576200049a6200032d565b5092915050565b60208082528101620001c781601f81527f45524332303a206d696e7420746f20746865207a65726f206164647265737300602082015260400190565b80820180821115620001c757620001c76200032d565b81815260208101620001c7565b610aaa806200050e5f395ff3fe608060405234801561000f575f80fd5b50600436106100b1575f3560e01c806370a082311161006e57806370a082311461013957806395d89b4114610161578063a0712d6814610169578063a457c2d71461017e578063a9059cbb14610191578063dd62ed3e146101a4575f80fd5b806306fdde03146100b5578063095ea7b3146100d357806318160ddd146100f357806323b872dd14610104578063313ce567146101175780633950935114610126575b5f80fd5b6100bd6101b7565b6040516100ca919061060c565b60405180910390f35b6100e66100e1366004610663565b610247565b6040516100ca91906106a7565b6002545b6040516100ca91906106bb565b6100e66101123660046106c9565b610260565b60126040516100ca919061071e565b6100e6610134366004610663565b610283565b6100f761014736600461072c565b6001600160a01b03165f9081526020819052604090205490565b6100bd6102a4565b61017c610177366004610752565b6102b3565b005b6100e661018c366004610663565b6102c0565b6100e661019f366004610663565b610305565b6100f76101b2366004610770565b610312565b6060600380546101c6906107b4565b80601f01602080910402602001604051908101604052809291908181526020018280546101f2906107b4565b801561023d5780601f106102145761010080835404028352916020019161023d565b820191905f5260205f20905b81548152906001019060200180831161022057829003601f168201915b5050505050905090565b5f3361025481858561033c565b60019150505b92915050565b5f3361026d8582856103ef565b610278858585610437565b506001949350505050565b5f336102548185856102958383610312565b61029f91906107f4565b61033c565b6060600480546101c6906107b4565b6102bd3382610525565b50565b5f33816102cd8286610312565b9050838110156102f85760405162461bcd60e51b81526004016102ef9061084b565b60405180910390fd5b610278828686840361033c565b5f33610254818585610437565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166103625760405162461bcd60e51b81526004016102ef9061089b565b6001600160a01b0382166103885760405162461bcd60e51b81526004016102ef906108e9565b6001600160a01b038084165f8181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103e29085906106bb565b60405180910390a3505050565b5f6103fa8484610312565b90505f19811461043157818110156104245760405162461bcd60e51b81526004016102ef9061092f565b610431848484840361033c565b50505050565b6001600160a01b03831661045d5760405162461bcd60e51b81526004016102ef90610980565b6001600160a01b0382166104835760405162461bcd60e51b81526004016102ef906109cf565b6001600160a01b0383165f90815260208190526040902054818110156104bb5760405162461bcd60e51b81526004016102ef90610a21565b6001600160a01b038085165f8181526020819052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105189086906106bb565b60405180910390a3610431565b6001600160a01b03821661054b5760405162461bcd60e51b81526004016102ef90610a64565b8060025f82825461055c91906107f4565b90915550506001600160a01b0382165f81815260208190526040808220805485019055517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105ad9085906106bb565b60405180910390a35050565b5f5b838110156105d35781810151838201526020016105bb565b50505f910152565b5f6105e4825190565b8084526020840193506105fb8185602086016105b9565b601f01601f19169290920192915050565b6020808252810161061d81846105db565b9392505050565b5f6001600160a01b03821661025a565b61063d81610624565b81146102bd575f80fd5b803561025a81610634565b8061063d565b803561025a81610652565b5f8060408385031215610677576106775f80fd5b5f6106828585610647565b925050602061069385828601610658565b9150509250929050565b8015155b82525050565b6020810161025a828461069d565b806106a1565b6020810161025a82846106b5565b5f805f606084860312156106de576106de5f80fd5b5f6106e98686610647565b93505060206106fa86828701610647565b925050604061070b86828701610658565b9150509250925092565b60ff81166106a1565b6020810161025a8284610715565b5f6020828403121561073f5761073f5f80fd5b5f61074a8484610647565b949350505050565b5f60208284031215610765576107655f80fd5b5f61074a8484610658565b5f8060408385031215610784576107845f80fd5b5f61078f8585610647565b925050602061069385828601610647565b634e487b7160e01b5f52602260045260245ffd5b6002810460018216806107c857607f821691505b6020821081036107da576107da6107a0565b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561025a5761025a6107e0565b602581525f602082017f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77815264207a65726f60d81b602082015291505b5060400190565b6020808252810161025a81610807565b602481525f602082017f45524332303a20617070726f76652066726f6d20746865207a65726f206164648152637265737360e01b60208201529150610844565b6020808252810161025a8161085b565b602281525f602082017f45524332303a20617070726f766520746f20746865207a65726f206164647265815261737360f01b60208201529150610844565b6020808252810161025a816108ab565b601d81525f602082017f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000815291505b5060200190565b6020808252810161025a816108f9565b602581525f602082017f45524332303a207472616e736665722066726f6d20746865207a65726f206164815264647265737360d81b60208201529150610844565b6020808252810161025a8161093f565b602381525f602082017f45524332303a207472616e7366657220746f20746865207a65726f206164647281526265737360e81b60208201529150610844565b6020808252810161025a81610990565b602681525f602082017f45524332303a207472616e7366657220616d6f756e7420657863656564732062815265616c616e636560d01b60208201529150610844565b6020808252810161025a816109df565b601f81525f602082017f45524332303a206d696e7420746f20746865207a65726f20616464726573730081529150610928565b6020808252810161025a81610a3156fea26469706673582212208192320237eb3a294621043918007498261f271d42676681d2924f137448e98764736f6c63430008170033",
}
ERC20MetaData contains all meta data concerning the ERC20 contract.
var ERC721ABI = ERC721MetaData.ABI
ERC721ABI is the input ABI used to generate the binding from. Deprecated: Use ERC721MetaData.ABI instead.
var ERC721Bin = ERC721MetaData.Bin
ERC721Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC721MetaData.Bin instead.
var ERC721MetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"currentTokenId\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getApproved\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isApprovedForAll\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"mintBatch\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ownerOf\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"safeTransferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"safeTransferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setApprovalForAll\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"approved\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"tokenURI\",\"inputs\":[{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"approved\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ApprovalForAll\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"approved\",\"type\":\"bool\",\"indexed\":false,\"internalType\":\"bool\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"tokenId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
Bin: "0x60806040525f60065534801562000014575f80fd5b5060405180604001604052806005815260200164135e53919560da1b815250604051806040016040528060048152602001631353919560e21b815250815f90816200006091906200043e565b5060016200006f82826200043e565b5050506200008533600a6200008b60201b60201c565b62000731565b5f5b81811015620000c4575f60065f8154620000a7906200051e565b91829055509050620000ba8482620000c9565b506001016200008d565b505050565b620000ea828260405180602001604052805f815250620000ee60201b60201c565b5050565b620000fa838362000130565b620001085f84848462000231565b620000c45760405162461bcd60e51b8152600401620001279062000539565b60405180910390fd5b6001600160a01b038216620001595760405162461bcd60e51b81526004016200012790620005c4565b5f818152600260205260409020546001600160a01b031615620001905760405162461bcd60e51b815260040162000127906200060a565b5f818152600260205260409020546001600160a01b031615620001c75760405162461bcd60e51b815260040162000127906200060a565b6001600160a01b0382165f81815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b5f6001600160a01b0384163b156200033057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620002779033908990889088906004016200069d565b6020604051808303815f875af1925050508015620002b4575060408051601f3d908101601f19168201909252620002b1918101906200070f565b60015b62000315573d808015620002e4576040519150601f19603f3d011682016040523d82523d5f602084013e620002e9565b606091505b5080515f036200030d5760405162461bcd60e51b8152600401620001279062000539565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000334565b5060015b949350505050565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52602260045260245ffd5b6002810460018216806200037957607f821691505b6020821081036200038e576200038e62000350565b50919050565b5f620003a4620003a18381565b90565b92915050565b620003b58362000394565b81545f1960089490940293841b1916921b91909117905550565b5f620000c4818484620003aa565b81811015620000ea57620003f25f82620003cf565b600101620003dd565b601f821115620000c4575f818152602090206020601f85010481016020851015620004235750805b620004376020601f860104830182620003dd565b5050505050565b81516001600160401b038111156200045a576200045a6200033c565b62000466825462000364565b62000473828285620003fb565b6020601f831160018114620004a8575f8415620004905750858201515b5f19600886021c198116600286021786555062000502565b5f85815260208120601f198616915b82811015620004d95788850151825560209485019460019092019101620004b7565b86831015620004f557848901515f19601f89166008021c191682555b6001600288020188555050505b505050505050565b634e487b7160e01b5f52601160045260245ffd5b5f5f1982036200053257620005326200050a565b5060010190565b60208082528101620003a481603281527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560208201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b604082015260600190565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081525f5b5060200190565b60208082528101620003a48162000590565b601c81525f602082017f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081529150620005bd565b60208082528101620003a481620005d6565b5f6001600160a01b038216620003a4565b62000638816200061c565b82525050565b8062000638565b5f5b838110156200066157818101518382015260200162000647565b50505f910152565b5f62000673825190565b8084526020840193506200068c81856020860162000645565b601f01601f19169290920192915050565b60808101620006ad82876200062d565b620006bc60208301866200062d565b620006cb60408301856200063e565b8181036060830152620006df818462000669565b9695505050505050565b6001600160e01b031981168114620006ff575f80fd5b50565b8051620003a481620006e9565b5f602082840312156200072457620007245f80fd5b5f62000334848462000702565b6114b9806200073f5f395ff3fe608060405234801561000f575f80fd5b50600436106100ef575f3560e01c806342842e0e11610093578063a22cb46511610063578063a22cb465146101e3578063b88d4fde146101f6578063c87b56dd14610209578063e985e9c51461021c575f80fd5b806342842e0e146101a25780636352211e146101b557806370a08231146101c857806395d89b41146101db575f80fd5b8063081812fc116100ce578063081812fc14610147578063095ea7b31461016757806323b872dd1461017c578063248b71fc1461018f575f80fd5b80629a9b7b146100f357806301ffc9a71461011257806306fdde0314610132575b5f80fd5b6100fc60065481565b6040516101099190610c53565b60405180910390f35b610125610120366004610c82565b61022f565b6040516101099190610ca8565b61013a610280565b6040516101099190610d09565b61015a610155366004610d2b565b61030f565b6040516101099190610d62565b61017a610175366004610d84565b610334565b005b61017a61018a366004610dbe565b6103c1565b61017a61019d366004610d84565b6103f2565b61017a6101b0366004610dbe565b610425565b61015a6101c3366004610d2b565b61043f565b6100fc6101d6366004610e0a565b610473565b61013a6104b5565b61017a6101f1366004610e3b565b6104c4565b61017a610204366004610f55565b6104d3565b61013a610217366004610d2b565b61050b565b61012561022a366004610fcf565b61057b565b5f6001600160e01b031982166380ac58cd60e01b148061025f57506001600160e01b03198216635b5e139f60e01b145b8061027a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f805461028e90611013565b80601f01602080910402602001604051908101604052809291908181526020018280546102ba90611013565b80156103055780601f106102dc57610100808354040283529160200191610305565b820191905f5260205f20905b8154815290600101906020018083116102e857829003601f168201915b5050505050905090565b5f610319826105a8565b505f908152600460205260409020546001600160a01b031690565b5f61033e8261043f565b9050806001600160a01b0316836001600160a01b03160361037a5760405162461bcd60e51b81526004016103719061107f565b60405180910390fd5b336001600160a01b03821614806103965750610396813361057b565b6103b25760405162461bcd60e51b8152600401610371906110e8565b6103bc83836105de565b505050565b6103cb338261064b565b6103e75760405162461bcd60e51b815260040161037190611141565b6103bc8383836106a9565b5f5b818110156103bc575f60065f815461040b90611165565b9182905550905061041c84826107cf565b506001016103f4565b6103bc83838360405180602001604052805f8152506104d3565b5f818152600260205260408120546001600160a01b03168061027a5760405162461bcd60e51b8152600401610371906111b3565b5f6001600160a01b03821661049a5760405162461bcd60e51b815260040161037190611208565b506001600160a01b03165f9081526003602052604090205490565b60606001805461028e90611013565b6104cf3383836107e8565b5050565b6104dd338361064b565b6104f95760405162461bcd60e51b815260040161037190611141565b61050584848484610889565b50505050565b6060610516826105a8565b5f61052b60408051602081019091525f815290565b90505f8151116105495760405180602001604052805f815250610574565b80610553846108bc565b604051602001610564929190611239565b6040516020818303038152906040525b9392505050565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b5f818152600260205260409020546001600160a01b03166105db5760405162461bcd60e51b8152600401610371906111b3565b50565b5f81815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906106128261043f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f806106568361043f565b9050806001600160a01b0316846001600160a01b0316148061067d575061067d818561057b565b806106a15750836001600160a01b03166106968461030f565b6001600160a01b0316145b949350505050565b826001600160a01b03166106bc8261043f565b6001600160a01b0316146106e25760405162461bcd60e51b815260040161037190611291565b6001600160a01b0382166107085760405162461bcd60e51b8152600401610371906112e1565b826001600160a01b031661071b8261043f565b6001600160a01b0316146107415760405162461bcd60e51b815260040161037190611291565b5f81815260046020908152604080832080546001600160a01b03199081169091556001600160a01b038781168086526003855283862080545f1901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6104cf828260405180602001604052805f81525061094d565b816001600160a01b0316836001600160a01b0316036108195760405162461bcd60e51b815260040161037190611324565b6001600160a01b038381165f8181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061087c908590610ca8565b60405180910390a3505050565b6108948484846106a9565b6108a08484848461097f565b6105055760405162461bcd60e51b815260040161037190611382565b60605f6108c883610a7c565b60010190505f8167ffffffffffffffff8111156108e7576108e7610e6b565b6040519080825280601f01601f191660200182016040528015610911576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461091b575b509392505050565b6109578383610b53565b6109635f84848461097f565b6103bc5760405162461bcd60e51b815260040161037190611382565b5f6001600160a01b0384163b15610a7157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906109c2903390899088908890600401611392565b6020604051808303815f875af19250505080156109fc575060408051601f3d908101601f191682019092526109f9918101906113e1565b60015b610a57573d808015610a29576040519150601f19603f3d011682016040523d82523d5f602084013e610a2e565b606091505b5080515f03610a4f5760405162461bcd60e51b815260040161037190611382565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506106a1565b506001949350505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310610aba5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310610ae6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610b0457662386f26fc10000830492506010015b6305f5e1008310610b1c576305f5e100830492506008015b6127108310610b3057612710830492506004015b60648310610b42576064830492506002015b600a831061027a5760010192915050565b6001600160a01b038216610b795760405162461bcd60e51b815260040161037190611430565b5f818152600260205260409020546001600160a01b031615610bad5760405162461bcd60e51b815260040161037190611473565b5f818152600260205260409020546001600160a01b031615610be15760405162461bcd60e51b815260040161037190611473565b6001600160a01b0382165f81815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b805b82525050565b6020810161027a8284610c4b565b6001600160e01b031981165b81146105db575f80fd5b803561027a81610c61565b5f60208284031215610c9557610c955f80fd5b5f6106a18484610c77565b801515610c4d565b6020810161027a8284610ca0565b5f5b83811015610cd0578181015183820152602001610cb8565b50505f910152565b5f610ce1825190565b808452602084019350610cf8818560208601610cb6565b601f01601f19169290920192915050565b602080825281016105748184610cd8565b80610c6d565b803561027a81610d1a565b5f60208284031215610d3e57610d3e5f80fd5b5f6106a18484610d20565b5f6001600160a01b03821661027a565b610c4d81610d49565b6020810161027a8284610d59565b610c6d81610d49565b803561027a81610d70565b5f8060408385031215610d9857610d985f80fd5b5f610da38585610d79565b9250506020610db485828601610d20565b9150509250929050565b5f805f60608486031215610dd357610dd35f80fd5b5f610dde8686610d79565b9350506020610def86828701610d79565b9250506040610e0086828701610d20565b9150509250925092565b5f60208284031215610e1d57610e1d5f80fd5b5f6106a18484610d79565b801515610c6d565b803561027a81610e28565b5f8060408385031215610e4f57610e4f5f80fd5b5f610e5a8585610d79565b9250506020610db485828601610e30565b634e487b7160e01b5f52604160045260245ffd5b601f19601f830116810181811067ffffffffffffffff82111715610ea557610ea5610e6b565b6040525050565b5f610eb660405190565b9050610ec28282610e7f565b919050565b5f67ffffffffffffffff821115610ee057610ee0610e6b565b601f19601f83011660200192915050565b82818337505f910152565b5f610f0e610f0984610ec7565b610eac565b905082815260208101848484011115610f2857610f285f80fd5b610945848285610ef1565b5f82601f830112610f4557610f455f80fd5b81356106a1848260208601610efc565b5f805f8060808587031215610f6b57610f6b5f80fd5b5f610f768787610d79565b9450506020610f8787828801610d79565b9350506040610f9887828801610d20565b925050606085013567ffffffffffffffff811115610fb757610fb75f80fd5b610fc387828801610f33565b91505092959194509250565b5f8060408385031215610fe357610fe35f80fd5b5f610fee8585610d79565b9250506020610db485828601610d79565b634e487b7160e01b5f52602260045260245ffd5b60028104600182168061102757607f821691505b60208210810361103957611039610fff565b50919050565b602181525f602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015291505b5060400190565b6020808252810161027a8161103f565b603d81525f602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f81527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060208201529150611078565b6020808252810161027a8161108f565b602d81525f602082017f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6581526c1c881bdc88185c1c1c9bdd9959609a1b60208201529150611078565b6020808252810161027a816110f8565b634e487b7160e01b5f52601160045260245ffd5b5f5f19820361117657611176611151565b5060010190565b601881525f602082017f4552433732313a20696e76616c696420746f6b656e2049440000000000000000815291505b5060200190565b6020808252810161027a8161117d565b602981525f602082017f4552433732313a2061646472657373207a65726f206973206e6f7420612076618152683634b21037bbb732b960b91b60208201529150611078565b6020808252810161027a816111c3565b5f611221825190565b61122f818560208601610cb6565b9290920192915050565b5f6112448285611218565b91506106a18284611218565b602581525f602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150611078565b6020808252810161027a81611250565b602481525f602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150611078565b6020808252810161027a816112a1565b601981525f602082017f4552433732313a20617070726f766520746f2063616c6c657200000000000000815291506111ac565b6020808252810161027a816112f1565b603281525f602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150611078565b6020808252810161027a81611334565b608081016113a08287610d59565b6113ad6020830186610d59565b6113ba6040830185610c4b565b81810360608301526113cc8184610cd8565b9695505050505050565b805161027a81610c61565b5f602082840312156113f4576113f45f80fd5b5f6106a184846113d6565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081525f6111ac565b6020808252810161027a816113ff565b601c81525f602082017f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815291506111ac565b6020808252810161027a8161144056fea26469706673582212205140948b47f29a98fc3b0ffafe65006e357e3d2f1731bffb012ac6978afa252364736f6c63430008170033",
}
ERC721MetaData contains all meta data concerning the ERC721 contract.
Functions ¶
This section is empty.
Types ¶
type ERC20 ¶
type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events }
ERC20 is an auto generated Go binding around an Ethereum contract.
func DeployERC20 ¶
func DeployERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20, error)
DeployERC20 deploys a new Ethereum contract, binding an instance of ERC20 to it.
type ERC20Approval ¶
type ERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Approval represents a Approval event raised by the ERC20 contract.
type ERC20ApprovalIterator ¶
type ERC20ApprovalIterator struct { Event *ERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.
func (*ERC20ApprovalIterator) Close ¶
func (it *ERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ApprovalIterator) Error ¶
func (it *ERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ApprovalIterator) Next ¶
func (it *ERC20ApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC20Caller ¶
type ERC20Caller struct {
// contains filtered or unexported fields
}
ERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20Caller ¶
func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Caller) Allowance ¶
func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20Caller) Decimals ¶
func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20Caller) Name ¶
func (_ERC20 *ERC20Caller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20Caller) Symbol ¶
func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20CallerRaw ¶
type ERC20CallerRaw struct {
Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on
}
ERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20CallerRaw) Call ¶
func (_ERC20 *ERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ERC20CallerSession ¶
type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20CallerSession) Allowance ¶
func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20CallerSession) Decimals ¶
func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20CallerSession) Name ¶
func (_ERC20 *ERC20CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20CallerSession) Symbol ¶
func (_ERC20 *ERC20CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20CallerSession) TotalSupply ¶
func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20Filterer ¶
type ERC20Filterer struct {
// contains filtered or unexported fields
}
ERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20Filterer ¶
func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)
NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.
func (*ERC20Filterer) FilterApproval ¶
func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) FilterTransfer ¶
func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) ParseApproval ¶
func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) ParseTransfer ¶
func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20Filterer) WatchApproval ¶
func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20Filterer) WatchTransfer ¶
func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type ERC20Raw ¶
type ERC20Raw struct {
Contract *ERC20 // Generic contract binding to access the raw methods on
}
ERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20Raw) Call ¶
func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ERC20Raw) Transact ¶
func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20Raw) Transfer ¶
func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20Session ¶
type ERC20Session struct { Contract *ERC20 // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20Session) Allowance ¶
func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ERC20Session) Approve ¶
func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20Session) Decimals ¶
func (_ERC20 *ERC20Session) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20Session) DecreaseAllowance ¶
func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20Session) IncreaseAllowance ¶
func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20Session) Mint ¶
func (_ERC20 *ERC20Session) Mint(amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xa0712d68.
Solidity: function mint(uint256 amount) returns()
func (*ERC20Session) Name ¶
func (_ERC20 *ERC20Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20Session) Symbol ¶
func (_ERC20 *ERC20Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20Session) TotalSupply ¶
func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC20Session) Transfer ¶
func (_ERC20 *ERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*ERC20Session) TransferFrom ¶
func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type ERC20Transactor ¶
type ERC20Transactor struct {
// contains filtered or unexported fields
}
ERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20Transactor ¶
func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)
NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Transactor) Approve ¶
func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20Transactor) DecreaseAllowance ¶
func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20Transactor) IncreaseAllowance ¶
func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20Transactor) Mint ¶
func (_ERC20 *ERC20Transactor) Mint(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xa0712d68.
Solidity: function mint(uint256 amount) returns()
func (*ERC20Transactor) Transfer ¶
func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*ERC20Transactor) TransferFrom ¶
func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type ERC20TransactorRaw ¶
type ERC20TransactorRaw struct {
Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on
}
ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20TransactorRaw) Transact ¶
func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20TransactorRaw) Transfer ¶
func (_ERC20 *ERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC20TransactorSession ¶
type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20TransactorSession) Approve ¶
func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ERC20TransactorSession) DecreaseAllowance ¶
func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ERC20TransactorSession) IncreaseAllowance ¶
func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ERC20TransactorSession) Mint ¶
func (_ERC20 *ERC20TransactorSession) Mint(amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xa0712d68.
Solidity: function mint(uint256 amount) returns()
func (*ERC20TransactorSession) Transfer ¶
func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*ERC20TransactorSession) TransferFrom ¶
func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type ERC20Transfer ¶
type ERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Transfer represents a Transfer event raised by the ERC20 contract.
type ERC20TransferIterator ¶
type ERC20TransferIterator struct { Event *ERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.
func (*ERC20TransferIterator) Close ¶
func (it *ERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20TransferIterator) Error ¶
func (it *ERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20TransferIterator) Next ¶
func (it *ERC20TransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC721 ¶
type ERC721 struct { ERC721Caller // Read-only binding to the contract ERC721Transactor // Write-only binding to the contract ERC721Filterer // Log filterer for contract events }
ERC721 is an auto generated Go binding around an Ethereum contract.
func DeployERC721 ¶
func DeployERC721(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721, error)
DeployERC721 deploys a new Ethereum contract, binding an instance of ERC721 to it.
type ERC721Approval ¶
type ERC721Approval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC721Approval represents a Approval event raised by the ERC721 contract.
type ERC721ApprovalForAll ¶
type ERC721ApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
ERC721ApprovalForAll represents a ApprovalForAll event raised by the ERC721 contract.
type ERC721ApprovalForAllIterator ¶
type ERC721ApprovalForAllIterator struct { Event *ERC721ApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the ERC721 contract.
func (*ERC721ApprovalForAllIterator) Close ¶
func (it *ERC721ApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721ApprovalForAllIterator) Error ¶
func (it *ERC721ApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721ApprovalForAllIterator) Next ¶
func (it *ERC721ApprovalForAllIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC721ApprovalIterator ¶
type ERC721ApprovalIterator struct { Event *ERC721Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC721 contract.
func (*ERC721ApprovalIterator) Close ¶
func (it *ERC721ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721ApprovalIterator) Error ¶
func (it *ERC721ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721ApprovalIterator) Next ¶
func (it *ERC721ApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ERC721Caller ¶
type ERC721Caller struct {
// contains filtered or unexported fields
}
ERC721Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC721Caller ¶
func NewERC721Caller(address common.Address, caller bind.ContractCaller) (*ERC721Caller, error)
NewERC721Caller creates a new read-only instance of ERC721, bound to a specific deployed contract.
func (*ERC721Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC721Caller) CurrentTokenId ¶
CurrentTokenId is a free data retrieval call binding the contract method 0x009a9b7b.
Solidity: function currentTokenId() view returns(uint256)
func (*ERC721Caller) GetApproved ¶
func (_ERC721 *ERC721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*ERC721Caller) IsApprovedForAll ¶
func (_ERC721 *ERC721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*ERC721Caller) Name ¶
func (_ERC721 *ERC721Caller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC721Caller) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ERC721Caller) SupportsInterface ¶
func (_ERC721 *ERC721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type ERC721CallerRaw ¶
type ERC721CallerRaw struct {
Contract *ERC721Caller // Generic read-only contract binding to access the raw methods on
}
ERC721CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC721CallerRaw) Call ¶
func (_ERC721 *ERC721CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ERC721CallerSession ¶
type ERC721CallerSession struct { Contract *ERC721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC721CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC721CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC721CallerSession) CurrentTokenId ¶
func (_ERC721 *ERC721CallerSession) CurrentTokenId() (*big.Int, error)
CurrentTokenId is a free data retrieval call binding the contract method 0x009a9b7b.
Solidity: function currentTokenId() view returns(uint256)
func (*ERC721CallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*ERC721CallerSession) IsApprovedForAll ¶
func (_ERC721 *ERC721CallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*ERC721CallerSession) Name ¶
func (_ERC721 *ERC721CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC721CallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ERC721CallerSession) SupportsInterface ¶
func (_ERC721 *ERC721CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ERC721CallerSession) Symbol ¶
func (_ERC721 *ERC721CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
type ERC721Filterer ¶
type ERC721Filterer struct {
// contains filtered or unexported fields
}
ERC721Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC721Filterer ¶
func NewERC721Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC721Filterer, error)
NewERC721Filterer creates a new log filterer instance of ERC721, bound to a specific deployed contract.
func (*ERC721Filterer) FilterApproval ¶
func (_ERC721 *ERC721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*ERC721Filterer) FilterApprovalForAll ¶
func (_ERC721 *ERC721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721ApprovalForAllIterator, error)
FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*ERC721Filterer) FilterTransfer ¶
func (_ERC721 *ERC721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*ERC721Filterer) ParseApproval ¶
func (_ERC721 *ERC721Filterer) ParseApproval(log types.Log) (*ERC721Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*ERC721Filterer) ParseApprovalForAll ¶
func (_ERC721 *ERC721Filterer) ParseApprovalForAll(log types.Log) (*ERC721ApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*ERC721Filterer) ParseTransfer ¶
func (_ERC721 *ERC721Filterer) ParseTransfer(log types.Log) (*ERC721Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*ERC721Filterer) WatchApproval ¶
func (_ERC721 *ERC721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721Approval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*ERC721Filterer) WatchApprovalForAll ¶
func (_ERC721 *ERC721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721ApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)
WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*ERC721Filterer) WatchTransfer ¶
func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721Transfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
type ERC721Raw ¶
type ERC721Raw struct {
Contract *ERC721 // Generic contract binding to access the raw methods on
}
ERC721Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC721Raw) Call ¶
func (_ERC721 *ERC721Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ERC721Raw) Transact ¶
func (_ERC721 *ERC721Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC721Raw) Transfer ¶
func (_ERC721 *ERC721Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC721Session ¶
type ERC721Session struct { Contract *ERC721 // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC721Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC721Session) Approve ¶
func (_ERC721 *ERC721Session) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC721Session) CurrentTokenId ¶
func (_ERC721 *ERC721Session) CurrentTokenId() (*big.Int, error)
CurrentTokenId is a free data retrieval call binding the contract method 0x009a9b7b.
Solidity: function currentTokenId() view returns(uint256)
func (*ERC721Session) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*ERC721Session) IsApprovedForAll ¶
func (_ERC721 *ERC721Session) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*ERC721Session) MintBatch ¶
func (_ERC721 *ERC721Session) MintBatch(to common.Address, amount *big.Int) (*types.Transaction, error)
MintBatch is a paid mutator transaction binding the contract method 0x248b71fc.
Solidity: function mintBatch(address to, uint256 amount) returns()
func (*ERC721Session) Name ¶
func (_ERC721 *ERC721Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC721Session) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ERC721Session) SafeTransferFrom ¶
func (_ERC721 *ERC721Session) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721Session) SafeTransferFrom0 ¶
func (_ERC721 *ERC721Session) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ERC721Session) SetApprovalForAll ¶
func (_ERC721 *ERC721Session) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*ERC721Session) SupportsInterface ¶
func (_ERC721 *ERC721Session) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ERC721Session) Symbol ¶
func (_ERC721 *ERC721Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC721Session) TokenURI ¶
func (_ERC721 *ERC721Session) TokenURI(tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*ERC721Session) TransferFrom ¶
func (_ERC721 *ERC721Session) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type ERC721Transactor ¶
type ERC721Transactor struct {
// contains filtered or unexported fields
}
ERC721Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC721Transactor ¶
func NewERC721Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC721Transactor, error)
NewERC721Transactor creates a new write-only instance of ERC721, bound to a specific deployed contract.
func (*ERC721Transactor) Approve ¶
func (_ERC721 *ERC721Transactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721Transactor) MintBatch ¶
func (_ERC721 *ERC721Transactor) MintBatch(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
MintBatch is a paid mutator transaction binding the contract method 0x248b71fc.
Solidity: function mintBatch(address to, uint256 amount) returns()
func (*ERC721Transactor) SafeTransferFrom ¶
func (_ERC721 *ERC721Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721Transactor) SafeTransferFrom0 ¶
func (_ERC721 *ERC721Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ERC721Transactor) SetApprovalForAll ¶
func (_ERC721 *ERC721Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*ERC721Transactor) TransferFrom ¶
func (_ERC721 *ERC721Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type ERC721TransactorRaw ¶
type ERC721TransactorRaw struct {
Contract *ERC721Transactor // Generic write-only contract binding to access the raw methods on
}
ERC721TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC721TransactorRaw) Transact ¶
func (_ERC721 *ERC721TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC721TransactorRaw) Transfer ¶
func (_ERC721 *ERC721TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ERC721TransactorSession ¶
type ERC721TransactorSession struct { Contract *ERC721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC721TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC721TransactorSession) Approve ¶
func (_ERC721 *ERC721TransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721TransactorSession) MintBatch ¶
func (_ERC721 *ERC721TransactorSession) MintBatch(to common.Address, amount *big.Int) (*types.Transaction, error)
MintBatch is a paid mutator transaction binding the contract method 0x248b71fc.
Solidity: function mintBatch(address to, uint256 amount) returns()
func (*ERC721TransactorSession) SafeTransferFrom ¶
func (_ERC721 *ERC721TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721TransactorSession) SafeTransferFrom0 ¶
func (_ERC721 *ERC721TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ERC721TransactorSession) SetApprovalForAll ¶
func (_ERC721 *ERC721TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*ERC721TransactorSession) TransferFrom ¶
func (_ERC721 *ERC721TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
type ERC721Transfer ¶
type ERC721Transfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC721Transfer represents a Transfer event raised by the ERC721 contract.
type ERC721TransferIterator ¶
type ERC721TransferIterator struct { Event *ERC721Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC721 contract.
func (*ERC721TransferIterator) Close ¶
func (it *ERC721TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TransferIterator) Error ¶
func (it *ERC721TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TransferIterator) Next ¶
func (it *ERC721TransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.