GetBalanceOf
func(tokenPath string) int64GetBalanceOf returns the balance of a specific token held by the community pool. Parameters: - tokenPath: the path to the token contract (e.g., "gno.land/r/gnoswap/gns") Returns the balance of the specified token held by the community pool.
- OID
- 078143…a619:3
GetBalanceOf details
TransferToken
func(tokenPath string, to .uverse.address, amount int64)TransferToken transfers tokens from the community pool. Parameters: - cur: current realm - tokenPath: token contract path - to: recipient address - amount: transfer amount Only callable by admin or governance.
- OID
- 078143…a619:5