benqiJumpRateModel

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BenqiJumpRateModelABI = BenqiJumpRateModelMetaData.ABI

BenqiJumpRateModelABI is the input ABI used to generate the binding from. Deprecated: Use BenqiJumpRateModelMetaData.ABI instead.

View Source
var BenqiJumpRateModelMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"baseRatePerTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"cash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrows\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserves\",\"type\":\"uint256\"}],\"name\":\"getBorrowRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"cash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrows\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserves\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveFactorMantissa\",\"type\":\"uint256\"}],\"name\":\"getSupplyRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isInterestRateModel\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"jumpMultiplierPerTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kink\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"multiplierPerTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"timestampsPerYear\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"cash\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"borrows\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserves\",\"type\":\"uint256\"}],\"name\":\"utilizationRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
}

BenqiJumpRateModelMetaData contains all meta data concerning the BenqiJumpRateModel contract.

Functions

This section is empty.

Types

type BenqiJumpRateModel

type BenqiJumpRateModel struct {
	BenqiJumpRateModelCaller     // Read-only binding to the contract
	BenqiJumpRateModelTransactor // Write-only binding to the contract
	BenqiJumpRateModelFilterer   // Log filterer for contract events
}

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

func NewBenqiJumpRateModel

func NewBenqiJumpRateModel(address common.Address, backend bind.ContractBackend) (*BenqiJumpRateModel, error)

NewBenqiJumpRateModel creates a new instance of BenqiJumpRateModel, bound to a specific deployed contract.

type BenqiJumpRateModelCaller

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

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

func NewBenqiJumpRateModelCaller

func NewBenqiJumpRateModelCaller(address common.Address, caller bind.ContractCaller) (*BenqiJumpRateModelCaller, error)

NewBenqiJumpRateModelCaller creates a new read-only instance of BenqiJumpRateModel, bound to a specific deployed contract.

func (*BenqiJumpRateModelCaller) BaseRatePerTimestamp

func (_BenqiJumpRateModel *BenqiJumpRateModelCaller) BaseRatePerTimestamp(opts *bind.CallOpts) (*big.Int, error)

BaseRatePerTimestamp is a free data retrieval call binding the contract method 0x40bc0af4.

Solidity: function baseRatePerTimestamp() view returns(uint256)

func (*BenqiJumpRateModelCaller) GetBorrowRate

func (_BenqiJumpRateModel *BenqiJumpRateModelCaller) GetBorrowRate(opts *bind.CallOpts, cash *big.Int, borrows *big.Int, reserves *big.Int) (*big.Int, error)

GetBorrowRate is a free data retrieval call binding the contract method 0x15f24053.

Solidity: function getBorrowRate(uint256 cash, uint256 borrows, uint256 reserves) view returns(uint256)

func (*BenqiJumpRateModelCaller) GetSupplyRate

func (_BenqiJumpRateModel *BenqiJumpRateModelCaller) GetSupplyRate(opts *bind.CallOpts, cash *big.Int, borrows *big.Int, reserves *big.Int, reserveFactorMantissa *big.Int) (*big.Int, error)

GetSupplyRate is a free data retrieval call binding the contract method 0xb8168816.

Solidity: function getSupplyRate(uint256 cash, uint256 borrows, uint256 reserves, uint256 reserveFactorMantissa) view returns(uint256)

func (*BenqiJumpRateModelCaller) IsInterestRateModel

func (_BenqiJumpRateModel *BenqiJumpRateModelCaller) IsInterestRateModel(opts *bind.CallOpts) (bool, error)

IsInterestRateModel is a free data retrieval call binding the contract method 0x2191f92a.

Solidity: function isInterestRateModel() view returns(bool)

func (*BenqiJumpRateModelCaller) JumpMultiplierPerTimestamp

func (_BenqiJumpRateModel *BenqiJumpRateModelCaller) JumpMultiplierPerTimestamp(opts *bind.CallOpts) (*big.Int, error)

JumpMultiplierPerTimestamp is a free data retrieval call binding the contract method 0x26c394f7.

Solidity: function jumpMultiplierPerTimestamp() view returns(uint256)

func (*BenqiJumpRateModelCaller) Kink

func (_BenqiJumpRateModel *BenqiJumpRateModelCaller) Kink(opts *bind.CallOpts) (*big.Int, error)

Kink is a free data retrieval call binding the contract method 0xfd2da339.

Solidity: function kink() view returns(uint256)

func (*BenqiJumpRateModelCaller) MultiplierPerTimestamp

func (_BenqiJumpRateModel *BenqiJumpRateModelCaller) MultiplierPerTimestamp(opts *bind.CallOpts) (*big.Int, error)

MultiplierPerTimestamp is a free data retrieval call binding the contract method 0x6c2df6a7.

Solidity: function multiplierPerTimestamp() view returns(uint256)

func (*BenqiJumpRateModelCaller) TimestampsPerYear

func (_BenqiJumpRateModel *BenqiJumpRateModelCaller) TimestampsPerYear(opts *bind.CallOpts) (*big.Int, error)

TimestampsPerYear is a free data retrieval call binding the contract method 0x0c574861.

Solidity: function timestampsPerYear() view returns(uint256)

func (*BenqiJumpRateModelCaller) UtilizationRate

func (_BenqiJumpRateModel *BenqiJumpRateModelCaller) UtilizationRate(opts *bind.CallOpts, cash *big.Int, borrows *big.Int, reserves *big.Int) (*big.Int, error)

UtilizationRate is a free data retrieval call binding the contract method 0x6e71e2d8.

Solidity: function utilizationRate(uint256 cash, uint256 borrows, uint256 reserves) pure returns(uint256)

type BenqiJumpRateModelCallerRaw

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

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

func (*BenqiJumpRateModelCallerRaw) Call

func (_BenqiJumpRateModel *BenqiJumpRateModelCallerRaw) 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 BenqiJumpRateModelCallerSession

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

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

func (*BenqiJumpRateModelCallerSession) BaseRatePerTimestamp

func (_BenqiJumpRateModel *BenqiJumpRateModelCallerSession) BaseRatePerTimestamp() (*big.Int, error)

BaseRatePerTimestamp is a free data retrieval call binding the contract method 0x40bc0af4.

Solidity: function baseRatePerTimestamp() view returns(uint256)

func (*BenqiJumpRateModelCallerSession) GetBorrowRate

func (_BenqiJumpRateModel *BenqiJumpRateModelCallerSession) GetBorrowRate(cash *big.Int, borrows *big.Int, reserves *big.Int) (*big.Int, error)

GetBorrowRate is a free data retrieval call binding the contract method 0x15f24053.

Solidity: function getBorrowRate(uint256 cash, uint256 borrows, uint256 reserves) view returns(uint256)

func (*BenqiJumpRateModelCallerSession) GetSupplyRate

func (_BenqiJumpRateModel *BenqiJumpRateModelCallerSession) GetSupplyRate(cash *big.Int, borrows *big.Int, reserves *big.Int, reserveFactorMantissa *big.Int) (*big.Int, error)

GetSupplyRate is a free data retrieval call binding the contract method 0xb8168816.

Solidity: function getSupplyRate(uint256 cash, uint256 borrows, uint256 reserves, uint256 reserveFactorMantissa) view returns(uint256)

func (*BenqiJumpRateModelCallerSession) IsInterestRateModel

func (_BenqiJumpRateModel *BenqiJumpRateModelCallerSession) IsInterestRateModel() (bool, error)

IsInterestRateModel is a free data retrieval call binding the contract method 0x2191f92a.

Solidity: function isInterestRateModel() view returns(bool)

func (*BenqiJumpRateModelCallerSession) JumpMultiplierPerTimestamp

func (_BenqiJumpRateModel *BenqiJumpRateModelCallerSession) JumpMultiplierPerTimestamp() (*big.Int, error)

JumpMultiplierPerTimestamp is a free data retrieval call binding the contract method 0x26c394f7.

Solidity: function jumpMultiplierPerTimestamp() view returns(uint256)

func (*BenqiJumpRateModelCallerSession) Kink

func (_BenqiJumpRateModel *BenqiJumpRateModelCallerSession) Kink() (*big.Int, error)

Kink is a free data retrieval call binding the contract method 0xfd2da339.

Solidity: function kink() view returns(uint256)

func (*BenqiJumpRateModelCallerSession) MultiplierPerTimestamp

func (_BenqiJumpRateModel *BenqiJumpRateModelCallerSession) MultiplierPerTimestamp() (*big.Int, error)

MultiplierPerTimestamp is a free data retrieval call binding the contract method 0x6c2df6a7.

Solidity: function multiplierPerTimestamp() view returns(uint256)

func (*BenqiJumpRateModelCallerSession) TimestampsPerYear

func (_BenqiJumpRateModel *BenqiJumpRateModelCallerSession) TimestampsPerYear() (*big.Int, error)

TimestampsPerYear is a free data retrieval call binding the contract method 0x0c574861.

Solidity: function timestampsPerYear() view returns(uint256)

func (*BenqiJumpRateModelCallerSession) UtilizationRate

func (_BenqiJumpRateModel *BenqiJumpRateModelCallerSession) UtilizationRate(cash *big.Int, borrows *big.Int, reserves *big.Int) (*big.Int, error)

UtilizationRate is a free data retrieval call binding the contract method 0x6e71e2d8.

Solidity: function utilizationRate(uint256 cash, uint256 borrows, uint256 reserves) pure returns(uint256)

type BenqiJumpRateModelFilterer

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

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

func NewBenqiJumpRateModelFilterer

func NewBenqiJumpRateModelFilterer(address common.Address, filterer bind.ContractFilterer) (*BenqiJumpRateModelFilterer, error)

