avaxOracle

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AvaxOracleABI = AvaxOracleMetaData.ABI

AvaxOracleABI is the input ABI used to generate the binding from. Deprecated: Use AvaxOracleMetaData.ABI instead.

View Source
var AvaxOracleMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"accessController\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"aggregator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_aggregator\",\"type\":\"address\"}],\"name\":\"confirmAggregator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"description\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_roundId\",\"type\":\"uint256\"}],\"name\":\"getAnswer\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint80\",\"name\":\"_roundId\",\"type\":\"uint80\"}],\"name\":\"getRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"roundId\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"answeredInRound\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_roundId\",\"type\":\"uint256\"}],\"name\":\"getTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestAnswer\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"roundId\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"answeredInRound\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"phaseAggregators\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"phaseId\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_aggregator\",\"type\":\"address\"}],\"name\":\"proposeAggregator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proposedAggregator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint80\",\"name\":\"_roundId\",\"type\":\"uint80\"}],\"name\":\"proposedGetRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"roundId\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"answeredInRound\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proposedLatestRoundData\",\"outputs\":[{\"internalType\":\"uint80\",\"name\":\"roundId\",\"type\":\"uint80\"},{\"internalType\":\"int256\",\"name\":\"answer\",\"type\":\"int256\"},{\"internalType\":\"uint256\",\"name\":\"startedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"},{\"internalType\":\"uint80\",\"name\":\"answeredInRound\",\"type\":\"uint80\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_accessController\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

AvaxOracleMetaData contains all meta data concerning the AvaxOracle contract.

Functions

This section is empty.

Types

type AvaxOracle

type AvaxOracle struct {
	AvaxOracleCaller     // Read-only binding to the contract
	AvaxOracleTransactor // Write-only binding to the contract
	AvaxOracleFilterer   // Log filterer for contract events
}

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

func NewAvaxOracle

func NewAvaxOracle(address common.Address, backend bind.ContractBackend) (*AvaxOracle, error)

NewAvaxOracle creates a new instance of AvaxOracle, bound to a specific deployed contract.

type AvaxOracleCaller

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

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

func NewAvaxOracleCaller

func NewAvaxOracleCaller(address common.Address, caller bind.ContractCaller) (*AvaxOracleCaller, error)

NewAvaxOracleCaller creates a new read-only instance of AvaxOracle, bound to a specific deployed contract.

func (*AvaxOracleCaller) AccessController

func (_AvaxOracle *AvaxOracleCaller) AccessController(opts *bind.CallOpts) (common.Address, error)

AccessController is a free data retrieval call binding the contract method 0xbc43cbaf.

Solidity: function accessController() view returns(address)

func (*AvaxOracleCaller) Aggregator

func (_AvaxOracle *AvaxOracleCaller) Aggregator(opts *bind.CallOpts) (common.Address, error)

Aggregator is a free data retrieval call binding the contract method 0x245a7bfc.

Solidity: function aggregator() view returns(address)

func (*AvaxOracleCaller) Decimals

func (_AvaxOracle *AvaxOracleCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*AvaxOracleCaller) Description

func (_AvaxOracle *AvaxOracleCaller) Description(opts *bind.CallOpts) (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*AvaxOracleCaller) GetAnswer

func (_AvaxOracle *AvaxOracleCaller) GetAnswer(opts *bind.CallOpts, _roundId *big.Int) (*big.Int, error)

GetAnswer is a free data retrieval call binding the contract method 0xb5ab58dc.

Solidity: function getAnswer(uint256 _roundId) view returns(int256)

func (*AvaxOracleCaller) GetRoundData

func (_AvaxOracle *AvaxOracleCaller) GetRoundData(opts *bind.CallOpts, _roundId *big.Int) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

GetRoundData is a free data retrieval call binding the contract method 0x9a6fc8f5.

Solidity: function getRoundData(uint80 _roundId) view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleCaller) GetTimestamp

func (_AvaxOracle *AvaxOracleCaller) GetTimestamp(opts *bind.CallOpts, _roundId *big.Int) (*big.Int, error)

GetTimestamp is a free data retrieval call binding the contract method 0xb633620c.

Solidity: function getTimestamp(uint256 _roundId) view returns(uint256)

func (*AvaxOracleCaller) LatestAnswer

