operations

package
v0.0.0-...-b1b3a06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	*ParseParams
}

Content -

func NewContent

func NewContent(params *ParseParams) Content

NewContent -

func (Content) Parse

func (content Content) Parse(ctx context.Context, data noderpc.Operation, store parsers.Store) error

Parse -

type Event

type Event struct {
	*ParseParams
}

Event -

func NewEvent

func NewEvent(params *ParseParams) Event

NewEvent -

func (Event) Parse

func (p Event) Parse(ctx context.Context, data noderpc.Operation, store parsers.Store) error

Parse -

type GlobalConstant

type GlobalConstant struct{}

GlobalConstant -

func NewGlobalConstant

func NewGlobalConstant() GlobalConstant

NewGlobalConstant -

func (GlobalConstant) Parse

Parse -

type Group

type Group struct {
	*ParseParams
}

Group -

func NewGroup

func NewGroup(params *ParseParams) Group

NewGroup -

func (Group) Parse

func (opg Group) Parse(ctx context.Context, data noderpc.LightOperationGroup, store parsers.Store) error

Parse -

type Migration

type Migration struct {
	// contains filtered or unexported fields
}

Migration -

func NewMigration

func NewMigration(contracts contract.Repository) Migration

NewMigration -

func (Migration) Parse

func (m Migration) Parse(ctx context.Context, data noderpc.Operation, operation *operation.Operation, protocol string, store parsers.Store) error

Parse -

type OperationParser

type OperationParser interface {
	Parse(ctx context.Context, data noderpc.Operation, store parsers.Store) error
}

OperationParser -

type Origination

type Origination struct {
	*ParseParams
}

Origination -

func NewOrigination

func NewOrigination(params *ParseParams) Origination

NewOrigination -

func (Origination) Parse

func (p Origination) Parse(ctx context.Context, data noderpc.Operation, store parsers.Store) error

Parse -

type ParseParams

type ParseParams struct {
	// contains filtered or unexported fields
}

ParseParams -

func NewParseParams

func NewParseParams(ctx context.Context, configContext *config.Context, opts ...ParseParamsOption) (*ParseParams, error)

NewParseParams -

type ParseParamsOption

type ParseParamsOption func(*ParseParams)

ParseParamsOption -

func WithContentIndex

func WithContentIndex(index int64) ParseParamsOption

WithContentIndex -

func WithHash

func WithHash(hash []byte) ParseParamsOption

WithHash -

func WithHead

func WithHead(head noderpc.Header) ParseParamsOption

WithHead -

func WithMainOperation

func WithMainOperation(main *operation.Operation) ParseParamsOption

WithMainOperation -

func WithProtocol

func WithProtocol(protocol *protocol.Protocol) ParseParamsOption

WithProtocol -

type RegisterGlobalConstant

type RegisterGlobalConstant struct {
	*ParseParams
}

RegisterGlobalConstant -

func NewRegisterGlobalConstant

func NewRegisterGlobalConstant(params *ParseParams) RegisterGlobalConstant

NewRegisterGlobalConstant -

func (RegisterGlobalConstant) Parse

Parse -

type SmartRolupParser

type SmartRolupParser struct{}

SmartRolupParser -

func NewSmartRolupParser

func NewSmartRolupParser() SmartRolupParser

NewSmartRolupParser -

func (SmartRolupParser) Parse

Parse -

type SrExecuteOutboxMessage

type SrExecuteOutboxMessage struct {
	*ParseParams
}

SrExecuteOutboxMessage -

func NewSrExecuteOutboxMessage

func NewSrExecuteOutboxMessage(params *ParseParams) SrExecuteOutboxMessage

NewSrExecuteOutboxMessage -

func (SrExecuteOutboxMessage) Parse

Parse -

type SrOriginate

type SrOriginate struct {
	*ParseParams
}

SrOriginate -

func NewSrOriginate

func NewSrOriginate(params *ParseParams) SrOriginate

NewSrOriginate -

func (SrOriginate) Parse

func (p SrOriginate) Parse(ctx context.Context, data noderpc.Operation, store parsers.Store) error

Parse -

type TicketUpdateParser

type TicketUpdateParser struct {
}

TicketUpdateParser -

func (*TicketUpdateParser) Parse

func (p *TicketUpdateParser) Parse(data *noderpc.OperationResult, operation *operation.Operation, store parsers.Store)

type Transaction

type Transaction struct {
	*ParseParams
}

Transaction -

func NewTransaction

func NewTransaction(params *ParseParams) Transaction

NewTransaction -

func (Transaction) Parse

func (p Transaction) Parse(ctx context.Context, data noderpc.Operation, store parsers.Store) error

Parse -

type TransferTicket

type TransferTicket struct {
	*ParseParams
}

TransferTicket -

func NewTransferTicket

func NewTransferTicket(params *ParseParams) TransferTicket

NewTransferTicket -

func (TransferTicket) Parse

func (p TransferTicket) Parse(ctx context.Context, data noderpc.Operation, store parsers.Store) error

Parse -

type TxRollupOrigination

type TxRollupOrigination struct {
	*ParseParams
}

TxRollupOrigination -

func NewTxRollupOrigination

func NewTxRollupOrigination(params *ParseParams) TxRollupOrigination

NewTxRollupOrigination -

func (TxRollupOrigination) Parse

Parse -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL