opensea

package
v1.4.461 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractABI = "" /* 14848-byte string literal not displayed */

ContractABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	ContractCaller     // Read-only binding to the contract
	ContractTransactor // Write-only binding to the contract
	ContractFilterer   // Log filterer for contract events
}

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

func NewContract

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

type ContractCaller

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

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

func NewContractCaller

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

NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.

func (*ContractCaller) ApprovedOrders

func (_Contract *ContractCaller) ApprovedOrders(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

ApprovedOrders is a free data retrieval call binding the contract method 0xe57d4adb.

Solidity: function approvedOrders(bytes32 ) view returns(bool)

func (*ContractCaller) CalculateCurrentPrice

func (_Contract *ContractCaller) CalculateCurrentPrice(opts *bind.CallOpts, addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) (*big.Int, error)

CalculateCurrentPrice is a free data retrieval call binding the contract method 0x3f67ee0d.

Solidity: function calculateCurrentPrice_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) view returns(uint256)

func (*ContractCaller) CalculateFinalPrice

func (_Contract *ContractCaller) CalculateFinalPrice(opts *bind.CallOpts, side uint8, saleKind uint8, basePrice *big.Int, extra *big.Int, listingTime *big.Int, expirationTime *big.Int) (*big.Int, error)

CalculateFinalPrice is a free data retrieval call binding the contract method 0x63d36c0b.

Solidity: function calculateFinalPrice(uint8 side, uint8 saleKind, uint256 basePrice, uint256 extra, uint256 listingTime, uint256 expirationTime) view returns(uint256)

func (*ContractCaller) CalculateMatchPrice

func (_Contract *ContractCaller) CalculateMatchPrice(opts *bind.CallOpts, addrs [14]common.Address, uints [18]*big.Int, feeMethodsSidesKindsHowToCalls [8]uint8, calldataBuy []byte, calldataSell []byte, replacementPatternBuy []byte, replacementPatternSell []byte, staticExtradataBuy []byte, staticExtradataSell []byte) (*big.Int, error)

CalculateMatchPrice is a free data retrieval call binding the contract method 0xd537e131.

Solidity: function calculateMatchPrice_(address[14] addrs, uint256[18] uints, uint8[8] feeMethodsSidesKindsHowToCalls, bytes calldataBuy, bytes calldataSell, bytes replacementPatternBuy, bytes replacementPatternSell, bytes staticExtradataBuy, bytes staticExtradataSell) view returns(uint256)

func (*ContractCaller) CancelledOrFinalized

func (_Contract *ContractCaller) CancelledOrFinalized(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

CancelledOrFinalized is a free data retrieval call binding the contract method 0x8076f005.

Solidity: function cancelledOrFinalized(bytes32 ) view returns(bool)

func (*ContractCaller) Codename

func (_Contract *ContractCaller) Codename(opts *bind.CallOpts) (string, error)

Codename is a free data retrieval call binding the contract method 0x31e63199.

Solidity: function codename() view returns(string)

func (*ContractCaller) ExchangeToken

func (_Contract *ContractCaller) ExchangeToken(opts *bind.CallOpts) (common.Address, error)

ExchangeToken is a free data retrieval call binding the contract method 0xa25eb5d9.

Solidity: function exchangeToken() view returns(address)

func (*ContractCaller) GuardedArrayReplace

func (_Contract *ContractCaller) GuardedArrayReplace(opts *bind.CallOpts, array []byte, desired []byte, mask []byte) ([]byte, error)

GuardedArrayReplace is a free data retrieval call binding the contract method 0x239e83df.

Solidity: function guardedArrayReplace(bytes array, bytes desired, bytes mask) pure returns(bytes)

func (*ContractCaller) HashOrder

func (_Contract *ContractCaller) HashOrder(opts *bind.CallOpts, addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) ([32]byte, error)

HashOrder is a free data retrieval call binding the contract method 0x71d02b38.

Solidity: function hashOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) pure returns(bytes32)

func (*ContractCaller) HashToSign

func (_Contract *ContractCaller) HashToSign(opts *bind.CallOpts, addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) ([32]byte, error)

HashToSign is a free data retrieval call binding the contract method 0x7d766981.

Solidity: function hashToSign_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) pure returns(bytes32)

func (*ContractCaller) INVERSEBASISPOINT

func (_Contract *ContractCaller) INVERSEBASISPOINT(opts *bind.CallOpts) (*big.Int, error)

INVERSEBASISPOINT is a free data retrieval call binding the contract method 0xcae6047f.

Solidity: function INVERSE_BASIS_POINT() view returns(uint256)

func (*ContractCaller) MinimumMakerProtocolFee

func (_Contract *ContractCaller) MinimumMakerProtocolFee(opts *bind.CallOpts) (*big.Int, error)

MinimumMakerProtocolFee is a free data retrieval call binding the contract method 0x7ccefc52.

Solidity: function minimumMakerProtocolFee() view returns(uint256)

func (*ContractCaller) MinimumTakerProtocolFee

func (_Contract *ContractCaller) MinimumTakerProtocolFee(opts *bind.CallOpts) (*big.Int, error)

MinimumTakerProtocolFee is a free data retrieval call binding the contract method 0x28a8ee68.

Solidity: function minimumTakerProtocolFee() view returns(uint256)

func (*ContractCaller) Name

func (_Contract *ContractCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ContractCaller) OrderCalldataCanMatch

func (_Contract *ContractCaller) OrderCalldataCanMatch(opts *bind.CallOpts, buyCalldata []byte, buyReplacementPattern []byte, sellCalldata []byte, sellReplacementPattern []byte) (bool, error)

OrderCalldataCanMatch is a free data retrieval call binding the contract method 0x562b2ebc.

Solidity: function orderCalldataCanMatch(bytes buyCalldata, bytes buyReplacementPattern, bytes sellCalldata, bytes sellReplacementPattern) pure returns(bool)

func (*ContractCaller) OrdersCanMatch