func (_AvaxOracle *AvaxOracleCaller) LatestAnswer(opts *bind.CallOpts) (*big.Int, error)

LatestAnswer is a free data retrieval call binding the contract method 0x50d25bcd.

Solidity: function latestAnswer() view returns(int256)

func (*AvaxOracleCaller) LatestRound

func (_AvaxOracle *AvaxOracleCaller) LatestRound(opts *bind.CallOpts) (*big.Int, error)

LatestRound is a free data retrieval call binding the contract method 0x668a0f02.

Solidity: function latestRound() view returns(uint256)

func (*AvaxOracleCaller) LatestRoundData

func (_AvaxOracle *AvaxOracleCaller) LatestRoundData(opts *bind.CallOpts) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

LatestRoundData is a free data retrieval call binding the contract method 0xfeaf968c.

Solidity: function latestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleCaller) LatestTimestamp

func (_AvaxOracle *AvaxOracleCaller) LatestTimestamp(opts *bind.CallOpts) (*big.Int, error)

LatestTimestamp is a free data retrieval call binding the contract method 0x8205bf6a.

Solidity: function latestTimestamp() view returns(uint256)

func (*AvaxOracleCaller) Owner

func (_AvaxOracle *AvaxOracleCaller) 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)

func (*AvaxOracleCaller) PhaseAggregators

func (_AvaxOracle *AvaxOracleCaller) PhaseAggregators(opts *bind.CallOpts, arg0 uint16) (common.Address, error)

PhaseAggregators is a free data retrieval call binding the contract method 0xc1597304.

Solidity: function phaseAggregators(uint16 ) view returns(address)

func (*AvaxOracleCaller) PhaseId

func (_AvaxOracle *AvaxOracleCaller) PhaseId(opts *bind.CallOpts) (uint16, error)

PhaseId is a free data retrieval call binding the contract method 0x58303b10.

Solidity: function phaseId() view returns(uint16)

func (*AvaxOracleCaller) ProposedAggregator

func (_AvaxOracle *AvaxOracleCaller) ProposedAggregator(opts *bind.CallOpts) (common.Address, error)

ProposedAggregator is a free data retrieval call binding the contract method 0xe8c4be30.

Solidity: function proposedAggregator() view returns(address)

func (*AvaxOracleCaller) ProposedGetRoundData

func (_AvaxOracle *AvaxOracleCaller) ProposedGetRoundData(opts *bind.CallOpts, _roundId *big.Int) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

ProposedGetRoundData is a free data retrieval call binding the contract method 0x6001ac53.

Solidity: function proposedGetRoundData(uint80 _roundId) view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleCaller) ProposedLatestRoundData

func (_AvaxOracle *AvaxOracleCaller) ProposedLatestRoundData(opts *bind.CallOpts) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

ProposedLatestRoundData is a free data retrieval call binding the contract method 0x8f6b4d91.

Solidity: function proposedLatestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleCaller) Version

func (_AvaxOracle *AvaxOracleCaller) Version(opts *bind.CallOpts) (*big.Int, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint256)

type AvaxOracleCallerRaw

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

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

func (*AvaxOracleCallerRaw) Call

func (_AvaxOracle *AvaxOracleCallerRaw) 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 AvaxOracleCallerSession

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

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

func (*AvaxOracleCallerSession) AccessController

func (_AvaxOracle *AvaxOracleCallerSession) AccessController() (common.Address, error)

AccessController is a free data retrieval call binding the contract method 0xbc43cbaf.

Solidity: function accessController() view returns(address)

func (*AvaxOracleCallerSession) Aggregator

func (_AvaxOracle *AvaxOracleCallerSession) Aggregator() (common.Address, error)

Aggregator is a free data retrieval call binding the contract method 0x245a7bfc.

Solidity: function aggregator() view returns(address)

func (*AvaxOracleCallerSession) Decimals

func (_AvaxOracle *AvaxOracleCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*AvaxOracleCallerSession) Description

func (_AvaxOracle *AvaxOracleCallerSession) Description() (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*AvaxOracleCallerSession) GetAnswer

func (_AvaxOracle *AvaxOracleCallerSession) GetAnswer(_roundId *big.Int) (*big.Int, error)

GetAnswer is a free data retrieval call binding the contract method 0xb5ab58dc.

Solidity: function getAnswer(uint256 _roundId) view returns(int256)

