OrderFulfiller

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OrderFulfillerABI = OrderFulfillerMetaData.ABI

OrderFulfillerABI is the input ABI used to generate the binding from. Deprecated: Use OrderFulfillerMetaData.ABI instead.

View Source
var OrderFulfillerBin = OrderFulfillerMetaData.Bin

OrderFulfillerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use OrderFulfillerMetaData.Bin instead.

View Source
var OrderFulfillerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduitController\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BadContractSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BadFraction\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BadReturnValueFromERC20OnTransfer\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"}],\"name\":\"BadSignatureV\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ConsiderationCriteriaResolverOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"orderIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"considerationIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shortfallAmount\",\"type\":\"uint256\"}],\"name\":\"ConsiderationNotMet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CriteriaNotEnabledForItem\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"identifiers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"ERC1155BatchTransferGenericFailure\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EtherTransferGenericFailure\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InexactFraction\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientEtherSupplied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Invalid1155BatchTransferEncoding\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidBasicOrderParameterEncoding\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"InvalidCallToConduit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCanceller\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"conduitKey\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"conduit\",\"type\":\"address\"}],\"name\":\"InvalidConduit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidERC721TransferAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"InvalidMsgValue\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidNativeOfferItem\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidProof\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"InvalidRestrictedOrder\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSigner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTime\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MissingItemAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MissingOriginalConsiderationItems\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"NoContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoReentrantCalls\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoSpecifiedOrdersAvailable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OfferCriteriaResolverOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"OrderAlreadyFilled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OrderCriteriaResolverOutOfRange\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"OrderIsCancelled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"}],\"name\":\"OrderPartiallyFilled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PartialFillsNotEnabledForOrder\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokenTransferGenericFailure\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnresolvedConsiderationCriteria\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnresolvedOfferCriteria\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnusedItemParameters\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newCounter\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"}],\"name\":\"CounterIncremented\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"}],\"name\":\"OrderCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"structSpentItem[]\",\"name\":\"offer\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enumItemType\",\"name\":\"itemType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"identifier\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"recipient\",\"type\":\"address\"}],\"indexed\":false,\"internalType\":\"structReceivedItem[]\",\"name\":\"consideration\",\"type\":\"tuple[]\"}],\"name\":\"OrderFulfilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"orderHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"offerer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"zone\",\"type\":\"address\"}],\"name\":\"OrderValidated\",\"type\":\"event\"}]",
	Bin: "0x6101c060405234801561001157600080fd5b50604051610707380380610707833981016040819052610030916105b7565b8080808080808061003f610121565b610120526101005260e05260c081815260a0838152608085815246610140819052604080516020818101979097528082019890985260608801969096529086015230858201528351808603909101815293019091528151910120610160526001600160a01b03811661018081905260408051630a96ad3960e01b81528151630a96ad39926004808401939192918290030181865afa1580156100e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010991906105e7565b506101a052505060016000555061066d945050505050565b6000808080808061015260408051808201909152600d81526c21b7b739b4b232b930ba34b7b760991b602082015290565b80516020918201206040805180820182526003815262312e3160e81b90840152519097507f722c0e0c80487266e8c6a45e3a1a803aab23378a9c32e6ebe029d4fad7bfc965965060009161025691016909ecccccae492e8cada560b31b81526e1d5a5b9d0e081a5d195b551e5c194b608a1b600a8201526d1859191c995cdcc81d1bdad95b8b60921b60198201527f75696e74323536206964656e7469666965724f7243726974657269612c00000060278201527f75696e74323536207374617274416d6f756e742c0000000000000000000000006044820152701d5a5b9d0c8d4d88195b99105b5bdd5b9d607a1b6058820152602960f81b6069820152606a0190565b60408051601f1981840301815282825271086dedce6d2c8cae4c2e8d2dedc92e8cada560731b60208401526e1d5a5b9d0e081a5d195b551e5c194b608a1b60328401526d1859191c995cdcc81d1bdad95b8b60921b60418401527f75696e74323536206964656e7469666965724f7243726974657269612c000000604f8401527f75696e74323536207374617274416d6f756e742c000000000000000000000000606c840152711d5a5b9d0c8d4d88195b99105b5bdd5b9d0b60721b6080840152701859191c995cdcc81c9958da5c1a595b9d607a1b6092840152602960f81b60a384018190528251808503608401815260a485019093526f09ee4c8cae486dedae0dedccadce8e6560831b60c48501526f1859191c995cdcc81bd999995c995c8b60821b60d48501526c1859191c995cdcc81e9bdb994b609a1b60e48501527113d999995c925d195b56d7481bd999995c8b60721b60f18501527f436f6e73696465726174696f6e4974656d5b5d20636f6e73696465726174696f610103850152611b8b60f21b6101238501526f1d5a5b9d0e081bdc99195c951e5c194b60821b610125850152711d5a5b9d0c8d4d881cdd185c9d151a5b594b60721b6101358501526f1d5a5b9d0c8d4d88195b99151a5b594b60821b61014785015270189e5d195ccccc881e9bdb9952185cda0b607a1b6101578501526c1d5a5b9d0c8d4d881cd85b1d0b609a1b6101688501527f6279746573333220636f6e647569744b65792c000000000000000000000000006101758501526e3ab4b73a191a9b1031b7bab73a32b960891b6101888501526101978401529250906000906101980160408051601f19818403018152908290526c08a92a06e626488dedac2d2dc5609b1b60208301526b1cdd1c9a5b99c81b985b594b60a21b602d8301526e1cdd1c9a5b99c81d995c9cda5bdb8b608a1b60398301526f1d5a5b9d0c8d4d8818da185a5b92590b60821b60488301527f6164647265737320766572696679696e67436f6e7472616374000000000000006058830152602960f81b6071830152915060720160408051601f19818403018152908290528051602091820120855186830120855186840120919a50985096506105949183918591879101610646565b604051602081830303815290604052805190602001209350505050909192939495565b6000602082840312156105c957600080fd5b81516001600160a01b03811681146105e057600080fd5b9392505050565b600080604083850312156105fa57600080fd5b505080516020909101519092909150565b6000815160005b8181101561062c5760208185018101518683015201610612565b8181111561063b576000828601525b509290920192915050565b600061066461065e610658848861060b565b8661060b565b8461060b565b95945050505050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a051603f6106c860003960005050600050506000505060005050600050506000505060005050600050506000505060005050603f6000f3fe6080604052600080fdfea2646970667358221220b612cd987121d8b291ec59e01178824ac15f902af26692ff66492423b8a7ab7964736f6c634300080d0033",
}

