Documentation ¶
Index ¶
- type InterestAdmin
- type InterestReader
- func (self *InterestReader) BaseRatePerBlock(contractAddrHex string)
- func (self *InterestReader) BorrowRate(contractAddrHex string, cash, borrows, reserves big.Int)
- func (self *InterestReader) IsInterestRateModel(contractAddrHex string)
- func (self *InterestReader) MultiplierPerBlock(contractAddrHex string)
- func (self *InterestReader) SendPreExecuteTx(contractAddrHex, methodName string, params []interface{})
- func (self *InterestReader) SendTx(contractAddrHex, methodName string, params []interface{})
- func (self *InterestReader) SupplyRate(contractAddrHex string, ...)
- func (self *InterestReader) UtilizationRate(contractAddrHex string, cash, borrows, reserves big.Int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterestAdmin ¶
func NewInterestAdmin ¶
func NewInterestAdmin() *InterestAdmin
type InterestReader ¶
func NewInterestReader ¶
func NewInterestReader() *InterestReader
func (*InterestReader) BaseRatePerBlock ¶
func (self *InterestReader) BaseRatePerBlock(contractAddrHex string)
func (*InterestReader) BorrowRate ¶
func (self *InterestReader) BorrowRate(contractAddrHex string, cash, borrows, reserves big.Int)
func (*InterestReader) IsInterestRateModel ¶
func (self *InterestReader) IsInterestRateModel(contractAddrHex string)
func (*InterestReader) MultiplierPerBlock ¶
func (self *InterestReader) MultiplierPerBlock(contractAddrHex string)
func (*InterestReader) SendPreExecuteTx ¶
func (self *InterestReader) SendPreExecuteTx(contractAddrHex, methodName string, params []interface{})
func (*InterestReader) SendTx ¶
func (self *InterestReader) SendTx(contractAddrHex, methodName string, params []interface{})
func (*InterestReader) SupplyRate ¶
func (self *InterestReader) SupplyRate(contractAddrHex string, cash, borrows, reserves, reservesFactor, insuranceFactor big.Int)
func (*InterestReader) UtilizationRate ¶
func (self *InterestReader) UtilizationRate(contractAddrHex string, cash, borrows, reserves big.Int)
Click to show internal directories.
Click to hide internal directories.