NewBenqiJumpRateModelFilterer creates a new log filterer instance of BenqiJumpRateModel, bound to a specific deployed contract.

type BenqiJumpRateModelRaw

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

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

func (*BenqiJumpRateModelRaw) Call

func (_BenqiJumpRateModel *BenqiJumpRateModelRaw) 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 (*BenqiJumpRateModelRaw) Transact

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

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

func (*BenqiJumpRateModelRaw) Transfer

func (_BenqiJumpRateModel *BenqiJumpRateModelRaw) 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 BenqiJumpRateModelSession

type BenqiJumpRateModelSession struct {
	Contract     *BenqiJumpRateModel // 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
}

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

func (*BenqiJumpRateModelSession) BaseRatePerTimestamp

func (_BenqiJumpRateModel *BenqiJumpRateModelSession) BaseRatePerTimestamp() (*big.Int, error)

BaseRatePerTimestamp is a free data retrieval call binding the contract method 0x40bc0af4.

Solidity: function baseRatePerTimestamp() view returns(uint256)

func (*BenqiJumpRateModelSession) GetBorrowRate

func (_BenqiJumpRateModel *BenqiJumpRateModelSession) GetBorrowRate(cash *big.Int, borrows *big.Int, reserves *big.Int) (*big.Int, error)

GetBorrowRate is a free data retrieval call binding the contract method 0x15f24053.

Solidity: function getBorrowRate(uint256 cash, uint256 borrows, uint256 reserves) view returns(uint256)

func (*BenqiJumpRateModelSession) GetSupplyRate

func (_BenqiJumpRateModel *BenqiJumpRateModelSession) GetSupplyRate(cash *big.Int, borrows *big.Int, reserves *big.Int, reserveFactorMantissa *big.Int) (*big.Int, error)

GetSupplyRate is a free data retrieval call binding the contract method 0xb8168816.

Solidity: function getSupplyRate(uint256 cash, uint256 borrows, uint256 reserves, uint256 reserveFactorMantissa) view returns(uint256)

func (*BenqiJumpRateModelSession) IsInterestRateModel

func (_BenqiJumpRateModel *BenqiJumpRateModelSession) IsInterestRateModel() (bool, error)

IsInterestRateModel is a free data retrieval call binding the contract method 0x2191f92a.

Solidity: function isInterestRateModel() view returns(bool)

func (*BenqiJumpRateModelSession) JumpMultiplierPerTimestamp

func (_BenqiJumpRateModel *BenqiJumpRateModelSession) JumpMultiplierPerTimestamp() (*big.Int, error)

JumpMultiplierPerTimestamp is a free data retrieval call binding the contract method 0x26c394f7.

Solidity: function jumpMultiplierPerTimestamp() view returns(uint256)

func (*BenqiJumpRateModelSession) Kink

func (_BenqiJumpRateModel *BenqiJumpRateModelSession) Kink() (*big.Int, error)

Kink is a free data retrieval call binding the contract method 0xfd2da339.

Solidity: function kink() view returns(uint256)

func (*BenqiJumpRateModelSession) MultiplierPerTimestamp

func (_BenqiJumpRateModel *BenqiJumpRateModelSession) MultiplierPerTimestamp() (*big.Int, error)

MultiplierPerTimestamp is a free data retrieval call binding the contract method 0x6c2df6a7.

Solidity: function multiplierPerTimestamp() view returns(uint256)

func (*BenqiJumpRateModelSession) TimestampsPerYear

func (_BenqiJumpRateModel *BenqiJumpRateModelSession) TimestampsPerYear() (*big.Int, error)

TimestampsPerYear is a free data retrieval call binding the contract method 0x0c574861.

Solidity: function timestampsPerYear() view returns(uint256)

func (*BenqiJumpRateModelSession) UtilizationRate

func (_BenqiJumpRateModel *BenqiJumpRateModelSession) UtilizationRate(cash *big.Int, borrows *big.Int, reserves *big.Int) (*big.Int, error)

UtilizationRate is a free data retrieval call binding the contract method 0x6e71e2d8.

Solidity: function utilizationRate(uint256 cash, uint256 borrows, uint256 reserves) pure returns(uint256)

type BenqiJumpRateModelTransactor

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

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

func NewBenqiJumpRateModelTransactor

func NewBenqiJumpRateModelTransactor(address common.Address, transactor bind.ContractTransactor) (*BenqiJumpRateModelTransactor, error)

NewBenqiJumpRateModelTransactor creates a new write-only instance of BenqiJumpRateModel, bound to a specific deployed contract.

type BenqiJumpRateModelTransactorRaw

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

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

func (*BenqiJumpRateModelTransactorRaw) Transact

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

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

func (*BenqiJumpRateModelTransactorRaw) Transfer

func (_BenqiJumpRateModel *BenqiJumpRateModelTransactorRaw) 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 BenqiJumpRateModelTransactorSession

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

BenqiJumpRateModelTransactorSession 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