exchangecontract

package
v0.0.0-...-b400eb5 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ExchangeABI = "" /* 3976-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Exchange

type Exchange struct {
	ExchangeCaller     // Read-only binding to the contract
	ExchangeTransactor // Write-only binding to the contract
}

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

func NewExchange

func NewExchange(address common.Address, backend bind.ContractBackend) (*Exchange, error)

NewExchange creates a new instance of Exchange, bound to a specific deployed contract.

type ExchangeCaller

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

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

func NewExchangeCaller

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

NewExchangeCaller creates a new read-only instance of Exchange, bound to a specific deployed contract.

func (*ExchangeCaller) AllowedValidators

func (_Exchange *ExchangeCaller) AllowedValidators(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)

AllowedValidators is a free data retrieval call binding the contract method 0x7b8e3514.

Solidity: function allowedValidators( address, address) constant returns(bool)

func (*ExchangeCaller) Cancelled

func (_Exchange *ExchangeCaller) Cancelled(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

Cancelled is a free data retrieval call binding the contract method 0x2ac12622.

Solidity: function cancelled( bytes32) constant returns(bool)

func (*ExchangeCaller) Filled

func (_Exchange *ExchangeCaller) Filled(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

Filled is a free data retrieval call binding the contract method 0x288cdc91.

Solidity: function filled( bytes32) constant returns(uint256)

func (*ExchangeCaller) GetAssetProxy

func (_Exchange *ExchangeCaller) GetAssetProxy(opts *bind.CallOpts, assetProxyId [4]byte) (common.Address, error)

GetAssetProxy is a free data retrieval call binding the contract method 0x60704108.

Solidity: function getAssetProxy(assetProxyId bytes4) constant returns(address)

func (*ExchangeCaller) IsValidSignature

func (_Exchange *ExchangeCaller) IsValidSignature(opts *bind.CallOpts, hash [32]byte, signerAddress common.Address, signature []byte) (bool, error)

IsValidSignature is a free data retrieval call binding the contract method 0x93634702.

Solidity: function isValidSignature(hash bytes32, signerAddress address, signature bytes) constant returns(isValid bool)

func (*ExchangeCaller) PreSigned

func (_Exchange *ExchangeCaller) PreSigned(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (bool, error)

PreSigned is a free data retrieval call binding the contract method 0x82c174d0.

Solidity: function preSigned( bytes32, address) constant returns(bool)

func (*ExchangeCaller) VERSION

func (_Exchange *ExchangeCaller) VERSION(opts *bind.CallOpts) (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() constant returns(string)

func (*ExchangeCaller) ZRX_ASSET_DATA

func (_Exchange *ExchangeCaller) ZRX_ASSET_DATA(opts *bind.CallOpts) ([]byte, error)

ZRX_ASSET_DATA is a free data retrieval call binding the contract method 0xdb123b1a.

Solidity: function ZRX_ASSET_DATA() constant returns(bytes)

type ExchangeCallerRaw

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

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

func (*ExchangeCallerRaw) Call

func (_Exchange *ExchangeCallerRaw) 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 ExchangeCallerSession

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

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

func (*ExchangeCallerSession) AllowedValidators

func (_Exchange *ExchangeCallerSession) AllowedValidators(arg0 common.Address, arg1 common.Address) (bool, error)

AllowedValidators is a free data retrieval call binding the contract method 0x7b8e3514.

Solidity: function allowedValidators( address, address) constant returns(bool)

func (*ExchangeCallerSession) Cancelled

func (_Exchange *ExchangeCallerSession) Cancelled(arg0 [32]byte) (bool, error)

Cancelled is a free data retrieval call binding the contract method 0x2ac12622.

Solidity: function cancelled( bytes32) constant returns(bool)

func (*ExchangeCallerSession) Filled

func (_Exchange *ExchangeCallerSession) Filled(arg0 [32]byte) (*big.Int, error)

Filled is a free data retrieval call binding the contract method 0x288cdc91.

Solidity: function filled( bytes32) constant returns(uint256)

func (*ExchangeCallerSession) GetAssetProxy

func (_Exchange *ExchangeCallerSession) GetAssetProxy(assetProxyId [4]byte) (common.Address, error)

GetAssetProxy is a free data retrieval call binding the contract method 0x60704108.

Solidity: function getAssetProxy(assetProxyId bytes4) constant returns(address)

func (*ExchangeCallerSession) IsValidSignature

func (_Exchange *ExchangeCallerSession) IsValidSignature(hash [32]byte, signerAddress common.Address, signature []byte) (bool, error)

IsValidSignature is a free data retrieval call binding the contract method 0x93634702.

Solidity: function isValidSignature(hash bytes32, signerAddress address, signature bytes) constant returns(isValid bool)

func (*ExchangeCallerSession) PreSigned

func (_Exchange *ExchangeCallerSession) PreSigned(arg0 [32]byte, arg1 common.Address) (bool, error)

PreSigned is a free data retrieval call binding the contract method 0x82c174d0.

Solidity: function preSigned( bytes32, address) constant returns(bool)

func (*ExchangeCallerSession) VERSION

func (_Exchange *ExchangeCallerSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() constant returns(string)

func (*ExchangeCallerSession) ZRX_ASSET_DATA

func (_Exchange *ExchangeCallerSession) ZRX_ASSET_DATA() ([]byte, error)

ZRX_ASSET_DATA is a free data retrieval call binding the contract method 0xdb123b1a.

Solidity: function ZRX_ASSET_DATA() constant returns(bytes)

type ExchangeRaw

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

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

func (*ExchangeRaw) Call

func (_Exchange *ExchangeRaw) 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 (*ExchangeRaw) Transact

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

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

func (*ExchangeRaw) Transfer

func (_Exchange *ExchangeRaw) 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 ExchangeSession

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

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

func (*ExchangeSession) AllowedValidators

func (_Exchange *ExchangeSession) AllowedValidators(arg0 common.Address, arg1 common.Address) (bool, error)

AllowedValidators is a free data retrieval call binding the contract method 0x7b8e3514.

Solidity: function allowedValidators( address, address) constant returns(bool)

func (*ExchangeSession) Cancelled

func (_Exchange *ExchangeSession) Cancelled(arg0 [32]byte) (bool, error)

Cancelled is a free data retrieval call binding the contract method 0x2ac12622.

Solidity: function cancelled( bytes32) constant returns(bool)

func (*ExchangeSession) Filled

func (_Exchange *ExchangeSession) Filled(arg0 [32]byte) (*big.Int, error)

Filled is a free data retrieval call binding the contract method 0x288cdc91.

Solidity: function filled( bytes32) constant returns(uint256)

func (*ExchangeSession) GetAssetProxy

func (_Exchange *ExchangeSession) GetAssetProxy(assetProxyId [4]byte) (common.Address, error)

GetAssetProxy is a free data retrieval call binding the contract method 0x60704108.

Solidity: function getAssetProxy(assetProxyId bytes4) constant returns(address)

func (*ExchangeSession) IsValidSignature

func (_Exchange *ExchangeSession) IsValidSignature(hash [32]byte, signerAddress common.Address, signature []byte) (bool, error)

IsValidSignature is a free data retrieval call binding the contract method 0x93634702.

Solidity: function isValidSignature(hash bytes32, signerAddress address, signature bytes) constant returns(isValid bool)

func (*ExchangeSession) PreSigned

func (_Exchange *ExchangeSession) PreSigned(arg0 [32]byte, arg1 common.Address) (bool, error)

PreSigned is a free data retrieval call binding the contract method 0x82c174d0.

Solidity: function preSigned( bytes32, address) constant returns(bool)

func (*ExchangeSession) VERSION

func (_Exchange *ExchangeSession) VERSION() (string, error)

VERSION is a free data retrieval call binding the contract method 0xffa1ad74.

Solidity: function VERSION() constant returns(string)

func (*ExchangeSession) ZRX_ASSET_DATA

func (_Exchange *ExchangeSession) ZRX_ASSET_DATA() ([]byte, error)

ZRX_ASSET_DATA is a free data retrieval call binding the contract method 0xdb123b1a.

Solidity: function ZRX_ASSET_DATA() constant returns(bytes)

type ExchangeTransactor

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

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

func NewExchangeTransactor

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

NewExchangeTransactor creates a new write-only instance of Exchange, bound to a specific deployed contract.

type ExchangeTransactorRaw

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

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

func (*ExchangeTransactorRaw) Transact

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

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

func (*ExchangeTransactorRaw) Transfer

func (_Exchange *ExchangeTransactorRaw) 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 ExchangeTransactorSession

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

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

Jump to

Keyboard shortcuts

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