migrationdaemon

package
v0.9.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const CONVERSION = "10"

Variables

This section is empty.

Functions

func INSMETHOD_DepositMigrationCall

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

func INSMETHOD_GetActivationStatus

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

func INSMETHOD_GetCode

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

func INSMETHOD_GetMigrationDaemonMember

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

func INSMETHOD_GetPrototype

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

func INSMETHOD_SetActivationStatus

func INSMETHOD_SetActivationStatus(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 DepositMigrationResult

type DepositMigrationResult struct {
	Reference string `json:"memberReference"`
}

DepositMigrationResult struct for return reference from contract.

type MigrationDaemon

type MigrationDaemon struct {
	foundation.BaseContract
	IsActive              bool
	MigrationDaemonMember insolar.Reference
}

MigrationDaemon make migration procedure.

func (*MigrationDaemon) DepositMigrationCall

func (md *MigrationDaemon) DepositMigrationCall(params map[string]interface{}, caller insolar.Reference) (*DepositMigrationResult, error)

DepositMigrationCall internal function migration admin from api.

func (*MigrationDaemon) GetActivationStatus

func (md *MigrationDaemon) GetActivationStatus() (bool, error)

Return status migration daemon. ins:immutable

func (*MigrationDaemon) GetMigrationDaemonMember

func (md *MigrationDaemon) GetMigrationDaemonMember() (insolar.Reference, error)

Return reference on migration daemon. ins:immutable

func (*MigrationDaemon) SetActivationStatus

func (md *MigrationDaemon) SetActivationStatus(status bool) error

Set status Migration daemon.

Jump to

Keyboard shortcuts

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