func BalanceOf
ActionBalanceOf is the exported read-only accessor for a single owner.
Package wrapped is an accounting-only port of Wrapped Ether (WETH).
Package wrapped is an accounting-only port of Wrapped Ether (WETH).
The canonical WETH contract lets anyone lock native ETH and mint a 1:1 ERC-20 representation (and burn it back). On gno.land / topaz there is no msg.value / payable, so there is NO real coin transfer here: Deposit and Withdraw are pure accounting operations that model the wrap/unwrap. Balances and totalSupply are plain uint64 ledgers kept in an avl.Tree.
BalanceOf is the exported read-only accessor for a single owner.
Deposit wraps `amount` units of the (notional) native coin, crediting the caller's wrapped balance and the global totalSupply. Accounting only: no real coin ever moves — it models locking native funds to mint the wrapped token.
Render shows the total supply and a table of non-zero balances.
TotalSupply returns the total amount of wrapped units in existence.
Transfer moves `amount` wrapped units from the caller to `to`.
Withdraw unwraps `amount` units, burning them from the caller's balance and from totalSupply. Panics if the caller lacks the balance.