func (_Contract *ContractCaller) OrdersCanMatch(opts *bind.CallOpts, addrs [14]common.Address, uints [18]*big.Int, feeMethodsSidesKindsHowToCalls [8]uint8, calldataBuy []byte, calldataSell []byte, replacementPatternBuy []byte, replacementPatternSell []byte, staticExtradataBuy []byte, staticExtradataSell []byte) (bool, error)

OrdersCanMatch is a free data retrieval call binding the contract method 0x72593b4c.

Solidity: function ordersCanMatch_(address[14] addrs, uint256[18] uints, uint8[8] feeMethodsSidesKindsHowToCalls, bytes calldataBuy, bytes calldataSell, bytes replacementPatternBuy, bytes replacementPatternSell, bytes staticExtradataBuy, bytes staticExtradataSell) view returns(bool)

func (*ContractCaller) Owner

func (_Contract *ContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractCaller) ProtocolFeeRecipient

func (_Contract *ContractCaller) ProtocolFeeRecipient(opts *bind.CallOpts) (common.Address, error)

ProtocolFeeRecipient is a free data retrieval call binding the contract method 0x64df049e.

Solidity: function protocolFeeRecipient() view returns(address)

func (*ContractCaller) Registry

func (_Contract *ContractCaller) Registry(opts *bind.CallOpts) (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*ContractCaller) StaticCall

func (_Contract *ContractCaller) StaticCall(opts *bind.CallOpts, target common.Address, calldata []byte, extradata []byte) (bool, error)

StaticCall is a free data retrieval call binding the contract method 0x10796a47.

Solidity: function staticCall(address target, bytes calldata, bytes extradata) view returns(bool result)

func (*ContractCaller) TestCopy

func (_Contract *ContractCaller) TestCopy(opts *bind.CallOpts, arrToCopy []byte) ([]byte, error)

TestCopy is a free data retrieval call binding the contract method 0x3e1e292a.

Solidity: function testCopy(bytes arrToCopy) pure returns(bytes)

func (*ContractCaller) TestCopyAddress

func (_Contract *ContractCaller) TestCopyAddress(opts *bind.CallOpts, addr common.Address) ([]byte, error)

TestCopyAddress is a free data retrieval call binding the contract method 0x3464af6a.

Solidity: function testCopyAddress(address addr) pure returns(bytes)

func (*ContractCaller) TokenTransferProxy

func (_Contract *ContractCaller) TokenTransferProxy(opts *bind.CallOpts) (common.Address, error)

TokenTransferProxy is a free data retrieval call binding the contract method 0x0eefdbad.

Solidity: function tokenTransferProxy() view returns(address)

func (*ContractCaller) ValidateOrder

func (_Contract *ContractCaller) ValidateOrder(opts *bind.CallOpts, addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte, v uint8, r [32]byte, s [32]byte) (bool, error)

ValidateOrder is a free data retrieval call binding the contract method 0x60bef33a.

Solidity: function validateOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata, uint8 v, bytes32 r, bytes32 s) view returns(bool)

func (*ContractCaller) ValidateOrderParameters

func (_Contract *ContractCaller) ValidateOrderParameters(opts *bind.CallOpts, addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) (bool, error)

ValidateOrderParameters is a free data retrieval call binding the contract method 0xca595b9a.

Solidity: function validateOrderParameters_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) view returns(bool)

func (*ContractCaller) Version

func (_Contract *ContractCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type ContractCallerRaw

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

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

func (*ContractCallerRaw) Call

func (_Contract *ContractCallerRaw) 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 ContractCallerSession

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

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

func (*ContractCallerSession) ApprovedOrders

func (_Contract *ContractCallerSession) ApprovedOrders(arg0 [32]byte) (bool, error)

ApprovedOrders is a free data retrieval call binding the contract method 0xe57d4adb.

Solidity: function approvedOrders(bytes32 ) view returns(bool)

func (*ContractCallerSession) CalculateCurrentPrice

func (_Contract *ContractCallerSession) CalculateCurrentPrice(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) (*big.Int, error)

CalculateCurrentPrice is a free data retrieval call binding the contract method 0x3f67ee0d.

Solidity: function calculateCurrentPrice_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) view returns(uint256)

func (*ContractCallerSession) CalculateFinalPrice

func (_Contract *ContractCallerSession) CalculateFinalPrice(side uint8, saleKind uint8, basePrice *big.Int, extra *big.Int, listingTime *big.Int, expirationTime *big.Int) (*big.Int, error)

CalculateFinalPrice is a free data retrieval call binding the contract method 0x63d36c0b.

Solidity: function calculateFinalPrice(uint8 side, uint8 saleKind, uint256 basePrice, uint256 extra, uint256 listingTime, uint256 expirationTime) view returns(uint256)

func (*ContractCallerSession) CalculateMatchPrice

func (_Contract *ContractCallerSession) CalculateMatchPrice(addrs [14]common.Address, uints [18]*big.Int, feeMethodsSidesKindsHowToCalls [8]uint8, calldataBuy []byte, calldataSell []byte, replacementPatternBuy []byte, replacementPatternSell []byte, staticExtradataBuy []byte, staticExtradataSell []byte) (*big.Int, error)

CalculateMatchPrice is a free data retrieval call binding the contract method 0xd537e131.

Solidity: function calculateMatchPrice_(address[14] addrs, uint256[18] uints, uint8[8] feeMethodsSidesKindsHowToCalls, bytes calldataBuy, bytes calldataSell, bytes replacementPatternBuy, bytes replacementPatternSell, bytes staticExtradataBuy, bytes staticExtradataSell) view returns(uint256)

func (*ContractCallerSession) CancelledOrFinalized

func (_Contract *ContractCallerSession) CancelledOrFinalized(arg0 [32]byte) (bool, error)

CancelledOrFinalized is a free data retrieval call binding the contract method 0x8076f005.

Solidity: function cancelledOrFinalized(bytes32 ) view returns(bool)

func (*ContractCallerSession) Codename

func (_Contract *ContractCallerSession) Codename() (string, error)

Codename is a free data retrieval call binding the contract method 0x31e63199.

Solidity: function codename() view returns(string)

func (*ContractCallerSession) ExchangeToken

func (_Contract *ContractCallerSession) ExchangeToken() (common.Address, error)

