oneinchoracle

package
v1.58.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OneinchOracleABI = OneinchOracleMetaData.ABI

OneinchOracleABI is the input ABI used to generate the binding from. Deprecated: Use OneinchOracleMetaData.ABI instead.

View Source
var OneinchOracleMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractMultiWrapper\",\"name\":\"_multiWrapper\",\"type\":\"address\"},{\"internalType\":\"contractIOracle[]\",\"name\":\"existingOracles\",\"type\":\"address[]\"},{\"internalType\":\"enumOffchainOracle.OracleType[]\",\"name\":\"oracleTypes\",\"type\":\"uint8[]\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"existingConnectors\",\"type\":\"address[]\"},{\"internalType\":\"contractIERC20\",\"name\":\"wBase\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ArraysLengthMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ConnectorAlreadyAdded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidOracleTokenKind\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OracleAlreadyAdded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SameTokens\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TooBigThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnknownConnector\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UnknownOracle\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIERC20\",\"name\":\"connector\",\"type\":\"address\"}],\"name\":\"ConnectorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIERC20\",\"name\":\"connector\",\"type\":\"address\"}],\"name\":\"ConnectorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractMultiWrapper\",\"name\":\"multiWrapper\",\"type\":\"address\"}],\"name\":\"MultiWrapperUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumOffchainOracle.OracleType\",\"name\":\"oracleType\",\"type\":\"uint8\"}],\"name\":\"OracleAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contractIOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumOffchainOracle.OracleType\",\"name\":\"oracleType\",\"type\":\"uint8\"}],\"name\":\"OracleRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"connector\",\"type\":\"address\"}],\"name\":\"addConnector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"enumOffchainOracle.OracleType\",\"name\":\"oracleKind\",\"type\":\"uint8\"}],\"name\":\"addOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"connectors\",\"outputs\":[{\"internalType\":\"contractIERC20[]\",\"name\":\"allConnectors\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"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\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useSrcWrappers\",\"type\":\"bool\"}],\"name\":\"getRateToEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weightedRate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useSrcWrappers\",\"type\":\"bool\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"customConnectors\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"thresholdFilter\",\"type\":\"uint256\"}],\"name\":\"getRateToEthWithCustomConnectors\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weightedRate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useSrcWrappers\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"thresholdFilter\",\"type\":\"uint256\"}],\"name\":\"getRateToEthWithThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weightedRate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useWrappers\",\"type\":\"bool\"},{\"internalType\":\"contractIERC20[]\",\"name\":\"customConnectors\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"thresholdFilter\",\"type\":\"uint256\"}],\"name\":\"getRateWithCustomConnectors\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weightedRate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"srcToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"dstToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"useWrappers\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"thresholdFilter\",\"type\":\"uint256\"}],\"name\":\"getRateWithThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weightedRate\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"multiWrapper\",\"outputs\":[{\"internalType\":\"contractMultiWrapper\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracles\",\"outputs\":[{\"internalType\":\"contractIOracle[]\",\"name\":\"allOracles\",\"type\":\"address[]\"},{\"internalType\":\"enumOffchainOracle.OracleType[]\",\"name\":\"oracleTypes\",\"type\":\"uint8[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"connector\",\"type\":\"address\"}],\"name\":\"removeConnector\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIOracle\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"enumOffchainOracle.OracleType\",\"name\":\"oracleKind\",\"type\":\"uint8\"}],\"name\":\"removeOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractMultiWrapper\",\"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\"}]",
}

OneinchOracleMetaData contains all meta data concerning the OneinchOracle contract.

View Source
var OracleAddressesByChainID = map[string]common.Address{
	"1":   common.HexToAddress("0x3E1Fe1Bd5a5560972bFa2D393b9aC18aF279fF56"),
	"100": common.HexToAddress("0x3Ce81621e674Db129033548CbB9FF31AEDCc1BF6"),
}

Functions

func SupportedChainId

func SupportedChainId(chainIDif interface{}) bool

Types

type OneinchOracle

type OneinchOracle struct {
	OneinchOracleCaller     // Read-only binding to the contract
	OneinchOracleTransactor // Write-only binding to the contract
	OneinchOracleFilterer   // Log filterer for contract events
}

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

