Documentation ¶
Index ¶
- Constants
- Variables
- func INSCONSTRUCTOR_New(ref insolar.Reference, data []byte) (state []byte, result []byte, err error)
- func INSMETHOD_Accept(object []byte, data []byte) (newState []byte, result []byte, err error)
- func INSMETHOD_AcceptBurn(object []byte, data []byte) (newState []byte, result []byte, err error)
- func INSMETHOD_Call(object []byte, data []byte) (newState []byte, result []byte, err error)
- func INSMETHOD_GetAccount(object []byte, data []byte) (newState []byte, result []byte, err error)
- func INSMETHOD_GetCode(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetMigrationAddress(object []byte, data []byte) (newState []byte, result []byte, err error)
- func INSMETHOD_GetPrototype(object []byte, data []byte) ([]byte, []byte, error)
- func INSMETHOD_GetWallet(object []byte, data []byte) (newState []byte, result []byte, err error)
- func INS_META_INFO() []map[string]string
- func Initialize() insolar.ContractWrapper
- type CreateResponse
- type GetBalanceResponse
- type GetResponse
- type Member
- func (m *Member) Accept(arg appfoundation.SagaAcceptInfo) error
- func (m *Member) AcceptBurn(arg appfoundation.SagaAcceptInfo) error
- func (m *Member) Call(signedRequest []byte) (interface{}, error)
- func (m *Member) GetAccount(assetName string) (*insolar.Reference, error)
- func (m *Member) GetMigrationAddress() (string, error)
- func (m *Member) GetWallet() (*insolar.Reference, error)
- type MigrationCreateResponse
- type Params
- type Request
- type TransferResponse
Constants ¶
View Source
const (
// 10 ^ 14
ACCOUNT_START_VALUE = "0"
)
View Source
const PanicIsLogicalError = false
Variables ¶
View Source
var INSATTR_Call_API = true
Functions ¶
func INSCONSTRUCTOR_New ¶
func INSMETHOD_Accept ¶
func INSMETHOD_AcceptBurn ¶
func INSMETHOD_Call ¶
func INSMETHOD_GetAccount ¶
func INSMETHOD_GetPrototype ¶
func INSMETHOD_GetWallet ¶
func INS_META_INFO ¶
func Initialize ¶
func Initialize() insolar.ContractWrapper
Types ¶
type CreateResponse ¶
type CreateResponse struct {
Reference string `json:"reference"`
}
Create member methods.
type GetBalanceResponse ¶
type GetResponse ¶
type Member ¶
type Member struct { foundation.BaseContract PublicKey string MigrationAddress string Wallet insolar.Reference }
Member - basic member contract.
func (*Member) Accept ¶
func (m *Member) Accept(arg appfoundation.SagaAcceptInfo) error
Accept accepts transfer to balance. FromMember and Request not used, but needed by observer, do not remove
func (*Member) AcceptBurn ¶
func (m *Member) AcceptBurn(arg appfoundation.SagaAcceptInfo) error
AcceptBurn accepts coins to burn. FromMember and Request not used, but needed by observer, do not remove
func (*Member) GetAccount ¶
GetAccount gets account. ins:immutable
func (*Member) GetMigrationAddress ¶
ins:immutable
type MigrationCreateResponse ¶
type TransferResponse ¶
type TransferResponse struct {
Fee string `json:"fee"`
}
Click to show internal directories.
Click to hide internal directories.