curvefi

package
v1.3.5-rc-5 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CurvefiABI = "" /* 8532-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Curvefi

type Curvefi struct {
	CurvefiCaller     // Read-only binding to the contract
	CurvefiTransactor // Write-only binding to the contract
	CurvefiFilterer   // Log filterer for contract events
}

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

func NewCurvefi

func NewCurvefi(address common.Address, backend bind.ContractBackend) (*Curvefi, error)

NewCurvefi creates a new instance of Curvefi, bound to a specific deployed contract.

type CurvefiCaller

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

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

func NewCurvefiCaller

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

NewCurvefiCaller creates a new read-only instance of Curvefi, bound to a specific deployed contract.

func (*CurvefiCaller) Admin

func (_Curvefi *CurvefiCaller) Admin(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function admin() returns(address)

func (*CurvefiCaller) EstimateGasUsed

func (_Curvefi *CurvefiCaller) EstimateGasUsed(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address) (*big.Int, error)

EstimateGasUsed is a free data retrieval call binding the contract method 0xb0bb365b.

Solidity: function estimate_gas_used(address _pool, address _from, address _to) returns(uint256)

func (*CurvefiCaller) FindPoolForCoins

func (_Curvefi *CurvefiCaller) FindPoolForCoins(opts *bind.CallOpts, _from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) returns(address)

func (*CurvefiCaller) FindPoolForCoins0

func (_Curvefi *CurvefiCaller) FindPoolForCoins0(opts *bind.CallOpts, _from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) returns(address)

func (*CurvefiCaller) GetCalculator

func (_Curvefi *CurvefiCaller) GetCalculator(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetCalculator is a free data retrieval call binding the contract method 0x5d7dc825.

Solidity: function get_calculator(address _pool) returns(address)

func (*CurvefiCaller) GetExchangeAmount

func (_Curvefi *CurvefiCaller) GetExchangeAmount(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*big.Int, error)

GetExchangeAmount is a free data retrieval call binding the contract method 0x3973e834.

Solidity: function get_exchange_amount(address _pool, address _from, address _to, uint256 _amount) returns(uint256)

func (*CurvefiCaller) GetPoolCoins

func (_Curvefi *CurvefiCaller) GetPoolCoins(opts *bind.CallOpts, _pool common.Address) (Struct1, error)

GetPoolCoins is a free data retrieval call binding the contract method 0xe030afb8.

Solidity: function get_pool_coins(address _pool) returns((address[8],address[8],uint256[8],uint256[8]))

func (*CurvefiCaller) PoolCount

func (_Curvefi *CurvefiCaller) PoolCount(opts *bind.CallOpts) (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() returns(uint256)

func (*CurvefiCaller) PoolList

func (_Curvefi *CurvefiCaller) PoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0xe140b271.

Solidity: function pool_list(int128 arg0) returns(address)

type CurvefiCallerRaw

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

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

func (*CurvefiCallerRaw) Call

func (_Curvefi *CurvefiCallerRaw) 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 CurvefiCallerSession

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

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

func (*CurvefiCallerSession) Admin

func (_Curvefi *CurvefiCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() returns(address)

func (*CurvefiCallerSession) EstimateGasUsed

func (_Curvefi *CurvefiCallerSession) EstimateGasUsed(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, error)

EstimateGasUsed is a free data retrieval call binding the contract method 0xb0bb365b.

Solidity: function estimate_gas_used(address _pool, address _from, address _to) returns(uint256)

func (*CurvefiCallerSession) FindPoolForCoins

func (_Curvefi *CurvefiCallerSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) returns(address)

func (*CurvefiCallerSession) FindPoolForCoins0

func (_Curvefi *CurvefiCallerSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) returns(address)

func (*CurvefiCallerSession) GetCalculator

func (_Curvefi *CurvefiCallerSession) GetCalculator(_pool common.Address) (common.Address, error)

GetCalculator is a free data retrieval call binding the contract method 0x5d7dc825.

Solidity: function get_calculator(address _pool) returns(address)

func (*CurvefiCallerSession) GetExchangeAmount

func (_Curvefi *CurvefiCallerSession) GetExchangeAmount(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*big.Int, error)

GetExchangeAmount is a free data retrieval call binding the contract method 0x3973e834.

Solidity: function get_exchange_amount(address _pool, address _from, address _to, uint256 _amount) returns(uint256)

func (*CurvefiCallerSession) GetPoolCoins

func (_Curvefi *CurvefiCallerSession) GetPoolCoins(_pool common.Address) (Struct1, error)

GetPoolCoins is a free data retrieval call binding the contract method 0xe030afb8.

Solidity: function get_pool_coins(address _pool) returns((address[8],address[8],uint256[8],uint256[8]))

func (*CurvefiCallerSession) PoolCount

func (_Curvefi *CurvefiCallerSession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() returns(uint256)

func (*CurvefiCallerSession) PoolList

func (_Curvefi *CurvefiCallerSession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0xe140b271.

Solidity: function pool_list(int128 arg0) returns(address)

type CurvefiCommitNewAdmin

type CurvefiCommitNewAdmin struct {
	Deadline *big.Int
	Admin    common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurvefiCommitNewAdmin represents a CommitNewAdmin event raised by the Curvefi contract.

type CurvefiCommitNewAdminIterator

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

CurvefiCommitNewAdminIterator is returned from FilterCommitNewAdmin and is used to iterate over the raw logs and unpacked data for CommitNewAdmin events raised by the Curvefi contract.

func (*CurvefiCommitNewAdminIterator) Close

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

func (*CurvefiCommitNewAdminIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefiCommitNewAdminIterator) 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 CurvefiFilterer

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

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

func NewCurvefiFilterer

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

NewCurvefiFilterer creates a new log filterer instance of Curvefi, bound to a specific deployed contract.

func (*CurvefiFilterer) FilterCommitNewAdmin

func (_Curvefi *CurvefiFilterer) FilterCommitNewAdmin(opts *bind.FilterOpts, deadline []*big.Int, admin []common.Address) (*CurvefiCommitNewAdminIterator, error)

FilterCommitNewAdmin is a free log retrieval operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.

Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)

func (*CurvefiFilterer) FilterNewAdmin

func (_Curvefi *CurvefiFilterer) FilterNewAdmin(opts *bind.FilterOpts, admin []common.Address) (*CurvefiNewAdminIterator, error)

FilterNewAdmin is a free log retrieval operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address indexed admin)

func (*CurvefiFilterer) FilterPoolAdded

func (_Curvefi *CurvefiFilterer) FilterPoolAdded(opts *bind.FilterOpts, pool []common.Address) (*CurvefiPoolAddedIterator, error)

FilterPoolAdded is a free log retrieval operation binding the contract event 0xe485c16479ab7092c0b3fc4649843c06be7f072194675261590c84473ab0aea9.

Solidity: event PoolAdded(address indexed pool, bytes rate_method_id)

func (*CurvefiFilterer) FilterPoolRemoved

func (_Curvefi *CurvefiFilterer) FilterPoolRemoved(opts *bind.FilterOpts, pool []common.Address) (*CurvefiPoolRemovedIterator, error)

FilterPoolRemoved is a free log retrieval operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

func (*CurvefiFilterer) FilterTokenExchange

func (_Curvefi *CurvefiFilterer) FilterTokenExchange(opts *bind.FilterOpts, buyer []common.Address, pool []common.Address) (*CurvefiTokenExchangeIterator, error)

FilterTokenExchange is a free log retrieval operation binding the contract event 0xc74278adc52a6f43a80f27768caac90c9609be033cf5189c150b0c6d173800b7.

Solidity: event TokenExchange(address indexed buyer, address indexed pool, address token_sold, address token_bought, uint256 amount_sold, uint256 amount_bought)

func (*CurvefiFilterer) ParseCommitNewAdmin

func (_Curvefi *CurvefiFilterer) ParseCommitNewAdmin(log types.Log) (*CurvefiCommitNewAdmin, error)

ParseCommitNewAdmin is a log parse operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.

Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)

func (*CurvefiFilterer) ParseNewAdmin

func (_Curvefi *CurvefiFilterer) ParseNewAdmin(log types.Log) (*CurvefiNewAdmin, error)

ParseNewAdmin is a log parse operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address indexed admin)

func (*CurvefiFilterer) ParsePoolAdded

func (_Curvefi *CurvefiFilterer) ParsePoolAdded(log types.Log) (*CurvefiPoolAdded, error)

ParsePoolAdded is a log parse operation binding the contract event 0xe485c16479ab7092c0b3fc4649843c06be7f072194675261590c84473ab0aea9.

Solidity: event PoolAdded(address indexed pool, bytes rate_method_id)

func (*CurvefiFilterer) ParsePoolRemoved

func (_Curvefi *CurvefiFilterer) ParsePoolRemoved(log types.Log) (*CurvefiPoolRemoved, error)

ParsePoolRemoved is a log parse operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

func (*CurvefiFilterer) ParseTokenExchange

func (_Curvefi *CurvefiFilterer) ParseTokenExchange(log types.Log) (*CurvefiTokenExchange, error)

ParseTokenExchange is a log parse operation binding the contract event 0xc74278adc52a6f43a80f27768caac90c9609be033cf5189c150b0c6d173800b7.

Solidity: event TokenExchange(address indexed buyer, address indexed pool, address token_sold, address token_bought, uint256 amount_sold, uint256 amount_bought)

func (*CurvefiFilterer) WatchCommitNewAdmin

func (_Curvefi *CurvefiFilterer) WatchCommitNewAdmin(opts *bind.WatchOpts, sink chan<- *CurvefiCommitNewAdmin, deadline []*big.Int, admin []common.Address) (event.Subscription, error)

WatchCommitNewAdmin is a free log subscription operation binding the contract event 0x181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb935.

Solidity: event CommitNewAdmin(uint256 indexed deadline, address indexed admin)

func (*CurvefiFilterer) WatchNewAdmin

func (_Curvefi *CurvefiFilterer) WatchNewAdmin(opts *bind.WatchOpts, sink chan<- *CurvefiNewAdmin, admin []common.Address) (event.Subscription, error)

WatchNewAdmin is a free log subscription operation binding the contract event 0x71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c.

Solidity: event NewAdmin(address indexed admin)

func (*CurvefiFilterer) WatchPoolAdded

func (_Curvefi *CurvefiFilterer) WatchPoolAdded(opts *bind.WatchOpts, sink chan<- *CurvefiPoolAdded, pool []common.Address) (event.Subscription, error)

WatchPoolAdded is a free log subscription operation binding the contract event 0xe485c16479ab7092c0b3fc4649843c06be7f072194675261590c84473ab0aea9.

Solidity: event PoolAdded(address indexed pool, bytes rate_method_id)

func (*CurvefiFilterer) WatchPoolRemoved

func (_Curvefi *CurvefiFilterer) WatchPoolRemoved(opts *bind.WatchOpts, sink chan<- *CurvefiPoolRemoved, pool []common.Address) (event.Subscription, error)

WatchPoolRemoved is a free log subscription operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

func (*CurvefiFilterer) WatchTokenExchange

func (_Curvefi *CurvefiFilterer) WatchTokenExchange(opts *bind.WatchOpts, sink chan<- *CurvefiTokenExchange, buyer []common.Address, pool []common.Address) (event.Subscription, error)

WatchTokenExchange is a free log subscription operation binding the contract event 0xc74278adc52a6f43a80f27768caac90c9609be033cf5189c150b0c6d173800b7.

Solidity: event TokenExchange(address indexed buyer, address indexed pool, address token_sold, address token_bought, uint256 amount_sold, uint256 amount_bought)

type CurvefiNewAdmin

type CurvefiNewAdmin struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurvefiNewAdmin represents a NewAdmin event raised by the Curvefi contract.

type CurvefiNewAdminIterator

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

CurvefiNewAdminIterator is returned from FilterNewAdmin and is used to iterate over the raw logs and unpacked data for NewAdmin events raised by the Curvefi contract.

func (*CurvefiNewAdminIterator) Close

func (it *CurvefiNewAdminIterator) Close() error

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

func (*CurvefiNewAdminIterator) Error

func (it *CurvefiNewAdminIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefiNewAdminIterator) Next

func (it *CurvefiNewAdminIterator) 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 CurvefiPoolAdded

type CurvefiPoolAdded struct {
	Pool         common.Address
	RateMethodId []byte
	Raw          types.Log // Blockchain specific contextual infos
}

CurvefiPoolAdded represents a PoolAdded event raised by the Curvefi contract.

type CurvefiPoolAddedIterator

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

CurvefiPoolAddedIterator is returned from FilterPoolAdded and is used to iterate over the raw logs and unpacked data for PoolAdded events raised by the Curvefi contract.

func (*CurvefiPoolAddedIterator) Close

func (it *CurvefiPoolAddedIterator) Close() error

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

func (*CurvefiPoolAddedIterator) Error

func (it *CurvefiPoolAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefiPoolAddedIterator) Next

func (it *CurvefiPoolAddedIterator) 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 CurvefiPoolRemoved

type CurvefiPoolRemoved struct {
	Pool common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

CurvefiPoolRemoved represents a PoolRemoved event raised by the Curvefi contract.

type CurvefiPoolRemovedIterator

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

CurvefiPoolRemovedIterator is returned from FilterPoolRemoved and is used to iterate over the raw logs and unpacked data for PoolRemoved events raised by the Curvefi contract.

func (*CurvefiPoolRemovedIterator) Close

func (it *CurvefiPoolRemovedIterator) Close() error

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

func (*CurvefiPoolRemovedIterator) Error

func (it *CurvefiPoolRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefiPoolRemovedIterator) Next

func (it *CurvefiPoolRemovedIterator) 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 CurvefiRaw

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

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

func (*CurvefiRaw) Call

func (_Curvefi *CurvefiRaw) 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 (*CurvefiRaw) Transact

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

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

func (*CurvefiRaw) Transfer

func (_Curvefi *CurvefiRaw) 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 CurvefiSession

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

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

func (*CurvefiSession) AddPool

func (_Curvefi *CurvefiSession) AddPool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _calculator common.Address, _rate_method_id [32]byte, _decimals [32]byte, _underlying_decimals [32]byte) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0x74e6a310.

Solidity: function add_pool(address _pool, int128 _n_coins, address _lp_token, address _calculator, bytes32 _rate_method_id, bytes32 _decimals, bytes32 _underlying_decimals) returns()

func (*CurvefiSession) AddPoolWithoutUnderlying

func (_Curvefi *CurvefiSession) AddPoolWithoutUnderlying(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _calculator common.Address, _rate_method_id [32]byte, _decimals [32]byte, _use_rates [32]byte) (*types.Transaction, error)

AddPoolWithoutUnderlying is a paid mutator transaction binding the contract method 0x356547c1.

Solidity: function add_pool_without_underlying(address _pool, int128 _n_coins, address _lp_token, address _calculator, bytes32 _rate_method_id, bytes32 _decimals, bytes32 _use_rates) returns()

func (*CurvefiSession) Admin

func (_Curvefi *CurvefiSession) Admin() (common.Address, error)

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

Solidity: function admin() returns(address)

func (*CurvefiSession) ApplyTransferOwnership

func (_Curvefi *CurvefiSession) ApplyTransferOwnership() (*types.Transaction, error)

ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.

Solidity: function apply_transfer_ownership() returns()

func (*CurvefiSession) ClaimEthBalance

func (_Curvefi *CurvefiSession) ClaimEthBalance() (*types.Transaction, error)

ClaimEthBalance is a paid mutator transaction binding the contract method 0x2295f41f.

Solidity: function claim_eth_balance() returns()

func (*CurvefiSession) ClaimTokenBalance

func (_Curvefi *CurvefiSession) ClaimTokenBalance(_token common.Address) (*types.Transaction, error)

ClaimTokenBalance is a paid mutator transaction binding the contract method 0x93cfe5f5.

Solidity: function claim_token_balance(address _token) returns()

func (*CurvefiSession) CommitTransferOwnership

func (_Curvefi *CurvefiSession) CommitTransferOwnership(_new_admin common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _new_admin) returns()

func (*CurvefiSession) EstimateGasUsed

func (_Curvefi *CurvefiSession) EstimateGasUsed(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, error)

EstimateGasUsed is a free data retrieval call binding the contract method 0xb0bb365b.

Solidity: function estimate_gas_used(address _pool, address _from, address _to) returns(uint256)

func (*CurvefiSession) Exchange

func (_Curvefi *CurvefiSession) Exchange(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x4798ce5b.

Solidity: function exchange(address _pool, address _from, address _to, uint256 _amount, uint256 _expected) returns(bool)

func (*CurvefiSession) Fallback

func (_Curvefi *CurvefiSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*CurvefiSession) FindPoolForCoins

func (_Curvefi *CurvefiSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) returns(address)

func (*CurvefiSession) FindPoolForCoins0

func (_Curvefi *CurvefiSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) returns(address)

func (*CurvefiSession) GetCalculator

func (_Curvefi *CurvefiSession) GetCalculator(_pool common.Address) (common.Address, error)

GetCalculator is a free data retrieval call binding the contract method 0x5d7dc825.

Solidity: function get_calculator(address _pool) returns(address)

func (*CurvefiSession) GetExchangeAmount

func (_Curvefi *CurvefiSession) GetExchangeAmount(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*big.Int, error)

GetExchangeAmount is a free data retrieval call binding the contract method 0x3973e834.

Solidity: function get_exchange_amount(address _pool, address _from, address _to, uint256 _amount) returns(uint256)

func (*CurvefiSession) GetExchangeAmounts

func (_Curvefi *CurvefiSession) GetExchangeAmounts(_pool common.Address, _from common.Address, _to common.Address, _amounts [100]*big.Int) (*types.Transaction, error)

GetExchangeAmounts is a paid mutator transaction binding the contract method 0x4be9ae42.

Solidity: function get_exchange_amounts(address _pool, address _from, address _to, uint256[100] _amounts) returns(uint256[100])

func (*CurvefiSession) GetInputAmount

func (_Curvefi *CurvefiSession) GetInputAmount(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

GetInputAmount is a paid mutator transaction binding the contract method 0x7fa5a654.

Solidity: function get_input_amount(address _pool, address _from, address _to, uint256 _amount) returns(uint256)

func (*CurvefiSession) GetPoolCoins

func (_Curvefi *CurvefiSession) GetPoolCoins(_pool common.Address) (Struct1, error)

GetPoolCoins is a free data retrieval call binding the contract method 0xe030afb8.

Solidity: function get_pool_coins(address _pool) returns((address[8],address[8],uint256[8],uint256[8]))

func (*CurvefiSession) GetPoolInfo

func (_Curvefi *CurvefiSession) GetPoolInfo(_pool common.Address) (*types.Transaction, error)

GetPoolInfo is a paid mutator transaction binding the contract method 0x100f2c00.

Solidity: function get_pool_info(address _pool) returns((uint256[8],uint256[8],uint256[8],uint256[8],address,uint256,uint256))

func (*CurvefiSession) GetPoolRates

func (_Curvefi *CurvefiSession) GetPoolRates(_pool common.Address) (*types.Transaction, error)

GetPoolRates is a paid mutator transaction binding the contract method 0x5af6a160.

Solidity: function get_pool_rates(address _pool) returns(uint256[8])

func (*CurvefiSession) PoolCount

func (_Curvefi *CurvefiSession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() returns(uint256)

func (*CurvefiSession) PoolList

func (_Curvefi *CurvefiSession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0xe140b271.

Solidity: function pool_list(int128 arg0) returns(address)

func (*CurvefiSession) RemovePool

func (_Curvefi *CurvefiSession) RemovePool(_pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurvefiSession) RevertTransferOwnership

func (_Curvefi *CurvefiSession) RevertTransferOwnership() (*types.Transaction, error)

RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.

Solidity: function revert_transfer_ownership() returns()

func (*CurvefiSession) SetCalculator

func (_Curvefi *CurvefiSession) SetCalculator(_pool common.Address, _calculator common.Address) (*types.Transaction, error)

SetCalculator is a paid mutator transaction binding the contract method 0x188c7ee5.

Solidity: function set_calculator(address _pool, address _calculator) returns()

func (*CurvefiSession) SetCoinGasEstimates

func (_Curvefi *CurvefiSession) SetCoinGasEstimates(_addr [10]common.Address, _amount [10]*big.Int) (*types.Transaction, error)

SetCoinGasEstimates is a paid mutator transaction binding the contract method 0x237f89f2.

Solidity: function set_coin_gas_estimates(address[10] _addr, uint256[10] _amount) returns()

func (*CurvefiSession) SetGasEstimateContract

func (_Curvefi *CurvefiSession) SetGasEstimateContract(_pool common.Address, _estimator common.Address) (*types.Transaction, error)

SetGasEstimateContract is a paid mutator transaction binding the contract method 0xca991b14.

Solidity: function set_gas_estimate_contract(address _pool, address _estimator) returns()

func (*CurvefiSession) SetPoolGasEstimates

func (_Curvefi *CurvefiSession) SetPoolGasEstimates(_addr [5]common.Address, _amount [5][2]*big.Int) (*types.Transaction, error)

SetPoolGasEstimates is a paid mutator transaction binding the contract method 0x0733b67a.

Solidity: function set_pool_gas_estimates(address[5] _addr, uint256[2][5] _amount) returns()

func (*CurvefiSession) SetReturnsNone

func (_Curvefi *CurvefiSession) SetReturnsNone(_addr common.Address, _is_returns_none bool) (*types.Transaction, error)

SetReturnsNone is a paid mutator transaction binding the contract method 0xb55e47ab.

Solidity: function set_returns_none(address _addr, bool _is_returns_none) returns()

type CurvefiTokenExchange

type CurvefiTokenExchange struct {
	Buyer        common.Address
	Pool         common.Address
	TokenSold    common.Address
	TokenBought  common.Address
	AmountSold   *big.Int
	AmountBought *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurvefiTokenExchange represents a TokenExchange event raised by the Curvefi contract.

type CurvefiTokenExchangeIterator

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

CurvefiTokenExchangeIterator is returned from FilterTokenExchange and is used to iterate over the raw logs and unpacked data for TokenExchange events raised by the Curvefi contract.

func (*CurvefiTokenExchangeIterator) Close

func (it *CurvefiTokenExchangeIterator) Close() error

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

func (*CurvefiTokenExchangeIterator) Error

func (it *CurvefiTokenExchangeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvefiTokenExchangeIterator) 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 CurvefiTransactor

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

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

func NewCurvefiTransactor

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

NewCurvefiTransactor creates a new write-only instance of Curvefi, bound to a specific deployed contract.

func (*CurvefiTransactor) AddPool

func (_Curvefi *CurvefiTransactor) AddPool(opts *bind.TransactOpts, _pool common.Address, _n_coins *big.Int, _lp_token common.Address, _calculator common.Address, _rate_method_id [32]byte, _decimals [32]byte, _underlying_decimals [32]byte) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0x74e6a310.

Solidity: function add_pool(address _pool, int128 _n_coins, address _lp_token, address _calculator, bytes32 _rate_method_id, bytes32 _decimals, bytes32 _underlying_decimals) returns()

func (*CurvefiTransactor) AddPoolWithoutUnderlying

func (_Curvefi *CurvefiTransactor) AddPoolWithoutUnderlying(opts *bind.TransactOpts, _pool common.Address, _n_coins *big.Int, _lp_token common.Address, _calculator common.Address, _rate_method_id [32]byte, _decimals [32]byte, _use_rates [32]byte) (*types.Transaction, error)

AddPoolWithoutUnderlying is a paid mutator transaction binding the contract method 0x356547c1.

Solidity: function add_pool_without_underlying(address _pool, int128 _n_coins, address _lp_token, address _calculator, bytes32 _rate_method_id, bytes32 _decimals, bytes32 _use_rates) returns()

func (*CurvefiTransactor) ApplyTransferOwnership

func (_Curvefi *CurvefiTransactor) ApplyTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.

Solidity: function apply_transfer_ownership() returns()

func (*CurvefiTransactor) ClaimEthBalance

func (_Curvefi *CurvefiTransactor) ClaimEthBalance(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimEthBalance is a paid mutator transaction binding the contract method 0x2295f41f.

Solidity: function claim_eth_balance() returns()

func (*CurvefiTransactor) ClaimTokenBalance

func (_Curvefi *CurvefiTransactor) ClaimTokenBalance(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ClaimTokenBalance is a paid mutator transaction binding the contract method 0x93cfe5f5.

Solidity: function claim_token_balance(address _token) returns()

func (*CurvefiTransactor) CommitTransferOwnership

func (_Curvefi *CurvefiTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _new_admin common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _new_admin) returns()

func (*CurvefiTransactor) Exchange

func (_Curvefi *CurvefiTransactor) Exchange(opts *bind.TransactOpts, _pool common.Address, _from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x4798ce5b.

Solidity: function exchange(address _pool, address _from, address _to, uint256 _amount, uint256 _expected) returns(bool)

func (*CurvefiTransactor) Fallback

func (_Curvefi *CurvefiTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*CurvefiTransactor) GetExchangeAmounts

func (_Curvefi *CurvefiTransactor) GetExchangeAmounts(opts *bind.TransactOpts, _pool common.Address, _from common.Address, _to common.Address, _amounts [100]*big.Int) (*types.Transaction, error)

GetExchangeAmounts is a paid mutator transaction binding the contract method 0x4be9ae42.

Solidity: function get_exchange_amounts(address _pool, address _from, address _to, uint256[100] _amounts) returns(uint256[100])

func (*CurvefiTransactor) GetInputAmount

func (_Curvefi *CurvefiTransactor) GetInputAmount(opts *bind.TransactOpts, _pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

GetInputAmount is a paid mutator transaction binding the contract method 0x7fa5a654.

Solidity: function get_input_amount(address _pool, address _from, address _to, uint256 _amount) returns(uint256)

func (*CurvefiTransactor) GetPoolInfo

func (_Curvefi *CurvefiTransactor) GetPoolInfo(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)

GetPoolInfo is a paid mutator transaction binding the contract method 0x100f2c00.

Solidity: function get_pool_info(address _pool) returns((uint256[8],uint256[8],uint256[8],uint256[8],address,uint256,uint256))

func (*CurvefiTransactor) GetPoolRates

func (_Curvefi *CurvefiTransactor) GetPoolRates(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)

GetPoolRates is a paid mutator transaction binding the contract method 0x5af6a160.

Solidity: function get_pool_rates(address _pool) returns(uint256[8])

func (*CurvefiTransactor) RemovePool

func (_Curvefi *CurvefiTransactor) RemovePool(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurvefiTransactor) RevertTransferOwnership

func (_Curvefi *CurvefiTransactor) RevertTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.

Solidity: function revert_transfer_ownership() returns()

func (*CurvefiTransactor) SetCalculator

func (_Curvefi *CurvefiTransactor) SetCalculator(opts *bind.TransactOpts, _pool common.Address, _calculator common.Address) (*types.Transaction, error)

SetCalculator is a paid mutator transaction binding the contract method 0x188c7ee5.

Solidity: function set_calculator(address _pool, address _calculator) returns()

func (*CurvefiTransactor) SetCoinGasEstimates

func (_Curvefi *CurvefiTransactor) SetCoinGasEstimates(opts *bind.TransactOpts, _addr [10]common.Address, _amount [10]*big.Int) (*types.Transaction, error)

SetCoinGasEstimates is a paid mutator transaction binding the contract method 0x237f89f2.

Solidity: function set_coin_gas_estimates(address[10] _addr, uint256[10] _amount) returns()

func (*CurvefiTransactor) SetGasEstimateContract

func (_Curvefi *CurvefiTransactor) SetGasEstimateContract(opts *bind.TransactOpts, _pool common.Address, _estimator common.Address) (*types.Transaction, error)

SetGasEstimateContract is a paid mutator transaction binding the contract method 0xca991b14.

Solidity: function set_gas_estimate_contract(address _pool, address _estimator) returns()

func (*CurvefiTransactor) SetPoolGasEstimates

func (_Curvefi *CurvefiTransactor) SetPoolGasEstimates(opts *bind.TransactOpts, _addr [5]common.Address, _amount [5][2]*big.Int) (*types.Transaction, error)

SetPoolGasEstimates is a paid mutator transaction binding the contract method 0x0733b67a.

Solidity: function set_pool_gas_estimates(address[5] _addr, uint256[2][5] _amount) returns()

func (*CurvefiTransactor) SetReturnsNone

func (_Curvefi *CurvefiTransactor) SetReturnsNone(opts *bind.TransactOpts, _addr common.Address, _is_returns_none bool) (*types.Transaction, error)

SetReturnsNone is a paid mutator transaction binding the contract method 0xb55e47ab.

Solidity: function set_returns_none(address _addr, bool _is_returns_none) returns()

type CurvefiTransactorRaw

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

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

func (*CurvefiTransactorRaw) Transact

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

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

func (*CurvefiTransactorRaw) Transfer

func (_Curvefi *CurvefiTransactorRaw) 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 CurvefiTransactorSession

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

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

func (*CurvefiTransactorSession) AddPool

func (_Curvefi *CurvefiTransactorSession) AddPool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _calculator common.Address, _rate_method_id [32]byte, _decimals [32]byte, _underlying_decimals [32]byte) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0x74e6a310.

Solidity: function add_pool(address _pool, int128 _n_coins, address _lp_token, address _calculator, bytes32 _rate_method_id, bytes32 _decimals, bytes32 _underlying_decimals) returns()

func (*CurvefiTransactorSession) AddPoolWithoutUnderlying

func (_Curvefi *CurvefiTransactorSession) AddPoolWithoutUnderlying(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _calculator common.Address, _rate_method_id [32]byte, _decimals [32]byte, _use_rates [32]byte) (*types.Transaction, error)

AddPoolWithoutUnderlying is a paid mutator transaction binding the contract method 0x356547c1.

Solidity: function add_pool_without_underlying(address _pool, int128 _n_coins, address _lp_token, address _calculator, bytes32 _rate_method_id, bytes32 _decimals, bytes32 _use_rates) returns()

func (*CurvefiTransactorSession) ApplyTransferOwnership

func (_Curvefi *CurvefiTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)

ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.

Solidity: function apply_transfer_ownership() returns()

func (*CurvefiTransactorSession) ClaimEthBalance

func (_Curvefi *CurvefiTransactorSession) ClaimEthBalance() (*types.Transaction, error)

ClaimEthBalance is a paid mutator transaction binding the contract method 0x2295f41f.

Solidity: function claim_eth_balance() returns()

func (*CurvefiTransactorSession) ClaimTokenBalance

func (_Curvefi *CurvefiTransactorSession) ClaimTokenBalance(_token common.Address) (*types.Transaction, error)

ClaimTokenBalance is a paid mutator transaction binding the contract method 0x93cfe5f5.

Solidity: function claim_token_balance(address _token) returns()

func (*CurvefiTransactorSession) CommitTransferOwnership

func (_Curvefi *CurvefiTransactorSession) CommitTransferOwnership(_new_admin common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _new_admin) returns()

func (*CurvefiTransactorSession) Exchange

func (_Curvefi *CurvefiTransactorSession) Exchange(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int, _expected *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x4798ce5b.

Solidity: function exchange(address _pool, address _from, address _to, uint256 _amount, uint256 _expected) returns(bool)

func (*CurvefiTransactorSession) Fallback

func (_Curvefi *CurvefiTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*CurvefiTransactorSession) GetExchangeAmounts

func (_Curvefi *CurvefiTransactorSession) GetExchangeAmounts(_pool common.Address, _from common.Address, _to common.Address, _amounts [100]*big.Int) (*types.Transaction, error)

GetExchangeAmounts is a paid mutator transaction binding the contract method 0x4be9ae42.

Solidity: function get_exchange_amounts(address _pool, address _from, address _to, uint256[100] _amounts) returns(uint256[100])

func (*CurvefiTransactorSession) GetInputAmount

func (_Curvefi *CurvefiTransactorSession) GetInputAmount(_pool common.Address, _from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

GetInputAmount is a paid mutator transaction binding the contract method 0x7fa5a654.

Solidity: function get_input_amount(address _pool, address _from, address _to, uint256 _amount) returns(uint256)

func (*CurvefiTransactorSession) GetPoolInfo

func (_Curvefi *CurvefiTransactorSession) GetPoolInfo(_pool common.Address) (*types.Transaction, error)

GetPoolInfo is a paid mutator transaction binding the contract method 0x100f2c00.

Solidity: function get_pool_info(address _pool) returns((uint256[8],uint256[8],uint256[8],uint256[8],address,uint256,uint256))

func (*CurvefiTransactorSession) GetPoolRates

func (_Curvefi *CurvefiTransactorSession) GetPoolRates(_pool common.Address) (*types.Transaction, error)

GetPoolRates is a paid mutator transaction binding the contract method 0x5af6a160.

Solidity: function get_pool_rates(address _pool) returns(uint256[8])

func (*CurvefiTransactorSession) RemovePool

func (_Curvefi *CurvefiTransactorSession) RemovePool(_pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurvefiTransactorSession) RevertTransferOwnership

func (_Curvefi *CurvefiTransactorSession) RevertTransferOwnership() (*types.Transaction, error)

RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.

Solidity: function revert_transfer_ownership() returns()

func (*CurvefiTransactorSession) SetCalculator

func (_Curvefi *CurvefiTransactorSession) SetCalculator(_pool common.Address, _calculator common.Address) (*types.Transaction, error)

SetCalculator is a paid mutator transaction binding the contract method 0x188c7ee5.

Solidity: function set_calculator(address _pool, address _calculator) returns()

func (*CurvefiTransactorSession) SetCoinGasEstimates

func (_Curvefi *CurvefiTransactorSession) SetCoinGasEstimates(_addr [10]common.Address, _amount [10]*big.Int) (*types.Transaction, error)

SetCoinGasEstimates is a paid mutator transaction binding the contract method 0x237f89f2.

Solidity: function set_coin_gas_estimates(address[10] _addr, uint256[10] _amount) returns()

func (*CurvefiTransactorSession) SetGasEstimateContract

func (_Curvefi *CurvefiTransactorSession) SetGasEstimateContract(_pool common.Address, _estimator common.Address) (*types.Transaction, error)

SetGasEstimateContract is a paid mutator transaction binding the contract method 0xca991b14.

Solidity: function set_gas_estimate_contract(address _pool, address _estimator) returns()

func (*CurvefiTransactorSession) SetPoolGasEstimates

func (_Curvefi *CurvefiTransactorSession) SetPoolGasEstimates(_addr [5]common.Address, _amount [5][2]*big.Int) (*types.Transaction, error)

SetPoolGasEstimates is a paid mutator transaction binding the contract method 0x0733b67a.

Solidity: function set_pool_gas_estimates(address[5] _addr, uint256[2][5] _amount) returns()

func (*CurvefiTransactorSession) SetReturnsNone

func (_Curvefi *CurvefiTransactorSession) SetReturnsNone(_addr common.Address, _is_returns_none bool) (*types.Transaction, error)

SetReturnsNone is a paid mutator transaction binding the contract method 0xb55e47ab.

Solidity: function set_returns_none(address _addr, bool _is_returns_none) returns()

type Struct0

type Struct0 struct {
	Balances           [8]*big.Int
	UnderlyingBalances [8]*big.Int
	Decimals           [8]*big.Int
	UnderlyingDecimals [8]*big.Int
	LpToken            common.Address
	A                  *big.Int
	Fee                *big.Int
}

Struct0 is an auto generated low-level Go binding around an user-defined struct.

type Struct1

type Struct1 struct {
	Coins              [8]common.Address
	UnderlyingCoins    [8]common.Address
	Decimals           [8]*big.Int
	UnderlyingDecimals [8]*big.Int
}

Struct1 is an auto generated low-level Go binding around an user-defined struct.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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