func (*AvaxOracleCallerSession) GetRoundData

func (_AvaxOracle *AvaxOracleCallerSession) GetRoundData(_roundId *big.Int) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

GetRoundData is a free data retrieval call binding the contract method 0x9a6fc8f5.

Solidity: function getRoundData(uint80 _roundId) view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleCallerSession) GetTimestamp

func (_AvaxOracle *AvaxOracleCallerSession) GetTimestamp(_roundId *big.Int) (*big.Int, error)

GetTimestamp is a free data retrieval call binding the contract method 0xb633620c.

Solidity: function getTimestamp(uint256 _roundId) view returns(uint256)

func (*AvaxOracleCallerSession) LatestAnswer

func (_AvaxOracle *AvaxOracleCallerSession) LatestAnswer() (*big.Int, error)

LatestAnswer is a free data retrieval call binding the contract method 0x50d25bcd.

Solidity: function latestAnswer() view returns(int256)

func (*AvaxOracleCallerSession) LatestRound

func (_AvaxOracle *AvaxOracleCallerSession) LatestRound() (*big.Int, error)

LatestRound is a free data retrieval call binding the contract method 0x668a0f02.

Solidity: function latestRound() view returns(uint256)

func (*AvaxOracleCallerSession) LatestRoundData

func (_AvaxOracle *AvaxOracleCallerSession) LatestRoundData() (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

LatestRoundData is a free data retrieval call binding the contract method 0xfeaf968c.

Solidity: function latestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleCallerSession) LatestTimestamp

func (_AvaxOracle *AvaxOracleCallerSession) LatestTimestamp() (*big.Int, error)

LatestTimestamp is a free data retrieval call binding the contract method 0x8205bf6a.

Solidity: function latestTimestamp() view returns(uint256)

func (*AvaxOracleCallerSession) Owner

func (_AvaxOracle *AvaxOracleCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AvaxOracleCallerSession) PhaseAggregators

func (_AvaxOracle *AvaxOracleCallerSession) PhaseAggregators(arg0 uint16) (common.Address, error)

PhaseAggregators is a free data retrieval call binding the contract method 0xc1597304.

Solidity: function phaseAggregators(uint16 ) view returns(address)

func (*AvaxOracleCallerSession) PhaseId

func (_AvaxOracle *AvaxOracleCallerSession) PhaseId() (uint16, error)

PhaseId is a free data retrieval call binding the contract method 0x58303b10.

Solidity: function phaseId() view returns(uint16)

func (*AvaxOracleCallerSession) ProposedAggregator

func (_AvaxOracle *AvaxOracleCallerSession) ProposedAggregator() (common.Address, error)

ProposedAggregator is a free data retrieval call binding the contract method 0xe8c4be30.

Solidity: function proposedAggregator() view returns(address)

func (*AvaxOracleCallerSession) ProposedGetRoundData

func (_AvaxOracle *AvaxOracleCallerSession) ProposedGetRoundData(_roundId *big.Int) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

ProposedGetRoundData is a free data retrieval call binding the contract method 0x6001ac53.

Solidity: function proposedGetRoundData(uint80 _roundId) view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleCallerSession) ProposedLatestRoundData

func (_AvaxOracle *AvaxOracleCallerSession) ProposedLatestRoundData() (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

ProposedLatestRoundData is a free data retrieval call binding the contract method 0x8f6b4d91.

Solidity: function proposedLatestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleCallerSession) Version

func (_AvaxOracle *AvaxOracleCallerSession) Version() (*big.Int, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint256)

type AvaxOracleFilterer

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

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

func NewAvaxOracleFilterer

func NewAvaxOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*AvaxOracleFilterer, error)

NewAvaxOracleFilterer creates a new log filterer instance of AvaxOracle, bound to a specific deployed contract.

type AvaxOracleRaw

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

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

func (*AvaxOracleRaw) Call

func (_AvaxOracle *AvaxOracleRaw) 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 (*AvaxOracleRaw) Transact

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

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

func (*AvaxOracleRaw) Transfer

func (_AvaxOracle *AvaxOracleRaw) 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 AvaxOracleSession

type AvaxOracleSession struct {
	Contract     *AvaxOracle       // 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
}

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

func (*AvaxOracleSession) AcceptOwnership

func (_AvaxOracle *AvaxOracleSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*AvaxOracleSession) AccessController

