Documentation ¶
Index ¶
- Variables
- type ConsiderationItem
- 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) ContractURI(opts *bind.CallOpts) (string, error)
- func (_ERC721 *ERC721Caller) ContractUri(opts *bind.CallOpts) (string, 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) Owner(opts *bind.CallOpts) (common.Address, 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) ContractURI() (string, error)
- func (_ERC721 *ERC721CallerSession) ContractUri() (string, 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) Owner() (common.Address, 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) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ERC721OwnershipTransferredIterator, 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) ParseOwnershipTransferred(log types.Log) (*ERC721OwnershipTransferred, 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) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC721OwnershipTransferred, ...) (event.Subscription, error)
- func (_ERC721 *ERC721Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721Transfer, from []common.Address, ...) (event.Subscription, error)
- type ERC721OwnershipTransferred
- type ERC721OwnershipTransferredIterator
- 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) Burn(tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721Session) ContractURI() (string, error)
- func (_ERC721 *ERC721Session) ContractUri() (string, 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) Mint(to common.Address, tokenId *big.Int, uri string) (*types.Transaction, error)
- func (_ERC721 *ERC721Session) Name() (string, error)
- func (_ERC721 *ERC721Session) Owner() (common.Address, error)
- func (_ERC721 *ERC721Session) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_ERC721 *ERC721Session) RenounceOwnership() (*types.Transaction, error)
- func (_ERC721 *ERC721Session) SafeMint(to common.Address, uri string) (*types.Transaction, 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)
- func (_ERC721 *ERC721Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type ERC721Transactor
- func (_ERC721 *ERC721Transactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) Mint(opts *bind.TransactOpts, to common.Address, tokenId *big.Int, uri string) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC721 *ERC721Transactor) SafeMint(opts *bind.TransactOpts, to common.Address, uri 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)
- func (_ERC721 *ERC721Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner 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) Burn(tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) Mint(to common.Address, tokenId *big.Int, uri string) (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_ERC721 *ERC721TransactorSession) SafeMint(to common.Address, uri 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)
- func (_ERC721 *ERC721TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type ERC721Transfer
- type ERC721TransferIterator
- type Marketplace
- type MarketplaceCaller
- func (_Marketplace *MarketplaceCaller) GetCounter(opts *bind.CallOpts, offerer common.Address) (*big.Int, error)
- func (_Marketplace *MarketplaceCaller) GetOrderHash(opts *bind.CallOpts, orderComponents OrderComponents) ([32]byte, error)
- func (_Marketplace *MarketplaceCaller) GetOrderStatus(opts *bind.CallOpts, orderHash [32]byte) (struct{ ... }, error)
- func (_Marketplace *MarketplaceCaller) Information(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Marketplace *MarketplaceCaller) Name(opts *bind.CallOpts) (string, error)
- type MarketplaceCallerRaw
- type MarketplaceCallerSession
- func (_Marketplace *MarketplaceCallerSession) GetCounter(offerer common.Address) (*big.Int, error)
- func (_Marketplace *MarketplaceCallerSession) GetOrderHash(orderComponents OrderComponents) ([32]byte, error)
- func (_Marketplace *MarketplaceCallerSession) GetOrderStatus(orderHash [32]byte) (struct{ ... }, error)
- func (_Marketplace *MarketplaceCallerSession) Information() (struct{ ... }, error)
- func (_Marketplace *MarketplaceCallerSession) Name() (string, error)
- type MarketplaceCounterIncremented
- type MarketplaceCounterIncrementedIterator
- type MarketplaceFilterer
- func (_Marketplace *MarketplaceFilterer) FilterCounterIncremented(opts *bind.FilterOpts, offerer []common.Address) (*MarketplaceCounterIncrementedIterator, error)
- func (_Marketplace *MarketplaceFilterer) FilterOrderCancelled(opts *bind.FilterOpts, offerer []common.Address) (*MarketplaceOrderCancelledIterator, error)
- func (_Marketplace *MarketplaceFilterer) FilterOrderFulfilled(opts *bind.FilterOpts, offerer []common.Address) (*MarketplaceOrderFulfilledIterator, error)
- func (_Marketplace *MarketplaceFilterer) FilterOrderValidated(opts *bind.FilterOpts) (*MarketplaceOrderValidatedIterator, error)
- func (_Marketplace *MarketplaceFilterer) ParseCounterIncremented(log types.Log) (*MarketplaceCounterIncremented, error)
- func (_Marketplace *MarketplaceFilterer) ParseOrderCancelled(log types.Log) (*MarketplaceOrderCancelled, error)
- func (_Marketplace *MarketplaceFilterer) ParseOrderFulfilled(log types.Log) (*MarketplaceOrderFulfilled, error)
- func (_Marketplace *MarketplaceFilterer) ParseOrderValidated(log types.Log) (*MarketplaceOrderValidated, error)
- func (_Marketplace *MarketplaceFilterer) WatchCounterIncremented(opts *bind.WatchOpts, sink chan<- *MarketplaceCounterIncremented, ...) (event.Subscription, error)
- func (_Marketplace *MarketplaceFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *MarketplaceOrderCancelled, ...) (event.Subscription, error)
- func (_Marketplace *MarketplaceFilterer) WatchOrderFulfilled(opts *bind.WatchOpts, sink chan<- *MarketplaceOrderFulfilled, ...) (event.Subscription, error)
- func (_Marketplace *MarketplaceFilterer) WatchOrderValidated(opts *bind.WatchOpts, sink chan<- *MarketplaceOrderValidated) (event.Subscription, error)
- type MarketplaceOrderCancelled
- type MarketplaceOrderCancelledIterator
- type MarketplaceOrderFulfilled
- type MarketplaceOrderFulfilledIterator
- type MarketplaceOrderValidated
- type MarketplaceOrderValidatedIterator
- type MarketplaceRaw
- func (_Marketplace *MarketplaceRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Marketplace *MarketplaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Marketplace *MarketplaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MarketplaceSession
- func (_Marketplace *MarketplaceSession) Cancel(orders []OrderComponents) (*types.Transaction, error)
- func (_Marketplace *MarketplaceSession) FulfillOrder(order Order) (*types.Transaction, error)
- func (_Marketplace *MarketplaceSession) FulfillOrderBatch(orders []Order) (*types.Transaction, error)
- func (_Marketplace *MarketplaceSession) GetCounter(offerer common.Address) (*big.Int, error)
- func (_Marketplace *MarketplaceSession) GetOrderHash(orderComponents OrderComponents) ([32]byte, error)
- func (_Marketplace *MarketplaceSession) GetOrderStatus(orderHash [32]byte) (struct{ ... }, error)
- func (_Marketplace *MarketplaceSession) IncrementCounter() (*types.Transaction, error)
- func (_Marketplace *MarketplaceSession) Information() (struct{ ... }, error)
- func (_Marketplace *MarketplaceSession) Name() (string, error)
- func (_Marketplace *MarketplaceSession) Validate(order []Order) (*types.Transaction, error)
- type MarketplaceTransactor
- func (_Marketplace *MarketplaceTransactor) Cancel(opts *bind.TransactOpts, orders []OrderComponents) (*types.Transaction, error)
- func (_Marketplace *MarketplaceTransactor) FulfillOrder(opts *bind.TransactOpts, order Order) (*types.Transaction, error)
- func (_Marketplace *MarketplaceTransactor) FulfillOrderBatch(opts *bind.TransactOpts, orders []Order) (*types.Transaction, error)
- func (_Marketplace *MarketplaceTransactor) IncrementCounter(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Marketplace *MarketplaceTransactor) Validate(opts *bind.TransactOpts, order []Order) (*types.Transaction, error)
- type MarketplaceTransactorRaw
- type MarketplaceTransactorSession
- func (_Marketplace *MarketplaceTransactorSession) Cancel(orders []OrderComponents) (*types.Transaction, error)
- func (_Marketplace *MarketplaceTransactorSession) FulfillOrder(order Order) (*types.Transaction, error)
- func (_Marketplace *MarketplaceTransactorSession) FulfillOrderBatch(orders []Order) (*types.Transaction, error)
- func (_Marketplace *MarketplaceTransactorSession) IncrementCounter() (*types.Transaction, error)
- func (_Marketplace *MarketplaceTransactorSession) Validate(order []Order) (*types.Transaction, error)
- type OfferItem
- type Order
- type OrderComponents
- type OrderParameters
- type ReceivedItem
- type SpentItem
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 ERC721MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"contractUri_\",\"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\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"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\":[],\"name\":\"_contractUri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contractURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"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\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"safeMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
ERC721MetaData contains all meta data concerning the ERC721 contract.
var MarketplaceABI = MarketplaceMetaData.ABI
MarketplaceABI is the input ABI used to generate the binding from. Deprecated: Use MarketplaceMetaData.ABI instead.
var MarketplaceMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"CannotCancelOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientNativeTokensSupplied\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"InvalidERC721TransferAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidNativeOfferItem\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"}],\"name\":\"InvalidTime\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MissingItemAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"OrderAlreadyFilled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"OrderIsCancelled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokenTransferGenericFailure\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnusedItemParameters\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newCounter\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"}],\"name\":\"CounterIncremented\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"}],\"name\":\"OrderCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structSpentItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"indexed\":false,\"internalType\":\"structReceivedItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"}],\"name\":\"OrderFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structOrderParameters\",\"name\":\"orderParameters\",\"type\":\"tuple\"}],\"name\":\"OrderValidated\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"counter\",\"type\":\"uint256\"}],\"internalType\":\"structOrderComponents[]\",\"name\":\"orders\",\"type\":\"tuple[]\"}],\"name\":\"cancel\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"cancelled\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"}],\"internalType\":\"structOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder\",\"name\":\"order\",\"type\":\"tuple\"}],\"name\":\"fulfillOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"fulfilled\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"}],\"internalType\":\"structOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder[]\",\"name\":\"orders\",\"type\":\"tuple[]\"}],\"name\":\"fulfillOrderBatch\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"fulfilled\",\"type\":\"bool[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"}],\"name\":\"getCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"counter\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"counter\",\"type\":\"uint256\"}],\"internalType\":\"structOrderComponents\",\"name\":\"orderComponents\",\"type\":\"tuple\"}],\"name\":\"getOrderHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"getOrderStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isValidated\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isCancelled\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isFulFilled\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"incrementCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"newCounter\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"information\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"bytes32\",\"name\":\"domainSeparator\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"}],\"internalType\":\"structOfferItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structConsiderationItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"}],\"internalType\":\"structOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder[]\",\"name\":\"order\",\"type\":\"tuple[]\"}],\"name\":\"validate\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
MarketplaceMetaData contains all meta data concerning the Marketplace contract.
Functions ¶
This section is empty.
Types ¶
type ConsiderationItem ¶
type ConsiderationItem struct { ItemType uint8 Token common.Address Identifier *big.Int StartAmount *big.Int EndAmount *big.Int Recipient common.Address }
ConsiderationItem is an auto generated low-level Go binding around an user-defined struct.
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.
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) ContractURI ¶
func (_ERC721 *ERC721Caller) ContractURI(opts *bind.CallOpts) (string, error)
ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.
Solidity: function contractURI() view returns(string)
func (*ERC721Caller) ContractUri ¶
func (_ERC721 *ERC721Caller) ContractUri(opts *bind.CallOpts) (string, error)
ContractUri is a free data retrieval call binding the contract method 0xd9ce2f6d.
Solidity: function _contractUri() view returns(string)
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) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
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) ContractURI ¶
func (_ERC721 *ERC721CallerSession) ContractURI() (string, error)
ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.
Solidity: function contractURI() view returns(string)
func (*ERC721CallerSession) ContractUri ¶
func (_ERC721 *ERC721CallerSession) ContractUri() (string, error)
ContractUri is a free data retrieval call binding the contract method 0xd9ce2f6d.
Solidity: function _contractUri() view returns(string)
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) Owner ¶
func (_ERC721 *ERC721CallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
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) FilterOwnershipTransferred ¶
func (_ERC721 *ERC721Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC721OwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
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) ParseOwnershipTransferred ¶
func (_ERC721 *ERC721Filterer) ParseOwnershipTransferred(log types.Log) (*ERC721OwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
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) WatchOwnershipTransferred ¶
func (_ERC721 *ERC721Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC721OwnershipTransferred, 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 (*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 ERC721OwnershipTransferred ¶
type ERC721OwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ERC721OwnershipTransferred represents a OwnershipTransferred event raised by the ERC721 contract.
type ERC721OwnershipTransferredIterator ¶
type ERC721OwnershipTransferredIterator struct { Event *ERC721OwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ERC721 contract.
func (*ERC721OwnershipTransferredIterator) Close ¶
func (it *ERC721OwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721OwnershipTransferredIterator) Error ¶
func (it *ERC721OwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721OwnershipTransferredIterator) Next ¶
func (it *ERC721OwnershipTransferredIterator) 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 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) Burn ¶
func (_ERC721 *ERC721Session) 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 (*ERC721Session) ContractURI ¶
func (_ERC721 *ERC721Session) ContractURI() (string, error)
ContractURI is a free data retrieval call binding the contract method 0xe8a3d485.
Solidity: function contractURI() view returns(string)
func (*ERC721Session) ContractUri ¶
func (_ERC721 *ERC721Session) ContractUri() (string, error)
ContractUri is a free data retrieval call binding the contract method 0xd9ce2f6d.
Solidity: function _contractUri() view returns(string)
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) Mint ¶
func (_ERC721 *ERC721Session) Mint(to common.Address, tokenId *big.Int, uri string) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xd3fc9864.
Solidity: function mint(address to, uint256 tokenId, string uri) returns()
func (*ERC721Session) Name ¶
func (_ERC721 *ERC721Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC721Session) Owner ¶
func (_ERC721 *ERC721Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
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) RenounceOwnership ¶
func (_ERC721 *ERC721Session) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC721Session) SafeMint ¶
func (_ERC721 *ERC721Session) SafeMint(to common.Address, uri string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.
Solidity: function safeMint(address to, string uri) returns()
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()
func (*ERC721Session) TransferOwnership ¶
func (_ERC721 *ERC721Session) 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 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) Burn ¶
func (_ERC721 *ERC721Transactor) 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 (*ERC721Transactor) Mint ¶
func (_ERC721 *ERC721Transactor) Mint(opts *bind.TransactOpts, to common.Address, tokenId *big.Int, uri string) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xd3fc9864.
Solidity: function mint(address to, uint256 tokenId, string uri) returns()
func (*ERC721Transactor) RenounceOwnership ¶
func (_ERC721 *ERC721Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC721Transactor) SafeMint ¶
func (_ERC721 *ERC721Transactor) SafeMint(opts *bind.TransactOpts, to common.Address, uri string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.
Solidity: function safeMint(address to, string uri) returns()
func (*ERC721Transactor) SafeTransferFrom ¶
func (_ERC721 *ERC721Transactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721Transactor) SafeTransferFrom0 ¶
func (_ERC721 *ERC721Transactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ERC721Transactor) SetApprovalForAll ¶
func (_ERC721 *ERC721Transactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*ERC721Transactor) TransferFrom ¶
func (_ERC721 *ERC721Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721Transactor) TransferOwnership ¶
func (_ERC721 *ERC721Transactor) 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 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) Burn ¶
func (_ERC721 *ERC721TransactorSession) 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 (*ERC721TransactorSession) Mint ¶
func (_ERC721 *ERC721TransactorSession) Mint(to common.Address, tokenId *big.Int, uri string) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0xd3fc9864.
Solidity: function mint(address to, uint256 tokenId, string uri) returns()
func (*ERC721TransactorSession) RenounceOwnership ¶
func (_ERC721 *ERC721TransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC721TransactorSession) SafeMint ¶
func (_ERC721 *ERC721TransactorSession) SafeMint(to common.Address, uri string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.
Solidity: function safeMint(address to, string uri) returns()
func (*ERC721TransactorSession) SafeTransferFrom ¶
func (_ERC721 *ERC721TransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721TransactorSession) SafeTransferFrom0 ¶
func (_ERC721 *ERC721TransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ERC721TransactorSession) SetApprovalForAll ¶
func (_ERC721 *ERC721TransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*ERC721TransactorSession) TransferFrom ¶
func (_ERC721 *ERC721TransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721TransactorSession) TransferOwnership ¶
func (_ERC721 *ERC721TransactorSession) 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 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.
type Marketplace ¶
type Marketplace struct { MarketplaceCaller // Read-only binding to the contract MarketplaceTransactor // Write-only binding to the contract MarketplaceFilterer // Log filterer for contract events }
Marketplace is an auto generated Go binding around an Ethereum contract.
func NewMarketplace ¶
func NewMarketplace(address common.Address, backend bind.ContractBackend) (*Marketplace, error)
NewMarketplace creates a new instance of Marketplace, bound to a specific deployed contract.
type MarketplaceCaller ¶
type MarketplaceCaller struct {
// contains filtered or unexported fields
}
MarketplaceCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMarketplaceCaller ¶
func NewMarketplaceCaller(address common.Address, caller bind.ContractCaller) (*MarketplaceCaller, error)
NewMarketplaceCaller creates a new read-only instance of Marketplace, bound to a specific deployed contract.
func (*MarketplaceCaller) GetCounter ¶
func (_Marketplace *MarketplaceCaller) GetCounter(opts *bind.CallOpts, offerer common.Address) (*big.Int, error)
GetCounter is a free data retrieval call binding the contract method 0xf07ec373.
Solidity: function getCounter(address offerer) view returns(uint256 counter)
func (*MarketplaceCaller) GetOrderHash ¶
func (_Marketplace *MarketplaceCaller) GetOrderHash(opts *bind.CallOpts, orderComponents OrderComponents) ([32]byte, error)
GetOrderHash is a free data retrieval call binding the contract method 0x8149edc1.
Solidity: function getOrderHash((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256,uint256) orderComponents) view returns(bytes32 orderHash)
func (*MarketplaceCaller) GetOrderStatus ¶
func (_Marketplace *MarketplaceCaller) GetOrderStatus(opts *bind.CallOpts, orderHash [32]byte) (struct { IsValidated bool IsCancelled bool IsFulFilled bool }, error)
GetOrderStatus is a free data retrieval call binding the contract method 0x46423aa7.
Solidity: function getOrderStatus(bytes32 orderHash) view returns(bool isValidated, bool isCancelled, bool isFulFilled)
func (*MarketplaceCaller) Information ¶
func (_Marketplace *MarketplaceCaller) Information(opts *bind.CallOpts) (struct { Version string DomainSeparator [32]byte }, error)
Information is a free data retrieval call binding the contract method 0xf47b7740.
Solidity: function information() view returns(string version, bytes32 domainSeparator)
type MarketplaceCallerRaw ¶
type MarketplaceCallerRaw struct {
Contract *MarketplaceCaller // Generic read-only contract binding to access the raw methods on
}
MarketplaceCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MarketplaceCallerRaw) Call ¶
func (_Marketplace *MarketplaceCallerRaw) 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 MarketplaceCallerSession ¶
type MarketplaceCallerSession struct { Contract *MarketplaceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MarketplaceCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MarketplaceCallerSession) GetCounter ¶
GetCounter is a free data retrieval call binding the contract method 0xf07ec373.
Solidity: function getCounter(address offerer) view returns(uint256 counter)
func (*MarketplaceCallerSession) GetOrderHash ¶
func (_Marketplace *MarketplaceCallerSession) GetOrderHash(orderComponents OrderComponents) ([32]byte, error)
GetOrderHash is a free data retrieval call binding the contract method 0x8149edc1.
Solidity: function getOrderHash((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256,uint256) orderComponents) view returns(bytes32 orderHash)
func (*MarketplaceCallerSession) GetOrderStatus ¶
func (_Marketplace *MarketplaceCallerSession) GetOrderStatus(orderHash [32]byte) (struct { IsValidated bool IsCancelled bool IsFulFilled bool }, error)
GetOrderStatus is a free data retrieval call binding the contract method 0x46423aa7.
Solidity: function getOrderStatus(bytes32 orderHash) view returns(bool isValidated, bool isCancelled, bool isFulFilled)
func (*MarketplaceCallerSession) Information ¶
func (_Marketplace *MarketplaceCallerSession) Information() (struct { Version string DomainSeparator [32]byte }, error)
Information is a free data retrieval call binding the contract method 0xf47b7740.
Solidity: function information() view returns(string version, bytes32 domainSeparator)
func (*MarketplaceCallerSession) Name ¶
func (_Marketplace *MarketplaceCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(string)
type MarketplaceCounterIncremented ¶
type MarketplaceCounterIncremented struct { NewCounter *big.Int Offerer common.Address Raw types.Log // Blockchain specific contextual infos }
MarketplaceCounterIncremented represents a CounterIncremented event raised by the Marketplace contract.
type MarketplaceCounterIncrementedIterator ¶
type MarketplaceCounterIncrementedIterator struct { Event *MarketplaceCounterIncremented // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketplaceCounterIncrementedIterator is returned from FilterCounterIncremented and is used to iterate over the raw logs and unpacked data for CounterIncremented events raised by the Marketplace contract.
func (*MarketplaceCounterIncrementedIterator) Close ¶
func (it *MarketplaceCounterIncrementedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketplaceCounterIncrementedIterator) Error ¶
func (it *MarketplaceCounterIncrementedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketplaceCounterIncrementedIterator) Next ¶
func (it *MarketplaceCounterIncrementedIterator) 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 MarketplaceFilterer ¶
type MarketplaceFilterer struct {
// contains filtered or unexported fields
}
MarketplaceFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMarketplaceFilterer ¶
func NewMarketplaceFilterer(address common.Address, filterer bind.ContractFilterer) (*MarketplaceFilterer, error)
NewMarketplaceFilterer creates a new log filterer instance of Marketplace, bound to a specific deployed contract.
func (*MarketplaceFilterer) FilterCounterIncremented ¶
func (_Marketplace *MarketplaceFilterer) FilterCounterIncremented(opts *bind.FilterOpts, offerer []common.Address) (*MarketplaceCounterIncrementedIterator, error)
FilterCounterIncremented is a free log retrieval operation binding the contract event 0x721c20121297512b72821b97f5326877ea8ecf4bb9948fea5bfcb6453074d37f.
Solidity: event CounterIncremented(uint256 newCounter, address indexed offerer)
func (*MarketplaceFilterer) FilterOrderCancelled ¶
func (_Marketplace *MarketplaceFilterer) FilterOrderCancelled(opts *bind.FilterOpts, offerer []common.Address) (*MarketplaceOrderCancelledIterator, error)
FilterOrderCancelled is a free log retrieval operation binding the contract event 0xa6eb7cdc219e1518ced964e9a34e61d68a94e4f1569db3e84256ba981ba52753.
Solidity: event OrderCancelled(bytes32 orderHash, address indexed offerer)
func (*MarketplaceFilterer) FilterOrderFulfilled ¶
func (_Marketplace *MarketplaceFilterer) FilterOrderFulfilled(opts *bind.FilterOpts, offerer []common.Address) (*MarketplaceOrderFulfilledIterator, error)
FilterOrderFulfilled is a free log retrieval operation binding the contract event 0xf4985a8ee1c01f18407eedc2cff3108d4a3065ddfda1220caac817175639729b.
Solidity: event OrderFulfilled(bytes32 orderHash, address indexed offerer, address recipient, (uint8,address,uint256,uint256)[] offer, (uint8,address,uint256,uint256,address)[] consideration)
func (*MarketplaceFilterer) FilterOrderValidated ¶
func (_Marketplace *MarketplaceFilterer) FilterOrderValidated(opts *bind.FilterOpts) (*MarketplaceOrderValidatedIterator, error)
FilterOrderValidated is a free log retrieval operation binding the contract event 0xffbbabb33c4442c50b58ffcb1586157e793120fa26dee658fbdf27bf13c8c391.
Solidity: event OrderValidated(bytes32 orderHash, (address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256) orderParameters)
func (*MarketplaceFilterer) ParseCounterIncremented ¶
func (_Marketplace *MarketplaceFilterer) ParseCounterIncremented(log types.Log) (*MarketplaceCounterIncremented, error)
ParseCounterIncremented is a log parse operation binding the contract event 0x721c20121297512b72821b97f5326877ea8ecf4bb9948fea5bfcb6453074d37f.
Solidity: event CounterIncremented(uint256 newCounter, address indexed offerer)
func (*MarketplaceFilterer) ParseOrderCancelled ¶
func (_Marketplace *MarketplaceFilterer) ParseOrderCancelled(log types.Log) (*MarketplaceOrderCancelled, error)
ParseOrderCancelled is a log parse operation binding the contract event 0xa6eb7cdc219e1518ced964e9a34e61d68a94e4f1569db3e84256ba981ba52753.
Solidity: event OrderCancelled(bytes32 orderHash, address indexed offerer)
func (*MarketplaceFilterer) ParseOrderFulfilled ¶
func (_Marketplace *MarketplaceFilterer) ParseOrderFulfilled(log types.Log) (*MarketplaceOrderFulfilled, error)
ParseOrderFulfilled is a log parse operation binding the contract event 0xf4985a8ee1c01f18407eedc2cff3108d4a3065ddfda1220caac817175639729b.
Solidity: event OrderFulfilled(bytes32 orderHash, address indexed offerer, address recipient, (uint8,address,uint256,uint256)[] offer, (uint8,address,uint256,uint256,address)[] consideration)
func (*MarketplaceFilterer) ParseOrderValidated ¶
func (_Marketplace *MarketplaceFilterer) ParseOrderValidated(log types.Log) (*MarketplaceOrderValidated, error)
ParseOrderValidated is a log parse operation binding the contract event 0xffbbabb33c4442c50b58ffcb1586157e793120fa26dee658fbdf27bf13c8c391.
Solidity: event OrderValidated(bytes32 orderHash, (address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256) orderParameters)
func (*MarketplaceFilterer) WatchCounterIncremented ¶
func (_Marketplace *MarketplaceFilterer) WatchCounterIncremented(opts *bind.WatchOpts, sink chan<- *MarketplaceCounterIncremented, offerer []common.Address) (event.Subscription, error)
WatchCounterIncremented is a free log subscription operation binding the contract event 0x721c20121297512b72821b97f5326877ea8ecf4bb9948fea5bfcb6453074d37f.
Solidity: event CounterIncremented(uint256 newCounter, address indexed offerer)
func (*MarketplaceFilterer) WatchOrderCancelled ¶
func (_Marketplace *MarketplaceFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *MarketplaceOrderCancelled, offerer []common.Address) (event.Subscription, error)
WatchOrderCancelled is a free log subscription operation binding the contract event 0xa6eb7cdc219e1518ced964e9a34e61d68a94e4f1569db3e84256ba981ba52753.
Solidity: event OrderCancelled(bytes32 orderHash, address indexed offerer)
func (*MarketplaceFilterer) WatchOrderFulfilled ¶
func (_Marketplace *MarketplaceFilterer) WatchOrderFulfilled(opts *bind.WatchOpts, sink chan<- *MarketplaceOrderFulfilled, offerer []common.Address) (event.Subscription, error)
WatchOrderFulfilled is a free log subscription operation binding the contract event 0xf4985a8ee1c01f18407eedc2cff3108d4a3065ddfda1220caac817175639729b.
Solidity: event OrderFulfilled(bytes32 orderHash, address indexed offerer, address recipient, (uint8,address,uint256,uint256)[] offer, (uint8,address,uint256,uint256,address)[] consideration)
func (*MarketplaceFilterer) WatchOrderValidated ¶
func (_Marketplace *MarketplaceFilterer) WatchOrderValidated(opts *bind.WatchOpts, sink chan<- *MarketplaceOrderValidated) (event.Subscription, error)
WatchOrderValidated is a free log subscription operation binding the contract event 0xffbbabb33c4442c50b58ffcb1586157e793120fa26dee658fbdf27bf13c8c391.
Solidity: event OrderValidated(bytes32 orderHash, (address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256) orderParameters)
type MarketplaceOrderCancelled ¶
type MarketplaceOrderCancelled struct { OrderHash [32]byte Offerer common.Address Raw types.Log // Blockchain specific contextual infos }
MarketplaceOrderCancelled represents a OrderCancelled event raised by the Marketplace contract.
type MarketplaceOrderCancelledIterator ¶
type MarketplaceOrderCancelledIterator struct { Event *MarketplaceOrderCancelled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketplaceOrderCancelledIterator is returned from FilterOrderCancelled and is used to iterate over the raw logs and unpacked data for OrderCancelled events raised by the Marketplace contract.
func (*MarketplaceOrderCancelledIterator) Close ¶
func (it *MarketplaceOrderCancelledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketplaceOrderCancelledIterator) Error ¶
func (it *MarketplaceOrderCancelledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketplaceOrderCancelledIterator) Next ¶
func (it *MarketplaceOrderCancelledIterator) 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 MarketplaceOrderFulfilled ¶
type MarketplaceOrderFulfilled struct { OrderHash [32]byte Offerer common.Address Recipient common.Address Offer []SpentItem Consideration []ReceivedItem Raw types.Log // Blockchain specific contextual infos }
MarketplaceOrderFulfilled represents a OrderFulfilled event raised by the Marketplace contract.
type MarketplaceOrderFulfilledIterator ¶
type MarketplaceOrderFulfilledIterator struct { Event *MarketplaceOrderFulfilled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketplaceOrderFulfilledIterator is returned from FilterOrderFulfilled and is used to iterate over the raw logs and unpacked data for OrderFulfilled events raised by the Marketplace contract.
func (*MarketplaceOrderFulfilledIterator) Close ¶
func (it *MarketplaceOrderFulfilledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketplaceOrderFulfilledIterator) Error ¶
func (it *MarketplaceOrderFulfilledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketplaceOrderFulfilledIterator) Next ¶
func (it *MarketplaceOrderFulfilledIterator) 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 MarketplaceOrderValidated ¶
type MarketplaceOrderValidated struct { OrderHash [32]byte OrderParameters OrderParameters Raw types.Log // Blockchain specific contextual infos }
MarketplaceOrderValidated represents a OrderValidated event raised by the Marketplace contract.
type MarketplaceOrderValidatedIterator ¶
type MarketplaceOrderValidatedIterator struct { Event *MarketplaceOrderValidated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MarketplaceOrderValidatedIterator is returned from FilterOrderValidated and is used to iterate over the raw logs and unpacked data for OrderValidated events raised by the Marketplace contract.
func (*MarketplaceOrderValidatedIterator) Close ¶
func (it *MarketplaceOrderValidatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MarketplaceOrderValidatedIterator) Error ¶
func (it *MarketplaceOrderValidatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MarketplaceOrderValidatedIterator) Next ¶
func (it *MarketplaceOrderValidatedIterator) 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 MarketplaceRaw ¶
type MarketplaceRaw struct {
Contract *Marketplace // Generic contract binding to access the raw methods on
}
MarketplaceRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MarketplaceRaw) Call ¶
func (_Marketplace *MarketplaceRaw) 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 (*MarketplaceRaw) Transact ¶
func (_Marketplace *MarketplaceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MarketplaceRaw) Transfer ¶
func (_Marketplace *MarketplaceRaw) 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 MarketplaceSession ¶
type MarketplaceSession struct { Contract *Marketplace // 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 }
MarketplaceSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MarketplaceSession) Cancel ¶
func (_Marketplace *MarketplaceSession) Cancel(orders []OrderComponents) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0x8ba211f1.
Solidity: function cancel((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256,uint256)[] orders) returns(bool cancelled)
func (*MarketplaceSession) FulfillOrder ¶
func (_Marketplace *MarketplaceSession) FulfillOrder(order Order) (*types.Transaction, error)
FulfillOrder is a paid mutator transaction binding the contract method 0xbbb4f64c.
Solidity: function fulfillOrder(((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256),bytes) order) payable returns(bool fulfilled)
func (*MarketplaceSession) FulfillOrderBatch ¶
func (_Marketplace *MarketplaceSession) FulfillOrderBatch(orders []Order) (*types.Transaction, error)
FulfillOrderBatch is a paid mutator transaction binding the contract method 0x47bb13a0.
Solidity: function fulfillOrderBatch(((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256),bytes)[] orders) payable returns(bool[] fulfilled)
func (*MarketplaceSession) GetCounter ¶
GetCounter is a free data retrieval call binding the contract method 0xf07ec373.
Solidity: function getCounter(address offerer) view returns(uint256 counter)
func (*MarketplaceSession) GetOrderHash ¶
func (_Marketplace *MarketplaceSession) GetOrderHash(orderComponents OrderComponents) ([32]byte, error)
GetOrderHash is a free data retrieval call binding the contract method 0x8149edc1.
Solidity: function getOrderHash((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256,uint256) orderComponents) view returns(bytes32 orderHash)
func (*MarketplaceSession) GetOrderStatus ¶
func (_Marketplace *MarketplaceSession) GetOrderStatus(orderHash [32]byte) (struct { IsValidated bool IsCancelled bool IsFulFilled bool }, error)
GetOrderStatus is a free data retrieval call binding the contract method 0x46423aa7.
Solidity: function getOrderStatus(bytes32 orderHash) view returns(bool isValidated, bool isCancelled, bool isFulFilled)
func (*MarketplaceSession) IncrementCounter ¶
func (_Marketplace *MarketplaceSession) IncrementCounter() (*types.Transaction, error)
IncrementCounter is a paid mutator transaction binding the contract method 0x5b34b966.
Solidity: function incrementCounter() returns(uint256 newCounter)
func (*MarketplaceSession) Information ¶
func (_Marketplace *MarketplaceSession) Information() (struct { Version string DomainSeparator [32]byte }, error)
Information is a free data retrieval call binding the contract method 0xf47b7740.
Solidity: function information() view returns(string version, bytes32 domainSeparator)
func (*MarketplaceSession) Name ¶
func (_Marketplace *MarketplaceSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(string)
func (*MarketplaceSession) Validate ¶
func (_Marketplace *MarketplaceSession) Validate(order []Order) (*types.Transaction, error)
Validate is a paid mutator transaction binding the contract method 0xf9e17bb2.
Solidity: function validate(((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256),bytes)[] order) returns(bool)
type MarketplaceTransactor ¶
type MarketplaceTransactor struct {
// contains filtered or unexported fields
}
MarketplaceTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMarketplaceTransactor ¶
func NewMarketplaceTransactor(address common.Address, transactor bind.ContractTransactor) (*MarketplaceTransactor, error)
NewMarketplaceTransactor creates a new write-only instance of Marketplace, bound to a specific deployed contract.
func (*MarketplaceTransactor) Cancel ¶
func (_Marketplace *MarketplaceTransactor) Cancel(opts *bind.TransactOpts, orders []OrderComponents) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0x8ba211f1.
Solidity: function cancel((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256,uint256)[] orders) returns(bool cancelled)
func (*MarketplaceTransactor) FulfillOrder ¶
func (_Marketplace *MarketplaceTransactor) FulfillOrder(opts *bind.TransactOpts, order Order) (*types.Transaction, error)
FulfillOrder is a paid mutator transaction binding the contract method 0xbbb4f64c.
Solidity: function fulfillOrder(((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256),bytes) order) payable returns(bool fulfilled)
func (*MarketplaceTransactor) FulfillOrderBatch ¶
func (_Marketplace *MarketplaceTransactor) FulfillOrderBatch(opts *bind.TransactOpts, orders []Order) (*types.Transaction, error)
FulfillOrderBatch is a paid mutator transaction binding the contract method 0x47bb13a0.
Solidity: function fulfillOrderBatch(((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256),bytes)[] orders) payable returns(bool[] fulfilled)
func (*MarketplaceTransactor) IncrementCounter ¶
func (_Marketplace *MarketplaceTransactor) IncrementCounter(opts *bind.TransactOpts) (*types.Transaction, error)
IncrementCounter is a paid mutator transaction binding the contract method 0x5b34b966.
Solidity: function incrementCounter() returns(uint256 newCounter)
func (*MarketplaceTransactor) Validate ¶
func (_Marketplace *MarketplaceTransactor) Validate(opts *bind.TransactOpts, order []Order) (*types.Transaction, error)
Validate is a paid mutator transaction binding the contract method 0xf9e17bb2.
Solidity: function validate(((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256),bytes)[] order) returns(bool)
type MarketplaceTransactorRaw ¶
type MarketplaceTransactorRaw struct {
Contract *MarketplaceTransactor // Generic write-only contract binding to access the raw methods on
}
MarketplaceTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MarketplaceTransactorRaw) Transact ¶
func (_Marketplace *MarketplaceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MarketplaceTransactorRaw) Transfer ¶
func (_Marketplace *MarketplaceTransactorRaw) 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 MarketplaceTransactorSession ¶
type MarketplaceTransactorSession struct { Contract *MarketplaceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MarketplaceTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MarketplaceTransactorSession) Cancel ¶
func (_Marketplace *MarketplaceTransactorSession) Cancel(orders []OrderComponents) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0x8ba211f1.
Solidity: function cancel((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256,uint256)[] orders) returns(bool cancelled)
func (*MarketplaceTransactorSession) FulfillOrder ¶
func (_Marketplace *MarketplaceTransactorSession) FulfillOrder(order Order) (*types.Transaction, error)
FulfillOrder is a paid mutator transaction binding the contract method 0xbbb4f64c.
Solidity: function fulfillOrder(((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256),bytes) order) payable returns(bool fulfilled)
func (*MarketplaceTransactorSession) FulfillOrderBatch ¶
func (_Marketplace *MarketplaceTransactorSession) FulfillOrderBatch(orders []Order) (*types.Transaction, error)
FulfillOrderBatch is a paid mutator transaction binding the contract method 0x47bb13a0.
Solidity: function fulfillOrderBatch(((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256),bytes)[] orders) payable returns(bool[] fulfilled)
func (*MarketplaceTransactorSession) IncrementCounter ¶
func (_Marketplace *MarketplaceTransactorSession) IncrementCounter() (*types.Transaction, error)
IncrementCounter is a paid mutator transaction binding the contract method 0x5b34b966.
Solidity: function incrementCounter() returns(uint256 newCounter)
func (*MarketplaceTransactorSession) Validate ¶
func (_Marketplace *MarketplaceTransactorSession) Validate(order []Order) (*types.Transaction, error)
Validate is a paid mutator transaction binding the contract method 0xf9e17bb2.
Solidity: function validate(((address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint256,uint256,uint256),bytes)[] order) returns(bool)
type OfferItem ¶
type OfferItem struct { ItemType uint8 Token common.Address Identifier *big.Int StartAmount *big.Int EndAmount *big.Int }
OfferItem is an auto generated low-level Go binding around an user-defined struct.
type Order ¶
type Order struct { Parameters OrderParameters Signature []byte }
Order is an auto generated low-level Go binding around an user-defined struct.
type OrderComponents ¶
type OrderComponents struct { Offerer common.Address Offer []OfferItem Consideration []ConsiderationItem StartTime *big.Int EndTime *big.Int Salt *big.Int Counter *big.Int }
OrderComponents is an auto generated low-level Go binding around an user-defined struct.
type OrderParameters ¶
type OrderParameters struct { Offerer common.Address Offer []OfferItem Consideration []ConsiderationItem StartTime *big.Int EndTime *big.Int Salt *big.Int }
OrderParameters is an auto generated low-level Go binding around an user-defined struct.