Documentation ¶
Index ¶
- type Cache
- func (cache *Cache) GetAbiByAddress(ctx context.Context, hash []byte) (abi.Abi, error)
- func (cache *Cache) GetAbiByAddressId(ctx context.Context, id uint64) (abi.Abi, error)
- func (cache *Cache) GetAbiByClass(class storage.Class) (abi.Abi, error)
- func (cache *Cache) GetAbiByClassHash(ctx context.Context, hash []byte) (abi.Abi, error)
- func (cache *Cache) GetAddress(ctx context.Context, hash []byte) (storage.Address, error)
- func (cache *Cache) GetClassByHash(ctx context.Context, hash []byte) (storage.Class, error)
- func (cache *Cache) GetClassById(ctx context.Context, id uint64) (*storage.Class, error)
- func (cache *Cache) GetClassForAddress(ctx context.Context, hash []byte) (storage.Class, error)
- func (cache *Cache) GetProxy(ctx context.Context, address, selector []byte) (storage.Proxy, error)
- func (cache *Cache) SetAbiByAddress(class storage.Class, hash []byte)
- func (cache *Cache) SetAbiByClassHash(class storage.Class, a abi.Abi)
- func (cache *Cache) SetAddress(ctx context.Context, address storage.Address)
- func (cache *Cache) SetClassByHash(class storage.Class)
- func (cache *Cache) SetProxy(address, selector []byte, proxy storage.Proxy)
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 (*Cache) GetAbiByAddress ¶
GetAbiByAddress -
func (*Cache) GetAbiByAddressId ¶
GetAbiByAddressId -
func (*Cache) GetAbiByClass ¶
GetAbiByClass -
func (*Cache) GetAbiByClassHash ¶
GetAbiByClassHash -
func (*Cache) GetAddress ¶
GetAddress -
func (*Cache) GetClassByHash ¶
GetClassByHash -
func (*Cache) GetClassById ¶
GetClassById -
func (*Cache) GetClassForAddress ¶
GetClassForAddress -
func (*Cache) SetAbiByAddress ¶
SetAbiByAddress -
func (*Cache) SetAbiByClassHash ¶
SetAbiByClassHash -
func (*Cache) SetAddress ¶
SetAddress -
func (*Cache) SetClassByHash ¶
SetClassByHash -
Click to show internal directories.
Click to hide internal directories.