func (_AvaxOracle *AvaxOracleSession) AccessController() (common.Address, error)

AccessController is a free data retrieval call binding the contract method 0xbc43cbaf.

Solidity: function accessController() view returns(address)

func (*AvaxOracleSession) Aggregator

func (_AvaxOracle *AvaxOracleSession) Aggregator() (common.Address, error)

Aggregator is a free data retrieval call binding the contract method 0x245a7bfc.

Solidity: function aggregator() view returns(address)

func (*AvaxOracleSession) ConfirmAggregator

func (_AvaxOracle *AvaxOracleSession) ConfirmAggregator(_aggregator common.Address) (*types.Transaction, error)

ConfirmAggregator is a paid mutator transaction binding the contract method 0xa928c096.

Solidity: function confirmAggregator(address _aggregator) returns()

func (*AvaxOracleSession) Decimals

func (_AvaxOracle *AvaxOracleSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*AvaxOracleSession) Description

func (_AvaxOracle *AvaxOracleSession) Description() (string, error)

Description is a free data retrieval call binding the contract method 0x7284e416.

Solidity: function description() view returns(string)

func (*AvaxOracleSession) GetAnswer

func (_AvaxOracle *AvaxOracleSession) GetAnswer(_roundId *big.Int) (*big.Int, error)

GetAnswer is a free data retrieval call binding the contract method 0xb5ab58dc.

Solidity: function getAnswer(uint256 _roundId) view returns(int256)

func (*AvaxOracleSession) GetRoundData

func (_AvaxOracle *AvaxOracleSession) GetRoundData(_roundId *big.Int) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

GetRoundData is a free data retrieval call binding the contract method 0x9a6fc8f5.

Solidity: function getRoundData(uint80 _roundId) view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleSession) GetTimestamp

func (_AvaxOracle *AvaxOracleSession) GetTimestamp(_roundId *big.Int) (*big.Int, error)

GetTimestamp is a free data retrieval call binding the contract method 0xb633620c.

Solidity: function getTimestamp(uint256 _roundId) view returns(uint256)

func (*AvaxOracleSession) LatestAnswer

func (_AvaxOracle *AvaxOracleSession) LatestAnswer() (*big.Int, error)

LatestAnswer is a free data retrieval call binding the contract method 0x50d25bcd.

Solidity: function latestAnswer() view returns(int256)

func (*AvaxOracleSession) LatestRound

func (_AvaxOracle *AvaxOracleSession) LatestRound() (*big.Int, error)

LatestRound is a free data retrieval call binding the contract method 0x668a0f02.

Solidity: function latestRound() view returns(uint256)

func (*AvaxOracleSession) LatestRoundData

func (_AvaxOracle *AvaxOracleSession) LatestRoundData() (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

LatestRoundData is a free data retrieval call binding the contract method 0xfeaf968c.

Solidity: function latestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleSession) LatestTimestamp

func (_AvaxOracle *AvaxOracleSession) LatestTimestamp() (*big.Int, error)

LatestTimestamp is a free data retrieval call binding the contract method 0x8205bf6a.

Solidity: function latestTimestamp() view returns(uint256)

func (*AvaxOracleSession) Owner

func (_AvaxOracle *AvaxOracleSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AvaxOracleSession) PhaseAggregators

func (_AvaxOracle *AvaxOracleSession) PhaseAggregators(arg0 uint16) (common.Address, error)

PhaseAggregators is a free data retrieval call binding the contract method 0xc1597304.

Solidity: function phaseAggregators(uint16 ) view returns(address)

func (*AvaxOracleSession) PhaseId

func (_AvaxOracle *AvaxOracleSession) PhaseId() (uint16, error)

PhaseId is a free data retrieval call binding the contract method 0x58303b10.

Solidity: function phaseId() view returns(uint16)

func (*AvaxOracleSession) ProposeAggregator

func (_AvaxOracle *AvaxOracleSession) ProposeAggregator(_aggregator common.Address) (*types.Transaction, error)

ProposeAggregator is a paid mutator transaction binding the contract method 0xf8a2abd3.

Solidity: function proposeAggregator(address _aggregator) returns()

func (*AvaxOracleSession) ProposedAggregator

func (_AvaxOracle *AvaxOracleSession) ProposedAggregator() (common.Address, error)

