Documentation ¶
Index ¶
- func INSCONSTRUCTOR_New(data []byte) ([]byte, []byte, error)
- func INSMETHOD_Accept(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetBalance(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_RollBack(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_TransferToAccount(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_TransferToDeposit(object []byte, data []byte) ([]byte, []byte, error)
- func INS_META_INFO() []map[string]string
- func Initialize() XXX_insolar.ContractWrapper
- type Account
- func (a *Account) Accept(amountStr string) error
- func (a *Account) GetBalance() (string, error)
- func (a *Account) RollBack(amountStr string) error
- func (a *Account) TransferToAccount(amountStr string, toAccount insolar.Reference) error
- func (a *Account) TransferToDeposit(amountStr string, toDeposit insolar.Reference) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func INSMETHOD_GetBalance ¶
func INSMETHOD_GetPrototype ¶
func INSMETHOD_RollBack ¶
func INS_META_INFO ¶
func Initialize ¶
func Initialize() XXX_insolar.ContractWrapper
Types ¶
type Account ¶
type Account struct { foundation.BaseContract Balance string }
func (*Account) GetBalance ¶
GetBalance gets total balance. ins:immutable
func (*Account) TransferToAccount ¶
TransferToAccount transfers funds to account.
Click to show internal directories.
Click to hide internal directories.