Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCapability ¶
type ClientCapability struct {
// TODO: https://smartcontract-it.atlassian.net/browse/CAPPL-799 add the default to the call
CallContract func(ctx context.Context, input *evm.CallContractRequest) (*evm.CallContractReply, error)
// TODO: https://smartcontract-it.atlassian.net/browse/CAPPL-799 add the default to the call
FilterLogs func(ctx context.Context, input *evm.FilterLogsRequest) (*evm.FilterLogsReply, error)
// TODO: https://smartcontract-it.atlassian.net/browse/CAPPL-799 add the default to the call
BalanceAt func(ctx context.Context, input *evm.BalanceAtRequest) (*evm.BalanceAtReply, error)
// TODO: https://smartcontract-it.atlassian.net/browse/CAPPL-799 add the default to the call
EstimateGas func(ctx context.Context, input *evm.EstimateGasRequest) (*evm.EstimateGasReply, error)
// TODO: https://smartcontract-it.atlassian.net/browse/CAPPL-799 add the default to the call
GetTransactionByHash func(ctx context.Context, input *evm.GetTransactionByHashRequest) (*evm.GetTransactionByHashReply, error)
// TODO: https://smartcontract-it.atlassian.net/browse/CAPPL-799 add the default to the call
GetTransactionReceipt func(ctx context.Context, input *evm.GetTransactionReceiptRequest) (*evm.GetTransactionReceiptReply, error)
// TODO: https://smartcontract-it.atlassian.net/browse/CAPPL-799 add the default to the call
LatestAndFinalizedHead func(ctx context.Context, input *emptypb.Empty) (*evm.LatestAndFinalizedHeadReply, error)
// TODO: https://smartcontract-it.atlassian.net/browse/CAPPL-799 add the default to the call
RegisterLogTracking func(ctx context.Context, input *evm.RegisterLogTrackingRequest) (*emptypb.Empty, error)
// TODO: https://smartcontract-it.atlassian.net/browse/CAPPL-799 add the default to the call
UnregisterLogTracking func(ctx context.Context, input *evm.UnregisterLogTrackingRequest) (*emptypb.Empty, error)
LogTrigger func(ctx context.Context, input *evm.FilterLogTriggerRequest) (*evm.Log, error)
// TODO: https://smartcontract-it.atlassian.net/browse/CAPPL-799 add the default to the call
WriteReport func(ctx context.Context, input *evm.WriteReportRequest) (*evm.WriteReportReply, error)
}
func NewClientCapability ¶
func NewClientCapability(t testing.TB) (*ClientCapability, error)
func (*ClientCapability) ID ¶
func (cap *ClientCapability) ID() string
func (*ClientCapability) Invoke ¶
func (cap *ClientCapability) Invoke(ctx context.Context, request *sdkpb.CapabilityRequest) *sdkpb.CapabilityResponse
func (*ClientCapability) InvokeTrigger ¶
func (cap *ClientCapability) InvokeTrigger(ctx context.Context, request *sdkpb.TriggerSubscription) (*sdkpb.Trigger, error)
Click to show internal directories.
Click to hide internal directories.