chainlinkOracle

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChainlinkOracleABI = ChainlinkOracleMetaData.ABI

ChainlinkOracleABI is the input ABI used to generate the binding from. Deprecated: Use ChainlinkOracleMetaData.ABI instead.

View Source
var ChainlinkOracleMetaData = &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\"}]",
}

ChainlinkOracleMetaData contains all meta data concerning the ChainlinkOracle contract.

Functions

This section is empty.

Types

type ChainlinkOracle

type ChainlinkOracle struct {
	ChainlinkOracleCaller     // Read-only binding to the contract
	ChainlinkOracleTransactor // Write-only binding to the contract
	ChainlinkOracleFilterer   // Log filterer for contract events
}

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

func NewChainlinkOracle

func NewChainlinkOracle(address common.Address, backend bind.ContractBackend) (*ChainlinkOracle, error)

NewChainlinkOracle creates a new instance of ChainlinkOracle, bound to a specific deployed contract.

type ChainlinkOracleCaller

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

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

func NewChainlinkOracleCaller

func NewChainlinkOracleCaller(address common.Address, caller bind.ContractCaller) (*ChainlinkOracleCaller, error)

NewChainlinkOracleCaller creates a new read-only instance of ChainlinkOracle, bound to a specific deployed contract.

func (*ChainlinkOracleCaller) AccessController

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) Aggregator

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) Decimals

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) Description

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) GetAnswer

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) GetRoundData

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) GetTimestamp

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) LatestAnswer

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) LatestRound

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) LatestRoundData

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) LatestTimestamp

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) Owner

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) PhaseAggregators

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) PhaseId

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) ProposedAggregator

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) ProposedGetRoundData

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) ProposedLatestRoundData

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 (*ChainlinkOracleCaller) Version

func (_ChainlinkOracle *ChainlinkOracleCaller) 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 ChainlinkOracleCallerRaw

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

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

func (*ChainlinkOracleCallerRaw) Call

func (_ChainlinkOracle *ChainlinkOracleCallerRaw) 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 ChainlinkOracleCallerSession

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

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

func (*ChainlinkOracleCallerSession) AccessController

func (_ChainlinkOracle *ChainlinkOracleCallerSession) AccessController() (common.Address, error)

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

Solidity: function accessController() view returns(address)

func (*ChainlinkOracleCallerSession) Aggregator

func (_ChainlinkOracle *ChainlinkOracleCallerSession) Aggregator() (common.Address, error)

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

Solidity: function aggregator() view returns(address)

func (*ChainlinkOracleCallerSession) Decimals

func (_ChainlinkOracle *ChainlinkOracleCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ChainlinkOracleCallerSession) Description

func (_ChainlinkOracle *ChainlinkOracleCallerSession) Description() (string, error)

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

Solidity: function description() view returns(string)

func (*ChainlinkOracleCallerSession) GetAnswer

func (_ChainlinkOracle *ChainlinkOracleCallerSession) 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 (*ChainlinkOracleCallerSession) GetRoundData

func (_ChainlinkOracle *ChainlinkOracleCallerSession) 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 (*ChainlinkOracleCallerSession) GetTimestamp

func (_ChainlinkOracle *ChainlinkOracleCallerSession) 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 (*ChainlinkOracleCallerSession) LatestAnswer

func (_ChainlinkOracle *ChainlinkOracleCallerSession) LatestAnswer() (*big.Int, error)

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

Solidity: function latestAnswer() view returns(int256)

func (*ChainlinkOracleCallerSession) LatestRound

func (_ChainlinkOracle *ChainlinkOracleCallerSession) LatestRound() (*big.Int, error)

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

Solidity: function latestRound() view returns(uint256)

func (*ChainlinkOracleCallerSession) LatestRoundData

func (_ChainlinkOracle *ChainlinkOracleCallerSession) 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 (*ChainlinkOracleCallerSession) LatestTimestamp

