contracts

package
v0.0.0-...-fe383f3 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BalanceOf

func BalanceOf(holder interop.Hash160) int

BalanceOf returns the amount of token on the specified address

func Decimals

func Decimals() int

Decimals returns the token decimals

func Mint

func Mint(to interop.Hash160) bool

func OnNEP17Payment

func OnNEP17Payment(from interop.Hash160, amount int, data interface{})

func Symbol

func Symbol() string

Symbol returns the token symbol

func TotalSupply

func TotalSupply() int

TotalSupply returns the token total supply value

func Transfer

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

Transfer token from one user to another

Types

type State

type State = int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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