func NewOneInchOracleByChainID

func NewOneInchOracleByChainID(chainIDif interface{}, backend bind.ContractBackend) (*OneinchOracle, error)

func NewOneinchOracle

func NewOneinchOracle(address common.Address, backend bind.ContractBackend) (*OneinchOracle, error)

NewOneinchOracle creates a new instance of OneinchOracle, bound to a specific deployed contract.

type OneinchOracleCaller

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

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

func NewOneinchOracleCaller

func NewOneinchOracleCaller(address common.Address, caller bind.ContractCaller) (*OneinchOracleCaller, error)

NewOneinchOracleCaller creates a new read-only instance of OneinchOracle, bound to a specific deployed contract.

func (*OneinchOracleCaller) Connectors

func (_OneinchOracle *OneinchOracleCaller) 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 (*OneinchOracleCaller) GetRate

func (_OneinchOracle *OneinchOracleCaller) 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 (*OneinchOracleCaller) GetRateToEth

func (_OneinchOracle *OneinchOracleCaller) 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 (*OneinchOracleCaller) GetRateToEthWithCustomConnectors

func (_OneinchOracle *OneinchOracleCaller) GetRateToEthWithCustomConnectors(opts *bind.CallOpts, srcToken common.Address, useSrcWrappers bool, customConnectors []common.Address, thresholdFilter *big.Int) (*big.Int, error)

GetRateToEthWithCustomConnectors is a free data retrieval call binding the contract method 0xade8b048.

Solidity: function getRateToEthWithCustomConnectors(address srcToken, bool useSrcWrappers, address[] customConnectors, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleCaller) GetRateToEthWithThreshold

func (_OneinchOracle *OneinchOracleCaller) GetRateToEthWithThreshold(opts *bind.CallOpts, srcToken common.Address, useSrcWrappers bool, thresholdFilter *big.Int) (*big.Int, error)

GetRateToEthWithThreshold is a free data retrieval call binding the contract method 0x78159aae.

Solidity: function getRateToEthWithThreshold(address srcToken, bool useSrcWrappers, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleCaller) GetRateWithCustomConnectors

func (_OneinchOracle *OneinchOracleCaller) GetRateWithCustomConnectors(opts *bind.CallOpts, srcToken common.Address, dstToken common.Address, useWrappers bool, customConnectors []common.Address, thresholdFilter *big.Int) (*big.Int, error)

GetRateWithCustomConnectors is a free data retrieval call binding the contract method 0x6f9293b9.

Solidity: function getRateWithCustomConnectors(address srcToken, address dstToken, bool useWrappers, address[] customConnectors, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleCaller) GetRateWithThreshold

func (_OneinchOracle *OneinchOracleCaller) GetRateWithThreshold(opts *bind.CallOpts, srcToken common.Address, dstToken common.Address, useWrappers bool, thresholdFilter *big.Int) (*big.Int, error)

GetRateWithThreshold is a free data retrieval call binding the contract method 0x6744d6c7.

Solidity: function getRateWithThreshold(address srcToken, address dstToken, bool useWrappers, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleCaller) MultiWrapper

func (_OneinchOracle *OneinchOracleCaller) 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 (*OneinchOracleCaller) Oracles

func (_OneinchOracle *OneinchOracleCaller) 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)

func (*OneinchOracleCaller) Owner

