Documentation ¶
Index ¶
- Variables
- type SavaxOracle
- type SavaxOracleCaller
- type SavaxOracleCallerRaw
- type SavaxOracleCallerSession
- type SavaxOracleFilterer
- type SavaxOracleRaw
- func (_SavaxOracle *SavaxOracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SavaxOracle *SavaxOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SavaxOracle *SavaxOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SavaxOracleSession
- type SavaxOracleTransactor
- type SavaxOracleTransactorRaw
- type SavaxOracleTransactorSession
Constants ¶
This section is empty.
Variables ¶
var SavaxOracleABI = SavaxOracleMetaData.ABI
SavaxOracleABI is the input ABI used to generate the binding from. Deprecated: Use SavaxOracleMetaData.ABI instead.
var SavaxOracleMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"AVAX_USD_FEED\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SAVAX\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestAnswer\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
SavaxOracleMetaData contains all meta data concerning the SavaxOracle contract.
Functions ¶
This section is empty.
Types ¶
type SavaxOracle ¶
type SavaxOracle struct { SavaxOracleCaller // Read-only binding to the contract SavaxOracleTransactor // Write-only binding to the contract SavaxOracleFilterer // Log filterer for contract events }
SavaxOracle is an auto generated Go binding around an Ethereum contract.
func NewSavaxOracle ¶
func NewSavaxOracle(address common.Address, backend bind.ContractBackend) (*SavaxOracle, error)
NewSavaxOracle creates a new instance of SavaxOracle, bound to a specific deployed contract.
type SavaxOracleCaller ¶
type SavaxOracleCaller struct {
// contains filtered or unexported fields
}
SavaxOracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSavaxOracleCaller ¶
func NewSavaxOracleCaller(address common.Address, caller bind.ContractCaller) (*SavaxOracleCaller, error)
NewSavaxOracleCaller creates a new read-only instance of SavaxOracle, bound to a specific deployed contract.
func (*SavaxOracleCaller) AVAXUSDFEED ¶
AVAXUSDFEED is a free data retrieval call binding the contract method 0x4c68bf68.
Solidity: function AVAX_USD_FEED() view returns(address)
func (*SavaxOracleCaller) LatestAnswer ¶
LatestAnswer is a free data retrieval call binding the contract method 0x50d25bcd.
Solidity: function latestAnswer() view returns(int256)
type SavaxOracleCallerRaw ¶
type SavaxOracleCallerRaw struct {
Contract *SavaxOracleCaller // Generic read-only contract binding to access the raw methods on
}
SavaxOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SavaxOracleCallerRaw) Call ¶
func (_SavaxOracle *SavaxOracleCallerRaw) 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 SavaxOracleCallerSession ¶
type SavaxOracleCallerSession struct { Contract *SavaxOracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SavaxOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SavaxOracleCallerSession) AVAXUSDFEED ¶
func (_SavaxOracle *SavaxOracleCallerSession) AVAXUSDFEED() (common.Address, error)
AVAXUSDFEED is a free data retrieval call binding the contract method 0x4c68bf68.
Solidity: function AVAX_USD_FEED() view returns(address)
func (*SavaxOracleCallerSession) LatestAnswer ¶
func (_SavaxOracle *SavaxOracleCallerSession) LatestAnswer() (*big.Int, error)
LatestAnswer is a free data retrieval call binding the contract method 0x50d25bcd.
Solidity: function latestAnswer() view returns(int256)
type SavaxOracleFilterer ¶
type SavaxOracleFilterer struct {
// contains filtered or unexported fields
}
SavaxOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSavaxOracleFilterer ¶
func NewSavaxOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*SavaxOracleFilterer, error)
NewSavaxOracleFilterer creates a new log filterer instance of SavaxOracle, bound to a specific deployed contract.
type SavaxOracleRaw ¶
type SavaxOracleRaw struct {
Contract *SavaxOracle // Generic contract binding to access the raw methods on
}
SavaxOracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SavaxOracleRaw) Call ¶
func (_SavaxOracle *SavaxOracleRaw) 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 (*SavaxOracleRaw) Transact ¶
func (_SavaxOracle *SavaxOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SavaxOracleRaw) Transfer ¶
func (_SavaxOracle *SavaxOracleRaw) 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 SavaxOracleSession ¶
type SavaxOracleSession struct { Contract *SavaxOracle // 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 }
SavaxOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SavaxOracleSession) AVAXUSDFEED ¶
func (_SavaxOracle *SavaxOracleSession) AVAXUSDFEED() (common.Address, error)
AVAXUSDFEED is a free data retrieval call binding the contract method 0x4c68bf68.
Solidity: function AVAX_USD_FEED() view returns(address)
func (*SavaxOracleSession) LatestAnswer ¶
func (_SavaxOracle *SavaxOracleSession) LatestAnswer() (*big.Int, error)
LatestAnswer is a free data retrieval call binding the contract method 0x50d25bcd.
Solidity: function latestAnswer() view returns(int256)
type SavaxOracleTransactor ¶
type SavaxOracleTransactor struct {
// contains filtered or unexported fields
}
SavaxOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSavaxOracleTransactor ¶
func NewSavaxOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*SavaxOracleTransactor, error)
NewSavaxOracleTransactor creates a new write-only instance of SavaxOracle, bound to a specific deployed contract.
type SavaxOracleTransactorRaw ¶
type SavaxOracleTransactorRaw struct {
Contract *SavaxOracleTransactor // Generic write-only contract binding to access the raw methods on
}
SavaxOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SavaxOracleTransactorRaw) Transact ¶
func (_SavaxOracle *SavaxOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SavaxOracleTransactorRaw) Transfer ¶
func (_SavaxOracle *SavaxOracleTransactorRaw) 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 SavaxOracleTransactorSession ¶
type SavaxOracleTransactorSession struct { Contract *SavaxOracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SavaxOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.