pkshard

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func INSCONSTRUCTOR_New

func INSCONSTRUCTOR_New(data []byte) ([]byte, []byte, error)

func INSMETHOD_GetCode

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

func INSMETHOD_GetPrototype

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

func INSMETHOD_GetRef

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

func INSMETHOD_SetRef

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

func INS_META_INFO

func INS_META_INFO() []map[string]string

func Initialize

func Initialize() XXX_insolar.ContractWrapper

Types

type PKShard

type PKShard struct {
	foundation.BaseContract
	Map foundation.StableMap
}

PKShard - shard contract for public keys.

func New

func New(members foundation.StableMap) (*PKShard, error)

New creates new member.

func (PKShard) GetRef

func (s PKShard) GetRef(key string) (string, error)

GetRef gets ref by key. ins:immutable

func (*PKShard) SetRef

func (s *PKShard) SetRef(key string, ref string) error

SetRef sets reference with public key as a key.

Jump to

Keyboard shortcuts

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