util

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveContainerID added in v0.31.0

func ResolveContainerID(containerID, rpcAddress string) (cid.ID, error)

ResolveContainerID determine container id by resolving NNS name.

func ResolveContractHash

func ResolveContractHash(contractHash, rpcAddress string) (util.Uint160, error)

ResolveContractHash determine contract hash by resolving NNS name.

func TimeToEpoch added in v0.31.0

func TimeToEpoch(ni *netmap.NetworkInfo, now, t time.Time) (uint64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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