migrationadmin

package
v0.9.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PrototypeReference, _ = insolar.NewReferenceFromBase58("0111A8DhUhw5pzyvzVg1qXomNEHXs7kDtJRQGSD1PUpc")

PrototypeReference to prototype of this contract error checking hides in generator

Functions

func GetPrototype

func GetPrototype() insolar.Reference

GetPrototype returns reference to the prototype

Types

type CheckDaemonResponse

type CheckDaemonResponse struct {
	Status string `json:"status"`
}

type ContractConstructorHolder

type ContractConstructorHolder struct {
	// contains filtered or unexported fields
}

ContractConstructorHolder holds logic with object construction

func (*ContractConstructorHolder) AsChild

AsChild saves object as child

type MigrationAdmin

type MigrationAdmin struct {
	Reference insolar.Reference
	Prototype insolar.Reference
	Code      insolar.Reference
}

MigrationAdmin holds proxy type

func GetObject

func GetObject(ref insolar.Reference) *MigrationAdmin

GetObject returns proxy object

func (*MigrationAdmin) AddNewMigrationAddressToMaps

func (r *MigrationAdmin) AddNewMigrationAddressToMaps(migrationAddress string, memberRef insolar.Reference) error

AddNewMigrationAddressToMaps is proxy generated method

func (*MigrationAdmin) AddNewMigrationAddressToMapsAsImmutable added in v0.9.2

func (r *MigrationAdmin) AddNewMigrationAddressToMapsAsImmutable(migrationAddress string, memberRef insolar.Reference) error

AddNewMigrationAddressToMapsAsImmutable is proxy generated method

func (*MigrationAdmin) GetCode

func (r *MigrationAdmin) GetCode() (insolar.Reference, error)

GetCode returns reference to the code

func (*MigrationAdmin) GetDepositParameters

func (r *MigrationAdmin) GetDepositParameters() (*VestingParams, error)

GetDepositParameters is proxy generated method

func (*MigrationAdmin) GetDepositParametersAsImmutable

func (r *MigrationAdmin) GetDepositParametersAsImmutable() (*VestingParams, error)

GetDepositParametersAsImmutable is proxy generated method

func (*MigrationAdmin) GetFreeMigrationAddress

func (r *MigrationAdmin) GetFreeMigrationAddress(publicKey string) (string, error)

GetFreeMigrationAddressAsImmutable is proxy generated method

func (*MigrationAdmin) GetFreeMigrationAddressAsMutable

func (r *MigrationAdmin) GetFreeMigrationAddressAsMutable(publicKey string) (string, error)

GetFreeMigrationAddress is proxy generated method

func (*MigrationAdmin) GetMemberByMigrationAddress

func (r *MigrationAdmin) GetMemberByMigrationAddress(migrationAddress string) (*insolar.Reference, error)

GetMemberByMigrationAddressAsImmutable is proxy generated method

func (*MigrationAdmin) GetMemberByMigrationAddressAsMutable

func (r *MigrationAdmin) GetMemberByMigrationAddressAsMutable(migrationAddress string) (*insolar.Reference, error)

GetMemberByMigrationAddress is proxy generated method

func (*MigrationAdmin) GetMigrationDaemonByMemberRef added in v0.9.1

func (r *MigrationAdmin) GetMigrationDaemonByMemberRef(memberRef string) (insolar.Reference, error)

GetMigrationDaemonByMemberRefAsImmutable is proxy generated method

func (*MigrationAdmin) GetMigrationDaemonByMemberRefAsMutable added in v0.9.1

func (r *MigrationAdmin) GetMigrationDaemonByMemberRefAsMutable(memberRef string) (insolar.Reference, error)

GetMigrationDaemonByMemberRef is proxy generated method

func (*MigrationAdmin) GetPrototype

func (r *MigrationAdmin) GetPrototype() (insolar.Reference, error)

GetPrototype returns reference to the code

func (*MigrationAdmin) GetReference

func (r *MigrationAdmin) GetReference() insolar.Reference

GetReference returns reference of the object

func (*MigrationAdmin) MigrationAdminCall

func (r *MigrationAdmin) MigrationAdminCall(params map[string]interface{}, nameMethod string, caller insolar.Reference) (interface{}, error)

MigrationAdminCall is proxy generated method

func (*MigrationAdmin) MigrationAdminCallAsImmutable

func (r *MigrationAdmin) MigrationAdminCallAsImmutable(params map[string]interface{}, nameMethod string, caller insolar.Reference) (interface{}, error)

MigrationAdminCallAsImmutable is proxy generated method

type VestingParams

type VestingParams struct {
	Lockup      int64 `json:"lockupInPulses"`
	Vesting     int64 `json:"vestingInPulses"`
	VestingStep int64 `json:"vestingStepInPulses"`
}

Jump to

Keyboard shortcuts

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