Documentation ¶
Index ¶
- Constants
- func BalanceOf(addr interop.Hash160) int
- func Decimals() int
- func GetCandidates() []interop.PublicKey
- func GetCommittee() []interop.PublicKey
- func GetGASPerBlock() int
- func GetNextBlockValidators() []interop.PublicKey
- func RegisterCandidate(pub interop.PublicKey) bool
- func SetGASPerBlock(amount int)
- func Symbol() string
- func TotalSupply() int
- func Transfer(from, to interop.Hash160, amount int, data interface{}) bool
- func UnclaimedGAS(addr interop.Hash160, end int) int
- func UnregisterCandidate(pub interop.PublicKey) bool
- func Vote(addr interop.Hash160, pub interop.PublicKey) bool
Constants ¶
const Hash = "\x83\xab\x06\x79\xad\x55\xc0\x50\xa1\x3a\xd4\x3f\x59\x36\xea\x73\xf5\xeb\x1e\xf6"
Hash represents NEO contract hash.
Variables ¶
This section is empty.
Functions ¶
func GetCandidates ¶
GetCandidates represents `getCandidates` method of NEO native contract.
func GetCommittee ¶
GetCommittee represents `getCommittee` method of NEO native contract.
func GetGASPerBlock ¶
func GetGASPerBlock() int
GetGASPerBlock represents `getGasPerBlock` method of NEO native contract.
func GetNextBlockValidators ¶
GetNextBlockValidators represents `getNextBlockValidators` method of NEO native contract.
func RegisterCandidate ¶
RegisterCandidate represents `registerCandidate` method of NEO native contract.
func SetGASPerBlock ¶
func SetGASPerBlock(amount int)
SetGASPerBlock represents `setGasPerBlock` method of NEO native contract.
func TotalSupply ¶
func TotalSupply() int
TotalSupply represents `totalSupply` method of NEO native contract.
func UnclaimedGAS ¶
UnclaimedGAS represents `unclaimedGas` method of NEO native contract.
func UnregisterCandidate ¶
UnregisterCandidate represents `unregisterCandidate` method of NEO native contract.
Types ¶
This section is empty.