Versions in this module Expand all Collapse all v0 v0.2.3 Jul 1, 2019 v0.2.2 Nov 15, 2018 v0.2.1 Nov 14, 2018 v0.2.0 Nov 14, 2018 Changes in this version + func SerializeBatches(batches []*Batch) []byte + func SerializeTransactions(transactions []*Transaction) []byte + type Batch batch_pb2.Batch + func ParseBatches(b []byte) ([]*Batch, error) + func (b *Batch) ToPb() *batch_pb2.Batch + type Client struct + Url string + func New(url string) *Client + func (c *Client) CreateContractAccount(priv []byte, init []byte, perms *EvmPermissions, nonce uint64, gas uint64, ...) (*ClientResult, error) + func (c *Client) CreateExternalAccount(priv, moderator []byte, perms *EvmPermissions, nonce uint64, wait int) (*ClientResult, error) + func (c *Client) Get(address []byte) (*EvmEntry, error) + func (c *Client) GetEvents(txnID string) (*ClientResult, error) + func (c *Client) GetSethReceipt(txnID string) (*ClientResult, error) + func (c *Client) LookupAccountNonce(priv []byte) (uint64, error) + func (c *Client) MessageCall(priv, to, data []byte, nonce uint64, gas uint64, wait int, ...) (*ClientResult, error) + func (c *Client) SetPermissions(priv, to []byte, permissions *EvmPermissions, nonce uint64, wait int) error + type ClientResult struct + Address []byte + Events []Event + GasUsed uint64 + ReturnValue []byte + TransactionID string + func (r *ClientResult) MarshalJSON() ([]byte, error) + type Encoder struct + func NewEncoder(private_key []byte, defaults TransactionParams) *Encoder + func (self *Encoder) NewBatch(transactions []*Transaction) *Batch + func (self *Encoder) NewTransaction(payload []byte, p TransactionParams) *Transaction + type ErrorBody struct + Code int + Message string + Title string + func (e *ErrorBody) Error() string + func (e *ErrorBody) String() string + type Event struct + Attributes []struct{ ... } + Data string + EventType string + type ReceiptRespBody struct + Data []TransactionReceipt + Error ErrorBody + Head string + Link string + func ParseReceiptBody(resp *http.Response) (*ReceiptRespBody, error) + func ParseReceiptBodyData(buf []byte) (*ReceiptRespBody, error) + type RespBody struct + Data interface{} + Error ErrorBody + Head string + Link string + func ParseBodyData(buf []byte) (*RespBody, error) + func ParseRespBody(resp *http.Response) (*RespBody, error) + func (r *RespBody) String() string + type Transaction transaction_pb2.Transaction + func ParseTransactions(b []byte) ([]*Transaction, error) + func (t *Transaction) Id() string + func (t *Transaction) ToPb() *transaction_pb2.Transaction + type TransactionParams struct + BatcherPublicKey string + Dependencies []string + FamilyName string + FamilyVersion string + Inputs []string + Nonce string + Outputs []string + type TransactionReceipt struct + Data []string + Events []Event + StateChanges []struct{ ... } + TransactionId string