Documentation
¶
Index ¶
- Variables
- 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) 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) 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) CreateNFT(tokenURI string) (*types.Transaction, 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) 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) CreateNFT(opts *bind.TransactOpts, tokenURI string) (*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) CreateNFT(tokenURI string) (*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 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: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenSymbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"tokenURI\",\"type\":\"string\"}],\"name\":\"createNFT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b5060405162002e9838038062002e988339818101604052810190620000379190620001a3565b818181600090805190602001906200005192919062000075565b5080600190805190602001906200006a92919062000075565b5050505050620003ac565b8280546200008390620002bd565b90600052602060002090601f016020900481019282620000a75760008555620000f3565b82601f10620000c257805160ff1916838001178555620000f3565b82800160010185558215620000f3579182015b82811115620000f2578251825591602001919060010190620000d5565b5b50905062000102919062000106565b5090565b5b808211156200012157600081600090555060010162000107565b5090565b60006200013c620001368462000251565b62000228565b9050828152602081018484840111156200015b576200015a6200038c565b5b6200016884828562000287565b509392505050565b600082601f83011262000188576200018762000387565b5b81516200019a84826020860162000125565b91505092915050565b60008060408385031215620001bd57620001bc62000396565b5b600083015167ffffffffffffffff811115620001de57620001dd62000391565b5b620001ec8582860162000170565b925050602083015167ffffffffffffffff81111562000210576200020f62000391565b5b6200021e8582860162000170565b9150509250929050565b60006200023462000247565b9050620002428282620002f3565b919050565b6000604051905090565b600067ffffffffffffffff8211156200026f576200026e62000358565b5b6200027a826200039b565b9050602081019050919050565b60005b83811015620002a75780820151818401526020810190506200028a565b83811115620002b7576000848401525b50505050565b60006002820490506001821680620002d657607f821691505b60208210811415620002ed57620002ec62000329565b5b50919050565b620002fe826200039b565b810181811067ffffffffffffffff8211171562000320576200031f62000358565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b612adc80620003bc6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063b88d4fde11610066578063b88d4fde1461025b578063c87b56dd14610277578063da2ed03e146102a7578063e985e9c5146102d7576100ea565b806370a08231146101f157806395d89b4114610221578063a22cb4651461023f576100ea565b8063095ea7b3116100c8578063095ea7b31461016d57806323b872dd1461018957806342842e0e146101a55780636352211e146101c1576100ea565b806301ffc9a7146100ef57806306fdde031461011f578063081812fc1461013d575b600080fd5b61010960048036038101906101049190611e39565b610307565b6040516101169190612208565b60405180910390f35b6101276103e9565b6040516101349190612223565b60405180910390f35b61015760048036038101906101529190611edc565b61047b565b60405161016491906121a1565b60405180910390f35b61018760048036038101906101829190611df9565b6104c1565b005b6101a3600480360381019061019e9190611ce3565b6105d9565b005b6101bf60048036038101906101ba9190611ce3565b610639565b005b6101db60048036038101906101d69190611edc565b610659565b6040516101e891906121a1565b60405180910390f35b61020b60048036038101906102069190611c76565b6106e0565b60405161021891906123c5565b60405180910390f35b610229610798565b6040516102369190612223565b60405180910390f35b61025960048036038101906102549190611db9565b61082a565b005b61027560048036038101906102709190611d36565b610840565b005b610291600480360381019061028c9190611edc565b6108a2565b60405161029e9190612223565b60405180910390f35b6102c160048036038101906102bc9190611e93565b6109b5565b6040516102ce91906123c5565b60405180910390f35b6102f160048036038101906102ec9190611ca3565b6109eb565b6040516102fe9190612208565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806103d257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806103e257506103e182610a7f565b5b9050919050565b6060600080546103f8906125ea565b80601f0160208091040260200160405190810160405280929190818152602001828054610424906125ea565b80156104715780601f1061044657610100808354040283529160200191610471565b820191906000526020600020905b81548152906001019060200180831161045457829003601f168201915b5050505050905090565b600061048682610ae9565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006104cc82610659565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561053d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053490612385565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661055c610b34565b73ffffffffffffffffffffffffffffffffffffffff16148061058b575061058a81610585610b34565b6109eb565b5b6105ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c1906123a5565b60405180910390fd5b6105d48383610b3c565b505050565b6105ea6105e4610b34565b82610bf5565b610629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062090612245565b60405180910390fd5b610634838383610c8a565b505050565b61065483838360405180602001604052806000815250610840565b505050565b60008061066583610f84565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156106d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ce90612365565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074890612305565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600180546107a7906125ea565b80601f01602080910402602001604051908101604052809291908181526020018280546107d3906125ea565b80156108205780601f106107f557610100808354040283529160200191610820565b820191906000526020600020905b81548152906001019060200180831161080357829003601f168201915b5050505050905090565b61083c610835610b34565b8383610fc1565b5050565b61085161084b610b34565b83610bf5565b610890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088790612245565b60405180910390fd5b61089c8484848461112e565b50505050565b60606108ad82610ae9565b60006006600084815260200190815260200160002080546108cd906125ea565b80601f01602080910402602001604051908101604052809291908181526020018280546108f9906125ea565b80156109465780601f1061091b57610100808354040283529160200191610946565b820191906000526020600020905b81548152906001019060200180831161092957829003601f168201915b50505050509050600061095761118a565b905060008151141561096d5781925050506109b0565b6000825111156109a257808260405160200161098a92919061217d565b604051602081830303815290604052925050506109b0565b6109ab846111a1565b925050505b919050565b6000806109c26007611209565b90506109ce3382611217565b6109d88184611235565b6109e260076112a9565b80915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610af2816112bf565b610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2890612365565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610baf83610659565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610c0183610659565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610c435750610c4281856109eb565b5b80610c8157508373ffffffffffffffffffffffffffffffffffffffff16610c698461047b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16610caa82610659565b73ffffffffffffffffffffffffffffffffffffffff1614610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790612285565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d67906122c5565b60405180910390fd5b610d7d8383836001611300565b8273ffffffffffffffffffffffffffffffffffffffff16610d9d82610659565b73ffffffffffffffffffffffffffffffffffffffff1614610df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dea90612285565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f7f8383836001611426565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611030576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611027906122e5565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111219190612208565b60405180910390a3505050565b611139848484610c8a565b6111458484848461142c565b611184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117b90612265565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b60606111ac82610ae9565b60006111b661118a565b905060008151116111d65760405180602001604052806000815250611201565b806111e0846115c3565b6040516020016111f192919061217d565b6040516020818303038152906040525b915050919050565b600081600001549050919050565b61123182826040518060200160405280600081525061169b565b5050565b61123e826112bf565b61127d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127490612325565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906112a4929190611a8a565b505050565b6001816000016000828254019250508190555050565b60008073ffffffffffffffffffffffffffffffffffffffff166112e183610f84565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600181111561142057600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146113945780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461138c9190612500565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461141f5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461141791906124aa565b925050819055505b5b50505050565b50505050565b600061144d8473ffffffffffffffffffffffffffffffffffffffff166116f6565b156115b6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611476610b34565b8786866040518563ffffffff1660e01b815260040161149894939291906121bc565b602060405180830381600087803b1580156114b257600080fd5b505af19250505080156114e357506040513d601f19601f820116820180604052508101906114e09190611e66565b60015b611566573d8060008114611513576040519150601f19603f3d011682016040523d82523d6000602084013e611518565b606091505b5060008151141561155e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155590612265565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506115bb565b600190505b949350505050565b6060600060016115d284611719565b01905060008167ffffffffffffffff8111156115f1576115f06126da565b5b6040519080825280601f01601f1916602001820160405280156116235781602001600182028036833780820191505090505b509050600082602001820190505b600115611690578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161167a5761167961267c565b5b049450600085141561168b57611690565b611631565b819350505050919050565b6116a5838361186c565b6116b2600084848461142c565b6116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e890612265565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611777577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161176d5761176c61267c565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106117b4576d04ee2d6d415b85acef810000000083816117aa576117a961267c565b5b0492506020810190505b662386f26fc1000083106117e357662386f26fc1000083816117d9576117d861267c565b5b0492506010810190505b6305f5e100831061180c576305f5e10083816118025761180161267c565b5b0492506008810190505b61271083106118315761271083816118275761182661267c565b5b0492506004810190505b60648310611854576064838161184a5761184961267c565b5b0492506002810190505b600a8310611863576001810190505b80915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d390612345565b60405180910390fd5b6118e5816112bf565b15611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c906122a5565b60405180910390fd5b611933600083836001611300565b61193c816112bf565b1561197c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611973906122a5565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611a86600083836001611426565b5050565b828054611a96906125ea565b90600052602060002090601f016020900481019282611ab85760008555611aff565b82601f10611ad157805160ff1916838001178555611aff565b82800160010185558215611aff579182015b82811115611afe578251825591602001919060010190611ae3565b5b509050611b0c9190611b10565b5090565b5b80821115611b29576000816000905550600101611b11565b5090565b6000611b40611b3b84612405565b6123e0565b905082815260208101848484011115611b5c57611b5b61270e565b5b611b678482856125a8565b509392505050565b6000611b82611b7d84612436565b6123e0565b905082815260208101848484011115611b9e57611b9d61270e565b5b611ba98482856125a8565b509392505050565b600081359050611bc081612a4a565b92915050565b600081359050611bd581612a61565b92915050565b600081359050611bea81612a78565b92915050565b600081519050611bff81612a78565b92915050565b600082601f830112611c1a57611c19612709565b5b8135611c2a848260208601611b2d565b91505092915050565b600082601f830112611c4857611c47612709565b5b8135611c58848260208601611b6f565b91505092915050565b600081359050611c7081612a8f565b92915050565b600060208284031215611c8c57611c8b612718565b5b6000611c9a84828501611bb1565b91505092915050565b60008060408385031215611cba57611cb9612718565b5b6000611cc885828601611bb1565b9250506020611cd985828601611bb1565b9150509250929050565b600080600060608486031215611cfc57611cfb612718565b5b6000611d0a86828701611bb1565b9350506020611d1b86828701611bb1565b9250506040611d2c86828701611c61565b9150509250925092565b60008060008060808587031215611d5057611d4f612718565b5b6000611d5e87828801611bb1565b9450506020611d6f87828801611bb1565b9350506040611d8087828801611c61565b925050606085013567ffffffffffffffff811115611da157611da0612713565b5b611dad87828801611c05565b91505092959194509250565b60008060408385031215611dd057611dcf612718565b5b6000611dde85828601611bb1565b9250506020611def85828601611bc6565b9150509250929050565b60008060408385031215611e1057611e0f612718565b5b6000611e1e85828601611bb1565b9250506020611e2f85828601611c61565b9150509250929050565b600060208284031215611e4f57611e4e612718565b5b6000611e5d84828501611bdb565b91505092915050565b600060208284031215611e7c57611e7b612718565b5b6000611e8a84828501611bf0565b91505092915050565b600060208284031215611ea957611ea8612718565b5b600082013567ffffffffffffffff811115611ec757611ec6612713565b5b611ed384828501611c33565b91505092915050565b600060208284031215611ef257611ef1612718565b5b6000611f0084828501611c61565b91505092915050565b611f1281612534565b82525050565b611f2181612546565b82525050565b6000611f3282612467565b611f3c818561247d565b9350611f4c8185602086016125b7565b611f558161271d565b840191505092915050565b6000611f6b82612472565b611f75818561248e565b9350611f858185602086016125b7565b611f8e8161271d565b840191505092915050565b6000611fa482612472565b611fae818561249f565b9350611fbe8185602086016125b7565b80840191505092915050565b6000611fd7602d8361248e565b9150611fe28261272e565b604082019050919050565b6000611ffa60328361248e565b91506120058261277d565b604082019050919050565b600061201d60258361248e565b9150612028826127cc565b604082019050919050565b6000612040601c8361248e565b915061204b8261281b565b602082019050919050565b600061206360248361248e565b915061206e82612844565b604082019050919050565b600061208660198361248e565b915061209182612893565b602082019050919050565b60006120a960298361248e565b91506120b4826128bc565b604082019050919050565b60006120cc602e8361248e565b91506120d78261290b565b604082019050919050565b60006120ef60208361248e565b91506120fa8261295a565b602082019050919050565b600061211260188361248e565b915061211d82612983565b602082019050919050565b600061213560218361248e565b9150612140826129ac565b604082019050919050565b6000612158603d8361248e565b9150612163826129fb565b604082019050919050565b6121778161259e565b82525050565b60006121898285611f99565b91506121958284611f99565b91508190509392505050565b60006020820190506121b66000830184611f09565b92915050565b60006080820190506121d16000830187611f09565b6121de6020830186611f09565b6121eb604083018561216e565b81810360608301526121fd8184611f27565b905095945050505050565b600060208201905061221d6000830184611f18565b92915050565b6000602082019050818103600083015261223d8184611f60565b905092915050565b6000602082019050818103600083015261225e81611fca565b9050919050565b6000602082019050818103600083015261227e81611fed565b9050919050565b6000602082019050818103600083015261229e81612010565b9050919050565b600060208201905081810360008301526122be81612033565b9050919050565b600060208201905081810360008301526122de81612056565b9050919050565b600060208201905081810360008301526122fe81612079565b9050919050565b6000602082019050818103600083015261231e8161209c565b9050919050565b6000602082019050818103600083015261233e816120bf565b9050919050565b6000602082019050818103600083015261235e816120e2565b9050919050565b6000602082019050818103600083015261237e81612105565b9050919050565b6000602082019050818103600083015261239e81612128565b9050919050565b600060208201905081810360008301526123be8161214b565b9050919050565b60006020820190506123da600083018461216e565b92915050565b60006123ea6123fb565b90506123f6828261261c565b919050565b6000604051905090565b600067ffffffffffffffff8211156124205761241f6126da565b5b6124298261271d565b9050602081019050919050565b600067ffffffffffffffff821115612451576124506126da565b5b61245a8261271d565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006124b58261259e565b91506124c08361259e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156124f5576124f461264d565b5b828201905092915050565b600061250b8261259e565b91506125168361259e565b9250828210156125295761252861264d565b5b828203905092915050565b600061253f8261257e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156125d55780820151818401526020810190506125ba565b838111156125e4576000848401525b50505050565b6000600282049050600182168061260257607f821691505b60208210811415612616576126156126ab565b5b50919050565b6126258261271d565b810181811067ffffffffffffffff82111715612644576126436126da565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b612a5381612534565b8114612a5e57600080fd5b50565b612a6a81612546565b8114612a7557600080fd5b50565b612a8181612552565b8114612a8c57600080fd5b50565b612a988161259e565b8114612aa357600080fd5b5056fea26469706673582212203742ed7cadb31d3a818f72e6ea2e336c2bb8e9a5d924b44225b01dae9740066464736f6c63430008070033",
}
Erc721MetaData contains all meta data concerning the Erc721 contract.
Functions ¶
This section is empty.
Types ¶
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, tokenName string, tokenSymbol string) (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) 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) 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) CreateNFT ¶
func (_Erc721 *Erc721Session) CreateNFT(tokenURI string) (*types.Transaction, error)
CreateNFT is a paid mutator transaction binding the contract method 0xda2ed03e.
Solidity: function createNFT(string tokenURI) 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) 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) CreateNFT ¶
func (_Erc721 *Erc721Transactor) CreateNFT(opts *bind.TransactOpts, tokenURI string) (*types.Transaction, error)
CreateNFT is a paid mutator transaction binding the contract method 0xda2ed03e.
Solidity: function createNFT(string tokenURI) returns(uint256)
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) CreateNFT ¶
func (_Erc721 *Erc721TransactorSession) CreateNFT(tokenURI string) (*types.Transaction, error)
CreateNFT is a paid mutator transaction binding the contract method 0xda2ed03e.
Solidity: function createNFT(string tokenURI) returns(uint256)
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.