Documentation ¶
Index ¶
- Variables
- type OneInchSpotPriceAggregator
- type OneInchSpotPriceAggregatorCaller
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCaller) Connectors(opts *bind.CallOpts) ([]common.Address, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCaller) GetRate(opts *bind.CallOpts, srcToken common.Address, dstToken common.Address, ...) (*big.Int, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCaller) GetRateToEth(opts *bind.CallOpts, srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCaller) MultiWrapper(opts *bind.CallOpts) (common.Address, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCaller) Oracles(opts *bind.CallOpts) (struct{ ... }, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type OneInchSpotPriceAggregatorCallerRaw
- type OneInchSpotPriceAggregatorCallerSession
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerSession) Connectors() ([]common.Address, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerSession) GetRate(srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerSession) GetRateToEth(srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerSession) MultiWrapper() (common.Address, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerSession) Oracles() (struct{ ... }, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerSession) Owner() (common.Address, error)
- type OneInchSpotPriceAggregatorFilterer
- type OneInchSpotPriceAggregatorRaw
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OneInchSpotPriceAggregatorSession
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) AddConnector(connector common.Address) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) AddOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) Connectors() ([]common.Address, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) GetRate(srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) GetRateToEth(srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) MultiWrapper() (common.Address, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) Oracles() (struct{ ... }, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) Owner() (common.Address, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) RemoveConnector(connector common.Address) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) RemoveOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) RenounceOwnership() (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) SetMultiWrapper(_multiWrapper common.Address) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OneInchSpotPriceAggregatorTransactor
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) AddConnector(opts *bind.TransactOpts, connector common.Address) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) AddOracle(opts *bind.TransactOpts, oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) RemoveConnector(opts *bind.TransactOpts, connector common.Address) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) RemoveOracle(opts *bind.TransactOpts, oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) SetMultiWrapper(opts *bind.TransactOpts, _multiWrapper common.Address) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type OneInchSpotPriceAggregatorTransactorRaw
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OneInchSpotPriceAggregatorTransactorSession
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) AddConnector(connector common.Address) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) AddOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) RemoveConnector(connector common.Address) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) RemoveOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) SetMultiWrapper(_multiWrapper common.Address) (*types.Transaction, error)
- func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var OneInchSpotPriceAggregatorABI = OneInchSpotPriceAggregatorMetaData.ABI
OneInchSpotPriceAggregatorABI is the input ABI used to generate the binding from. Deprecated: Use OneInchSpotPriceAggregatorMetaData.ABI instead.
var OneInchSpotPriceAggregatorMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"connector\",\"type\":\"address\"}],\"name\":\"addConnector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"oracleKind\",\"type\":\"uint8\"}],\"name\":\"addOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"connectors\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"allConnectors\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useWrappers\",\"type\":\"bool\"}],\"name\":\"getRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weightedRate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useSrcWrappers\",\"type\":\"bool\"}],\"name\":\"getRateToEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weightedRate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"multiWrapper\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracles\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"allOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint8[]\",\"name\":\"oracleTypes\",\"type\":\"uint8[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"connector\",\"type\":\"address\"}],\"name\":\"removeConnector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"oracleKind\",\"type\":\"uint8\"}],\"name\":\"removeOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_multiWrapper\",\"type\":\"address\"}],\"name\":\"setMultiWrapper\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
OneInchSpotPriceAggregatorMetaData contains all meta data concerning the OneInchSpotPriceAggregator contract.
Functions ¶
This section is empty.
Types ¶
type OneInchSpotPriceAggregator ¶
type OneInchSpotPriceAggregator struct { OneInchSpotPriceAggregatorCaller // Read-only binding to the contract OneInchSpotPriceAggregatorTransactor // Write-only binding to the contract OneInchSpotPriceAggregatorFilterer // Log filterer for contract events }
OneInchSpotPriceAggregator is an auto generated Go binding around an Ethereum contract.
func NewOneInchSpotPriceAggregator ¶
func NewOneInchSpotPriceAggregator(address common.Address, backend bind.ContractBackend) (*OneInchSpotPriceAggregator, error)
NewOneInchSpotPriceAggregator creates a new instance of OneInchSpotPriceAggregator, bound to a specific deployed contract.
type OneInchSpotPriceAggregatorCaller ¶
type OneInchSpotPriceAggregatorCaller struct {
// contains filtered or unexported fields
}
OneInchSpotPriceAggregatorCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOneInchSpotPriceAggregatorCaller ¶
func NewOneInchSpotPriceAggregatorCaller(address common.Address, caller bind.ContractCaller) (*OneInchSpotPriceAggregatorCaller, error)
NewOneInchSpotPriceAggregatorCaller creates a new read-only instance of OneInchSpotPriceAggregator, bound to a specific deployed contract.
func (*OneInchSpotPriceAggregatorCaller) Connectors ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCaller) Connectors(opts *bind.CallOpts) ([]common.Address, error)
Connectors is a free data retrieval call binding the contract method 0x65050a68.
Solidity: function connectors() view returns(address[] allConnectors)
func (*OneInchSpotPriceAggregatorCaller) GetRate ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCaller) GetRate(opts *bind.CallOpts, srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)
GetRate is a free data retrieval call binding the contract method 0x802431fb.
Solidity: function getRate(address srcToken, address dstToken, bool useWrappers) view returns(uint256 weightedRate)
func (*OneInchSpotPriceAggregatorCaller) GetRateToEth ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCaller) GetRateToEth(opts *bind.CallOpts, srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
GetRateToEth is a free data retrieval call binding the contract method 0x7de4fd10.
Solidity: function getRateToEth(address srcToken, bool useSrcWrappers) view returns(uint256 weightedRate)
func (*OneInchSpotPriceAggregatorCaller) MultiWrapper ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCaller) MultiWrapper(opts *bind.CallOpts) (common.Address, error)
MultiWrapper is a free data retrieval call binding the contract method 0xb77910dc.
Solidity: function multiWrapper() view returns(address)
func (*OneInchSpotPriceAggregatorCaller) Oracles ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCaller) Oracles(opts *bind.CallOpts) (struct { AllOracles []common.Address OracleTypes []uint8 }, error)
Oracles is a free data retrieval call binding the contract method 0x2857373a.
Solidity: function oracles() view returns(address[] allOracles, uint8[] oracleTypes)
type OneInchSpotPriceAggregatorCallerRaw ¶
type OneInchSpotPriceAggregatorCallerRaw struct {
Contract *OneInchSpotPriceAggregatorCaller // Generic read-only contract binding to access the raw methods on
}
OneInchSpotPriceAggregatorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OneInchSpotPriceAggregatorCallerRaw) Call ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerRaw) 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 OneInchSpotPriceAggregatorCallerSession ¶
type OneInchSpotPriceAggregatorCallerSession struct { Contract *OneInchSpotPriceAggregatorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OneInchSpotPriceAggregatorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OneInchSpotPriceAggregatorCallerSession) Connectors ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerSession) Connectors() ([]common.Address, error)
Connectors is a free data retrieval call binding the contract method 0x65050a68.
Solidity: function connectors() view returns(address[] allConnectors)
func (*OneInchSpotPriceAggregatorCallerSession) GetRate ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerSession) GetRate(srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)
GetRate is a free data retrieval call binding the contract method 0x802431fb.
Solidity: function getRate(address srcToken, address dstToken, bool useWrappers) view returns(uint256 weightedRate)
func (*OneInchSpotPriceAggregatorCallerSession) GetRateToEth ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerSession) GetRateToEth(srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
GetRateToEth is a free data retrieval call binding the contract method 0x7de4fd10.
Solidity: function getRateToEth(address srcToken, bool useSrcWrappers) view returns(uint256 weightedRate)
func (*OneInchSpotPriceAggregatorCallerSession) MultiWrapper ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerSession) MultiWrapper() (common.Address, error)
MultiWrapper is a free data retrieval call binding the contract method 0xb77910dc.
Solidity: function multiWrapper() view returns(address)
func (*OneInchSpotPriceAggregatorCallerSession) Oracles ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorCallerSession) Oracles() (struct { AllOracles []common.Address OracleTypes []uint8 }, error)
Oracles is a free data retrieval call binding the contract method 0x2857373a.
Solidity: function oracles() view returns(address[] allOracles, uint8[] oracleTypes)
type OneInchSpotPriceAggregatorFilterer ¶
type OneInchSpotPriceAggregatorFilterer struct {
// contains filtered or unexported fields
}
OneInchSpotPriceAggregatorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOneInchSpotPriceAggregatorFilterer ¶
func NewOneInchSpotPriceAggregatorFilterer(address common.Address, filterer bind.ContractFilterer) (*OneInchSpotPriceAggregatorFilterer, error)
NewOneInchSpotPriceAggregatorFilterer creates a new log filterer instance of OneInchSpotPriceAggregator, bound to a specific deployed contract.
type OneInchSpotPriceAggregatorRaw ¶
type OneInchSpotPriceAggregatorRaw struct {
Contract *OneInchSpotPriceAggregator // Generic contract binding to access the raw methods on
}
OneInchSpotPriceAggregatorRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OneInchSpotPriceAggregatorRaw) Call ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorRaw) 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 (*OneInchSpotPriceAggregatorRaw) Transact ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OneInchSpotPriceAggregatorRaw) Transfer ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorRaw) 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 OneInchSpotPriceAggregatorSession ¶
type OneInchSpotPriceAggregatorSession struct { Contract *OneInchSpotPriceAggregator // 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 }
OneInchSpotPriceAggregatorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OneInchSpotPriceAggregatorSession) AddConnector ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) AddConnector(connector common.Address) (*types.Transaction, error)
AddConnector is a paid mutator transaction binding the contract method 0xaa16d4c0.
Solidity: function addConnector(address connector) returns()
func (*OneInchSpotPriceAggregatorSession) AddOracle ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) AddOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
AddOracle is a paid mutator transaction binding the contract method 0x9d4d7b1c.
Solidity: function addOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchSpotPriceAggregatorSession) Connectors ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) Connectors() ([]common.Address, error)
Connectors is a free data retrieval call binding the contract method 0x65050a68.
Solidity: function connectors() view returns(address[] allConnectors)
func (*OneInchSpotPriceAggregatorSession) GetRate ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) GetRate(srcToken common.Address, dstToken common.Address, useWrappers bool) (*big.Int, error)
GetRate is a free data retrieval call binding the contract method 0x802431fb.
Solidity: function getRate(address srcToken, address dstToken, bool useWrappers) view returns(uint256 weightedRate)
func (*OneInchSpotPriceAggregatorSession) GetRateToEth ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) GetRateToEth(srcToken common.Address, useSrcWrappers bool) (*big.Int, error)
GetRateToEth is a free data retrieval call binding the contract method 0x7de4fd10.
Solidity: function getRateToEth(address srcToken, bool useSrcWrappers) view returns(uint256 weightedRate)
func (*OneInchSpotPriceAggregatorSession) MultiWrapper ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) MultiWrapper() (common.Address, error)
MultiWrapper is a free data retrieval call binding the contract method 0xb77910dc.
Solidity: function multiWrapper() view returns(address)
func (*OneInchSpotPriceAggregatorSession) Oracles ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) Oracles() (struct { AllOracles []common.Address OracleTypes []uint8 }, error)
Oracles is a free data retrieval call binding the contract method 0x2857373a.
Solidity: function oracles() view returns(address[] allOracles, uint8[] oracleTypes)
func (*OneInchSpotPriceAggregatorSession) Owner ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OneInchSpotPriceAggregatorSession) RemoveConnector ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) RemoveConnector(connector common.Address) (*types.Transaction, error)
RemoveConnector is a paid mutator transaction binding the contract method 0x1a6c6a98.
Solidity: function removeConnector(address connector) returns()
func (*OneInchSpotPriceAggregatorSession) RemoveOracle ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) RemoveOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
RemoveOracle is a paid mutator transaction binding the contract method 0xf0b92e40.
Solidity: function removeOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchSpotPriceAggregatorSession) RenounceOwnership ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OneInchSpotPriceAggregatorSession) SetMultiWrapper ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) SetMultiWrapper(_multiWrapper common.Address) (*types.Transaction, error)
SetMultiWrapper is a paid mutator transaction binding the contract method 0xd0626518.
Solidity: function setMultiWrapper(address _multiWrapper) returns()
func (*OneInchSpotPriceAggregatorSession) TransferOwnership ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OneInchSpotPriceAggregatorTransactor ¶
type OneInchSpotPriceAggregatorTransactor struct {
// contains filtered or unexported fields
}
OneInchSpotPriceAggregatorTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOneInchSpotPriceAggregatorTransactor ¶
func NewOneInchSpotPriceAggregatorTransactor(address common.Address, transactor bind.ContractTransactor) (*OneInchSpotPriceAggregatorTransactor, error)
NewOneInchSpotPriceAggregatorTransactor creates a new write-only instance of OneInchSpotPriceAggregator, bound to a specific deployed contract.
func (*OneInchSpotPriceAggregatorTransactor) AddConnector ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) AddConnector(opts *bind.TransactOpts, connector common.Address) (*types.Transaction, error)
AddConnector is a paid mutator transaction binding the contract method 0xaa16d4c0.
Solidity: function addConnector(address connector) returns()
func (*OneInchSpotPriceAggregatorTransactor) AddOracle ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) AddOracle(opts *bind.TransactOpts, oracle common.Address, oracleKind uint8) (*types.Transaction, error)
AddOracle is a paid mutator transaction binding the contract method 0x9d4d7b1c.
Solidity: function addOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchSpotPriceAggregatorTransactor) RemoveConnector ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) RemoveConnector(opts *bind.TransactOpts, connector common.Address) (*types.Transaction, error)
RemoveConnector is a paid mutator transaction binding the contract method 0x1a6c6a98.
Solidity: function removeConnector(address connector) returns()
func (*OneInchSpotPriceAggregatorTransactor) RemoveOracle ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) RemoveOracle(opts *bind.TransactOpts, oracle common.Address, oracleKind uint8) (*types.Transaction, error)
RemoveOracle is a paid mutator transaction binding the contract method 0xf0b92e40.
Solidity: function removeOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchSpotPriceAggregatorTransactor) RenounceOwnership ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OneInchSpotPriceAggregatorTransactor) SetMultiWrapper ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) SetMultiWrapper(opts *bind.TransactOpts, _multiWrapper common.Address) (*types.Transaction, error)
SetMultiWrapper is a paid mutator transaction binding the contract method 0xd0626518.
Solidity: function setMultiWrapper(address _multiWrapper) returns()
func (*OneInchSpotPriceAggregatorTransactor) TransferOwnership ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OneInchSpotPriceAggregatorTransactorRaw ¶
type OneInchSpotPriceAggregatorTransactorRaw struct {
Contract *OneInchSpotPriceAggregatorTransactor // Generic write-only contract binding to access the raw methods on
}
OneInchSpotPriceAggregatorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OneInchSpotPriceAggregatorTransactorRaw) Transact ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OneInchSpotPriceAggregatorTransactorRaw) Transfer ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorRaw) 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 OneInchSpotPriceAggregatorTransactorSession ¶
type OneInchSpotPriceAggregatorTransactorSession struct { Contract *OneInchSpotPriceAggregatorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OneInchSpotPriceAggregatorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OneInchSpotPriceAggregatorTransactorSession) AddConnector ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) AddConnector(connector common.Address) (*types.Transaction, error)
AddConnector is a paid mutator transaction binding the contract method 0xaa16d4c0.
Solidity: function addConnector(address connector) returns()
func (*OneInchSpotPriceAggregatorTransactorSession) AddOracle ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) AddOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
AddOracle is a paid mutator transaction binding the contract method 0x9d4d7b1c.
Solidity: function addOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchSpotPriceAggregatorTransactorSession) RemoveConnector ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) RemoveConnector(connector common.Address) (*types.Transaction, error)
RemoveConnector is a paid mutator transaction binding the contract method 0x1a6c6a98.
Solidity: function removeConnector(address connector) returns()
func (*OneInchSpotPriceAggregatorTransactorSession) RemoveOracle ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) RemoveOracle(oracle common.Address, oracleKind uint8) (*types.Transaction, error)
RemoveOracle is a paid mutator transaction binding the contract method 0xf0b92e40.
Solidity: function removeOracle(address oracle, uint8 oracleKind) returns()
func (*OneInchSpotPriceAggregatorTransactorSession) RenounceOwnership ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OneInchSpotPriceAggregatorTransactorSession) SetMultiWrapper ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) SetMultiWrapper(_multiWrapper common.Address) (*types.Transaction, error)
SetMultiWrapper is a paid mutator transaction binding the contract method 0xd0626518.
Solidity: function setMultiWrapper(address _multiWrapper) returns()
func (*OneInchSpotPriceAggregatorTransactorSession) TransferOwnership ¶
func (_OneInchSpotPriceAggregator *OneInchSpotPriceAggregatorTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()