Documentation ¶
Index ¶
- Variables
- func GetPrototype() insolar.Reference
- type ContractConstructorHolder
- type DaemonConfirm
- type Deposit
- func (r *Deposit) Accept(amountStr string) error
- func (r *Deposit) Confirm(migrationDaemonRef string, txHash string, amountStr string) error
- func (r *Deposit) ConfirmAsImmutable(migrationDaemonRef string, txHash string, amountStr string) error
- func (r *Deposit) GetAmount() (string, error)
- func (r *Deposit) GetAmountAsMutable() (string, error)
- func (r *Deposit) GetCode() (insolar.Reference, error)
- func (r *Deposit) GetPrototype() (insolar.Reference, error)
- func (r *Deposit) GetPulseUnHold() (insolar.PulseNumber, error)
- func (r *Deposit) GetPulseUnHoldAsMutable() (insolar.PulseNumber, error)
- func (r *Deposit) GetReference() insolar.Reference
- func (r *Deposit) GetTxHash() (string, error)
- func (r *Deposit) GetTxHashAsImmutable() (string, error)
- func (r *Deposit) Itself() (interface{}, error)
- func (r *Deposit) ItselfAsMutable() (interface{}, error)
- func (r *Deposit) Transfer(amountStr string, memberRef insolar.Reference) (interface{}, error)
- func (r *Deposit) TransferAsImmutable(amountStr string, memberRef insolar.Reference) (interface{}, error)
- type DepositOut
Constants ¶
This section is empty.
Variables ¶
View Source
var PrototypeReference, _ = insolar.NewReferenceFromBase58("0111A7ctasuNUug8BoK4VJNuAFJ73rnH8bH5zqd5HrDj")
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
type DaemonConfirm ¶ added in v0.9.9
type Deposit ¶
type Deposit struct { Reference insolar.Reference Prototype insolar.Reference Code insolar.Reference }
Deposit holds proxy type
func (*Deposit) ConfirmAsImmutable ¶
func (r *Deposit) ConfirmAsImmutable(migrationDaemonRef string, txHash string, amountStr string) error
ConfirmAsImmutable is proxy generated method
func (*Deposit) GetAmountAsMutable ¶
GetAmount is proxy generated method
func (*Deposit) GetPrototype ¶
GetPrototype returns reference to the code
func (*Deposit) GetPulseUnHold ¶
func (r *Deposit) GetPulseUnHold() (insolar.PulseNumber, error)
GetPulseUnHoldAsImmutable is proxy generated method
func (*Deposit) GetPulseUnHoldAsMutable ¶
func (r *Deposit) GetPulseUnHoldAsMutable() (insolar.PulseNumber, error)
GetPulseUnHold is proxy generated method
func (*Deposit) GetReference ¶
GetReference returns reference of the object
func (*Deposit) GetTxHashAsImmutable ¶ added in v0.9.8
GetTxHashAsImmutable is proxy generated method
func (*Deposit) ItselfAsMutable ¶
Itself is proxy generated method
type DepositOut ¶ added in v0.9.9
type DepositOut struct { Balance string `json:"balance"` PulseDepositUnHold insolar.PulseNumber `json:"holdReleaseDate"` MigrationDaemonConfirms []DaemonConfirm `json:"confirmerReferences"` Amount string `json:"amount"` TxHash string `json:"ethTxHash"` VestingType foundation.VestingType `json:"vestingType"` MaturePulse insolar.PulseNumber `json:"maturePulse"` Lockup int64 `json:"lockupInPulses"` Vesting int64 `json:"vestingInPulses"` VestingStep int64 `json:"vestingStepInPulses"` }
Click to show internal directories.
Click to hide internal directories.