ProposedAggregator is a free data retrieval call binding the contract method 0xe8c4be30.

Solidity: function proposedAggregator() view returns(address)

func (*AvaxOracleSession) ProposedGetRoundData

func (_AvaxOracle *AvaxOracleSession) ProposedGetRoundData(_roundId *big.Int) (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

ProposedGetRoundData is a free data retrieval call binding the contract method 0x6001ac53.

Solidity: function proposedGetRoundData(uint80 _roundId) view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleSession) ProposedLatestRoundData

func (_AvaxOracle *AvaxOracleSession) ProposedLatestRoundData() (struct {
	RoundId         *big.Int
	Answer          *big.Int
	StartedAt       *big.Int
	UpdatedAt       *big.Int
	AnsweredInRound *big.Int
}, error)

ProposedLatestRoundData is a free data retrieval call binding the contract method 0x8f6b4d91.

Solidity: function proposedLatestRoundData() view returns(uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

func (*AvaxOracleSession) SetController

func (_AvaxOracle *AvaxOracleSession) SetController(_accessController common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _accessController) returns()

func (*AvaxOracleSession) TransferOwnership

func (_AvaxOracle *AvaxOracleSession) TransferOwnership(_to common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address _to) returns()

func (*AvaxOracleSession) Version

func (_AvaxOracle *AvaxOracleSession) Version() (*big.Int, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(uint256)

type AvaxOracleTransactor

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

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

func NewAvaxOracleTransactor

func NewAvaxOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*AvaxOracleTransactor, error)

NewAvaxOracleTransactor creates a new write-only instance of AvaxOracle, bound to a specific deployed contract.

func (*AvaxOracleTransactor) AcceptOwnership

func (_AvaxOracle *AvaxOracleTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*AvaxOracleTransactor) ConfirmAggregator

func (_AvaxOracle *AvaxOracleTransactor) ConfirmAggregator(opts *bind.TransactOpts, _aggregator common.Address) (*types.Transaction, error)

ConfirmAggregator is a paid mutator transaction binding the contract method 0xa928c096.

Solidity: function confirmAggregator(address _aggregator) returns()

func (*AvaxOracleTransactor) ProposeAggregator

func (_AvaxOracle *AvaxOracleTransactor) ProposeAggregator(opts *bind.TransactOpts, _aggregator common.Address) (*types.Transaction, error)

ProposeAggregator is a paid mutator transaction binding the contract method 0xf8a2abd3.

Solidity: function proposeAggregator(address _aggregator) returns()

func (*AvaxOracleTransactor) SetController

func (_AvaxOracle *AvaxOracleTransactor) SetController(opts *bind.TransactOpts, _accessController common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _accessController) returns()

func (*AvaxOracleTransactor) TransferOwnership

func (_AvaxOracle *AvaxOracleTransactor) TransferOwnership(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address _to) returns()

type AvaxOracleTransactorRaw

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

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

func (*AvaxOracleTransactorRaw) Transact

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

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

func (*AvaxOracleTransactorRaw) Transfer

func (_AvaxOracle *AvaxOracleTransactorRaw) 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 AvaxOracleTransactorSession

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

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

func (*AvaxOracleTransactorSession) AcceptOwnership

func (_AvaxOracle *AvaxOracleTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*AvaxOracleTransactorSession) ConfirmAggregator

func (_AvaxOracle *AvaxOracleTransactorSession) ConfirmAggregator(_aggregator common.Address) (*types.Transaction, error)

ConfirmAggregator is a paid mutator transaction binding the contract method 0xa928c096.

Solidity: function confirmAggregator(address _aggregator) returns()

func (*AvaxOracleTransactorSession) ProposeAggregator

func (_AvaxOracle *AvaxOracleTransactorSession) ProposeAggregator(_aggregator common.Address) (*types.Transaction, error)

ProposeAggregator is a paid mutator transaction binding the contract method 0xf8a2abd3.

Solidity: function proposeAggregator(address _aggregator) returns()

func (*AvaxOracleTransactorSession) SetController

func (_AvaxOracle *AvaxOracleTransactorSession) SetController(_accessController common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _accessController) returns()

func (*AvaxOracleTransactorSession) TransferOwnership

func (_AvaxOracle *AvaxOracleTransactorSession) TransferOwnership(_to common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address _to) returns()

Jump to

Keyboard shortcuts

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