Closed ilblackdragon closed 3 years ago
To add support for FT, Sputnik contracts must be implementing FT Receiver pattern to keep track of the received balance.
The received balance is then can be used internally to identify which tokens this DAO have and how much value.
E.g.
/// Keeps track of balances per FT account. ft_balances: LookupMap<AccountId, Balance>,
Payout proposal then can select asset_account_id. Empty asset name is considered base token.
asset_account_id
To add support for FT, Sputnik contracts must be implementing FT Receiver pattern to keep track of the received balance.
The received balance is then can be used internally to identify which tokens this DAO have and how much value.
E.g.
Payout proposal then can select
asset_account_id
. Empty asset name is considered base token.