Expand description
Utility functions
Functionsยง
- duration_
sanity - Do a sanity check with given Unix timestamps.
- encode_
base10 - Encode given amount to a string with given decimal places.
- pretty_
time - Returns a days/hours/minutes/seconds string from given
tseconds. - unpack_
mint_ account - Unpack mint account from
account_info - unpack_
token_ account - Unpack token account from
account_info