Documentation ¶
Index ¶
- Variables
- func Enrich(storage *ast.TypedAst, bmd []bigmapdiff.BigMapDiff, skipEmpty, unpack bool) error
- func EnrichFromState(storage *ast.TypedAst, bmd []bigmapdiff.BigMapState, skipEmpty, unpack bool) error
- func FindByName(ctx context.Context, repo models.GeneralRepository, ...) *ast.BigMap
- func GetBigMapPtr(ctx context.Context, repo models.GeneralRepository, ...) (int64, error)
- func GetStrings(data []byte) ([]string, error)
- type Alpha
- type Babylon
- type LazyBabylon
- type Parser
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTreeIsNotSettled = errors.New("tree is not settled") ErrInvalidPointer = errors.New("invalid pointer") ErrUnknownTemporaryPointer = errors.New("unknown temporary pointer") )
errors
View Source
var ( ErrInvalidPath = errors.Errorf("Invalid path") ErrPathIsNotPointer = errors.Errorf("Path is not pointer") ErrPointerAlreadyExists = errors.Errorf("Pointer already exists") )
Errors -
View Source
var (
ErrBigMapNotFound = errors.New("Big map is not found")
)
errors -
Functions ¶
func Enrich ¶
func Enrich(storage *ast.TypedAst, bmd []bigmapdiff.BigMapDiff, skipEmpty, unpack bool) error
Enrich -
func EnrichFromState ¶
func EnrichFromState(storage *ast.TypedAst, bmd []bigmapdiff.BigMapState, skipEmpty, unpack bool) error
EnrichFromState -
func FindByName ¶
func FindByName(ctx context.Context, repo models.GeneralRepository, contracts contract.Repository, address, key, protocol string) *ast.BigMap
FindByName -
func GetBigMapPtr ¶
func GetBigMapPtr(ctx context.Context, repo models.GeneralRepository, contracts contract.Repository, rpc noderpc.INode, address, key, protocol string, level int64) (int64, error)
GetBigMapPtr -
Types ¶
type Alpha ¶
type Alpha struct{}
Alpha -
type Babylon ¶
type Babylon struct {
// contains filtered or unexported fields
}
Babylon -
func NewBabylon ¶
func NewBabylon(bigmapdiffs bigmapdiff.Repository, operations operation.Repository, accounts account.Repository) *Babylon
NewBabylon -
type LazyBabylon ¶
type LazyBabylon struct {
// contains filtered or unexported fields
}
LazyBabylon -
func NewLazyBabylon ¶
func NewLazyBabylon(repo bigmapdiff.Repository, operations operation.Repository, accounts account.Repository) *LazyBabylon
NewLazyBabylon -
Click to show internal directories.
Click to hide internal directories.