Skip to content

threefold.tokens #

TODO:! please make example and see it works

fn load_account #

fn load_account(accid string) ?Account

fn load_tokens #

fn load_tokens() ?StatsTFT

fn parse_special #

fn parse_special(s StatsTFT) map[string]Group

struct FoundationAccountInfo #

struct FoundationAccountInfo {
pub mut:
	category string
	wallets  []Wallet
}

struct Wallet #

struct Wallet {
pub mut:
	address     string
	description string
	liquid      bool
	amount      f64
}

Improved struct