Documentation ¶
Index ¶
- func INSCONSTRUCTOR_New(data []byte) ([]byte, []byte, error)
- func INSMETHOD_AddFreeMigrationAddresses(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_GetMigrationAddressesAmount(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetPrototype(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetRef(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_SetRef(object []byte, data []byte) ([]byte, []byte, error)
- func INS_META_INFO() []map[string]string
- func Initialize() XXX_insolar.ContractWrapper
- type MigrationShard
- func (s *MigrationShard) AddFreeMigrationAddresses(migrationAddresses []string) error
- func (s *MigrationShard) GetFreeMigrationAddress() (string, error)
- func (s MigrationShard) GetMigrationAddressesAmount(migrationAddresses []string) (int, error)
- func (s MigrationShard) GetRef(key string) (string, error)
- func (s *MigrationShard) SetRef(ma string, ref string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func INSMETHOD_GetPrototype ¶
func INS_META_INFO ¶
func Initialize ¶
func Initialize() XXX_insolar.ContractWrapper
Types ¶
type MigrationShard ¶
type MigrationShard struct { foundation.BaseContract Map foundation.StableMap FreeMigrationAddresses []string }
MigrationShard - shard contract for migration addresses.
func (*MigrationShard) AddFreeMigrationAddresses ¶
func (s *MigrationShard) AddFreeMigrationAddresses(migrationAddresses []string) error
AddFreeMigrationAddresses add new addresses to the array of free migration addresses
func (*MigrationShard) GetFreeMigrationAddress ¶
func (s *MigrationShard) GetFreeMigrationAddress() (string, error)
GetFreeMigrationAddress gets free migration address from list
func (MigrationShard) GetMigrationAddressesAmount ¶
func (s MigrationShard) GetMigrationAddressesAmount(migrationAddresses []string) (int, error)
GetMigrationAddressesAmount gets amount of free migration addresses ins:immutable
Click to show internal directories.
Click to hide internal directories.