gnosis

package
v0.0.0-...-3beb7e2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GnosisABI = "" /* 14448-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Gnosis

type Gnosis struct {
	GnosisCaller     // Read-only binding to the contract
	GnosisTransactor // Write-only binding to the contract
	GnosisFilterer   // Log filterer for contract events
}

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

func NewGnosis

func NewGnosis(address common.Address, backend bind.ContractBackend) (*Gnosis, error)

NewGnosis creates a new instance of Gnosis, bound to a specific deployed contract.

type GnosisCaller

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

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

func NewGnosisCaller

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

NewGnosisCaller creates a new read-only instance of Gnosis, bound to a specific deployed contract.

func (*GnosisCaller) AMOUNTMINIMUM

func (_Gnosis *GnosisCaller) AMOUNTMINIMUM(opts *bind.CallOpts) (*big.Int, error)

AMOUNTMINIMUM is a free data retrieval call binding the contract method 0x61ed16d0.

Solidity: function AMOUNT_MINIMUM() view returns(uint128)

func (*GnosisCaller) AcceptingSolutions

func (_Gnosis *GnosisCaller) AcceptingSolutions(opts *bind.CallOpts, batchId uint32) (bool, error)

AcceptingSolutions is a free data retrieval call binding the contract method 0xc49598fb.

Solidity: function acceptingSolutions(uint32 batchId) view returns(bool)

func (*GnosisCaller) BATCHTIME

func (_Gnosis *GnosisCaller) BATCHTIME(opts *bind.CallOpts) (uint32, error)

BATCHTIME is a free data retrieval call binding the contract method 0xe48c015e.

Solidity: function BATCH_TIME() view returns(uint32)

func (*GnosisCaller) CurrentPrices

func (_Gnosis *GnosisCaller) CurrentPrices(opts *bind.CallOpts, arg0 uint16) (*big.Int, error)

CurrentPrices is a free data retrieval call binding the contract method 0x66367c10.

Solidity: function currentPrices(uint16 ) view returns(uint128)

func (*GnosisCaller) ENCODEDAUCTIONELEMENTWIDTH

func (_Gnosis *GnosisCaller) ENCODEDAUCTIONELEMENTWIDTH(opts *bind.CallOpts) (*big.Int, error)

ENCODEDAUCTIONELEMENTWIDTH is a free data retrieval call binding the contract method 0xe1d5f64e.

Solidity: function ENCODED_AUCTION_ELEMENT_WIDTH() view returns(uint128)

func (*GnosisCaller) FEEDENOMINATOR

func (_Gnosis *GnosisCaller) FEEDENOMINATOR(opts *bind.CallOpts) (*big.Int, error)

FEEDENOMINATOR is a free data retrieval call binding the contract method 0xd73792a9.

Solidity: function FEE_DENOMINATOR() view returns(uint128)

func (*GnosisCaller) FEEFORLISTINGTOKENINOWL

func (_Gnosis *GnosisCaller) FEEFORLISTINGTOKENINOWL(opts *bind.CallOpts) (*big.Int, error)

FEEFORLISTINGTOKENINOWL is a free data retrieval call binding the contract method 0x41e383ed.

Solidity: function FEE_FOR_LISTING_TOKEN_IN_OWL() view returns(uint256)

func (*GnosisCaller) FeeToken

func (_Gnosis *GnosisCaller) FeeToken(opts *bind.CallOpts) (common.Address, error)

FeeToken is a free data retrieval call binding the contract method 0x647846a5.

Solidity: function feeToken() view returns(address)

func (*GnosisCaller) GetBalance

func (_Gnosis *GnosisCaller) GetBalance(opts *bind.CallOpts, user common.Address, token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xd4fac45d.

Solidity: function getBalance(address user, address token) view returns(uint256)

func (*GnosisCaller) GetCurrentBatchId

func (_Gnosis *GnosisCaller) GetCurrentBatchId(opts *bind.CallOpts) (uint32, error)

GetCurrentBatchId is a free data retrieval call binding the contract method 0xe720ac8e.

Solidity: function getCurrentBatchId() view returns(uint32)

func (*GnosisCaller) GetCurrentObjectiveValue

func (_Gnosis *GnosisCaller) GetCurrentObjectiveValue(opts *bind.CallOpts) (*big.Int, error)

GetCurrentObjectiveValue is a free data retrieval call binding the contract method 0xff97c626.

Solidity: function getCurrentObjectiveValue() view returns(uint256)

func (*GnosisCaller) GetEncodedOrders

func (_Gnosis *GnosisCaller) GetEncodedOrders(opts *bind.CallOpts) ([]byte, error)

GetEncodedOrders is a free data retrieval call binding the contract method 0x23d4a3c9.

Solidity: function getEncodedOrders() view returns(bytes elements)

func (*GnosisCaller) GetEncodedUserOrders

func (_Gnosis *GnosisCaller) GetEncodedUserOrders(opts *bind.CallOpts, user common.Address) ([]byte, error)

GetEncodedUserOrders is a free data retrieval call binding the contract method 0x72f3dd39.

Solidity: function getEncodedUserOrders(address user) view returns(bytes elements)

func (*GnosisCaller) GetEncodedUserOrdersPaginated

func (_Gnosis *GnosisCaller) GetEncodedUserOrdersPaginated(opts *bind.CallOpts, user common.Address, offset uint16, pageSize uint16) ([]byte, error)

GetEncodedUserOrdersPaginated is a free data retrieval call binding the contract method 0xed2da357.

Solidity: function getEncodedUserOrdersPaginated(address user, uint16 offset, uint16 pageSize) view returns(bytes elements)

func (*GnosisCaller) GetEncodedUsersPaginated

func (_Gnosis *GnosisCaller) GetEncodedUsersPaginated(opts *bind.CallOpts, previousPageUser common.Address, previousPageUserOffset uint16, pageSize uint16) ([]byte, error)

GetEncodedUsersPaginated is a free data retrieval call binding the contract method 0x95466a46.

Solidity: function getEncodedUsersPaginated(address previousPageUser, uint16 previousPageUserOffset, uint16 pageSize) view returns(bytes elements)

func (*GnosisCaller) GetPendingDeposit

func (_Gnosis *GnosisCaller) GetPendingDeposit(opts *bind.CallOpts, user common.Address, token common.Address) (*big.Int, uint32, error)

GetPendingDeposit is a free data retrieval call binding the contract method 0xb3c0afa1.

Solidity: function getPendingDeposit(address user, address token) view returns(uint256, uint32)

func (*GnosisCaller) GetPendingWithdraw

func (_Gnosis *GnosisCaller) GetPendingWithdraw(opts *bind.CallOpts, user common.Address, token common.Address) (*big.Int, uint32, error)

GetPendingWithdraw is a free data retrieval call binding the contract method 0xc33eb9f6.

Solidity: function getPendingWithdraw(address user, address token) view returns(uint256, uint32)

func (*GnosisCaller) GetSecondsRemainingInBatch

func (_Gnosis *GnosisCaller) GetSecondsRemainingInBatch(opts *bind.CallOpts) (*big.Int, error)

GetSecondsRemainingInBatch is a free data retrieval call binding the contract method 0x17569c1d.

Solidity: function getSecondsRemainingInBatch() view returns(uint256)

func (*GnosisCaller) GetUsersPaginated

func (_Gnosis *GnosisCaller) GetUsersPaginated(opts *bind.CallOpts, previousPageUser common.Address, pageSize uint16) ([]byte, error)

GetUsersPaginated is a free data retrieval call binding the contract method 0x43383ac3.

Solidity: function getUsersPaginated(address previousPageUser, uint16 pageSize) view returns(bytes users)

func (*GnosisCaller) HasToken

func (_Gnosis *GnosisCaller) HasToken(opts *bind.CallOpts, addr common.Address) (bool, error)

HasToken is a free data retrieval call binding the contract method 0x9bb0f599.

Solidity: function hasToken(address addr) view returns(bool)

func (*GnosisCaller) HasValidWithdrawRequest

func (_Gnosis *GnosisCaller) HasValidWithdrawRequest(opts *bind.CallOpts, user common.Address, token common.Address) (bool, error)

HasValidWithdrawRequest is a free data retrieval call binding the contract method 0xf3f47982.

Solidity: function hasValidWithdrawRequest(address user, address token) view returns(bool)

func (*GnosisCaller) IMPROVEMENTDENOMINATOR

func (_Gnosis *GnosisCaller) IMPROVEMENTDENOMINATOR(opts *bind.CallOpts) (*big.Int, error)

IMPROVEMENTDENOMINATOR is a free data retrieval call binding the contract method 0x094c7e19.

Solidity: function IMPROVEMENT_DENOMINATOR() view returns(uint256)

func (*GnosisCaller) LastCreditBatchId

func (_Gnosis *GnosisCaller) LastCreditBatchId(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (uint32, error)

LastCreditBatchId is a free data retrieval call binding the contract method 0x907767c0.

Solidity: function lastCreditBatchId(address , address ) view returns(uint32)

func (*GnosisCaller) LatestSolution

func (_Gnosis *GnosisCaller) LatestSolution(opts *bind.CallOpts) (struct {
	BatchId           uint32
	SolutionSubmitter common.Address
	FeeReward         *big.Int
	ObjectiveValue    *big.Int
}, error)

LatestSolution is a free data retrieval call binding the contract method 0x9cc84ed3.

Solidity: function latestSolution() view returns(uint32 batchId, address solutionSubmitter, uint256 feeReward, uint256 objectiveValue)

func (*GnosisCaller) MAXTOKENS

func (_Gnosis *GnosisCaller) MAXTOKENS(opts *bind.CallOpts) (*big.Int, error)

MAXTOKENS is a free data retrieval call binding the contract method 0xf47c84c5.

Solidity: function MAX_TOKENS() view returns(uint256)

func (*GnosisCaller) MAXTOUCHEDORDERS

func (_Gnosis *GnosisCaller) MAXTOUCHEDORDERS(opts *bind.CallOpts) (*big.Int, error)

MAXTOUCHEDORDERS is a free data retrieval call binding the contract method 0xfb736d32.

Solidity: function MAX_TOUCHED_ORDERS() view returns(uint256)

func (*GnosisCaller) NumTokens

func (_Gnosis *GnosisCaller) NumTokens(opts *bind.CallOpts) (uint16, error)

NumTokens is a free data retrieval call binding the contract method 0x8e499bcf.

Solidity: function numTokens() view returns(uint16)

func (*GnosisCaller) Orders

func (_Gnosis *GnosisCaller) Orders(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	BuyToken         uint16
	SellToken        uint16
	ValidFrom        uint32
	ValidUntil       uint32
	PriceNumerator   *big.Int
	PriceDenominator *big.Int
	UsedAmount       *big.Int
}, error)

Orders is a free data retrieval call binding the contract method 0x793b8c6d.

Solidity: function orders(address , uint256 ) view returns(uint16 buyToken, uint16 sellToken, uint32 validFrom, uint32 validUntil, uint128 priceNumerator, uint128 priceDenominator, uint128 usedAmount)

func (*GnosisCaller) TokenAddressToIdMap

func (_Gnosis *GnosisCaller) TokenAddressToIdMap(opts *bind.CallOpts, addr common.Address) (uint16, error)

TokenAddressToIdMap is a free data retrieval call binding the contract method 0xef574d23.

Solidity: function tokenAddressToIdMap(address addr) view returns(uint16)

func (*GnosisCaller) TokenIdToAddressMap

func (_Gnosis *GnosisCaller) TokenIdToAddressMap(opts *bind.CallOpts, id uint16) (common.Address, error)

TokenIdToAddressMap is a free data retrieval call binding the contract method 0x2f10d082.

Solidity: function tokenIdToAddressMap(uint16 id) view returns(address)

func (*GnosisCaller) UNLIMITEDORDERAMOUNT

func (_Gnosis *GnosisCaller) UNLIMITEDORDERAMOUNT(opts *bind.CallOpts) (*big.Int, error)

UNLIMITEDORDERAMOUNT is a free data retrieval call binding the contract method 0x7fb47b06.

Solidity: function UNLIMITED_ORDER_AMOUNT() view returns(uint128)

type GnosisCallerRaw

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

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

func (*GnosisCallerRaw) Call

func (_Gnosis *GnosisCallerRaw) 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 GnosisCallerSession

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

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

func (*GnosisCallerSession) AMOUNTMINIMUM

func (_Gnosis *GnosisCallerSession) AMOUNTMINIMUM() (*big.Int, error)

AMOUNTMINIMUM is a free data retrieval call binding the contract method 0x61ed16d0.

Solidity: function AMOUNT_MINIMUM() view returns(uint128)

func (*GnosisCallerSession) AcceptingSolutions

func (_Gnosis *GnosisCallerSession) AcceptingSolutions(batchId uint32) (bool, error)

AcceptingSolutions is a free data retrieval call binding the contract method 0xc49598fb.

Solidity: function acceptingSolutions(uint32 batchId) view returns(bool)

func (*GnosisCallerSession) BATCHTIME

func (_Gnosis *GnosisCallerSession) BATCHTIME() (uint32, error)

BATCHTIME is a free data retrieval call binding the contract method 0xe48c015e.

Solidity: function BATCH_TIME() view returns(uint32)

func (*GnosisCallerSession) CurrentPrices

func (_Gnosis *GnosisCallerSession) CurrentPrices(arg0 uint16) (*big.Int, error)

CurrentPrices is a free data retrieval call binding the contract method 0x66367c10.

Solidity: function currentPrices(uint16 ) view returns(uint128)

func (*GnosisCallerSession) ENCODEDAUCTIONELEMENTWIDTH

func (_Gnosis *GnosisCallerSession) ENCODEDAUCTIONELEMENTWIDTH() (*big.Int, error)

ENCODEDAUCTIONELEMENTWIDTH is a free data retrieval call binding the contract method 0xe1d5f64e.

Solidity: function ENCODED_AUCTION_ELEMENT_WIDTH() view returns(uint128)

func (*GnosisCallerSession) FEEDENOMINATOR

func (_Gnosis *GnosisCallerSession) FEEDENOMINATOR() (*big.Int, error)

FEEDENOMINATOR is a free data retrieval call binding the contract method 0xd73792a9.

Solidity: function FEE_DENOMINATOR() view returns(uint128)

func (*GnosisCallerSession) FEEFORLISTINGTOKENINOWL

func (_Gnosis *GnosisCallerSession) FEEFORLISTINGTOKENINOWL() (*big.Int, error)

FEEFORLISTINGTOKENINOWL is a free data retrieval call binding the contract method 0x41e383ed.

Solidity: function FEE_FOR_LISTING_TOKEN_IN_OWL() view returns(uint256)

func (*GnosisCallerSession) FeeToken

func (_Gnosis *GnosisCallerSession) FeeToken() (common.Address, error)

FeeToken is a free data retrieval call binding the contract method 0x647846a5.

Solidity: function feeToken() view returns(address)

func (*GnosisCallerSession) GetBalance

func (_Gnosis *GnosisCallerSession) GetBalance(user common.Address, token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xd4fac45d.

Solidity: function getBalance(address user, address token) view returns(uint256)

func (*GnosisCallerSession) GetCurrentBatchId

func (_Gnosis *GnosisCallerSession) GetCurrentBatchId() (uint32, error)

GetCurrentBatchId is a free data retrieval call binding the contract method 0xe720ac8e.

Solidity: function getCurrentBatchId() view returns(uint32)

func (*GnosisCallerSession) GetCurrentObjectiveValue

func (_Gnosis *GnosisCallerSession) GetCurrentObjectiveValue() (*big.Int, error)

GetCurrentObjectiveValue is a free data retrieval call binding the contract method 0xff97c626.

Solidity: function getCurrentObjectiveValue() view returns(uint256)

func (*GnosisCallerSession) GetEncodedOrders

func (_Gnosis *GnosisCallerSession) GetEncodedOrders() ([]byte, error)

GetEncodedOrders is a free data retrieval call binding the contract method 0x23d4a3c9.

Solidity: function getEncodedOrders() view returns(bytes elements)

func (*GnosisCallerSession) GetEncodedUserOrders

func (_Gnosis *GnosisCallerSession) GetEncodedUserOrders(user common.Address) ([]byte, error)

GetEncodedUserOrders is a free data retrieval call binding the contract method 0x72f3dd39.

Solidity: function getEncodedUserOrders(address user) view returns(bytes elements)

func (*GnosisCallerSession) GetEncodedUserOrdersPaginated

func (_Gnosis *GnosisCallerSession) GetEncodedUserOrdersPaginated(user common.Address, offset uint16, pageSize uint16) ([]byte, error)

GetEncodedUserOrdersPaginated is a free data retrieval call binding the contract method 0xed2da357.

Solidity: function getEncodedUserOrdersPaginated(address user, uint16 offset, uint16 pageSize) view returns(bytes elements)

func (*GnosisCallerSession) GetEncodedUsersPaginated

func (_Gnosis *GnosisCallerSession) GetEncodedUsersPaginated(previousPageUser common.Address, previousPageUserOffset uint16, pageSize uint16) ([]byte, error)

GetEncodedUsersPaginated is a free data retrieval call binding the contract method 0x95466a46.

Solidity: function getEncodedUsersPaginated(address previousPageUser, uint16 previousPageUserOffset, uint16 pageSize) view returns(bytes elements)

func (*GnosisCallerSession) GetPendingDeposit

func (_Gnosis *GnosisCallerSession) GetPendingDeposit(user common.Address, token common.Address) (*big.Int, uint32, error)

GetPendingDeposit is a free data retrieval call binding the contract method 0xb3c0afa1.

Solidity: function getPendingDeposit(address user, address token) view returns(uint256, uint32)

func (*GnosisCallerSession) GetPendingWithdraw

func (_Gnosis *GnosisCallerSession) GetPendingWithdraw(user common.Address, token common.Address) (*big.Int, uint32, error)

GetPendingWithdraw is a free data retrieval call binding the contract method 0xc33eb9f6.

Solidity: function getPendingWithdraw(address user, address token) view returns(uint256, uint32)

func (*GnosisCallerSession) GetSecondsRemainingInBatch

func (_Gnosis *GnosisCallerSession) GetSecondsRemainingInBatch() (*big.Int, error)

GetSecondsRemainingInBatch is a free data retrieval call binding the contract method 0x17569c1d.

Solidity: function getSecondsRemainingInBatch() view returns(uint256)

func (*GnosisCallerSession) GetUsersPaginated

func (_Gnosis *GnosisCallerSession) GetUsersPaginated(previousPageUser common.Address, pageSize uint16) ([]byte, error)

GetUsersPaginated is a free data retrieval call binding the contract method 0x43383ac3.

Solidity: function getUsersPaginated(address previousPageUser, uint16 pageSize) view returns(bytes users)

func (*GnosisCallerSession) HasToken

func (_Gnosis *GnosisCallerSession) HasToken(addr common.Address) (bool, error)

HasToken is a free data retrieval call binding the contract method 0x9bb0f599.

Solidity: function hasToken(address addr) view returns(bool)

func (*GnosisCallerSession) HasValidWithdrawRequest

func (_Gnosis *GnosisCallerSession) HasValidWithdrawRequest(user common.Address, token common.Address) (bool, error)

HasValidWithdrawRequest is a free data retrieval call binding the contract method 0xf3f47982.

Solidity: function hasValidWithdrawRequest(address user, address token) view returns(bool)

func (*GnosisCallerSession) IMPROVEMENTDENOMINATOR

func (_Gnosis *GnosisCallerSession) IMPROVEMENTDENOMINATOR() (*big.Int, error)

IMPROVEMENTDENOMINATOR is a free data retrieval call binding the contract method 0x094c7e19.

Solidity: function IMPROVEMENT_DENOMINATOR() view returns(uint256)

func (*GnosisCallerSession) LastCreditBatchId

func (_Gnosis *GnosisCallerSession) LastCreditBatchId(arg0 common.Address, arg1 common.Address) (uint32, error)

LastCreditBatchId is a free data retrieval call binding the contract method 0x907767c0.

Solidity: function lastCreditBatchId(address , address ) view returns(uint32)

func (*GnosisCallerSession) LatestSolution

func (_Gnosis *GnosisCallerSession) LatestSolution() (struct {
	BatchId           uint32
	SolutionSubmitter common.Address
	FeeReward         *big.Int
	ObjectiveValue    *big.Int
}, error)

LatestSolution is a free data retrieval call binding the contract method 0x9cc84ed3.

Solidity: function latestSolution() view returns(uint32 batchId, address solutionSubmitter, uint256 feeReward, uint256 objectiveValue)

func (*GnosisCallerSession) MAXTOKENS

func (_Gnosis *GnosisCallerSession) MAXTOKENS() (*big.Int, error)

MAXTOKENS is a free data retrieval call binding the contract method 0xf47c84c5.

Solidity: function MAX_TOKENS() view returns(uint256)

func (*GnosisCallerSession) MAXTOUCHEDORDERS

func (_Gnosis *GnosisCallerSession) MAXTOUCHEDORDERS() (*big.Int, error)

MAXTOUCHEDORDERS is a free data retrieval call binding the contract method 0xfb736d32.

Solidity: function MAX_TOUCHED_ORDERS() view returns(uint256)

func (*GnosisCallerSession) NumTokens

func (_Gnosis *GnosisCallerSession) NumTokens() (uint16, error)

NumTokens is a free data retrieval call binding the contract method 0x8e499bcf.

Solidity: function numTokens() view returns(uint16)

func (*GnosisCallerSession) Orders

func (_Gnosis *GnosisCallerSession) Orders(arg0 common.Address, arg1 *big.Int) (struct {
	BuyToken         uint16
	SellToken        uint16
	ValidFrom        uint32
	ValidUntil       uint32
	PriceNumerator   *big.Int
	PriceDenominator *big.Int
	UsedAmount       *big.Int
}, error)

Orders is a free data retrieval call binding the contract method 0x793b8c6d.

Solidity: function orders(address , uint256 ) view returns(uint16 buyToken, uint16 sellToken, uint32 validFrom, uint32 validUntil, uint128 priceNumerator, uint128 priceDenominator, uint128 usedAmount)

func (*GnosisCallerSession) TokenAddressToIdMap

func (_Gnosis *GnosisCallerSession) TokenAddressToIdMap(addr common.Address) (uint16, error)

TokenAddressToIdMap is a free data retrieval call binding the contract method 0xef574d23.

Solidity: function tokenAddressToIdMap(address addr) view returns(uint16)

func (*GnosisCallerSession) TokenIdToAddressMap

func (_Gnosis *GnosisCallerSession) TokenIdToAddressMap(id uint16) (common.Address, error)

TokenIdToAddressMap is a free data retrieval call binding the contract method 0x2f10d082.

Solidity: function tokenIdToAddressMap(uint16 id) view returns(address)

func (*GnosisCallerSession) UNLIMITEDORDERAMOUNT

func (_Gnosis *GnosisCallerSession) UNLIMITEDORDERAMOUNT() (*big.Int, error)

UNLIMITEDORDERAMOUNT is a free data retrieval call binding the contract method 0x7fb47b06.

Solidity: function UNLIMITED_ORDER_AMOUNT() view returns(uint128)

type GnosisDeposit

type GnosisDeposit struct {
	User    common.Address
	Token   common.Address
	Amount  *big.Int
	BatchId uint32
	Raw     types.Log // Blockchain specific contextual infos
}

GnosisDeposit represents a Deposit event raised by the Gnosis contract.

type GnosisDepositIterator

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

GnosisDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Gnosis contract.

func (*GnosisDepositIterator) Close

func (it *GnosisDepositIterator) Close() error

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

func (*GnosisDepositIterator) Error

func (it *GnosisDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GnosisDepositIterator) Next

func (it *GnosisDepositIterator) 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 GnosisFilterer

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

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

func NewGnosisFilterer

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

NewGnosisFilterer creates a new log filterer instance of Gnosis, bound to a specific deployed contract.

func (*GnosisFilterer) FilterDeposit

func (_Gnosis *GnosisFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, token []common.Address) (*GnosisDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xc11cc34e93c67a93382b99f2498e9937198798f3c1c2888008ffc0eeb82f68c4.

Solidity: event Deposit(address indexed user, address indexed token, uint256 amount, uint32 batchId)

func (*GnosisFilterer) FilterOrderCancellation

func (_Gnosis *GnosisFilterer) FilterOrderCancellation(opts *bind.FilterOpts, owner []common.Address) (*GnosisOrderCancellationIterator, error)

FilterOrderCancellation is a free log retrieval operation binding the contract event 0x7a02963a37046835196f1a3185a036fd67cfca72283e46e4b3cdb99939851937.

Solidity: event OrderCancellation(address indexed owner, uint16 id)

func (*GnosisFilterer) FilterOrderDeletion

func (_Gnosis *GnosisFilterer) FilterOrderDeletion(opts *bind.FilterOpts, owner []common.Address) (*GnosisOrderDeletionIterator, error)

FilterOrderDeletion is a free log retrieval operation binding the contract event 0x7b0a9854603fbbe7606a58b70d113bd0d1ec8475f1b8cc9603c2d377e67835cd.

Solidity: event OrderDeletion(address indexed owner, uint16 id)

func (*GnosisFilterer) FilterOrderPlacement

func (_Gnosis *GnosisFilterer) FilterOrderPlacement(opts *bind.FilterOpts, owner []common.Address, buyToken []uint16, sellToken []uint16) (*GnosisOrderPlacementIterator, error)

FilterOrderPlacement is a free log retrieval operation binding the contract event 0xdecf6fde8243981299f7b7a776f29a9fc67a2c9848e25d77c50eb11fa58a7e21.

Solidity: event OrderPlacement(address indexed owner, uint16 index, uint16 indexed buyToken, uint16 indexed sellToken, uint32 validFrom, uint32 validUntil, uint128 priceNumerator, uint128 priceDenominator)

func (*GnosisFilterer) FilterSolutionSubmission

func (_Gnosis *GnosisFilterer) FilterSolutionSubmission(opts *bind.FilterOpts, submitter []common.Address) (*GnosisSolutionSubmissionIterator, error)

FilterSolutionSubmission is a free log retrieval operation binding the contract event 0x2140b6253bf38aea0a4ac9e9e6427b256e4035d60df4a85bb139ce975eb6b41d.

Solidity: event SolutionSubmission(address indexed submitter, uint256 utility, uint256 disregardedUtility, uint256 burntFees, uint256 lastAuctionBurntFees, uint128[] prices, uint16[] tokenIdsForPrice)

func (*GnosisFilterer) FilterTokenListing

func (_Gnosis *GnosisFilterer) FilterTokenListing(opts *bind.FilterOpts) (*GnosisTokenListingIterator, error)

FilterTokenListing is a free log retrieval operation binding the contract event 0xe4b282c4351ffe36572a572de193a7de086edc47c9e62669fe6ab49fc53a3313.

Solidity: event TokenListing(address token, uint16 id)

func (*GnosisFilterer) FilterTrade

func (_Gnosis *GnosisFilterer) FilterTrade(opts *bind.FilterOpts, owner []common.Address, orderId []uint16, sellToken []uint16) (*GnosisTradeIterator, error)

FilterTrade is a free log retrieval operation binding the contract event 0xafa5bc1fb80950b7cb2353ba0cf16a6d68de75801f2dac54b2dae9268450010a.

Solidity: event Trade(address indexed owner, uint16 indexed orderId, uint16 indexed sellToken, uint16 buyToken, uint128 executedSellAmount, uint128 executedBuyAmount)

func (*GnosisFilterer) FilterTradeReversion

func (_Gnosis *GnosisFilterer) FilterTradeReversion(opts *bind.FilterOpts, owner []common.Address, orderId []uint16, sellToken []uint16) (*GnosisTradeReversionIterator, error)

FilterTradeReversion is a free log retrieval operation binding the contract event 0xb7214f648cea2a7c47aaea7e7aafef610de8d04366d26f66879d076516964eae.

Solidity: event TradeReversion(address indexed owner, uint16 indexed orderId, uint16 indexed sellToken, uint16 buyToken, uint128 executedSellAmount, uint128 executedBuyAmount)

func (*GnosisFilterer) FilterWithdraw

func (_Gnosis *GnosisFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, token []common.Address) (*GnosisWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address indexed user, address indexed token, uint256 amount)

func (*GnosisFilterer) FilterWithdrawRequest

func (_Gnosis *GnosisFilterer) FilterWithdrawRequest(opts *bind.FilterOpts, user []common.Address, token []common.Address) (*GnosisWithdrawRequestIterator, error)

FilterWithdrawRequest is a free log retrieval operation binding the contract event 0x2c6245af506f0fc1089918c02c1d01bde9cc807609b334b3e7644d6dfb5a6c5e.

Solidity: event WithdrawRequest(address indexed user, address indexed token, uint256 amount, uint32 batchId)

func (*GnosisFilterer) ParseDeposit

func (_Gnosis *GnosisFilterer) ParseDeposit(log types.Log) (*GnosisDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xc11cc34e93c67a93382b99f2498e9937198798f3c1c2888008ffc0eeb82f68c4.

Solidity: event Deposit(address indexed user, address indexed token, uint256 amount, uint32 batchId)

func (*GnosisFilterer) ParseOrderCancellation

func (_Gnosis *GnosisFilterer) ParseOrderCancellation(log types.Log) (*GnosisOrderCancellation, error)

ParseOrderCancellation is a log parse operation binding the contract event 0x7a02963a37046835196f1a3185a036fd67cfca72283e46e4b3cdb99939851937.

Solidity: event OrderCancellation(address indexed owner, uint16 id)

func (*GnosisFilterer) ParseOrderDeletion

func (_Gnosis *GnosisFilterer) ParseOrderDeletion(log types.Log) (*GnosisOrderDeletion, error)

ParseOrderDeletion is a log parse operation binding the contract event 0x7b0a9854603fbbe7606a58b70d113bd0d1ec8475f1b8cc9603c2d377e67835cd.

Solidity: event OrderDeletion(address indexed owner, uint16 id)

func (*GnosisFilterer) ParseOrderPlacement

func (_Gnosis *GnosisFilterer) ParseOrderPlacement(log types.Log) (*GnosisOrderPlacement, error)

ParseOrderPlacement is a log parse operation binding the contract event 0xdecf6fde8243981299f7b7a776f29a9fc67a2c9848e25d77c50eb11fa58a7e21.

Solidity: event OrderPlacement(address indexed owner, uint16 index, uint16 indexed buyToken, uint16 indexed sellToken, uint32 validFrom, uint32 validUntil, uint128 priceNumerator, uint128 priceDenominator)

func (*GnosisFilterer) ParseSolutionSubmission

func (_Gnosis *GnosisFilterer) ParseSolutionSubmission(log types.Log) (*GnosisSolutionSubmission, error)

ParseSolutionSubmission is a log parse operation binding the contract event 0x2140b6253bf38aea0a4ac9e9e6427b256e4035d60df4a85bb139ce975eb6b41d.

Solidity: event SolutionSubmission(address indexed submitter, uint256 utility, uint256 disregardedUtility, uint256 burntFees, uint256 lastAuctionBurntFees, uint128[] prices, uint16[] tokenIdsForPrice)

func (*GnosisFilterer) ParseTokenListing

func (_Gnosis *GnosisFilterer) ParseTokenListing(log types.Log) (*GnosisTokenListing, error)

ParseTokenListing is a log parse operation binding the contract event 0xe4b282c4351ffe36572a572de193a7de086edc47c9e62669fe6ab49fc53a3313.

Solidity: event TokenListing(address token, uint16 id)

func (*GnosisFilterer) ParseTrade

func (_Gnosis *GnosisFilterer) ParseTrade(log types.Log) (*GnosisTrade, error)

ParseTrade is a log parse operation binding the contract event 0xafa5bc1fb80950b7cb2353ba0cf16a6d68de75801f2dac54b2dae9268450010a.

Solidity: event Trade(address indexed owner, uint16 indexed orderId, uint16 indexed sellToken, uint16 buyToken, uint128 executedSellAmount, uint128 executedBuyAmount)

func (*GnosisFilterer) ParseTradeReversion

func (_Gnosis *GnosisFilterer) ParseTradeReversion(log types.Log) (*GnosisTradeReversion, error)

ParseTradeReversion is a log parse operation binding the contract event 0xb7214f648cea2a7c47aaea7e7aafef610de8d04366d26f66879d076516964eae.

Solidity: event TradeReversion(address indexed owner, uint16 indexed orderId, uint16 indexed sellToken, uint16 buyToken, uint128 executedSellAmount, uint128 executedBuyAmount)

func (*GnosisFilterer) ParseWithdraw

func (_Gnosis *GnosisFilterer) ParseWithdraw(log types.Log) (*GnosisWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address indexed user, address indexed token, uint256 amount)

func (*GnosisFilterer) ParseWithdrawRequest

func (_Gnosis *GnosisFilterer) ParseWithdrawRequest(log types.Log) (*GnosisWithdrawRequest, error)

ParseWithdrawRequest is a log parse operation binding the contract event 0x2c6245af506f0fc1089918c02c1d01bde9cc807609b334b3e7644d6dfb5a6c5e.

Solidity: event WithdrawRequest(address indexed user, address indexed token, uint256 amount, uint32 batchId)

func (*GnosisFilterer) WatchDeposit

func (_Gnosis *GnosisFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *GnosisDeposit, user []common.Address, token []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xc11cc34e93c67a93382b99f2498e9937198798f3c1c2888008ffc0eeb82f68c4.

Solidity: event Deposit(address indexed user, address indexed token, uint256 amount, uint32 batchId)

func (*GnosisFilterer) WatchOrderCancellation

func (_Gnosis *GnosisFilterer) WatchOrderCancellation(opts *bind.WatchOpts, sink chan<- *GnosisOrderCancellation, owner []common.Address) (event.Subscription, error)

WatchOrderCancellation is a free log subscription operation binding the contract event 0x7a02963a37046835196f1a3185a036fd67cfca72283e46e4b3cdb99939851937.

Solidity: event OrderCancellation(address indexed owner, uint16 id)

func (*GnosisFilterer) WatchOrderDeletion

func (_Gnosis *GnosisFilterer) WatchOrderDeletion(opts *bind.WatchOpts, sink chan<- *GnosisOrderDeletion, owner []common.Address) (event.Subscription, error)

WatchOrderDeletion is a free log subscription operation binding the contract event 0x7b0a9854603fbbe7606a58b70d113bd0d1ec8475f1b8cc9603c2d377e67835cd.

Solidity: event OrderDeletion(address indexed owner, uint16 id)

func (*GnosisFilterer) WatchOrderPlacement

func (_Gnosis *GnosisFilterer) WatchOrderPlacement(opts *bind.WatchOpts, sink chan<- *GnosisOrderPlacement, owner []common.Address, buyToken []uint16, sellToken []uint16) (event.Subscription, error)

WatchOrderPlacement is a free log subscription operation binding the contract event 0xdecf6fde8243981299f7b7a776f29a9fc67a2c9848e25d77c50eb11fa58a7e21.

Solidity: event OrderPlacement(address indexed owner, uint16 index, uint16 indexed buyToken, uint16 indexed sellToken, uint32 validFrom, uint32 validUntil, uint128 priceNumerator, uint128 priceDenominator)

func (*GnosisFilterer) WatchSolutionSubmission

func (_Gnosis *GnosisFilterer) WatchSolutionSubmission(opts *bind.WatchOpts, sink chan<- *GnosisSolutionSubmission, submitter []common.Address) (event.Subscription, error)

WatchSolutionSubmission is a free log subscription operation binding the contract event 0x2140b6253bf38aea0a4ac9e9e6427b256e4035d60df4a85bb139ce975eb6b41d.

Solidity: event SolutionSubmission(address indexed submitter, uint256 utility, uint256 disregardedUtility, uint256 burntFees, uint256 lastAuctionBurntFees, uint128[] prices, uint16[] tokenIdsForPrice)

func (*GnosisFilterer) WatchTokenListing

func (_Gnosis *GnosisFilterer) WatchTokenListing(opts *bind.WatchOpts, sink chan<- *GnosisTokenListing) (event.Subscription, error)

WatchTokenListing is a free log subscription operation binding the contract event 0xe4b282c4351ffe36572a572de193a7de086edc47c9e62669fe6ab49fc53a3313.

Solidity: event TokenListing(address token, uint16 id)

func (*GnosisFilterer) WatchTrade

func (_Gnosis *GnosisFilterer) WatchTrade(opts *bind.WatchOpts, sink chan<- *GnosisTrade, owner []common.Address, orderId []uint16, sellToken []uint16) (event.Subscription, error)

WatchTrade is a free log subscription operation binding the contract event 0xafa5bc1fb80950b7cb2353ba0cf16a6d68de75801f2dac54b2dae9268450010a.

Solidity: event Trade(address indexed owner, uint16 indexed orderId, uint16 indexed sellToken, uint16 buyToken, uint128 executedSellAmount, uint128 executedBuyAmount)

func (*GnosisFilterer) WatchTradeReversion

func (_Gnosis *GnosisFilterer) WatchTradeReversion(opts *bind.WatchOpts, sink chan<- *GnosisTradeReversion, owner []common.Address, orderId []uint16, sellToken []uint16) (event.Subscription, error)

WatchTradeReversion is a free log subscription operation binding the contract event 0xb7214f648cea2a7c47aaea7e7aafef610de8d04366d26f66879d076516964eae.

Solidity: event TradeReversion(address indexed owner, uint16 indexed orderId, uint16 indexed sellToken, uint16 buyToken, uint128 executedSellAmount, uint128 executedBuyAmount)

func (*GnosisFilterer) WatchWithdraw

func (_Gnosis *GnosisFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *GnosisWithdraw, user []common.Address, token []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

Solidity: event Withdraw(address indexed user, address indexed token, uint256 amount)

func (*GnosisFilterer) WatchWithdrawRequest

func (_Gnosis *GnosisFilterer) WatchWithdrawRequest(opts *bind.WatchOpts, sink chan<- *GnosisWithdrawRequest, user []common.Address, token []common.Address) (event.Subscription, error)

WatchWithdrawRequest is a free log subscription operation binding the contract event 0x2c6245af506f0fc1089918c02c1d01bde9cc807609b334b3e7644d6dfb5a6c5e.

Solidity: event WithdrawRequest(address indexed user, address indexed token, uint256 amount, uint32 batchId)

type GnosisOrderCancellation

type GnosisOrderCancellation struct {
	Owner common.Address
	Id    uint16
	Raw   types.Log // Blockchain specific contextual infos
}

GnosisOrderCancellation represents a OrderCancellation event raised by the Gnosis contract.

type GnosisOrderCancellationIterator

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

GnosisOrderCancellationIterator is returned from FilterOrderCancellation and is used to iterate over the raw logs and unpacked data for OrderCancellation events raised by the Gnosis contract.

func (*GnosisOrderCancellationIterator) Close

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

func (*GnosisOrderCancellationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GnosisOrderCancellationIterator) 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 GnosisOrderDeletion

type GnosisOrderDeletion struct {
	Owner common.Address
	Id    uint16
	Raw   types.Log // Blockchain specific contextual infos
}

GnosisOrderDeletion represents a OrderDeletion event raised by the Gnosis contract.

type GnosisOrderDeletionIterator

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

GnosisOrderDeletionIterator is returned from FilterOrderDeletion and is used to iterate over the raw logs and unpacked data for OrderDeletion events raised by the Gnosis contract.

func (*GnosisOrderDeletionIterator) Close

func (it *GnosisOrderDeletionIterator) Close() error

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

func (*GnosisOrderDeletionIterator) Error

func (it *GnosisOrderDeletionIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GnosisOrderDeletionIterator) Next

func (it *GnosisOrderDeletionIterator) 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 GnosisOrderPlacement

type GnosisOrderPlacement struct {
	Owner            common.Address
	Index            uint16
	BuyToken         uint16
	SellToken        uint16
	ValidFrom        uint32
	ValidUntil       uint32
	PriceNumerator   *big.Int
	PriceDenominator *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

GnosisOrderPlacement represents a OrderPlacement event raised by the Gnosis contract.

type GnosisOrderPlacementIterator

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

GnosisOrderPlacementIterator is returned from FilterOrderPlacement and is used to iterate over the raw logs and unpacked data for OrderPlacement events raised by the Gnosis contract.

func (*GnosisOrderPlacementIterator) Close

func (it *GnosisOrderPlacementIterator) Close() error

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

func (*GnosisOrderPlacementIterator) Error

func (it *GnosisOrderPlacementIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GnosisOrderPlacementIterator) 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 GnosisRaw

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

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

func (*GnosisRaw) Call

func (_Gnosis *GnosisRaw) 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 (*GnosisRaw) Transact

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

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

func (*GnosisRaw) Transfer

func (_Gnosis *GnosisRaw) 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 GnosisSession

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

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

func (*GnosisSession) AMOUNTMINIMUM

func (_Gnosis *GnosisSession) AMOUNTMINIMUM() (*big.Int, error)

AMOUNTMINIMUM is a free data retrieval call binding the contract method 0x61ed16d0.

Solidity: function AMOUNT_MINIMUM() view returns(uint128)

func (*GnosisSession) AcceptingSolutions

func (_Gnosis *GnosisSession) AcceptingSolutions(batchId uint32) (bool, error)

AcceptingSolutions is a free data retrieval call binding the contract method 0xc49598fb.

Solidity: function acceptingSolutions(uint32 batchId) view returns(bool)

func (*GnosisSession) AddToken

func (_Gnosis *GnosisSession) AddToken(token common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0xd48bfca7.

Solidity: function addToken(address token) returns()

func (*GnosisSession) BATCHTIME

func (_Gnosis *GnosisSession) BATCHTIME() (uint32, error)

BATCHTIME is a free data retrieval call binding the contract method 0xe48c015e.

Solidity: function BATCH_TIME() view returns(uint32)

func (*GnosisSession) CancelOrders

func (_Gnosis *GnosisSession) CancelOrders(orderIds []uint16) (*types.Transaction, error)

CancelOrders is a paid mutator transaction binding the contract method 0x4bdc1b4c.

Solidity: function cancelOrders(uint16[] orderIds) returns()

func (*GnosisSession) CurrentPrices

func (_Gnosis *GnosisSession) CurrentPrices(arg0 uint16) (*big.Int, error)

CurrentPrices is a free data retrieval call binding the contract method 0x66367c10.

Solidity: function currentPrices(uint16 ) view returns(uint128)

func (*GnosisSession) Deposit

func (_Gnosis *GnosisSession) Deposit(token common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address token, uint256 amount) returns()

func (*GnosisSession) ENCODEDAUCTIONELEMENTWIDTH

func (_Gnosis *GnosisSession) ENCODEDAUCTIONELEMENTWIDTH() (*big.Int, error)

ENCODEDAUCTIONELEMENTWIDTH is a free data retrieval call binding the contract method 0xe1d5f64e.

Solidity: function ENCODED_AUCTION_ELEMENT_WIDTH() view returns(uint128)

func (*GnosisSession) FEEDENOMINATOR

func (_Gnosis *GnosisSession) FEEDENOMINATOR() (*big.Int, error)

FEEDENOMINATOR is a free data retrieval call binding the contract method 0xd73792a9.

Solidity: function FEE_DENOMINATOR() view returns(uint128)

func (*GnosisSession) FEEFORLISTINGTOKENINOWL

func (_Gnosis *GnosisSession) FEEFORLISTINGTOKENINOWL() (*big.Int, error)

FEEFORLISTINGTOKENINOWL is a free data retrieval call binding the contract method 0x41e383ed.

Solidity: function FEE_FOR_LISTING_TOKEN_IN_OWL() view returns(uint256)

func (*GnosisSession) FeeToken

func (_Gnosis *GnosisSession) FeeToken() (common.Address, error)

FeeToken is a free data retrieval call binding the contract method 0x647846a5.

Solidity: function feeToken() view returns(address)

func (*GnosisSession) GetBalance

func (_Gnosis *GnosisSession) GetBalance(user common.Address, token common.Address) (*big.Int, error)

GetBalance is a free data retrieval call binding the contract method 0xd4fac45d.

Solidity: function getBalance(address user, address token) view returns(uint256)

func (*GnosisSession) GetCurrentBatchId

func (_Gnosis *GnosisSession) GetCurrentBatchId() (uint32, error)

GetCurrentBatchId is a free data retrieval call binding the contract method 0xe720ac8e.

Solidity: function getCurrentBatchId() view returns(uint32)

func (*GnosisSession) GetCurrentObjectiveValue

func (_Gnosis *GnosisSession) GetCurrentObjectiveValue() (*big.Int, error)

GetCurrentObjectiveValue is a free data retrieval call binding the contract method 0xff97c626.

Solidity: function getCurrentObjectiveValue() view returns(uint256)

func (*GnosisSession) GetEncodedOrders

func (_Gnosis *GnosisSession) GetEncodedOrders() ([]byte, error)

GetEncodedOrders is a free data retrieval call binding the contract method 0x23d4a3c9.

Solidity: function getEncodedOrders() view returns(bytes elements)

func (*GnosisSession) GetEncodedUserOrders

func (_Gnosis *GnosisSession) GetEncodedUserOrders(user common.Address) ([]byte, error)

GetEncodedUserOrders is a free data retrieval call binding the contract method 0x72f3dd39.

Solidity: function getEncodedUserOrders(address user) view returns(bytes elements)

func (*GnosisSession) GetEncodedUserOrdersPaginated

func (_Gnosis *GnosisSession) GetEncodedUserOrdersPaginated(user common.Address, offset uint16, pageSize uint16) ([]byte, error)

GetEncodedUserOrdersPaginated is a free data retrieval call binding the contract method 0xed2da357.

Solidity: function getEncodedUserOrdersPaginated(address user, uint16 offset, uint16 pageSize) view returns(bytes elements)

func (*GnosisSession) GetEncodedUsersPaginated

func (_Gnosis *GnosisSession) GetEncodedUsersPaginated(previousPageUser common.Address, previousPageUserOffset uint16, pageSize uint16) ([]byte, error)

GetEncodedUsersPaginated is a free data retrieval call binding the contract method 0x95466a46.

Solidity: function getEncodedUsersPaginated(address previousPageUser, uint16 previousPageUserOffset, uint16 pageSize) view returns(bytes elements)

func (*GnosisSession) GetPendingDeposit

func (_Gnosis *GnosisSession) GetPendingDeposit(user common.Address, token common.Address) (*big.Int, uint32, error)

GetPendingDeposit is a free data retrieval call binding the contract method 0xb3c0afa1.

Solidity: function getPendingDeposit(address user, address token) view returns(uint256, uint32)

func (*GnosisSession) GetPendingWithdraw

func (_Gnosis *GnosisSession) GetPendingWithdraw(user common.Address, token common.Address) (*big.Int, uint32, error)

GetPendingWithdraw is a free data retrieval call binding the contract method 0xc33eb9f6.

Solidity: function getPendingWithdraw(address user, address token) view returns(uint256, uint32)

func (*GnosisSession) GetSecondsRemainingInBatch

func (_Gnosis *GnosisSession) GetSecondsRemainingInBatch() (*big.Int, error)

GetSecondsRemainingInBatch is a free data retrieval call binding the contract method 0x17569c1d.

Solidity: function getSecondsRemainingInBatch() view returns(uint256)

func (*GnosisSession) GetUsersPaginated

func (_Gnosis *GnosisSession) GetUsersPaginated(previousPageUser common.Address, pageSize uint16) ([]byte, error)

GetUsersPaginated is a free data retrieval call binding the contract method 0x43383ac3.

Solidity: function getUsersPaginated(address previousPageUser, uint16 pageSize) view returns(bytes users)

func (*GnosisSession) HasToken

func (_Gnosis *GnosisSession) HasToken(addr common.Address) (bool, error)

HasToken is a free data retrieval call binding the contract method 0x9bb0f599.

Solidity: function hasToken(address addr) view returns(bool)

func (*GnosisSession) HasValidWithdrawRequest

func (_Gnosis *GnosisSession) HasValidWithdrawRequest(user common.Address, token common.Address) (bool, error)

HasValidWithdrawRequest is a free data retrieval call binding the contract method 0xf3f47982.

Solidity: function hasValidWithdrawRequest(address user, address token) view returns(bool)

func (*GnosisSession) IMPROVEMENTDENOMINATOR

func (_Gnosis *GnosisSession) IMPROVEMENTDENOMINATOR() (*big.Int, error)

IMPROVEMENTDENOMINATOR is a free data retrieval call binding the contract method 0x094c7e19.

Solidity: function IMPROVEMENT_DENOMINATOR() view returns(uint256)

func (*GnosisSession) LastCreditBatchId

func (_Gnosis *GnosisSession) LastCreditBatchId(arg0 common.Address, arg1 common.Address) (uint32, error)

LastCreditBatchId is a free data retrieval call binding the contract method 0x907767c0.

Solidity: function lastCreditBatchId(address , address ) view returns(uint32)

func (*GnosisSession) LatestSolution

func (_Gnosis *GnosisSession) LatestSolution() (struct {
	BatchId           uint32
	SolutionSubmitter common.Address
	FeeReward         *big.Int
	ObjectiveValue    *big.Int
}, error)

LatestSolution is a free data retrieval call binding the contract method 0x9cc84ed3.

Solidity: function latestSolution() view returns(uint32 batchId, address solutionSubmitter, uint256 feeReward, uint256 objectiveValue)

func (*GnosisSession) MAXTOKENS

func (_Gnosis *GnosisSession) MAXTOKENS() (*big.Int, error)

MAXTOKENS is a free data retrieval call binding the contract method 0xf47c84c5.

Solidity: function MAX_TOKENS() view returns(uint256)

func (*GnosisSession) MAXTOUCHEDORDERS

func (_Gnosis *GnosisSession) MAXTOUCHEDORDERS() (*big.Int, error)

MAXTOUCHEDORDERS is a free data retrieval call binding the contract method 0xfb736d32.

Solidity: function MAX_TOUCHED_ORDERS() view returns(uint256)

func (*GnosisSession) NumTokens

func (_Gnosis *GnosisSession) NumTokens() (uint16, error)

NumTokens is a free data retrieval call binding the contract method 0x8e499bcf.

Solidity: function numTokens() view returns(uint16)

func (*GnosisSession) Orders

func (_Gnosis *GnosisSession) Orders(arg0 common.Address, arg1 *big.Int) (struct {
	BuyToken         uint16
	SellToken        uint16
	ValidFrom        uint32
	ValidUntil       uint32
	PriceNumerator   *big.Int
	PriceDenominator *big.Int
	UsedAmount       *big.Int
}, error)

Orders is a free data retrieval call binding the contract method 0x793b8c6d.

Solidity: function orders(address , uint256 ) view returns(uint16 buyToken, uint16 sellToken, uint32 validFrom, uint32 validUntil, uint128 priceNumerator, uint128 priceDenominator, uint128 usedAmount)

func (*GnosisSession) PlaceOrder

func (_Gnosis *GnosisSession) PlaceOrder(buyToken uint16, sellToken uint16, validUntil uint32, buyAmount *big.Int, sellAmount *big.Int) (*types.Transaction, error)

PlaceOrder is a paid mutator transaction binding the contract method 0x26c3d394.

Solidity: function placeOrder(uint16 buyToken, uint16 sellToken, uint32 validUntil, uint128 buyAmount, uint128 sellAmount) returns(uint256)

func (*GnosisSession) PlaceValidFromOrders

func (_Gnosis *GnosisSession) PlaceValidFromOrders(buyTokens []uint16, sellTokens []uint16, validFroms []uint32, validUntils []uint32, buyAmounts []*big.Int, sellAmounts []*big.Int) (*types.Transaction, error)

PlaceValidFromOrders is a paid mutator transaction binding the contract method 0x65cc3e78.

Solidity: function placeValidFromOrders(uint16[] buyTokens, uint16[] sellTokens, uint32[] validFroms, uint32[] validUntils, uint128[] buyAmounts, uint128[] sellAmounts) returns(uint16[] orderIds)

func (*GnosisSession) ReplaceOrders

func (_Gnosis *GnosisSession) ReplaceOrders(cancellations []uint16, buyTokens []uint16, sellTokens []uint16, validFroms []uint32, validUntils []uint32, buyAmounts []*big.Int, sellAmounts []*big.Int) (*types.Transaction, error)

ReplaceOrders is a paid mutator transaction binding the contract method 0xc1ef2838.

Solidity: function replaceOrders(uint16[] cancellations, uint16[] buyTokens, uint16[] sellTokens, uint32[] validFroms, uint32[] validUntils, uint128[] buyAmounts, uint128[] sellAmounts) returns(uint16[])

func (*GnosisSession) RequestFutureWithdraw

func (_Gnosis *GnosisSession) RequestFutureWithdraw(token common.Address, amount *big.Int, batchId uint32) (*types.Transaction, error)

RequestFutureWithdraw is a paid mutator transaction binding the contract method 0xf36b6355.

Solidity: function requestFutureWithdraw(address token, uint256 amount, uint32 batchId) returns()

func (*GnosisSession) RequestWithdraw

func (_Gnosis *GnosisSession) RequestWithdraw(token common.Address, amount *big.Int) (*types.Transaction, error)

RequestWithdraw is a paid mutator transaction binding the contract method 0x397a1b28.

Solidity: function requestWithdraw(address token, uint256 amount) returns()

func (*GnosisSession) SubmitSolution

func (_Gnosis *GnosisSession) SubmitSolution(batchId uint32, claimedObjectiveValue *big.Int, owners []common.Address, orderIds []uint16, buyVolumes []*big.Int, prices []*big.Int, tokenIdsForPrice []uint16) (*types.Transaction, error)

SubmitSolution is a paid mutator transaction binding the contract method 0x2e4c83bd.

Solidity: function submitSolution(uint32 batchId, uint256 claimedObjectiveValue, address[] owners, uint16[] orderIds, uint128[] buyVolumes, uint128[] prices, uint16[] tokenIdsForPrice) returns(uint256)

func (*GnosisSession) TokenAddressToIdMap

func (_Gnosis *GnosisSession) TokenAddressToIdMap(addr common.Address) (uint16, error)

TokenAddressToIdMap is a free data retrieval call binding the contract method 0xef574d23.

Solidity: function tokenAddressToIdMap(address addr) view returns(uint16)

func (*GnosisSession) TokenIdToAddressMap

func (_Gnosis *GnosisSession) TokenIdToAddressMap(id uint16) (common.Address, error)

TokenIdToAddressMap is a free data retrieval call binding the contract method 0x2f10d082.

Solidity: function tokenIdToAddressMap(uint16 id) view returns(address)

func (*GnosisSession) UNLIMITEDORDERAMOUNT

func (_Gnosis *GnosisSession) UNLIMITEDORDERAMOUNT() (*big.Int, error)

UNLIMITEDORDERAMOUNT is a free data retrieval call binding the contract method 0x7fb47b06.

Solidity: function UNLIMITED_ORDER_AMOUNT() view returns(uint128)

func (*GnosisSession) Withdraw

func (_Gnosis *GnosisSession) Withdraw(user common.Address, token common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf940e385.

Solidity: function withdraw(address user, address token) returns()

type GnosisSolutionSubmission

type GnosisSolutionSubmission struct {
	Submitter            common.Address
	Utility              *big.Int
	DisregardedUtility   *big.Int
	BurntFees            *big.Int
	LastAuctionBurntFees *big.Int
	Prices               []*big.Int
	TokenIdsForPrice     []uint16
	Raw                  types.Log // Blockchain specific contextual infos
}

GnosisSolutionSubmission represents a SolutionSubmission event raised by the Gnosis contract.

type GnosisSolutionSubmissionIterator

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

GnosisSolutionSubmissionIterator is returned from FilterSolutionSubmission and is used to iterate over the raw logs and unpacked data for SolutionSubmission events raised by the Gnosis contract.

func (*GnosisSolutionSubmissionIterator) Close

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

func (*GnosisSolutionSubmissionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GnosisSolutionSubmissionIterator) 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 GnosisTokenListing

type GnosisTokenListing struct {
	Token common.Address
	Id    uint16
	Raw   types.Log // Blockchain specific contextual infos
}

GnosisTokenListing represents a TokenListing event raised by the Gnosis contract.

type GnosisTokenListingIterator

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

GnosisTokenListingIterator is returned from FilterTokenListing and is used to iterate over the raw logs and unpacked data for TokenListing events raised by the Gnosis contract.

func (*GnosisTokenListingIterator) Close

func (it *GnosisTokenListingIterator) Close() error

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

func (*GnosisTokenListingIterator) Error

func (it *GnosisTokenListingIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GnosisTokenListingIterator) Next

func (it *GnosisTokenListingIterator) 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 GnosisTrade

type GnosisTrade struct {
	Owner              common.Address
	OrderId            uint16
	SellToken          uint16
	BuyToken           uint16
	ExecutedSellAmount *big.Int
	ExecutedBuyAmount  *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

GnosisTrade represents a Trade event raised by the Gnosis contract.

type GnosisTradeIterator

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

GnosisTradeIterator is returned from FilterTrade and is used to iterate over the raw logs and unpacked data for Trade events raised by the Gnosis contract.

func (*GnosisTradeIterator) Close

func (it *GnosisTradeIterator) Close() error

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

func (*GnosisTradeIterator) Error

func (it *GnosisTradeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GnosisTradeIterator) Next

func (it *GnosisTradeIterator) 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 GnosisTradeReversion

type GnosisTradeReversion struct {
	Owner              common.Address
	OrderId            uint16
	SellToken          uint16
	BuyToken           uint16
	ExecutedSellAmount *big.Int
	ExecutedBuyAmount  *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

GnosisTradeReversion represents a TradeReversion event raised by the Gnosis contract.

type GnosisTradeReversionIterator

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

GnosisTradeReversionIterator is returned from FilterTradeReversion and is used to iterate over the raw logs and unpacked data for TradeReversion events raised by the Gnosis contract.

func (*GnosisTradeReversionIterator) Close

func (it *GnosisTradeReversionIterator) Close() error

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

func (*GnosisTradeReversionIterator) Error

func (it *GnosisTradeReversionIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GnosisTradeReversionIterator) 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 GnosisTransactor

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

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

func NewGnosisTransactor

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

NewGnosisTransactor creates a new write-only instance of Gnosis, bound to a specific deployed contract.

func (*GnosisTransactor) AddToken

func (_Gnosis *GnosisTransactor) AddToken(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0xd48bfca7.

Solidity: function addToken(address token) returns()

func (*GnosisTransactor) CancelOrders

func (_Gnosis *GnosisTransactor) CancelOrders(opts *bind.TransactOpts, orderIds []uint16) (*types.Transaction, error)

CancelOrders is a paid mutator transaction binding the contract method 0x4bdc1b4c.

Solidity: function cancelOrders(uint16[] orderIds) returns()

func (*GnosisTransactor) Deposit

func (_Gnosis *GnosisTransactor) Deposit(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address token, uint256 amount) returns()

func (*GnosisTransactor) PlaceOrder

func (_Gnosis *GnosisTransactor) PlaceOrder(opts *bind.TransactOpts, buyToken uint16, sellToken uint16, validUntil uint32, buyAmount *big.Int, sellAmount *big.Int) (*types.Transaction, error)

PlaceOrder is a paid mutator transaction binding the contract method 0x26c3d394.

Solidity: function placeOrder(uint16 buyToken, uint16 sellToken, uint32 validUntil, uint128 buyAmount, uint128 sellAmount) returns(uint256)

func (*GnosisTransactor) PlaceValidFromOrders

func (_Gnosis *GnosisTransactor) PlaceValidFromOrders(opts *bind.TransactOpts, buyTokens []uint16, sellTokens []uint16, validFroms []uint32, validUntils []uint32, buyAmounts []*big.Int, sellAmounts []*big.Int) (*types.Transaction, error)

PlaceValidFromOrders is a paid mutator transaction binding the contract method 0x65cc3e78.

Solidity: function placeValidFromOrders(uint16[] buyTokens, uint16[] sellTokens, uint32[] validFroms, uint32[] validUntils, uint128[] buyAmounts, uint128[] sellAmounts) returns(uint16[] orderIds)

func (*GnosisTransactor) ReplaceOrders

func (_Gnosis *GnosisTransactor) ReplaceOrders(opts *bind.TransactOpts, cancellations []uint16, buyTokens []uint16, sellTokens []uint16, validFroms []uint32, validUntils []uint32, buyAmounts []*big.Int, sellAmounts []*big.Int) (*types.Transaction, error)

ReplaceOrders is a paid mutator transaction binding the contract method 0xc1ef2838.

Solidity: function replaceOrders(uint16[] cancellations, uint16[] buyTokens, uint16[] sellTokens, uint32[] validFroms, uint32[] validUntils, uint128[] buyAmounts, uint128[] sellAmounts) returns(uint16[])

func (*GnosisTransactor) RequestFutureWithdraw

func (_Gnosis *GnosisTransactor) RequestFutureWithdraw(opts *bind.TransactOpts, token common.Address, amount *big.Int, batchId uint32) (*types.Transaction, error)

RequestFutureWithdraw is a paid mutator transaction binding the contract method 0xf36b6355.

Solidity: function requestFutureWithdraw(address token, uint256 amount, uint32 batchId) returns()

func (*GnosisTransactor) RequestWithdraw

func (_Gnosis *GnosisTransactor) RequestWithdraw(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

RequestWithdraw is a paid mutator transaction binding the contract method 0x397a1b28.

Solidity: function requestWithdraw(address token, uint256 amount) returns()

func (*GnosisTransactor) SubmitSolution

func (_Gnosis *GnosisTransactor) SubmitSolution(opts *bind.TransactOpts, batchId uint32, claimedObjectiveValue *big.Int, owners []common.Address, orderIds []uint16, buyVolumes []*big.Int, prices []*big.Int, tokenIdsForPrice []uint16) (*types.Transaction, error)

SubmitSolution is a paid mutator transaction binding the contract method 0x2e4c83bd.

Solidity: function submitSolution(uint32 batchId, uint256 claimedObjectiveValue, address[] owners, uint16[] orderIds, uint128[] buyVolumes, uint128[] prices, uint16[] tokenIdsForPrice) returns(uint256)

func (*GnosisTransactor) Withdraw

func (_Gnosis *GnosisTransactor) Withdraw(opts *bind.TransactOpts, user common.Address, token common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf940e385.

Solidity: function withdraw(address user, address token) returns()

type GnosisTransactorRaw

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

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

func (*GnosisTransactorRaw) Transact

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

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

func (*GnosisTransactorRaw) Transfer

func (_Gnosis *GnosisTransactorRaw) 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 GnosisTransactorSession

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

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

func (*GnosisTransactorSession) AddToken

func (_Gnosis *GnosisTransactorSession) AddToken(token common.Address) (*types.Transaction, error)

AddToken is a paid mutator transaction binding the contract method 0xd48bfca7.

Solidity: function addToken(address token) returns()

func (*GnosisTransactorSession) CancelOrders

func (_Gnosis *GnosisTransactorSession) CancelOrders(orderIds []uint16) (*types.Transaction, error)

CancelOrders is a paid mutator transaction binding the contract method 0x4bdc1b4c.

Solidity: function cancelOrders(uint16[] orderIds) returns()

func (*GnosisTransactorSession) Deposit

func (_Gnosis *GnosisTransactorSession) Deposit(token common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x47e7ef24.

Solidity: function deposit(address token, uint256 amount) returns()

func (*GnosisTransactorSession) PlaceOrder

func (_Gnosis *GnosisTransactorSession) PlaceOrder(buyToken uint16, sellToken uint16, validUntil uint32, buyAmount *big.Int, sellAmount *big.Int) (*types.Transaction, error)

PlaceOrder is a paid mutator transaction binding the contract method 0x26c3d394.

Solidity: function placeOrder(uint16 buyToken, uint16 sellToken, uint32 validUntil, uint128 buyAmount, uint128 sellAmount) returns(uint256)

func (*GnosisTransactorSession) PlaceValidFromOrders

func (_Gnosis *GnosisTransactorSession) PlaceValidFromOrders(buyTokens []uint16, sellTokens []uint16, validFroms []uint32, validUntils []uint32, buyAmounts []*big.Int, sellAmounts []*big.Int) (*types.Transaction, error)

PlaceValidFromOrders is a paid mutator transaction binding the contract method 0x65cc3e78.

Solidity: function placeValidFromOrders(uint16[] buyTokens, uint16[] sellTokens, uint32[] validFroms, uint32[] validUntils, uint128[] buyAmounts, uint128[] sellAmounts) returns(uint16[] orderIds)

func (*GnosisTransactorSession) ReplaceOrders

func (_Gnosis *GnosisTransactorSession) ReplaceOrders(cancellations []uint16, buyTokens []uint16, sellTokens []uint16, validFroms []uint32, validUntils []uint32, buyAmounts []*big.Int, sellAmounts []*big.Int) (*types.Transaction, error)

ReplaceOrders is a paid mutator transaction binding the contract method 0xc1ef2838.

Solidity: function replaceOrders(uint16[] cancellations, uint16[] buyTokens, uint16[] sellTokens, uint32[] validFroms, uint32[] validUntils, uint128[] buyAmounts, uint128[] sellAmounts) returns(uint16[])

func (*GnosisTransactorSession) RequestFutureWithdraw

func (_Gnosis *GnosisTransactorSession) RequestFutureWithdraw(token common.Address, amount *big.Int, batchId uint32) (*types.Transaction, error)

RequestFutureWithdraw is a paid mutator transaction binding the contract method 0xf36b6355.

Solidity: function requestFutureWithdraw(address token, uint256 amount, uint32 batchId) returns()

func (*GnosisTransactorSession) RequestWithdraw

func (_Gnosis *GnosisTransactorSession) RequestWithdraw(token common.Address, amount *big.Int) (*types.Transaction, error)

RequestWithdraw is a paid mutator transaction binding the contract method 0x397a1b28.

Solidity: function requestWithdraw(address token, uint256 amount) returns()

func (*GnosisTransactorSession) SubmitSolution

func (_Gnosis *GnosisTransactorSession) SubmitSolution(batchId uint32, claimedObjectiveValue *big.Int, owners []common.Address, orderIds []uint16, buyVolumes []*big.Int, prices []*big.Int, tokenIdsForPrice []uint16) (*types.Transaction, error)

SubmitSolution is a paid mutator transaction binding the contract method 0x2e4c83bd.

Solidity: function submitSolution(uint32 batchId, uint256 claimedObjectiveValue, address[] owners, uint16[] orderIds, uint128[] buyVolumes, uint128[] prices, uint16[] tokenIdsForPrice) returns(uint256)

func (*GnosisTransactorSession) Withdraw

func (_Gnosis *GnosisTransactorSession) Withdraw(user common.Address, token common.Address) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf940e385.

Solidity: function withdraw(address user, address token) returns()

type GnosisWithdraw

type GnosisWithdraw struct {
	User   common.Address
	Token  common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

GnosisWithdraw represents a Withdraw event raised by the Gnosis contract.

type GnosisWithdrawIterator

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

GnosisWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Gnosis contract.

func (*GnosisWithdrawIterator) Close

func (it *GnosisWithdrawIterator) Close() error

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

func (*GnosisWithdrawIterator) Error

func (it *GnosisWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GnosisWithdrawIterator) Next

func (it *GnosisWithdrawIterator) 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 GnosisWithdrawRequest

type GnosisWithdrawRequest struct {
	User    common.Address
	Token   common.Address
	Amount  *big.Int
	BatchId uint32
	Raw     types.Log // Blockchain specific contextual infos
}

GnosisWithdrawRequest represents a WithdrawRequest event raised by the Gnosis contract.

type GnosisWithdrawRequestIterator

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

GnosisWithdrawRequestIterator is returned from FilterWithdrawRequest and is used to iterate over the raw logs and unpacked data for WithdrawRequest events raised by the Gnosis contract.

func (*GnosisWithdrawRequestIterator) Close

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

func (*GnosisWithdrawRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GnosisWithdrawRequestIterator) 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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