Documentation ¶
Index ¶
- Variables
- func GetPrototype() insolar.Reference
- type ContractConstructorHolder
- type DepositMigrationResult
- type MigrationDaemon
- func (r *MigrationDaemon) DepositMigrationCall(params map[string]interface{}, caller insolar.Reference) (*DepositMigrationResult, error)
- func (r *MigrationDaemon) DepositMigrationCallAsImmutable(params map[string]interface{}, caller insolar.Reference) (*DepositMigrationResult, error)
- func (r *MigrationDaemon) GetActivationStatus() (bool, error)
- func (r *MigrationDaemon) GetActivationStatusAsMutable() (bool, error)
- func (r *MigrationDaemon) GetCode() (insolar.Reference, error)
- func (r *MigrationDaemon) GetMigrationDaemonMember() (insolar.Reference, error)
- func (r *MigrationDaemon) GetMigrationDaemonMemberAsMutable() (insolar.Reference, error)
- func (r *MigrationDaemon) GetPrototype() (insolar.Reference, error)
- func (r *MigrationDaemon) GetReference() insolar.Reference
- func (r *MigrationDaemon) SetActivationStatus(status bool) error
- func (r *MigrationDaemon) SetActivationStatusAsImmutable(status bool) error
Constants ¶
This section is empty.
Variables ¶
var PrototypeReference, _ = insolar.NewObjectReferenceFromBase58("0111A7jZX41e1SpH9oW3F2dgUvVQdjSqXEAGQSxhbqmD")
PrototypeReference to prototype of this contract error checking hides in generator
Functions ¶
func GetPrototype ¶
GetPrototype returns reference to the prototype
Types ¶
type ContractConstructorHolder ¶
type ContractConstructorHolder struct {
// contains filtered or unexported fields
}
ContractConstructorHolder holds logic with object construction
func (*ContractConstructorHolder) AsChild ¶
func (r *ContractConstructorHolder) AsChild(objRef insolar.Reference) (*MigrationDaemon, error)
AsChild saves object as child
type DepositMigrationResult ¶
type DepositMigrationResult struct {
Reference string `json:"memberReference"`
}
type MigrationDaemon ¶
type MigrationDaemon struct { Reference insolar.Reference Prototype insolar.Reference Code insolar.Reference }
MigrationDaemon holds proxy type
func GetObject ¶
func GetObject(ref insolar.Reference) *MigrationDaemon
GetObject returns proxy object
func (*MigrationDaemon) DepositMigrationCall ¶
func (r *MigrationDaemon) DepositMigrationCall(params map[string]interface{}, caller insolar.Reference) (*DepositMigrationResult, error)
DepositMigrationCall is proxy generated method
func (*MigrationDaemon) DepositMigrationCallAsImmutable ¶
func (r *MigrationDaemon) DepositMigrationCallAsImmutable(params map[string]interface{}, caller insolar.Reference) (*DepositMigrationResult, error)
DepositMigrationCallAsImmutable is proxy generated method
func (*MigrationDaemon) GetActivationStatus ¶
func (r *MigrationDaemon) GetActivationStatus() (bool, error)
GetActivationStatusAsImmutable is proxy generated method
func (*MigrationDaemon) GetActivationStatusAsMutable ¶
func (r *MigrationDaemon) GetActivationStatusAsMutable() (bool, error)
GetActivationStatus is proxy generated method
func (*MigrationDaemon) GetCode ¶
func (r *MigrationDaemon) GetCode() (insolar.Reference, error)
GetCode returns reference to the code
func (*MigrationDaemon) GetMigrationDaemonMember ¶
func (r *MigrationDaemon) GetMigrationDaemonMember() (insolar.Reference, error)
GetMigrationDaemonMemberAsImmutable is proxy generated method
func (*MigrationDaemon) GetMigrationDaemonMemberAsMutable ¶
func (r *MigrationDaemon) GetMigrationDaemonMemberAsMutable() (insolar.Reference, error)
GetMigrationDaemonMember is proxy generated method
func (*MigrationDaemon) GetPrototype ¶
func (r *MigrationDaemon) GetPrototype() (insolar.Reference, error)
GetPrototype returns reference to the code
func (*MigrationDaemon) GetReference ¶
func (r *MigrationDaemon) GetReference() insolar.Reference
GetReference returns reference of the object
func (*MigrationDaemon) SetActivationStatus ¶
func (r *MigrationDaemon) SetActivationStatus(status bool) error
SetActivationStatus is proxy generated method
func (*MigrationDaemon) SetActivationStatusAsImmutable ¶
func (r *MigrationDaemon) SetActivationStatusAsImmutable(status bool) error
SetActivationStatusAsImmutable is proxy generated method