types

package
v0.4.7-rc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 10

Documentation

Index

Constants

View Source
const (
	ARTELA_ADDR = "0x0000000000000000000000000000000000A27E14"
)
View Source
const DefaultAspectPoolSize = 10

Variables

View Source
var (
	GetAspectContext func(ctx context.Context, aspectId common.Address, key string) ([]byte, error)
	SetAspectContext func(ctx context.Context, aspectId common.Address, key string, value []byte) error
)

for jit-inherent

View Source
var (
	GetEvmHostHook                    func(context.Context) (EVMHostAPI, error)
	GetStateDbHook                    func(context.Context) (StateDBHostAPI, error)
	GetAspectRuntimeContextHostHook   func(context.Context) (RuntimeContextHostAPI, error)
	GetAspectStateHostHook            func(context.Context) (AspectStateHostAPI, error)
	GetAspectPropertyHostHook         func(context.Context) (AspectPropertyHostAPI, error)
	GetAspectTransientStorageHostHook func(context.Context) (AspectTransientStorageHostAPI, error)
	GetAspectTraceHostHook            func(context.Context) (AspectTraceHostAPI, error)

	// JITSenderAspectByContext returns the sender Aspect address of the user operation
	JITSenderAspectByContext func(ctx context.Context, userOpHash common.Hash) (common.Address, error)
	IsCommit                 func(ctx context.Context) bool
)
View Source
var File_aspect_v2_host_api_proto protoreflect.FileDescriptor
View Source
var File_aspect_v2_joinpoint_input_proto protoreflect.FileDescriptor
View Source
var GetAspectPaymaster func(ctx context.Context, aspectId common.Address) (*common.Address, error)

Enum value maps for JoinPointRunType.

Functions

func CanExecPoint

func CanExecPoint(runJPs int64, cut PointCut) bool

func CheckIsBlockLevel

func CheckIsBlockLevel(runJPs int64) bool

func CheckIsJoinPoint

func CheckIsJoinPoint(runJPs *big.Int) (map[int64]string, bool)

func CheckIsTransactionLevel

func CheckIsTransactionLevel(runJPs int64) bool

func CheckIsTxVerifier

func CheckIsTxVerifier(runJPs int64) bool

func InitRuntimePool

func InitRuntimePool(msgPoolCapacity, queryPoolCapacity int32)

InitRuntimePool init runtime pool with given capacity.

func IsAspectContract

func IsAspectContract(to string) bool

func IsAspectContractAddr

func IsAspectContractAddr(to *common.Address) bool

func RunnerPool

func RunnerPool(commit bool) *globalPool

Types

type AspectCode

type AspectCode struct {
	AspectId string
	Version  uint64
	Priority uint32
	Code     []byte
}

type AspectExecutionResult

type AspectExecutionResult struct {
	Gas    uint64
	Err    error
	Ret    []byte
	Revert RevertScope
}

type AspectPropertyHostAPI

type AspectPropertyHostAPI interface {
	Get(ctx *RunnerContext, key string) []byte
}

type AspectProvider

type AspectProvider interface {
	GetTxBondAspects(context.Context, common.Address, PointCut) ([]*AspectCode, error)
	GetAccountVerifiers(context.Context, common.Address) ([]*AspectCode, error)
	GetBlockBondAspects(ctx context.Context) ([]*AspectCode, error)
	GetLatestBlock() int64
}

type AspectStateHostAPI

type AspectStateHostAPI interface {
	Get(ctx *RunnerContext, key string) []byte
	Set(ctx *RunnerContext, key string, value []byte)
}

type AspectStore

type AspectStore interface {
	Get(key []byte) []byte

	// Has checks if a key exists. Panics on nil key.
	Has(key []byte) bool

	// Set sets the key. Panics on nil key or value.
	Set(key, value []byte)

	// Delete deletes the key. Panics on nil key.
	Delete(key []byte)
}

type AspectTraceHostAPI

type AspectTraceHostAPI interface {
	QueryStateChange(ctx *RunnerContext, query *StateChangeQuery) []byte
	QueryCallTree(ctx *RunnerContext, query *CallTreeQuery) []byte
}

type AspectTransientStorageHostAPI

type AspectTransientStorageHostAPI interface {
	Get(ctx *RunnerContext, aspectId []byte, key string) []byte
	Set(ctx *RunnerContext, key string, value []byte)
}

type BlockInput

