gas

package
v0.94.0-pre Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2021 License: MIT Imports: 2 Imported by: 13

Documentation

Index

Constants

View Source
const Hash = "\x28\xb3\xad\xab\x72\x69\xf9\xc2\x18\x1d\xb3\xcb\x74\x1e\xbf\x55\x19\x30\xe2\x70"

Hash represents GAS contract hash.

Variables

This section is empty.

Functions

func BalanceOf

func BalanceOf(addr interop.Hash160) int

BalanceOf represents `balanceOf` method of GAS native contract.

func Decimals

func Decimals() int

Decimals represents `decimals` method of GAS native contract.

func Symbol

func Symbol() string

Symbol represents `symbol` method of GAS native contract.

func TotalSupply

func TotalSupply() int

TotalSupply represents `totalSupply` method of GAS native contract.

func Transfer

func Transfer(from, to interop.Hash160, amount int, data interface{}) bool

Transfer represents `transfer` method of GAS native contract.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL