contractsconfig

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Balance

func Balance(c *config.Config) util.Uint160

Balance returns value of "balance" config parameter from "contracts" section.

Throws panic if value is not is not a 20-byte LE hex-encoded string.

func Container

func Container(c *config.Config) util.Uint160

Container returns value of "container" config parameter from "contracts" section.

Throws panic if value is not is not a 20-byte LE hex-encoded string.

func Netmap

func Netmap(c *config.Config) util.Uint160

Netmap returns value of "netmap" config parameter from "contracts" section.

Throws panic if value is not is not a 20-byte LE hex-encoded string.

func Reputation

func Reputation(c *config.Config) util.Uint160

Reputation returns value of "reputation" config parameter from "contracts" section.

Throws panic if value is not is not a 20-byte LE hex-encoded string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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