type BlockInput struct {
	Number *uint64 `protobuf:"varint,1,req,name=number" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockInput) Descriptor deprecated

func (*BlockInput) Descriptor() ([]byte, []int)

Deprecated: Use BlockInput.ProtoReflect.Descriptor instead.

func (*BlockInput) GetNumber

func (x *BlockInput) GetNumber() uint64

func (*BlockInput) ProtoMessage

func (*BlockInput) ProtoMessage()

func (*BlockInput) ProtoReflect

func (x *BlockInput) ProtoReflect() protoreflect.Message

func (*BlockInput) Reset

func (x *BlockInput) Reset()

func (*BlockInput) String

func (x *BlockInput) String() string

type BoolData

type BoolData struct {
	Data *bool `protobuf:"varint,1,req,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BoolData) Descriptor deprecated

func (*BoolData) Descriptor() ([]byte, []int)

Deprecated: Use BoolData.ProtoReflect.Descriptor instead.

func (*BoolData) GetData

func (x *BoolData) GetData() bool

func (*BoolData) ProtoMessage

func (*BoolData) ProtoMessage()

func (*BoolData) ProtoReflect

func (x *BoolData) ProtoReflect() protoreflect.Message

func (*BoolData) Reset

func (x *BoolData) Reset()

func (*BoolData) String

func (x *BoolData) String() string

type BytesArrayData

type BytesArrayData struct {
	Data [][]byte `protobuf:"bytes,1,rep,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BytesArrayData) Descriptor deprecated

func (*BytesArrayData) Descriptor() ([]byte, []int)

Deprecated: Use BytesArrayData.ProtoReflect.Descriptor instead.

func (*BytesArrayData) GetData

func (x *BytesArrayData) GetData() [][]byte

func (*BytesArrayData) ProtoMessage

func (*BytesArrayData) ProtoMessage()

func (*BytesArrayData) ProtoReflect

func (x *BytesArrayData) ProtoReflect() protoreflect.Message

func (*BytesArrayData) Reset

func (x *BytesArrayData) Reset()

func (*BytesArrayData) String

func (x *BytesArrayData) String() string

type BytesData

type BytesData struct {
	Data []byte `protobuf:"bytes,1,req,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*BytesData) Descriptor deprecated

func (*BytesData) Descriptor() ([]byte, []int)

Deprecated: Use BytesData.ProtoReflect.Descriptor instead.

func (*BytesData) GetData

func (x *BytesData) GetData() []byte

func (*BytesData) ProtoMessage

func (*BytesData) ProtoMessage()

func (*BytesData) ProtoReflect

func (x *BytesData) ProtoReflect() protoreflect.Message

func (*BytesData) Reset

func (x *BytesData) Reset()

func (*BytesData) String

func (x *BytesData) String() string

type CallTreeQuery

type CallTreeQuery struct {
	CallIdx *int64 `protobuf:"varint,1,req,name=call_idx,json=callIdx" json:"call_idx,omitempty"`
	// contains filtered or unexported fields
}

func (*CallTreeQuery) Descriptor deprecated

func (*CallTreeQuery) Descriptor() ([]byte, []int)

Deprecated: Use CallTreeQuery.ProtoReflect.Descriptor instead.

func (*CallTreeQuery) GetCallIdx

func (x *CallTreeQuery) GetCallIdx() int64

func (*CallTreeQuery) ProtoMessage

func (*CallTreeQuery) ProtoMessage()

func (*CallTreeQuery) ProtoReflect

func (x *CallTreeQuery) ProtoReflect() protoreflect.Message

func (*CallTreeQuery) Reset

func (x *CallTreeQuery) Reset()

func (*CallTreeQuery) String

func (x *CallTreeQuery) String() string

type EVMHostAPI

type EVMHostAPI interface {
	StaticCall(ctx *RunnerContext, request *StaticCallRequest) *StaticCallResult
	JITCall(ctx *RunnerContext, request *JitInherentRequest) *JitInherentResponse
}

type EthAccessList

type EthAccessList struct {
	AccessList []*EthAccessTuple `protobuf:"bytes,1,rep,name=access_list,json=accessList" json:"access_list,omitempty"`
	// contains filtered or unexported fields
}

func (*EthAccessList) Descriptor deprecated

func (*EthAccessList) Descriptor() ([]byte, []int)

Deprecated: Use EthAccessList.ProtoReflect.Descriptor instead.

func (*EthAccessList) GetAccessList

func (x *EthAccessList) GetAccessList() []*EthAccessTuple

func (*EthAccessList) ProtoMessage

func (*EthAccessList) ProtoMessage()

func (*EthAccessList) ProtoReflect

func (x *EthAccessList) ProtoReflect() protoreflect.Message

func (*EthAccessList) Reset

func (x *EthAccessList) Reset()

func (*EthAccessList) String

func (x *EthAccessList) String() string

type EthAccessTuple

type EthAccessTuple struct {
	Address     []byte   `protobuf:"bytes,1,req,name=address" json:"address,omitempty"`
	StorageKeys [][]byte `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys" json:"storage_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*EthAccessTuple) Descriptor deprecated

func (*EthAccessTuple) Descriptor() ([]byte, []int)

Deprecated: Use EthAccessTuple.ProtoReflect.Descriptor instead.

func (*EthAccessTuple) GetAddress

func (x *EthAccessTuple) GetAddress() []byte

func (*EthAccessTuple) GetStorageKeys

func (x *EthAccessTuple) GetStorageKeys() [][]byte

func (*EthAccessTuple) ProtoMessage

func (*EthAccessTuple) ProtoMessage()

func (*EthAccessTuple) ProtoReflect

func (x *EthAccessTuple) ProtoReflect() protoreflect.Message

func (*EthAccessTuple) Reset

func (x *EthAccessTuple) Reset()

func (*EthAccessTuple) String

func (x *EthAccessTuple) String() string

type EthCallMessage

type EthCallMessage struct {
	From []byte `protobuf:"bytes,1,req,name=from" json:"from,omitempty"`
	To   []byte `protobuf:"bytes,2,req,name=to" json:"to,omitempty"`
	// data is the data payload bytes of the transaction.
	Data            []byte   `protobuf:"bytes,3,req,name=data" json:"data,omitempty"`
	Gas             *uint64  `protobuf:"varint,4,req,name=gas" json:"gas,omitempty"`
	Value           []byte   `protobuf:"bytes,5,req,name=value" json:"value,omitempty"`
	Ret             []byte   `protobuf:"bytes,6,opt,name=ret" json:"ret,omitempty"`
	GasUsed         *uint64  `protobuf:"varint,7,opt,name=gas_used,json=gasUsed" json:"gas_used,omitempty"`
	Error           *string  `protobuf:"bytes,8,opt,name=error" json:"error,omitempty"`
	Index           *uint64  `protobuf:"varint,9,req,name=index" json:"index,omitempty"`
	ParentIndex     *int64   `protobuf:"varint,10,req,name=parent_index,json=parentIndex" json:"parent_index,omitempty"`
	ChildrenIndices []uint64 `protobuf:"varint,11,rep,name=children_indices,json=childrenIndices" json:"children_indices,omitempty"`
	// contains filtered or unexported fields
}

func (*EthCallMessage) Descriptor deprecated

func (*EthCallMessage) Descriptor() ([]byte, []int)

Deprecated: Use EthCallMessage.ProtoReflect.Descriptor instead.

func (*EthCallMessage) GetChildrenIndices

func (x *EthCallMessage) GetChildrenIndices() []uint64

func (*EthCallMessage) GetData

func (x *EthCallMessage) GetData() []byte

func (*EthCallMessage) GetError

func (x *EthCallMessage) GetError() string

func (*EthCallMessage) GetFrom

func (x *EthCallMessage) GetFrom() []byte

func (*EthCallMessage) GetGas

func (x *EthCallMessage) GetGas() uint64

func (*EthCallMessage) GetGasUsed

func (x *EthCallMessage) GetGasUsed() uint64

func (*EthCallMessage) GetIndex

func (x *EthCallMessage) GetIndex() uint64

func (*EthCallMessage) GetParentIndex

func (x *EthCallMessage) GetParentIndex() int64

func (*EthCallMessage) GetRet

func (x *EthCallMessage) GetRet() []byte

func (*EthCallMessage) GetTo

func (x *EthCallMessage) GetTo() []byte

func (*EthCallMessage) GetValue

func (x *EthCallMessage) GetValue() []byte

func (*EthCallMessage) ProtoMessage

func (*EthCallMessage) ProtoMessage()

func (*EthCallMessage) ProtoReflect

func (x *EthCallMessage) ProtoReflect() protoreflect.Message

func (*EthCallMessage) Reset

func (x *EthCallMessage) Reset()

func (*EthCallMessage) String

func (x *EthCallMessage) String() string

type EthCallTree

type EthCallTree struct {
	Calls map[uint64]*EthCallMessage `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EthCallTree) Descriptor deprecated

func (*EthCallTree) Descriptor() ([]byte, []int)

Deprecated: Use EthCallTree.ProtoReflect.Descriptor instead.

func (*EthCallTree) GetCalls

func (x *EthCallTree) GetCalls() map[uint64]*EthCallMessage

func (*EthCallTree) ProtoMessage

func (*EthCallTree) ProtoMessage()

func (*EthCallTree) ProtoReflect

func (x *EthCallTree) ProtoReflect() protoreflect.Message

func (*EthCallTree) Reset

func (x *EthCallTree) Reset()

func (*EthCallTree) String

func (x *EthCallTree) String() string

type EthLog

type EthLog struct {

	// address of the contract that generated the event
	Address []byte `protobuf:"bytes,1,req,name=address" json:"address,omitempty"`
	// topics is a list of topics provided by the contract.
	Topics [][]byte `protobuf:"bytes,2,rep,name=topics" json:"topics,omitempty"`
	// data which is supplied by the contract, usually ABI-encoded
	Data  []byte  `protobuf:"bytes,3,req,name=data" json:"data,omitempty"`
	Index *uint64 `protobuf:"varint,4,req,name=index" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*EthLog) Descriptor deprecated

func (*EthLog) Descriptor() ([]byte, []int)

Deprecated: Use EthLog.ProtoReflect.Descriptor instead.

func (*EthLog) GetAddress

func (x *EthLog) GetAddress() []byte

func (*EthLog) GetData

func (x *EthLog) GetData() []byte

func (*EthLog) GetIndex

func (x *EthLog) GetIndex() uint64

func (*EthLog) GetTopics

func (x *EthLog) GetTopics() [][]byte

func (*EthLog) ProtoMessage

func (*EthLog) ProtoMessage()

func (*EthLog) ProtoReflect

func (x *EthLog) ProtoReflect() protoreflect.Message

func (*EthLog) Reset

func (x *EthLog) Reset()

func (*EthLog) String

func (x *EthLog) String() string

type EthLogs

type EthLogs struct {
	Logs []*EthLog `protobuf:"bytes,1,rep,name=logs" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

runtime context types

func (*EthLogs) Descriptor deprecated

func (*EthLogs) Descriptor() ([]byte, []int)

Deprecated: Use EthLogs.ProtoReflect.Descriptor instead.

func (*EthLogs) GetLogs

func (x *EthLogs) GetLogs() []*EthLog

func (*EthLogs) ProtoMessage

func (*EthLogs) ProtoMessage()

func (*EthLogs) ProtoReflect

func (x *EthLogs) ProtoReflect() protoreflect.Message

func (*EthLogs) Reset

func (x *EthLogs) Reset()

func (*EthLogs) String

func (x *EthLogs) String() string

type EthReceipt

type EthReceipt struct {
	Status            *uint64   `protobuf:"varint,1,req,name=status" json:"status,omitempty"`
	CumulativeGasUsed *uint64   `protobuf:"varint,2,req,name=cumulative_gas_used,json=cumulativeGasUsed" json:"cumulative_gas_used,omitempty"`
	LogsBloom         []byte    `protobuf:"bytes,3,req,name=logs_bloom,json=logsBloom" json:"logs_bloom,omitempty"`
	EffectiveGasPrice []byte    `protobuf:"bytes,4,req,name=effective_gas_price,json=effectiveGasPrice" json:"effective_gas_price,omitempty"`
	Logs              []*EthLog `protobuf:"bytes,5,rep,name=logs" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

func (*EthReceipt) Descriptor deprecated

func (*EthReceipt) Descriptor() ([]byte, []int)

Deprecated: Use EthReceipt.ProtoReflect.Descriptor instead.

func (*EthReceipt) GetCumulativeGasUsed

func (x *EthReceipt) GetCumulativeGasUsed() uint64

func (*EthReceipt) GetEffectiveGasPrice

func (x *EthReceipt) GetEffectiveGasPrice() []byte

func (*EthReceipt) GetLogs

func (x *EthReceipt) GetLogs() []*EthLog

func (*EthReceipt) GetLogsBloom

func (x *EthReceipt) GetLogsBloom() []byte

func (*EthReceipt) GetStatus

func (x *EthReceipt) GetStatus() uint64

func (*EthReceipt) ProtoMessage

func (*EthReceipt) ProtoMessage()

func (*EthReceipt) ProtoReflect

func (x *EthReceipt) ProtoReflect() protoreflect.Message

func (*EthReceipt) Reset

func (x *EthReceipt) Reset()

func (*EthReceipt) String

func (x *EthReceipt) String() string

type EthStateChange

type EthStateChange struct {
	Account   []byte  `protobuf:"bytes,1,req,name=account" json:"account,omitempty"`
	Value     []byte  `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	CallIndex *uint64 `protobuf:"varint,3,req,name=call_index,json=callIndex" json:"call_index,omitempty"`
	// contains filtered or unexported fields
}

func (*EthStateChange) Descriptor deprecated

func (*EthStateChange) Descriptor() ([]byte, []int)

Deprecated: Use EthStateChange.ProtoReflect.Descriptor instead.

func (*EthStateChange) GetAccount

func (x *EthStateChange) GetAccount() []byte

func (*EthStateChange) GetCallIndex

func (x *EthStateChange) GetCallIndex() uint64

func (*EthStateChange) GetValue

func (x *EthStateChange) GetValue() []byte

func (*EthStateChange) ProtoMessage

func (*EthStateChange) ProtoMessage()

func (*EthStateChange) ProtoReflect

func (x *EthStateChange) ProtoReflect() protoreflect.Message

func (*EthStateChange) Reset

func (x *EthStateChange) Reset()

func (*EthStateChange) String

func (x *EthStateChange) String() string

type EthStateChangeIndices

type EthStateChangeIndices struct {
	Indices [][]byte `protobuf:"bytes,1,rep,name=indices" json:"indices,omitempty"`
	// contains filtered or unexported fields
}

func (*EthStateChangeIndices) Descriptor deprecated

func (*EthStateChangeIndices) Descriptor() ([]byte, []int)

Deprecated: Use EthStateChangeIndices.ProtoReflect.Descriptor instead.

func (*EthStateChangeIndices) GetIndices

func (x *EthStateChangeIndices) GetIndices() [][]byte

func (*EthStateChangeIndices) ProtoMessage

func (*EthStateChangeIndices) ProtoMessage()

func (*EthStateChangeIndices) ProtoReflect

func (x *EthStateChangeIndices) ProtoReflect() protoreflect.Message

func (*EthStateChangeIndices) Reset

func (x *EthStateChangeIndices) Reset()

func (*EthStateChangeIndices) String

func (x *EthStateChangeIndices) String() string

type EthStateChanges

type EthStateChanges struct {
	All []*EthStateChange `protobuf:"bytes,1,rep,name=all" json:"all,omitempty"`
	// contains filtered or unexported fields
}

func (*EthStateChanges) Descriptor deprecated

func (*EthStateChanges) Descriptor() ([]byte, []int)

Deprecated: Use EthStateChanges.ProtoReflect.Descriptor instead.

func (*EthStateChanges) GetAll

func (x *EthStateChanges) GetAll() []*EthStateChange

func (*EthStateChanges) ProtoMessage

func (*EthStateChanges) ProtoMessage()

func (*EthStateChanges) ProtoReflect

func (x *EthStateChanges) ProtoReflect() protoreflect.Message

func (*EthStateChanges) Reset

func (x *EthStateChanges) Reset()

func (*EthStateChanges) String

func (x *EthStateChanges) String() string

type IntArrayData

type IntArrayData struct {
	Data []int64 `protobuf:"varint,1,rep,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*IntArrayData) Descriptor deprecated

func (*IntArrayData) Descriptor() ([]byte, []int)

Deprecated: Use IntArrayData.ProtoReflect.Descriptor instead.

func (*IntArrayData) GetData

func (x *IntArrayData) GetData() []int64

func (*IntArrayData) ProtoMessage

func (*IntArrayData) ProtoMessage()

func (*IntArrayData) ProtoReflect

func (x *IntArrayData) ProtoReflect() protoreflect.Message

func (*IntArrayData) Reset

func (x *IntArrayData) Reset()

func (*IntArrayData) String

func (x *IntArrayData) String() string

type IntData

type IntData struct {
	Data *int64 `protobuf:"varint,1,req,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*IntData) Descriptor deprecated

func (*IntData) Descriptor() ([]byte, []int)

Deprecated: Use IntData.ProtoReflect.Descriptor instead.

func (*IntData) GetData

func (x *IntData) GetData() int64

func (*IntData) ProtoMessage

func (*IntData) ProtoMessage()

func (*IntData) ProtoReflect

func (x *IntData) ProtoReflect() protoreflect.Message

func (*IntData) Reset

func (x *IntData) Reset()

func (*IntData) String

func (x *IntData) String() string

type JitInherentRequest

type JitInherentRequest struct {
	Sender               []byte  `protobuf:"bytes,1,req,name=sender" json:"sender,omitempty"`
	Nonce                *uint64 `protobuf:"varint,2,opt,name=nonce" json:"nonce,omitempty"`
	NonceKey             []byte  `protobuf:"bytes,3,opt,name=nonce_key,json=nonceKey" json:"nonce_key,omitempty"`
	InitCode             []byte  `protobuf:"bytes,4,opt,name=init_code,json=initCode" json:"init_code,omitempty"`
	CallData             []byte  `protobuf:"bytes,5,req,name=call_data,json=callData" json:"call_data,omitempty"`
	CallGasLimit         *uint64 `protobuf:"varint,6,opt,name=call_gas_limit,json=callGasLimit" json:"call_gas_limit,omitempty"`
	VerificationGasLimit *uint64 `protobuf:"varint,7,opt,name=verification_gas_limit,json=verificationGasLimit" json:"verification_gas_limit,omitempty"`
	PaymasterAndData     []byte  `protobuf:"bytes,8,opt,name=paymaster_and_data,json=paymasterAndData" json:"paymaster_and_data,omitempty"`
	// contains filtered or unexported fields
}

func (*JitInherentRequest) Descriptor deprecated

func (*JitInherentRequest) Descriptor() ([]byte, []int)

Deprecated: Use JitInherentRequest.ProtoReflect.Descriptor instead.

func (*JitInherentRequest) GetCallData

func (x *JitInherentRequest) GetCallData() []byte

func (*JitInherentRequest) GetCallGasLimit

func (x *JitInherentRequest) GetCallGasLimit() uint64

func (*JitInherentRequest) GetInitCode

func (x *JitInherentRequest) GetInitCode() []byte

func (*JitInherentRequest) GetNonce

func (x *JitInherentRequest) GetNonce() uint64

func (*JitInherentRequest) GetNonceKey

func (x *JitInherentRequest) GetNonceKey() []byte

func (*JitInherentRequest) GetPaymasterAndData

func (x *JitInherentRequest) GetPaymasterAndData() []byte

func (*JitInherentRequest) GetSender

func (x *JitInherentRequest) GetSender() []byte

func (*JitInherentRequest) GetVerificationGasLimit

func (x *JitInherentRequest) GetVerificationGasLimit() uint64

func (*JitInherentRequest) ProtoMessage

func (*JitInherentRequest) ProtoMessage()

func (*JitInherentRequest) ProtoReflect

func (x *JitInherentRequest) ProtoReflect() protoreflect.Message

func (*JitInherentRequest) Reset

func (x *JitInherentRequest) Reset()

func (*JitInherentRequest) String

func (x *JitInherentRequest) String() string

type JitInherentResponse

type JitInherentResponse struct {
	JitInherentHashes [][]byte `protobuf:"bytes,1,rep,name=jit_inherent_hashes,json=jitInherentHashes" json:"jit_inherent_hashes,omitempty"`
	TxHash            []byte   `protobuf:"bytes,2,opt,name=tx_hash,json=txHash" json:"tx_hash,omitempty"`
	Success           *bool    `protobuf:"varint,3,req,name=success" json:"success,omitempty"`
	Ret               []byte   `protobuf:"bytes,4,opt,name=ret" json:"ret,omitempty"`
	ErrorMsg          *string  `protobuf:"bytes,5,opt,name=error_msg,json=errorMsg" json:"error_msg,omitempty"`
	// contains filtered or unexported fields
}

func (*JitInherentResponse) Descriptor deprecated

func (*JitInherentResponse) Descriptor() ([]byte, []int)

Deprecated: Use JitInherentResponse.ProtoReflect.Descriptor instead.

func (*JitInherentResponse) GetErrorMsg

func (x *JitInherentResponse) GetErrorMsg() string

func (*JitInherentResponse) GetJitInherentHashes

func (x *JitInherentResponse) GetJitInherentHashes() [][]byte

func (*JitInherentResponse) GetRet

func (x *JitInherentResponse) GetRet() []byte

func (*JitInherentResponse) GetSuccess

func (x *JitInherentResponse) GetSuccess() bool

func (*JitInherentResponse) GetTxHash

func (x *JitInherentResponse) GetTxHash() []byte

func (*JitInherentResponse) ProtoMessage

func (*JitInherentResponse) ProtoMessage()

func (*JitInherentResponse) ProtoReflect

func (x *JitInherentResponse) ProtoReflect() protoreflect.Message

func (*JitInherentResponse) Reset

func (x *JitInherentResponse) Reset()

func (*JitInherentResponse) String

func (x *JitInherentResponse) String() string

type JoinPointRunType

type JoinPointRunType int64
const (
	JoinPointRunType_VerifyTx          JoinPointRunType = 1
	JoinPointRunType_PreTxExecute      JoinPointRunType = 2
	JoinPointRunType_PreContractCall   JoinPointRunType = 4
	JoinPointRunType_PostContractCall  JoinPointRunType = 8
	JoinPointRunType_PostTxExecute     JoinPointRunType = 16
	JoinPointRunType_PostTxCommit      JoinPointRunType = 32
	JoinPointRunType_OnBlockInitialize JoinPointRunType = 64
	JoinPointRunType_OnBlockFinalize   JoinPointRunType = 128

	BlockLevelJP = int64(JoinPointRunType_OnBlockInitialize) + int64(JoinPointRunType_OnBlockFinalize)

	TransactionLevelJP = int64(JoinPointRunType_PreTxExecute) + int64(JoinPointRunType_PreContractCall) + int64(JoinPointRunType_PostContractCall) + int64(JoinPointRunType_PostTxExecute) + int64(JoinPointRunType_PostTxCommit)
)

type NoFromTxInput

type NoFromTxInput struct {
	Hash []byte `protobuf:"bytes,1,req,name=hash" json:"hash,omitempty"`
	To   []byte `protobuf:"bytes,2,req,name=to" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*NoFromTxInput) Descriptor deprecated

func (*NoFromTxInput) Descriptor() ([]byte, []int)

Deprecated: Use NoFromTxInput.ProtoReflect.Descriptor instead.

func (*NoFromTxInput) GetHash

func (x *NoFromTxInput) GetHash() []byte

func (*NoFromTxInput) GetTo

func (x *NoFromTxInput) GetTo() []byte

func (*NoFromTxInput) ProtoMessage

func (*NoFromTxInput) ProtoMessage()

func (*NoFromTxInput) ProtoReflect

func (x *NoFromTxInput) ProtoReflect() protoreflect.Message

func (*NoFromTxInput) Reset

func (x *NoFromTxInput) Reset()

func (*NoFromTxInput) String

func (x *NoFromTxInput) String() string

type OperationInput

type OperationInput struct {
	Tx       *WithFromTxInput `protobuf:"bytes,1,req,name=tx" json:"tx,omitempty"`
	Block    *BlockInput      `protobuf:"bytes,2,req,name=block" json:"block,omitempty"`
	CallData []byte           `protobuf:"bytes,3,req,name=call_data,json=callData" json:"call_data,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationInput) Descriptor deprecated

func (*OperationInput) Descriptor() ([]byte, []int)

Deprecated: Use OperationInput.ProtoReflect.Descriptor instead.

func (*OperationInput) GetBlock

func (x *OperationInput) GetBlock() *BlockInput

func (*OperationInput) GetCallData

func (x *OperationInput) GetCallData() []byte

func (*OperationInput) GetTx

func (x *OperationInput) GetTx() *WithFromTxInput

func (*OperationInput) ProtoMessage

func (*OperationInput) ProtoMessage()

func (*OperationInput) ProtoReflect

func (x *OperationInput) ProtoReflect() protoreflect.Message

func (*OperationInput) Reset

func (x *OperationInput) Reset()

func (*OperationInput) String

func (x *OperationInput) String() string

type PointCut

type PointCut string
const (
	FILTER_TX                  PointCut = "filterTx"
	ON_BLOCK_INITIALIZE_METHOD PointCut = "onBlockInitialize"
	VERIFY_TX                  PointCut = "verifyTx"
	ON_ACCOUNT_VERIFY_METHOD   PointCut = "onAccountVerify"
	ON_GAS_PAYMENT_METHOD      PointCut = "onGasPayment"
	PRE_TX_EXECUTE_METHOD      PointCut = "preTxExecute"
	PRE_CONTRACT_CALL_METHOD   PointCut = "preContractCall"
	POST_CONTRACT_CALL_METHOD  PointCut = "postContractCall"
	POST_TX_EXECUTE_METHOD     PointCut = "postTxExecute"
	POST_TX_COMMIT             PointCut = "postTxCommit"
	ON_BLOCK_FINALIZE_METHOD   PointCut = "onBlockFinalize"
	OPERATION_METHOD           PointCut = "operation"
	IS_OWNER_METHOD            PointCut = "isOwner"
	ON_CONTRACT_BINDING_METHOD PointCut = "onContractBinding"
)

type PostContractCallInput

type PostContractCallInput struct {
	Call  *PostExecMessageInput `protobuf:"bytes,1,req,name=call" json:"call,omitempty"`
	Block *BlockInput           `protobuf:"bytes,2,req,name=block" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*PostContractCallInput) Descriptor deprecated

func (*PostContractCallInput) Descriptor() ([]byte, []int)

Deprecated: Use PostContractCallInput.ProtoReflect.Descriptor instead.

func (*PostContractCallInput) GetBlock

func (x *PostContractCallInput) GetBlock() *BlockInput

func (*PostContractCallInput) GetCall

func (*PostContractCallInput) ProtoMessage

func (*PostContractCallInput) ProtoMessage()

func (*PostContractCallInput) ProtoReflect

func (x *PostContractCallInput) ProtoReflect() protoreflect.Message

func (*PostContractCallInput) Reset

func (x *PostContractCallInput) Reset()

func (*PostContractCallInput) String

func (x *PostContractCallInput) String() string

type PostExecMessageInput

type PostExecMessageInput struct {
	From  []byte  `protobuf:"bytes,1,req,name=from" json:"from,omitempty"`
	To    []byte  `protobuf:"bytes,2,req,name=to" json:"to,omitempty"`
	Index *uint64 `protobuf:"varint,3,req,name=index" json:"index,omitempty"`
	Data  []byte  `protobuf:"bytes,4,req,name=data" json:"data,omitempty"`
	Value []byte  `protobuf:"bytes,5,req,name=value" json:"value,omitempty"`
	Gas   *uint64 `protobuf:"varint,6,opt,name=gas" json:"gas,omitempty"`
	Ret   []byte  `protobuf:"bytes,7,opt,name=ret" json:"ret,omitempty"`
	Error *string `protobuf:"bytes,8,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*PostExecMessageInput) Descriptor deprecated

func (*PostExecMessageInput) Descriptor() ([]byte, []int)

Deprecated: Use PostExecMessageInput.ProtoReflect.Descriptor instead.

func (*PostExecMessageInput) GetData

func (x *PostExecMessageInput) GetData() []byte

func (*PostExecMessageInput) GetError

func (x *PostExecMessageInput) GetError() string

func (*PostExecMessageInput) GetFrom

func (x *PostExecMessageInput) GetFrom() []byte

func (*PostExecMessageInput) GetGas

func (x *PostExecMessageInput) GetGas() uint64

func (*PostExecMessageInput) GetIndex

func (x *PostExecMessageInput) GetIndex() uint64

func (*PostExecMessageInput) GetRet

func (x *PostExecMessageInput) GetRet() []byte

func (*PostExecMessageInput) GetTo

func (x *PostExecMessageInput) GetTo() []byte

func (*PostExecMessageInput) GetValue

func (x *PostExecMessageInput) GetValue() []byte

func (*PostExecMessageInput) ProtoMessage

func (*PostExecMessageInput) ProtoMessage()

func (*PostExecMessageInput) ProtoReflect

func (x *PostExecMessageInput) ProtoReflect() protoreflect.Message

func (*PostExecMessageInput) Reset

func (x *PostExecMessageInput) Reset()

func (*PostExecMessageInput) String

func (x *PostExecMessageInput) String() string

type PostTxExecuteInput

type PostTxExecuteInput struct {
	Tx      *WithFromTxInput `protobuf:"bytes,1,req,name=tx" json:"tx,omitempty"`
	Block   *BlockInput      `protobuf:"bytes,2,req,name=block" json:"block,omitempty"`
	Receipt *ReceiptInput    `protobuf:"bytes,3,req,name=receipt" json:"receipt,omitempty"`
	// contains filtered or unexported fields
}

func (*PostTxExecuteInput) Descriptor deprecated

func (*PostTxExecuteInput) Descriptor() ([]byte, []int)

Deprecated: Use PostTxExecuteInput.ProtoReflect.Descriptor instead.

func (*PostTxExecuteInput) GetBlock

func (x *PostTxExecuteInput) GetBlock() *BlockInput

func (*PostTxExecuteInput) GetReceipt

func (x *PostTxExecuteInput) GetReceipt() *ReceiptInput

func (*PostTxExecuteInput) GetTx

func (x *PostTxExecuteInput) GetTx() *WithFromTxInput

func (*PostTxExecuteInput) ProtoMessage

func (*PostTxExecuteInput) ProtoMessage()

func (*PostTxExecuteInput) ProtoReflect

func (x *PostTxExecuteInput) ProtoReflect() protoreflect.Message

func (*PostTxExecuteInput) Reset

func (x *PostTxExecuteInput) Reset()

func (*PostTxExecuteInput) String

func (x *PostTxExecuteInput) String() string

type PreContractCallInput

type PreContractCallInput struct {
	Call  *PreExecMessageInput `protobuf:"bytes,1,req,name=call" json:"call,omitempty"`
	Block *BlockInput          `protobuf:"bytes,2,req,name=block" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*PreContractCallInput) Descriptor deprecated

func (*PreContractCallInput) Descriptor() ([]byte, []int)

Deprecated: Use PreContractCallInput.ProtoReflect.Descriptor instead.

func (*PreContractCallInput) GetBlock

func (x *PreContractCallInput) GetBlock() *BlockInput

func (*PreContractCallInput) GetCall

func (*PreContractCallInput) ProtoMessage

func (*PreContractCallInput) ProtoMessage()

func (*PreContractCallInput) ProtoReflect

func (x *PreContractCallInput) ProtoReflect() protoreflect.Message

func (*PreContractCallInput) Reset

func (x *PreContractCallInput) Reset()

func (*PreContractCallInput) String

func (x *PreContractCallInput) String() string

type PreExecMessageInput

type PreExecMessageInput struct {
	From  []byte  `protobuf:"bytes,1,req,name=from" json:"from,omitempty"`
	To    []byte  `protobuf:"bytes,2,req,name=to" json:"to,omitempty"`
	Index *uint64 `protobuf:"varint,3,req,name=index" json:"index,omitempty"`
	Data  []byte  `protobuf:"bytes,4,req,name=data" json:"data,omitempty"`
	Value []byte  `protobuf:"bytes,5,req,name=value" json:"value,omitempty"`
	Gas   *uint64 `protobuf:"varint,6,req,name=gas" json:"gas,omitempty"`
	// contains filtered or unexported fields
}

func (*PreExecMessageInput) Descriptor deprecated

func (*PreExecMessageInput) Descriptor() ([]byte, []int)

Deprecated: Use PreExecMessageInput.ProtoReflect.Descriptor instead.

func (*PreExecMessageInput) GetData

func (x *PreExecMessageInput) GetData() []byte

func (*PreExecMessageInput) GetFrom

func (x *PreExecMessageInput) GetFrom() []byte

func (*PreExecMessageInput) GetGas

func (x *PreExecMessageInput) GetGas() uint64

func (*PreExecMessageInput) GetIndex

func (x *PreExecMessageInput) GetIndex() uint64

func (*PreExecMessageInput) GetTo

func (x *PreExecMessageInput) GetTo() []byte

func (*PreExecMessageInput) GetValue

func (x *PreExecMessageInput) GetValue() []byte

func (*PreExecMessageInput) ProtoMessage

func (*PreExecMessageInput) ProtoMessage()

func (*PreExecMessageInput) ProtoReflect

func (x *PreExecMessageInput) ProtoReflect() protoreflect.Message

func (*PreExecMessageInput) Reset

func (x *PreExecMessageInput) Reset()

func (*PreExecMessageInput) String

func (x *PreExecMessageInput) String() string

type PreTxExecuteInput

type PreTxExecuteInput struct {
	Tx    *WithFromTxInput `protobuf:"bytes,1,req,name=tx" json:"tx,omitempty"`
	Block *BlockInput      `protobuf:"bytes,2,req,name=block" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*PreTxExecuteInput) Descriptor deprecated

func (*PreTxExecuteInput) Descriptor() ([]byte, []int)

Deprecated: Use PreTxExecuteInput.ProtoReflect.Descriptor instead.

func (*PreTxExecuteInput) GetBlock

func (x *PreTxExecuteInput) GetBlock() *BlockInput

func (*PreTxExecuteInput) GetTx

func (x *PreTxExecuteInput) GetTx() *WithFromTxInput

func (*PreTxExecuteInput) ProtoMessage

func (*PreTxExecuteInput) ProtoMessage()

func (*PreTxExecuteInput) ProtoReflect

func (x *PreTxExecuteInput) ProtoReflect() protoreflect.Message

func (*PreTxExecuteInput) Reset

func (x *PreTxExecuteInput) Reset()

func (*PreTxExecuteInput) String

func (x *PreTxExecuteInput) String() string

type ReceiptInput

type ReceiptInput struct {
	Status *uint64 `protobuf:"varint,1,req,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ReceiptInput) Descriptor deprecated

func (*ReceiptInput) Descriptor() ([]byte, []int)

Deprecated: Use ReceiptInput.ProtoReflect.Descriptor instead.

func (*ReceiptInput) GetStatus

func (x *ReceiptInput) GetStatus() uint64

func (*ReceiptInput) ProtoMessage

func (*ReceiptInput) ProtoMessage()

func (*ReceiptInput) ProtoReflect

func (x *ReceiptInput) ProtoReflect() protoreflect.Message

func (*ReceiptInput) Reset

func (x *ReceiptInput) Reset()

func (*ReceiptInput) String

func (x *ReceiptInput) String() string

type RevertScope

type RevertScope uint8
const (
	NotRevert RevertScope = iota
	RevertCall
	RevertTx
)

type RunnerContext

type RunnerContext struct {
	Ctx           context.Context
	AspectId      common.Address
	AspectVersion uint64
	BlockNumber   int64
	Point         string
	ContractAddr  common.Address
	Gas           uint64
	Commit        bool
}

type RuntimeContextHostAPI

type RuntimeContextHostAPI interface {
	Get(ctx *RunnerContext, key string) []byte
}

type StateChangeQuery

type StateChangeQuery struct {
	Account      []byte   `protobuf:"bytes,1,req,name=account" json:"account,omitempty"`
	StateVarName *string  `protobuf:"bytes,2,req,name=state_var_name,json=stateVarName" json:"state_var_name,omitempty"`
	Indices      [][]byte `protobuf:"bytes,3,rep,name=indices" json:"indices,omitempty"`
	// contains filtered or unexported fields
}

trace api types

func (*StateChangeQuery) Descriptor deprecated

func (*StateChangeQuery) Descriptor() ([]byte, []int)

Deprecated: Use StateChangeQuery.ProtoReflect.Descriptor instead.

func (*StateChangeQuery) GetAccount

func (x *StateChangeQuery) GetAccount() []byte

func (*StateChangeQuery) GetIndices

func (x *StateChangeQuery) GetIndices() [][]byte

func (*StateChangeQuery) GetStateVarName

func (x *StateChangeQuery) GetStateVarName() string

func (*StateChangeQuery) ProtoMessage

func (*StateChangeQuery) ProtoMessage()

func (*StateChangeQuery) ProtoReflect

func (x *StateChangeQuery) ProtoReflect() protoreflect.Message

func (*StateChangeQuery) Reset

func (x *StateChangeQuery) Reset()

func (*StateChangeQuery) String

func (x *StateChangeQuery) String() string

type StateDBHostAPI

type StateDBHostAPI interface {
	GetBalance(address common.Address) *big.Int
	GetState(address common.Address, key common.Hash) common.Hash
	GetCodeHash(address common.Address) common.Hash
	GetCodeSize(address common.Address) int
	GetNonce(address common.Address) uint64
	HasSuicided(address common.Address) bool
}

type StaticCallRequest

type StaticCallRequest struct {
	From []byte  `protobuf:"bytes,1,opt,name=from" json:"from,omitempty"`
	To   []byte  `protobuf:"bytes,2,req,name=to" json:"to,omitempty"`
	Data []byte  `protobuf:"bytes,3,req,name=data" json:"data,omitempty"`
	Gas  *uint64 `protobuf:"varint,4,opt,name=gas" json:"gas,omitempty"`
	// contains filtered or unexported fields
}

evm api types

func (*StaticCallRequest) Descriptor deprecated

func (*StaticCallRequest) Descriptor() ([]byte, []int)

Deprecated: Use StaticCallRequest.ProtoReflect.Descriptor instead.

func (*StaticCallRequest) GetData

func (x *StaticCallRequest) GetData() []byte

func (*StaticCallRequest) GetFrom

func (x *StaticCallRequest) GetFrom() []byte

func (*StaticCallRequest) GetGas

func (x *StaticCallRequest) GetGas() uint64

func (*StaticCallRequest) GetTo

func (x *StaticCallRequest) GetTo() []byte

func (*StaticCallRequest) ProtoMessage

func (*StaticCallRequest) ProtoMessage()

func (*StaticCallRequest) ProtoReflect

func (x *StaticCallRequest) ProtoReflect() protoreflect.Message

func (*StaticCallRequest) Reset

func (x *StaticCallRequest) Reset()

func (*StaticCallRequest) String

func (x *StaticCallRequest) String() string

type StaticCallResult

type StaticCallResult struct {
	Ret     []byte  `protobuf:"bytes,1,opt,name=ret" json:"ret,omitempty"`
	VmError *string `protobuf:"bytes,2,opt,name=vm_error,json=vmError" json:"vm_error,omitempty"`
	GasLeft *uint64 `protobuf:"varint,3,req,name=gas_left,json=gasLeft" json:"gas_left,omitempty"`
	// contains filtered or unexported fields
}

func (*StaticCallResult) Descriptor deprecated

func (*StaticCallResult) Descriptor() ([]byte, []int)

Deprecated: Use StaticCallResult.ProtoReflect.Descriptor instead.

func (*StaticCallResult) GetGasLeft

func (x *StaticCallResult) GetGasLeft() uint64

func (*StaticCallResult) GetRet

func (x *StaticCallResult) GetRet() []byte

func (*StaticCallResult) GetVmError

func (x *StaticCallResult) GetVmError() string

func (*StaticCallResult) ProtoMessage

func (*StaticCallResult) ProtoMessage()

func (*StaticCallResult) ProtoReflect

func (x *StaticCallResult) ProtoReflect() protoreflect.Message

func (*StaticCallResult) Reset

func (x *StaticCallResult) Reset()

func (*StaticCallResult) String

func (x *StaticCallResult) String() string

type StringArrayData

type StringArrayData struct {
	Data []string `protobuf:"bytes,1,rep,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*StringArrayData) Descriptor deprecated

func (*StringArrayData) Descriptor() ([]byte, []int)

Deprecated: Use StringArrayData.ProtoReflect.Descriptor instead.

func (*StringArrayData) GetData

func (x *StringArrayData) GetData() []string

func (*StringArrayData) ProtoMessage

func (*StringArrayData) ProtoMessage()

func (*StringArrayData) ProtoReflect

func (x *StringArrayData) ProtoReflect() protoreflect.Message

func (*StringArrayData) Reset

func (x *StringArrayData) Reset()

func (*StringArrayData) String

func (x *StringArrayData) String() string

type StringData

type StringData struct {
	Data *string `protobuf:"bytes,1,req,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

basic types

func (*StringData) Descriptor deprecated

func (*StringData) Descriptor() ([]byte, []int)

Deprecated: Use StringData.ProtoReflect.Descriptor instead.

func (*StringData) GetData

func (x *StringData) GetData() string

func (*StringData) ProtoMessage

func (*StringData) ProtoMessage()

func (*StringData) ProtoReflect

func (x *StringData) ProtoReflect() protoreflect.Message

func (*StringData) Reset

func (x *StringData) Reset()

func (*StringData) String

func (x *StringData) String() string

type TxVerifyInput

type TxVerifyInput struct {
	Tx             *NoFromTxInput `protobuf:"bytes,1,req,name=tx" json:"tx,omitempty"`
	Block          *BlockInput    `protobuf:"bytes,2,req,name=block" json:"block,omitempty"`
	ValidationData []byte         `protobuf:"bytes,3,req,name=validation_data,json=validationData" json:"validation_data,omitempty"`
	CallData       []byte         `protobuf:"bytes,4,req,name=call_data,json=callData" json:"call_data,omitempty"`
	// contains filtered or unexported fields
}

func (*TxVerifyInput) Descriptor deprecated

func (*TxVerifyInput) Descriptor() ([]byte, []int)

Deprecated: Use TxVerifyInput.ProtoReflect.Descriptor instead.

func (*TxVerifyInput) GetBlock

func (x *TxVerifyInput) GetBlock() *BlockInput

func (*TxVerifyInput) GetCallData

func (x *TxVerifyInput) GetCallData() []byte

func (*TxVerifyInput) GetTx

func (x *TxVerifyInput) GetTx() *NoFromTxInput

func (*TxVerifyInput) GetValidationData

func (x *TxVerifyInput) GetValidationData() []byte

func (*TxVerifyInput) ProtoMessage

func (*TxVerifyInput) ProtoMessage()

func (*TxVerifyInput) ProtoReflect

func (x *TxVerifyInput) ProtoReflect() protoreflect.Message

func (*TxVerifyInput) Reset

func (x *TxVerifyInput) Reset()

func (*TxVerifyInput) String

func (x *TxVerifyInput) String() string

type UintData

type UintData struct {
	Data *uint64 `protobuf:"varint,1,req,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UintData) Descriptor deprecated

func (*UintData) Descriptor() ([]byte, []int)

Deprecated: Use UintData.ProtoReflect.Descriptor instead.

func (*UintData) GetData

func (x *UintData) GetData() uint64

func (*UintData) ProtoMessage

func (*UintData) ProtoMessage()

func (*UintData) ProtoReflect

func (x *UintData) ProtoReflect() protoreflect.Message

func (*UintData) Reset

func (x *UintData) Reset()

func (*UintData) String

func (x *UintData) String() string

type WithFromTxInput

type WithFromTxInput struct {
	Hash []byte `protobuf:"bytes,1,req,name=hash" json:"hash,omitempty"`
	To   []byte `protobuf:"bytes,2,req,name=to" json:"to,omitempty"`
	From []byte `protobuf:"bytes,3,req,name=from" json:"from,omitempty"`
	// contains filtered or unexported fields
}

func (*WithFromTxInput) Descriptor deprecated

func (*WithFromTxInput) Descriptor() ([]byte, []int)

Deprecated: Use WithFromTxInput.ProtoReflect.Descriptor instead.

func (*WithFromTxInput) GetFrom

func (x *WithFromTxInput) GetFrom() []byte

func (*WithFromTxInput) GetHash

func (x *WithFromTxInput) GetHash() []byte

func (*WithFromTxInput) GetTo

func (x *WithFromTxInput) GetTo() []byte

func (*WithFromTxInput) ProtoMessage

func (*WithFromTxInput) ProtoMessage()

func (*WithFromTxInput) ProtoReflect

func (x *WithFromTxInput) ProtoReflect() protoreflect.Message

func (*WithFromTxInput) Reset

func (x *WithFromTxInput) Reset()

func (*WithFromTxInput) String

func (x *WithFromTxInput) String() string

Jump to

Keyboard shortcuts

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