contracts

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: GPL-3.0, Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package contracts embeds compiled NeoFS contracts and provides access to them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	NEF      nef.File
	Manifest manifest.Manifest
}

Contract groups information about Neo contract stored in the current package.

func GetFS

func GetFS() ([]Contract, error)

GetFS returns current set of NeoFS chain contracts stored in the package. They're returned in the order they're supposed to be deployed starting from NNS.

func GetMain

func GetMain() ([]Contract, error)

GetMain returns current set of mainnet contracts stored in the package. They're returned in the order they're supposed to be deployed starting from NeoFS contract.

Directories

Path Synopsis
Package alphabet implements Alphabet contract which is deployed to FS chain.
Package alphabet implements Alphabet contract which is deployed to FS chain.
Package audit implements Audit contract which is deployed to FS chain.
Package audit implements Audit contract which is deployed to FS chain.
Package balance implements Balance contract which is deployed to FS chain.
Package balance implements Balance contract which is deployed to FS chain.
Package container implements Container contract which is deployed to FS chain.
Package container implements Container contract which is deployed to FS chain.
Package neofs contains NeoFS contract which is deployed to main chain.
Package neofs contains NeoFS contract which is deployed to main chain.
Package neofsid contains NeoFSID contract which is deployed to FS chain.
Package neofsid contains NeoFSID contract which is deployed to FS chain.
Package netmap contains implementation of the Netmap contract for NeoFS systems.
Package netmap contains implementation of the Netmap contract for NeoFS systems.
nns
Package nns contains non-divisible non-fungible NEP11-compatible token implementation.
Package nns contains non-divisible non-fungible NEP11-compatible token implementation.
Package processing contains Processing contract which is deployed to main chain.
Package processing contains Processing contract which is deployed to main chain.
Package proxy implements Proxy contract which is deployed to FS chain.
Package proxy implements Proxy contract which is deployed to FS chain.
Package reputation implements Reputation contract which is deployed to FS chain.
Package reputation implements Reputation contract which is deployed to FS chain.

Jump to

Keyboard shortcuts

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