migrations

package
v0.0.0-...-0c7631f Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alpha

type Alpha struct{}

Alpha -

func NewAlpha

func NewAlpha() *Alpha

NewAlpha -

func (*Alpha) IsMigratable

func (p *Alpha) IsMigratable(address string) bool

IsMigratable -

func (*Alpha) Parse

func (p *Alpha) Parse(ctx context.Context, script noderpc.Script, old *modelsContract.Contract, previous, next protocol.Protocol, timestamp time.Time, tx models.Transaction) error

Parse -

type Babylon

type Babylon struct{}

Babylon -

func NewBabylon

func NewBabylon() *Babylon

NewBabylon -

func (*Babylon) IsMigratable

func (p *Babylon) IsMigratable(address string) bool

IsMigratable -

func (*Babylon) Parse

func (p *Babylon) Parse(ctx context.Context, script noderpc.Script, old *modelsContract.Contract, previous, next protocol.Protocol, timestamp time.Time, tx models.Transaction) error

Parse -

type Carthage

type Carthage struct {
}

Carthage -

func NewCarthage

func NewCarthage() *Carthage

NewCarthage -

func (*Carthage) IsMigratable

func (p *Carthage) IsMigratable(address string) bool

IsMigratable -

func (*Carthage) Parse

func (p *Carthage) Parse(ctx context.Context, script noderpc.Script, old *modelsContract.Contract, previous, next protocol.Protocol, timestamp time.Time, tx models.Transaction) error

Parse -

type ImplicitParser

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

ImplicitParser -

func NewImplicitParser

func NewImplicitParser(ctx *config.Context,
	rpc noderpc.INode,
	contractParser contract.Parser,
	protocol protocol.Protocol,
	contractsRepo contracts.Repository) (*ImplicitParser, error)

NewImplicitParser -

func (*ImplicitParser) IsMigratable

func (p *ImplicitParser) IsMigratable(address string) bool

IsMigratable -

func (*ImplicitParser) Parse

func (p *ImplicitParser) Parse(ctx context.Context, metadata noderpc.Metadata, head noderpc.Header, store parsers.Store) error

Parse -

type Jakarta

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

Jakarta -

func NewJakarta

func NewJakarta() *Jakarta

NewJakarta -

func (*Jakarta) IsMigratable

func (p *Jakarta) IsMigratable(address string) bool

IsMigratable -

func (*Jakarta) Parse

func (p *Jakarta) Parse(ctx context.Context, script noderpc.Script, old *modelsContract.Contract, previous, next protocol.Protocol, timestamp time.Time, tx models.Transaction) error

Parse -

type Parser

type Parser interface {
	Parse(ctx context.Context, script noderpc.Script, old *modelsContract.Contract, previous, next protocol.Protocol, timestamp time.Time, tx models.Transaction) error
	IsMigratable(address string) bool
}

Parser -

type VestingParser

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

VestingParser -

func NewVestingParser

func NewVestingParser(ctx *config.Context, contractParser contract.Parser, proto protocol.Protocol) *VestingParser

NewVestingParser -

func (*VestingParser) Parse

func (p *VestingParser) Parse(ctx context.Context, data noderpc.ContractData, head noderpc.Header, address string, store parsers.Store) error

Parse -

Jump to

Keyboard shortcuts

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