aprOracle

package
v0.0.0-...-7e8637e Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AprOracleABI = "" /* 2424-byte string literal not displayed */

AprOracleABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type AprOracle

type AprOracle struct {
	AprOracleCaller     // Read-only binding to the contract
	AprOracleTransactor // Write-only binding to the contract
	AprOracleFilterer   // Log filterer for contract events
}

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

func NewAprOracle

func NewAprOracle(address common.Address, backend bind.ContractBackend) (*AprOracle, error)

NewAprOracle creates a new instance of AprOracle, bound to a specific deployed contract.

type AprOracleCaller

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

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

func NewAprOracleCaller

func NewAprOracleCaller(address common.Address, caller bind.ContractCaller) (*AprOracleCaller, error)

NewAprOracleCaller creates a new read-only instance of AprOracle, bound to a specific deployed contract.

func (*AprOracleCaller) AAVE

func (_AprOracle *AprOracleCaller) AAVE(opts *bind.CallOpts) (common.Address, error)

AAVE is a free data retrieval call binding the contract method 0x48ccda3c.

Solidity: function AAVE() view returns(address)

func (*AprOracleCaller) DYDX

func (_AprOracle *AprOracleCaller) DYDX(opts *bind.CallOpts) (common.Address, error)

DYDX is a free data retrieval call binding the contract method 0xc043fca2.

Solidity: function DYDX() view returns(address)

func (*AprOracleCaller) GetBorrowAaveAPR