ExchangeToken is a free data retrieval call binding the contract method 0xa25eb5d9.

Solidity: function exchangeToken() view returns(address)

func (*ContractCallerSession) GuardedArrayReplace

func (_Contract *ContractCallerSession) GuardedArrayReplace(array []byte, desired []byte, mask []byte) ([]byte, error)

GuardedArrayReplace is a free data retrieval call binding the contract method 0x239e83df.

Solidity: function guardedArrayReplace(bytes array, bytes desired, bytes mask) pure returns(bytes)

func (*ContractCallerSession) HashOrder

func (_Contract *ContractCallerSession) HashOrder(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) ([32]byte, error)

HashOrder is a free data retrieval call binding the contract method 0x71d02b38.

Solidity: function hashOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) pure returns(bytes32)

func (*ContractCallerSession) HashToSign

func (_Contract *ContractCallerSession) HashToSign(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) ([32]byte, error)

HashToSign is a free data retrieval call binding the contract method 0x7d766981.

Solidity: function hashToSign_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) pure returns(bytes32)

func (*ContractCallerSession) INVERSEBASISPOINT

func (_Contract *ContractCallerSession) INVERSEBASISPOINT() (*big.Int, error)

INVERSEBASISPOINT is a free data retrieval call binding the contract method 0xcae6047f.

Solidity: function INVERSE_BASIS_POINT() view returns(uint256)

func (*ContractCallerSession) MinimumMakerProtocolFee

func (_Contract *ContractCallerSession) MinimumMakerProtocolFee() (*big.Int, error)

MinimumMakerProtocolFee is a free data retrieval call binding the contract method 0x7ccefc52.

Solidity: function minimumMakerProtocolFee() view returns(uint256)

func (*ContractCallerSession) MinimumTakerProtocolFee

func (_Contract *ContractCallerSession) MinimumTakerProtocolFee() (*big.Int, error)

MinimumTakerProtocolFee is a free data retrieval call binding the contract method 0x28a8ee68.

Solidity: function minimumTakerProtocolFee() view returns(uint256)

func (*ContractCallerSession) Name

func (_Contract *ContractCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ContractCallerSession) OrderCalldataCanMatch

func (_Contract *ContractCallerSession) OrderCalldataCanMatch(buyCalldata []byte, buyReplacementPattern []byte, sellCalldata []byte, sellReplacementPattern []byte) (bool, error)

OrderCalldataCanMatch is a free data retrieval call binding the contract method 0x562b2ebc.

Solidity: function orderCalldataCanMatch(bytes buyCalldata, bytes buyReplacementPattern, bytes sellCalldata, bytes sellReplacementPattern) pure returns(bool)

func (*ContractCallerSession) OrdersCanMatch

func (_Contract *ContractCallerSession) OrdersCanMatch(addrs [14]common.Address, uints [18]*big.Int, feeMethodsSidesKindsHowToCalls [8]uint8, calldataBuy []byte, calldataSell []byte, replacementPatternBuy []byte, replacementPatternSell []byte, staticExtradataBuy []byte, staticExtradataSell []byte) (bool, error)

OrdersCanMatch is a free data retrieval call binding the contract method 0x72593b4c.

Solidity: function ordersCanMatch_(address[14] addrs, uint256[18] uints, uint8[8] feeMethodsSidesKindsHowToCalls, bytes calldataBuy, bytes calldataSell, bytes replacementPatternBuy, bytes replacementPatternSell, bytes staticExtradataBuy, bytes staticExtradataSell) view returns(bool)

func (*ContractCallerSession) Owner

func (_Contract *ContractCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractCallerSession) ProtocolFeeRecipient

func (_Contract *ContractCallerSession) ProtocolFeeRecipient() (common.Address, error)

ProtocolFeeRecipient is a free data retrieval call binding the contract method 0x64df049e.

Solidity: function protocolFeeRecipient() view returns(address)

func (*ContractCallerSession) Registry

func (_Contract *ContractCallerSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*ContractCallerSession) StaticCall

func (_Contract *ContractCallerSession) StaticCall(target common.Address, calldata []byte, extradata []byte) (bool, error)

StaticCall is a free data retrieval call binding the contract method 0x10796a47.

Solidity: function staticCall(address target, bytes calldata, bytes extradata) view returns(bool result)

func (*ContractCallerSession) TestCopy

func (_Contract *ContractCallerSession) TestCopy(arrToCopy []byte) ([]byte, error)

TestCopy is a free data retrieval call binding the contract method 0x3e1e292a.

Solidity: function testCopy(bytes arrToCopy) pure returns(bytes)

func (*ContractCallerSession) TestCopyAddress

func (_Contract *ContractCallerSession) TestCopyAddress(addr common.Address) ([]byte, error)

TestCopyAddress is a free data retrieval call binding the contract method 0x3464af6a.

Solidity: function testCopyAddress(address addr) pure returns(bytes)

func (*ContractCallerSession) TokenTransferProxy

func (_Contract *ContractCallerSession) TokenTransferProxy() (common.Address, error)

TokenTransferProxy is a free data retrieval call binding the contract method 0x0eefdbad.

Solidity: function tokenTransferProxy() view returns(address)

func (*ContractCallerSession) ValidateOrder

func (_Contract *ContractCallerSession) ValidateOrder(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte, v uint8, r [32]byte, s [32]byte) (bool, error)

ValidateOrder is a free data retrieval call binding the contract method 0x60bef33a.

Solidity: function validateOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata, uint8 v, bytes32 r, bytes32 s) view returns(bool)

func (*ContractCallerSession) ValidateOrderParameters

func (_Contract *ContractCallerSession) ValidateOrderParameters(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) (bool, error)

ValidateOrderParameters is a free data retrieval call binding the contract method 0xca595b9a.

Solidity: function validateOrderParameters_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) view returns(bool)

func (*ContractCallerSession) Version

func (_Contract *ContractCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type ContractFilterer

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

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

func NewContractFilterer

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

NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.

func (*ContractFilterer) FilterOrderApprovedPartOne

func (_Contract *ContractFilterer) FilterOrderApprovedPartOne(opts *bind.FilterOpts, hash [][32]byte, maker []common.Address, feeRecipient []common.Address) (*ContractOrderApprovedPartOneIterator, error)

FilterOrderApprovedPartOne is a free log retrieval operation binding the contract event 0x90c7f9f5b58c15f0f635bfb99f55d3d78fdbef3559e7d8abf5c81052a5276622.

Solidity: event OrderApprovedPartOne(bytes32 indexed hash, address exchange, address indexed maker, address taker, uint256 makerRelayerFee, uint256 takerRelayerFee, uint256 makerProtocolFee, uint256 takerProtocolFee, address indexed feeRecipient, uint8 feeMethod, uint8 side, uint8 saleKind, address target)

func (*ContractFilterer) FilterOrderApprovedPartTwo

func (_Contract *ContractFilterer) FilterOrderApprovedPartTwo(opts *bind.FilterOpts, hash [][32]byte) (*ContractOrderApprovedPartTwoIterator, error)

FilterOrderApprovedPartTwo is a free log retrieval operation binding the contract event 0xe55393c778364e440d958b39ac1debd99dcfae3775a8a04d1e79124adf6a2d08.

Solidity: event OrderApprovedPartTwo(bytes32 indexed hash, uint8 howToCall, bytes calldata, bytes replacementPattern, address staticTarget, bytes staticExtradata, address paymentToken, uint256 basePrice, uint256 extra, uint256 listingTime, uint256 expirationTime, uint256 salt, bool orderbookInclusionDesired)

func (*ContractFilterer) FilterOrderCancelled

func (_Contract *ContractFilterer) FilterOrderCancelled(opts *bind.FilterOpts, hash [][32]byte) (*ContractOrderCancelledIterator, error)

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

Solidity: event OrderCancelled(bytes32 indexed hash)

func (*ContractFilterer) FilterOrdersMatched

func (_Contract *ContractFilterer) FilterOrdersMatched(opts *bind.FilterOpts, maker []common.Address, taker []common.Address, metadata [][32]byte) (*ContractOrdersMatchedIterator, error)

FilterOrdersMatched is a free log retrieval operation binding the contract event 0xc4109843e0b7d514e4c093114b863f8e7d8d9a458c372cd51bfe526b588006c9.

Solidity: event OrdersMatched(bytes32 buyHash, bytes32 sellHash, address indexed maker, address indexed taker, uint256 price, bytes32 indexed metadata)

func (*ContractFilterer) FilterOwnershipRenounced

func (_Contract *ContractFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*ContractOwnershipRenouncedIterator, error)

FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*ContractFilterer) FilterOwnershipTransferred

func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ContractFilterer) ParseOrderApprovedPartOne

func (_Contract *ContractFilterer) ParseOrderApprovedPartOne(log types.Log) (*ContractOrderApprovedPartOne, error)

ParseOrderApprovedPartOne is a log parse operation binding the contract event 0x90c7f9f5b58c15f0f635bfb99f55d3d78fdbef3559e7d8abf5c81052a5276622.

Solidity: event OrderApprovedPartOne(bytes32 indexed hash, address exchange, address indexed maker, address taker, uint256 makerRelayerFee, uint256 takerRelayerFee, uint256 makerProtocolFee, uint256 takerProtocolFee, address indexed feeRecipient, uint8 feeMethod, uint8 side, uint8 saleKind, address target)

func (*ContractFilterer) ParseOrderApprovedPartTwo

func (_Contract *ContractFilterer) ParseOrderApprovedPartTwo(log types.Log) (*ContractOrderApprovedPartTwo, error)

ParseOrderApprovedPartTwo is a log parse operation binding the contract event 0xe55393c778364e440d958b39ac1debd99dcfae3775a8a04d1e79124adf6a2d08.

Solidity: event OrderApprovedPartTwo(bytes32 indexed hash, uint8 howToCall, bytes calldata, bytes replacementPattern, address staticTarget, bytes staticExtradata, address paymentToken, uint256 basePrice, uint256 extra, uint256 listingTime, uint256 expirationTime, uint256 salt, bool orderbookInclusionDesired)

func (*ContractFilterer) ParseOrderCancelled

func (_Contract *ContractFilterer) ParseOrderCancelled(log types.Log) (*ContractOrderCancelled, error)

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

Solidity: event OrderCancelled(bytes32 indexed hash)

func (*ContractFilterer) ParseOrdersMatched

func (_Contract *ContractFilterer) ParseOrdersMatched(log types.Log) (*ContractOrdersMatched, error)

ParseOrdersMatched is a log parse operation binding the contract event 0xc4109843e0b7d514e4c093114b863f8e7d8d9a458c372cd51bfe526b588006c9.

Solidity: event OrdersMatched(bytes32 buyHash, bytes32 sellHash, address indexed maker, address indexed taker, uint256 price, bytes32 indexed metadata)

func (*ContractFilterer) ParseOwnershipRenounced

func (_Contract *ContractFilterer) ParseOwnershipRenounced(log types.Log) (*ContractOwnershipRenounced, error)

ParseOwnershipRenounced is a log parse operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*ContractFilterer) ParseOwnershipTransferred

func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ContractFilterer) WatchOrderApprovedPartOne

func (_Contract *ContractFilterer) WatchOrderApprovedPartOne(opts *bind.WatchOpts, sink chan<- *ContractOrderApprovedPartOne, hash [][32]byte, maker []common.Address, feeRecipient []common.Address) (event.Subscription, error)

WatchOrderApprovedPartOne is a free log subscription operation binding the contract event 0x90c7f9f5b58c15f0f635bfb99f55d3d78fdbef3559e7d8abf5c81052a5276622.

Solidity: event OrderApprovedPartOne(bytes32 indexed hash, address exchange, address indexed maker, address taker, uint256 makerRelayerFee, uint256 takerRelayerFee, uint256 makerProtocolFee, uint256 takerProtocolFee, address indexed feeRecipient, uint8 feeMethod, uint8 side, uint8 saleKind, address target)

func (*ContractFilterer) WatchOrderApprovedPartTwo

func (_Contract *ContractFilterer) WatchOrderApprovedPartTwo(opts *bind.WatchOpts, sink chan<- *ContractOrderApprovedPartTwo, hash [][32]byte) (event.Subscription, error)

WatchOrderApprovedPartTwo is a free log subscription operation binding the contract event 0xe55393c778364e440d958b39ac1debd99dcfae3775a8a04d1e79124adf6a2d08.

Solidity: event OrderApprovedPartTwo(bytes32 indexed hash, uint8 howToCall, bytes calldata, bytes replacementPattern, address staticTarget, bytes staticExtradata, address paymentToken, uint256 basePrice, uint256 extra, uint256 listingTime, uint256 expirationTime, uint256 salt, bool orderbookInclusionDesired)

func (*ContractFilterer) WatchOrderCancelled

func (_Contract *ContractFilterer) WatchOrderCancelled(opts *bind.WatchOpts, sink chan<- *ContractOrderCancelled, hash [][32]byte) (event.Subscription, error)

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

Solidity: event OrderCancelled(bytes32 indexed hash)

func (*ContractFilterer) WatchOrdersMatched

func (_Contract *ContractFilterer) WatchOrdersMatched(opts *bind.WatchOpts, sink chan<- *ContractOrdersMatched, maker []common.Address, taker []common.Address, metadata [][32]byte) (event.Subscription, error)

WatchOrdersMatched is a free log subscription operation binding the contract event 0xc4109843e0b7d514e4c093114b863f8e7d8d9a458c372cd51bfe526b588006c9.

Solidity: event OrdersMatched(bytes32 buyHash, bytes32 sellHash, address indexed maker, address indexed taker, uint256 price, bytes32 indexed metadata)

func (*ContractFilterer) WatchOwnershipRenounced

func (_Contract *ContractFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *ContractOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)

WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*ContractFilterer) WatchOwnershipTransferred

func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, 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)

type ContractOrderApprovedPartOne

type ContractOrderApprovedPartOne struct {
	Hash             [32]byte
	Exchange         common.Address
	Maker            common.Address
	Taker            common.Address
	MakerRelayerFee  *big.Int
	TakerRelayerFee  *big.Int
	MakerProtocolFee *big.Int
	TakerProtocolFee *big.Int
	FeeRecipient     common.Address
	FeeMethod        uint8
	Side             uint8
	SaleKind         uint8
	Target           common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

ContractOrderApprovedPartOne represents a OrderApprovedPartOne event raised by the Contract contract.

type ContractOrderApprovedPartOneIterator

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

ContractOrderApprovedPartOneIterator is returned from FilterOrderApprovedPartOne and is used to iterate over the raw logs and unpacked data for OrderApprovedPartOne events raised by the Contract contract.

func (*ContractOrderApprovedPartOneIterator) Close

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

func (*ContractOrderApprovedPartOneIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOrderApprovedPartOneIterator) 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 ContractOrderApprovedPartTwo

type ContractOrderApprovedPartTwo struct {
	Hash                      [32]byte
	HowToCall                 uint8
	Calldata                  []byte
	ReplacementPattern        []byte
	StaticTarget              common.Address
	StaticExtradata           []byte
	PaymentToken              common.Address
	BasePrice                 *big.Int
	Extra                     *big.Int
	ListingTime               *big.Int
	ExpirationTime            *big.Int
	Salt                      *big.Int
	OrderbookInclusionDesired bool
	Raw                       types.Log // Blockchain specific contextual infos
}

ContractOrderApprovedPartTwo represents a OrderApprovedPartTwo event raised by the Contract contract.

type ContractOrderApprovedPartTwoIterator

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

ContractOrderApprovedPartTwoIterator is returned from FilterOrderApprovedPartTwo and is used to iterate over the raw logs and unpacked data for OrderApprovedPartTwo events raised by the Contract contract.

func (*ContractOrderApprovedPartTwoIterator) Close

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

func (*ContractOrderApprovedPartTwoIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOrderApprovedPartTwoIterator) 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 ContractOrderCancelled

type ContractOrderCancelled struct {
	Hash [32]byte
	Raw  types.Log // Blockchain specific contextual infos
}

ContractOrderCancelled represents a OrderCancelled event raised by the Contract contract.

type ContractOrderCancelledIterator

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

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

func (*ContractOrderCancelledIterator) Close

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

func (*ContractOrderCancelledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOrderCancelledIterator) 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 ContractOrdersMatched

type ContractOrdersMatched struct {
	BuyHash  [32]byte
	SellHash [32]byte
	Maker    common.Address
	Taker    common.Address
	Price    *big.Int
	Metadata [32]byte
	Raw      types.Log // Blockchain specific contextual infos
}

ContractOrdersMatched represents a OrdersMatched event raised by the Contract contract.

type ContractOrdersMatchedIterator

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

ContractOrdersMatchedIterator is returned from FilterOrdersMatched and is used to iterate over the raw logs and unpacked data for OrdersMatched events raised by the Contract contract.

func (*ContractOrdersMatchedIterator) Close

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

func (*ContractOrdersMatchedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOrdersMatchedIterator) 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 ContractOwnershipRenounced

type ContractOwnershipRenounced struct {
	PreviousOwner common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ContractOwnershipRenounced represents a OwnershipRenounced event raised by the Contract contract.

type ContractOwnershipRenouncedIterator

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

ContractOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the Contract contract.

func (*ContractOwnershipRenouncedIterator) Close

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

func (*ContractOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOwnershipRenouncedIterator) 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 ContractOwnershipTransferred

type ContractOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ContractOwnershipTransferred represents a OwnershipTransferred event raised by the Contract contract.

type ContractOwnershipTransferredIterator

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

ContractOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Contract contract.

func (*ContractOwnershipTransferredIterator) Close

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

func (*ContractOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOwnershipTransferredIterator) 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 ContractRaw

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

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

func (*ContractRaw) Call

func (_Contract *ContractRaw) 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 (*ContractRaw) Transact

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

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

func (*ContractRaw) Transfer

func (_Contract *ContractRaw) 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 ContractSession

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

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

func (*ContractSession) ApproveOrder

func (_Contract *ContractSession) ApproveOrder(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte, orderbookInclusionDesired bool) (*types.Transaction, error)

ApproveOrder is a paid mutator transaction binding the contract method 0x79666868.

Solidity: function approveOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata, bool orderbookInclusionDesired) returns()

func (*ContractSession) ApprovedOrders

func (_Contract *ContractSession) ApprovedOrders(arg0 [32]byte) (bool, error)

ApprovedOrders is a free data retrieval call binding the contract method 0xe57d4adb.

Solidity: function approvedOrders(bytes32 ) view returns(bool)

func (*ContractSession) AtomicMatch

func (_Contract *ContractSession) AtomicMatch(addrs [14]common.Address, uints [18]*big.Int, feeMethodsSidesKindsHowToCalls [8]uint8, calldataBuy []byte, calldataSell []byte, replacementPatternBuy []byte, replacementPatternSell []byte, staticExtradataBuy []byte, staticExtradataSell []byte, vs [2]uint8, rssMetadata [5][32]byte) (*types.Transaction, error)

AtomicMatch is a paid mutator transaction binding the contract method 0xab834bab.

Solidity: function atomicMatch_(address[14] addrs, uint256[18] uints, uint8[8] feeMethodsSidesKindsHowToCalls, bytes calldataBuy, bytes calldataSell, bytes replacementPatternBuy, bytes replacementPatternSell, bytes staticExtradataBuy, bytes staticExtradataSell, uint8[2] vs, bytes32[5] rssMetadata) payable returns()

func (*ContractSession) CalculateCurrentPrice

func (_Contract *ContractSession) CalculateCurrentPrice(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) (*big.Int, error)

CalculateCurrentPrice is a free data retrieval call binding the contract method 0x3f67ee0d.

Solidity: function calculateCurrentPrice_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) view returns(uint256)

