Documentation ¶
Index ¶
- Constants
- type Werc721
- type Werc721Approval
- type Werc721ApprovalForAll
- type Werc721ApprovalForAllIterator
- type Werc721ApprovalIterator
- type Werc721Caller
- func (_Werc721 *Werc721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Werc721 *Werc721Caller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Werc721 *Werc721Caller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_Werc721 *Werc721Caller) Name(opts *bind.CallOpts) (string, error)
- func (_Werc721 *Werc721Caller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Werc721 *Werc721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_Werc721 *Werc721Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Werc721 *Werc721Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Werc721 *Werc721Caller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- type Werc721CallerRaw
- type Werc721CallerSession
- func (_Werc721 *Werc721CallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Werc721 *Werc721CallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Werc721 *Werc721CallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Werc721 *Werc721CallerSession) Name() (string, error)
- func (_Werc721 *Werc721CallerSession) Owner() (common.Address, error)
- func (_Werc721 *Werc721CallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Werc721 *Werc721CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Werc721 *Werc721CallerSession) Symbol() (string, error)
- func (_Werc721 *Werc721CallerSession) TokenURI(tokenId *big.Int) (string, error)
- type Werc721Filterer
- func (_Werc721 *Werc721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*Werc721ApprovalIterator, error)
- func (_Werc721 *Werc721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*Werc721ApprovalForAllIterator, error)
- func (_Werc721 *Werc721Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*Werc721OwnershipTransferredIterator, error)
- func (_Werc721 *Werc721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*Werc721TransferIterator, error)
- func (_Werc721 *Werc721Filterer) ParseApproval(log types.Log) (*Werc721Approval, error)
- func (_Werc721 *Werc721Filterer) ParseApprovalForAll(log types.Log) (*Werc721ApprovalForAll, error)
- func (_Werc721 *Werc721Filterer) ParseOwnershipTransferred(log types.Log) (*Werc721OwnershipTransferred, error)
- func (_Werc721 *Werc721Filterer) ParseTransfer(log types.Log) (*Werc721Transfer, error)
- func (_Werc721 *Werc721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Werc721Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_Werc721 *Werc721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Werc721ApprovalForAll, ...) (event.Subscription, error)
- func (_Werc721 *Werc721Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *Werc721OwnershipTransferred, ...) (event.Subscription, error)
- func (_Werc721 *Werc721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Werc721Transfer, from []common.Address, ...) (event.Subscription, error)
- type Werc721OwnershipTransferred
- type Werc721OwnershipTransferredIterator
- type Werc721Raw
- func (_Werc721 *Werc721Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Werc721 *Werc721Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Werc721 *Werc721Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Werc721Session
- func (_Werc721 *Werc721Session) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Werc721 *Werc721Session) BalanceOf(owner common.Address) (*big.Int, error)
- func (_Werc721 *Werc721Session) Burn(tokenId *big.Int) (*types.Transaction, error)
- func (_Werc721 *Werc721Session) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_Werc721 *Werc721Session) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_Werc721 *Werc721Session) Name() (string, error)
- func (_Werc721 *Werc721Session) Owner() (common.Address, error)
- func (_Werc721 *Werc721Session) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_Werc721 *Werc721Session) RenounceOwnership() (*types.Transaction, error)
- func (_Werc721 *Werc721Session) SafeMint(to common.Address, tokenId *big.Int, metadata string) (*types.Transaction, error)
- func (_Werc721 *Werc721Session) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Werc721 *Werc721Session) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Werc721 *Werc721Session) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Werc721 *Werc721Session) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Werc721 *Werc721Session) Symbol() (string, error)
- func (_Werc721 *Werc721Session) TokenURI(tokenId *big.Int) (string, error)
- func (_Werc721 *Werc721Session) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Werc721 *Werc721Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type Werc721Transactor
- func (_Werc721 *Werc721Transactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Werc721 *Werc721Transactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
- func (_Werc721 *Werc721Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Werc721 *Werc721Transactor) SafeMint(opts *bind.TransactOpts, to common.Address, tokenId *big.Int, metadata string) (*types.Transaction, error)
- func (_Werc721 *Werc721Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Werc721 *Werc721Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Werc721 *Werc721Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_Werc721 *Werc721Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Werc721 *Werc721Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type Werc721TransactorRaw
- type Werc721TransactorSession
- func (_Werc721 *Werc721TransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Werc721 *Werc721TransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)
- func (_Werc721 *Werc721TransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Werc721 *Werc721TransactorSession) SafeMint(to common.Address, tokenId *big.Int, metadata string) (*types.Transaction, error)
- func (_Werc721 *Werc721TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Werc721 *Werc721TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_Werc721 *Werc721TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_Werc721 *Werc721TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Werc721 *Werc721TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type Werc721Transfer
- type Werc721TransferIterator
Constants ¶
const Werc721ABI = "" /* 5904-byte string literal not displayed */
Werc721ABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Werc721 ¶
type Werc721 struct { Werc721Caller // Read-only binding to the contract Werc721Transactor // Write-only binding to the contract Werc721Filterer // Log filterer for contract events }
Werc721 is an auto generated Go binding around an Ethereum contract.
func NewWerc721 ¶
NewWerc721 creates a new instance of Werc721, bound to a specific deployed contract.
type Werc721Approval ¶
type Werc721Approval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
Werc721Approval represents a Approval event raised by the Werc721 contract.
type Werc721ApprovalForAll ¶
type Werc721ApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
Werc721ApprovalForAll represents a ApprovalForAll event raised by the Werc721 contract.
type Werc721ApprovalForAllIterator ¶
type Werc721ApprovalForAllIterator struct { Event *Werc721ApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Werc721ApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Werc721 contract.
func (*Werc721ApprovalForAllIterator) Close ¶
func (it *Werc721ApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Werc721ApprovalForAllIterator) Error ¶
func (it *Werc721ApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Werc721ApprovalForAllIterator) Next ¶
func (it *Werc721ApprovalForAllIterator) 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 Werc721ApprovalIterator ¶
type Werc721ApprovalIterator struct { Event *Werc721Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Werc721ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Werc721 contract.
func (*Werc721ApprovalIterator) Close ¶
func (it *Werc721ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Werc721ApprovalIterator) Error ¶
func (it *Werc721ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Werc721ApprovalIterator) Next ¶
func (it *Werc721ApprovalIterator) 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 Werc721Caller ¶
type Werc721Caller struct {
// contains filtered or unexported fields
}
Werc721Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewWerc721Caller ¶
func NewWerc721Caller(address common.Address, caller bind.ContractCaller) (*Werc721Caller, error)
NewWerc721Caller creates a new read-only instance of Werc721, bound to a specific deployed contract.
func (*Werc721Caller) BalanceOf ¶
func (_Werc721 *Werc721Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*Werc721Caller) GetApproved ¶
func (_Werc721 *Werc721Caller) 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 (*Werc721Caller) IsApprovedForAll ¶
func (_Werc721 *Werc721Caller) 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 (*Werc721Caller) Name ¶
func (_Werc721 *Werc721Caller) 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 (*Werc721Caller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*Werc721Caller) OwnerOf ¶
func (_Werc721 *Werc721Caller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*Werc721Caller) SupportsInterface ¶
func (_Werc721 *Werc721Caller) 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 Werc721CallerRaw ¶
type Werc721CallerRaw struct {
Contract *Werc721Caller // Generic read-only contract binding to access the raw methods on
}
Werc721CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Werc721CallerRaw) Call ¶
func (_Werc721 *Werc721CallerRaw) 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 Werc721CallerSession ¶
type Werc721CallerSession struct { Contract *Werc721Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Werc721CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Werc721CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*Werc721CallerSession) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*Werc721CallerSession) IsApprovedForAll ¶
func (_Werc721 *Werc721CallerSession) 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 (*Werc721CallerSession) Name ¶
func (_Werc721 *Werc721CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*Werc721CallerSession) Owner ¶
func (_Werc721 *Werc721CallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*Werc721CallerSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*Werc721CallerSession) SupportsInterface ¶
func (_Werc721 *Werc721CallerSession) 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 (*Werc721CallerSession) Symbol ¶
func (_Werc721 *Werc721CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
type Werc721Filterer ¶
type Werc721Filterer struct {
// contains filtered or unexported fields
}
Werc721Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWerc721Filterer ¶
func NewWerc721Filterer(address common.Address, filterer bind.ContractFilterer) (*Werc721Filterer, error)
NewWerc721Filterer creates a new log filterer instance of Werc721, bound to a specific deployed contract.
func (*Werc721Filterer) FilterApproval ¶
func (_Werc721 *Werc721Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*Werc721ApprovalIterator, 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 (*Werc721Filterer) FilterApprovalForAll ¶
func (_Werc721 *Werc721Filterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*Werc721ApprovalForAllIterator, 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 (*Werc721Filterer) FilterOwnershipTransferred ¶
func (_Werc721 *Werc721Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*Werc721OwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*Werc721Filterer) FilterTransfer ¶
func (_Werc721 *Werc721Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*Werc721TransferIterator, 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 (*Werc721Filterer) ParseApproval ¶
func (_Werc721 *Werc721Filterer) ParseApproval(log types.Log) (*Werc721Approval, 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 (*Werc721Filterer) ParseApprovalForAll ¶
func (_Werc721 *Werc721Filterer) ParseApprovalForAll(log types.Log) (*Werc721ApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*Werc721Filterer) ParseOwnershipTransferred ¶
func (_Werc721 *Werc721Filterer) ParseOwnershipTransferred(log types.Log) (*Werc721OwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*Werc721Filterer) ParseTransfer ¶
func (_Werc721 *Werc721Filterer) ParseTransfer(log types.Log) (*Werc721Transfer, 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 (*Werc721Filterer) WatchApproval ¶
func (_Werc721 *Werc721Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Werc721Approval, 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 (*Werc721Filterer) WatchApprovalForAll ¶
func (_Werc721 *Werc721Filterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *Werc721ApprovalForAll, 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 (*Werc721Filterer) WatchOwnershipTransferred ¶
func (_Werc721 *Werc721Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *Werc721OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*Werc721Filterer) WatchTransfer ¶
func (_Werc721 *Werc721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Werc721Transfer, 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 Werc721OwnershipTransferred ¶
type Werc721OwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
Werc721OwnershipTransferred represents a OwnershipTransferred event raised by the Werc721 contract.
type Werc721OwnershipTransferredIterator ¶
type Werc721OwnershipTransferredIterator struct { Event *Werc721OwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Werc721OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Werc721 contract.
func (*Werc721OwnershipTransferredIterator) Close ¶
func (it *Werc721OwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Werc721OwnershipTransferredIterator) Error ¶
func (it *Werc721OwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Werc721OwnershipTransferredIterator) Next ¶
func (it *Werc721OwnershipTransferredIterator) 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 Werc721Raw ¶
type Werc721Raw struct {
Contract *Werc721 // Generic contract binding to access the raw methods on
}
Werc721Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Werc721Raw) Call ¶
func (_Werc721 *Werc721Raw) 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 (*Werc721Raw) Transact ¶
func (_Werc721 *Werc721Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Werc721Raw) Transfer ¶
func (_Werc721 *Werc721Raw) 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 Werc721Session ¶
type Werc721Session struct { Contract *Werc721 // 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 }
Werc721Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Werc721Session) Approve ¶
func (_Werc721 *Werc721Session) 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 (*Werc721Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*Werc721Session) Burn ¶
func (_Werc721 *Werc721Session) Burn(tokenId *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 tokenId) returns()
func (*Werc721Session) GetApproved ¶
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*Werc721Session) IsApprovedForAll ¶
func (_Werc721 *Werc721Session) 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 (*Werc721Session) Name ¶
func (_Werc721 *Werc721Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*Werc721Session) Owner ¶
func (_Werc721 *Werc721Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*Werc721Session) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*Werc721Session) RenounceOwnership ¶
func (_Werc721 *Werc721Session) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*Werc721Session) SafeMint ¶
func (_Werc721 *Werc721Session) SafeMint(to common.Address, tokenId *big.Int, metadata string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xcd279c7c.
Solidity: function safeMint(address to, uint256 tokenId, string metadata) returns()
func (*Werc721Session) SafeTransferFrom ¶
func (_Werc721 *Werc721Session) 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 (*Werc721Session) SafeTransferFrom0 ¶
func (_Werc721 *Werc721Session) 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 (*Werc721Session) SetApprovalForAll ¶
func (_Werc721 *Werc721Session) 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 (*Werc721Session) SupportsInterface ¶
func (_Werc721 *Werc721Session) 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 (*Werc721Session) Symbol ¶
func (_Werc721 *Werc721Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*Werc721Session) TokenURI ¶
func (_Werc721 *Werc721Session) 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 (*Werc721Session) TransferFrom ¶
func (_Werc721 *Werc721Session) 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()
func (*Werc721Session) TransferOwnership ¶
func (_Werc721 *Werc721Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type Werc721Transactor ¶
type Werc721Transactor struct {
// contains filtered or unexported fields
}
Werc721Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWerc721Transactor ¶
func NewWerc721Transactor(address common.Address, transactor bind.ContractTransactor) (*Werc721Transactor, error)
NewWerc721Transactor creates a new write-only instance of Werc721, bound to a specific deployed contract.
func (*Werc721Transactor) Approve ¶
func (_Werc721 *Werc721Transactor) 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 (*Werc721Transactor) Burn ¶
func (_Werc721 *Werc721Transactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 tokenId) returns()
func (*Werc721Transactor) RenounceOwnership ¶
func (_Werc721 *Werc721Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*Werc721Transactor) SafeMint ¶
func (_Werc721 *Werc721Transactor) SafeMint(opts *bind.TransactOpts, to common.Address, tokenId *big.Int, metadata string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xcd279c7c.
Solidity: function safeMint(address to, uint256 tokenId, string metadata) returns()
func (*Werc721Transactor) SafeTransferFrom ¶
func (_Werc721 *Werc721Transactor) 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 (*Werc721Transactor) SafeTransferFrom0 ¶
func (_Werc721 *Werc721Transactor) 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 (*Werc721Transactor) SetApprovalForAll ¶
func (_Werc721 *Werc721Transactor) 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 (*Werc721Transactor) TransferFrom ¶
func (_Werc721 *Werc721Transactor) 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()
func (*Werc721Transactor) TransferOwnership ¶
func (_Werc721 *Werc721Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type Werc721TransactorRaw ¶
type Werc721TransactorRaw struct {
Contract *Werc721Transactor // Generic write-only contract binding to access the raw methods on
}
Werc721TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Werc721TransactorRaw) Transact ¶
func (_Werc721 *Werc721TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Werc721TransactorRaw) Transfer ¶
func (_Werc721 *Werc721TransactorRaw) 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 Werc721TransactorSession ¶
type Werc721TransactorSession struct { Contract *Werc721Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Werc721TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Werc721TransactorSession) Approve ¶
func (_Werc721 *Werc721TransactorSession) 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 (*Werc721TransactorSession) Burn ¶
func (_Werc721 *Werc721TransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 tokenId) returns()
func (*Werc721TransactorSession) RenounceOwnership ¶
func (_Werc721 *Werc721TransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*Werc721TransactorSession) SafeMint ¶
func (_Werc721 *Werc721TransactorSession) SafeMint(to common.Address, tokenId *big.Int, metadata string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xcd279c7c.
Solidity: function safeMint(address to, uint256 tokenId, string metadata) returns()
func (*Werc721TransactorSession) SafeTransferFrom ¶
func (_Werc721 *Werc721TransactorSession) 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 (*Werc721TransactorSession) SafeTransferFrom0 ¶
func (_Werc721 *Werc721TransactorSession) 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 (*Werc721TransactorSession) SetApprovalForAll ¶
func (_Werc721 *Werc721TransactorSession) 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 (*Werc721TransactorSession) TransferFrom ¶
func (_Werc721 *Werc721TransactorSession) 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()
func (*Werc721TransactorSession) TransferOwnership ¶
func (_Werc721 *Werc721TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type Werc721Transfer ¶
type Werc721Transfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
Werc721Transfer represents a Transfer event raised by the Werc721 contract.
type Werc721TransferIterator ¶
type Werc721TransferIterator struct { Event *Werc721Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Werc721TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Werc721 contract.
func (*Werc721TransferIterator) Close ¶
func (it *Werc721TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Werc721TransferIterator) Error ¶
func (it *Werc721TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Werc721TransferIterator) Next ¶
func (it *Werc721TransferIterator) 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.