Documentation ¶
Index ¶
- func ToV0DBOp(in *pbcodec.DBOp) *v0.DBOp
- func ToV0DBOps(in []*pbcodec.DBOp) (out []*v0.DBOp)
- func ToV0DTrxOp(in *pbcodec.DTrxOp) *v0.DTrxOp
- func ToV0DTrxOps(in []*pbcodec.DTrxOp) (out []*v0.DTrxOp)
- func ToV0RAMOp(in *pbcodec.RAMOp) *v0.RAMOp
- func ToV0RAMOps(in []*pbcodec.RAMOp) (out []*v0.RAMOp)
- func ToV0TableOps(in []*pbcodec.TableOp) []*v0.TableOp
- func ToV1AccountRAMDelta(in *pbcodec.AccountRAMDelta) *v1.AccountRAMDelta
- func ToV1AccountRAMDeltas(in []*pbcodec.AccountRAMDelta) (out []*v1.AccountRAMDelta)
- func ToV1ActionReceipt(receiver string, in *pbcodec.ActionReceipt) v1.ActionReceipt
- func ToV1ActionTrace(in *pbcodec.ActionTrace) (*v1.ActionTrace, error)
- func ToV1ActionTraceRaw(parentAction *pbcodec.ActionTrace, actions []*pbcodec.ActionTrace, ...) (json.RawMessage, error)
- func ToV1ActionTraces(in []*pbcodec.ActionTrace) (out []*v1.ActionTrace, err error)
- func ToV1CreationTree(in []*pbcodec.CreationFlatNode) v1.CreationFlatTree
- func ToV1DBOp(in *pbcodec.DBOp) *v1.DBOp
- func ToV1DBOps(in []*pbcodec.DBOp) (out []*v1.DBOp)
- func ToV1DBRow(data []byte, payer string) *v1.DBRow
- func ToV1DTrxOp(in *pbcodec.DTrxOp) (*v1.DTrxOp, error)
- func ToV1DTrxOps(in []*pbcodec.DTrxOp) (out []*v1.DTrxOp, err error)
- func ToV1ExtDTrxOp(in *pbcodec.ExtDTrxOp) (*v1.ExtDTrxOp, error)
- func ToV1RAMOp(in *pbcodec.RAMOp) *v1.RAMOp
- func ToV1RAMOps(in []*pbcodec.RAMOp) (out []*v1.RAMOp)
- func ToV1TableOps(in []*pbcodec.TableOp) []*v1.TableOp
- func ToV1TransactionLifecycle(in *pbcodec.TransactionLifecycle) (*v1.TransactionLifecycle, error)
- func ToV1TransactionTrace(in *pbcodec.TransactionTrace) (*v1.TransactionTrace, error)
- type Account
- type AccountCreator
- type AccountResponse
- type AccountVerifications
- type BlockSummary
- type ExtendedStack
- type LinkedPermission
- type Proposition
- type Suggestion
- type SuggestionSection
- type TransactionList
- type Verifiable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToV1AccountRAMDelta ¶
func ToV1AccountRAMDelta(in *pbcodec.AccountRAMDelta) *v1.AccountRAMDelta
func ToV1AccountRAMDeltas ¶
func ToV1AccountRAMDeltas(in []*pbcodec.AccountRAMDelta) (out []*v1.AccountRAMDelta)
func ToV1ActionReceipt ¶
func ToV1ActionReceipt(receiver string, in *pbcodec.ActionReceipt) v1.ActionReceipt
func ToV1ActionTrace ¶
func ToV1ActionTrace(in *pbcodec.ActionTrace) (*v1.ActionTrace, error)
func ToV1ActionTraceRaw ¶
func ToV1ActionTraceRaw(parentAction *pbcodec.ActionTrace, actions []*pbcodec.ActionTrace, withInlines bool) (json.RawMessage, error)
ToV1ActionTraceRaw converts betwen `pbcodec.ActionWrap` format to the old v1 action traces format containing `inline_traces` object.
**Warning** The `actions` parameter is expected to be sorted by execution order (the default) for the algorithm to work correctly.
func ToV1ActionTraces ¶
func ToV1ActionTraces(in []*pbcodec.ActionTrace) (out []*v1.ActionTrace, err error)
func ToV1CreationTree ¶
func ToV1CreationTree(in []*pbcodec.CreationFlatNode) v1.CreationFlatTree
func ToV1TransactionLifecycle ¶
func ToV1TransactionLifecycle(in *pbcodec.TransactionLifecycle) (*v1.TransactionLifecycle, error)
func ToV1TransactionTrace ¶
func ToV1TransactionTrace(in *pbcodec.TransactionTrace) (*v1.TransactionTrace, error)
Types ¶
type Account ¶
type Account struct { Creator *AccountCreator `json:"creator"` *eos.AccountResp LinkedPermissions []*LinkedPermission `json:"linked_permissions"` AccountVerifications *AccountVerifications `json:"account_verifications"` HasContract bool `json:"has_contract"` }
func ToV1Account ¶
func ToV1Account(in *pbcodec.AccountCreationRef) *Account
type AccountCreator ¶
type AccountResponse ¶
type AccountResponse struct { Name eos.Name CreatorName eos.Name Creator *AccountCreator // TODO: trash these two, LinkedPermissions are never updated // except on creation, we have a lot better in the State DB, with // that info at each block height. And zero process reads that // information across the `dfuse` product base. LinkedPermissions []*LinkedPermission // TODO: trash this, was never implemented anyway.. was just an idea.. We'll have that // somewhere else in the future, if ever.. AccountVerifications *AccountVerifications }
type AccountVerifications ¶
type AccountVerifications struct { Email *Verifiable `json:"email"` Website *Verifiable `json:"website"` Twitter *Verifiable `json:"twitter"` Github *Verifiable `json:"github"` Telegram *Verifiable `json:"telegram"` Facebook *Verifiable `json:"facebook"` Reddit *Verifiable `json:"reddit"` }
type BlockSummary ¶
type BlockSummary struct { ID string `json:"id"` BlockNum uint32 `json:"block_num"` Irreversible bool `json:"irreversible"` Header *eos.BlockHeader `json:"header"` ActiveSchedule *eos.ProducerSchedule `json:"active_schedule"` TransactionCount int `json:"transaction_count"` SiblingBlocks []*BlockSummary `json:"sibling_blocks"` DPoSLIBNum uint32 `json:"dpos_lib_num"` }
BlockSummary is the dfuse summary information for a given block Candidate for a move in eosws-go directly once the related REST API are made public.
func ToV1BlockSummary ¶
func ToV1BlockSummary(in *pbcodec.BlockWithRefs) (*BlockSummary, error)
type ExtendedStack ¶
func (*ExtendedStack) MustPeek ¶
func (s *ExtendedStack) MustPeek() interface{}
func (*ExtendedStack) MustPop ¶
func (s *ExtendedStack) MustPop() interface{}
type LinkedPermission ¶
type Proposition ¶
type Proposition struct { Title string `json:"title"` Hash string `json:"hash"` Votes []*forum.Vote `json:"votes"` }
func NewProposition ¶
func NewProposition(vote *forum.Vote) *Proposition
type Suggestion ¶
type SuggestionSection ¶
type SuggestionSection struct { ID string `json:"id"` Suggestions []*Suggestion `json:"suggestions"` }
type TransactionList ¶
type TransactionList struct { Cursor string `json:"cursor"` Transactions []*v1.TransactionLifecycle `json:"transactions"` }
TransactionList represents a list of TransactionLifecycle with some cursor information for pagination. Candidate for a move in eosws-go once the related REST API are made public.
func ToV1TransactionList ¶
func ToV1TransactionList(list *mdl.TransactionList) (*TransactionList, error)
Click to show internal directories.
Click to hide internal directories.