func (_AprOracle *AprOracleCaller) GetBorrowAaveAPR(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetBorrowAaveAPR is a free data retrieval call binding the contract method 0xefb8eba9.

Solidity: function getBorrowAaveAPR(address token) view returns(uint256)

func (*AprOracleCaller) GetBorrowCompoundAPR

func (_AprOracle *AprOracleCaller) GetBorrowCompoundAPR(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetBorrowCompoundAPR is a free data retrieval call binding the contract method 0x5e14f079.

Solidity: function getBorrowCompoundAPR(address token) view returns(uint256)

func (*AprOracleCaller) GetBorrowDyDxAPR

func (_AprOracle *AprOracleCaller) GetBorrowDyDxAPR(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

GetBorrowDyDxAPR is a free data retrieval call binding the contract method 0xdbf30868.

Solidity: function getBorrowDyDxAPR(uint256 marketId) view returns(uint256)

func (*AprOracleCaller) GetBorrowFulcrumAPR

func (_AprOracle *AprOracleCaller) GetBorrowFulcrumAPR(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetBorrowFulcrumAPR is a free data retrieval call binding the contract method 0x7952c6c6.

Solidity: function getBorrowFulcrumAPR(address token) view returns(uint256)

func (*AprOracleCaller) GetLendAaveAPR

func (_AprOracle *AprOracleCaller) GetLendAaveAPR(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetLendAaveAPR is a free data retrieval call binding the contract method 0x7a390efe.

Solidity: function getLendAaveAPR(address token) view returns(uint256)

func (*AprOracleCaller) GetLendCompoundAPR

func (_AprOracle *AprOracleCaller) GetLendCompoundAPR(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetLendCompoundAPR is a free data retrieval call binding the contract method 0xdae01e1c.

Solidity: function getLendCompoundAPR(address token) view returns(uint256)

func (*AprOracleCaller) GetLendDyDxAPR

func (_AprOracle *AprOracleCaller) GetLendDyDxAPR(opts *bind.CallOpts, marketId *big.Int) (*big.Int, error)

GetLendDyDxAPR is a free data retrieval call binding the contract method 0x0a076f6d.

Solidity: function getLendDyDxAPR(uint256 marketId) view returns(uint256)

func (*AprOracleCaller) GetLendFulcrumAPR

func (_AprOracle *AprOracleCaller) GetLendFulcrumAPR(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetLendFulcrumAPR is a free data retrieval call binding the contract method 0x7a542a26.

Solidity: function getLendFulcrumAPR(address token) view returns(uint256)

func (*AprOracleCaller) Owner

func (_AprOracle *AprOracleCaller) 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 AprOracleCallerRaw

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

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

func (*AprOracleCallerRaw) Call

func (_AprOracle *AprOracleCallerRaw) 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 AprOracleCallerSession

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

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

func (*AprOracleCallerSession) AAVE

func (_AprOracle *AprOracleCallerSession) AAVE() (common.Address, error)

AAVE is a free data retrieval call binding the contract method 0x48ccda3c.

Solidity: function AAVE() view returns(address)

func (*AprOracleCallerSession) DYDX

func (_AprOracle *AprOracleCallerSession) DYDX() (common.Address, error)

DYDX is a free data retrieval call binding the contract method 0xc043fca2.

Solidity: function DYDX() view returns(address)

func (*AprOracleCallerSession) GetBorrowAaveAPR

func (_AprOracle *AprOracleCallerSession) GetBorrowAaveAPR(token common.Address) (*big.Int, error)

GetBorrowAaveAPR is a free data retrieval call binding the contract method 0xefb8eba9.

Solidity: function getBorrowAaveAPR(address token) view returns(uint256)

func (*AprOracleCallerSession) GetBorrowCompoundAPR

func (_AprOracle *AprOracleCallerSession) GetBorrowCompoundAPR(token common.Address) (*big.Int, error)

GetBorrowCompoundAPR is a free data retrieval call binding the contract method 0x5e14f079.

Solidity: function getBorrowCompoundAPR(address token) view returns(uint256)

func (*AprOracleCallerSession) GetBorrowDyDxAPR

func (_AprOracle *AprOracleCallerSession) GetBorrowDyDxAPR(marketId *big.Int) (*big.Int, error)

GetBorrowDyDxAPR is a free data retrieval call binding the contract method 0xdbf30868.

Solidity: function getBorrowDyDxAPR(uint256 marketId) view returns(uint256)

func (*AprOracleCallerSession) GetBorrowFulcrumAPR

func (_AprOracle *AprOracleCallerSession) GetBorrowFulcrumAPR(token common.Address) (*big.Int, error)

GetBorrowFulcrumAPR is a free data retrieval call binding the contract method 0x7952c6c6.

Solidity: function getBorrowFulcrumAPR(address token) view returns(uint256)

func (*AprOracleCallerSession) GetLendAaveAPR

func (_AprOracle *AprOracleCallerSession) GetLendAaveAPR(token common.Address) (*big.Int, error)

GetLendAaveAPR is a free data retrieval call binding the contract method 0x7a390efe.

Solidity: function getLendAaveAPR(address token) view returns(uint256)

func (*AprOracleCallerSession) GetLendCompoundAPR

func (_AprOracle *AprOracleCallerSession) GetLendCompoundAPR(token common.Address) (*big.Int, error)

GetLendCompoundAPR is a free data retrieval call binding the contract method 0xdae01e1c.

Solidity: function getLendCompoundAPR(address token) view returns(uint256)

func (*AprOracleCallerSession) GetLendDyDxAPR

func (_AprOracle *AprOracleCallerSession) GetLendDyDxAPR(marketId *big.Int) (*big.Int, error)

GetLendDyDxAPR is a free data retrieval call binding the contract method 0x0a076f6d.

Solidity: function getLendDyDxAPR(uint256 marketId) view returns(uint256)

func (*AprOracleCallerSession) GetLendFulcrumAPR

func (_AprOracle *AprOracleCallerSession) GetLendFulcrumAPR(token common.Address) (*big.Int, error)

GetLendFulcrumAPR is a free data retrieval call binding the contract method 0x7a542a26.

Solidity: function getLendFulcrumAPR(address token) view returns(uint256)

func (*AprOracleCallerSession) Owner

func (_AprOracle *AprOracleCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type AprOracleFilterer

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

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

func NewAprOracleFilterer

func NewAprOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*AprOracleFilterer, error)

NewAprOracleFilterer creates a new log filterer instance of AprOracle, bound to a specific deployed contract.

type AprOracleRaw

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

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

func (*AprOracleRaw) Call

func (_AprOracle *AprOracleRaw) 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 (*AprOracleRaw) Transact

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

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

func (*AprOracleRaw) Transfer

func (_AprOracle *AprOracleRaw) 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 AprOracleSession

type AprOracleSession struct {
	Contract     *AprOracle        // 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
}

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

func (*AprOracleSession) AAVE

func (_AprOracle *AprOracleSession) AAVE() (common.Address, error)

AAVE is a free data retrieval call binding the contract method 0x48ccda3c.

Solidity: function AAVE() view returns(address)

func (*AprOracleSession) DYDX

func (_AprOracle *AprOracleSession) DYDX() (common.Address, error)

DYDX is a free data retrieval call binding the contract method 0xc043fca2.

Solidity: function DYDX() view returns(address)

func (*AprOracleSession) GetBorrowAaveAPR

func (_AprOracle *AprOracleSession) GetBorrowAaveAPR(token common.Address) (*big.Int, error)

GetBorrowAaveAPR is a free data retrieval call binding the contract method 0xefb8eba9.

Solidity: function getBorrowAaveAPR(address token) view returns(uint256)

func (*AprOracleSession) GetBorrowCompoundAPR

func (_AprOracle *AprOracleSession) GetBorrowCompoundAPR(token common.Address) (*big.Int, error)

GetBorrowCompoundAPR is a free data retrieval call binding the contract method 0x5e14f079.

Solidity: function getBorrowCompoundAPR(address token) view returns(uint256)

func (*AprOracleSession) GetBorrowDyDxAPR

func (_AprOracle *AprOracleSession) GetBorrowDyDxAPR(marketId *big.Int) (*big.Int, error)

GetBorrowDyDxAPR is a free data retrieval call binding the contract method 0xdbf30868.

Solidity: function getBorrowDyDxAPR(uint256 marketId) view returns(uint256)

func (*AprOracleSession) GetBorrowFulcrumAPR

func (_AprOracle *AprOracleSession) GetBorrowFulcrumAPR(token common.Address) (*big.Int, error)

GetBorrowFulcrumAPR is a free data retrieval call binding the contract method 0x7952c6c6.

Solidity: function getBorrowFulcrumAPR(address token) view returns(uint256)

func (*AprOracleSession) GetLendAaveAPR

func (_AprOracle *AprOracleSession) GetLendAaveAPR(token common.Address) (*big.Int, error)

GetLendAaveAPR is a free data retrieval call binding the contract method 0x7a390efe.

Solidity: function getLendAaveAPR(address token) view returns(uint256)

func (*AprOracleSession) GetLendCompoundAPR

func (_AprOracle *AprOracleSession) GetLendCompoundAPR(token common.Address) (*big.Int, error)

GetLendCompoundAPR is a free data retrieval call binding the contract method 0xdae01e1c.

Solidity: function getLendCompoundAPR(address token) view returns(uint256)

func (*AprOracleSession) GetLendDyDxAPR

func (_AprOracle *AprOracleSession) GetLendDyDxAPR(marketId *big.Int) (*big.Int, error)

GetLendDyDxAPR is a free data retrieval call binding the contract method 0x0a076f6d.

Solidity: function getLendDyDxAPR(uint256 marketId) view returns(uint256)

func (*AprOracleSession) GetLendFulcrumAPR

func (_AprOracle *AprOracleSession) GetLendFulcrumAPR(token common.Address) (*big.Int, error)

GetLendFulcrumAPR is a free data retrieval call binding the contract method 0x7a542a26.

Solidity: function getLendFulcrumAPR(address token) view returns(uint256)

func (*AprOracleSession) Owner

func (_AprOracle *AprOracleSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type AprOracleTransactor

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

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

func NewAprOracleTransactor

func NewAprOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*AprOracleTransactor, error)

NewAprOracleTransactor creates a new write-only instance of AprOracle, bound to a specific deployed contract.

type AprOracleTransactorRaw

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

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

func (*AprOracleTransactorRaw) Transact

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

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

func (*AprOracleTransactorRaw) Transfer

func (_AprOracle *AprOracleTransactorRaw) 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 AprOracleTransactorSession

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

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

Jump to

Keyboard shortcuts

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