Overview
FT4 supports the management of multiple assets. The asset
table lists all registered assets:
entity asset {
key id: byte_array;
name;
key symbol: text;
decimals: integer;
issuing_blockchain_rid: byte_array;
icon_url: text;
type: text = ASSET_TYPE_FT4;
mutable total_supply: big_integer;
}
Account balances for assets are tracked in the balance
table:
entity balance {
key accounts.account, asset;
mutable amount: big_integer;
}
warning
FT4 assets are not perfectly equivalent to ERC20. You can see the differences here.