Documentation ¶
Index ¶
- Variables
- func GetPrototype() insolar.Reference
- type ContractConstructorHolder
- type DaemonConfirm
- type Deposit
- func (r *Deposit) Accept(arg appfoundation.SagaAcceptInfo) error
- func (r *Deposit) Confirm(txHash string, amountStr string, fromMember insolar.Reference, ...) error
- func (r *Deposit) ConfirmAsImmutable(txHash string, amountStr string, fromMember insolar.Reference, ...) 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, request insolar.Reference) (interface{}, error)
- func (r *Deposit) TransferAsImmutable(amountStr string, memberRef insolar.Reference, request insolar.Reference) (interface{}, error)
- func (r *Deposit) TransferToDeposit(amountStr string, toDeposit insolar.Reference, fromMember insolar.Reference, ...) error
- func (r *Deposit) TransferToDepositAsImmutable(amountStr string, toDeposit insolar.Reference, fromMember insolar.Reference, ...) error
- type DepositOut
Constants ¶
This section is empty.
Variables ¶
var PrototypeReference, _ = insolar.NewObjectReferenceFromString("insolar:0AAABAsPCPoB0_7TDBh7dydzcQcqFqlbDu0bDPGr27oY")
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 ¶
type Deposit ¶
type Deposit struct { Reference insolar.Reference Prototype insolar.Reference Code insolar.Reference }
Deposit holds proxy type
func (*Deposit) Accept ¶
func (r *Deposit) Accept(arg appfoundation.SagaAcceptInfo) error
Accept is proxy generated method
func (*Deposit) Confirm ¶
func (r *Deposit) Confirm(txHash string, amountStr string, fromMember insolar.Reference, request insolar.Reference) error
Confirm is proxy generated method
func (*Deposit) ConfirmAsImmutable ¶
func (r *Deposit) ConfirmAsImmutable(txHash string, amountStr string, fromMember insolar.Reference, request insolar.Reference) 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 ¶
GetTxHashAsImmutable is proxy generated method
func (*Deposit) ItselfAsMutable ¶
Itself is proxy generated method
func (*Deposit) Transfer ¶
func (r *Deposit) Transfer(amountStr string, memberRef insolar.Reference, request insolar.Reference) (interface{}, error)
Transfer is proxy generated method
func (*Deposit) TransferAsImmutable ¶
func (r *Deposit) TransferAsImmutable(amountStr string, memberRef insolar.Reference, request insolar.Reference) (interface{}, error)
TransferAsImmutable is proxy generated method
type DepositOut ¶
type DepositOut struct { Balance string `json:"balance"` HoldStartDate int64 `json:"holdStartDate"` PulseDepositUnHold int64 `json:"holdReleaseDate"` MigrationDaemonConfirms []DaemonConfirm `json:"confirmerReferences"` Amount string `json:"amount"` TxHash string `json:"ethTxHash"` VestingType appfoundation.VestingType `json:"vestingType"` Lockup int64 `json:"lockup"` Vesting int64 `json:"vesting"` VestingStep int64 `json:"vestingStep"` }