Documentation ¶
Index ¶
- func Abs(x int64) uint64
- func BasePrice() math_utils.PrecDec
- func GetBlockGasUsed(ctx sdk.Context) (gasUsed uint64, err error)
- func JoinErrors(parentError error, errs ...error) error
- func MaxIntArr(vals []sdk.Int) sdk.Int
- func MinIntArr(vals []sdk.Int) sdk.Int
- func MustGetBlockGasUsed(ctx sdk.Context) uint64
- func MustSafeUint64ToInt64(in uint64) (out int64)
- func SafeUint64ToInt64(in uint64) (out int64, overflow bool)
- func SanitizeCoins(coins []sdk.Coin) sdk.Coins
- func Uint64ToSortableString(i uint64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinErrors ¶
func MustGetBlockGasUsed ¶
func MustSafeUint64ToInt64 ¶
func SanitizeCoins ¶
SanitizeCoins takes an unsorted list of coins and sorts them, removes coins with amount zero and combines duplicate coins
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.