Help us shape the future of Go! Take the 2026 Go Developer Survey

contractsconfig

package
v0.43.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 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 FrostfsID added in v0.38.0

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

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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