You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow a twin specify an address that is his "savings account", the savings account should initiate the bond between a twin and that address.
Add twin_bonded_account optional storage map which maps a twin_id to a savings account
Add bond method on pallet-tfgrid where the twin_id and savings account are inserted into the storage
In the pallet smart contract when we calculate the discount we can check if the twin has a bonded account and check if a discount can be applied based on the TFT's on that bonded account.
The text was updated successfully, but these errors were encountered:
Allow a twin specify an address that is his "savings account", the savings account should initiate the bond between a twin and that address.
twin_bonded_account
optional storage map which maps atwin_id
to a savings accountbond
method on pallet-tfgrid where thetwin_id
and savings account are inserted into the storageIn the pallet smart contract when we calculate the discount we can check if the twin has a bonded account and check if a discount can be applied based on the TFT's on that bonded account.
The text was updated successfully, but these errors were encountered: