contractsconfig

package
v0.0.0-...-79ba347 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 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 the value of "balance" config parameter from "contracts" section.

Returns zero filled script hash if the value is not set. Throws panic if the value is not a 20-byte LE hex-encoded string.

func Container

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

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

Returns zero filled script hash if the value is not set. Throws panic if the value is not a 20-byte LE hex-encoded string.

func Netmap

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

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

Returns zero filled script hash if the value is not set. Throws panic if the value is not a 20-byte LE hex-encoded string.

func Proxy

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

Proxy returnsthe value of "proxy" config parameter from "contracts" section.

Returns zero filled script hash if the value is not set. Throws panic if the value is not a 20-byte LE hex-encoded string.

func Reputation

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

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

Returns zero filled script hash if the value is not set. Throws panic if the value 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