func (*ContractSession) CalculateFinalPrice

func (_Contract *ContractSession) CalculateFinalPrice(side uint8, saleKind uint8, basePrice *big.Int, extra *big.Int, listingTime *big.Int, expirationTime *big.Int) (*big.Int, error)

CalculateFinalPrice is a free data retrieval call binding the contract method 0x63d36c0b.

Solidity: function calculateFinalPrice(uint8 side, uint8 saleKind, uint256 basePrice, uint256 extra, uint256 listingTime, uint256 expirationTime) view returns(uint256)

func (*ContractSession) CalculateMatchPrice

func (_Contract *ContractSession) CalculateMatchPrice(addrs [14]common.Address, uints [18]*big.Int, feeMethodsSidesKindsHowToCalls [8]uint8, calldataBuy []byte, calldataSell []byte, replacementPatternBuy []byte, replacementPatternSell []byte, staticExtradataBuy []byte, staticExtradataSell []byte) (*big.Int, error)

CalculateMatchPrice is a free data retrieval call binding the contract method 0xd537e131.

Solidity: function calculateMatchPrice_(address[14] addrs, uint256[18] uints, uint8[8] feeMethodsSidesKindsHowToCalls, bytes calldataBuy, bytes calldataSell, bytes replacementPatternBuy, bytes replacementPatternSell, bytes staticExtradataBuy, bytes staticExtradataSell) view returns(uint256)

func (*ContractSession) CancelOrder

func (_Contract *ContractSession) CancelOrder(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CancelOrder is a paid mutator transaction binding the contract method 0xa8a41c70.

Solidity: function cancelOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata, uint8 v, bytes32 r, bytes32 s) returns()

func (*ContractSession) CancelledOrFinalized

func (_Contract *ContractSession) CancelledOrFinalized(arg0 [32]byte) (bool, error)

CancelledOrFinalized is a free data retrieval call binding the contract method 0x8076f005.

Solidity: function cancelledOrFinalized(bytes32 ) view returns(bool)

func (*ContractSession) ChangeMinimumMakerProtocolFee

func (_Contract *ContractSession) ChangeMinimumMakerProtocolFee(newMinimumMakerProtocolFee *big.Int) (*types.Transaction, error)

ChangeMinimumMakerProtocolFee is a paid mutator transaction binding the contract method 0x14350c24.

Solidity: function changeMinimumMakerProtocolFee(uint256 newMinimumMakerProtocolFee) returns()

func (*ContractSession) ChangeMinimumTakerProtocolFee

func (_Contract *ContractSession) ChangeMinimumTakerProtocolFee(newMinimumTakerProtocolFee *big.Int) (*types.Transaction, error)

ChangeMinimumTakerProtocolFee is a paid mutator transaction binding the contract method 0x1a6b13e2.

Solidity: function changeMinimumTakerProtocolFee(uint256 newMinimumTakerProtocolFee) returns()

func (*ContractSession) ChangeProtocolFeeRecipient

func (_Contract *ContractSession) ChangeProtocolFeeRecipient(newProtocolFeeRecipient common.Address) (*types.Transaction, error)

ChangeProtocolFeeRecipient is a paid mutator transaction binding the contract method 0x514f0330.

Solidity: function changeProtocolFeeRecipient(address newProtocolFeeRecipient) returns()

func (*ContractSession) Codename

func (_Contract *ContractSession) Codename() (string, error)

Codename is a free data retrieval call binding the contract method 0x31e63199.

Solidity: function codename() view returns(string)

func (*ContractSession) ExchangeToken

func (_Contract *ContractSession) ExchangeToken() (common.Address, error)

ExchangeToken is a free data retrieval call binding the contract method 0xa25eb5d9.

Solidity: function exchangeToken() view returns(address)

func (*ContractSession) GuardedArrayReplace

func (_Contract *ContractSession) GuardedArrayReplace(array []byte, desired []byte, mask []byte) ([]byte, error)

GuardedArrayReplace is a free data retrieval call binding the contract method 0x239e83df.

Solidity: function guardedArrayReplace(bytes array, bytes desired, bytes mask) pure returns(bytes)

func (*ContractSession) HashOrder

func (_Contract *ContractSession) HashOrder(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) ([32]byte, error)

HashOrder is a free data retrieval call binding the contract method 0x71d02b38.

Solidity: function hashOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) pure returns(bytes32)

func (*ContractSession) HashToSign

func (_Contract *ContractSession) HashToSign(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) ([32]byte, error)

HashToSign is a free data retrieval call binding the contract method 0x7d766981.

Solidity: function hashToSign_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) pure returns(bytes32)

func (*ContractSession) INVERSEBASISPOINT

func (_Contract *ContractSession) INVERSEBASISPOINT() (*big.Int, error)

INVERSEBASISPOINT is a free data retrieval call binding the contract method 0xcae6047f.

Solidity: function INVERSE_BASIS_POINT() view returns(uint256)

func (*ContractSession) MinimumMakerProtocolFee

func (_Contract *ContractSession) MinimumMakerProtocolFee() (*big.Int, error)

MinimumMakerProtocolFee is a free data retrieval call binding the contract method 0x7ccefc52.

Solidity: function minimumMakerProtocolFee() view returns(uint256)

func (*ContractSession) MinimumTakerProtocolFee

func (_Contract *ContractSession) MinimumTakerProtocolFee() (*big.Int, error)

MinimumTakerProtocolFee is a free data retrieval call binding the contract method 0x28a8ee68.

Solidity: function minimumTakerProtocolFee() view returns(uint256)

func (*ContractSession) Name

func (_Contract *ContractSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ContractSession) OrderCalldataCanMatch

func (_Contract *ContractSession) OrderCalldataCanMatch(buyCalldata []byte, buyReplacementPattern []byte, sellCalldata []byte, sellReplacementPattern []byte) (bool, error)

OrderCalldataCanMatch is a free data retrieval call binding the contract method 0x562b2ebc.

Solidity: function orderCalldataCanMatch(bytes buyCalldata, bytes buyReplacementPattern, bytes sellCalldata, bytes sellReplacementPattern) pure returns(bool)

func (*ContractSession) OrdersCanMatch

func (_Contract *ContractSession) OrdersCanMatch(addrs [14]common.Address, uints [18]*big.Int, feeMethodsSidesKindsHowToCalls [8]uint8, calldataBuy []byte, calldataSell []byte, replacementPatternBuy []byte, replacementPatternSell []byte, staticExtradataBuy []byte, staticExtradataSell []byte) (bool, error)

OrdersCanMatch is a free data retrieval call binding the contract method 0x72593b4c.

Solidity: function ordersCanMatch_(address[14] addrs, uint256[18] uints, uint8[8] feeMethodsSidesKindsHowToCalls, bytes calldataBuy, bytes calldataSell, bytes replacementPatternBuy, bytes replacementPatternSell, bytes staticExtradataBuy, bytes staticExtradataSell) view returns(bool)

func (*ContractSession) Owner

func (_Contract *ContractSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractSession) ProtocolFeeRecipient

func (_Contract *ContractSession) ProtocolFeeRecipient() (common.Address, error)

ProtocolFeeRecipient is a free data retrieval call binding the contract method 0x64df049e.

Solidity: function protocolFeeRecipient() view returns(address)

func (*ContractSession) Registry

func (_Contract *ContractSession) Registry() (common.Address, error)

Registry is a free data retrieval call binding the contract method 0x7b103999.

Solidity: function registry() view returns(address)

func (*ContractSession) RenounceOwnership

func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ContractSession) StaticCall

func (_Contract *ContractSession) StaticCall(target common.Address, calldata []byte, extradata []byte) (bool, error)

StaticCall is a free data retrieval call binding the contract method 0x10796a47.

Solidity: function staticCall(address target, bytes calldata, bytes extradata) view returns(bool result)

func (*ContractSession) TestCopy

func (_Contract *ContractSession) TestCopy(arrToCopy []byte) ([]byte, error)

TestCopy is a free data retrieval call binding the contract method 0x3e1e292a.

Solidity: function testCopy(bytes arrToCopy) pure returns(bytes)

func (*ContractSession) TestCopyAddress

func (_Contract *ContractSession) TestCopyAddress(addr common.Address) ([]byte, error)

TestCopyAddress is a free data retrieval call binding the contract method 0x3464af6a.

Solidity: function testCopyAddress(address addr) pure returns(bytes)

func (*ContractSession) TokenTransferProxy

func (_Contract *ContractSession) TokenTransferProxy() (common.Address, error)

TokenTransferProxy is a free data retrieval call binding the contract method 0x0eefdbad.

Solidity: function tokenTransferProxy() view returns(address)

func (*ContractSession) TransferOwnership

func (_Contract *ContractSession) 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 (*ContractSession) ValidateOrder

func (_Contract *ContractSession) ValidateOrder(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte, v uint8, r [32]byte, s [32]byte) (bool, error)

ValidateOrder is a free data retrieval call binding the contract method 0x60bef33a.

Solidity: function validateOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata, uint8 v, bytes32 r, bytes32 s) view returns(bool)

func (*ContractSession) ValidateOrderParameters

func (_Contract *ContractSession) ValidateOrderParameters(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte) (bool, error)

ValidateOrderParameters is a free data retrieval call binding the contract method 0xca595b9a.

Solidity: function validateOrderParameters_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata) view returns(bool)

func (*ContractSession) Version

func (_Contract *ContractSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type ContractTransactor

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

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

func NewContractTransactor

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

NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.

func (*ContractTransactor) ApproveOrder

func (_Contract *ContractTransactor) ApproveOrder(opts *bind.TransactOpts, addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte, orderbookInclusionDesired bool) (*types.Transaction, error)

ApproveOrder is a paid mutator transaction binding the contract method 0x79666868.

Solidity: function approveOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata, bool orderbookInclusionDesired) returns()

func (*ContractTransactor) AtomicMatch

func (_Contract *ContractTransactor) AtomicMatch(opts *bind.TransactOpts, addrs [14]common.Address, uints [18]*big.Int, feeMethodsSidesKindsHowToCalls [8]uint8, calldataBuy []byte, calldataSell []byte, replacementPatternBuy []byte, replacementPatternSell []byte, staticExtradataBuy []byte, staticExtradataSell []byte, vs [2]uint8, rssMetadata [5][32]byte) (*types.Transaction, error)

