Documentation ¶
Index ¶
- Constants
- func INSCONSTRUCTOR_New(data []byte) ([]byte, []byte, error)
- func INSMETHOD_Accept(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_Confirm(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetAmount(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetCode(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetPrototype(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetPulseUnHold(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetTxHash(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_Itself(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_Transfer(object []byte, data []byte) ([]byte, []byte, error)
- func INS_META_INFO() []map[string]string
- func Initialize() XXX_insolar.ContractWrapper
- type Deposit
- func (d *Deposit) Accept(amountStr string) error
- func (d *Deposit) Confirm(migrationDaemonRef string, txHash string, amountStr string) error
- func (d Deposit) GetAmount() (string, error)
- func (d *Deposit) GetPulseUnHold() (insolar.PulseNumber, error)
- func (d Deposit) GetTxHash() (string, error)
- func (d Deposit) Itself() (interface{}, error)
- func (d *Deposit) Transfer(amountStr string, wallerRef insolar.Reference) (interface{}, error)
Constants ¶
View Source
const (
XNS = "XNS"
)
Variables ¶
This section is empty.
Functions ¶
func INSMETHOD_GetAmount ¶
func INSMETHOD_GetPrototype ¶
func INSMETHOD_GetTxHash ¶
func INSMETHOD_Transfer ¶
func INS_META_INFO ¶
func Initialize ¶
func Initialize() XXX_insolar.ContractWrapper
Types ¶
type Deposit ¶
type Deposit struct { foundation.BaseContract Balance string `json:"balance"` PulseDepositUnHold insolar.PulseNumber `json:"holdReleaseDate"` MigrationDaemonConfirms foundation.StableMap `json:"confirmerReferences"` Amount string `json:"amount"` Bonus string `json:"bonus"` TxHash string `json:"ethTxHash"` }
Deposit is like wallet. It holds migrated money.
func (*Deposit) GetPulseUnHold ¶
func (d *Deposit) GetPulseUnHold() (insolar.PulseNumber, error)
Return pulse of unhold deposit. ins:immutable
Click to show internal directories.
Click to hide internal directories.