Skip to content

Commit

Permalink
Use single balances in the Stellar Asset Contract (#615)
Browse files Browse the repository at this point in the history
* Use single balances for classic accounts in the classic asset scenario

* Add method for spendable balance

* add more tests

* Fix error when an unexpected LedgerEntry type is returned

* allow burn even if balance is frozen/deauthorized

* Added TODO's for metering analysis

* remove pub

* Return clear error when account or trustline is missing

* clear up overflow error

* Use helpers to unify asset4 and asset12 cases

* sp_balance to spendable

* Specify all Identifier types on match
  • Loading branch information
sisuresh authored Dec 19, 2022
1 parent 9735e97 commit 86a38f3
Show file tree
Hide file tree
Showing 6 changed files with 872 additions and 517 deletions.
Loading

0 comments on commit 86a38f3

Please sign in to comment.