func (_ChainlinkOracle *ChainlinkOracleCallerSession) LatestTimestamp() (*big.Int, error)

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

Solidity: function latestTimestamp() view returns(uint256)

func (*ChainlinkOracleCallerSession) Owner

func (_ChainlinkOracle *ChainlinkOracleCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ChainlinkOracleCallerSession) PhaseAggregators

func (_ChainlinkOracle *ChainlinkOracleCallerSession) 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 (*ChainlinkOracleCallerSession) PhaseId

func (_ChainlinkOracle *ChainlinkOracleCallerSession) PhaseId() (uint16, error)

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

Solidity: function phaseId() view returns(uint16)

func (*ChainlinkOracleCallerSession) ProposedAggregator

func (_ChainlinkOracle *ChainlinkOracleCallerSession) ProposedAggregator() (common.Address, error)

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

Solidity: function proposedAggregator() view returns(address)

func (*ChainlinkOracleCallerSession) ProposedGetRoundData

func (_ChainlinkOracle *ChainlinkOracleCallerSession) 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 (*ChainlinkOracleCallerSession) ProposedLatestRoundData

func (_ChainlinkOracle *ChainlinkOracleCallerSession) 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 (*ChainlinkOracleCallerSession) Version

func (_ChainlinkOracle *ChainlinkOracleCallerSession) Version() (*big.Int, error)

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

Solidity: function version() view returns(uint256)

type ChainlinkOracleFilterer

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

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

func NewChainlinkOracleFilterer

func NewChainlinkOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*ChainlinkOracleFilterer, error)

NewChainlinkOracleFilterer creates a new log filterer instance of ChainlinkOracle, bound to a specific deployed contract.

type ChainlinkOracleRaw

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

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

func (*ChainlinkOracleRaw) Call

func (_ChainlinkOracle *ChainlinkOracleRaw) 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 (*ChainlinkOracleRaw) Transact

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

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

func (*ChainlinkOracleRaw) Transfer

func (_ChainlinkOracle *ChainlinkOracleRaw) 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 ChainlinkOracleSession

type ChainlinkOracleSession struct {
	Contract     *ChainlinkOracle  // 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
}

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

func (*ChainlinkOracleSession) AcceptOwnership

func (_ChainlinkOracle *ChainlinkOracleSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*ChainlinkOracleSession) AccessController

func (_ChainlinkOracle *ChainlinkOracleSession) AccessController() (common.Address, error)

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

Solidity: function accessController() view returns(address)

func (*ChainlinkOracleSession) Aggregator

func (_ChainlinkOracle *ChainlinkOracleSession) Aggregator() (common.Address, error)

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

Solidity: function aggregator() view returns(address)

func (*ChainlinkOracleSession) ConfirmAggregator

func (_ChainlinkOracle *ChainlinkOracleSession) 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 (*ChainlinkOracleSession) Decimals

func (_ChainlinkOracle *ChainlinkOracleSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ChainlinkOracleSession) Description

func (_ChainlinkOracle *ChainlinkOracleSession) Description() (string, error)

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

Solidity: function description() view returns(string)

func (*ChainlinkOracleSession) GetAnswer

func (_ChainlinkOracle *ChainlinkOracleSession) 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 (*ChainlinkOracleSession) GetRoundData

func (_ChainlinkOracle *ChainlinkOracleSession) 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 (*ChainlinkOracleSession) GetTimestamp

func (_ChainlinkOracle *ChainlinkOracleSession) 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 (*ChainlinkOracleSession) LatestAnswer

func (_ChainlinkOracle *ChainlinkOracleSession) LatestAnswer() (*big.Int, error)

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

Solidity: function latestAnswer() view returns(int256)

func (*ChainlinkOracleSession) LatestRound

func (_ChainlinkOracle *ChainlinkOracleSession) LatestRound() (*big.Int, error)

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

Solidity: function latestRound() view returns(uint256)

func (*ChainlinkOracleSession) LatestRoundData

