-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: display both spendable and actual balance in wallet-ui (#310)
* fix: allow multiple consecutive pending transactions in estimateFee and estimateFeeBulk * fix: remove try catch block. Just check if nonce provided * test: estimateFee.test.ts should rely only on estimateFeeBulk * chore: lint + prettier * refactor: function account nounce on block naming * refactor: removed gasConsumed and gasPrice in estamiteFee * fix: nonce undefined * revert: yarn.lock and snap.manifest.json from main * fix: use BlockIdentifierEnum * fix: update packages/starknet-snap/src/utils/starknetUtils.ts Co-authored-by: Stanley Yuen <[email protected]> * feat: sets blockIdentifier on getProvider no need for getAccountNonceOnLatest method * chore: lint + prettier * fix: pending/latest balance * feat: support spendable balance in case of unconfirmed amount * revert: wallet-ui changes * feat: wallet-ui support spendable balance in case of unconfirmed amount * test: update getErc20TokenBalance.test.ts * feat: let consumer app decide the logic to use to display balance * chore: lint + prettier * refactor: add getTokenBalanceWithDetails and getTokenBalancesWithDetails helper * fix: address PR feedback and update implementation * fix: token-balance type * fix: address PR feedback and update implementation * fix: address PR feedback and update implementation --------- Co-authored-by: Stanley Yuen <[email protected]>
- Loading branch information
1 parent
c7facfc
commit ea87d38
Showing
5 changed files
with
78 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters