Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nep17Helper ¶
type Nep17Helper struct { ScriptHash *helper.UInt160 // scriptHash of nep17 token Client rpc.IRpcClient }
Nep17Helper is nep17 wrapper class, api reference: https://github.com/neo-project/proposals/tree/nep-17
func NewNep17Helper ¶
func NewNep17Helper(scriptHash *helper.UInt160, client rpc.IRpcClient) *Nep17Helper
func (*Nep17Helper) Decimals ¶
func (n *Nep17Helper) Decimals() (int, error)
func (*Nep17Helper) Symbol ¶
func (n *Nep17Helper) Symbol() (string, error)
func (*Nep17Helper) TotalSupply ¶
func (n *Nep17Helper) TotalSupply() (*big.Int, error)
Click to show internal directories.
Click to hide internal directories.