Documentation ¶
Overview ¶
Package gas provides interface to GasToken native contract. It implements regular NEP-17 functions for GAS token.
Index ¶
Constants ¶
View Source
const Hash = "\xcf\x76\xe2\x8b\xd0\x06\x2c\x4a\x47\x8e\xe3\x55\x61\x01\x13\x19\xf3\xcf\xa4\xd2"
Hash represents GAS contract hash.
Variables ¶
This section is empty.
Functions ¶
func Refuel ¶ added in v0.95.0
Refuel makes some GAS from the provided account available for the current execution. It represents `refuel` method of GAS native contract.
func TotalSupply ¶
func TotalSupply() int
TotalSupply represents `totalSupply` method of GAS native contract.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.