AtomicMatch is a paid mutator transaction binding the contract method 0xab834bab.

Solidity: function atomicMatch_(address[14] addrs, uint256[18] uints, uint8[8] feeMethodsSidesKindsHowToCalls, bytes calldataBuy, bytes calldataSell, bytes replacementPatternBuy, bytes replacementPatternSell, bytes staticExtradataBuy, bytes staticExtradataSell, uint8[2] vs, bytes32[5] rssMetadata) payable returns()

func (*ContractTransactor) CancelOrder

func (_Contract *ContractTransactor) CancelOrder(opts *bind.TransactOpts, addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CancelOrder is a paid mutator transaction binding the contract method 0xa8a41c70.

Solidity: function cancelOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata, uint8 v, bytes32 r, bytes32 s) returns()

func (*ContractTransactor) ChangeMinimumMakerProtocolFee

func (_Contract *ContractTransactor) ChangeMinimumMakerProtocolFee(opts *bind.TransactOpts, newMinimumMakerProtocolFee *big.Int) (*types.Transaction, error)

ChangeMinimumMakerProtocolFee is a paid mutator transaction binding the contract method 0x14350c24.

Solidity: function changeMinimumMakerProtocolFee(uint256 newMinimumMakerProtocolFee) returns()

func (*ContractTransactor) ChangeMinimumTakerProtocolFee

func (_Contract *ContractTransactor) ChangeMinimumTakerProtocolFee(opts *bind.TransactOpts, newMinimumTakerProtocolFee *big.Int) (*types.Transaction, error)

ChangeMinimumTakerProtocolFee is a paid mutator transaction binding the contract method 0x1a6b13e2.

Solidity: function changeMinimumTakerProtocolFee(uint256 newMinimumTakerProtocolFee) returns()

func (*ContractTransactor) ChangeProtocolFeeRecipient

func (_Contract *ContractTransactor) ChangeProtocolFeeRecipient(opts *bind.TransactOpts, newProtocolFeeRecipient common.Address) (*types.Transaction, error)

ChangeProtocolFeeRecipient is a paid mutator transaction binding the contract method 0x514f0330.

Solidity: function changeProtocolFeeRecipient(address newProtocolFeeRecipient) returns()

func (*ContractTransactor) RenounceOwnership

func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ContractTransactor) TransferOwnership

func (_Contract *ContractTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ContractTransactorRaw

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

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

func (*ContractTransactorRaw) Transact

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

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

func (*ContractTransactorRaw) Transfer

func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession

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

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

func (*ContractTransactorSession) ApproveOrder

func (_Contract *ContractTransactorSession) ApproveOrder(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte, orderbookInclusionDesired bool) (*types.Transaction, error)

ApproveOrder is a paid mutator transaction binding the contract method 0x79666868.

Solidity: function approveOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata, bool orderbookInclusionDesired) returns()

func (*ContractTransactorSession) AtomicMatch

func (_Contract *ContractTransactorSession) AtomicMatch(addrs [14]common.Address, uints [18]*big.Int, feeMethodsSidesKindsHowToCalls [8]uint8, calldataBuy []byte, calldataSell []byte, replacementPatternBuy []byte, replacementPatternSell []byte, staticExtradataBuy []byte, staticExtradataSell []byte, vs [2]uint8, rssMetadata [5][32]byte) (*types.Transaction, error)

AtomicMatch is a paid mutator transaction binding the contract method 0xab834bab.

Solidity: function atomicMatch_(address[14] addrs, uint256[18] uints, uint8[8] feeMethodsSidesKindsHowToCalls, bytes calldataBuy, bytes calldataSell, bytes replacementPatternBuy, bytes replacementPatternSell, bytes staticExtradataBuy, bytes staticExtradataSell, uint8[2] vs, bytes32[5] rssMetadata) payable returns()

func (*ContractTransactorSession) CancelOrder

func (_Contract *ContractTransactorSession) CancelOrder(addrs [7]common.Address, uints [9]*big.Int, feeMethod uint8, side uint8, saleKind uint8, howToCall uint8, calldata []byte, replacementPattern []byte, staticExtradata []byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CancelOrder is a paid mutator transaction binding the contract method 0xa8a41c70.

Solidity: function cancelOrder_(address[7] addrs, uint256[9] uints, uint8 feeMethod, uint8 side, uint8 saleKind, uint8 howToCall, bytes calldata, bytes replacementPattern, bytes staticExtradata, uint8 v, bytes32 r, bytes32 s) returns()

func (*ContractTransactorSession) ChangeMinimumMakerProtocolFee

func (_Contract *ContractTransactorSession) ChangeMinimumMakerProtocolFee(newMinimumMakerProtocolFee *big.Int) (*types.Transaction, error)

ChangeMinimumMakerProtocolFee is a paid mutator transaction binding the contract method 0x14350c24.

Solidity: function changeMinimumMakerProtocolFee(uint256 newMinimumMakerProtocolFee) returns()

func (*ContractTransactorSession) ChangeMinimumTakerProtocolFee

func (_Contract *ContractTransactorSession) ChangeMinimumTakerProtocolFee(newMinimumTakerProtocolFee *big.Int) (*types.Transaction, error)

ChangeMinimumTakerProtocolFee is a paid mutator transaction binding the contract method 0x1a6b13e2.

Solidity: function changeMinimumTakerProtocolFee(uint256 newMinimumTakerProtocolFee) returns()

func (*ContractTransactorSession) ChangeProtocolFeeRecipient

func (_Contract *ContractTransactorSession) ChangeProtocolFeeRecipient(newProtocolFeeRecipient common.Address) (*types.Transaction, error)

ChangeProtocolFeeRecipient is a paid mutator transaction binding the contract method 0x514f0330.

Solidity: function changeProtocolFeeRecipient(address newProtocolFeeRecipient) returns()

func (*ContractTransactorSession) RenounceOwnership

func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ContractTransactorSession) TransferOwnership

func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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