cache

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	*ccache.Cache
	// contains filtered or unexported fields
}

Cache -

func NewCache

func NewCache(rpc noderpc.INode, accounts account.Repository, contracts contract.Repository, protocols protocol.Repository) *Cache

NewCache -

func (*Cache) ContractTags

func (cache *Cache) ContractTags(ctx context.Context, address string) (types.Tags, error)

ContractTags -

func (*Cache) ProtocolByID

func (cache *Cache) ProtocolByID(ctx context.Context, id int64) (protocol.Protocol, error)

ProtocolByID -

func (*Cache) Script

func (cache *Cache) Script(ctx context.Context, address, symLink string) (contract.Script, error)

func (*Cache) ScriptBytes

func (cache *Cache) ScriptBytes(ctx context.Context, address, symLink string) ([]byte, error)

func (*Cache) StorageTypeBytes

func (cache *Cache) StorageTypeBytes(ctx context.Context, address, symLink string) ([]byte, error)

StorageTypeBytes -

func (*Cache) TezosBalance

func (cache *Cache) TezosBalance(ctx context.Context, address string, level int64) (int64, error)

TezosBalance -

Jump to

Keyboard shortcuts

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