OrderFulfillerMetaData contains all meta data concerning the OrderFulfiller contract.

Functions

This section is empty.

Types

type OrderFulfiller

type OrderFulfiller struct {
	OrderFulfillerCaller     // Read-only binding to the contract
	OrderFulfillerTransactor // Write-only binding to the contract
	OrderFulfillerFilterer   // Log filterer for contract events
}

OrderFulfiller is an auto generated Go binding around an Ethereum contract.

func DeployOrderFulfiller

func DeployOrderFulfiller(auth *bind.TransactOpts, backend bind.ContractBackend, conduitController common.Address) (common.Address, *types.Transaction, *OrderFulfiller, error)

DeployOrderFulfiller deploys a new Ethereum contract, binding an instance of OrderFulfiller to it.

func NewOrderFulfiller

func NewOrderFulfiller(address common.Address, backend bind.ContractBackend) (*OrderFulfiller, error)

NewOrderFulfiller creates a new instance of OrderFulfiller, bound to a specific deployed contract.

type OrderFulfillerCaller

type OrderFulfillerCaller struct {
	// contains filtered or unexported fields
}

OrderFulfillerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewOrderFulfillerCaller

func NewOrderFulfillerCaller(address common.Address, caller bind.ContractCaller) (*OrderFulfillerCaller, error)

NewOrderFulfillerCaller creates a new read-only instance of OrderFulfiller, bound to a specific deployed contract.

type OrderFulfillerCallerRaw

type OrderFulfillerCallerRaw struct {
	Contract *OrderFulfillerCaller // Generic read-only contract binding to access the raw methods on
}

OrderFulfillerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*OrderFulfillerCallerRaw) Call

func (_OrderFulfiller *OrderFulfillerCallerRaw) 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 OrderFulfillerCallerSession

