Documentation ¶
Index ¶
- Variables
- type MarketFee
- type MarketOrder
- type MarketOrderItem
- type MarketRunInput
- type MarketSettleDetail
- type MarketSettleShared
- type X2y2
- type X2y2Caller
- func (_X2y2 *X2y2Caller) Delegates(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_X2y2 *X2y2Caller) FeeCapPct(opts *bind.CallOpts) (*big.Int, error)
- func (_X2y2 *X2y2Caller) InventoryStatus(opts *bind.CallOpts, arg0 [32]byte) (uint8, error)
- func (_X2y2 *X2y2Caller) OngoingAuctions(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_X2y2 *X2y2Caller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_X2y2 *X2y2Caller) Paused(opts *bind.CallOpts) (bool, error)
- func (_X2y2 *X2y2Caller) RATEBASE(opts *bind.CallOpts) (*big.Int, error)
- func (_X2y2 *X2y2Caller) Signers(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_X2y2 *X2y2Caller) Weth(opts *bind.CallOpts) (common.Address, error)
- type X2y2CallerRaw
- type X2y2CallerSession
- func (_X2y2 *X2y2CallerSession) Delegates(arg0 common.Address) (bool, error)
- func (_X2y2 *X2y2CallerSession) FeeCapPct() (*big.Int, error)
- func (_X2y2 *X2y2CallerSession) InventoryStatus(arg0 [32]byte) (uint8, error)
- func (_X2y2 *X2y2CallerSession) OngoingAuctions(arg0 [32]byte) (struct{ ... }, error)
- func (_X2y2 *X2y2CallerSession) Owner() (common.Address, error)
- func (_X2y2 *X2y2CallerSession) Paused() (bool, error)
- func (_X2y2 *X2y2CallerSession) RATEBASE() (*big.Int, error)
- func (_X2y2 *X2y2CallerSession) Signers(arg0 common.Address) (bool, error)
- func (_X2y2 *X2y2CallerSession) Weth() (common.Address, error)
- type X2y2EvAuctionRefund
- type X2y2EvAuctionRefundIterator
- type X2y2EvCancel
- type X2y2EvCancelIterator
- type X2y2EvDelegate
- type X2y2EvDelegateIterator
- type X2y2EvFailure
- type X2y2EvFailureIterator
- type X2y2EvFeeCapUpdate
- type X2y2EvFeeCapUpdateIterator
- type X2y2EvInventory
- type X2y2EvInventoryIterator
- type X2y2EvProfit
- type X2y2EvProfitIterator
- type X2y2EvSigner
- type X2y2EvSignerIterator
- type X2y2Filterer
- func (_X2y2 *X2y2Filterer) FilterEvAuctionRefund(opts *bind.FilterOpts, itemHash [][32]byte) (*X2y2EvAuctionRefundIterator, error)
- func (_X2y2 *X2y2Filterer) FilterEvCancel(opts *bind.FilterOpts, itemHash [][32]byte) (*X2y2EvCancelIterator, error)
- func (_X2y2 *X2y2Filterer) FilterEvDelegate(opts *bind.FilterOpts) (*X2y2EvDelegateIterator, error)
- func (_X2y2 *X2y2Filterer) FilterEvFailure(opts *bind.FilterOpts) (*X2y2EvFailureIterator, error)
- func (_X2y2 *X2y2Filterer) FilterEvFeeCapUpdate(opts *bind.FilterOpts) (*X2y2EvFeeCapUpdateIterator, error)
- func (_X2y2 *X2y2Filterer) FilterEvInventory(opts *bind.FilterOpts, itemHash [][32]byte) (*X2y2EvInventoryIterator, error)
- func (_X2y2 *X2y2Filterer) FilterEvProfit(opts *bind.FilterOpts) (*X2y2EvProfitIterator, error)
- func (_X2y2 *X2y2Filterer) FilterEvSigner(opts *bind.FilterOpts) (*X2y2EvSignerIterator, error)
- func (_X2y2 *X2y2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*X2y2OwnershipTransferredIterator, error)
- func (_X2y2 *X2y2Filterer) FilterPaused(opts *bind.FilterOpts) (*X2y2PausedIterator, error)
- func (_X2y2 *X2y2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*X2y2UnpausedIterator, error)
- func (_X2y2 *X2y2Filterer) ParseEvAuctionRefund(log types.Log) (*X2y2EvAuctionRefund, error)
- func (_X2y2 *X2y2Filterer) ParseEvCancel(log types.Log) (*X2y2EvCancel, error)
- func (_X2y2 *X2y2Filterer) ParseEvDelegate(log types.Log) (*X2y2EvDelegate, error)
- func (_X2y2 *X2y2Filterer) ParseEvFailure(log types.Log) (*X2y2EvFailure, error)
- func (_X2y2 *X2y2Filterer) ParseEvFeeCapUpdate(log types.Log) (*X2y2EvFeeCapUpdate, error)
- func (_X2y2 *X2y2Filterer) ParseEvInventory(log types.Log) (*X2y2EvInventory, error)
- func (_X2y2 *X2y2Filterer) ParseEvProfit(log types.Log) (*X2y2EvProfit, error)
- func (_X2y2 *X2y2Filterer) ParseEvSigner(log types.Log) (*X2y2EvSigner, error)
- func (_X2y2 *X2y2Filterer) ParseOwnershipTransferred(log types.Log) (*X2y2OwnershipTransferred, error)
- func (_X2y2 *X2y2Filterer) ParsePaused(log types.Log) (*X2y2Paused, error)
- func (_X2y2 *X2y2Filterer) ParseUnpaused(log types.Log) (*X2y2Unpaused, error)
- func (_X2y2 *X2y2Filterer) WatchEvAuctionRefund(opts *bind.WatchOpts, sink chan<- *X2y2EvAuctionRefund, itemHash [][32]byte) (event.Subscription, error)
- func (_X2y2 *X2y2Filterer) WatchEvCancel(opts *bind.WatchOpts, sink chan<- *X2y2EvCancel, itemHash [][32]byte) (event.Subscription, error)
- func (_X2y2 *X2y2Filterer) WatchEvDelegate(opts *bind.WatchOpts, sink chan<- *X2y2EvDelegate) (event.Subscription, error)
- func (_X2y2 *X2y2Filterer) WatchEvFailure(opts *bind.WatchOpts, sink chan<- *X2y2EvFailure) (event.Subscription, error)
- func (_X2y2 *X2y2Filterer) WatchEvFeeCapUpdate(opts *bind.WatchOpts, sink chan<- *X2y2EvFeeCapUpdate) (event.Subscription, error)
- func (_X2y2 *X2y2Filterer) WatchEvInventory(opts *bind.WatchOpts, sink chan<- *X2y2EvInventory, itemHash [][32]byte) (event.Subscription, error)
- func (_X2y2 *X2y2Filterer) WatchEvProfit(opts *bind.WatchOpts, sink chan<- *X2y2EvProfit) (event.Subscription, error)
- func (_X2y2 *X2y2Filterer) WatchEvSigner(opts *bind.WatchOpts, sink chan<- *X2y2EvSigner) (event.Subscription, error)
- func (_X2y2 *X2y2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *X2y2OwnershipTransferred, ...) (event.Subscription, error)
- func (_X2y2 *X2y2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *X2y2Paused) (event.Subscription, error)
- func (_X2y2 *X2y2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *X2y2Unpaused) (event.Subscription, error)
- type X2y2OwnershipTransferred
- type X2y2OwnershipTransferredIterator
- type X2y2Paused
- type X2y2PausedIterator
- type X2y2Raw
- func (_X2y2 *X2y2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_X2y2 *X2y2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_X2y2 *X2y2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type X2y2Session
- func (_X2y2 *X2y2Session) Cancel(itemHashes [][32]byte, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_X2y2 *X2y2Session) Delegates(arg0 common.Address) (bool, error)
- func (_X2y2 *X2y2Session) FeeCapPct() (*big.Int, error)
- func (_X2y2 *X2y2Session) Initialize(feeCapPct_ *big.Int, weth_ common.Address) (*types.Transaction, error)
- func (_X2y2 *X2y2Session) InventoryStatus(arg0 [32]byte) (uint8, error)
- func (_X2y2 *X2y2Session) OngoingAuctions(arg0 [32]byte) (struct{ ... }, error)
- func (_X2y2 *X2y2Session) Owner() (common.Address, error)
- func (_X2y2 *X2y2Session) Pause() (*types.Transaction, error)
- func (_X2y2 *X2y2Session) Paused() (bool, error)
- func (_X2y2 *X2y2Session) RATEBASE() (*big.Int, error)
- func (_X2y2 *X2y2Session) Receive() (*types.Transaction, error)
- func (_X2y2 *X2y2Session) RenounceOwnership() (*types.Transaction, error)
- func (_X2y2 *X2y2Session) Run(input MarketRunInput) (*types.Transaction, error)
- func (_X2y2 *X2y2Session) Run1(order MarketOrder, shared MarketSettleShared, detail MarketSettleDetail) (*types.Transaction, error)
- func (_X2y2 *X2y2Session) Signers(arg0 common.Address) (bool, error)
- func (_X2y2 *X2y2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_X2y2 *X2y2Session) Unpause() (*types.Transaction, error)
- func (_X2y2 *X2y2Session) UpdateDelegates(toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
- func (_X2y2 *X2y2Session) UpdateFeeCap(val *big.Int) (*types.Transaction, error)
- func (_X2y2 *X2y2Session) UpdateSigners(toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
- func (_X2y2 *X2y2Session) Weth() (common.Address, error)
- type X2y2Transactor
- func (_X2y2 *X2y2Transactor) Cancel(opts *bind.TransactOpts, itemHashes [][32]byte, deadline *big.Int, v uint8, ...) (*types.Transaction, error)
- func (_X2y2 *X2y2Transactor) Initialize(opts *bind.TransactOpts, feeCapPct_ *big.Int, weth_ common.Address) (*types.Transaction, error)
- func (_X2y2 *X2y2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_X2y2 *X2y2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_X2y2 *X2y2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_X2y2 *X2y2Transactor) Run(opts *bind.TransactOpts, input MarketRunInput) (*types.Transaction, error)
- func (_X2y2 *X2y2Transactor) Run1(opts *bind.TransactOpts, order MarketOrder, shared MarketSettleShared, ...) (*types.Transaction, error)
- func (_X2y2 *X2y2Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_X2y2 *X2y2Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_X2y2 *X2y2Transactor) UpdateDelegates(opts *bind.TransactOpts, toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
- func (_X2y2 *X2y2Transactor) UpdateFeeCap(opts *bind.TransactOpts, val *big.Int) (*types.Transaction, error)
- func (_X2y2 *X2y2Transactor) UpdateSigners(opts *bind.TransactOpts, toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
- type X2y2TransactorRaw
- type X2y2TransactorSession
- func (_X2y2 *X2y2TransactorSession) Cancel(itemHashes [][32]byte, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_X2y2 *X2y2TransactorSession) Initialize(feeCapPct_ *big.Int, weth_ common.Address) (*types.Transaction, error)
- func (_X2y2 *X2y2TransactorSession) Pause() (*types.Transaction, error)
- func (_X2y2 *X2y2TransactorSession) Receive() (*types.Transaction, error)
- func (_X2y2 *X2y2TransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_X2y2 *X2y2TransactorSession) Run(input MarketRunInput) (*types.Transaction, error)
- func (_X2y2 *X2y2TransactorSession) Run1(order MarketOrder, shared MarketSettleShared, detail MarketSettleDetail) (*types.Transaction, error)
- func (_X2y2 *X2y2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_X2y2 *X2y2TransactorSession) Unpause() (*types.Transaction, error)
- func (_X2y2 *X2y2TransactorSession) UpdateDelegates(toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
- func (_X2y2 *X2y2TransactorSession) UpdateFeeCap(val *big.Int) (*types.Transaction, error)
- func (_X2y2 *X2y2TransactorSession) UpdateSigners(toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
- type X2y2Unpaused
- type X2y2UnpausedIterator
Constants ¶
This section is empty.
Variables ¶
var X2y2ABI = X2y2MetaData.ABI
X2y2ABI is the input ABI used to generate the binding from. Deprecated: Use X2y2MetaData.ABI instead.
var X2y2MetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"itemHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"incentive\",\"type\":\"uint256\"}],\"name\":\"EvAuctionRefund\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"itemHash\",\"type\":\"bytes32\"}],\"name\":\"EvCancel\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isRemoval\",\"type\":\"bool\"}],\"name\":\"EvDelegate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"error\",\"type\":\"bytes\"}],\"name\":\"EvFailure\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newValue\",\"type\":\"uint256\"}],\"name\":\"EvFeeCapUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"itemHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"maker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"taker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"orderSalt\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"settleSalt\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"intent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"delegateType\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"contractIERC20Upgradeable\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"dataMask\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"structMarket.OrderItem\",\"name\":\"item\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"enumMarket.Op\",\"name\":\"op\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"orderIdx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIdx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"itemHash\",\"type\":\"bytes32\"},{\"internalType\":\"contractIDelegate\",\"name\":\"executionDelegate\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"dataReplacement\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"bidIncentivePct\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"aucMinIncrementPct\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"aucIncDurationSecs\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"percentage\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"internalType\":\"structMarket.Fee[]\",\"name\":\"fees\",\"type\":\"tuple[]\"}],\"indexed\":false,\"internalType\":\"structMarket.SettleDetail\",\"name\":\"detail\",\"type\":\"tuple\"}],\"name\":\"EvInventory\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"itemHash\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EvProfit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isRemoval\",\"type\":\"bool\"}],\"name\":\"EvSigner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"RATE_BASE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"itemHashes\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"cancel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCapPct\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"feeCapPct_\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"weth_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"inventoryStatus\",\"outputs\":[{\"internalType\":\"enumMarket.InvStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"ongoingAuctions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"netPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endAt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"bidder\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"network\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"intent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"delegateType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20Upgradeable\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"dataMask\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structMarket.OrderItem[]\",\"name\":\"items\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"signVersion\",\"type\":\"uint8\"}],\"internalType\":\"structMarket.Order[]\",\"name\":\"orders\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"enumMarket.Op\",\"name\":\"op\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"orderIdx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIdx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"itemHash\",\"type\":\"bytes32\"},{\"internalType\":\"contractIDelegate\",\"name\":\"executionDelegate\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"dataReplacement\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"bidIncentivePct\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"aucMinIncrementPct\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"aucIncDurationSecs\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"percentage\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"internalType\":\"structMarket.Fee[]\",\"name\":\"fees\",\"type\":\"tuple[]\"}],\"internalType\":\"structMarket.SettleDetail[]\",\"name\":\"details\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountToEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountToWeth\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"canFail\",\"type\":\"bool\"}],\"internalType\":\"structMarket.SettleShared\",\"name\":\"shared\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"}],\"internalType\":\"structMarket.RunInput\",\"name\":\"input\",\"type\":\"tuple\"}],\"name\":\"run\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"network\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"intent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"delegateType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20Upgradeable\",\"name\":\"currency\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"dataMask\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structMarket.OrderItem[]\",\"name\":\"items\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"signVersion\",\"type\":\"uint8\"}],\"internalType\":\"structMarket.Order\",\"name\":\"order\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountToEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountToWeth\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"canFail\",\"type\":\"bool\"}],\"internalType\":\"structMarket.SettleShared\",\"name\":\"shared\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"enumMarket.Op\",\"name\":\"op\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"orderIdx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"itemIdx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"itemHash\",\"type\":\"bytes32\"},{\"internalType\":\"contractIDelegate\",\"name\":\"executionDelegate\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"dataReplacement\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"bidIncentivePct\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"aucMinIncrementPct\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"aucIncDurationSecs\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"percentage\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"internalType\":\"structMarket.Fee[]\",\"name\":\"fees\",\"type\":\"tuple[]\"}],\"internalType\":\"structMarket.SettleDetail\",\"name\":\"detail\",\"type\":\"tuple\"}],\"name\":\"run1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"signers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"toAdd\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"toRemove\",\"type\":\"address[]\"}],\"name\":\"updateDelegates\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"val\",\"type\":\"uint256\"}],\"name\":\"updateFeeCap\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"toAdd\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"toRemove\",\"type\":\"address[]\"}],\"name\":\"updateSigners\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"weth\",\"outputs\":[{\"internalType\":\"contractIWETHUpgradable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
X2y2MetaData contains all meta data concerning the X2y2 contract.
Functions ¶
This section is empty.
Types ¶
type MarketOrder ¶
type MarketOrder struct { Salt *big.Int User common.Address Network *big.Int Intent *big.Int DelegateType *big.Int Deadline *big.Int Currency common.Address DataMask []byte Items []MarketOrderItem R [32]byte S [32]byte V uint8 SignVersion uint8 }
MarketOrder is an auto generated low-level Go binding around an user-defined struct.
type MarketOrderItem ¶
MarketOrderItem is an auto generated low-level Go binding around an user-defined struct.
type MarketRunInput ¶
type MarketRunInput struct { Orders []MarketOrder Details []MarketSettleDetail R [32]byte S [32]byte V uint8 }
MarketRunInput is an auto generated low-level Go binding around an user-defined struct.
type MarketSettleDetail ¶
type MarketSettleDetail struct { Op uint8 OrderIdx *big.Int ItemIdx *big.Int Price *big.Int ItemHash [32]byte ExecutionDelegate common.Address DataReplacement []byte BidIncentivePct *big.Int AucMinIncrementPct *big.Int AucIncDurationSecs *big.Int Fees []MarketFee }
MarketSettleDetail is an auto generated low-level Go binding around an user-defined struct.
type MarketSettleShared ¶
type MarketSettleShared struct {}
MarketSettleShared is an auto generated low-level Go binding around an user-defined struct.
type X2y2 ¶
type X2y2 struct { X2y2Caller // Read-only binding to the contract X2y2Transactor // Write-only binding to the contract X2y2Filterer // Log filterer for contract events }
X2y2 is an auto generated Go binding around an Ethereum contract.
type X2y2Caller ¶
type X2y2Caller struct {
// contains filtered or unexported fields
}
X2y2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewX2y2Caller ¶
func NewX2y2Caller(address common.Address, caller bind.ContractCaller) (*X2y2Caller, error)
NewX2y2Caller creates a new read-only instance of X2y2, bound to a specific deployed contract.
func (*X2y2Caller) Delegates ¶
Delegates is a free data retrieval call binding the contract method 0x587cde1e.
Solidity: function delegates(address ) view returns(bool)
func (*X2y2Caller) FeeCapPct ¶
FeeCapPct is a free data retrieval call binding the contract method 0x9fb51467.
Solidity: function feeCapPct() view returns(uint256)
func (*X2y2Caller) InventoryStatus ¶
InventoryStatus is a free data retrieval call binding the contract method 0x912c860c.
Solidity: function inventoryStatus(bytes32 ) view returns(uint8)
func (*X2y2Caller) OngoingAuctions ¶
func (_X2y2 *X2y2Caller) OngoingAuctions(opts *bind.CallOpts, arg0 [32]byte) (struct { Price *big.Int NetPrice *big.Int EndAt *big.Int Bidder common.Address }, error)
OngoingAuctions is a free data retrieval call binding the contract method 0xea805917.
Solidity: function ongoingAuctions(bytes32 ) view returns(uint256 price, uint256 netPrice, uint256 endAt, address bidder)
func (*X2y2Caller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*X2y2Caller) Paused ¶
func (_X2y2 *X2y2Caller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*X2y2Caller) RATEBASE ¶
RATEBASE is a free data retrieval call binding the contract method 0x0873c6ec.
Solidity: function RATE_BASE() view returns(uint256)
type X2y2CallerRaw ¶
type X2y2CallerRaw struct {
Contract *X2y2Caller // Generic read-only contract binding to access the raw methods on
}
X2y2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*X2y2CallerRaw) Call ¶
func (_X2y2 *X2y2CallerRaw) 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 X2y2CallerSession ¶
type X2y2CallerSession struct { Contract *X2y2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
X2y2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*X2y2CallerSession) Delegates ¶
func (_X2y2 *X2y2CallerSession) Delegates(arg0 common.Address) (bool, error)
Delegates is a free data retrieval call binding the contract method 0x587cde1e.
Solidity: function delegates(address ) view returns(bool)
func (*X2y2CallerSession) FeeCapPct ¶
func (_X2y2 *X2y2CallerSession) FeeCapPct() (*big.Int, error)
FeeCapPct is a free data retrieval call binding the contract method 0x9fb51467.
Solidity: function feeCapPct() view returns(uint256)
func (*X2y2CallerSession) InventoryStatus ¶
func (_X2y2 *X2y2CallerSession) InventoryStatus(arg0 [32]byte) (uint8, error)
InventoryStatus is a free data retrieval call binding the contract method 0x912c860c.
Solidity: function inventoryStatus(bytes32 ) view returns(uint8)
func (*X2y2CallerSession) OngoingAuctions ¶
func (_X2y2 *X2y2CallerSession) OngoingAuctions(arg0 [32]byte) (struct { Price *big.Int NetPrice *big.Int EndAt *big.Int Bidder common.Address }, error)
OngoingAuctions is a free data retrieval call binding the contract method 0xea805917.
Solidity: function ongoingAuctions(bytes32 ) view returns(uint256 price, uint256 netPrice, uint256 endAt, address bidder)
func (*X2y2CallerSession) Owner ¶
func (_X2y2 *X2y2CallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*X2y2CallerSession) Paused ¶
func (_X2y2 *X2y2CallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*X2y2CallerSession) RATEBASE ¶
func (_X2y2 *X2y2CallerSession) RATEBASE() (*big.Int, error)
RATEBASE is a free data retrieval call binding the contract method 0x0873c6ec.
Solidity: function RATE_BASE() view returns(uint256)
type X2y2EvAuctionRefund ¶
type X2y2EvAuctionRefund struct { ItemHash [32]byte Currency common.Address To common.Address Amount *big.Int Incentive *big.Int Raw types.Log // Blockchain specific contextual infos }
X2y2EvAuctionRefund represents a EvAuctionRefund event raised by the X2y2 contract.
type X2y2EvAuctionRefundIterator ¶
type X2y2EvAuctionRefundIterator struct { Event *X2y2EvAuctionRefund // Event containing the contract specifics and raw log // contains filtered or unexported fields }
X2y2EvAuctionRefundIterator is returned from FilterEvAuctionRefund and is used to iterate over the raw logs and unpacked data for EvAuctionRefund events raised by the X2y2 contract.
func (*X2y2EvAuctionRefundIterator) Close ¶
func (it *X2y2EvAuctionRefundIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*X2y2EvAuctionRefundIterator) Error ¶
func (it *X2y2EvAuctionRefundIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*X2y2EvAuctionRefundIterator) Next ¶
func (it *X2y2EvAuctionRefundIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type X2y2EvCancel ¶
type X2y2EvCancel struct { ItemHash [32]byte Raw types.Log // Blockchain specific contextual infos }
X2y2EvCancel represents a EvCancel event raised by the X2y2 contract.
type X2y2EvCancelIterator ¶
type X2y2EvCancelIterator struct { Event *X2y2EvCancel // Event containing the contract specifics and raw log // contains filtered or unexported fields }
X2y2EvCancelIterator is returned from FilterEvCancel and is used to iterate over the raw logs and unpacked data for EvCancel events raised by the X2y2 contract.
func (*X2y2EvCancelIterator) Close ¶
func (it *X2y2EvCancelIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*X2y2EvCancelIterator) Error ¶
func (it *X2y2EvCancelIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*X2y2EvCancelIterator) Next ¶
func (it *X2y2EvCancelIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type X2y2EvDelegate ¶
type X2y2EvDelegate struct { Delegate common.Address IsRemoval bool Raw types.Log // Blockchain specific contextual infos }
X2y2EvDelegate represents a EvDelegate event raised by the X2y2 contract.
type X2y2EvDelegateIterator ¶
type X2y2EvDelegateIterator struct { Event *X2y2EvDelegate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
X2y2EvDelegateIterator is returned from FilterEvDelegate and is used to iterate over the raw logs and unpacked data for EvDelegate events raised by the X2y2 contract.
func (*X2y2EvDelegateIterator) Close ¶
func (it *X2y2EvDelegateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*X2y2EvDelegateIterator) Error ¶
func (it *X2y2EvDelegateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*X2y2EvDelegateIterator) Next ¶
func (it *X2y2EvDelegateIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type X2y2EvFailure ¶
type X2y2EvFailure struct { Index *big.Int Error []byte Raw types.Log // Blockchain specific contextual infos }
X2y2EvFailure represents a EvFailure event raised by the X2y2 contract.
type X2y2EvFailureIterator ¶
type X2y2EvFailureIterator struct { Event *X2y2EvFailure // Event containing the contract specifics and raw log // contains filtered or unexported fields }
X2y2EvFailureIterator is returned from FilterEvFailure and is used to iterate over the raw logs and unpacked data for EvFailure events raised by the X2y2 contract.
func (*X2y2EvFailureIterator) Close ¶
func (it *X2y2EvFailureIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*X2y2EvFailureIterator) Error ¶
func (it *X2y2EvFailureIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*X2y2EvFailureIterator) Next ¶
func (it *X2y2EvFailureIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type X2y2EvFeeCapUpdate ¶
type X2y2EvFeeCapUpdate struct { NewValue *big.Int Raw types.Log // Blockchain specific contextual infos }
X2y2EvFeeCapUpdate represents a EvFeeCapUpdate event raised by the X2y2 contract.
type X2y2EvFeeCapUpdateIterator ¶
type X2y2EvFeeCapUpdateIterator struct { Event *X2y2EvFeeCapUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
X2y2EvFeeCapUpdateIterator is returned from FilterEvFeeCapUpdate and is used to iterate over the raw logs and unpacked data for EvFeeCapUpdate events raised by the X2y2 contract.
func (*X2y2EvFeeCapUpdateIterator) Close ¶
func (it *X2y2EvFeeCapUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*X2y2EvFeeCapUpdateIterator) Error ¶
func (it *X2y2EvFeeCapUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*X2y2EvFeeCapUpdateIterator) Next ¶
func (it *X2y2EvFeeCapUpdateIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type X2y2EvInventory ¶
type X2y2EvInventory struct { ItemHash [32]byte Maker common.Address Taker common.Address OrderSalt *big.Int SettleSalt *big.Int Intent *big.Int DelegateType *big.Int Deadline *big.Int Currency common.Address DataMask []byte Item MarketOrderItem Detail MarketSettleDetail Raw types.Log // Blockchain specific contextual infos }
X2y2EvInventory represents a EvInventory event raised by the X2y2 contract.
type X2y2EvInventoryIterator ¶
type X2y2EvInventoryIterator struct { Event *X2y2EvInventory // Event containing the contract specifics and raw log // contains filtered or unexported fields }
X2y2EvInventoryIterator is returned from FilterEvInventory and is used to iterate over the raw logs and unpacked data for EvInventory events raised by the X2y2 contract.
func (*X2y2EvInventoryIterator) Close ¶
func (it *X2y2EvInventoryIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*X2y2EvInventoryIterator) Error ¶
func (it *X2y2EvInventoryIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*X2y2EvInventoryIterator) Next ¶
func (it *X2y2EvInventoryIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type X2y2EvProfit ¶
type X2y2EvProfit struct { ItemHash [32]byte Currency common.Address To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
X2y2EvProfit represents a EvProfit event raised by the X2y2 contract.
type X2y2EvProfitIterator ¶
type X2y2EvProfitIterator struct { Event *X2y2EvProfit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
X2y2EvProfitIterator is returned from FilterEvProfit and is used to iterate over the raw logs and unpacked data for EvProfit events raised by the X2y2 contract.
func (*X2y2EvProfitIterator) Close ¶
func (it *X2y2EvProfitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*X2y2EvProfitIterator) Error ¶
func (it *X2y2EvProfitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*X2y2EvProfitIterator) Next ¶
func (it *X2y2EvProfitIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type X2y2EvSigner ¶
type X2y2EvSigner struct { Signer common.Address IsRemoval bool Raw types.Log // Blockchain specific contextual infos }
X2y2EvSigner represents a EvSigner event raised by the X2y2 contract.
type X2y2EvSignerIterator ¶
type X2y2EvSignerIterator struct { Event *X2y2EvSigner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
X2y2EvSignerIterator is returned from FilterEvSigner and is used to iterate over the raw logs and unpacked data for EvSigner events raised by the X2y2 contract.
func (*X2y2EvSignerIterator) Close ¶
func (it *X2y2EvSignerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*X2y2EvSignerIterator) Error ¶
func (it *X2y2EvSignerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*X2y2EvSignerIterator) Next ¶
func (it *X2y2EvSignerIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type X2y2Filterer ¶
type X2y2Filterer struct {
// contains filtered or unexported fields
}
X2y2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewX2y2Filterer ¶
func NewX2y2Filterer(address common.Address, filterer bind.ContractFilterer) (*X2y2Filterer, error)
NewX2y2Filterer creates a new log filterer instance of X2y2, bound to a specific deployed contract.
func (*X2y2Filterer) FilterEvAuctionRefund ¶
func (_X2y2 *X2y2Filterer) FilterEvAuctionRefund(opts *bind.FilterOpts, itemHash [][32]byte) (*X2y2EvAuctionRefundIterator, error)
FilterEvAuctionRefund is a free log retrieval operation binding the contract event 0x681e2055b67e23ce693a446bd0567fb9df559ce6f82da4397482bad968551ac2.
Solidity: event EvAuctionRefund(bytes32 indexed itemHash, address currency, address to, uint256 amount, uint256 incentive)
func (*X2y2Filterer) FilterEvCancel ¶
func (_X2y2 *X2y2Filterer) FilterEvCancel(opts *bind.FilterOpts, itemHash [][32]byte) (*X2y2EvCancelIterator, error)
FilterEvCancel is a free log retrieval operation binding the contract event 0x5b0b06d07e20243724d90e17a20034972f339eb28bd1c9437a71999bd15a1e7a.
Solidity: event EvCancel(bytes32 indexed itemHash)
func (*X2y2Filterer) FilterEvDelegate ¶
func (_X2y2 *X2y2Filterer) FilterEvDelegate(opts *bind.FilterOpts) (*X2y2EvDelegateIterator, error)
FilterEvDelegate is a free log retrieval operation binding the contract event 0x4a31a64b928a0e8aff42ef84d144ffe82d08cb41c8027060593135e2026899b2.
Solidity: event EvDelegate(address delegate, bool isRemoval)
func (*X2y2Filterer) FilterEvFailure ¶
func (_X2y2 *X2y2Filterer) FilterEvFailure(opts *bind.FilterOpts) (*X2y2EvFailureIterator, error)
FilterEvFailure is a free log retrieval operation binding the contract event 0x97c789f43a3e7ac27906b5fbdac832f54441771021fba06f71207d9be6d4b623.
Solidity: event EvFailure(uint256 index, bytes error)
func (*X2y2Filterer) FilterEvFeeCapUpdate ¶
func (_X2y2 *X2y2Filterer) FilterEvFeeCapUpdate(opts *bind.FilterOpts) (*X2y2EvFeeCapUpdateIterator, error)
FilterEvFeeCapUpdate is a free log retrieval operation binding the contract event 0x19fc3beddeea399f0966d5f8664ad94006f16a10fb28c4e2fe6fae62626b7128.
Solidity: event EvFeeCapUpdate(uint256 newValue)
func (*X2y2Filterer) FilterEvInventory ¶
func (_X2y2 *X2y2Filterer) FilterEvInventory(opts *bind.FilterOpts, itemHash [][32]byte) (*X2y2EvInventoryIterator, error)
FilterEvInventory is a free log retrieval operation binding the contract event 0x3cbb63f144840e5b1b0a38a7c19211d2e89de4d7c5faf8b2d3c1776c302d1d33.
Solidity: event EvInventory(bytes32 indexed itemHash, address maker, address taker, uint256 orderSalt, uint256 settleSalt, uint256 intent, uint256 delegateType, uint256 deadline, address currency, bytes dataMask, (uint256,bytes) item, (uint8,uint256,uint256,uint256,bytes32,address,bytes,uint256,uint256,uint256,(uint256,address)[]) detail)
func (*X2y2Filterer) FilterEvProfit ¶
func (_X2y2 *X2y2Filterer) FilterEvProfit(opts *bind.FilterOpts) (*X2y2EvProfitIterator, error)
FilterEvProfit is a free log retrieval operation binding the contract event 0xe2c49856b032c255ae7e325d18109bc4e22a2804e2e49a017ec0f59f19cd447b.
Solidity: event EvProfit(bytes32 itemHash, address currency, address to, uint256 amount)
func (*X2y2Filterer) FilterEvSigner ¶
func (_X2y2 *X2y2Filterer) FilterEvSigner(opts *bind.FilterOpts) (*X2y2EvSignerIterator, error)
FilterEvSigner is a free log retrieval operation binding the contract event 0x0127aee741cbb6bc48b5475b8eb3eb2e5d053809d551dedd517a0b5b52b80fd5.
Solidity: event EvSigner(address signer, bool isRemoval)
func (*X2y2Filterer) FilterOwnershipTransferred ¶
func (_X2y2 *X2y2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*X2y2OwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*X2y2Filterer) FilterPaused ¶
func (_X2y2 *X2y2Filterer) FilterPaused(opts *bind.FilterOpts) (*X2y2PausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*X2y2Filterer) FilterUnpaused ¶
func (_X2y2 *X2y2Filterer) FilterUnpaused(opts *bind.FilterOpts) (*X2y2UnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*X2y2Filterer) ParseEvAuctionRefund ¶
func (_X2y2 *X2y2Filterer) ParseEvAuctionRefund(log types.Log) (*X2y2EvAuctionRefund, error)
ParseEvAuctionRefund is a log parse operation binding the contract event 0x681e2055b67e23ce693a446bd0567fb9df559ce6f82da4397482bad968551ac2.
Solidity: event EvAuctionRefund(bytes32 indexed itemHash, address currency, address to, uint256 amount, uint256 incentive)
func (*X2y2Filterer) ParseEvCancel ¶
func (_X2y2 *X2y2Filterer) ParseEvCancel(log types.Log) (*X2y2EvCancel, error)
ParseEvCancel is a log parse operation binding the contract event 0x5b0b06d07e20243724d90e17a20034972f339eb28bd1c9437a71999bd15a1e7a.
Solidity: event EvCancel(bytes32 indexed itemHash)
func (*X2y2Filterer) ParseEvDelegate ¶
func (_X2y2 *X2y2Filterer) ParseEvDelegate(log types.Log) (*X2y2EvDelegate, error)
ParseEvDelegate is a log parse operation binding the contract event 0x4a31a64b928a0e8aff42ef84d144ffe82d08cb41c8027060593135e2026899b2.
Solidity: event EvDelegate(address delegate, bool isRemoval)
func (*X2y2Filterer) ParseEvFailure ¶
func (_X2y2 *X2y2Filterer) ParseEvFailure(log types.Log) (*X2y2EvFailure, error)
ParseEvFailure is a log parse operation binding the contract event 0x97c789f43a3e7ac27906b5fbdac832f54441771021fba06f71207d9be6d4b623.
Solidity: event EvFailure(uint256 index, bytes error)
func (*X2y2Filterer) ParseEvFeeCapUpdate ¶
func (_X2y2 *X2y2Filterer) ParseEvFeeCapUpdate(log types.Log) (*X2y2EvFeeCapUpdate, error)
ParseEvFeeCapUpdate is a log parse operation binding the contract event 0x19fc3beddeea399f0966d5f8664ad94006f16a10fb28c4e2fe6fae62626b7128.
Solidity: event EvFeeCapUpdate(uint256 newValue)
func (*X2y2Filterer) ParseEvInventory ¶
func (_X2y2 *X2y2Filterer) ParseEvInventory(log types.Log) (*X2y2EvInventory, error)
ParseEvInventory is a log parse operation binding the contract event 0x3cbb63f144840e5b1b0a38a7c19211d2e89de4d7c5faf8b2d3c1776c302d1d33.
Solidity: event EvInventory(bytes32 indexed itemHash, address maker, address taker, uint256 orderSalt, uint256 settleSalt, uint256 intent, uint256 delegateType, uint256 deadline, address currency, bytes dataMask, (uint256,bytes) item, (uint8,uint256,uint256,uint256,bytes32,address,bytes,uint256,uint256,uint256,(uint256,address)[]) detail)
func (*X2y2Filterer) ParseEvProfit ¶
func (_X2y2 *X2y2Filterer) ParseEvProfit(log types.Log) (*X2y2EvProfit, error)
ParseEvProfit is a log parse operation binding the contract event 0xe2c49856b032c255ae7e325d18109bc4e22a2804e2e49a017ec0f59f19cd447b.
Solidity: event EvProfit(bytes32 itemHash, address currency, address to, uint256 amount)
func (*X2y2Filterer) ParseEvSigner ¶
func (_X2y2 *X2y2Filterer) ParseEvSigner(log types.Log) (*X2y2EvSigner, error)
ParseEvSigner is a log parse operation binding the contract event 0x0127aee741cbb6bc48b5475b8eb3eb2e5d053809d551dedd517a0b5b52b80fd5.
Solidity: event EvSigner(address signer, bool isRemoval)
func (*X2y2Filterer) ParseOwnershipTransferred ¶
func (_X2y2 *X2y2Filterer) ParseOwnershipTransferred(log types.Log) (*X2y2OwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*X2y2Filterer) ParsePaused ¶
func (_X2y2 *X2y2Filterer) ParsePaused(log types.Log) (*X2y2Paused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*X2y2Filterer) ParseUnpaused ¶
func (_X2y2 *X2y2Filterer) ParseUnpaused(log types.Log) (*X2y2Unpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*X2y2Filterer) WatchEvAuctionRefund ¶
func (_X2y2 *X2y2Filterer) WatchEvAuctionRefund(opts *bind.WatchOpts, sink chan<- *X2y2EvAuctionRefund, itemHash [][32]byte) (event.Subscription, error)
WatchEvAuctionRefund is a free log subscription operation binding the contract event 0x681e2055b67e23ce693a446bd0567fb9df559ce6f82da4397482bad968551ac2.
Solidity: event EvAuctionRefund(bytes32 indexed itemHash, address currency, address to, uint256 amount, uint256 incentive)
func (*X2y2Filterer) WatchEvCancel ¶
func (_X2y2 *X2y2Filterer) WatchEvCancel(opts *bind.WatchOpts, sink chan<- *X2y2EvCancel, itemHash [][32]byte) (event.Subscription, error)
WatchEvCancel is a free log subscription operation binding the contract event 0x5b0b06d07e20243724d90e17a20034972f339eb28bd1c9437a71999bd15a1e7a.
Solidity: event EvCancel(bytes32 indexed itemHash)
func (*X2y2Filterer) WatchEvDelegate ¶
func (_X2y2 *X2y2Filterer) WatchEvDelegate(opts *bind.WatchOpts, sink chan<- *X2y2EvDelegate) (event.Subscription, error)
WatchEvDelegate is a free log subscription operation binding the contract event 0x4a31a64b928a0e8aff42ef84d144ffe82d08cb41c8027060593135e2026899b2.
Solidity: event EvDelegate(address delegate, bool isRemoval)
func (*X2y2Filterer) WatchEvFailure ¶
func (_X2y2 *X2y2Filterer) WatchEvFailure(opts *bind.WatchOpts, sink chan<- *X2y2EvFailure) (event.Subscription, error)
WatchEvFailure is a free log subscription operation binding the contract event 0x97c789f43a3e7ac27906b5fbdac832f54441771021fba06f71207d9be6d4b623.
Solidity: event EvFailure(uint256 index, bytes error)
func (*X2y2Filterer) WatchEvFeeCapUpdate ¶
func (_X2y2 *X2y2Filterer) WatchEvFeeCapUpdate(opts *bind.WatchOpts, sink chan<- *X2y2EvFeeCapUpdate) (event.Subscription, error)
WatchEvFeeCapUpdate is a free log subscription operation binding the contract event 0x19fc3beddeea399f0966d5f8664ad94006f16a10fb28c4e2fe6fae62626b7128.
Solidity: event EvFeeCapUpdate(uint256 newValue)
func (*X2y2Filterer) WatchEvInventory ¶
func (_X2y2 *X2y2Filterer) WatchEvInventory(opts *bind.WatchOpts, sink chan<- *X2y2EvInventory, itemHash [][32]byte) (event.Subscription, error)
WatchEvInventory is a free log subscription operation binding the contract event 0x3cbb63f144840e5b1b0a38a7c19211d2e89de4d7c5faf8b2d3c1776c302d1d33.
Solidity: event EvInventory(bytes32 indexed itemHash, address maker, address taker, uint256 orderSalt, uint256 settleSalt, uint256 intent, uint256 delegateType, uint256 deadline, address currency, bytes dataMask, (uint256,bytes) item, (uint8,uint256,uint256,uint256,bytes32,address,bytes,uint256,uint256,uint256,(uint256,address)[]) detail)
func (*X2y2Filterer) WatchEvProfit ¶
func (_X2y2 *X2y2Filterer) WatchEvProfit(opts *bind.WatchOpts, sink chan<- *X2y2EvProfit) (event.Subscription, error)
WatchEvProfit is a free log subscription operation binding the contract event 0xe2c49856b032c255ae7e325d18109bc4e22a2804e2e49a017ec0f59f19cd447b.
Solidity: event EvProfit(bytes32 itemHash, address currency, address to, uint256 amount)
func (*X2y2Filterer) WatchEvSigner ¶
func (_X2y2 *X2y2Filterer) WatchEvSigner(opts *bind.WatchOpts, sink chan<- *X2y2EvSigner) (event.Subscription, error)
WatchEvSigner is a free log subscription operation binding the contract event 0x0127aee741cbb6bc48b5475b8eb3eb2e5d053809d551dedd517a0b5b52b80fd5.
Solidity: event EvSigner(address signer, bool isRemoval)
func (*X2y2Filterer) WatchOwnershipTransferred ¶
func (_X2y2 *X2y2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *X2y2OwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*X2y2Filterer) WatchPaused ¶
func (_X2y2 *X2y2Filterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *X2y2Paused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*X2y2Filterer) WatchUnpaused ¶
func (_X2y2 *X2y2Filterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *X2y2Unpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type X2y2OwnershipTransferred ¶
type X2y2OwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
X2y2OwnershipTransferred represents a OwnershipTransferred event raised by the X2y2 contract.
type X2y2OwnershipTransferredIterator ¶
type X2y2OwnershipTransferredIterator struct { Event *X2y2OwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
X2y2OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the X2y2 contract.
func (*X2y2OwnershipTransferredIterator) Close ¶
func (it *X2y2OwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*X2y2OwnershipTransferredIterator) Error ¶
func (it *X2y2OwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*X2y2OwnershipTransferredIterator) Next ¶
func (it *X2y2OwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type X2y2Paused ¶
type X2y2Paused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
X2y2Paused represents a Paused event raised by the X2y2 contract.
type X2y2PausedIterator ¶
type X2y2PausedIterator struct { Event *X2y2Paused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
X2y2PausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the X2y2 contract.
func (*X2y2PausedIterator) Close ¶
func (it *X2y2PausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*X2y2PausedIterator) Error ¶
func (it *X2y2PausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*X2y2PausedIterator) Next ¶
func (it *X2y2PausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type X2y2Raw ¶
type X2y2Raw struct {
Contract *X2y2 // Generic contract binding to access the raw methods on
}
X2y2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*X2y2Raw) Call ¶
func (_X2y2 *X2y2Raw) 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 (*X2y2Raw) Transact ¶
func (_X2y2 *X2y2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*X2y2Raw) Transfer ¶
func (_X2y2 *X2y2Raw) 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 X2y2Session ¶
type X2y2Session struct { Contract *X2y2 // 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 }
X2y2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*X2y2Session) Cancel ¶
func (_X2y2 *X2y2Session) Cancel(itemHashes [][32]byte, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0x2295f9bf.
Solidity: function cancel(bytes32[] itemHashes, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*X2y2Session) Delegates ¶
func (_X2y2 *X2y2Session) Delegates(arg0 common.Address) (bool, error)
Delegates is a free data retrieval call binding the contract method 0x587cde1e.
Solidity: function delegates(address ) view returns(bool)
func (*X2y2Session) FeeCapPct ¶
func (_X2y2 *X2y2Session) FeeCapPct() (*big.Int, error)
FeeCapPct is a free data retrieval call binding the contract method 0x9fb51467.
Solidity: function feeCapPct() view returns(uint256)
func (*X2y2Session) Initialize ¶
func (_X2y2 *X2y2Session) Initialize(feeCapPct_ *big.Int, weth_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xda35a26f.
Solidity: function initialize(uint256 feeCapPct_, address weth_) returns()
func (*X2y2Session) InventoryStatus ¶
func (_X2y2 *X2y2Session) InventoryStatus(arg0 [32]byte) (uint8, error)
InventoryStatus is a free data retrieval call binding the contract method 0x912c860c.
Solidity: function inventoryStatus(bytes32 ) view returns(uint8)
func (*X2y2Session) OngoingAuctions ¶
func (_X2y2 *X2y2Session) OngoingAuctions(arg0 [32]byte) (struct { Price *big.Int NetPrice *big.Int EndAt *big.Int Bidder common.Address }, error)
OngoingAuctions is a free data retrieval call binding the contract method 0xea805917.
Solidity: function ongoingAuctions(bytes32 ) view returns(uint256 price, uint256 netPrice, uint256 endAt, address bidder)
func (*X2y2Session) Owner ¶
func (_X2y2 *X2y2Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*X2y2Session) Pause ¶
func (_X2y2 *X2y2Session) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*X2y2Session) Paused ¶
func (_X2y2 *X2y2Session) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*X2y2Session) RATEBASE ¶
func (_X2y2 *X2y2Session) RATEBASE() (*big.Int, error)
RATEBASE is a free data retrieval call binding the contract method 0x0873c6ec.
Solidity: function RATE_BASE() view returns(uint256)
func (*X2y2Session) Receive ¶
func (_X2y2 *X2y2Session) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*X2y2Session) RenounceOwnership ¶
func (_X2y2 *X2y2Session) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*X2y2Session) Run ¶
func (_X2y2 *X2y2Session) Run(input MarketRunInput) (*types.Transaction, error)
Run is a paid mutator transaction binding the contract method 0x357a150b.
Solidity: function run(((uint256,address,uint256,uint256,uint256,uint256,address,bytes,(uint256,bytes)[],bytes32,bytes32,uint8,uint8)[],(uint8,uint256,uint256,uint256,bytes32,address,bytes,uint256,uint256,uint256,(uint256,address)[])[],(uint256,uint256,uint256,uint256,address,bool),bytes32,bytes32,uint8) input) payable returns()
func (*X2y2Session) Run1 ¶
func (_X2y2 *X2y2Session) Run1(order MarketOrder, shared MarketSettleShared, detail MarketSettleDetail) (*types.Transaction, error)
Run1 is a paid mutator transaction binding the contract method 0xd95e3c54.
Solidity: function run1((uint256,address,uint256,uint256,uint256,uint256,address,bytes,(uint256,bytes)[],bytes32,bytes32,uint8,uint8) order, (uint256,uint256,uint256,uint256,address,bool) shared, (uint8,uint256,uint256,uint256,bytes32,address,bytes,uint256,uint256,uint256,(uint256,address)[]) detail) returns(uint256)
func (*X2y2Session) Signers ¶
func (_X2y2 *X2y2Session) Signers(arg0 common.Address) (bool, error)
Signers is a free data retrieval call binding the contract method 0x736c0d5b.
Solidity: function signers(address ) view returns(bool)
func (*X2y2Session) TransferOwnership ¶
func (_X2y2 *X2y2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*X2y2Session) Unpause ¶
func (_X2y2 *X2y2Session) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*X2y2Session) UpdateDelegates ¶
func (_X2y2 *X2y2Session) UpdateDelegates(toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
UpdateDelegates is a paid mutator transaction binding the contract method 0xe59f739a.
Solidity: function updateDelegates(address[] toAdd, address[] toRemove) returns()
func (*X2y2Session) UpdateFeeCap ¶
func (_X2y2 *X2y2Session) UpdateFeeCap(val *big.Int) (*types.Transaction, error)
UpdateFeeCap is a paid mutator transaction binding the contract method 0x95835fea.
Solidity: function updateFeeCap(uint256 val) returns()
func (*X2y2Session) UpdateSigners ¶
func (_X2y2 *X2y2Session) UpdateSigners(toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
UpdateSigners is a paid mutator transaction binding the contract method 0x350b2369.
Solidity: function updateSigners(address[] toAdd, address[] toRemove) returns()
type X2y2Transactor ¶
type X2y2Transactor struct {
// contains filtered or unexported fields
}
X2y2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewX2y2Transactor ¶
func NewX2y2Transactor(address common.Address, transactor bind.ContractTransactor) (*X2y2Transactor, error)
NewX2y2Transactor creates a new write-only instance of X2y2, bound to a specific deployed contract.
func (*X2y2Transactor) Cancel ¶
func (_X2y2 *X2y2Transactor) Cancel(opts *bind.TransactOpts, itemHashes [][32]byte, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0x2295f9bf.
Solidity: function cancel(bytes32[] itemHashes, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*X2y2Transactor) Initialize ¶
func (_X2y2 *X2y2Transactor) Initialize(opts *bind.TransactOpts, feeCapPct_ *big.Int, weth_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xda35a26f.
Solidity: function initialize(uint256 feeCapPct_, address weth_) returns()
func (*X2y2Transactor) Pause ¶
func (_X2y2 *X2y2Transactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*X2y2Transactor) Receive ¶
func (_X2y2 *X2y2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*X2y2Transactor) RenounceOwnership ¶
func (_X2y2 *X2y2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*X2y2Transactor) Run ¶
func (_X2y2 *X2y2Transactor) Run(opts *bind.TransactOpts, input MarketRunInput) (*types.Transaction, error)
Run is a paid mutator transaction binding the contract method 0x357a150b.
Solidity: function run(((uint256,address,uint256,uint256,uint256,uint256,address,bytes,(uint256,bytes)[],bytes32,bytes32,uint8,uint8)[],(uint8,uint256,uint256,uint256,bytes32,address,bytes,uint256,uint256,uint256,(uint256,address)[])[],(uint256,uint256,uint256,uint256,address,bool),bytes32,bytes32,uint8) input) payable returns()
func (*X2y2Transactor) Run1 ¶
func (_X2y2 *X2y2Transactor) Run1(opts *bind.TransactOpts, order MarketOrder, shared MarketSettleShared, detail MarketSettleDetail) (*types.Transaction, error)
Run1 is a paid mutator transaction binding the contract method 0xd95e3c54.
Solidity: function run1((uint256,address,uint256,uint256,uint256,uint256,address,bytes,(uint256,bytes)[],bytes32,bytes32,uint8,uint8) order, (uint256,uint256,uint256,uint256,address,bool) shared, (uint8,uint256,uint256,uint256,bytes32,address,bytes,uint256,uint256,uint256,(uint256,address)[]) detail) returns(uint256)
func (*X2y2Transactor) TransferOwnership ¶
func (_X2y2 *X2y2Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*X2y2Transactor) Unpause ¶
func (_X2y2 *X2y2Transactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*X2y2Transactor) UpdateDelegates ¶
func (_X2y2 *X2y2Transactor) UpdateDelegates(opts *bind.TransactOpts, toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
UpdateDelegates is a paid mutator transaction binding the contract method 0xe59f739a.
Solidity: function updateDelegates(address[] toAdd, address[] toRemove) returns()
func (*X2y2Transactor) UpdateFeeCap ¶
func (_X2y2 *X2y2Transactor) UpdateFeeCap(opts *bind.TransactOpts, val *big.Int) (*types.Transaction, error)
UpdateFeeCap is a paid mutator transaction binding the contract method 0x95835fea.
Solidity: function updateFeeCap(uint256 val) returns()
func (*X2y2Transactor) UpdateSigners ¶
func (_X2y2 *X2y2Transactor) UpdateSigners(opts *bind.TransactOpts, toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
UpdateSigners is a paid mutator transaction binding the contract method 0x350b2369.
Solidity: function updateSigners(address[] toAdd, address[] toRemove) returns()
type X2y2TransactorRaw ¶
type X2y2TransactorRaw struct {
Contract *X2y2Transactor // Generic write-only contract binding to access the raw methods on
}
X2y2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*X2y2TransactorRaw) Transact ¶
func (_X2y2 *X2y2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*X2y2TransactorRaw) Transfer ¶
func (_X2y2 *X2y2TransactorRaw) 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 X2y2TransactorSession ¶
type X2y2TransactorSession struct { Contract *X2y2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
X2y2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*X2y2TransactorSession) Cancel ¶
func (_X2y2 *X2y2TransactorSession) Cancel(itemHashes [][32]byte, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0x2295f9bf.
Solidity: function cancel(bytes32[] itemHashes, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*X2y2TransactorSession) Initialize ¶
func (_X2y2 *X2y2TransactorSession) Initialize(feeCapPct_ *big.Int, weth_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xda35a26f.
Solidity: function initialize(uint256 feeCapPct_, address weth_) returns()
func (*X2y2TransactorSession) Pause ¶
func (_X2y2 *X2y2TransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*X2y2TransactorSession) Receive ¶
func (_X2y2 *X2y2TransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*X2y2TransactorSession) RenounceOwnership ¶
func (_X2y2 *X2y2TransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*X2y2TransactorSession) Run ¶
func (_X2y2 *X2y2TransactorSession) Run(input MarketRunInput) (*types.Transaction, error)
Run is a paid mutator transaction binding the contract method 0x357a150b.
Solidity: function run(((uint256,address,uint256,uint256,uint256,uint256,address,bytes,(uint256,bytes)[],bytes32,bytes32,uint8,uint8)[],(uint8,uint256,uint256,uint256,bytes32,address,bytes,uint256,uint256,uint256,(uint256,address)[])[],(uint256,uint256,uint256,uint256,address,bool),bytes32,bytes32,uint8) input) payable returns()
func (*X2y2TransactorSession) Run1 ¶
func (_X2y2 *X2y2TransactorSession) Run1(order MarketOrder, shared MarketSettleShared, detail MarketSettleDetail) (*types.Transaction, error)
Run1 is a paid mutator transaction binding the contract method 0xd95e3c54.
Solidity: function run1((uint256,address,uint256,uint256,uint256,uint256,address,bytes,(uint256,bytes)[],bytes32,bytes32,uint8,uint8) order, (uint256,uint256,uint256,uint256,address,bool) shared, (uint8,uint256,uint256,uint256,bytes32,address,bytes,uint256,uint256,uint256,(uint256,address)[]) detail) returns(uint256)
func (*X2y2TransactorSession) TransferOwnership ¶
func (_X2y2 *X2y2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*X2y2TransactorSession) Unpause ¶
func (_X2y2 *X2y2TransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*X2y2TransactorSession) UpdateDelegates ¶
func (_X2y2 *X2y2TransactorSession) UpdateDelegates(toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
UpdateDelegates is a paid mutator transaction binding the contract method 0xe59f739a.
Solidity: function updateDelegates(address[] toAdd, address[] toRemove) returns()
func (*X2y2TransactorSession) UpdateFeeCap ¶
func (_X2y2 *X2y2TransactorSession) UpdateFeeCap(val *big.Int) (*types.Transaction, error)
UpdateFeeCap is a paid mutator transaction binding the contract method 0x95835fea.
Solidity: function updateFeeCap(uint256 val) returns()
func (*X2y2TransactorSession) UpdateSigners ¶
func (_X2y2 *X2y2TransactorSession) UpdateSigners(toAdd []common.Address, toRemove []common.Address) (*types.Transaction, error)
UpdateSigners is a paid mutator transaction binding the contract method 0x350b2369.
Solidity: function updateSigners(address[] toAdd, address[] toRemove) returns()
type X2y2Unpaused ¶
type X2y2Unpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
X2y2Unpaused represents a Unpaused event raised by the X2y2 contract.
type X2y2UnpausedIterator ¶
type X2y2UnpausedIterator struct { Event *X2y2Unpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
X2y2UnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the X2y2 contract.
func (*X2y2UnpausedIterator) Close ¶
func (it *X2y2UnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*X2y2UnpausedIterator) Error ¶
func (it *X2y2UnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*X2y2UnpausedIterator) Next ¶
func (it *X2y2UnpausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.