Documentation ¶
Index ¶
- Constants
- func INSMETHOD_DepositMigrationCall(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetActivationStatus(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetCode(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetMigrationDaemonMember(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetPrototype(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_SetActivationStatus(object []byte, data []byte) ([]byte, []byte, error)
- func INS_META_INFO() []map[string]string
- func Initialize() XXX_insolar.ContractWrapper
- type DepositMigrationResult
- type MigrationDaemon
- func (md *MigrationDaemon) DepositMigrationCall(params map[string]interface{}, caller insolar.Reference) (*DepositMigrationResult, error)
- func (md *MigrationDaemon) GetActivationStatus() (bool, error)
- func (md *MigrationDaemon) GetMigrationDaemonMember() (insolar.Reference, error)
- func (md *MigrationDaemon) SetActivationStatus(status bool) error
Constants ¶
View Source
const CONVERSION = "10"
Variables ¶
This section is empty.
Functions ¶
func INSMETHOD_GetPrototype ¶
func INS_META_INFO ¶
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.
Click to show internal directories.
Click to hide internal directories.