type OrderFulfillerCallerSession struct {
	Contract *OrderFulfillerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

OrderFulfillerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type OrderFulfillerCounterIncremented added in v1.0.2

type OrderFulfillerCounterIncremented struct {
	NewCounter *big.Int
	Offerer    common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

OrderFulfillerCounterIncremented represents a CounterIncremented event raised by the OrderFulfiller contract.

type OrderFulfillerCounterIncrementedIterator added in v1.0.2

type OrderFulfillerCounterIncrementedIterator struct {
	Event *OrderFulfillerCounterIncremented // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OrderFulfillerCounterIncrementedIterator is returned from FilterCounterIncremented and is used to iterate over the raw logs and unpacked data for CounterIncremented events raised by the OrderFulfiller contract.

func (*OrderFulfillerCounterIncrementedIterator) Close added in v1.0.2

Close terminates the iteration process, releasing any pending underlying resources.

func (*OrderFulfillerCounterIncrementedIterator) Error added in v1.0.2

Error returns any retrieval or parsing error occurred during filtering.

func (*OrderFulfillerCounterIncrementedIterator) Next added in v1.0.2

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OrderFulfillerFilterer

type OrderFulfillerFilterer struct {
	// contains filtered or unexported fields
}

OrderFulfillerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewOrderFulfillerFilterer

func NewOrderFulfillerFilterer(address common.Address, filterer bind.ContractFilterer) (*OrderFulfillerFilterer, error)

NewOrderFulfillerFilterer creates a new log filterer instance of OrderFulfiller, bound to a specific deployed contract.

func (*OrderFulfillerFilterer) FilterCounterIncremented added in v1.0.2

func (_OrderFulfiller *OrderFulfillerFilterer) FilterCounterIncremented(opts *bind.FilterOpts, offerer []common.Address) (*OrderFulfillerCounterIncrementedIterator, error)

FilterCounterIncremented is a free log retrieval operation binding the contract event 0x721c20121297512b72821b97f5326877ea8ecf4bb9948fea5bfcb6453074d37f.

Solidity: event CounterIncremented(uint256 newCounter, address indexed offerer)

func (*OrderFulfillerFilterer) FilterOrderCancelled

func (_OrderFulfiller *OrderFulfillerFilterer) FilterOrderCancelled(opts *bind.FilterOpts, offerer []common.Address, zone []common.Address) (*OrderFulfillerOrderCancelledIterator, error)

FilterOrderCancelled is a free log retrieval operation binding the contract event 0x6bacc01dbe442496068f7d234edd811f1a5f833243e0aec824f86ab861f3c90d.

Solidity: event OrderCancelled(bytes32 orderHash, address indexed offerer, address indexed zone)

func (*OrderFulfillerFilterer) FilterOrderFulfilled

func (_OrderFulfiller *OrderFulfillerFilterer) FilterOrderFulfilled(opts *bind.FilterOpts, offerer []common.Address, zone []common.Address) (*OrderFulfillerOrderFulfilledIterator, error)

FilterOrderFulfilled is a free log retrieval operation binding the contract event 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31.

Solidity: event OrderFulfilled(bytes32 orderHash, address indexed offerer, address indexed zone, address recipient, (uint8,address,uint256,uint256)[] offer, (uint8,address,uint256,uint256,address)[] consideration)

func (*OrderFulfillerFilterer) FilterOrderValidated

func (_OrderFulfiller *OrderFulfillerFilterer) FilterOrderValidated(opts *bind.FilterOpts, offerer []common.Address, zone []common.Address) (*OrderFulfillerOrderValidatedIterator, error)

FilterOrderValidated is a free log retrieval operation binding the contract event 0xfde361574a066b44b3b5fe98a87108b7565e327327954c4faeea56a4e6491a0a.

Solidity: event OrderValidated(bytes32 orderHash, address indexed offerer, address indexed zone)

func (*OrderFulfillerFilterer) ParseCounterIncremented added in v1.0.2

func (_OrderFulfiller *OrderFulfillerFilterer) ParseCounterIncremented(log types.Log) (*OrderFulfillerCounterIncremented, error)

ParseCounterIncremented is a log parse operation binding the contract event 0x721c20121297512b72821b97f5326877ea8ecf4bb9948fea5bfcb6453074d37f.

Solidity: event CounterIncremented(uint256 newCounter, address indexed offerer)

func (*OrderFulfillerFilterer) ParseOrderCancelled

func (_OrderFulfiller *OrderFulfillerFilterer) ParseOrderCancelled(log types.Log) (*OrderFulfillerOrderCancelled, error)

ParseOrderCancelled is a log parse operation binding the contract event 0x6bacc01dbe442496068f7d234edd811f1a5f833243e0aec824f86ab861f3c90d.

Solidity: event OrderCancelled(bytes32 orderHash, address indexed offerer, address indexed zone)

func (*OrderFulfillerFilterer) ParseOrderFulfilled

func (_OrderFulfiller *OrderFulfillerFilterer) ParseOrderFulfilled(log types.Log) (*OrderFulfillerOrderFulfilled, error)

ParseOrderFulfilled is a log parse operation binding the contract event 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31.

Solidity: event OrderFulfilled(bytes32 orderHash, address indexed offerer, address indexed zone, address recipient, (uint8,address,uint256,uint256)[] offer, (uint8,address,uint256,uint256,address)[] consideration)

func (*OrderFulfillerFilterer) ParseOrderValidated

func (_OrderFulfiller *OrderFulfillerFilterer) ParseOrderValidated(log types.Log) (*OrderFulfillerOrderValidated, error)

ParseOrderValidated is a log parse operation binding the contract event 0xfde361574a066b44b3b5fe98a87108b7565e327327954c4faeea56a4e6491a0a.

Solidity: event OrderValidated(bytes32 orderHash, address indexed offerer, address indexed zone)

func (*OrderFulfillerFilterer) WatchCounterIncremented added in v1.0.2

func (_OrderFulfiller *OrderFulfillerFilterer) WatchCounterIncremented(opts *bind.WatchOpts, sink chan<- *OrderFulfillerCounterIncremented, offerer []common.Address) (event.Subscription, error)

WatchCounterIncremented is a free log subscription operation binding the contract event 0x721c20121297512b72821b97f5326877ea8ecf4bb9948fea5bfcb6453074d37f.

Solidity: event CounterIncremented(uint256 newCounter, address indexed offerer)

func (*OrderFulfillerFilterer) WatchOrderCancelled

func (_OrderFulfiller *OrderFulfillerFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *OrderFulfillerOrderCancelled, offerer []common.Address, zone []common.Address) (event.Subscription, error)

WatchOrderCancelled is a free log subscription operation binding the contract event 0x6bacc01dbe442496068f7d234edd811f1a5f833243e0aec824f86ab861f3c90d.

Solidity: event OrderCancelled(bytes32 orderHash, address indexed offerer, address indexed zone)

func (*OrderFulfillerFilterer) WatchOrderFulfilled

func (_OrderFulfiller *OrderFulfillerFilterer) WatchOrderFulfilled(opts *bind.WatchOpts, sink chan<- *OrderFulfillerOrderFulfilled, offerer []common.Address, zone []common.Address) (event.Subscription, error)

WatchOrderFulfilled is a free log subscription operation binding the contract event 0x9d9af8e38d66c62e2c12f0225249fd9d721c54b83f48d9352c97c6cacdcb6f31.

Solidity: event OrderFulfilled(bytes32 orderHash, address indexed offerer, address indexed zone, address recipient, (uint8,address,uint256,uint256)[] offer, (uint8,address,uint256,uint256,address)[] consideration)

func (*OrderFulfillerFilterer) WatchOrderValidated

func (_OrderFulfiller *OrderFulfillerFilterer) WatchOrderValidated(opts *bind.WatchOpts, sink chan<- *OrderFulfillerOrderValidated, offerer []common.Address, zone []common.Address) (event.Subscription, error)

WatchOrderValidated is a free log subscription operation binding the contract event 0xfde361574a066b44b3b5fe98a87108b7565e327327954c4faeea56a4e6491a0a.

Solidity: event OrderValidated(bytes32 orderHash, address indexed offerer, address indexed zone)

type OrderFulfillerOrderCancelled

type OrderFulfillerOrderCancelled struct {
	OrderHash [32]byte
	Offerer   common.Address
	Zone      common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

OrderFulfillerOrderCancelled represents a OrderCancelled event raised by the OrderFulfiller contract.

type OrderFulfillerOrderCancelledIterator

type OrderFulfillerOrderCancelledIterator struct {
	Event *OrderFulfillerOrderCancelled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OrderFulfillerOrderCancelledIterator is returned from FilterOrderCancelled and is used to iterate over the raw logs and unpacked data for OrderCancelled events raised by the OrderFulfiller contract.

func (*OrderFulfillerOrderCancelledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OrderFulfillerOrderCancelledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OrderFulfillerOrderCancelledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OrderFulfillerOrderFulfilled

type OrderFulfillerOrderFulfilled struct {
	OrderHash     [32]byte
	Offerer       common.Address
	Zone          common.Address
	Recipient     common.Address
	Offer         []SpentItem
	Consideration []ReceivedItem
	Raw           types.Log // Blockchain specific contextual infos
}

OrderFulfillerOrderFulfilled represents a OrderFulfilled event raised by the OrderFulfiller contract.

type OrderFulfillerOrderFulfilledIterator

type OrderFulfillerOrderFulfilledIterator struct {
	Event *OrderFulfillerOrderFulfilled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OrderFulfillerOrderFulfilledIterator is returned from FilterOrderFulfilled and is used to iterate over the raw logs and unpacked data for OrderFulfilled events raised by the OrderFulfiller contract.

func (*OrderFulfillerOrderFulfilledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OrderFulfillerOrderFulfilledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OrderFulfillerOrderFulfilledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OrderFulfillerOrderValidated

type OrderFulfillerOrderValidated struct {
	OrderHash [32]byte
	Offerer   common.Address
	Zone      common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

OrderFulfillerOrderValidated represents a OrderValidated event raised by the OrderFulfiller contract.

type OrderFulfillerOrderValidatedIterator

type OrderFulfillerOrderValidatedIterator struct {
	Event *OrderFulfillerOrderValidated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OrderFulfillerOrderValidatedIterator is returned from FilterOrderValidated and is used to iterate over the raw logs and unpacked data for OrderValidated events raised by the OrderFulfiller contract.

func (*OrderFulfillerOrderValidatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OrderFulfillerOrderValidatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OrderFulfillerOrderValidatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OrderFulfillerRaw

type OrderFulfillerRaw struct {
	Contract *OrderFulfiller // Generic contract binding to access the raw methods on
}

OrderFulfillerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*OrderFulfillerRaw) Call

func (_OrderFulfiller *OrderFulfillerRaw) 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 (*OrderFulfillerRaw) Transact

func (_OrderFulfiller *OrderFulfillerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OrderFulfillerRaw) Transfer

func (_OrderFulfiller *OrderFulfillerRaw) 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 OrderFulfillerSession

type OrderFulfillerSession struct {
	Contract     *OrderFulfiller   // 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
}

OrderFulfillerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type OrderFulfillerTransactor

type OrderFulfillerTransactor struct {
	// contains filtered or unexported fields
}

OrderFulfillerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewOrderFulfillerTransactor

func NewOrderFulfillerTransactor(address common.Address, transactor bind.ContractTransactor) (*OrderFulfillerTransactor, error)

NewOrderFulfillerTransactor creates a new write-only instance of OrderFulfiller, bound to a specific deployed contract.

type OrderFulfillerTransactorRaw

type OrderFulfillerTransactorRaw struct {
	Contract *OrderFulfillerTransactor // Generic write-only contract binding to access the raw methods on
}

OrderFulfillerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*OrderFulfillerTransactorRaw) Transact

func (_OrderFulfiller *OrderFulfillerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OrderFulfillerTransactorRaw) Transfer

func (_OrderFulfiller *OrderFulfillerTransactorRaw) 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 OrderFulfillerTransactorSession

type OrderFulfillerTransactorSession struct {
	Contract     *OrderFulfillerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

OrderFulfillerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type ReceivedItem

type ReceivedItem struct {
	ItemType   uint8
	Token      common.Address
	Identifier *big.Int
	Amount     *big.Int
	Recipient  common.Address
}

ReceivedItem is an auto generated low-level Go binding around an user-defined struct.

type SpentItem

type SpentItem struct {
	ItemType   uint8
	Token      common.Address
	Identifier *big.Int
	Amount     *big.Int
}

SpentItem is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL