Documentation ¶
Index ¶
- Variables
- func INSMETHOD_AddMigrationAddress(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_AddMigrationAddresses(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_AddNewMemberToMaps(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_AddNewMemberToPublicKeyMap(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_CreateHelloWorld(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetCode(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetFreeMigrationAddress(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetMemberByMigrationAddress(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetMemberByPublicKey(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetNodeDomainRef(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetPrototype(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_Info(object []byte, data []byte) ([]byte, []byte, error)
- func INS_META_INFO() []map[string]string
- func Initialize() XXX_insolar.ContractWrapper
- type RootDomain
- func (rd *RootDomain) AddMigrationAddress(migrationAddress string) error
- func (rd *RootDomain) AddMigrationAddresses(migrationAddresses []string) error
- func (rd *RootDomain) AddNewMemberToMaps(publicKey string, migrationAddress string, memberRef insolar.Reference) error
- func (rd *RootDomain) AddNewMemberToPublicKeyMap(publicKey string, memberRef insolar.Reference) error
- func (rd *RootDomain) CreateHelloWorld() (string, error)
- func (rd *RootDomain) GetFreeMigrationAddress(publicKey string) (string, error)
- func (rd RootDomain) GetMemberByMigrationAddress(migrationAddress string) (*insolar.Reference, error)
- func (rd RootDomain) GetMemberByPublicKey(publicKey string) (*insolar.Reference, error)
- func (rd RootDomain) GetNodeDomainRef() (insolar.Reference, error)
- func (rd RootDomain) Info() (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var INSATTR_Info_API = true
Functions ¶
func INSMETHOD_GetPrototype ¶
func INS_META_INFO ¶
func Initialize ¶
func Initialize() XXX_insolar.ContractWrapper
Types ¶
type RootDomain ¶
type RootDomain struct { foundation.BaseContract MigrationAddressShards [insolar.GenesisAmountMigrationAddressShards]insolar.Reference PublicKeyShards [insolar.GenesisAmountPublicKeyShards]insolar.Reference NodeDomain insolar.Reference }
RootDomain is smart contract representing entrance point to system.
func (*RootDomain) AddMigrationAddress ¶
func (rd *RootDomain) AddMigrationAddress(migrationAddress string) error
AddMigrationAddress adds migration address to list.
func (*RootDomain) AddMigrationAddresses ¶
func (rd *RootDomain) AddMigrationAddresses(migrationAddresses []string) error
AddMigrationAddresses adds migration addresses to list.
func (*RootDomain) AddNewMemberToMaps ¶
func (rd *RootDomain) AddNewMemberToMaps(publicKey string, migrationAddress string, memberRef insolar.Reference) error
AddNewMemberToMaps adds new member to PublicKeyMap and MigrationAddressMap.
func (*RootDomain) AddNewMemberToPublicKeyMap ¶
func (rd *RootDomain) AddNewMemberToPublicKeyMap(publicKey string, memberRef insolar.Reference) error
AddNewMemberToPublicKeyMap adds new member to PublicKeyMap.
func (*RootDomain) CreateHelloWorld ¶
func (rd *RootDomain) CreateHelloWorld() (string, error)
func (*RootDomain) GetFreeMigrationAddress ¶
func (rd *RootDomain) GetFreeMigrationAddress(publicKey string) (string, error)
func (RootDomain) GetMemberByMigrationAddress ¶
func (rd RootDomain) GetMemberByMigrationAddress(migrationAddress string) (*insolar.Reference, error)
GetMemberByMigrationAddress gets member reference by burn address.
func (RootDomain) GetMemberByPublicKey ¶
func (rd RootDomain) GetMemberByPublicKey(publicKey string) (*insolar.Reference, error)
GetMemberByPublicKey gets member reference by public key. ins:immutable
func (RootDomain) GetNodeDomainRef ¶
func (rd RootDomain) GetNodeDomainRef() (insolar.Reference, error)
GetNodeDomainRef returns reference of NodeDomain instance ins:immutable
func (RootDomain) Info ¶
func (rd RootDomain) Info() (interface{}, error)
Info returns information about basic objects ins:immutable
Click to show internal directories.
Click to hide internal directories.