func BalanceOf
ActionBalanceOf returns addr's balance in ugnot.
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package vault is the demo vault, version 2. Users deposit ugnot and withdraw it later. Version 2 fixes the bug Bounce...
Package vault is the demo vault, version 2. Users deposit ugnot and withdraw it later. Version 2 fixes the bug Bouncer proved in version 1: Balances returns a copy of the ledger, not a pointer to it (security guide §5.1).
BalanceOf returns addr's balance in ugnot.
Deposit credits the caller with the ugnot sent with the call.
Withdraw pays the caller back up to their balance.
Balances returns a copy of the ledger, for frontends that list depositors.