内部状态
#[derive(Debug, Default)]
struct FungibleToken {
/// Name of the token.
name: String,
/// Symbol of the token.
symbol: String,
/// Total supply of the token.
total_supply: u128,
/// Map to hold balances of token holders.
balances: BTreeMap<ActorId, u128>,
/// Map to hold allowance information of token holders.
allowances: BTreeMap<ActorId, BTreeMap<ActorId, u128>>,
/// Token's decimals.
pub decimals: u8,
}
static mut FUNGIBLE_TOKEN: Option<FungibleToken> = None;