Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ModuleName string name of module ModuleName = "aspect" // StoreKey key for aspect storage data StoreKey = ModuleName )
View Source
const ( // AspectPropertyLimit is the maximum number of properties that can be set on an aspect AspectPropertyLimit = math.MaxUint8 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountStoreContext ¶
type AccountStoreContext struct { StoreContext Account common.Address }
func (*AccountStoreContext) Clone ¶
func (a *AccountStoreContext) Clone() AccountStoreContext
type AspectMeta ¶
AspectMeta is the data model for holding the metadata of an aspect
type AspectStoreContext ¶
type AspectStoreContext struct { StoreContext AspectID common.Address }
func (*AspectStoreContext) Clone ¶
func (a *AspectStoreContext) Clone() AspectStoreContext
type BindingFilter ¶
type BindingFilter struct { // filter bindings with given join point JoinPoint *types.PointCut // only return bindings of verifier aspects VerifierOnly bool // only return bindings of tx level aspects TxLevelOnly bool }
BindingFilter is the data model for holding the filter of querying aspect bindings
func NewDefaultFilter ¶
func NewDefaultFilter(isCA bool) BindingFilter
func NewJoinPointFilter ¶
func NewJoinPointFilter(cut types.PointCut) BindingFilter
type StoreContext ¶
type StoreContext interface { CosmosContext() sdk.Context AspectStoreKey() storetypes.StoreKey EVMStoreKey() storetypes.StoreKey Gas() uint64 ConsumeGas(gas uint64) error UpdateGas(gas uint64) Logger() log.Logger ChargeGas() bool // contains filtered or unexported methods }
func NewGasFreeStoreContext ¶
func NewGasFreeStoreContext(ctx sdk.Context, aspectStoreKey, evmStoreKey storetypes.StoreKey) StoreContext
func NewStoreContext ¶
func NewStoreContext(ctx sdk.Context, aspectStoreKey, evmStoreKey storetypes.StoreKey, gas uint64) StoreContext
type VersionMeta ¶
VersionMeta is the data model for holding the metadata of a specific version of aspect
Click to show internal directories.
Click to hide internal directories.