Documentation ¶
Index ¶
- Variables
- type AdditionalRecipient
- type AdvancedOrder
- type BasicOrderParameters
- type CollectionDetail
- type ConsiderationItem
- type CriteriaResolver
- type Execution
- type Fulfillment
- type FulfillmentComponent
- type Iopensea
- type IopenseaCaller
- func (_Iopensea *IopenseaCaller) GetCounter(opts *bind.CallOpts, offerer common.Address) (*big.Int, error)
- func (_Iopensea *IopenseaCaller) GetOrderHash(opts *bind.CallOpts, order OrderComponents) ([32]byte, error)
- func (_Iopensea *IopenseaCaller) GetOrderStatus(opts *bind.CallOpts, orderHash [32]byte) (struct{ ... }, error)
- func (_Iopensea *IopenseaCaller) Information(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Iopensea *IopenseaCaller) Name(opts *bind.CallOpts) (string, error)
- type IopenseaCallerRaw
- type IopenseaCallerSession
- func (_Iopensea *IopenseaCallerSession) GetCounter(offerer common.Address) (*big.Int, error)
- func (_Iopensea *IopenseaCallerSession) GetOrderHash(order OrderComponents) ([32]byte, error)
- func (_Iopensea *IopenseaCallerSession) GetOrderStatus(orderHash [32]byte) (struct{ ... }, error)
- func (_Iopensea *IopenseaCallerSession) Information() (struct{ ... }, error)
- func (_Iopensea *IopenseaCallerSession) Name() (string, error)
- type IopenseaFilterer
- type IopenseaRaw
- func (_Iopensea *IopenseaRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Iopensea *IopenseaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Iopensea *IopenseaRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IopenseaSession
- func (_Iopensea *IopenseaSession) Cancel(orders []OrderComponents) (*types.Transaction, error)
- func (_Iopensea *IopenseaSession) FulfillAdvancedOrder(advancedOrder AdvancedOrder, criteriaResolvers []CriteriaResolver, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaSession) FulfillAvailableAdvancedOrders(advancedOrders []AdvancedOrder, criteriaResolvers []CriteriaResolver, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaSession) FulfillAvailableOrders(orders []Order, offerFulfillments [][]FulfillmentComponent, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaSession) FulfillBasicOrder(parameters BasicOrderParameters) (*types.Transaction, error)
- func (_Iopensea *IopenseaSession) FulfillOrder(order Order, fulfillerConduitKey [32]byte) (*types.Transaction, error)
- func (_Iopensea *IopenseaSession) GetCounter(offerer common.Address) (*big.Int, error)
- func (_Iopensea *IopenseaSession) GetOrderHash(order OrderComponents) ([32]byte, error)
- func (_Iopensea *IopenseaSession) GetOrderStatus(orderHash [32]byte) (struct{ ... }, error)
- func (_Iopensea *IopenseaSession) IncrementCounter() (*types.Transaction, error)
- func (_Iopensea *IopenseaSession) Information() (struct{ ... }, error)
- func (_Iopensea *IopenseaSession) MatchAdvancedOrders(orders []AdvancedOrder, criteriaResolvers []CriteriaResolver, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaSession) MatchOrders(orders []Order, fulfillments []Fulfillment) (*types.Transaction, error)
- func (_Iopensea *IopenseaSession) Name() (string, error)
- func (_Iopensea *IopenseaSession) Validate(orders []Order) (*types.Transaction, error)
- type IopenseaTransactor
- func (_Iopensea *IopenseaTransactor) Cancel(opts *bind.TransactOpts, orders []OrderComponents) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactor) FulfillAdvancedOrder(opts *bind.TransactOpts, advancedOrder AdvancedOrder, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactor) FulfillAvailableAdvancedOrders(opts *bind.TransactOpts, advancedOrders []AdvancedOrder, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactor) FulfillAvailableOrders(opts *bind.TransactOpts, orders []Order, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactor) FulfillBasicOrder(opts *bind.TransactOpts, parameters BasicOrderParameters) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactor) FulfillOrder(opts *bind.TransactOpts, order Order, fulfillerConduitKey [32]byte) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactor) IncrementCounter(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactor) MatchAdvancedOrders(opts *bind.TransactOpts, orders []AdvancedOrder, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactor) MatchOrders(opts *bind.TransactOpts, orders []Order, fulfillments []Fulfillment) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactor) Validate(opts *bind.TransactOpts, orders []Order) (*types.Transaction, error)
- type IopenseaTransactorRaw
- type IopenseaTransactorSession
- func (_Iopensea *IopenseaTransactorSession) Cancel(orders []OrderComponents) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactorSession) FulfillAdvancedOrder(advancedOrder AdvancedOrder, criteriaResolvers []CriteriaResolver, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactorSession) FulfillAvailableAdvancedOrders(advancedOrders []AdvancedOrder, criteriaResolvers []CriteriaResolver, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactorSession) FulfillAvailableOrders(orders []Order, offerFulfillments [][]FulfillmentComponent, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactorSession) FulfillBasicOrder(parameters BasicOrderParameters) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactorSession) FulfillOrder(order Order, fulfillerConduitKey [32]byte) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactorSession) IncrementCounter() (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactorSession) MatchAdvancedOrders(orders []AdvancedOrder, criteriaResolvers []CriteriaResolver, ...) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactorSession) MatchOrders(orders []Order, fulfillments []Fulfillment) (*types.Transaction, error)
- func (_Iopensea *IopenseaTransactorSession) Validate(orders []Order) (*types.Transaction, error)
- type NFTDetail
- func RetrieveCollectionAssetByIDs(apiKey string, collectionContract string, ids []string) ([]NFTDetail, error)
- func RetrieveCollectionAssets(OSEndpoint string, apiKey string, collectionContract string, limit, offset int) ([]NFTDetail, error)
- func RetrieveNFTDetail(OSEndpoint string, apiKey, collectionContract, tokenID string) (*NFTDetail, error)
- type NFTOrder
- type OfferItem
- type Opensea
- type OpenseaCaller
- type OpenseaCallerRaw
- type OpenseaCallerSession
- type OpenseaFilterer
- type OpenseaRaw
- func (_Opensea *OpenseaRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Opensea *OpenseaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Opensea *OpenseaRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OpenseaSession
- type OpenseaTransactor
- type OpenseaTransactorRaw
- type OpenseaTransactorSession
- type Order
- type OrderComponents
- type OrderParameters
- type ReceivedItem
Constants ¶
This section is empty.
Variables ¶
var IopenseaABI = IopenseaMetaData.ABI
IopenseaABI is the input ABI used to generate the binding from. Deprecated: Use IopenseaMetaData.ABI instead.
var IopenseaMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"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\":\"identifierOrCriteria\",\"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\":\"enumOrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"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\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"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\":\"identifierOrCriteria\",\"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\":\"enumOrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"structOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"uint120\",\"name\":\"numerator\",\"type\":\"uint120\"},{\"internalType\":\"uint120\",\"name\":\"denominator\",\"type\":\"uint120\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"internalType\":\"structAdvancedOrder\",\"name\":\"advancedOrder\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"criteriaProof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structCriteriaResolver[]\",\"name\":\"criteriaResolvers\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"fulfillerConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"fulfillAdvancedOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"fulfilled\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"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\":\"identifierOrCriteria\",\"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\":\"enumOrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"structOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"uint120\",\"name\":\"numerator\",\"type\":\"uint120\"},{\"internalType\":\"uint120\",\"name\":\"denominator\",\"type\":\"uint120\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"internalType\":\"structAdvancedOrder[]\",\"name\":\"advancedOrders\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"criteriaProof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structCriteriaResolver[]\",\"name\":\"criteriaResolvers\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"structFulfillmentComponent[][]\",\"name\":\"offerFulfillments\",\"type\":\"tuple[][]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"structFulfillmentComponent[][]\",\"name\":\"considerationFulfillments\",\"type\":\"tuple[][]\"},{\"internalType\":\"bytes32\",\"name\":\"fulfillerConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maximumFulfilled\",\"type\":\"uint256\"}],\"name\":\"fulfillAvailableAdvancedOrders\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"availableOrders\",\"type\":\"bool[]\"},{\"components\":[{\"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\"}],\"internalType\":\"structReceivedItem\",\"name\":\"item\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"}],\"internalType\":\"structExecution[]\",\"name\":\"executions\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"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\":\"identifierOrCriteria\",\"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\":\"enumOrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"structOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder[]\",\"name\":\"orders\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"structFulfillmentComponent[][]\",\"name\":\"offerFulfillments\",\"type\":\"tuple[][]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"structFulfillmentComponent[][]\",\"name\":\"considerationFulfillments\",\"type\":\"tuple[][]\"},{\"internalType\":\"bytes32\",\"name\":\"fulfillerConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"maximumFulfilled\",\"type\":\"uint256\"}],\"name\":\"fulfillAvailableOrders\",\"outputs\":[{\"internalType\":\"bool[]\",\"name\":\"availableOrders\",\"type\":\"bool[]\"},{\"components\":[{\"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\"}],\"internalType\":\"structReceivedItem\",\"name\":\"item\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"}],\"internalType\":\"structExecution[]\",\"name\":\"executions\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"considerationToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"considerationIdentifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"considerationAmount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"offerToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"offerIdentifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"offerAmount\",\"type\":\"uint256\"},{\"internalType\":\"enumBasicOrderType\",\"name\":\"basicOrderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"offererConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"fulfillerConduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalAdditionalRecipients\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"internalType\":\"structAdditionalRecipient[]\",\"name\":\"additionalRecipients\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structBasicOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"}],\"name\":\"fulfillBasicOrder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"fulfilled\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"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\":\"identifierOrCriteria\",\"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\":\"enumOrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"structOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder\",\"name\":\"order\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"fulfillerConduitKey\",\"type\":\"bytes32\"}],\"name\":\"fulfillOrder\",\"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\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"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\":\"identifierOrCriteria\",\"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\":\"enumOrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"counter\",\"type\":\"uint256\"}],\"internalType\":\"structOrderComponents\",\"name\":\"order\",\"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\":\"uint256\",\"name\":\"totalFilled\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalSize\",\"type\":\"uint256\"}],\"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\"},{\"internalType\":\"address\",\"name\":\"conduitController\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"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\":\"identifierOrCriteria\",\"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\":\"enumOrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"structOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"uint120\",\"name\":\"numerator\",\"type\":\"uint120\"},{\"internalType\":\"uint120\",\"name\":\"denominator\",\"type\":\"uint120\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"extraData\",\"type\":\"bytes\"}],\"internalType\":\"structAdvancedOrder[]\",\"name\":\"orders\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"enumSide\",\"name\":\"side\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"criteriaProof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structCriteriaResolver[]\",\"name\":\"criteriaResolvers\",\"type\":\"tuple[]\"},{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"structFulfillmentComponent[]\",\"name\":\"offerComponents\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"structFulfillmentComponent[]\",\"name\":\"considerationComponents\",\"type\":\"tuple[]\"}],\"internalType\":\"structFulfillment[]\",\"name\":\"fulfillments\",\"type\":\"tuple[]\"}],\"name\":\"matchAdvancedOrders\",\"outputs\":[{\"components\":[{\"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\"}],\"internalType\":\"structReceivedItem\",\"name\":\"item\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"}],\"internalType\":\"structExecution[]\",\"name\":\"executions\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"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\":\"identifierOrCriteria\",\"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\":\"enumOrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"structOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder[]\",\"name\":\"orders\",\"type\":\"tuple[]\"},{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"structFulfillmentComponent[]\",\"name\":\"offerComponents\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIndex\",\"type\":\"uint256\"}],\"internalType\":\"structFulfillmentComponent[]\",\"name\":\"considerationComponents\",\"type\":\"tuple[]\"}],\"internalType\":\"structFulfillment[]\",\"name\":\"fulfillments\",\"type\":\"tuple[]\"}],\"name\":\"matchOrders\",\"outputs\":[{\"components\":[{\"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\"}],\"internalType\":\"structReceivedItem\",\"name\":\"item\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"}],\"internalType\":\"structExecution[]\",\"name\":\"executions\",\"type\":\"tuple[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"contractName\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifierOrCriteria\",\"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\":\"identifierOrCriteria\",\"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\":\"enumOrderType\",\"name\":\"orderType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"zoneHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"totalOriginalConsiderationItems\",\"type\":\"uint256\"}],\"internalType\":\"structOrderParameters\",\"name\":\"parameters\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structOrder[]\",\"name\":\"orders\",\"type\":\"tuple[]\"}],\"name\":\"validate\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"validated\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IopenseaMetaData contains all meta data concerning the Iopensea contract.
var OpenseaABI = OpenseaMetaData.ABI
OpenseaABI is the input ABI used to generate the binding from. Deprecated: Use OpenseaMetaData.ABI instead.
var OpenseaBin = OpenseaMetaData.Bin
OpenseaBin is the compiled bytecode used for deploying new contracts. Deprecated: Use OpenseaMetaData.Bin instead.
var OpenseaMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"forward\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b506101f6806100206000396000f3fe60806040526004361061001e5760003560e01c8063d948d46814610023575b600080fd5b61003661003136600461013e565b610059565b604080516001600160a01b03909316835260208301919091520160405180910390f35b60008060006e6c3852cbef3e08e8df289169ede5816001600160a01b03163486866040516100889291906101b0565b60006040518083038185875af1925050503d80600081146100c5576040519150601f19603f3d011682016040523d82523d6000602084013e6100ca565b606091505b50509050806101305760405162461bcd60e51b815260206004820152602860248201527f4f70656e7365612070726f78793a207265717565737420746f206f70656e7365604482015267184819985a5b195960c21b606482015260840160405180910390fd5b506001946000945092505050565b6000806020838503121561015157600080fd5b823567ffffffffffffffff8082111561016957600080fd5b818501915085601f83011261017d57600080fd5b81358181111561018c57600080fd5b86602082850101111561019e57600080fd5b60209290920196919550909350505050565b818382376000910190815291905056fea2646970667358221220764b6d8235223b7b1d0e2d9735e46e5aa1552aeb74a9a31eb7f6f1f8282039a664736f6c63430008110033",
}
OpenseaMetaData contains all meta data concerning the Opensea contract.
Functions ¶
This section is empty.
Types ¶
type AdditionalRecipient ¶
AdditionalRecipient is an auto generated low-level Go binding around an user-defined struct.
type AdvancedOrder ¶
type AdvancedOrder struct { Parameters OrderParameters Numerator *big.Int Denominator *big.Int Signature []byte ExtraData []byte }
AdvancedOrder is an auto generated low-level Go binding around an user-defined struct.
type BasicOrderParameters ¶
type BasicOrderParameters struct { ConsiderationToken common.Address ConsiderationIdentifier *big.Int ConsiderationAmount *big.Int Offerer common.Address Zone common.Address OfferToken common.Address OfferIdentifier *big.Int OfferAmount *big.Int BasicOrderType uint8 StartTime *big.Int EndTime *big.Int ZoneHash [32]byte Salt *big.Int OffererConduitKey [32]byte FulfillerConduitKey [32]byte TotalOriginalAdditionalRecipients *big.Int AdditionalRecipients []AdditionalRecipient Signature []byte }
BasicOrderParameters is an auto generated low-level Go binding around an user-defined struct.
type CollectionDetail ¶
type CollectionDetail struct { Editors []string `json:"editors"` PaymentTokens []struct { ID int `json:"id"` Symbol string `json:"symbol"` Address string `json:"address"` ImageURL string `json:"image_url"` Name interface{} `json:"name"` Decimals int `json:"decimals"` EthPrice float64 `json:"eth_price"` UsdPrice float64 `json:"usd_price"` } `json:"payment_tokens"` PrimaryAssetContracts []struct { Address string `json:"address"` AssetContractType string `json:"asset_contract_type"` CreatedDate string `json:"created_date"` Name string `json:"name"` NftVersion interface{} `json:"nft_version"` OpenseaVersion interface{} `json:"opensea_version"` Owner int `json:"owner"` SchemaName string `json:"schema_name"` Symbol string `json:"symbol"` TotalSupply string `json:"total_supply"` Description interface{} `json:"description"` ExternalLink interface{} `json:"external_link"` ImageURL interface{} `json:"image_url"` DefaultToFiat bool `json:"default_to_fiat"` DevBuyerFeeBasisPoints int `json:"dev_buyer_fee_basis_points"` DevSellerFeeBasisPoints int `json:"dev_seller_fee_basis_points"` OnlyProxiedTransfers bool `json:"only_proxied_transfers"` OpenseaBuyerFeeBasisPoints int `json:"opensea_buyer_fee_basis_points"` OpenseaSellerFeeBasisPoints int `json:"opensea_seller_fee_basis_points"` BuyerFeeBasisPoints int `json:"buyer_fee_basis_points"` SellerFeeBasisPoints int `json:"seller_fee_basis_points"` PayoutAddress interface{} `json:"payout_address"` } `json:"primary_asset_contracts"` Traits struct { } `json:"traits"` Stats struct { OneHourVolume float64 `json:"one_hour_volume"` OneHourChange float64 `json:"one_hour_change"` OneHourSales float64 `json:"one_hour_sales"` OneHourSalesChange float64 `json:"one_hour_sales_change"` OneHourAveragePrice float64 `json:"one_hour_average_price"` OneHourDifference float64 `json:"one_hour_difference"` SixHourVolume float64 `json:"six_hour_volume"` SixHourChange float64 `json:"six_hour_change"` SixHourSales float64 `json:"six_hour_sales"` SixHourSalesChange float64 `json:"six_hour_sales_change"` SixHourAveragePrice float64 `json:"six_hour_average_price"` SixHourDifference float64 `json:"six_hour_difference"` OneDayVolume float64 `json:"one_day_volume"` OneDayChange float64 `json:"one_day_change"` OneDaySales float64 `json:"one_day_sales"` OneDaySalesChange float64 `json:"one_day_sales_change"` OneDayAveragePrice float64 `json:"one_day_average_price"` OneDayDifference float64 `json:"one_day_difference"` SevenDayVolume float64 `json:"seven_day_volume"` SevenDayChange float64 `json:"seven_day_change"` SevenDaySales float64 `json:"seven_day_sales"` SevenDayAveragePrice float64 `json:"seven_day_average_price"` SevenDayDifference float64 `json:"seven_day_difference"` ThirtyDayVolume float64 `json:"thirty_day_volume"` ThirtyDayChange float64 `json:"thirty_day_change"` ThirtyDaySales float64 `json:"thirty_day_sales"` ThirtyDayAveragePrice float64 `json:"thirty_day_average_price"` ThirtyDayDifference float64 `json:"thirty_day_difference"` TotalVolume float64 `json:"total_volume"` TotalSales float64 `json:"total_sales"` TotalSupply float64 `json:"total_supply"` Count float64 `json:"count"` NumOwners float64 `json:"num_owners"` AveragePrice float64 `json:"average_price"` NumReports float64 `json:"num_reports"` MarketCap float64 `json:"market_cap"` FloorPrice float64 `json:"floor_price"` } `json:"stats"` BannerImageURL interface{} `json:"banner_image_url"` ChatURL interface{} `json:"chat_url"` CreatedDate time.Time `json:"created_date"` DefaultToFiat bool `json:"default_to_fiat"` Description interface{} `json:"description"` DevBuyerFeeBasisPoints string `json:"dev_buyer_fee_basis_points"` DevSellerFeeBasisPoints string `json:"dev_seller_fee_basis_points"` DiscordURL interface{} `json:"discord_url"` DisplayData struct { CardDisplayStyle string `json:"card_display_style"` Images []interface{} `json:"images"` } `json:"display_data"` ExternalURL interface{} `json:"external_url"` Featured bool `json:"featured"` FeaturedImageURL interface{} `json:"featured_image_url"` Hidden bool `json:"hidden"` SafelistRequestStatus string `json:"safelist_request_status"` ImageURL interface{} `json:"image_url"` IsSubjectToWhitelist bool `json:"is_subject_to_whitelist"` LargeImageURL interface{} `json:"large_image_url"` MediumUsername interface{} `json:"medium_username"` Name string `json:"name"` OnlyProxiedTransfers bool `json:"only_proxied_transfers"` OpenseaBuyerFeeBasisPoints string `json:"opensea_buyer_fee_basis_points"` OpenseaSellerFeeBasisPoints string `json:"opensea_seller_fee_basis_points"` PayoutAddress interface{} `json:"payout_address"` RequireEmail bool `json:"require_email"` ShortDescription interface{} `json:"short_description"` Slug string `json:"slug"` TelegramURL interface{} `json:"telegram_url"` TwitterUsername interface{} `json:"twitter_username"` InstagramUsername interface{} `json:"instagram_username"` WikiURL interface{} `json:"wiki_url"` IsNsfw bool `json:"is_nsfw"` Fees struct { SellerFees map[string]uint64 `json:"seller_fees"` OpenseaFees map[string]uint64 `json:"opensea_fees"` } `json:"fees"` IsRarityEnabled bool `json:"is_rarity_enabled"` }
func RetrieveCollectionDetail ¶
func RetrieveCollectionDetail(OSEndpoint, apiKey string, slug string) (*CollectionDetail, error)
func RetrieveCollectionList ¶
type ConsiderationItem ¶
type ConsiderationItem struct { ItemType uint8 Token common.Address IdentifierOrCriteria *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 CriteriaResolver ¶
type CriteriaResolver struct { OrderIndex *big.Int Side uint8 Index *big.Int Identifier *big.Int CriteriaProof [][32]byte }
CriteriaResolver is an auto generated low-level Go binding around an user-defined struct.
type Execution ¶
type Execution struct { Item ReceivedItem Offerer common.Address ConduitKey [32]byte }
Execution is an auto generated low-level Go binding around an user-defined struct.
type Fulfillment ¶
type Fulfillment struct { OfferComponents []FulfillmentComponent ConsiderationComponents []FulfillmentComponent }
Fulfillment is an auto generated low-level Go binding around an user-defined struct.
type FulfillmentComponent ¶
FulfillmentComponent is an auto generated low-level Go binding around an user-defined struct.
type Iopensea ¶
type Iopensea struct { IopenseaCaller // Read-only binding to the contract IopenseaTransactor // Write-only binding to the contract IopenseaFilterer // Log filterer for contract events }
Iopensea is an auto generated Go binding around an Ethereum contract.
func NewIopensea ¶
NewIopensea creates a new instance of Iopensea, bound to a specific deployed contract.
type IopenseaCaller ¶
type IopenseaCaller struct {
// contains filtered or unexported fields
}
IopenseaCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIopenseaCaller ¶
func NewIopenseaCaller(address common.Address, caller bind.ContractCaller) (*IopenseaCaller, error)
NewIopenseaCaller creates a new read-only instance of Iopensea, bound to a specific deployed contract.
func (*IopenseaCaller) GetCounter ¶
func (_Iopensea *IopenseaCaller) 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 (*IopenseaCaller) GetOrderHash ¶
func (_Iopensea *IopenseaCaller) GetOrderHash(opts *bind.CallOpts, order OrderComponents) ([32]byte, error)
GetOrderHash is a free data retrieval call binding the contract method 0x79df72bd.
Solidity: function getOrderHash((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256) order) view returns(bytes32 orderHash)
func (*IopenseaCaller) GetOrderStatus ¶
func (_Iopensea *IopenseaCaller) GetOrderStatus(opts *bind.CallOpts, orderHash [32]byte) (struct { IsValidated bool IsCancelled bool TotalFilled *big.Int TotalSize *big.Int }, error)
GetOrderStatus is a free data retrieval call binding the contract method 0x46423aa7.
Solidity: function getOrderStatus(bytes32 orderHash) view returns(bool isValidated, bool isCancelled, uint256 totalFilled, uint256 totalSize)
func (*IopenseaCaller) Information ¶
func (_Iopensea *IopenseaCaller) Information(opts *bind.CallOpts) (struct { Version string DomainSeparator [32]byte ConduitController common.Address }, error)
Information is a free data retrieval call binding the contract method 0xf47b7740.
Solidity: function information() view returns(string version, bytes32 domainSeparator, address conduitController)
type IopenseaCallerRaw ¶
type IopenseaCallerRaw struct {
Contract *IopenseaCaller // Generic read-only contract binding to access the raw methods on
}
IopenseaCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IopenseaCallerRaw) Call ¶
func (_Iopensea *IopenseaCallerRaw) 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 IopenseaCallerSession ¶
type IopenseaCallerSession struct { Contract *IopenseaCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IopenseaCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IopenseaCallerSession) GetCounter ¶
GetCounter is a free data retrieval call binding the contract method 0xf07ec373.
Solidity: function getCounter(address offerer) view returns(uint256 counter)
func (*IopenseaCallerSession) GetOrderHash ¶
func (_Iopensea *IopenseaCallerSession) GetOrderHash(order OrderComponents) ([32]byte, error)
GetOrderHash is a free data retrieval call binding the contract method 0x79df72bd.
Solidity: function getOrderHash((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256) order) view returns(bytes32 orderHash)
func (*IopenseaCallerSession) GetOrderStatus ¶
func (_Iopensea *IopenseaCallerSession) GetOrderStatus(orderHash [32]byte) (struct { IsValidated bool IsCancelled bool TotalFilled *big.Int TotalSize *big.Int }, error)
GetOrderStatus is a free data retrieval call binding the contract method 0x46423aa7.
Solidity: function getOrderStatus(bytes32 orderHash) view returns(bool isValidated, bool isCancelled, uint256 totalFilled, uint256 totalSize)
func (*IopenseaCallerSession) Information ¶
func (_Iopensea *IopenseaCallerSession) Information() (struct { Version string DomainSeparator [32]byte ConduitController common.Address }, error)
Information is a free data retrieval call binding the contract method 0xf47b7740.
Solidity: function information() view returns(string version, bytes32 domainSeparator, address conduitController)
func (*IopenseaCallerSession) Name ¶
func (_Iopensea *IopenseaCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string contractName)
type IopenseaFilterer ¶
type IopenseaFilterer struct {
// contains filtered or unexported fields
}
IopenseaFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIopenseaFilterer ¶
func NewIopenseaFilterer(address common.Address, filterer bind.ContractFilterer) (*IopenseaFilterer, error)
NewIopenseaFilterer creates a new log filterer instance of Iopensea, bound to a specific deployed contract.
type IopenseaRaw ¶
type IopenseaRaw struct {
Contract *Iopensea // Generic contract binding to access the raw methods on
}
IopenseaRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IopenseaRaw) Call ¶
func (_Iopensea *IopenseaRaw) 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 (*IopenseaRaw) Transact ¶
func (_Iopensea *IopenseaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IopenseaRaw) Transfer ¶
func (_Iopensea *IopenseaRaw) 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 IopenseaSession ¶
type IopenseaSession struct { Contract *Iopensea // 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 }
IopenseaSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IopenseaSession) Cancel ¶
func (_Iopensea *IopenseaSession) Cancel(orders []OrderComponents) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0xfd9f1e10.
Solidity: function cancel((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256)[] orders) returns(bool cancelled)
func (*IopenseaSession) FulfillAdvancedOrder ¶
func (_Iopensea *IopenseaSession) FulfillAdvancedOrder(advancedOrder AdvancedOrder, criteriaResolvers []CriteriaResolver, fulfillerConduitKey [32]byte, recipient common.Address) (*types.Transaction, error)
FulfillAdvancedOrder is a paid mutator transaction binding the contract method 0xe7acab24.
Solidity: function fulfillAdvancedOrder(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),uint120,uint120,bytes,bytes) advancedOrder, (uint256,uint8,uint256,uint256,bytes32[])[] criteriaResolvers, bytes32 fulfillerConduitKey, address recipient) payable returns(bool fulfilled)
func (*IopenseaSession) FulfillAvailableAdvancedOrders ¶
func (_Iopensea *IopenseaSession) FulfillAvailableAdvancedOrders(advancedOrders []AdvancedOrder, criteriaResolvers []CriteriaResolver, offerFulfillments [][]FulfillmentComponent, considerationFulfillments [][]FulfillmentComponent, fulfillerConduitKey [32]byte, recipient common.Address, maximumFulfilled *big.Int) (*types.Transaction, error)
FulfillAvailableAdvancedOrders is a paid mutator transaction binding the contract method 0x87201b41.
Solidity: function fulfillAvailableAdvancedOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),uint120,uint120,bytes,bytes)[] advancedOrders, (uint256,uint8,uint256,uint256,bytes32[])[] criteriaResolvers, (uint256,uint256)[][] offerFulfillments, (uint256,uint256)[][] considerationFulfillments, bytes32 fulfillerConduitKey, address recipient, uint256 maximumFulfilled) payable returns(bool[] availableOrders, ((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaSession) FulfillAvailableOrders ¶
func (_Iopensea *IopenseaSession) FulfillAvailableOrders(orders []Order, offerFulfillments [][]FulfillmentComponent, considerationFulfillments [][]FulfillmentComponent, fulfillerConduitKey [32]byte, maximumFulfilled *big.Int) (*types.Transaction, error)
FulfillAvailableOrders is a paid mutator transaction binding the contract method 0xed98a574.
Solidity: function fulfillAvailableOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes)[] orders, (uint256,uint256)[][] offerFulfillments, (uint256,uint256)[][] considerationFulfillments, bytes32 fulfillerConduitKey, uint256 maximumFulfilled) payable returns(bool[] availableOrders, ((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaSession) FulfillBasicOrder ¶
func (_Iopensea *IopenseaSession) FulfillBasicOrder(parameters BasicOrderParameters) (*types.Transaction, error)
FulfillBasicOrder is a paid mutator transaction binding the contract method 0xfb0f3ee1.
Solidity: function fulfillBasicOrder((address,uint256,uint256,address,address,address,uint256,uint256,uint8,uint256,uint256,bytes32,uint256,bytes32,bytes32,uint256,(uint256,address)[],bytes) parameters) payable returns(bool fulfilled)
func (*IopenseaSession) FulfillOrder ¶
func (_Iopensea *IopenseaSession) FulfillOrder(order Order, fulfillerConduitKey [32]byte) (*types.Transaction, error)
FulfillOrder is a paid mutator transaction binding the contract method 0xb3a34c4c.
Solidity: function fulfillOrder(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes) order, bytes32 fulfillerConduitKey) payable returns(bool fulfilled)
func (*IopenseaSession) GetCounter ¶
GetCounter is a free data retrieval call binding the contract method 0xf07ec373.
Solidity: function getCounter(address offerer) view returns(uint256 counter)
func (*IopenseaSession) GetOrderHash ¶
func (_Iopensea *IopenseaSession) GetOrderHash(order OrderComponents) ([32]byte, error)
GetOrderHash is a free data retrieval call binding the contract method 0x79df72bd.
Solidity: function getOrderHash((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256) order) view returns(bytes32 orderHash)
func (*IopenseaSession) GetOrderStatus ¶
func (_Iopensea *IopenseaSession) GetOrderStatus(orderHash [32]byte) (struct { IsValidated bool IsCancelled bool TotalFilled *big.Int TotalSize *big.Int }, error)
GetOrderStatus is a free data retrieval call binding the contract method 0x46423aa7.
Solidity: function getOrderStatus(bytes32 orderHash) view returns(bool isValidated, bool isCancelled, uint256 totalFilled, uint256 totalSize)
func (*IopenseaSession) IncrementCounter ¶
func (_Iopensea *IopenseaSession) IncrementCounter() (*types.Transaction, error)
IncrementCounter is a paid mutator transaction binding the contract method 0x5b34b966.
Solidity: function incrementCounter() returns(uint256 newCounter)
func (*IopenseaSession) Information ¶
func (_Iopensea *IopenseaSession) Information() (struct { Version string DomainSeparator [32]byte ConduitController common.Address }, error)
Information is a free data retrieval call binding the contract method 0xf47b7740.
Solidity: function information() view returns(string version, bytes32 domainSeparator, address conduitController)
func (*IopenseaSession) MatchAdvancedOrders ¶
func (_Iopensea *IopenseaSession) MatchAdvancedOrders(orders []AdvancedOrder, criteriaResolvers []CriteriaResolver, fulfillments []Fulfillment) (*types.Transaction, error)
MatchAdvancedOrders is a paid mutator transaction binding the contract method 0x55944a42.
Solidity: function matchAdvancedOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),uint120,uint120,bytes,bytes)[] orders, (uint256,uint8,uint256,uint256,bytes32[])[] criteriaResolvers, ((uint256,uint256)[],(uint256,uint256)[])[] fulfillments) payable returns(((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaSession) MatchOrders ¶
func (_Iopensea *IopenseaSession) MatchOrders(orders []Order, fulfillments []Fulfillment) (*types.Transaction, error)
MatchOrders is a paid mutator transaction binding the contract method 0xa8174404.
Solidity: function matchOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes)[] orders, ((uint256,uint256)[],(uint256,uint256)[])[] fulfillments) payable returns(((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaSession) Name ¶
func (_Iopensea *IopenseaSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string contractName)
func (*IopenseaSession) Validate ¶
func (_Iopensea *IopenseaSession) Validate(orders []Order) (*types.Transaction, error)
Validate is a paid mutator transaction binding the contract method 0x88147732.
Solidity: function validate(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes)[] orders) returns(bool validated)
type IopenseaTransactor ¶
type IopenseaTransactor struct {
// contains filtered or unexported fields
}
IopenseaTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIopenseaTransactor ¶
func NewIopenseaTransactor(address common.Address, transactor bind.ContractTransactor) (*IopenseaTransactor, error)
NewIopenseaTransactor creates a new write-only instance of Iopensea, bound to a specific deployed contract.
func (*IopenseaTransactor) Cancel ¶
func (_Iopensea *IopenseaTransactor) Cancel(opts *bind.TransactOpts, orders []OrderComponents) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0xfd9f1e10.
Solidity: function cancel((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256)[] orders) returns(bool cancelled)
func (*IopenseaTransactor) FulfillAdvancedOrder ¶
func (_Iopensea *IopenseaTransactor) FulfillAdvancedOrder(opts *bind.TransactOpts, advancedOrder AdvancedOrder, criteriaResolvers []CriteriaResolver, fulfillerConduitKey [32]byte, recipient common.Address) (*types.Transaction, error)
FulfillAdvancedOrder is a paid mutator transaction binding the contract method 0xe7acab24.
Solidity: function fulfillAdvancedOrder(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),uint120,uint120,bytes,bytes) advancedOrder, (uint256,uint8,uint256,uint256,bytes32[])[] criteriaResolvers, bytes32 fulfillerConduitKey, address recipient) payable returns(bool fulfilled)
func (*IopenseaTransactor) FulfillAvailableAdvancedOrders ¶
func (_Iopensea *IopenseaTransactor) FulfillAvailableAdvancedOrders(opts *bind.TransactOpts, advancedOrders []AdvancedOrder, criteriaResolvers []CriteriaResolver, offerFulfillments [][]FulfillmentComponent, considerationFulfillments [][]FulfillmentComponent, fulfillerConduitKey [32]byte, recipient common.Address, maximumFulfilled *big.Int) (*types.Transaction, error)
FulfillAvailableAdvancedOrders is a paid mutator transaction binding the contract method 0x87201b41.
Solidity: function fulfillAvailableAdvancedOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),uint120,uint120,bytes,bytes)[] advancedOrders, (uint256,uint8,uint256,uint256,bytes32[])[] criteriaResolvers, (uint256,uint256)[][] offerFulfillments, (uint256,uint256)[][] considerationFulfillments, bytes32 fulfillerConduitKey, address recipient, uint256 maximumFulfilled) payable returns(bool[] availableOrders, ((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaTransactor) FulfillAvailableOrders ¶
func (_Iopensea *IopenseaTransactor) FulfillAvailableOrders(opts *bind.TransactOpts, orders []Order, offerFulfillments [][]FulfillmentComponent, considerationFulfillments [][]FulfillmentComponent, fulfillerConduitKey [32]byte, maximumFulfilled *big.Int) (*types.Transaction, error)
FulfillAvailableOrders is a paid mutator transaction binding the contract method 0xed98a574.
Solidity: function fulfillAvailableOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes)[] orders, (uint256,uint256)[][] offerFulfillments, (uint256,uint256)[][] considerationFulfillments, bytes32 fulfillerConduitKey, uint256 maximumFulfilled) payable returns(bool[] availableOrders, ((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaTransactor) FulfillBasicOrder ¶
func (_Iopensea *IopenseaTransactor) FulfillBasicOrder(opts *bind.TransactOpts, parameters BasicOrderParameters) (*types.Transaction, error)
FulfillBasicOrder is a paid mutator transaction binding the contract method 0xfb0f3ee1.
Solidity: function fulfillBasicOrder((address,uint256,uint256,address,address,address,uint256,uint256,uint8,uint256,uint256,bytes32,uint256,bytes32,bytes32,uint256,(uint256,address)[],bytes) parameters) payable returns(bool fulfilled)
func (*IopenseaTransactor) FulfillOrder ¶
func (_Iopensea *IopenseaTransactor) FulfillOrder(opts *bind.TransactOpts, order Order, fulfillerConduitKey [32]byte) (*types.Transaction, error)
FulfillOrder is a paid mutator transaction binding the contract method 0xb3a34c4c.
Solidity: function fulfillOrder(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes) order, bytes32 fulfillerConduitKey) payable returns(bool fulfilled)
func (*IopenseaTransactor) IncrementCounter ¶
func (_Iopensea *IopenseaTransactor) 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 (*IopenseaTransactor) MatchAdvancedOrders ¶
func (_Iopensea *IopenseaTransactor) MatchAdvancedOrders(opts *bind.TransactOpts, orders []AdvancedOrder, criteriaResolvers []CriteriaResolver, fulfillments []Fulfillment) (*types.Transaction, error)
MatchAdvancedOrders is a paid mutator transaction binding the contract method 0x55944a42.
Solidity: function matchAdvancedOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),uint120,uint120,bytes,bytes)[] orders, (uint256,uint8,uint256,uint256,bytes32[])[] criteriaResolvers, ((uint256,uint256)[],(uint256,uint256)[])[] fulfillments) payable returns(((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaTransactor) MatchOrders ¶
func (_Iopensea *IopenseaTransactor) MatchOrders(opts *bind.TransactOpts, orders []Order, fulfillments []Fulfillment) (*types.Transaction, error)
MatchOrders is a paid mutator transaction binding the contract method 0xa8174404.
Solidity: function matchOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes)[] orders, ((uint256,uint256)[],(uint256,uint256)[])[] fulfillments) payable returns(((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaTransactor) Validate ¶
func (_Iopensea *IopenseaTransactor) Validate(opts *bind.TransactOpts, orders []Order) (*types.Transaction, error)
Validate is a paid mutator transaction binding the contract method 0x88147732.
Solidity: function validate(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes)[] orders) returns(bool validated)
type IopenseaTransactorRaw ¶
type IopenseaTransactorRaw struct {
Contract *IopenseaTransactor // Generic write-only contract binding to access the raw methods on
}
IopenseaTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IopenseaTransactorRaw) Transact ¶
func (_Iopensea *IopenseaTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IopenseaTransactorRaw) Transfer ¶
func (_Iopensea *IopenseaTransactorRaw) 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 IopenseaTransactorSession ¶
type IopenseaTransactorSession struct { Contract *IopenseaTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IopenseaTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IopenseaTransactorSession) Cancel ¶
func (_Iopensea *IopenseaTransactorSession) Cancel(orders []OrderComponents) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0xfd9f1e10.
Solidity: function cancel((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256)[] orders) returns(bool cancelled)
func (*IopenseaTransactorSession) FulfillAdvancedOrder ¶
func (_Iopensea *IopenseaTransactorSession) FulfillAdvancedOrder(advancedOrder AdvancedOrder, criteriaResolvers []CriteriaResolver, fulfillerConduitKey [32]byte, recipient common.Address) (*types.Transaction, error)
FulfillAdvancedOrder is a paid mutator transaction binding the contract method 0xe7acab24.
Solidity: function fulfillAdvancedOrder(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),uint120,uint120,bytes,bytes) advancedOrder, (uint256,uint8,uint256,uint256,bytes32[])[] criteriaResolvers, bytes32 fulfillerConduitKey, address recipient) payable returns(bool fulfilled)
func (*IopenseaTransactorSession) FulfillAvailableAdvancedOrders ¶
func (_Iopensea *IopenseaTransactorSession) FulfillAvailableAdvancedOrders(advancedOrders []AdvancedOrder, criteriaResolvers []CriteriaResolver, offerFulfillments [][]FulfillmentComponent, considerationFulfillments [][]FulfillmentComponent, fulfillerConduitKey [32]byte, recipient common.Address, maximumFulfilled *big.Int) (*types.Transaction, error)
FulfillAvailableAdvancedOrders is a paid mutator transaction binding the contract method 0x87201b41.
Solidity: function fulfillAvailableAdvancedOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),uint120,uint120,bytes,bytes)[] advancedOrders, (uint256,uint8,uint256,uint256,bytes32[])[] criteriaResolvers, (uint256,uint256)[][] offerFulfillments, (uint256,uint256)[][] considerationFulfillments, bytes32 fulfillerConduitKey, address recipient, uint256 maximumFulfilled) payable returns(bool[] availableOrders, ((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaTransactorSession) FulfillAvailableOrders ¶
func (_Iopensea *IopenseaTransactorSession) FulfillAvailableOrders(orders []Order, offerFulfillments [][]FulfillmentComponent, considerationFulfillments [][]FulfillmentComponent, fulfillerConduitKey [32]byte, maximumFulfilled *big.Int) (*types.Transaction, error)
FulfillAvailableOrders is a paid mutator transaction binding the contract method 0xed98a574.
Solidity: function fulfillAvailableOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes)[] orders, (uint256,uint256)[][] offerFulfillments, (uint256,uint256)[][] considerationFulfillments, bytes32 fulfillerConduitKey, uint256 maximumFulfilled) payable returns(bool[] availableOrders, ((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaTransactorSession) FulfillBasicOrder ¶
func (_Iopensea *IopenseaTransactorSession) FulfillBasicOrder(parameters BasicOrderParameters) (*types.Transaction, error)
FulfillBasicOrder is a paid mutator transaction binding the contract method 0xfb0f3ee1.
Solidity: function fulfillBasicOrder((address,uint256,uint256,address,address,address,uint256,uint256,uint8,uint256,uint256,bytes32,uint256,bytes32,bytes32,uint256,(uint256,address)[],bytes) parameters) payable returns(bool fulfilled)
func (*IopenseaTransactorSession) FulfillOrder ¶
func (_Iopensea *IopenseaTransactorSession) FulfillOrder(order Order, fulfillerConduitKey [32]byte) (*types.Transaction, error)
FulfillOrder is a paid mutator transaction binding the contract method 0xb3a34c4c.
Solidity: function fulfillOrder(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes) order, bytes32 fulfillerConduitKey) payable returns(bool fulfilled)
func (*IopenseaTransactorSession) IncrementCounter ¶
func (_Iopensea *IopenseaTransactorSession) IncrementCounter() (*types.Transaction, error)
IncrementCounter is a paid mutator transaction binding the contract method 0x5b34b966.
Solidity: function incrementCounter() returns(uint256 newCounter)
func (*IopenseaTransactorSession) MatchAdvancedOrders ¶
func (_Iopensea *IopenseaTransactorSession) MatchAdvancedOrders(orders []AdvancedOrder, criteriaResolvers []CriteriaResolver, fulfillments []Fulfillment) (*types.Transaction, error)
MatchAdvancedOrders is a paid mutator transaction binding the contract method 0x55944a42.
Solidity: function matchAdvancedOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),uint120,uint120,bytes,bytes)[] orders, (uint256,uint8,uint256,uint256,bytes32[])[] criteriaResolvers, ((uint256,uint256)[],(uint256,uint256)[])[] fulfillments) payable returns(((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaTransactorSession) MatchOrders ¶
func (_Iopensea *IopenseaTransactorSession) MatchOrders(orders []Order, fulfillments []Fulfillment) (*types.Transaction, error)
MatchOrders is a paid mutator transaction binding the contract method 0xa8174404.
Solidity: function matchOrders(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes)[] orders, ((uint256,uint256)[],(uint256,uint256)[])[] fulfillments) payable returns(((uint8,address,uint256,uint256,address),address,bytes32)[] executions)
func (*IopenseaTransactorSession) Validate ¶
func (_Iopensea *IopenseaTransactorSession) Validate(orders []Order) (*types.Transaction, error)
Validate is a paid mutator transaction binding the contract method 0x88147732.
Solidity: function validate(((address,address,(uint8,address,uint256,uint256,uint256)[],(uint8,address,uint256,uint256,uint256,address)[],uint8,uint256,uint256,bytes32,uint256,bytes32,uint256),bytes)[] orders) returns(bool validated)
type NFTDetail ¶
type NFTDetail struct { ID int `json:"id"` NumSales int `json:"num_sales"` BackgroundColor interface{} `json:"background_color"` ImageURL string `json:"image_url"` ImagePreviewURL string `json:"image_preview_url"` ImageThumbnailURL string `json:"image_thumbnail_url"` ImageOriginalURL string `json:"image_original_url"` AnimationURL interface{} `json:"animation_url"` AnimationOriginalURL interface{} `json:"animation_original_url"` Name string `json:"name"` Description interface{} `json:"description"` ExternalLink interface{} `json:"external_link"` AssetContract struct { Address string `json:"address"` AssetContractType string `json:"asset_contract_type"` CreatedDate string `json:"created_date"` Name string `json:"name"` NftVersion string `json:"nft_version"` OpenseaVersion interface{} `json:"opensea_version"` Owner int `json:"owner"` SchemaName string `json:"schema_name"` Symbol string `json:"symbol"` TotalSupply string `json:"total_supply"` Description string `json:"description"` ExternalLink string `json:"external_link"` ImageURL string `json:"image_url"` DefaultToFiat bool `json:"default_to_fiat"` DevBuyerFeeBasisPoints int `json:"dev_buyer_fee_basis_points"` DevSellerFeeBasisPoints int `json:"dev_seller_fee_basis_points"` OnlyProxiedTransfers bool `json:"only_proxied_transfers"` OpenseaBuyerFeeBasisPoints int `json:"opensea_buyer_fee_basis_points"` OpenseaSellerFeeBasisPoints int `json:"opensea_seller_fee_basis_points"` BuyerFeeBasisPoints int `json:"buyer_fee_basis_points"` SellerFeeBasisPoints int `json:"seller_fee_basis_points"` PayoutAddress interface{} `json:"payout_address"` } `json:"asset_contract"` Permalink string `json:"permalink"` Collection struct { BannerImageURL string `json:"banner_image_url"` ChatURL interface{} `json:"chat_url"` CreatedDate time.Time `json:"created_date"` DefaultToFiat bool `json:"default_to_fiat"` Description string `json:"description"` DevBuyerFeeBasisPoints string `json:"dev_buyer_fee_basis_points"` DevSellerFeeBasisPoints string `json:"dev_seller_fee_basis_points"` DiscordURL interface{} `json:"discord_url"` DisplayData struct { CardDisplayStyle string `json:"card_display_style"` Images interface{} `json:"images"` } `json:"display_data"` ExternalURL string `json:"external_url"` Featured bool `json:"featured"` FeaturedImageURL interface{} `json:"featured_image_url"` Hidden bool `json:"hidden"` SafelistRequestStatus string `json:"safelist_request_status"` ImageURL string `json:"image_url"` IsSubjectToWhitelist bool `json:"is_subject_to_whitelist"` LargeImageURL interface{} `json:"large_image_url"` MediumUsername interface{} `json:"medium_username"` Name string `json:"name"` OnlyProxiedTransfers bool `json:"only_proxied_transfers"` OpenseaBuyerFeeBasisPoints string `json:"opensea_buyer_fee_basis_points"` OpenseaSellerFeeBasisPoints string `json:"opensea_seller_fee_basis_points"` PayoutAddress interface{} `json:"payout_address"` RequireEmail bool `json:"require_email"` ShortDescription interface{} `json:"short_description"` Slug string `json:"slug"` TelegramURL interface{} `json:"telegram_url"` TwitterUsername interface{} `json:"twitter_username"` InstagramUsername interface{} `json:"instagram_username"` WikiURL interface{} `json:"wiki_url"` IsNsfw bool `json:"is_nsfw"` Fees struct { SellerFees map[string]uint64 `json:"seller_fees"` OpenseaFees map[string]uint64 `json:"opensea_fees"` } `json:"fees"` IsRarityEnabled bool `json:"is_rarity_enabled"` } `json:"collection"` Decimals interface{} `json:"decimals"` TokenMetadata string `json:"token_metadata"` IsNsfw bool `json:"is_nsfw"` Owner interface{} `json:"owner"` SeaportSellOrders []struct { CreatedDate string `json:"created_date"` ClosingDate string `json:"closing_date"` ListingTime int `json:"listing_time"` ExpirationTime int `json:"expiration_time"` OrderHash string `json:"order_hash"` ProtocolData struct { Parameters struct { Offerer string `json:"offerer"` Offer []struct { ItemType int `json:"itemType"` Token string `json:"token"` IdentifierOrCriteria string `json:"identifierOrCriteria"` StartAmount string `json:"startAmount"` EndAmount string `json:"endAmount"` } `json:"offer"` Consideration []struct { ItemType int `json:"itemType"` Token string `json:"token"` IdentifierOrCriteria string `json:"identifierOrCriteria"` StartAmount string `json:"startAmount"` EndAmount string `json:"endAmount"` Recipient string `json:"recipient"` } `json:"consideration"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` OrderType int `json:"orderType"` Zone string `json:"zone"` ZoneHash string `json:"zoneHash"` Salt string `json:"salt"` ConduitKey string `json:"conduitKey"` TotalOriginalConsiderationItems int `json:"totalOriginalConsiderationItems"` Counter int `json:"counter"` } `json:"parameters"` Signature string `json:"signature"` } `json:"protocol_data"` ProtocolAddress string `json:"protocol_address"` Maker struct { User int `json:"user"` ProfileImgURL string `json:"profile_img_url"` Address string `json:"address"` Config string `json:"config"` } `json:"maker"` Taker interface{} `json:"taker"` CurrentPrice string `json:"current_price"` MakerFees []struct { Account struct { User interface{} `json:"user"` ProfileImgURL string `json:"profile_img_url"` Address string `json:"address"` Config string `json:"config"` } `json:"account"` BasisPoints string `json:"basis_points"` } `json:"maker_fees"` TakerFees []interface{} `json:"taker_fees"` Side string `json:"side"` OrderType string `json:"order_type"` Cancelled bool `json:"cancelled"` Finalized bool `json:"finalized"` MarkedInvalid bool `json:"marked_invalid"` ClientSignature string `json:"client_signature"` RelayID string `json:"relay_id"` CriteriaProof interface{} `json:"criteria_proof"` } `json:"seaport_sell_orders"` Creator struct { User struct { Username interface{} `json:"username"` } `json:"user"` ProfileImgURL string `json:"profile_img_url"` Address string `json:"address"` Config string `json:"config"` } `json:"creator"` Traits []struct { TraitType string `json:"trait_type"` Value interface{} `json:"value"` DisplayType interface{} `json:"display_type"` MaxValue interface{} `json:"max_value"` TraitCount int `json:"trait_count"` Order interface{} `json:"order"` } `json:"traits"` LastSale struct { Asset struct { Decimals interface{} `json:"decimals"` TokenID string `json:"token_id"` } `json:"asset"` AssetBundle interface{} `json:"asset_bundle"` EventType string `json:"event_type"` EventTimestamp string `json:"event_timestamp"` AuctionType interface{} `json:"auction_type"` TotalPrice string `json:"total_price"` PaymentToken struct { Symbol string `json:"symbol"` Address string `json:"address"` ImageURL string `json:"image_url"` Name string `json:"name"` Decimals int `json:"decimals"` EthPrice string `json:"eth_price"` UsdPrice string `json:"usd_price"` } `json:"payment_token"` Transaction struct { BlockHash string `json:"block_hash"` BlockNumber string `json:"block_number"` FromAccount struct { User struct { Username interface{} `json:"username"` } `json:"user"` ProfileImgURL string `json:"profile_img_url"` Address string `json:"address"` Config string `json:"config"` } `json:"from_account"` ID int `json:"id"` Timestamp string `json:"timestamp"` ToAccount struct { User interface{} `json:"user"` ProfileImgURL string `json:"profile_img_url"` Address string `json:"address"` Config string `json:"config"` } `json:"to_account"` TransactionHash string `json:"transaction_hash"` TransactionIndex string `json:"transaction_index"` } `json:"transaction"` CreatedDate string `json:"created_date"` Quantity string `json:"quantity"` } `json:"last_sale"` TopBid interface{} `json:"top_bid"` ListingDate interface{} `json:"listing_date"` SupportsWyvern bool `json:"supports_wyvern"` RarityData interface{} `json:"rarity_data"` TransferFee interface{} `json:"transfer_fee"` TransferFeePaymentToken interface{} `json:"transfer_fee_payment_token"` TokenID string `json:"token_id"` }
func RetrieveCollectionAssetByIDs ¶
func RetrieveCollectionAssetByIDs(apiKey string, collectionContract string, ids []string) ([]NFTDetail, error)
support mainnet only
type NFTOrder ¶
type NFTOrder struct { OrderHash string `json:"order_hash"` Chain string `json:"chain"` Type string `json:"type"` Price struct { Current struct { Value string `json:"value"` Currency string `json:"currency"` } `json:"current"` } `json:"price"` ProtocolData struct { Parameters struct { Offerer string `json:"offerer"` Offer []struct { ItemType int `json:"itemType"` Token string `json:"token"` IdentifierOrCriteria string `json:"identifierOrCriteria"` StartAmount string `json:"startAmount"` EndAmount string `json:"endAmount"` } `json:"offer"` Consideration []struct { ItemType int `json:"itemType"` Token string `json:"token"` IdentifierOrCriteria string `json:"identifierOrCriteria"` StartAmount string `json:"startAmount"` EndAmount string `json:"endAmount"` Recipient string `json:"recipient"` } `json:"consideration"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` OrderType int `json:"orderType"` Zone string `json:"zone"` ZoneHash string `json:"zoneHash"` Salt string `json:"salt"` ConduitKey string `json:"conduitKey"` TotalOriginalConsiderationItems int `json:"totalOriginalConsiderationItems"` Counter int `json:"counter"` } `json:"parameters"` Signature string `json:"signature"` } `json:"protocol_data"` }
type OfferItem ¶
type OfferItem struct { ItemType uint8 Token common.Address IdentifierOrCriteria *big.Int StartAmount *big.Int EndAmount *big.Int }
OfferItem is an auto generated low-level Go binding around an user-defined struct.
type Opensea ¶
type Opensea struct { OpenseaCaller // Read-only binding to the contract OpenseaTransactor // Write-only binding to the contract OpenseaFilterer // Log filterer for contract events }
Opensea is an auto generated Go binding around an Ethereum contract.
func DeployOpensea ¶
func DeployOpensea(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Opensea, error)
DeployOpensea deploys a new Ethereum contract, binding an instance of Opensea to it.
func NewOpensea ¶
NewOpensea creates a new instance of Opensea, bound to a specific deployed contract.
type OpenseaCaller ¶
type OpenseaCaller struct {
// contains filtered or unexported fields
}
OpenseaCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOpenseaCaller ¶
func NewOpenseaCaller(address common.Address, caller bind.ContractCaller) (*OpenseaCaller, error)
NewOpenseaCaller creates a new read-only instance of Opensea, bound to a specific deployed contract.
type OpenseaCallerRaw ¶
type OpenseaCallerRaw struct {
Contract *OpenseaCaller // Generic read-only contract binding to access the raw methods on
}
OpenseaCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OpenseaCallerRaw) Call ¶
func (_Opensea *OpenseaCallerRaw) 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 OpenseaCallerSession ¶
type OpenseaCallerSession struct { Contract *OpenseaCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OpenseaCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OpenseaFilterer ¶
type OpenseaFilterer struct {
// contains filtered or unexported fields
}
OpenseaFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOpenseaFilterer ¶
func NewOpenseaFilterer(address common.Address, filterer bind.ContractFilterer) (*OpenseaFilterer, error)
NewOpenseaFilterer creates a new log filterer instance of Opensea, bound to a specific deployed contract.
type OpenseaRaw ¶
type OpenseaRaw struct {
Contract *Opensea // Generic contract binding to access the raw methods on
}
OpenseaRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OpenseaRaw) Call ¶
func (_Opensea *OpenseaRaw) 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 (*OpenseaRaw) Transact ¶
func (_Opensea *OpenseaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OpenseaRaw) Transfer ¶
func (_Opensea *OpenseaRaw) 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 OpenseaSession ¶
type OpenseaSession struct { Contract *Opensea // 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 }
OpenseaSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OpenseaSession) Forward ¶
func (_Opensea *OpenseaSession) Forward(message []byte) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0xd948d468.
Solidity: function forward(bytes message) payable returns(address, uint256)
type OpenseaTransactor ¶
type OpenseaTransactor struct {
// contains filtered or unexported fields
}
OpenseaTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOpenseaTransactor ¶
func NewOpenseaTransactor(address common.Address, transactor bind.ContractTransactor) (*OpenseaTransactor, error)
NewOpenseaTransactor creates a new write-only instance of Opensea, bound to a specific deployed contract.
func (*OpenseaTransactor) Forward ¶
func (_Opensea *OpenseaTransactor) Forward(opts *bind.TransactOpts, message []byte) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0xd948d468.
Solidity: function forward(bytes message) payable returns(address, uint256)
type OpenseaTransactorRaw ¶
type OpenseaTransactorRaw struct {
Contract *OpenseaTransactor // Generic write-only contract binding to access the raw methods on
}
OpenseaTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OpenseaTransactorRaw) Transact ¶
func (_Opensea *OpenseaTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OpenseaTransactorRaw) Transfer ¶
func (_Opensea *OpenseaTransactorRaw) 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 OpenseaTransactorSession ¶
type OpenseaTransactorSession struct { Contract *OpenseaTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OpenseaTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OpenseaTransactorSession) Forward ¶
func (_Opensea *OpenseaTransactorSession) Forward(message []byte) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0xd948d468.
Solidity: function forward(bytes message) payable returns(address, uint256)
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 Zone common.Address Offer []OfferItem Consideration []ConsiderationItem OrderType uint8 StartTime *big.Int EndTime *big.Int ZoneHash [32]byte Salt *big.Int ConduitKey [32]byte 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 Zone common.Address Offer []OfferItem Consideration []ConsiderationItem OrderType uint8 StartTime *big.Int EndTime *big.Int ZoneHash [32]byte Salt *big.Int ConduitKey [32]byte TotalOriginalConsiderationItems *big.Int }
OrderParameters is an auto generated low-level Go binding around an user-defined struct.