func (_OneinchOracle *OneinchOracleCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type OneinchOracleCallerRaw

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

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

func (*OneinchOracleCallerRaw) Call

func (_OneinchOracle *OneinchOracleCallerRaw) 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 OneinchOracleCallerSession

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

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

func (*OneinchOracleCallerSession) Connectors

func (_OneinchOracle *OneinchOracleCallerSession) Connectors() ([]common.Address, error)

Connectors is a free data retrieval call binding the contract method 0x65050a68.

Solidity: function connectors() view returns(address[] allConnectors)

func (*OneinchOracleCallerSession) GetRate

func (_OneinchOracle *OneinchOracleCallerSession) 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 (*OneinchOracleCallerSession) GetRateToEth

func (_OneinchOracle *OneinchOracleCallerSession) 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 (*OneinchOracleCallerSession) GetRateToEthWithCustomConnectors

func (_OneinchOracle *OneinchOracleCallerSession) GetRateToEthWithCustomConnectors(srcToken common.Address, useSrcWrappers bool, customConnectors []common.Address, thresholdFilter *big.Int) (*big.Int, error)

GetRateToEthWithCustomConnectors is a free data retrieval call binding the contract method 0xade8b048.

Solidity: function getRateToEthWithCustomConnectors(address srcToken, bool useSrcWrappers, address[] customConnectors, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleCallerSession) GetRateToEthWithThreshold

func (_OneinchOracle *OneinchOracleCallerSession) GetRateToEthWithThreshold(srcToken common.Address, useSrcWrappers bool, thresholdFilter *big.Int) (*big.Int, error)

GetRateToEthWithThreshold is a free data retrieval call binding the contract method 0x78159aae.

Solidity: function getRateToEthWithThreshold(address srcToken, bool useSrcWrappers, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleCallerSession) GetRateWithCustomConnectors

func (_OneinchOracle *OneinchOracleCallerSession) GetRateWithCustomConnectors(srcToken common.Address, dstToken common.Address, useWrappers bool, customConnectors []common.Address, thresholdFilter *big.Int) (*big.Int, error)

GetRateWithCustomConnectors is a free data retrieval call binding the contract method 0x6f9293b9.

Solidity: function getRateWithCustomConnectors(address srcToken, address dstToken, bool useWrappers, address[] customConnectors, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleCallerSession) GetRateWithThreshold

func (_OneinchOracle *OneinchOracleCallerSession) GetRateWithThreshold(srcToken common.Address, dstToken common.Address, useWrappers bool, thresholdFilter *big.Int) (*big.Int, error)

GetRateWithThreshold is a free data retrieval call binding the contract method 0x6744d6c7.

Solidity: function getRateWithThreshold(address srcToken, address dstToken, bool useWrappers, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleCallerSession) MultiWrapper

func (_OneinchOracle *OneinchOracleCallerSession) MultiWrapper() (common.Address, error)

MultiWrapper is a free data retrieval call binding the contract method 0xb77910dc.

Solidity: function multiWrapper() view returns(address)

func (*OneinchOracleCallerSession) Oracles

func (_OneinchOracle *OneinchOracleCallerSession) 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 (*OneinchOracleCallerSession) Owner

func (_OneinchOracle *OneinchOracleCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type OneinchOracleConnectorAdded

type OneinchOracleConnectorAdded struct {
	Connector common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

OneinchOracleConnectorAdded represents a ConnectorAdded event raised by the OneinchOracle contract.

type OneinchOracleConnectorAddedIterator

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

OneinchOracleConnectorAddedIterator is returned from FilterConnectorAdded and is used to iterate over the raw logs and unpacked data for ConnectorAdded events raised by the OneinchOracle contract.

func (*OneinchOracleConnectorAddedIterator) Close

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

func (*OneinchOracleConnectorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneinchOracleConnectorAddedIterator) 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 OneinchOracleConnectorRemoved

type OneinchOracleConnectorRemoved struct {
	Connector common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

OneinchOracleConnectorRemoved represents a ConnectorRemoved event raised by the OneinchOracle contract.

type OneinchOracleConnectorRemovedIterator

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

OneinchOracleConnectorRemovedIterator is returned from FilterConnectorRemoved and is used to iterate over the raw logs and unpacked data for ConnectorRemoved events raised by the OneinchOracle contract.

func (*OneinchOracleConnectorRemovedIterator) Close

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

func (*OneinchOracleConnectorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneinchOracleConnectorRemovedIterator) 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 OneinchOracleFilterer

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

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

func NewOneinchOracleFilterer

func NewOneinchOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*OneinchOracleFilterer, error)

NewOneinchOracleFilterer creates a new log filterer instance of OneinchOracle, bound to a specific deployed contract.

func (*OneinchOracleFilterer) FilterConnectorAdded

func (_OneinchOracle *OneinchOracleFilterer) FilterConnectorAdded(opts *bind.FilterOpts) (*OneinchOracleConnectorAddedIterator, error)

FilterConnectorAdded is a free log retrieval operation binding the contract event 0xff88af5d962d47fd25d87755e8267a029fad5a91740c67d0dade2bdbe5268a1d.

Solidity: event ConnectorAdded(address connector)

func (*OneinchOracleFilterer) FilterConnectorRemoved

func (_OneinchOracle *OneinchOracleFilterer) FilterConnectorRemoved(opts *bind.FilterOpts) (*OneinchOracleConnectorRemovedIterator, error)

FilterConnectorRemoved is a free log retrieval operation binding the contract event 0x6825b26a0827e9c2ceca01d6289ce4a40e629dc074ec48ea4727d1afbff359f5.

Solidity: event ConnectorRemoved(address connector)

func (*OneinchOracleFilterer) FilterMultiWrapperUpdated

func (_OneinchOracle *OneinchOracleFilterer) FilterMultiWrapperUpdated(opts *bind.FilterOpts) (*OneinchOracleMultiWrapperUpdatedIterator, error)

FilterMultiWrapperUpdated is a free log retrieval operation binding the contract event 0x1030152fe2062b574a830e6b9f13c65995990df31e4dc708d142533bb3ad0f52.

Solidity: event MultiWrapperUpdated(address multiWrapper)

func (*OneinchOracleFilterer) FilterOracleAdded

func (_OneinchOracle *OneinchOracleFilterer) FilterOracleAdded(opts *bind.FilterOpts) (*OneinchOracleOracleAddedIterator, error)

FilterOracleAdded is a free log retrieval operation binding the contract event 0x5874b2072ff37562df54063dd700c59d45f311bdf6f9cabb5a15f0ffb2e9f622.

Solidity: event OracleAdded(address oracle, uint8 oracleType)

func (*OneinchOracleFilterer) FilterOracleRemoved

func (_OneinchOracle *OneinchOracleFilterer) FilterOracleRemoved(opts *bind.FilterOpts) (*OneinchOracleOracleRemovedIterator, error)

FilterOracleRemoved is a free log retrieval operation binding the contract event 0x7a7f56716fe703fb190529c336e57df71ab88188ba47e8d786bac684b61ab9a6.

Solidity: event OracleRemoved(address oracle, uint8 oracleType)

func (*OneinchOracleFilterer) FilterOwnershipTransferred

func (_OneinchOracle *OneinchOracleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OneinchOracleOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OneinchOracleFilterer) ParseConnectorAdded

func (_OneinchOracle *OneinchOracleFilterer) ParseConnectorAdded(log types.Log) (*OneinchOracleConnectorAdded, error)

ParseConnectorAdded is a log parse operation binding the contract event 0xff88af5d962d47fd25d87755e8267a029fad5a91740c67d0dade2bdbe5268a1d.

Solidity: event ConnectorAdded(address connector)

func (*OneinchOracleFilterer) ParseConnectorRemoved

func (_OneinchOracle *OneinchOracleFilterer) ParseConnectorRemoved(log types.Log) (*OneinchOracleConnectorRemoved, error)

ParseConnectorRemoved is a log parse operation binding the contract event 0x6825b26a0827e9c2ceca01d6289ce4a40e629dc074ec48ea4727d1afbff359f5.

Solidity: event ConnectorRemoved(address connector)

func (*OneinchOracleFilterer) ParseMultiWrapperUpdated

func (_OneinchOracle *OneinchOracleFilterer) ParseMultiWrapperUpdated(log types.Log) (*OneinchOracleMultiWrapperUpdated, error)

ParseMultiWrapperUpdated is a log parse operation binding the contract event 0x1030152fe2062b574a830e6b9f13c65995990df31e4dc708d142533bb3ad0f52.

Solidity: event MultiWrapperUpdated(address multiWrapper)

func (*OneinchOracleFilterer) ParseOracleAdded

func (_OneinchOracle *OneinchOracleFilterer) ParseOracleAdded(log types.Log) (*OneinchOracleOracleAdded, error)

ParseOracleAdded is a log parse operation binding the contract event 0x5874b2072ff37562df54063dd700c59d45f311bdf6f9cabb5a15f0ffb2e9f622.

Solidity: event OracleAdded(address oracle, uint8 oracleType)

func (*OneinchOracleFilterer) ParseOracleRemoved

func (_OneinchOracle *OneinchOracleFilterer) ParseOracleRemoved(log types.Log) (*OneinchOracleOracleRemoved, error)

ParseOracleRemoved is a log parse operation binding the contract event 0x7a7f56716fe703fb190529c336e57df71ab88188ba47e8d786bac684b61ab9a6.

Solidity: event OracleRemoved(address oracle, uint8 oracleType)

func (*OneinchOracleFilterer) ParseOwnershipTransferred

func (_OneinchOracle *OneinchOracleFilterer) ParseOwnershipTransferred(log types.Log) (*OneinchOracleOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OneinchOracleFilterer) WatchConnectorAdded

func (_OneinchOracle *OneinchOracleFilterer) WatchConnectorAdded(opts *bind.WatchOpts, sink chan<- *OneinchOracleConnectorAdded) (event.Subscription, error)

WatchConnectorAdded is a free log subscription operation binding the contract event 0xff88af5d962d47fd25d87755e8267a029fad5a91740c67d0dade2bdbe5268a1d.

Solidity: event ConnectorAdded(address connector)

func (*OneinchOracleFilterer) WatchConnectorRemoved

func (_OneinchOracle *OneinchOracleFilterer) WatchConnectorRemoved(opts *bind.WatchOpts, sink chan<- *OneinchOracleConnectorRemoved) (event.Subscription, error)

WatchConnectorRemoved is a free log subscription operation binding the contract event 0x6825b26a0827e9c2ceca01d6289ce4a40e629dc074ec48ea4727d1afbff359f5.

Solidity: event ConnectorRemoved(address connector)

func (*OneinchOracleFilterer) WatchMultiWrapperUpdated

func (_OneinchOracle *OneinchOracleFilterer) WatchMultiWrapperUpdated(opts *bind.WatchOpts, sink chan<- *OneinchOracleMultiWrapperUpdated) (event.Subscription, error)

WatchMultiWrapperUpdated is a free log subscription operation binding the contract event 0x1030152fe2062b574a830e6b9f13c65995990df31e4dc708d142533bb3ad0f52.

Solidity: event MultiWrapperUpdated(address multiWrapper)

func (*OneinchOracleFilterer) WatchOracleAdded

func (_OneinchOracle *OneinchOracleFilterer) WatchOracleAdded(opts *bind.WatchOpts, sink chan<- *OneinchOracleOracleAdded) (event.Subscription, error)

WatchOracleAdded is a free log subscription operation binding the contract event 0x5874b2072ff37562df54063dd700c59d45f311bdf6f9cabb5a15f0ffb2e9f622.

Solidity: event OracleAdded(address oracle, uint8 oracleType)

func (*OneinchOracleFilterer) WatchOracleRemoved

func (_OneinchOracle *OneinchOracleFilterer) WatchOracleRemoved(opts *bind.WatchOpts, sink chan<- *OneinchOracleOracleRemoved) (event.Subscription, error)

WatchOracleRemoved is a free log subscription operation binding the contract event 0x7a7f56716fe703fb190529c336e57df71ab88188ba47e8d786bac684b61ab9a6.

Solidity: event OracleRemoved(address oracle, uint8 oracleType)

func (*OneinchOracleFilterer) WatchOwnershipTransferred

func (_OneinchOracle *OneinchOracleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OneinchOracleOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type OneinchOracleMultiWrapperUpdated

type OneinchOracleMultiWrapperUpdated struct {
	MultiWrapper common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

OneinchOracleMultiWrapperUpdated represents a MultiWrapperUpdated event raised by the OneinchOracle contract.

type OneinchOracleMultiWrapperUpdatedIterator

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

OneinchOracleMultiWrapperUpdatedIterator is returned from FilterMultiWrapperUpdated and is used to iterate over the raw logs and unpacked data for MultiWrapperUpdated events raised by the OneinchOracle contract.

func (*OneinchOracleMultiWrapperUpdatedIterator) Close

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

func (*OneinchOracleMultiWrapperUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneinchOracleMultiWrapperUpdatedIterator) 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 OneinchOracleOracleAdded

type OneinchOracleOracleAdded struct {
	Oracle     common.Address
	OracleType uint8
	Raw        types.Log // Blockchain specific contextual infos
}

OneinchOracleOracleAdded represents a OracleAdded event raised by the OneinchOracle contract.

type OneinchOracleOracleAddedIterator

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

OneinchOracleOracleAddedIterator is returned from FilterOracleAdded and is used to iterate over the raw logs and unpacked data for OracleAdded events raised by the OneinchOracle contract.

func (*OneinchOracleOracleAddedIterator) Close

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

func (*OneinchOracleOracleAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneinchOracleOracleAddedIterator) 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 OneinchOracleOracleRemoved

type OneinchOracleOracleRemoved struct {
	Oracle     common.Address
	OracleType uint8
	Raw        types.Log // Blockchain specific contextual infos
}

OneinchOracleOracleRemoved represents a OracleRemoved event raised by the OneinchOracle contract.

type OneinchOracleOracleRemovedIterator

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

OneinchOracleOracleRemovedIterator is returned from FilterOracleRemoved and is used to iterate over the raw logs and unpacked data for OracleRemoved events raised by the OneinchOracle contract.

func (*OneinchOracleOracleRemovedIterator) Close

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

func (*OneinchOracleOracleRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneinchOracleOracleRemovedIterator) 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 OneinchOracleOwnershipTransferred

type OneinchOracleOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

OneinchOracleOwnershipTransferred represents a OwnershipTransferred event raised by the OneinchOracle contract.

type OneinchOracleOwnershipTransferredIterator

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

OneinchOracleOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the OneinchOracle contract.

func (*OneinchOracleOwnershipTransferredIterator) Close

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

func (*OneinchOracleOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OneinchOracleOwnershipTransferredIterator) 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 OneinchOracleRaw

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

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

func (*OneinchOracleRaw) Call

func (_OneinchOracle *OneinchOracleRaw) 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 (*OneinchOracleRaw) Transact

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

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

func (*OneinchOracleRaw) Transfer

func (_OneinchOracle *OneinchOracleRaw) 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 OneinchOracleSession

type OneinchOracleSession struct {
	Contract     *OneinchOracle    // 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
}

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

func (*OneinchOracleSession) AddConnector

func (_OneinchOracle *OneinchOracleSession) 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 (*OneinchOracleSession) AddOracle

func (_OneinchOracle *OneinchOracleSession) 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 (*OneinchOracleSession) Connectors

func (_OneinchOracle *OneinchOracleSession) Connectors() ([]common.Address, error)

Connectors is a free data retrieval call binding the contract method 0x65050a68.

Solidity: function connectors() view returns(address[] allConnectors)

func (*OneinchOracleSession) GetRate

func (_OneinchOracle *OneinchOracleSession) 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 (*OneinchOracleSession) GetRateToEth

func (_OneinchOracle *OneinchOracleSession) 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 (*OneinchOracleSession) GetRateToEthWithCustomConnectors

func (_OneinchOracle *OneinchOracleSession) GetRateToEthWithCustomConnectors(srcToken common.Address, useSrcWrappers bool, customConnectors []common.Address, thresholdFilter *big.Int) (*big.Int, error)

GetRateToEthWithCustomConnectors is a free data retrieval call binding the contract method 0xade8b048.

Solidity: function getRateToEthWithCustomConnectors(address srcToken, bool useSrcWrappers, address[] customConnectors, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleSession) GetRateToEthWithThreshold

func (_OneinchOracle *OneinchOracleSession) GetRateToEthWithThreshold(srcToken common.Address, useSrcWrappers bool, thresholdFilter *big.Int) (*big.Int, error)

GetRateToEthWithThreshold is a free data retrieval call binding the contract method 0x78159aae.

Solidity: function getRateToEthWithThreshold(address srcToken, bool useSrcWrappers, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleSession) GetRateWithCustomConnectors

func (_OneinchOracle *OneinchOracleSession) GetRateWithCustomConnectors(srcToken common.Address, dstToken common.Address, useWrappers bool, customConnectors []common.Address, thresholdFilter *big.Int) (*big.Int, error)

GetRateWithCustomConnectors is a free data retrieval call binding the contract method 0x6f9293b9.

Solidity: function getRateWithCustomConnectors(address srcToken, address dstToken, bool useWrappers, address[] customConnectors, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleSession) GetRateWithThreshold

func (_OneinchOracle *OneinchOracleSession) GetRateWithThreshold(srcToken common.Address, dstToken common.Address, useWrappers bool, thresholdFilter *big.Int) (*big.Int, error)

GetRateWithThreshold is a free data retrieval call binding the contract method 0x6744d6c7.

Solidity: function getRateWithThreshold(address srcToken, address dstToken, bool useWrappers, uint256 thresholdFilter) view returns(uint256 weightedRate)

func (*OneinchOracleSession) MultiWrapper

func (_OneinchOracle *OneinchOracleSession) MultiWrapper() (common.Address, error)

MultiWrapper is a free data retrieval call binding the contract method 0xb77910dc.

Solidity: function multiWrapper() view returns(address)

func (*OneinchOracleSession) Oracles

func (_OneinchOracle *OneinchOracleSession) 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 (*OneinchOracleSession) Owner

func (_OneinchOracle *OneinchOracleSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OneinchOracleSession) RemoveConnector

func (_OneinchOracle *OneinchOracleSession) 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 (*OneinchOracleSession) RemoveOracle

func (_OneinchOracle *OneinchOracleSession) 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 (*OneinchOracleSession) RenounceOwnership

func (_OneinchOracle *OneinchOracleSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OneinchOracleSession) SetMultiWrapper

func (_OneinchOracle *OneinchOracleSession) 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 (*OneinchOracleSession) TransferOwnership

func (_OneinchOracle *OneinchOracleSession) 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 OneinchOracleTransactor

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

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

func NewOneinchOracleTransactor

func NewOneinchOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*OneinchOracleTransactor, error)

NewOneinchOracleTransactor creates a new write-only instance of OneinchOracle, bound to a specific deployed contract.

func (*OneinchOracleTransactor) AddConnector

func (_OneinchOracle *OneinchOracleTransactor) 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 (*OneinchOracleTransactor) AddOracle

func (_OneinchOracle *OneinchOracleTransactor) 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 (*OneinchOracleTransactor) RemoveConnector

func (_OneinchOracle *OneinchOracleTransactor) 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 (*OneinchOracleTransactor) RemoveOracle

func (_OneinchOracle *OneinchOracleTransactor) 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 (*OneinchOracleTransactor) RenounceOwnership

func (_OneinchOracle *OneinchOracleTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OneinchOracleTransactor) SetMultiWrapper

func (_OneinchOracle *OneinchOracleTransactor) 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 (*OneinchOracleTransactor) TransferOwnership

func (_OneinchOracle *OneinchOracleTransactor) 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 OneinchOracleTransactorRaw

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

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

func (*OneinchOracleTransactorRaw) Transact

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

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

func (*OneinchOracleTransactorRaw) Transfer

func (_OneinchOracle *OneinchOracleTransactorRaw) 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 OneinchOracleTransactorSession

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

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

func (*OneinchOracleTransactorSession) AddConnector

func (_OneinchOracle *OneinchOracleTransactorSession) 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 (*OneinchOracleTransactorSession) AddOracle

func (_OneinchOracle *OneinchOracleTransactorSession) 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 (*OneinchOracleTransactorSession) RemoveConnector

func (_OneinchOracle *OneinchOracleTransactorSession) 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 (*OneinchOracleTransactorSession) RemoveOracle

func (_OneinchOracle *OneinchOracleTransactorSession) 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 (*OneinchOracleTransactorSession) RenounceOwnership

func (_OneinchOracle *OneinchOracleTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OneinchOracleTransactorSession) SetMultiWrapper

func (_OneinchOracle *OneinchOracleTransactorSession) 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 (*OneinchOracleTransactorSession) TransferOwnership

func (_OneinchOracle *OneinchOracleTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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