func (_ChainlinkOracle *ChainlinkOracleSession) 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 (*ChainlinkOracleSession) LatestTimestamp

func (_ChainlinkOracle *ChainlinkOracleSession) LatestTimestamp() (*big.Int, error)

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

Solidity: function latestTimestamp() view returns(uint256)

func (*ChainlinkOracleSession) Owner

func (_ChainlinkOracle *ChainlinkOracleSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ChainlinkOracleSession) PhaseAggregators

func (_ChainlinkOracle *ChainlinkOracleSession) 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 (*ChainlinkOracleSession) PhaseId

func (_ChainlinkOracle *ChainlinkOracleSession) PhaseId() (uint16, error)

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

Solidity: function phaseId() view returns(uint16)

func (*ChainlinkOracleSession) ProposeAggregator

func (_ChainlinkOracle *ChainlinkOracleSession) 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 (*ChainlinkOracleSession) ProposedAggregator

func (_ChainlinkOracle *ChainlinkOracleSession) ProposedAggregator() (common.Address, error)

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

Solidity: function proposedAggregator() view returns(address)

func (*ChainlinkOracleSession) ProposedGetRoundData

func (_ChainlinkOracle *ChainlinkOracleSession) 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 (*ChainlinkOracleSession) ProposedLatestRoundData

func (_ChainlinkOracle *ChainlinkOracleSession) 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 (*ChainlinkOracleSession) SetController

func (_ChainlinkOracle *ChainlinkOracleSession) 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 (*ChainlinkOracleSession) TransferOwnership

func (_ChainlinkOracle *ChainlinkOracleSession) 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 (*ChainlinkOracleSession) Version

func (_ChainlinkOracle *ChainlinkOracleSession) Version() (*big.Int, error)

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

Solidity: function version() view returns(uint256)

type ChainlinkOracleTransactor

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

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

func NewChainlinkOracleTransactor

func NewChainlinkOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*ChainlinkOracleTransactor, error)

NewChainlinkOracleTransactor creates a new write-only instance of ChainlinkOracle, bound to a specific deployed contract.

func (*ChainlinkOracleTransactor) AcceptOwnership

func (_ChainlinkOracle *ChainlinkOracleTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*ChainlinkOracleTransactor) ConfirmAggregator

func (_ChainlinkOracle *ChainlinkOracleTransactor) 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 (*ChainlinkOracleTransactor) ProposeAggregator

func (_ChainlinkOracle *ChainlinkOracleTransactor) 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 (*ChainlinkOracleTransactor) SetController

func (_ChainlinkOracle *ChainlinkOracleTransactor) 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 (*ChainlinkOracleTransactor) TransferOwnership

func (_ChainlinkOracle *ChainlinkOracleTransactor) 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 ChainlinkOracleTransactorRaw

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

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

func (*ChainlinkOracleTransactorRaw) Transact

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

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

func (*ChainlinkOracleTransactorRaw) Transfer

func (_ChainlinkOracle *ChainlinkOracleTransactorRaw) 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 ChainlinkOracleTransactorSession

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

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

func (*ChainlinkOracleTransactorSession) AcceptOwnership

func (_ChainlinkOracle *ChainlinkOracleTransactorSession) AcceptOwnership() (*types.Transaction, error)

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

Solidity: function acceptOwnership() returns()

func (*ChainlinkOracleTransactorSession) ConfirmAggregator

func (_ChainlinkOracle *ChainlinkOracleTransactorSession) 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 (*ChainlinkOracleTransactorSession) ProposeAggregator

func (_ChainlinkOracle *ChainlinkOracleTransactorSession) 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 (*ChainlinkOracleTransactorSession) SetController

func (_ChainlinkOracle *ChainlinkOracleTransactorSession) 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 (*ChainlinkOracleTransactorSession) TransferOwnership

func (_ChainlinkOracle *ChainlinkOracleTransactorSession) 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