refactor transferring BCPT to transferring any ERC-20 token
add DAI stable-coin to the list of tokens that can be transferred via My Account
add DAI to the list of Settle Up options
re-factor the Settlement screen to handle an arbitrary ERC-20 token
update Settlement to show converted balance in ERC-20 token units
Notes:
in this PR we remove local storage of the 'bcptBalance'. ERC-20 token balances can change dynamically based on external factors (e.g. another person sends you tokens or this user with another App transfers tokens). For now, we will instead rely on the built-in HTTP cache, or we will build a new cache in a subsequent update.
this PR breaks the transferLimitLevel of 'bcpt', removing it entirely for further refactoring
In this PR:
Notes:
in this PR we remove local storage of the 'bcptBalance'. ERC-20 token balances can change dynamically based on external factors (e.g. another person sends you tokens or this user with another App transfers tokens). For now, we will instead rely on the built-in HTTP cache, or we will build a new cache in a subsequent update.
this PR breaks the transferLimitLevel of 'bcpt', removing it entirely for further refactoring