Documentation ¶
Index ¶
- type ArtelaProvider
- func (j *ArtelaProvider) GetAccountVerifiers(ctx context.Context, address common.Address) ([]*asptypes.AspectCode, error)
- func (j *ArtelaProvider) GetAspectAccount(ctx context.Context, aspectId common.Address) (*common.Address, error)
- func (j *ArtelaProvider) GetBlockBondAspects(ctx context.Context) ([]*asptypes.AspectCode, error)
- func (j *ArtelaProvider) GetLatestBlock() int64
- func (j *ArtelaProvider) GetTxBondAspects(ctx context.Context, address common.Address, point asptypes.PointCut) ([]*asptypes.AspectCode, error)
- type AspectProtocolProvider
- func (a AspectProtocolProvider) BalanceOf(address common.Address) *big.Int
- func (a *AspectProtocolProvider) ChainId() *big.Int
- func (a AspectProtocolProvider) ConvertProtocolTx(txData integration.TxData) (integration.BaseLayerTx, error)
- func (a AspectProtocolProvider) EstimateGas(txData integration.TxData) (uint64, error)
- func (a AspectProtocolProvider) GasPrice() (*big.Int, error)
- func (a AspectProtocolProvider) InitSystemContract(addr common.Address, code []byte, storage map[common.Hash][]byte, ...) error
- func (a AspectProtocolProvider) LastBlockHeader() (integration.BlockHeader, error)
- func (a AspectProtocolProvider) NonceOf(address common.Address) (uint64, error)
- func (a AspectProtocolProvider) SubmitTxToCurrentProposal(tx integration.BaseLayerTx) error
- func (a AspectProtocolProvider) VMFromCanonicalState() (integration.VM, error)
- func (a *AspectProtocolProvider) VMFromSnapshotState() (integration.VM, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtelaProvider ¶
type ArtelaProvider struct {
// contains filtered or unexported fields
}
func NewArtelaProvider ¶
func NewArtelaProvider(storeKey storetypes.StoreKey, getBlockHeight types.GetLastBlockHeight, logger log.Logger, ) *ArtelaProvider
func (*ArtelaProvider) GetAccountVerifiers ¶
func (j *ArtelaProvider) GetAccountVerifiers(ctx context.Context, address common.Address) ([]*asptypes.AspectCode, error)
func (*ArtelaProvider) GetAspectAccount ¶
func (*ArtelaProvider) GetBlockBondAspects ¶
func (j *ArtelaProvider) GetBlockBondAspects(ctx context.Context) ([]*asptypes.AspectCode, error)
func (*ArtelaProvider) GetLatestBlock ¶
func (j *ArtelaProvider) GetLatestBlock() int64
func (*ArtelaProvider) GetTxBondAspects ¶
func (j *ArtelaProvider) GetTxBondAspects(ctx context.Context, address common.Address, point asptypes.PointCut) ([]*asptypes.AspectCode, error)
type AspectProtocolProvider ¶
type AspectProtocolProvider struct {
// contains filtered or unexported fields
}
func NewAspectProtocolProvider ¶
func NewAspectProtocolProvider(getEthTxContext func() *types.EthTxContext) *AspectProtocolProvider
func (AspectProtocolProvider) BalanceOf ¶
func (a AspectProtocolProvider) BalanceOf(address common.Address) *big.Int
func (*AspectProtocolProvider) ChainId ¶
func (a *AspectProtocolProvider) ChainId() *big.Int
func (AspectProtocolProvider) ConvertProtocolTx ¶
func (a AspectProtocolProvider) ConvertProtocolTx(txData integration.TxData) (integration.BaseLayerTx, error)
func (AspectProtocolProvider) EstimateGas ¶
func (a AspectProtocolProvider) EstimateGas(txData integration.TxData) (uint64, error)
func (AspectProtocolProvider) GasPrice ¶
func (a AspectProtocolProvider) GasPrice() (*big.Int, error)
func (AspectProtocolProvider) InitSystemContract ¶
func (a AspectProtocolProvider) InitSystemContract(addr common.Address, code []byte, storage map[common.Hash][]byte, contractType integration.SystemContractType) error
func (AspectProtocolProvider) LastBlockHeader ¶
func (a AspectProtocolProvider) LastBlockHeader() (integration.BlockHeader, error)
func (AspectProtocolProvider) NonceOf ¶
func (a AspectProtocolProvider) NonceOf(address common.Address) (uint64, error)
func (AspectProtocolProvider) SubmitTxToCurrentProposal ¶
func (a AspectProtocolProvider) SubmitTxToCurrentProposal(tx integration.BaseLayerTx) error
func (AspectProtocolProvider) VMFromCanonicalState ¶
func (a AspectProtocolProvider) VMFromCanonicalState() (integration.VM, error)
func (*AspectProtocolProvider) VMFromSnapshotState ¶
func (a *AspectProtocolProvider) VMFromSnapshotState() (integration.VM, error)
Click to show internal directories.
Click to hide internal directories.