Documentation ¶
Index ¶
- func CalcInterest(perCoupon sdk.Dec, share sdk.Int, interest types.BoxToken) sdk.Int
- func CalcInterestRate(totalAmount sdk.Int, price sdk.Int, interest sdk.Coin, decimals uint) sdk.Dec
- func CheckId(id string) sdk.Error
- func GetBoxTags(id string, boxType string, sender sdk.AccAddress) sdk.Tags
- func GetBoxTypeByValue(value string) string
- func GetCoinDenomByFutureBoxSeq(id string, seq int) string
- func GetIdFromBoxSeqID(idSeq string) string
- func GetMaxPrecision(dec sdk.Dec, decimals uint) sdk.Dec
- func GetSeqFromFutureBoxSeq(boxSeqStr string) int
- func IsId(id string) bool
- func MulDecimals(coin sdk.Coin, decimals uint) sdk.Int
- func ParseCoin(denom string, amount sdk.Int) sdk.Coin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcInterest ¶
func CalcInterestRate ¶
func GetBoxTags ¶
func GetBoxTypeByValue ¶
func GetIdFromBoxSeqID ¶ added in v0.6.0
func GetSeqFromFutureBoxSeq ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.