Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

xgns state

Back to all declarations

tokenID

untyped bigint

Value

(0 <untyped> bigint)

TotalSupply

func() int64

TotalSupply returns the total supply of xGNS tokens.

Open
OID
04bcbb…f121:10
TotalSupply details

Inspect func

BalanceOf

func(owner .uverse.address) int64

BalanceOf returns token balance for address. Parameters: - owner: address to check balance for Returns balance amount.

Open
OID
04bcbb…f121:11
BalanceOf details

Inspect func

Render

func(path string) string

Render returns a formatted representation of the token state.

Open
OID
04bcbb…f121:12
Render details

Inspect func

Mint

func(to .uverse.address, amount int64)

Mint mints tokens to address. Parameters: - to: recipient address - amount: amount to mint Only callable by governance staker contract.

Open
OID
04bcbb…f121:13
Mint details

Inspect func

Burn

func(from .uverse.address, amount int64)

Burn burns tokens from address. Parameters: - from: address to burn from - amount: amount to burn Only callable by governance staker contract.

Open
OID
04bcbb…f121:14
Burn details

Inspect func

SupplyInfo

func() (totalIssued int64, issuedByDelegate int64, issuedByDepositGns int64, err .uverse.error)

SupplyInfo returns supply breakdown information. Returns: - totalIssued: total xGNS tokens issued - issuedByDelegate: tokens issued through governance delegation - issuedByDepositGns: tokens issued through launchpad deposit - error: error if launchpad address not found

Open
OID
04bcbb…f121:15
SupplyInfo details

Inspect func

checkErr

func(err .uverse.error)
Open
OID
04bcbb…f121:16
checkErr details

Inspect func
tokenID : untyped bigint =(0 <untyped> bigint)
admin : *v0.Ownable Inspect
token : *grc20.Token Inspect
ledger : *grc20.PrivateLedger Inspect
init.4 : func() Inspect
TotalSupply : func() int64 Inspect
BalanceOf : func(owner .uverse.address) int64 Inspect
Render : func(path string) string Inspect
Mint : func(to .uverse.address, amount int64) Inspect
Burn : func(from .uverse.address, amount int64) Inspect
SupplyInfo : func() (totalIssued int64, issuedByDelegate int64, issuedByDepositGns int64, err .uverse.error) Inspect
checkErr : func(err .uverse.error) Inspect