contract

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const EtherDeltaABI = "" /* 9333-byte string literal not displayed */

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

View Source
const TokenRegistryABI = "" /* 5944-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type EtherDelta

type EtherDelta struct {
	EtherDeltaCaller     // Read-only binding to the contract
	EtherDeltaTransactor // Write-only binding to the contract
}

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

func NewEtherDelta

func NewEtherDelta(address common.Address, backend bind.ContractBackend) (*EtherDelta, error)

NewEtherDelta creates a new instance of EtherDelta, bound to a specific deployed contract.

type EtherDeltaCaller

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

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

func NewEtherDeltaCaller

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

NewEtherDeltaCaller creates a new read-only instance of EtherDelta, bound to a specific deployed contract.

func (*EtherDeltaCaller) AccountLevelsAddr

func (_EtherDelta *EtherDeltaCaller) AccountLevelsAddr(opts *bind.CallOpts) (common.Address, error)

AccountLevelsAddr is a free data retrieval call binding the contract method 0xf3412942.

Solidity: function accountLevelsAddr() constant returns(address)

func (*EtherDeltaCaller) Admin

func (_EtherDelta *EtherDeltaCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*EtherDeltaCaller) AmountFilled

func (_EtherDelta *EtherDeltaCaller) AmountFilled(opts *bind.CallOpts, tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte) (*big.Int, error)

AmountFilled is a free data retrieval call binding the contract method 0x46be96c3.

Solidity: function amountFilled(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32) constant returns(uint256)

func (*EtherDeltaCaller) AvailableVolume

func (_EtherDelta *EtherDeltaCaller) AvailableVolume(opts *bind.CallOpts, tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte) (*big.Int, error)

AvailableVolume is a free data retrieval call binding the contract method 0xfb6e155f.

Solidity: function availableVolume(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32) constant returns(uint256)

func (*EtherDeltaCaller) BalanceOf

func (_EtherDelta *EtherDeltaCaller) BalanceOf(opts *bind.CallOpts, token common.Address, user common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0xf7888aec.

Solidity: function balanceOf(token address, user address) constant returns(uint256)

func (*EtherDeltaCaller) FeeAccount

func (_EtherDelta *EtherDeltaCaller) FeeAccount(opts *bind.CallOpts) (common.Address, error)

FeeAccount is a free data retrieval call binding the contract method 0x65e17c9d.

Solidity: function feeAccount() constant returns(address)

func (*EtherDeltaCaller) FeeMake

func (_EtherDelta *EtherDeltaCaller) FeeMake(opts *bind.CallOpts) (*big.Int, error)

FeeMake is a free data retrieval call binding the contract method 0x57786394.

Solidity: function feeMake() constant returns(uint256)

func (*EtherDeltaCaller) FeeRebate

func (_EtherDelta *EtherDeltaCaller) FeeRebate(opts *bind.CallOpts) (*big.Int, error)

FeeRebate is a free data retrieval call binding the contract method 0x731c2f81.

Solidity: function feeRebate() constant returns(uint256)

func (*EtherDeltaCaller) FeeTake

func (_EtherDelta *EtherDeltaCaller) FeeTake(opts *bind.CallOpts) (*big.Int, error)

FeeTake is a free data retrieval call binding the contract method 0xc281309e.

Solidity: function feeTake() constant returns(uint256)

func (*EtherDeltaCaller) OrderFills

func (_EtherDelta *EtherDeltaCaller) OrderFills(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (*big.Int, error)

OrderFills is a free data retrieval call binding the contract method 0x19774d43.

Solidity: function orderFills( address, bytes32) constant returns(uint256)

func (*EtherDeltaCaller) Orders

func (_EtherDelta *EtherDeltaCaller) Orders(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (bool, error)

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

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

func (*EtherDeltaCaller) TestTrade

func (_EtherDelta *EtherDeltaCaller) TestTrade(opts *bind.CallOpts, tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte, amount *big.Int, sender common.Address) (bool, error)

TestTrade is a free data retrieval call binding the contract method 0x6c86888b.

Solidity: function testTrade(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32, amount uint256, sender address) constant returns(bool)

func (*EtherDeltaCaller) Tokens

func (_EtherDelta *EtherDeltaCaller) Tokens(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Tokens is a free data retrieval call binding the contract method 0x508493bc.

Solidity: function tokens( address, address) constant returns(uint256)

type EtherDeltaCallerRaw

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

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

func (*EtherDeltaCallerRaw) Call

func (_EtherDelta *EtherDeltaCallerRaw) 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 EtherDeltaCallerSession

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

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

func (*EtherDeltaCallerSession) AccountLevelsAddr

func (_EtherDelta *EtherDeltaCallerSession) AccountLevelsAddr() (common.Address, error)

AccountLevelsAddr is a free data retrieval call binding the contract method 0xf3412942.

Solidity: function accountLevelsAddr() constant returns(address)

func (*EtherDeltaCallerSession) Admin

func (_EtherDelta *EtherDeltaCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*EtherDeltaCallerSession) AmountFilled

func (_EtherDelta *EtherDeltaCallerSession) AmountFilled(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte) (*big.Int, error)

AmountFilled is a free data retrieval call binding the contract method 0x46be96c3.

Solidity: function amountFilled(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32) constant returns(uint256)

func (*EtherDeltaCallerSession) AvailableVolume

func (_EtherDelta *EtherDeltaCallerSession) AvailableVolume(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte) (*big.Int, error)

AvailableVolume is a free data retrieval call binding the contract method 0xfb6e155f.

Solidity: function availableVolume(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32) constant returns(uint256)

func (*EtherDeltaCallerSession) BalanceOf

func (_EtherDelta *EtherDeltaCallerSession) BalanceOf(token common.Address, user common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0xf7888aec.

Solidity: function balanceOf(token address, user address) constant returns(uint256)

func (*EtherDeltaCallerSession) FeeAccount

func (_EtherDelta *EtherDeltaCallerSession) FeeAccount() (common.Address, error)

FeeAccount is a free data retrieval call binding the contract method 0x65e17c9d.

Solidity: function feeAccount() constant returns(address)

func (*EtherDeltaCallerSession) FeeMake

func (_EtherDelta *EtherDeltaCallerSession) FeeMake() (*big.Int, error)

FeeMake is a free data retrieval call binding the contract method 0x57786394.

Solidity: function feeMake() constant returns(uint256)

func (*EtherDeltaCallerSession) FeeRebate

func (_EtherDelta *EtherDeltaCallerSession) FeeRebate() (*big.Int, error)

FeeRebate is a free data retrieval call binding the contract method 0x731c2f81.

Solidity: function feeRebate() constant returns(uint256)

func (*EtherDeltaCallerSession) FeeTake

func (_EtherDelta *EtherDeltaCallerSession) FeeTake() (*big.Int, error)

FeeTake is a free data retrieval call binding the contract method 0xc281309e.

Solidity: function feeTake() constant returns(uint256)

func (*EtherDeltaCallerSession) OrderFills

func (_EtherDelta *EtherDeltaCallerSession) OrderFills(arg0 common.Address, arg1 [32]byte) (*big.Int, error)

OrderFills is a free data retrieval call binding the contract method 0x19774d43.

Solidity: function orderFills( address, bytes32) constant returns(uint256)

func (*EtherDeltaCallerSession) Orders

func (_EtherDelta *EtherDeltaCallerSession) Orders(arg0 common.Address, arg1 [32]byte) (bool, error)

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

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

func (*EtherDeltaCallerSession) TestTrade

func (_EtherDelta *EtherDeltaCallerSession) TestTrade(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte, amount *big.Int, sender common.Address) (bool, error)

TestTrade is a free data retrieval call binding the contract method 0x6c86888b.

Solidity: function testTrade(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32, amount uint256, sender address) constant returns(bool)

func (*EtherDeltaCallerSession) Tokens

func (_EtherDelta *EtherDeltaCallerSession) Tokens(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Tokens is a free data retrieval call binding the contract method 0x508493bc.

Solidity: function tokens( address, address) constant returns(uint256)

type EtherDeltaRaw

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

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

func (*EtherDeltaRaw) Call

func (_EtherDelta *EtherDeltaRaw) 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 (*EtherDeltaRaw) Transact

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

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

func (*EtherDeltaRaw) Transfer

func (_EtherDelta *EtherDeltaRaw) 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 EtherDeltaSession

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

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

func (*EtherDeltaSession) AccountLevelsAddr

func (_EtherDelta *EtherDeltaSession) AccountLevelsAddr() (common.Address, error)

AccountLevelsAddr is a free data retrieval call binding the contract method 0xf3412942.

Solidity: function accountLevelsAddr() constant returns(address)

func (*EtherDeltaSession) Admin

func (_EtherDelta *EtherDeltaSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() constant returns(address)

func (*EtherDeltaSession) AmountFilled

func (_EtherDelta *EtherDeltaSession) AmountFilled(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte) (*big.Int, error)

AmountFilled is a free data retrieval call binding the contract method 0x46be96c3.

Solidity: function amountFilled(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32) constant returns(uint256)

func (*EtherDeltaSession) AvailableVolume

func (_EtherDelta *EtherDeltaSession) AvailableVolume(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte) (*big.Int, error)

AvailableVolume is a free data retrieval call binding the contract method 0xfb6e155f.

Solidity: function availableVolume(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32) constant returns(uint256)

func (*EtherDeltaSession) BalanceOf

func (_EtherDelta *EtherDeltaSession) BalanceOf(token common.Address, user common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0xf7888aec.

Solidity: function balanceOf(token address, user address) constant returns(uint256)

func (*EtherDeltaSession) CancelOrder

func (_EtherDelta *EtherDeltaSession) CancelOrder(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

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

Solidity: function cancelOrder(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, v uint8, r bytes32, s bytes32) returns()

func (*EtherDeltaSession) ChangeAccountLevelsAddr

func (_EtherDelta *EtherDeltaSession) ChangeAccountLevelsAddr(accountLevelsAddr_ common.Address) (*types.Transaction, error)

ChangeAccountLevelsAddr is a paid mutator transaction binding the contract method 0xe8f6bc2e.

Solidity: function changeAccountLevelsAddr(accountLevelsAddr_ address) returns()

func (*EtherDeltaSession) ChangeAdmin

func (_EtherDelta *EtherDeltaSession) ChangeAdmin(admin_ common.Address) (*types.Transaction, error)

ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.

Solidity: function changeAdmin(admin_ address) returns()

func (*EtherDeltaSession) ChangeFeeAccount

func (_EtherDelta *EtherDeltaSession) ChangeFeeAccount(feeAccount_ common.Address) (*types.Transaction, error)

ChangeFeeAccount is a paid mutator transaction binding the contract method 0x71ffcb16.

Solidity: function changeFeeAccount(feeAccount_ address) returns()

func (*EtherDeltaSession) ChangeFeeMake

func (_EtherDelta *EtherDeltaSession) ChangeFeeMake(feeMake_ *big.Int) (*types.Transaction, error)

ChangeFeeMake is a paid mutator transaction binding the contract method 0x54d03b5c.

Solidity: function changeFeeMake(feeMake_ uint256) returns()

func (*EtherDeltaSession) ChangeFeeRebate

func (_EtherDelta *EtherDeltaSession) ChangeFeeRebate(feeRebate_ *big.Int) (*types.Transaction, error)

ChangeFeeRebate is a paid mutator transaction binding the contract method 0x5e1d7ae4.

Solidity: function changeFeeRebate(feeRebate_ uint256) returns()

func (*EtherDeltaSession) ChangeFeeTake

func (_EtherDelta *EtherDeltaSession) ChangeFeeTake(feeTake_ *big.Int) (*types.Transaction, error)

ChangeFeeTake is a paid mutator transaction binding the contract method 0x8823a9c0.

Solidity: function changeFeeTake(feeTake_ uint256) returns()

func (*EtherDeltaSession) Deposit

func (_EtherDelta *EtherDeltaSession) Deposit() (*types.Transaction, error)

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

Solidity: function deposit() returns()

func (*EtherDeltaSession) DepositToken

func (_EtherDelta *EtherDeltaSession) DepositToken(token common.Address, amount *big.Int) (*types.Transaction, error)

DepositToken is a paid mutator transaction binding the contract method 0x338b5dea.

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

func (*EtherDeltaSession) FeeAccount

func (_EtherDelta *EtherDeltaSession) FeeAccount() (common.Address, error)

FeeAccount is a free data retrieval call binding the contract method 0x65e17c9d.

Solidity: function feeAccount() constant returns(address)

func (*EtherDeltaSession) FeeMake

func (_EtherDelta *EtherDeltaSession) FeeMake() (*big.Int, error)

FeeMake is a free data retrieval call binding the contract method 0x57786394.

Solidity: function feeMake() constant returns(uint256)

func (*EtherDeltaSession) FeeRebate

func (_EtherDelta *EtherDeltaSession) FeeRebate() (*big.Int, error)

FeeRebate is a free data retrieval call binding the contract method 0x731c2f81.

Solidity: function feeRebate() constant returns(uint256)

func (*EtherDeltaSession) FeeTake

func (_EtherDelta *EtherDeltaSession) FeeTake() (*big.Int, error)

FeeTake is a free data retrieval call binding the contract method 0xc281309e.

Solidity: function feeTake() constant returns(uint256)

func (*EtherDeltaSession) Order

func (_EtherDelta *EtherDeltaSession) Order(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int) (*types.Transaction, error)

Order is a paid mutator transaction binding the contract method 0x0b927666.

Solidity: function order(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256) returns()

func (*EtherDeltaSession) OrderFills

func (_EtherDelta *EtherDeltaSession) OrderFills(arg0 common.Address, arg1 [32]byte) (*big.Int, error)

OrderFills is a free data retrieval call binding the contract method 0x19774d43.

Solidity: function orderFills( address, bytes32) constant returns(uint256)

func (*EtherDeltaSession) Orders

func (_EtherDelta *EtherDeltaSession) Orders(arg0 common.Address, arg1 [32]byte) (bool, error)

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

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

func (*EtherDeltaSession) TestTrade

func (_EtherDelta *EtherDeltaSession) TestTrade(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte, amount *big.Int, sender common.Address) (bool, error)

TestTrade is a free data retrieval call binding the contract method 0x6c86888b.

Solidity: function testTrade(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32, amount uint256, sender address) constant returns(bool)

func (*EtherDeltaSession) Tokens

func (_EtherDelta *EtherDeltaSession) Tokens(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Tokens is a free data retrieval call binding the contract method 0x508493bc.

Solidity: function tokens( address, address) constant returns(uint256)

func (*EtherDeltaSession) Trade

func (_EtherDelta *EtherDeltaSession) Trade(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte, amount *big.Int) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0x0a19b14a.

Solidity: function trade(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32, amount uint256) returns()

func (*EtherDeltaSession) Withdraw

func (_EtherDelta *EtherDeltaSession) Withdraw(amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(amount uint256) returns()

func (*EtherDeltaSession) WithdrawToken

func (_EtherDelta *EtherDeltaSession) WithdrawToken(token common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x9e281a98.

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

type EtherDeltaTransactor

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

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

func NewEtherDeltaTransactor

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

NewEtherDeltaTransactor creates a new write-only instance of EtherDelta, bound to a specific deployed contract.

func (*EtherDeltaTransactor) CancelOrder

func (_EtherDelta *EtherDeltaTransactor) CancelOrder(opts *bind.TransactOpts, tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

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

Solidity: function cancelOrder(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, v uint8, r bytes32, s bytes32) returns()

func (*EtherDeltaTransactor) ChangeAccountLevelsAddr

func (_EtherDelta *EtherDeltaTransactor) ChangeAccountLevelsAddr(opts *bind.TransactOpts, accountLevelsAddr_ common.Address) (*types.Transaction, error)

ChangeAccountLevelsAddr is a paid mutator transaction binding the contract method 0xe8f6bc2e.

Solidity: function changeAccountLevelsAddr(accountLevelsAddr_ address) returns()

func (*EtherDeltaTransactor) ChangeAdmin

func (_EtherDelta *EtherDeltaTransactor) ChangeAdmin(opts *bind.TransactOpts, admin_ common.Address) (*types.Transaction, error)

ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.

Solidity: function changeAdmin(admin_ address) returns()

func (*EtherDeltaTransactor) ChangeFeeAccount

func (_EtherDelta *EtherDeltaTransactor) ChangeFeeAccount(opts *bind.TransactOpts, feeAccount_ common.Address) (*types.Transaction, error)

ChangeFeeAccount is a paid mutator transaction binding the contract method 0x71ffcb16.

Solidity: function changeFeeAccount(feeAccount_ address) returns()

func (*EtherDeltaTransactor) ChangeFeeMake

func (_EtherDelta *EtherDeltaTransactor) ChangeFeeMake(opts *bind.TransactOpts, feeMake_ *big.Int) (*types.Transaction, error)

ChangeFeeMake is a paid mutator transaction binding the contract method 0x54d03b5c.

Solidity: function changeFeeMake(feeMake_ uint256) returns()

func (*EtherDeltaTransactor) ChangeFeeRebate

func (_EtherDelta *EtherDeltaTransactor) ChangeFeeRebate(opts *bind.TransactOpts, feeRebate_ *big.Int) (*types.Transaction, error)

ChangeFeeRebate is a paid mutator transaction binding the contract method 0x5e1d7ae4.

Solidity: function changeFeeRebate(feeRebate_ uint256) returns()

func (*EtherDeltaTransactor) ChangeFeeTake

func (_EtherDelta *EtherDeltaTransactor) ChangeFeeTake(opts *bind.TransactOpts, feeTake_ *big.Int) (*types.Transaction, error)

ChangeFeeTake is a paid mutator transaction binding the contract method 0x8823a9c0.

Solidity: function changeFeeTake(feeTake_ uint256) returns()

func (*EtherDeltaTransactor) Deposit

func (_EtherDelta *EtherDeltaTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function deposit() returns()

func (*EtherDeltaTransactor) DepositToken

func (_EtherDelta *EtherDeltaTransactor) DepositToken(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

DepositToken is a paid mutator transaction binding the contract method 0x338b5dea.

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

func (*EtherDeltaTransactor) Order

func (_EtherDelta *EtherDeltaTransactor) Order(opts *bind.TransactOpts, tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int) (*types.Transaction, error)

Order is a paid mutator transaction binding the contract method 0x0b927666.

Solidity: function order(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256) returns()

func (*EtherDeltaTransactor) Trade

func (_EtherDelta *EtherDeltaTransactor) Trade(opts *bind.TransactOpts, tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte, amount *big.Int) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0x0a19b14a.

Solidity: function trade(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32, amount uint256) returns()

func (*EtherDeltaTransactor) Withdraw

func (_EtherDelta *EtherDeltaTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(amount uint256) returns()

func (*EtherDeltaTransactor) WithdrawToken

func (_EtherDelta *EtherDeltaTransactor) WithdrawToken(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x9e281a98.

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

type EtherDeltaTransactorRaw

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

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

func (*EtherDeltaTransactorRaw) Transact

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

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

func (*EtherDeltaTransactorRaw) Transfer

func (_EtherDelta *EtherDeltaTransactorRaw) 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 EtherDeltaTransactorSession

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

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

func (*EtherDeltaTransactorSession) CancelOrder

func (_EtherDelta *EtherDeltaTransactorSession) CancelOrder(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

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

Solidity: function cancelOrder(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, v uint8, r bytes32, s bytes32) returns()

func (*EtherDeltaTransactorSession) ChangeAccountLevelsAddr

func (_EtherDelta *EtherDeltaTransactorSession) ChangeAccountLevelsAddr(accountLevelsAddr_ common.Address) (*types.Transaction, error)

ChangeAccountLevelsAddr is a paid mutator transaction binding the contract method 0xe8f6bc2e.

Solidity: function changeAccountLevelsAddr(accountLevelsAddr_ address) returns()

func (*EtherDeltaTransactorSession) ChangeAdmin

func (_EtherDelta *EtherDeltaTransactorSession) ChangeAdmin(admin_ common.Address) (*types.Transaction, error)

ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.

Solidity: function changeAdmin(admin_ address) returns()

func (*EtherDeltaTransactorSession) ChangeFeeAccount

func (_EtherDelta *EtherDeltaTransactorSession) ChangeFeeAccount(feeAccount_ common.Address) (*types.Transaction, error)

ChangeFeeAccount is a paid mutator transaction binding the contract method 0x71ffcb16.

Solidity: function changeFeeAccount(feeAccount_ address) returns()

func (*EtherDeltaTransactorSession) ChangeFeeMake

func (_EtherDelta *EtherDeltaTransactorSession) ChangeFeeMake(feeMake_ *big.Int) (*types.Transaction, error)

ChangeFeeMake is a paid mutator transaction binding the contract method 0x54d03b5c.

Solidity: function changeFeeMake(feeMake_ uint256) returns()

func (*EtherDeltaTransactorSession) ChangeFeeRebate

func (_EtherDelta *EtherDeltaTransactorSession) ChangeFeeRebate(feeRebate_ *big.Int) (*types.Transaction, error)

ChangeFeeRebate is a paid mutator transaction binding the contract method 0x5e1d7ae4.

Solidity: function changeFeeRebate(feeRebate_ uint256) returns()

func (*EtherDeltaTransactorSession) ChangeFeeTake

func (_EtherDelta *EtherDeltaTransactorSession) ChangeFeeTake(feeTake_ *big.Int) (*types.Transaction, error)

ChangeFeeTake is a paid mutator transaction binding the contract method 0x8823a9c0.

Solidity: function changeFeeTake(feeTake_ uint256) returns()

func (*EtherDeltaTransactorSession) Deposit

func (_EtherDelta *EtherDeltaTransactorSession) Deposit() (*types.Transaction, error)

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

Solidity: function deposit() returns()

func (*EtherDeltaTransactorSession) DepositToken

func (_EtherDelta *EtherDeltaTransactorSession) DepositToken(token common.Address, amount *big.Int) (*types.Transaction, error)

DepositToken is a paid mutator transaction binding the contract method 0x338b5dea.

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

func (*EtherDeltaTransactorSession) Order

func (_EtherDelta *EtherDeltaTransactorSession) Order(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int) (*types.Transaction, error)

Order is a paid mutator transaction binding the contract method 0x0b927666.

Solidity: function order(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256) returns()

func (*EtherDeltaTransactorSession) Trade

func (_EtherDelta *EtherDeltaTransactorSession) Trade(tokenGet common.Address, amountGet *big.Int, tokenGive common.Address, amountGive *big.Int, expires *big.Int, nonce *big.Int, user common.Address, v uint8, r [32]byte, s [32]byte, amount *big.Int) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0x0a19b14a.

Solidity: function trade(tokenGet address, amountGet uint256, tokenGive address, amountGive uint256, expires uint256, nonce uint256, user address, v uint8, r bytes32, s bytes32, amount uint256) returns()

func (*EtherDeltaTransactorSession) Withdraw

func (_EtherDelta *EtherDeltaTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(amount uint256) returns()

func (*EtherDeltaTransactorSession) WithdrawToken

func (_EtherDelta *EtherDeltaTransactorSession) WithdrawToken(token common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawToken is a paid mutator transaction binding the contract method 0x9e281a98.

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

type TokenRegistry added in v0.3.0

type TokenRegistry struct {
	TokenRegistryCaller     // Read-only binding to the contract
	TokenRegistryTransactor // Write-only binding to the contract
}

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

func NewTokenRegistry added in v0.3.0

func NewTokenRegistry(address common.Address, backend bind.ContractBackend) (*TokenRegistry, error)

NewTokenRegistry creates a new instance of TokenRegistry, bound to a specific deployed contract.

type TokenRegistryCaller added in v0.3.0

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

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

func NewTokenRegistryCaller added in v0.3.0

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

NewTokenRegistryCaller creates a new read-only instance of TokenRegistry, bound to a specific deployed contract.

func (*TokenRegistryCaller) GetTokenAddressByName added in v0.3.0

func (_TokenRegistry *TokenRegistryCaller) GetTokenAddressByName(opts *bind.CallOpts, _name string) (common.Address, error)

GetTokenAddressByName is a free data retrieval call binding the contract method 0x2fbfeba9.

Solidity: function getTokenAddressByName(_name string) constant returns(address)

func (*TokenRegistryCaller) GetTokenAddressBySymbol added in v0.3.0

func (_TokenRegistry *TokenRegistryCaller) GetTokenAddressBySymbol(opts *bind.CallOpts, _symbol string) (common.Address, error)

GetTokenAddressBySymbol is a free data retrieval call binding the contract method 0x3550b6d9.

Solidity: function getTokenAddressBySymbol(_symbol string) constant returns(address)

func (*TokenRegistryCaller) GetTokenAddresses added in v0.3.0

func (_TokenRegistry *TokenRegistryCaller) GetTokenAddresses(opts *bind.CallOpts) ([]common.Address, error)

GetTokenAddresses is a free data retrieval call binding the contract method 0xee8c24b8.

Solidity: function getTokenAddresses() constant returns(address[])

func (*TokenRegistryCaller) GetTokenByName added in v0.3.0

func (_TokenRegistry *TokenRegistryCaller) GetTokenByName(opts *bind.CallOpts, _name string) (common.Address, string, string, uint8, []byte, []byte, error)

GetTokenByName is a free data retrieval call binding the contract method 0xe73fc0c3.

Solidity: function getTokenByName(_name string) constant returns(address, string, string, uint8, bytes, bytes)

func (*TokenRegistryCaller) GetTokenBySymbol added in v0.3.0

func (_TokenRegistry *TokenRegistryCaller) GetTokenBySymbol(opts *bind.CallOpts, _symbol string) (common.Address, string, string, uint8, []byte, []byte, error)

GetTokenBySymbol is a free data retrieval call binding the contract method 0xefa74f1f.

Solidity: function getTokenBySymbol(_symbol string) constant returns(address, string, string, uint8, bytes, bytes)

func (*TokenRegistryCaller) GetTokenMetaData added in v0.3.0

func (_TokenRegistry *TokenRegistryCaller) GetTokenMetaData(opts *bind.CallOpts, _token common.Address) (common.Address, string, string, uint8, []byte, []byte, error)

GetTokenMetaData is a free data retrieval call binding the contract method 0x7abccac9.

Solidity: function getTokenMetaData(_token address) constant returns(address, string, string, uint8, bytes, bytes)

func (*TokenRegistryCaller) Owner added in v0.3.0

func (_TokenRegistry *TokenRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*TokenRegistryCaller) TokenAddresses added in v0.3.0

func (_TokenRegistry *TokenRegistryCaller) TokenAddresses(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

TokenAddresses is a free data retrieval call binding the contract method 0xe5df8b84.

Solidity: function tokenAddresses( uint256) constant returns(address)

func (*TokenRegistryCaller) Tokens added in v0.3.0

func (_TokenRegistry *TokenRegistryCaller) Tokens(opts *bind.CallOpts, arg0 common.Address) (struct {
	Token     common.Address
	Name      string
	Symbol    string
	Decimals  uint8
	IpfsHash  []byte
	SwarmHash []byte
}, error)

Tokens is a free data retrieval call binding the contract method 0xe4860339.

Solidity: function tokens( address) constant returns(token address, name string, symbol string, decimals uint8, ipfsHash bytes, swarmHash bytes)

type TokenRegistryCallerRaw added in v0.3.0

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

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

func (*TokenRegistryCallerRaw) Call added in v0.3.0

func (_TokenRegistry *TokenRegistryCallerRaw) 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 TokenRegistryCallerSession added in v0.3.0

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

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

func (*TokenRegistryCallerSession) GetTokenAddressByName added in v0.3.0

func (_TokenRegistry *TokenRegistryCallerSession) GetTokenAddressByName(_name string) (common.Address, error)

GetTokenAddressByName is a free data retrieval call binding the contract method 0x2fbfeba9.

Solidity: function getTokenAddressByName(_name string) constant returns(address)

func (*TokenRegistryCallerSession) GetTokenAddressBySymbol added in v0.3.0

func (_TokenRegistry *TokenRegistryCallerSession) GetTokenAddressBySymbol(_symbol string) (common.Address, error)

GetTokenAddressBySymbol is a free data retrieval call binding the contract method 0x3550b6d9.

Solidity: function getTokenAddressBySymbol(_symbol string) constant returns(address)

func (*TokenRegistryCallerSession) GetTokenAddresses added in v0.3.0

func (_TokenRegistry *TokenRegistryCallerSession) GetTokenAddresses() ([]common.Address, error)

GetTokenAddresses is a free data retrieval call binding the contract method 0xee8c24b8.

Solidity: function getTokenAddresses() constant returns(address[])

func (*TokenRegistryCallerSession) GetTokenByName added in v0.3.0

func (_TokenRegistry *TokenRegistryCallerSession) GetTokenByName(_name string) (common.Address, string, string, uint8, []byte, []byte, error)

GetTokenByName is a free data retrieval call binding the contract method 0xe73fc0c3.

Solidity: function getTokenByName(_name string) constant returns(address, string, string, uint8, bytes, bytes)

func (*TokenRegistryCallerSession) GetTokenBySymbol added in v0.3.0

func (_TokenRegistry *TokenRegistryCallerSession) GetTokenBySymbol(_symbol string) (common.Address, string, string, uint8, []byte, []byte, error)

GetTokenBySymbol is a free data retrieval call binding the contract method 0xefa74f1f.

Solidity: function getTokenBySymbol(_symbol string) constant returns(address, string, string, uint8, bytes, bytes)

func (*TokenRegistryCallerSession) GetTokenMetaData added in v0.3.0

func (_TokenRegistry *TokenRegistryCallerSession) GetTokenMetaData(_token common.Address) (common.Address, string, string, uint8, []byte, []byte, error)

GetTokenMetaData is a free data retrieval call binding the contract method 0x7abccac9.

Solidity: function getTokenMetaData(_token address) constant returns(address, string, string, uint8, bytes, bytes)

func (*TokenRegistryCallerSession) Owner added in v0.3.0

func (_TokenRegistry *TokenRegistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*TokenRegistryCallerSession) TokenAddresses added in v0.3.0

func (_TokenRegistry *TokenRegistryCallerSession) TokenAddresses(arg0 *big.Int) (common.Address, error)

TokenAddresses is a free data retrieval call binding the contract method 0xe5df8b84.

Solidity: function tokenAddresses( uint256) constant returns(address)

func (*TokenRegistryCallerSession) Tokens added in v0.3.0

func (_TokenRegistry *TokenRegistryCallerSession) Tokens(arg0 common.Address) (struct {
	Token     common.Address
	Name      string
	Symbol    string
	Decimals  uint8
	IpfsHash  []byte
	SwarmHash []byte
}, error)

Tokens is a free data retrieval call binding the contract method 0xe4860339.

Solidity: function tokens( address) constant returns(token address, name string, symbol string, decimals uint8, ipfsHash bytes, swarmHash bytes)

type TokenRegistryRaw added in v0.3.0

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

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

func (*TokenRegistryRaw) Call added in v0.3.0

func (_TokenRegistry *TokenRegistryRaw) 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 (*TokenRegistryRaw) Transact added in v0.3.0

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

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

func (*TokenRegistryRaw) Transfer added in v0.3.0

func (_TokenRegistry *TokenRegistryRaw) 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 TokenRegistrySession added in v0.3.0

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

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

func (*TokenRegistrySession) AddToken added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) AddToken(_token common.Address, _name string, _symbol string, _decimals uint8, _ipfsHash []byte, _swarmHash []byte) (*types.Transaction, error)

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

Solidity: function addToken(_token address, _name string, _symbol string, _decimals uint8, _ipfsHash bytes, _swarmHash bytes) returns()

func (*TokenRegistrySession) GetTokenAddressByName added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) GetTokenAddressByName(_name string) (common.Address, error)

GetTokenAddressByName is a free data retrieval call binding the contract method 0x2fbfeba9.

Solidity: function getTokenAddressByName(_name string) constant returns(address)

func (*TokenRegistrySession) GetTokenAddressBySymbol added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) GetTokenAddressBySymbol(_symbol string) (common.Address, error)

GetTokenAddressBySymbol is a free data retrieval call binding the contract method 0x3550b6d9.

Solidity: function getTokenAddressBySymbol(_symbol string) constant returns(address)

func (*TokenRegistrySession) GetTokenAddresses added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) GetTokenAddresses() ([]common.Address, error)

GetTokenAddresses is a free data retrieval call binding the contract method 0xee8c24b8.

Solidity: function getTokenAddresses() constant returns(address[])

func (*TokenRegistrySession) GetTokenByName added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) GetTokenByName(_name string) (common.Address, string, string, uint8, []byte, []byte, error)

GetTokenByName is a free data retrieval call binding the contract method 0xe73fc0c3.

Solidity: function getTokenByName(_name string) constant returns(address, string, string, uint8, bytes, bytes)

func (*TokenRegistrySession) GetTokenBySymbol added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) GetTokenBySymbol(_symbol string) (common.Address, string, string, uint8, []byte, []byte, error)

GetTokenBySymbol is a free data retrieval call binding the contract method 0xefa74f1f.

Solidity: function getTokenBySymbol(_symbol string) constant returns(address, string, string, uint8, bytes, bytes)

func (*TokenRegistrySession) GetTokenMetaData added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) GetTokenMetaData(_token common.Address) (common.Address, string, string, uint8, []byte, []byte, error)

GetTokenMetaData is a free data retrieval call binding the contract method 0x7abccac9.

Solidity: function getTokenMetaData(_token address) constant returns(address, string, string, uint8, bytes, bytes)

func (*TokenRegistrySession) Owner added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*TokenRegistrySession) RemoveToken added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) RemoveToken(_token common.Address, _index *big.Int) (*types.Transaction, error)

RemoveToken is a paid mutator transaction binding the contract method 0x13baf1e6.

Solidity: function removeToken(_token address, _index uint256) returns()

func (*TokenRegistrySession) SetTokenIpfsHash added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) SetTokenIpfsHash(_token common.Address, _ipfsHash []byte) (*types.Transaction, error)

SetTokenIpfsHash is a paid mutator transaction binding the contract method 0xeef05f65.

Solidity: function setTokenIpfsHash(_token address, _ipfsHash bytes) returns()

func (*TokenRegistrySession) SetTokenName added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) SetTokenName(_token common.Address, _name string) (*types.Transaction, error)

SetTokenName is a paid mutator transaction binding the contract method 0xc370c86d.

Solidity: function setTokenName(_token address, _name string) returns()

func (*TokenRegistrySession) SetTokenSwarmHash added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) SetTokenSwarmHash(_token common.Address, _swarmHash []byte) (*types.Transaction, error)

SetTokenSwarmHash is a paid mutator transaction binding the contract method 0x56318820.

Solidity: function setTokenSwarmHash(_token address, _swarmHash bytes) returns()

func (*TokenRegistrySession) SetTokenSymbol added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) SetTokenSymbol(_token common.Address, _symbol string) (*types.Transaction, error)

SetTokenSymbol is a paid mutator transaction binding the contract method 0xf036417f.

Solidity: function setTokenSymbol(_token address, _symbol string) returns()

func (*TokenRegistrySession) TokenAddresses added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) TokenAddresses(arg0 *big.Int) (common.Address, error)

TokenAddresses is a free data retrieval call binding the contract method 0xe5df8b84.

Solidity: function tokenAddresses( uint256) constant returns(address)

func (*TokenRegistrySession) Tokens added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) Tokens(arg0 common.Address) (struct {
	Token     common.Address
	Name      string
	Symbol    string
	Decimals  uint8
	IpfsHash  []byte
	SwarmHash []byte
}, error)

Tokens is a free data retrieval call binding the contract method 0xe4860339.

Solidity: function tokens( address) constant returns(token address, name string, symbol string, decimals uint8, ipfsHash bytes, swarmHash bytes)

func (*TokenRegistrySession) TransferOwnership added in v0.3.0

func (_TokenRegistry *TokenRegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(newOwner address) returns()

type TokenRegistryTransactor added in v0.3.0

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

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

func NewTokenRegistryTransactor added in v0.3.0

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

NewTokenRegistryTransactor creates a new write-only instance of TokenRegistry, bound to a specific deployed contract.

func (*TokenRegistryTransactor) AddToken added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactor) AddToken(opts *bind.TransactOpts, _token common.Address, _name string, _symbol string, _decimals uint8, _ipfsHash []byte, _swarmHash []byte) (*types.Transaction, error)

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

Solidity: function addToken(_token address, _name string, _symbol string, _decimals uint8, _ipfsHash bytes, _swarmHash bytes) returns()

func (*TokenRegistryTransactor) RemoveToken added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactor) RemoveToken(opts *bind.TransactOpts, _token common.Address, _index *big.Int) (*types.Transaction, error)

RemoveToken is a paid mutator transaction binding the contract method 0x13baf1e6.

Solidity: function removeToken(_token address, _index uint256) returns()

func (*TokenRegistryTransactor) SetTokenIpfsHash added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactor) SetTokenIpfsHash(opts *bind.TransactOpts, _token common.Address, _ipfsHash []byte) (*types.Transaction, error)

SetTokenIpfsHash is a paid mutator transaction binding the contract method 0xeef05f65.

Solidity: function setTokenIpfsHash(_token address, _ipfsHash bytes) returns()

func (*TokenRegistryTransactor) SetTokenName added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactor) SetTokenName(opts *bind.TransactOpts, _token common.Address, _name string) (*types.Transaction, error)

SetTokenName is a paid mutator transaction binding the contract method 0xc370c86d.

Solidity: function setTokenName(_token address, _name string) returns()

func (*TokenRegistryTransactor) SetTokenSwarmHash added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactor) SetTokenSwarmHash(opts *bind.TransactOpts, _token common.Address, _swarmHash []byte) (*types.Transaction, error)

SetTokenSwarmHash is a paid mutator transaction binding the contract method 0x56318820.

Solidity: function setTokenSwarmHash(_token address, _swarmHash bytes) returns()

func (*TokenRegistryTransactor) SetTokenSymbol added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactor) SetTokenSymbol(opts *bind.TransactOpts, _token common.Address, _symbol string) (*types.Transaction, error)

SetTokenSymbol is a paid mutator transaction binding the contract method 0xf036417f.

Solidity: function setTokenSymbol(_token address, _symbol string) returns()

func (*TokenRegistryTransactor) TransferOwnership added in v0.3.0

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

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

Solidity: function transferOwnership(newOwner address) returns()

type TokenRegistryTransactorRaw added in v0.3.0

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

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

func (*TokenRegistryTransactorRaw) Transact added in v0.3.0

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

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

func (*TokenRegistryTransactorRaw) Transfer added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactorRaw) 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 TokenRegistryTransactorSession added in v0.3.0

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

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

func (*TokenRegistryTransactorSession) AddToken added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactorSession) AddToken(_token common.Address, _name string, _symbol string, _decimals uint8, _ipfsHash []byte, _swarmHash []byte) (*types.Transaction, error)

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

Solidity: function addToken(_token address, _name string, _symbol string, _decimals uint8, _ipfsHash bytes, _swarmHash bytes) returns()

func (*TokenRegistryTransactorSession) RemoveToken added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactorSession) RemoveToken(_token common.Address, _index *big.Int) (*types.Transaction, error)

RemoveToken is a paid mutator transaction binding the contract method 0x13baf1e6.

Solidity: function removeToken(_token address, _index uint256) returns()

func (*TokenRegistryTransactorSession) SetTokenIpfsHash added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactorSession) SetTokenIpfsHash(_token common.Address, _ipfsHash []byte) (*types.Transaction, error)

SetTokenIpfsHash is a paid mutator transaction binding the contract method 0xeef05f65.

Solidity: function setTokenIpfsHash(_token address, _ipfsHash bytes) returns()

func (*TokenRegistryTransactorSession) SetTokenName added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactorSession) SetTokenName(_token common.Address, _name string) (*types.Transaction, error)

SetTokenName is a paid mutator transaction binding the contract method 0xc370c86d.

Solidity: function setTokenName(_token address, _name string) returns()

func (*TokenRegistryTransactorSession) SetTokenSwarmHash added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactorSession) SetTokenSwarmHash(_token common.Address, _swarmHash []byte) (*types.Transaction, error)

SetTokenSwarmHash is a paid mutator transaction binding the contract method 0x56318820.

Solidity: function setTokenSwarmHash(_token address, _swarmHash bytes) returns()

func (*TokenRegistryTransactorSession) SetTokenSymbol added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactorSession) SetTokenSymbol(_token common.Address, _symbol string) (*types.Transaction, error)

SetTokenSymbol is a paid mutator transaction binding the contract method 0xf036417f.

Solidity: function setTokenSymbol(_token address, _symbol string) returns()

func (*TokenRegistryTransactorSession) TransferOwnership added in v0.3.0

func (_TokenRegistry *TokenRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(newOwner address) returns()

Jump to

Keyboard shortcuts

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