rootdomain

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const PanicIsLogicalError = false

Variables

This section is empty.

Functions

func INSMETHOD_AddNewMemberToPublicKeyMap

func INSMETHOD_AddNewMemberToPublicKeyMap(object []byte, data []byte) (newState []byte, result []byte, err error)

func INSMETHOD_GetCode

func INSMETHOD_GetCode(object []byte, data []byte) ([]byte, []byte, error)

func INSMETHOD_GetMemberByPublicKey

func INSMETHOD_GetMemberByPublicKey(object []byte, data []byte) (newState []byte, result []byte, err error)

func INSMETHOD_GetPrototype

func INSMETHOD_GetPrototype(object []byte, data []byte) ([]byte, []byte, error)

func INS_META_INFO

func INS_META_INFO() []map[string]string

func Initialize

func Initialize() insolar.ContractWrapper

Types

type RootDomain

type RootDomain struct {
	foundation.BaseContract
	PublicKeyShards []insolar.Reference
}

RootDomain is smart contract representing entrance point to system.

func (*RootDomain) AddNewMemberToPublicKeyMap

func (rd *RootDomain) AddNewMemberToPublicKeyMap(publicKey string, memberRef insolar.Reference) error

AddNewMemberToPublicKeyMap adds new member to PublicKeyMap. ins:immutable

func (*RootDomain) GetMemberByPublicKey

func (rd *RootDomain) GetMemberByPublicKey(publicKey string) (*insolar.Reference, error)

GetMemberByPublicKey gets member reference by public key. ins:immutable

Jump to

Keyboard shortcuts

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