Documentation ¶
Index ¶
- Constants
- Variables
- func HasContextKey(key string) (bool, string, []string)
- func InitRuntimePool(capacity int32)
- func IsAspectContract(to string) bool
- func IsAspectContractAddr(to *common.Address) bool
- func ReturnRuntime(key string, instance runtime.AspectRuntime)
- func Runtime(code []byte, registry *runtime.HostAPIRegistry) (string, runtime.AspectRuntime, error)
- func Ternary[T string | []byte | uint64 | int64](condition bool, trueValue func() T, falseValue T) T
- type AdhocType
- type AspectCode
- func (*AspectCode) Descriptor() ([]byte, []int)deprecated
- func (x *AspectCode) GetAspectId() string
- func (x *AspectCode) GetCode() []byte
- func (x *AspectCode) GetPriority() uint32
- func (x *AspectCode) GetVersion() uint64
- func (*AspectCode) ProtoMessage()
- func (x *AspectCode) ProtoReflect() protoreflect.Message
- func (x *AspectCode) Reset()
- func (x *AspectCode) String() string
- type AspectContextI
- type AspectProvider
- type AspectResponse
- func (*AspectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AspectResponse) GetData() *anypb.Any
- func (x *AspectResponse) GetDataMessageType() string
- func (x *AspectResponse) GetResult() *RunResult
- func (*AspectResponse) ProtoMessage()
- func (x *AspectResponse) ProtoReflect() protoreflect.Message
- func (x *AspectResponse) Reset()
- func (x *AspectResponse) String() string
- type AspectRuntimeContextI
- type AspectStore
- type Block
- func (block *Block) FillBaseFee(baseFee *big.Int)
- func (block *Block) FillBloom(bloom ethtypes.Bloom)
- func (block *Block) FillGasLimit(gasLimit uint64)
- func (block *Block) FillGasUsed(gasUsed uint64)
- func (block *Block) FillHeader(header *EthBlockHeader, dataHash []byte, hash string)
- func (block *Block) FillSize(size uint64)
- func (block *Block) FillTransactions(trans []*EthTransaction)
- func (block *Block) FillValidatorAddr(addr common.Address)
- func (block *Block) MarshalProto() ([]byte, error)
- func (block *Block) UnmarshalProto(data []byte) error
- type BlockContextI
- type BlockID
- type BlockParams
- func (*BlockParams) Descriptor() ([]byte, []int)deprecated
- func (x *BlockParams) GetMaxBytes() int64
- func (x *BlockParams) GetMaxGas() int64
- func (*BlockParams) ProtoMessage()
- func (x *BlockParams) ProtoReflect() protoreflect.Message
- func (x *BlockParams) Reset()
- func (x *BlockParams) String() string
- type BoolData
- type BytesArrayData
- type BytesData
- type CallMessageRequest
- func (*CallMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallMessageRequest) GetMessage() *EthMessage
- func (*CallMessageRequest) ProtoMessage()
- func (x *CallMessageRequest) ProtoReflect() protoreflect.Message
- func (x *CallMessageRequest) Reset()
- func (x *CallMessageRequest) String() string
- type CallMessageResponse
- func (*CallMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallMessageResponse) GetData() *EthMessageCallResult
- func (x *CallMessageResponse) GetResult() *RunResult
- func (*CallMessageResponse) ProtoMessage()
- func (x *CallMessageResponse) ProtoReflect() protoreflect.Message
- func (x *CallMessageResponse) Reset()
- func (x *CallMessageResponse) String() string
- type CallStackQuery
- type ChainConfig
- func (*ChainConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ChainConfig) GetArrowGlacierBlock() string
- func (x *ChainConfig) GetBerlinBlock() string
- func (x *ChainConfig) GetByzantiumBlock() string
- func (x *ChainConfig) GetCancunTime() uint64
- func (x *ChainConfig) GetChainId() string
- func (x *ChainConfig) GetClique() *Clique
- func (x *ChainConfig) GetConstantinopleBlock() string
- func (x *ChainConfig) GetDaoForkBlock() string
- func (x *ChainConfig) GetDaoForkSupport() bool
- func (x *ChainConfig) GetEip150Block() string
- func (x *ChainConfig) GetEip155Block() string
- func (x *ChainConfig) GetEip158Block() string
- func (x *ChainConfig) GetGrayGlacierBlock() string
- func (x *ChainConfig) GetHomesteadBlock() string
- func (x *ChainConfig) GetIstanbulBlock() string
- func (x *ChainConfig) GetLondonBlock() string
- func (x *ChainConfig) GetMergeNetsplitBlock() string
- func (x *ChainConfig) GetMuirGlacierBlock() string
- func (x *ChainConfig) GetPetersburgBlock() string
- func (x *ChainConfig) GetPragueTime() uint64
- func (x *ChainConfig) GetShanghaiTime() uint64
- func (x *ChainConfig) GetTerminalTotalDifficulty() string
- func (x *ChainConfig) GetTerminalTotalDifficultyPassed() bool
- func (*ChainConfig) ProtoMessage()
- func (x *ChainConfig) ProtoReflect() protoreflect.Message
- func (x *ChainConfig) Reset()
- func (x *ChainConfig) String() string
- type Clique
- type ConsParams
- func (*ConsParams) Descriptor() ([]byte, []int)deprecated
- func (x *ConsParams) GetBlock() *BlockParams
- func (x *ConsParams) GetEvidence() *EvidenceParams
- func (x *ConsParams) GetValidator() *ValidatorParams
- func (x *ConsParams) GetVersion() *VersionParams
- func (*ConsParams) ProtoMessage()
- func (x *ConsParams) ProtoReflect() protoreflect.Message
- func (x *ConsParams) Reset()
- func (x *ConsParams) String() string
- type ContextQueryRequest
- func (*ContextQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContextQueryRequest) GetNameSpace() QueryNameSpace
- func (x *ContextQueryRequest) GetQuery() *anypb.Any
- func (*ContextQueryRequest) ProtoMessage()
- func (x *ContextQueryRequest) ProtoReflect() protoreflect.Message
- func (x *ContextQueryRequest) Reset()
- func (x *ContextQueryRequest) String() string
- type ContextQueryResponse
- func (*ContextQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContextQueryResponse) GetData() *anypb.Any
- func (x *ContextQueryResponse) GetResult() *RunResult
- func (*ContextQueryResponse) ProtoMessage()
- func (x *ContextQueryResponse) ProtoReflect() protoreflect.Message
- func (x *ContextQueryResponse) Reset()
- func (c *ContextQueryResponse) SetData(message proto.Message)
- func (x *ContextQueryResponse) String() string
- type ContextRemoveRequest
- func (*ContextRemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContextRemoveRequest) GetNameSpace() RemoveNameSpace
- func (x *ContextRemoveRequest) GetQuery() *anypb.Any
- func (*ContextRemoveRequest) ProtoMessage()
- func (x *ContextRemoveRequest) ProtoReflect() protoreflect.Message
- func (x *ContextRemoveRequest) Reset()
- func (x *ContextRemoveRequest) String() string
- type ContextSetRequest
- func (*ContextSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContextSetRequest) GetKey() string
- func (x *ContextSetRequest) GetNameSpace() SetNameSpace
- func (x *ContextSetRequest) GetValue() string
- func (*ContextSetRequest) ProtoMessage()
- func (x *ContextSetRequest) ProtoReflect() protoreflect.Message
- func (x *ContextSetRequest) Reset()
- func (x *ContextSetRequest) String() string
- type CosmosGasMeter
- type DecCoin
- type EnvConfigI
- type EnvContent
- type EthAccessTuple
- func (*EthAccessTuple) Descriptor() ([]byte, []int)deprecated
- func (x *EthAccessTuple) GetAddress() string
- func (x *EthAccessTuple) GetStorageKeys() []string
- func (*EthAccessTuple) ProtoMessage()
- func (x *EthAccessTuple) ProtoReflect() protoreflect.Message
- func (x *EthAccessTuple) Reset()
- func (x *EthAccessTuple) String() string
- type EthBlock
- func (*EthBlock) Descriptor() ([]byte, []int)deprecated
- func (x *EthBlock) GetDataHash() []byte
- func (x *EthBlock) GetHash() string
- func (x *EthBlock) GetHeader() *EthBlockHeader
- func (x *EthBlock) GetSize() uint64
- func (x *EthBlock) GetTransactions() []*EthTransaction
- func (x *EthBlock) GetUncles() []*EthBlockHeader
- func (*EthBlock) ProtoMessage()
- func (x *EthBlock) ProtoReflect() protoreflect.Message
- func (x *EthBlock) Reset()
- func (x *EthBlock) String() string
- type EthBlockAspect
- func (*EthBlockAspect) Descriptor() ([]byte, []int)deprecated
- func (x *EthBlockAspect) GetGasInfo() *GasInfo
- func (x *EthBlockAspect) GetHeader() *EthBlockHeader
- func (*EthBlockAspect) ProtoMessage()
- func (x *EthBlockAspect) ProtoReflect() protoreflect.Message
- func (x *EthBlockAspect) Reset()
- func (x *EthBlockAspect) String() string
- type EthBlockHeader
- func (*EthBlockHeader) Descriptor() ([]byte, []int)deprecated
- func (x *EthBlockHeader) GetBaseFee() uint64
- func (x *EthBlockHeader) GetCoinbase() string
- func (x *EthBlockHeader) GetDifficulty() uint64
- func (x *EthBlockHeader) GetExcessDataGas() string
- func (x *EthBlockHeader) GetExtraData() []byte
- func (x *EthBlockHeader) GetGasLimit() uint64
- func (x *EthBlockHeader) GetGasUsed() uint64
- func (x *EthBlockHeader) GetMixHash() []byte
- func (x *EthBlockHeader) GetNonce() uint64
- func (x *EthBlockHeader) GetNumber() uint64
- func (x *EthBlockHeader) GetParentHash() string
- func (x *EthBlockHeader) GetReceiptHash() string
- func (x *EthBlockHeader) GetStateRoot() string
- func (x *EthBlockHeader) GetTimestamp() uint64
- func (x *EthBlockHeader) GetTransactionsRoot() string
- func (x *EthBlockHeader) GetUncleHash() string
- func (x *EthBlockHeader) GetWithdrawalsRoot() string
- func (*EthBlockHeader) ProtoMessage()
- func (x *EthBlockHeader) ProtoReflect() protoreflect.Message
- func (x *EthBlockHeader) Reset()
- func (x *EthBlockHeader) String() string
- type EthCallStackQuery
- func (*EthCallStackQuery) Descriptor() ([]byte, []int)deprecated
- func (x *EthCallStackQuery) GetIndexIn() []uint64
- func (x *EthCallStackQuery) GetParentIndexEq() uint64
- func (x *EthCallStackQuery) GetToEq() string
- func (*EthCallStackQuery) ProtoMessage()
- func (x *EthCallStackQuery) ProtoReflect() protoreflect.Message
- func (x *EthCallStackQuery) Reset()
- func (x *EthCallStackQuery) String() string
- type EthCallStacks
- type EthInnerTransaction
- func (*EthInnerTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *EthInnerTransaction) GetData() []byte
- func (x *EthInnerTransaction) GetFrom() string
- func (x *EthInnerTransaction) GetGas() string
- func (x *EthInnerTransaction) GetTo() string
- func (x *EthInnerTransaction) GetValue() string
- func (*EthInnerTransaction) ProtoMessage()
- func (x *EthInnerTransaction) ProtoReflect() protoreflect.Message
- func (x *EthInnerTransaction) Reset()
- func (x *EthInnerTransaction) String() string
- type EthLog
- func (*EthLog) Descriptor() ([]byte, []int)deprecated
- func (x *EthLog) GetAddress() string
- func (x *EthLog) GetBlockHash() string
- func (x *EthLog) GetBlockNumber() uint64
- func (x *EthLog) GetData() []byte
- func (x *EthLog) GetIndex() uint64
- func (x *EthLog) GetRemoved() bool
- func (x *EthLog) GetTopics() []string
- func (x *EthLog) GetTxHash() string
- func (x *EthLog) GetTxIndex() uint64
- func (*EthLog) ProtoMessage()
- func (x *EthLog) ProtoReflect() protoreflect.Message
- func (x *EthLog) Reset()
- func (x *EthLog) String() string
- type EthMessage
- func (*EthMessage) Descriptor() ([]byte, []int)deprecated
- func (x *EthMessage) GetFrom() string
- func (x *EthMessage) GetGas() uint64
- func (x *EthMessage) GetGasFeeCap() string
- func (x *EthMessage) GetGasPrice() string
- func (x *EthMessage) GetGasTipCap() string
- func (x *EthMessage) GetInput() []byte
- func (x *EthMessage) GetIsFake() bool
- func (x *EthMessage) GetNonce() uint64
- func (x *EthMessage) GetTo() string
- func (x *EthMessage) GetValue() string
- func (*EthMessage) ProtoMessage()
- func (x *EthMessage) ProtoReflect() protoreflect.Message
- func (x *EthMessage) Reset()
- func (x *EthMessage) String() string
- type EthMessageCallResult
- func (*EthMessageCallResult) Descriptor() ([]byte, []int)deprecated
- func (x *EthMessageCallResult) GetGasUsed() uint64
- func (x *EthMessageCallResult) GetHash() string
- func (x *EthMessageCallResult) GetLogs() []*EthLog
- func (x *EthMessageCallResult) GetRet() []byte
- func (x *EthMessageCallResult) GetVmError() string
- func (*EthMessageCallResult) ProtoMessage()
- func (x *EthMessageCallResult) ProtoReflect() protoreflect.Message
- func (x *EthMessageCallResult) Reset()
- func (x *EthMessageCallResult) String() string
- type EthReceipt
- func (*EthReceipt) Descriptor() ([]byte, []int)deprecated
- func (x *EthReceipt) GetBlockHash() string
- func (x *EthReceipt) GetBlockNumber() string
- func (x *EthReceipt) GetContractAddress() string
- func (x *EthReceipt) GetCumulativeGasUsed() uint64
- func (x *EthReceipt) GetGasUsed() uint64
- func (x *EthReceipt) GetLogs() []*EthLog
- func (x *EthReceipt) GetLogsBloom() []byte
- func (x *EthReceipt) GetPostState() []byte
- func (x *EthReceipt) GetStatus() uint64
- func (x *EthReceipt) GetTransactionIndex() uint32
- func (x *EthReceipt) GetTxHash() string
- func (x *EthReceipt) GetType() uint32
- func (*EthReceipt) ProtoMessage()
- func (x *EthReceipt) ProtoReflect() protoreflect.Message
- func (x *EthReceipt) Reset()
- func (x *EthReceipt) String() string
- type EthStackTransaction
- func (*EthStackTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *EthStackTransaction) GetChildrenIndex() []uint64
- func (x *EthStackTransaction) GetData() []byte
- func (x *EthStackTransaction) GetFrom() string
- func (x *EthStackTransaction) GetGas() string
- func (x *EthStackTransaction) GetIndex() uint64
- func (x *EthStackTransaction) GetLeftOverGas() uint64
- func (x *EthStackTransaction) GetParentIndex() int64
- func (x *EthStackTransaction) GetRet() []byte
- func (x *EthStackTransaction) GetTo() string
- func (x *EthStackTransaction) GetValue() string
- func (*EthStackTransaction) ProtoMessage()
- func (x *EthStackTransaction) ProtoReflect() protoreflect.Message
- func (x *EthStackTransaction) Reset()
- func (x *EthStackTransaction) String() string
- type EthStateChange
- func (*EthStateChange) Descriptor() ([]byte, []int)deprecated
- func (x *EthStateChange) GetAccount() string
- func (x *EthStateChange) GetCallIndex() uint64
- func (x *EthStateChange) GetValue() []byte
- func (*EthStateChange) ProtoMessage()
- func (x *EthStateChange) ProtoReflect() protoreflect.Message
- func (x *EthStateChange) Reset()
- func (x *EthStateChange) String() string
- type EthStateChangeIndices
- func (*EthStateChangeIndices) Descriptor() ([]byte, []int)deprecated
- func (x *EthStateChangeIndices) GetIndices() [][]byte
- func (*EthStateChangeIndices) ProtoMessage()
- func (x *EthStateChangeIndices) ProtoReflect() protoreflect.Message
- func (x *EthStateChangeIndices) Reset()
- func (x *EthStateChangeIndices) String() string
- type EthStateChanges
- type EthTransaction
- func (*EthTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *EthTransaction) GetAccessList() []*EthAccessTuple
- func (x *EthTransaction) GetBlockHash() []byte
- func (x *EthTransaction) GetBlockNumber() int64
- func (x *EthTransaction) GetChainId() string
- func (x *EthTransaction) GetFrom() string
- func (x *EthTransaction) GetGas() uint64
- func (x *EthTransaction) GetGasFeeCap() string
- func (x *EthTransaction) GetGasPrice() string
- func (x *EthTransaction) GetGasTipCap() string
- func (x *EthTransaction) GetHash() []byte
- func (x *EthTransaction) GetInput() []byte
- func (x *EthTransaction) GetNonce() uint64
- func (x *EthTransaction) GetR() []byte
- func (x *EthTransaction) GetS() []byte
- func (x *EthTransaction) GetTo() string
- func (x *EthTransaction) GetTransactionIndex() int64
- func (x *EthTransaction) GetType() int32
- func (x *EthTransaction) GetV() []byte
- func (x *EthTransaction) GetValue() string
- func (*EthTransaction) ProtoMessage()
- func (x *EthTransaction) ProtoReflect() protoreflect.Message
- func (x *EthTransaction) Reset()
- func (x *EthTransaction) String() string
- type EthTxArray
- type EthTxAspect
- func (*EthTxAspect) Descriptor() ([]byte, []int)deprecated
- func (x *EthTxAspect) GetCallData() *anypb.Any
- func (x *EthTxAspect) GetCurrInnerTx() *EthStackTransaction
- func (x *EthTxAspect) GetGasInfo() *GasInfo
- func (x *EthTxAspect) GetTx() *EthTransaction
- func (*EthTxAspect) ProtoMessage()
- func (x *EthTxAspect) ProtoReflect() protoreflect.Message
- func (x *EthTxAspect) Reset()
- func (x *EthTxAspect) String() string
- type EthTxContextI
- type EthTxQuery
- type Evidence
- func (*Evidence) Descriptor() ([]byte, []int)deprecated
- func (x *Evidence) GetHeight() int64
- func (x *Evidence) GetTime() int64
- func (x *Evidence) GetTotalVotingPower() int64
- func (x *Evidence) GetType() EvidenceType
- func (x *Evidence) GetValidator() *Validator
- func (*Evidence) ProtoMessage()
- func (x *Evidence) ProtoReflect() protoreflect.Message
- func (x *Evidence) Reset()
- func (x *Evidence) String() string
- type EvidenceList
- type EvidenceParams
- func (*EvidenceParams) Descriptor() ([]byte, []int)deprecated
- func (x *EvidenceParams) GetMaxAgeDuration() int64
- func (x *EvidenceParams) GetMaxAgeNumBlocks() int64
- func (x *EvidenceParams) GetMaxBytes() int64
- func (*EvidenceParams) ProtoMessage()
- func (x *EvidenceParams) ProtoReflect() protoreflect.Message
- func (x *EvidenceParams) Reset()
- func (x *EvidenceParams) String() string
- type EvidenceType
- func (EvidenceType) Descriptor() protoreflect.EnumDescriptor
- func (x EvidenceType) Enum() *EvidenceType
- func (EvidenceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EvidenceType) Number() protoreflect.EnumNumber
- func (x EvidenceType) String() string
- func (EvidenceType) Type() protoreflect.EnumType
- type EvmHostApi
- type EvmParams
- func (*EvmParams) Descriptor() ([]byte, []int)deprecated
- func (x *EvmParams) GetAllowUnprotectedTxs() bool
- func (x *EvmParams) GetEnableCall() bool
- func (x *EvmParams) GetEnableCreate() bool
- func (x *EvmParams) GetEvmDenom() string
- func (x *EvmParams) GetExtraEips() []int64
- func (*EvmParams) ProtoMessage()
- func (x *EvmParams) ProtoReflect() protoreflect.Message
- func (x *EvmParams) Reset()
- func (x *EvmParams) String() string
- type FilterTxResult
- type Gas
- type GasInfo
- func (*GasInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GasInfo) GetGas() uint64
- func (x *GasInfo) GetGasUsed() uint64
- func (x *GasInfo) GetGasWanted() uint64
- func (*GasInfo) ProtoMessage()
- func (x *GasInfo) ProtoReflect() protoreflect.Message
- func (x *GasInfo) Reset()
- func (x *GasInfo) String() string
- type GasMeter
- func (*GasMeter) Descriptor() ([]byte, []int)deprecated
- func (x *GasMeter) GetGasConsumed() uint64
- func (x *GasMeter) GetGasConsumedToLimit() uint64
- func (x *GasMeter) GetGasRemaining() uint64
- func (x *GasMeter) GetLimit() uint64
- func (*GasMeter) ProtoMessage()
- func (x *GasMeter) ProtoReflect() protoreflect.Message
- func (x *GasMeter) Reset()
- func (x *GasMeter) String() string
- type GetPayMasterResult
- func (*GetPayMasterResult) Descriptor() ([]byte, []int)deprecated
- func (x *GetPayMasterResult) GetPayMaster() string
- func (*GetPayMasterResult) ProtoMessage()
- func (x *GetPayMasterResult) ProtoReflect() protoreflect.Message
- func (x *GetPayMasterResult) Reset()
- func (x *GetPayMasterResult) String() string
- type IntData
- type JitInherentRequest
- func (*JitInherentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JitInherentRequest) GetCallData() []byte
- func (x *JitInherentRequest) GetCallGasLimit() []byte
- func (x *JitInherentRequest) GetInitCode() []byte
- func (x *JitInherentRequest) GetMaxFeePerGas() []byte
- func (x *JitInherentRequest) GetMaxPriorityFeePerGas() []byte
- func (x *JitInherentRequest) GetNonce() []byte
- func (x *JitInherentRequest) GetPaymasterAndData() []byte
- func (x *JitInherentRequest) GetSender() []byte
- func (x *JitInherentRequest) GetVerificationGasLimit() []byte
- func (*JitInherentRequest) ProtoMessage()
- func (x *JitInherentRequest) ProtoReflect() protoreflect.Message
- func (x *JitInherentRequest) Reset()
- func (x *JitInherentRequest) String() string
- type JitInherentResponse
- func (*JitInherentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JitInherentResponse) GetErrorMsg() string
- func (x *JitInherentResponse) GetJitInherentHashes() [][]byte
- func (x *JitInherentResponse) GetLeftoverGas() uint64
- func (x *JitInherentResponse) GetRet() []byte
- func (x *JitInherentResponse) GetSuccess() bool
- func (x *JitInherentResponse) GetTxHash() []byte
- func (*JitInherentResponse) ProtoMessage()
- func (x *JitInherentResponse) ProtoReflect() protoreflect.Message
- func (x *JitInherentResponse) Reset()
- func (x *JitInherentResponse) String() string
- type JoinPointAdviceI
- type JoinPointResult
- func (*JoinPointResult) Descriptor() ([]byte, []int)deprecated
- func (x *JoinPointResult) GetExecResultMap() map[string]*AspectResponse
- func (x *JoinPointResult) GetGasInfo() *GasInfo
- func (x *JoinPointResult) GetTxHash() string
- func (c *JoinPointResult) HasErr() (bool, error)
- func (*JoinPointResult) ProtoMessage()
- func (x *JoinPointResult) ProtoReflect() protoreflect.Message
- func (x *JoinPointResult) Reset()
- func (x *JoinPointResult) String() string
- func (c *JoinPointResult) WithErr(aspectId string, err error) *JoinPointResult
- func (c *JoinPointResult) WithGas(gasWanted, gasUsed, gasLeft uint64) *JoinPointResult
- func (c *JoinPointResult) WithResponse(aspectId string, output *AspectResponse) *JoinPointResult
- type LastCommitInfo
- func (*LastCommitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LastCommitInfo) GetRound() int32
- func (x *LastCommitInfo) GetVotes() []*VoteInfo
- func (*LastCommitInfo) ProtoMessage()
- func (x *LastCommitInfo) ProtoReflect() protoreflect.Message
- func (x *LastCommitInfo) Reset()
- func (x *LastCommitInfo) String() string
- type MinGasPrice
- type PartSetHeader
- func (*PartSetHeader) Descriptor() ([]byte, []int)deprecated
- func (x *PartSetHeader) GetHash() []byte
- func (x *PartSetHeader) GetTotal() uint32
- func (*PartSetHeader) ProtoMessage()
- func (x *PartSetHeader) ProtoReflect() protoreflect.Message
- func (x *PartSetHeader) Reset()
- func (x *PartSetHeader) String() string
- type PeriodicType
- func (*PeriodicType) Descriptor() ([]byte, []int)deprecated
- func (x *PeriodicType) GetCount() uint64
- func (x *PeriodicType) GetEveryNBlocks() uint64
- func (x *PeriodicType) GetMaxRetry() uint64
- func (x *PeriodicType) GetStartBlock() uint64
- func (*PeriodicType) ProtoMessage()
- func (x *PeriodicType) ProtoReflect() protoreflect.Message
- func (x *PeriodicType) Reset()
- func (x *PeriodicType) String() string
- type PointCut
- type QueryNameSpace
- func (QueryNameSpace) Descriptor() protoreflect.EnumDescriptor
- func (x QueryNameSpace) Enum() *QueryNameSpace
- func (QueryNameSpace) EnumDescriptor() ([]byte, []int)deprecated
- func (x QueryNameSpace) Number() protoreflect.EnumNumber
- func (x QueryNameSpace) String() string
- func (QueryNameSpace) Type() protoreflect.EnumType
- type RemoveNameSpace
- func (RemoveNameSpace) Descriptor() protoreflect.EnumDescriptor
- func (x RemoveNameSpace) Enum() *RemoveNameSpace
- func (RemoveNameSpace) EnumDescriptor() ([]byte, []int)deprecated
- func (x RemoveNameSpace) Number() protoreflect.EnumNumber
- func (x RemoveNameSpace) String() string
- func (RemoveNameSpace) Type() protoreflect.EnumType
- type RunResult
- type RunnerContext
- type RuntimeHostApi
- type SateChangeQuery
- func (*SateChangeQuery) Descriptor() ([]byte, []int)deprecated
- func (x *SateChangeQuery) GetAccount() string
- func (x *SateChangeQuery) GetIndices() [][]byte
- func (x *SateChangeQuery) GetStateVarName() string
- func (*SateChangeQuery) ProtoMessage()
- func (x *SateChangeQuery) ProtoReflect() protoreflect.Message
- func (x *SateChangeQuery) Reset()
- func (x *SateChangeQuery) String() string
- type Schedule
- func (*Schedule) Descriptor() ([]byte, []int)deprecated
- func (x *Schedule) GetCount() uint64
- func (x *Schedule) GetCreateHeight() uint64
- func (x *Schedule) GetEveryNBlock() uint64
- func (x *Schedule) GetId() *ScheduleId
- func (x *Schedule) GetMaxRetry() uint64
- func (x *Schedule) GetStartBlock() uint64
- func (x *Schedule) GetStatus() ScheduleStatus
- func (x *Schedule) GetTx() *EthTransaction
- func (*Schedule) ProtoMessage()
- func (x *Schedule) ProtoReflect() protoreflect.Message
- func (x *Schedule) Reset()
- func (x *Schedule) String() string
- type ScheduleHostApi
- type ScheduleId
- func (*ScheduleId) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleId) GetAspectId() string
- func (x *ScheduleId) GetScheduleName() string
- func (*ScheduleId) ProtoMessage()
- func (x *ScheduleId) ProtoReflect() protoreflect.Message
- func (x *ScheduleId) Reset()
- func (x *ScheduleId) String() string
- type ScheduleStatus
- func (ScheduleStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ScheduleStatus) Enum() *ScheduleStatus
- func (ScheduleStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScheduleStatus) Number() protoreflect.EnumNumber
- func (x ScheduleStatus) String() string
- func (ScheduleStatus) Type() protoreflect.EnumType
- type ScheduleTask
- func (*ScheduleTask) Descriptor() ([]byte, []int)deprecated
- func (x *ScheduleTask) GetBlockHeight() int64
- func (x *ScheduleTask) GetSchedule() *Schedule
- func (x *ScheduleTask) GetSdkTx() []byte
- func (x *ScheduleTask) GetTxHash() string
- func (x *ScheduleTask) GetTxNonce() uint64
- func (*ScheduleTask) ProtoMessage()
- func (x *ScheduleTask) ProtoReflect() protoreflect.Message
- func (x *ScheduleTask) Reset()
- func (x *ScheduleTask) String() string
- type SetNameSpace
- func (SetNameSpace) Descriptor() protoreflect.EnumDescriptor
- func (x SetNameSpace) Enum() *SetNameSpace
- func (SetNameSpace) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetNameSpace) Number() protoreflect.EnumNumber
- func (x SetNameSpace) String() string
- func (SetNameSpace) Type() protoreflect.EnumType
- type StateDbHostApi
- type StringArrayData
- type StringData
- type TaskResult
- func (*TaskResult) Descriptor() ([]byte, []int)deprecated
- func (x *TaskResult) GetConfirmTxs() []*TaskTx
- func (x *TaskResult) GetCount() uint64
- func (*TaskResult) ProtoMessage()
- func (x *TaskResult) ProtoReflect() protoreflect.Message
- func (x *TaskResult) Reset()
- func (x *TaskResult) String() string
- type TaskTx
- type TryTask
- type TxExtProperty
- type UserOperation
- type Validator
- type ValidatorParams
- type VerifyTxResult
- type Version
- type VersionParams
- type VoteInfo
Constants ¶
const ( TxAspectContext = "tx^context" TxContent = "tx^content" TxStateChanges = "tx^stateChanges" TxExtProperties = "tx^extProperties" TxCallTree = "tx^callTree" TxReceipt = "tx^receipt" TxGasMeter = "tx^gasMeter" TxMsgHash = "tx^msgHash" EnvConsensusParams = "env^consensusParams" EnvChainConfig = "env^chainConfig" EnvEvmParams = "env^evmParams" EnvBaseInfo = "env^baseFee" BlockHeader = "block^header" BlockGasMeter = "block^gasMeter" BlockMinGasPrice = "block^minGasPrice" BlockLastCommit = "block^lastCommit" BlockTxs = "block^txs" )
const (
ARTELA_ADDR = "0x0000000000000000000000000000000000A27E14"
)
const DefaultAspectPoolSize = 10
const DefaultKey = "-"
Variables ¶
var ( GetAspectContext func(aspectId string, key string) string SetAspectContext func(aspectId string, key string, value string) )
for jit-inherent
var ( EvidenceType_name = map[int32]string{ 0: "UNKNOWN", 1: "DUPLICATE_VOTE", 2: "LIGHT_CLIENT_ATTACK", } EvidenceType_value = map[string]int32{ "UNKNOWN": 0, "DUPLICATE_VOTE": 1, "LIGHT_CLIENT_ATTACK": 2, } )
Enum value maps for EvidenceType.
var ( QueryNameSpace_name = map[int32]string{ 0: "QueryAspectState", 1: "QueryAspectProperty", } QueryNameSpace_value = map[string]int32{ "QueryAspectState": 0, "QueryAspectProperty": 1, } )
Enum value maps for QueryNameSpace.
var ( SetNameSpace_name = map[int32]string{ 0: "SetAspectContext", 1: "SetAspectState", } SetNameSpace_value = map[string]int32{ "SetAspectContext": 0, "SetAspectState": 1, } )
Enum value maps for SetNameSpace.
var ( RemoveNameSpace_name = map[int32]string{ 0: "RemoveAspectContext", 1: "RemoveAspectState", } RemoveNameSpace_value = map[string]int32{ "RemoveAspectContext": 0, "RemoveAspectState": 1, } )
Enum value maps for RemoveNameSpace.
var ( GetEvmHostHook func() (EvmHostApi, error) GetScheduleHook func() (ScheduleHostApi, error) GetStateDbHook func() (StateDbHostApi, error) GetRuntimeHostHook func() (RuntimeHostApi, error) )
var GetAspectRuntimeHook func() (AspectRuntimeHostApi, error) var GetAspectStateHook func() (AspectStateHostApi, error)
var ( ScheduleStatus_name = map[int32]string{ 0: "Close", 1: "Open", } ScheduleStatus_value = map[string]int32{ "Close": 0, "Open": 1, } )
Enum value maps for ScheduleStatus.
var ContextKeys = [...]string{ TxAspectContext, TxContent, TxStateChanges, TxExtProperties, TxMsgHash, TxCallTree, TxReceipt, TxGasMeter, EnvConsensusParams, EnvChainConfig, EnvEvmParams, EnvBaseInfo, BlockHeader, BlockGasMeter, BlockMinGasPrice, BlockLastCommit, BlockTxs, }
var DefConnector = "^"
var File_aspect_v2_base_message_proto protoreflect.FileDescriptor
var File_aspect_v2_cosmos_type_proto protoreflect.FileDescriptor
var File_aspect_v2_entry_api_proto protoreflect.FileDescriptor
var File_aspect_v2_host_api_proto protoreflect.FileDescriptor
var File_jitinherent_v1_jit_inherent_message_proto protoreflect.FileDescriptor
var File_scheduler_v2_schedule_message_proto protoreflect.FileDescriptor
Functions ¶
func HasContextKey ¶
keypath match -- bool: match success -- string: context key -- []string: params
func InitRuntimePool ¶
func InitRuntimePool(capacity int32)
InitRuntimePool init runtime pool with given capacity.
func IsAspectContract ¶
func IsAspectContractAddr ¶
func ReturnRuntime ¶
func ReturnRuntime(key string, instance runtime.AspectRuntime)
ReturnRuntime returns the the runtime instance to the pool, is the pool is enabled.
func Runtime ¶
func Runtime(code []byte, registry *runtime.HostAPIRegistry) (string, runtime.AspectRuntime, error)
Runtime returns a aspect-runtime instance from the pool or creating a new one.
Types ¶
type AdhocType ¶
type AdhocType struct { NextNBlocks uint64 `protobuf:"varint,1,opt,name=nextNBlocks,proto3" json:"nextNBlocks,omitempty"` MaxRetry uint64 `protobuf:"varint,2,opt,name=maxRetry,proto3" json:"maxRetry,omitempty"` // contains filtered or unexported fields }
func (*AdhocType) Descriptor
deprecated
func (*AdhocType) GetMaxRetry ¶
func (*AdhocType) GetNextNBlocks ¶
func (*AdhocType) ProtoMessage ¶
func (*AdhocType) ProtoMessage()
func (*AdhocType) ProtoReflect ¶
func (x *AdhocType) ProtoReflect() protoreflect.Message
type AspectCode ¶
type AspectCode struct { AspectId string `protobuf:"bytes,1,opt,name=aspect_id,json=aspectId,proto3" json:"aspect_id,omitempty"` Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` Priority uint32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"` Code []byte `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*AspectCode) Descriptor
deprecated
func (*AspectCode) Descriptor() ([]byte, []int)
Deprecated: Use AspectCode.ProtoReflect.Descriptor instead.
func (*AspectCode) GetAspectId ¶
func (x *AspectCode) GetAspectId() string
func (*AspectCode) GetCode ¶
func (x *AspectCode) GetCode() []byte
func (*AspectCode) GetPriority ¶
func (x *AspectCode) GetPriority() uint32
func (*AspectCode) GetVersion ¶
func (x *AspectCode) GetVersion() uint64
func (*AspectCode) ProtoMessage ¶
func (*AspectCode) ProtoMessage()
func (*AspectCode) ProtoReflect ¶
func (x *AspectCode) ProtoReflect() protoreflect.Message
func (*AspectCode) Reset ¶
func (x *AspectCode) Reset()
func (*AspectCode) String ¶
func (x *AspectCode) String() string
type AspectContextI ¶
type AspectProvider ¶
type AspectProvider interface { GetTxBondAspects(int64, common.Address) ([]*AspectCode, error) GetAccountVerifiers(int64, common.Address) ([]*AspectCode, error) GetBlockBondAspects(int64) ([]*AspectCode, error) GetLatestBlock() int64 CreateTxPointRequestWithData(data []byte) (*EthTxAspect, error) }
type AspectResponse ¶
type AspectResponse struct { Result *RunResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` DataMessageType string `protobuf:"bytes,2,opt,name=data_message_type,json=dataMessageType,proto3" json:"data_message_type,omitempty"` Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*AspectResponse) Descriptor
deprecated
func (*AspectResponse) Descriptor() ([]byte, []int)
Deprecated: Use AspectResponse.ProtoReflect.Descriptor instead.
func (*AspectResponse) GetData ¶
func (x *AspectResponse) GetData() *anypb.Any
func (*AspectResponse) GetDataMessageType ¶
func (x *AspectResponse) GetDataMessageType() string
func (*AspectResponse) GetResult ¶
func (x *AspectResponse) GetResult() *RunResult
func (*AspectResponse) ProtoMessage ¶
func (*AspectResponse) ProtoMessage()
func (*AspectResponse) ProtoReflect ¶
func (x *AspectResponse) ProtoReflect() protoreflect.Message
func (*AspectResponse) Reset ¶
func (x *AspectResponse) Reset()
func (*AspectResponse) String ¶
func (x *AspectResponse) String() string
type AspectRuntimeContextI ¶
type AspectRuntimeContextI interface { BlockContextI EthTxContextI EnvConfigI AspectContextI }
type AspectStore ¶
type Block ¶
type Block = EthBlock
EthBlock for querying ethereum block from aspect
func (*Block) FillBaseFee ¶
func (*Block) FillGasLimit ¶
func (*Block) FillGasUsed ¶
func (*Block) FillHeader ¶
func (block *Block) FillHeader(header *EthBlockHeader, dataHash []byte, hash string)
func (*Block) FillTransactions ¶
func (block *Block) FillTransactions(trans []*EthTransaction)
func (*Block) FillValidatorAddr ¶
func (*Block) MarshalProto ¶
func (*Block) UnmarshalProto ¶
type BlockContextI ¶
type BlockContextI interface { GetBlockHeader() (*EthBlockHeader, error) GetBlockBody(query *EthTxQuery) ([]*EthTransaction, error) GetLastCommitInfo() (*LastCommitInfo, error) GasMeter() (*CosmosGasMeter, error) GetEvidences() ([]*Evidence, error) GetBlockId() ([]*BlockID, error) }
type BlockID ¶
type BlockID struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` PartSetHeader *PartSetHeader `protobuf:"bytes,2,opt,name=part_set_header,json=partSetHeader,proto3" json:"part_set_header,omitempty"` // contains filtered or unexported fields }
BlockID
func (*BlockID) Descriptor
deprecated
func (*BlockID) GetPartSetHeader ¶
func (x *BlockID) GetPartSetHeader() *PartSetHeader
func (*BlockID) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) ProtoReflect ¶
func (x *BlockID) ProtoReflect() protoreflect.Message
type BlockParams ¶
type BlockParams struct { MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` // Note: must be greater or equal to -1 MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"` // contains filtered or unexported fields }
func (*BlockParams) Descriptor
deprecated
func (*BlockParams) Descriptor() ([]byte, []int)
Deprecated: Use BlockParams.ProtoReflect.Descriptor instead.
func (*BlockParams) GetMaxBytes ¶
func (x *BlockParams) GetMaxBytes() int64
func (*BlockParams) GetMaxGas ¶
func (x *BlockParams) GetMaxGas() int64
func (*BlockParams) ProtoMessage ¶
func (*BlockParams) ProtoMessage()
func (*BlockParams) ProtoReflect ¶
func (x *BlockParams) ProtoReflect() protoreflect.Message
func (*BlockParams) Reset ¶
func (x *BlockParams) Reset()
func (*BlockParams) String ¶
func (x *BlockParams) String() string
type BoolData ¶
type BoolData struct { Data bool `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BoolData) Descriptor
deprecated
func (*BoolData) ProtoMessage ¶
func (*BoolData) ProtoMessage()
func (*BoolData) ProtoReflect ¶
func (x *BoolData) ProtoReflect() protoreflect.Message
type BytesArrayData ¶
type BytesArrayData struct { Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" 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,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BytesData) Descriptor
deprecated
func (*BytesData) ProtoMessage ¶
func (*BytesData) ProtoMessage()
func (*BytesData) ProtoReflect ¶
func (x *BytesData) ProtoReflect() protoreflect.Message
type CallMessageRequest ¶
type CallMessageRequest struct { Message *EthMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*CallMessageRequest) Descriptor
deprecated
func (*CallMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallMessageRequest.ProtoReflect.Descriptor instead.
func (*CallMessageRequest) GetMessage ¶
func (x *CallMessageRequest) GetMessage() *EthMessage
func (*CallMessageRequest) ProtoMessage ¶
func (*CallMessageRequest) ProtoMessage()
func (*CallMessageRequest) ProtoReflect ¶
func (x *CallMessageRequest) ProtoReflect() protoreflect.Message
func (*CallMessageRequest) Reset ¶
func (x *CallMessageRequest) Reset()
func (*CallMessageRequest) String ¶
func (x *CallMessageRequest) String() string
type CallMessageResponse ¶
type CallMessageResponse struct { Result *RunResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Data *EthMessageCallResult `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CallMessageResponse) Descriptor
deprecated
func (*CallMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallMessageResponse.ProtoReflect.Descriptor instead.
func (*CallMessageResponse) GetData ¶
func (x *CallMessageResponse) GetData() *EthMessageCallResult
func (*CallMessageResponse) GetResult ¶
func (x *CallMessageResponse) GetResult() *RunResult
func (*CallMessageResponse) ProtoMessage ¶
func (*CallMessageResponse) ProtoMessage()
func (*CallMessageResponse) ProtoReflect ¶
func (x *CallMessageResponse) ProtoReflect() protoreflect.Message
func (*CallMessageResponse) Reset ¶
func (x *CallMessageResponse) Reset()
func (*CallMessageResponse) String ¶
func (x *CallMessageResponse) String() string
type CallStackQuery ¶
type CallStackQuery struct { CallIndex []uint64 `protobuf:"varint,1,rep,packed,name=callIndex,proto3" json:"callIndex,omitempty"` // contains filtered or unexported fields }
func (*CallStackQuery) Descriptor
deprecated
func (*CallStackQuery) Descriptor() ([]byte, []int)
Deprecated: Use CallStackQuery.ProtoReflect.Descriptor instead.
func (*CallStackQuery) GetCallIndex ¶
func (x *CallStackQuery) GetCallIndex() []uint64
func (*CallStackQuery) ProtoMessage ¶
func (*CallStackQuery) ProtoMessage()
func (*CallStackQuery) ProtoReflect ¶
func (x *CallStackQuery) ProtoReflect() protoreflect.Message
func (*CallStackQuery) Reset ¶
func (x *CallStackQuery) Reset()
func (*CallStackQuery) String ¶
func (x *CallStackQuery) String() string
type ChainConfig ¶
type ChainConfig struct { ChainId string `protobuf:"bytes,1,opt,name=chainId,proto3" json:"chainId,omitempty"` HomesteadBlock string `protobuf:"bytes,2,opt,name=homestead_block,json=homesteadBlock,proto3" json:"homestead_block,omitempty"` DaoForkBlock string `protobuf:"bytes,3,opt,name=dao_fork_block,json=daoForkBlock,proto3" json:"dao_fork_block,omitempty"` DaoForkSupport bool `protobuf:"varint,4,opt,name=dao_fork_support,json=daoForkSupport,proto3" json:"dao_fork_support,omitempty"` Eip150Block string `protobuf:"bytes,5,opt,name=eip150_block,json=eip150Block,proto3" json:"eip150_block,omitempty"` Eip155Block string `protobuf:"bytes,6,opt,name=eip155_block,json=eip155Block,proto3" json:"eip155_block,omitempty"` Eip158Block string `protobuf:"bytes,7,opt,name=eip158_block,json=eip158Block,proto3" json:"eip158_block,omitempty"` ByzantiumBlock string `protobuf:"bytes,8,opt,name=byzantium_block,json=byzantiumBlock,proto3" json:"byzantium_block,omitempty"` ConstantinopleBlock string `protobuf:"bytes,9,opt,name=constantinople_block,json=constantinopleBlock,proto3" json:"constantinople_block,omitempty"` PetersburgBlock string `protobuf:"bytes,10,opt,name=petersburg_block,json=petersburgBlock,proto3" json:"petersburg_block,omitempty"` IstanbulBlock string `protobuf:"bytes,11,opt,name=istanbul_block,json=istanbulBlock,proto3" json:"istanbul_block,omitempty"` MuirGlacierBlock string `protobuf:"bytes,12,opt,name=muir_glacier_block,json=muirGlacierBlock,proto3" json:"muir_glacier_block,omitempty"` BerlinBlock string `protobuf:"bytes,13,opt,name=berlin_block,json=berlinBlock,proto3" json:"berlin_block,omitempty"` LondonBlock string `protobuf:"bytes,14,opt,name=london_block,json=londonBlock,proto3" json:"london_block,omitempty"` ArrowGlacierBlock string `protobuf:"bytes,15,opt,name=arrow_glacier_block,json=arrowGlacierBlock,proto3" json:"arrow_glacier_block,omitempty"` GrayGlacierBlock string `protobuf:"bytes,16,opt,name=gray_glacier_block,json=grayGlacierBlock,proto3" json:"gray_glacier_block,omitempty"` MergeNetsplitBlock string `protobuf:"bytes,17,opt,name=merge_netsplit_block,json=mergeNetsplitBlock,proto3" json:"merge_netsplit_block,omitempty"` ShanghaiTime uint64 `protobuf:"varint,18,opt,name=shanghai_time,json=shanghaiTime,proto3" json:"shanghai_time,omitempty"` CancunTime uint64 `protobuf:"varint,19,opt,name=cancun_time,json=cancunTime,proto3" json:"cancun_time,omitempty"` PragueTime uint64 `protobuf:"varint,20,opt,name=prague_time,json=pragueTime,proto3" json:"prague_time,omitempty"` TerminalTotalDifficulty string `` /* 133-byte string literal not displayed */ TerminalTotalDifficultyPassed bool `` /* 154-byte string literal not displayed */ Clique *Clique `protobuf:"bytes,23,opt,name=clique,proto3" json:"clique,omitempty"` // contains filtered or unexported fields }
func (*ChainConfig) Descriptor
deprecated
func (*ChainConfig) Descriptor() ([]byte, []int)
Deprecated: Use ChainConfig.ProtoReflect.Descriptor instead.
func (*ChainConfig) GetArrowGlacierBlock ¶
func (x *ChainConfig) GetArrowGlacierBlock() string
func (*ChainConfig) GetBerlinBlock ¶
func (x *ChainConfig) GetBerlinBlock() string
func (*ChainConfig) GetByzantiumBlock ¶
func (x *ChainConfig) GetByzantiumBlock() string
func (*ChainConfig) GetCancunTime ¶
func (x *ChainConfig) GetCancunTime() uint64
func (*ChainConfig) GetChainId ¶
func (x *ChainConfig) GetChainId() string
func (*ChainConfig) GetClique ¶
func (x *ChainConfig) GetClique() *Clique
func (*ChainConfig) GetConstantinopleBlock ¶
func (x *ChainConfig) GetConstantinopleBlock() string
func (*ChainConfig) GetDaoForkBlock ¶
func (x *ChainConfig) GetDaoForkBlock() string
func (*ChainConfig) GetDaoForkSupport ¶
func (x *ChainConfig) GetDaoForkSupport() bool
func (*ChainConfig) GetEip150Block ¶
func (x *ChainConfig) GetEip150Block() string
func (*ChainConfig) GetEip155Block ¶
func (x *ChainConfig) GetEip155Block() string
func (*ChainConfig) GetEip158Block ¶
func (x *ChainConfig) GetEip158Block() string
func (*ChainConfig) GetGrayGlacierBlock ¶
func (x *ChainConfig) GetGrayGlacierBlock() string
func (*ChainConfig) GetHomesteadBlock ¶
func (x *ChainConfig) GetHomesteadBlock() string
func (*ChainConfig) GetIstanbulBlock ¶
func (x *ChainConfig) GetIstanbulBlock() string
func (*ChainConfig) GetLondonBlock ¶
func (x *ChainConfig) GetLondonBlock() string
func (*ChainConfig) GetMergeNetsplitBlock ¶
func (x *ChainConfig) GetMergeNetsplitBlock() string
func (*ChainConfig) GetMuirGlacierBlock ¶
func (x *ChainConfig) GetMuirGlacierBlock() string
func (*ChainConfig) GetPetersburgBlock ¶
func (x *ChainConfig) GetPetersburgBlock() string
func (*ChainConfig) GetPragueTime ¶
func (x *ChainConfig) GetPragueTime() uint64
func (*ChainConfig) GetShanghaiTime ¶
func (x *ChainConfig) GetShanghaiTime() uint64
func (*ChainConfig) GetTerminalTotalDifficulty ¶
func (x *ChainConfig) GetTerminalTotalDifficulty() string
func (*ChainConfig) GetTerminalTotalDifficultyPassed ¶
func (x *ChainConfig) GetTerminalTotalDifficultyPassed() bool
func (*ChainConfig) ProtoMessage ¶
func (*ChainConfig) ProtoMessage()
func (*ChainConfig) ProtoReflect ¶
func (x *ChainConfig) ProtoReflect() protoreflect.Message
func (*ChainConfig) Reset ¶
func (x *ChainConfig) Reset()
func (*ChainConfig) String ¶
func (x *ChainConfig) String() string
type Clique ¶
type Clique struct { Period uint64 `protobuf:"varint,1,opt,name=period,proto3" json:"period,omitempty"` Epoch uint64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"` // contains filtered or unexported fields }
func (*Clique) Descriptor
deprecated
func (*Clique) ProtoMessage ¶
func (*Clique) ProtoMessage()
func (*Clique) ProtoReflect ¶
func (x *Clique) ProtoReflect() protoreflect.Message
type ConsParams ¶
type ConsParams struct { Block *BlockParams `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` Evidence *EvidenceParams `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence,omitempty"` Validator *ValidatorParams `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"` Version *VersionParams `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ConsParams) Descriptor
deprecated
func (*ConsParams) Descriptor() ([]byte, []int)
Deprecated: Use ConsParams.ProtoReflect.Descriptor instead.
func (*ConsParams) GetBlock ¶
func (x *ConsParams) GetBlock() *BlockParams
func (*ConsParams) GetEvidence ¶
func (x *ConsParams) GetEvidence() *EvidenceParams
func (*ConsParams) GetValidator ¶
func (x *ConsParams) GetValidator() *ValidatorParams
func (*ConsParams) GetVersion ¶
func (x *ConsParams) GetVersion() *VersionParams
func (*ConsParams) ProtoMessage ¶
func (*ConsParams) ProtoMessage()
func (*ConsParams) ProtoReflect ¶
func (x *ConsParams) ProtoReflect() protoreflect.Message
func (*ConsParams) Reset ¶
func (x *ConsParams) Reset()
func (*ConsParams) String ¶
func (x *ConsParams) String() string
type ContextQueryRequest ¶
type ContextQueryRequest struct { NameSpace QueryNameSpace `protobuf:"varint,1,opt,name=name_space,json=nameSpace,proto3,enum=aspect.v2.QueryNameSpace" json:"name_space,omitempty"` Query *anypb.Any `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*ContextQueryRequest) Descriptor
deprecated
func (*ContextQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContextQueryRequest.ProtoReflect.Descriptor instead.
func (*ContextQueryRequest) GetNameSpace ¶
func (x *ContextQueryRequest) GetNameSpace() QueryNameSpace
func (*ContextQueryRequest) GetQuery ¶
func (x *ContextQueryRequest) GetQuery() *anypb.Any
func (*ContextQueryRequest) ProtoMessage ¶
func (*ContextQueryRequest) ProtoMessage()
func (*ContextQueryRequest) ProtoReflect ¶
func (x *ContextQueryRequest) ProtoReflect() protoreflect.Message
func (*ContextQueryRequest) Reset ¶
func (x *ContextQueryRequest) Reset()
func (*ContextQueryRequest) String ¶
func (x *ContextQueryRequest) String() string
type ContextQueryResponse ¶
type ContextQueryResponse struct { Result *RunResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Data *anypb.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func NewContextQueryResponse ¶
func NewContextQueryResponse(condition bool, errMsg string) *ContextQueryResponse
func (*ContextQueryResponse) Descriptor
deprecated
func (*ContextQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContextQueryResponse.ProtoReflect.Descriptor instead.
func (*ContextQueryResponse) GetData ¶
func (x *ContextQueryResponse) GetData() *anypb.Any
func (*ContextQueryResponse) GetResult ¶
func (x *ContextQueryResponse) GetResult() *RunResult
func (*ContextQueryResponse) ProtoMessage ¶
func (*ContextQueryResponse) ProtoMessage()
func (*ContextQueryResponse) ProtoReflect ¶
func (x *ContextQueryResponse) ProtoReflect() protoreflect.Message
func (*ContextQueryResponse) Reset ¶
func (x *ContextQueryResponse) Reset()
func (*ContextQueryResponse) SetData ¶
func (c *ContextQueryResponse) SetData(message proto.Message)
func (*ContextQueryResponse) String ¶
func (x *ContextQueryResponse) String() string
type ContextRemoveRequest ¶
type ContextRemoveRequest struct { NameSpace RemoveNameSpace `protobuf:"varint,1,opt,name=name_space,json=nameSpace,proto3,enum=aspect.v2.RemoveNameSpace" json:"name_space,omitempty"` Query *anypb.Any `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*ContextRemoveRequest) Descriptor
deprecated
func (*ContextRemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContextRemoveRequest.ProtoReflect.Descriptor instead.
func (*ContextRemoveRequest) GetNameSpace ¶
func (x *ContextRemoveRequest) GetNameSpace() RemoveNameSpace
func (*ContextRemoveRequest) GetQuery ¶
func (x *ContextRemoveRequest) GetQuery() *anypb.Any
func (*ContextRemoveRequest) ProtoMessage ¶
func (*ContextRemoveRequest) ProtoMessage()
func (*ContextRemoveRequest) ProtoReflect ¶
func (x *ContextRemoveRequest) ProtoReflect() protoreflect.Message
func (*ContextRemoveRequest) Reset ¶
func (x *ContextRemoveRequest) Reset()
func (*ContextRemoveRequest) String ¶
func (x *ContextRemoveRequest) String() string
type ContextSetRequest ¶
type ContextSetRequest struct { NameSpace SetNameSpace `protobuf:"varint,1,opt,name=name_space,json=nameSpace,proto3,enum=aspect.v2.SetNameSpace" json:"name_space,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ContextSetRequest) Descriptor
deprecated
func (*ContextSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContextSetRequest.ProtoReflect.Descriptor instead.
func (*ContextSetRequest) GetKey ¶
func (x *ContextSetRequest) GetKey() string
func (*ContextSetRequest) GetNameSpace ¶
func (x *ContextSetRequest) GetNameSpace() SetNameSpace
func (*ContextSetRequest) GetValue ¶
func (x *ContextSetRequest) GetValue() string
func (*ContextSetRequest) ProtoMessage ¶
func (*ContextSetRequest) ProtoMessage()
func (*ContextSetRequest) ProtoReflect ¶
func (x *ContextSetRequest) ProtoReflect() protoreflect.Message
func (*ContextSetRequest) Reset ¶
func (x *ContextSetRequest) Reset()
func (*ContextSetRequest) String ¶
func (x *ContextSetRequest) String() string
type CosmosGasMeter ¶
type CosmosGasMeter interface { GasConsumed() Gas GasConsumedToLimit() Gas GasRemaining() Gas Limit() Gas }
GasMeter interface to track gas consumption
type DecCoin ¶
type DecCoin struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*DecCoin) Descriptor
deprecated
func (*DecCoin) ProtoMessage ¶
func (*DecCoin) ProtoMessage()
func (*DecCoin) ProtoReflect ¶
func (x *DecCoin) ProtoReflect() protoreflect.Message
type EnvConfigI ¶
type EnvConfigI interface { GetChainConfig() (*ChainConfig, error) GetEvmParams() (*EvmParams, error) GetConsParams() (*ConsParams, error) GetEnvContent() (*EnvContent, error) }
type EnvContent ¶
type EnvContent struct { BaseFee uint64 `protobuf:"varint,1,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"` // contains filtered or unexported fields }
func (*EnvContent) Descriptor
deprecated
func (*EnvContent) Descriptor() ([]byte, []int)
Deprecated: Use EnvContent.ProtoReflect.Descriptor instead.
func (*EnvContent) GetBaseFee ¶
func (x *EnvContent) GetBaseFee() uint64
func (*EnvContent) ProtoMessage ¶
func (*EnvContent) ProtoMessage()
func (*EnvContent) ProtoReflect ¶
func (x *EnvContent) ProtoReflect() protoreflect.Message
func (*EnvContent) Reset ¶
func (x *EnvContent) Reset()
func (*EnvContent) String ¶
func (x *EnvContent) String() string
type EthAccessTuple ¶
type EthAccessTuple struct { // address is a hex formatted ethereum address Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // storage_keys are hex formatted hashes of the storage keys StorageKeys []string `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storage_keys,omitempty"` // contains filtered or unexported fields }
AccessTuple is the element type of an access list.
func ConvertTuple ¶
func ConvertTuple(tuple ethtypes.AccessTuple) EthAccessTuple
func ConvertTuples ¶
func ConvertTuples(tuples []ethtypes.AccessTuple) []*EthAccessTuple
func (*EthAccessTuple) Descriptor
deprecated
func (*EthAccessTuple) Descriptor() ([]byte, []int)
Deprecated: Use EthAccessTuple.ProtoReflect.Descriptor instead.
func (*EthAccessTuple) GetAddress ¶
func (x *EthAccessTuple) GetAddress() string
func (*EthAccessTuple) GetStorageKeys ¶
func (x *EthAccessTuple) GetStorageKeys() []string
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 EthBlock ¶
type EthBlock struct { Header *EthBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Uncles []*EthBlockHeader `protobuf:"bytes,2,rep,name=uncles,proto3" json:"uncles,omitempty"` Transactions []*EthTransaction `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"` Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` Size uint64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` DataHash []byte `protobuf:"bytes,6,opt,name=dataHash,proto3" json:"dataHash,omitempty"` // contains filtered or unexported fields }
EthBlock for querying ethereum block from aspect
func NewEthBlock ¶
func NewEthBlock() *EthBlock
func (*EthBlock) Descriptor
deprecated
func (*EthBlock) GetDataHash ¶
func (*EthBlock) GetHeader ¶
func (x *EthBlock) GetHeader() *EthBlockHeader
func (*EthBlock) GetTransactions ¶
func (x *EthBlock) GetTransactions() []*EthTransaction
func (*EthBlock) GetUncles ¶
func (x *EthBlock) GetUncles() []*EthBlockHeader
func (*EthBlock) ProtoMessage ¶
func (*EthBlock) ProtoMessage()
func (*EthBlock) ProtoReflect ¶
func (x *EthBlock) ProtoReflect() protoreflect.Message
type EthBlockAspect ¶
type EthBlockAspect struct { Header *EthBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` GasInfo *GasInfo `protobuf:"bytes,2,opt,name=gas_info,json=gasInfo,proto3" json:"gas_info,omitempty"` // contains filtered or unexported fields }
func (*EthBlockAspect) Descriptor
deprecated
func (*EthBlockAspect) Descriptor() ([]byte, []int)
Deprecated: Use EthBlockAspect.ProtoReflect.Descriptor instead.
func (*EthBlockAspect) GetGasInfo ¶
func (x *EthBlockAspect) GetGasInfo() *GasInfo
func (*EthBlockAspect) GetHeader ¶
func (x *EthBlockAspect) GetHeader() *EthBlockHeader
func (*EthBlockAspect) ProtoMessage ¶
func (*EthBlockAspect) ProtoMessage()
func (*EthBlockAspect) ProtoReflect ¶
func (x *EthBlockAspect) ProtoReflect() protoreflect.Message
func (*EthBlockAspect) Reset ¶
func (x *EthBlockAspect) Reset()
func (*EthBlockAspect) String ¶
func (x *EthBlockAspect) String() string
type EthBlockHeader ¶
type EthBlockHeader struct { ParentHash string `protobuf:"bytes,1,opt,name=parentHash,proto3" json:"parentHash,omitempty"` UncleHash string `protobuf:"bytes,2,opt,name=uncleHash,proto3" json:"uncleHash,omitempty"` Coinbase string `protobuf:"bytes,3,opt,name=coinbase,proto3" json:"coinbase,omitempty"` StateRoot string `protobuf:"bytes,4,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"` TransactionsRoot string `protobuf:"bytes,5,opt,name=transactionsRoot,proto3" json:"transactionsRoot,omitempty"` ReceiptHash string `protobuf:"bytes,6,opt,name=receiptHash,proto3" json:"receiptHash,omitempty"` Difficulty uint64 `protobuf:"varint,7,opt,name=difficulty,proto3" json:"difficulty,omitempty"` Number uint64 `protobuf:"varint,8,opt,name=number,proto3" json:"number,omitempty"` GasLimit uint64 `protobuf:"varint,9,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"` GasUsed uint64 `protobuf:"varint,10,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"` Timestamp uint64 `protobuf:"varint,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ExtraData []byte `protobuf:"bytes,12,opt,name=extraData,proto3" json:"extraData,omitempty"` MixHash []byte `protobuf:"bytes,13,opt,name=mixHash,proto3" json:"mixHash,omitempty"` Nonce uint64 `protobuf:"varint,14,opt,name=nonce,proto3" json:"nonce,omitempty"` // BaseFee was added by EIP-1559 and is ignored in legacy headers. BaseFee uint64 `protobuf:"varint,15,opt,name=baseFee,proto3" json:"baseFee,omitempty"` // WithdrawalsHash was added by EIP-4895 and is ignored in legacy headers. WithdrawalsRoot string `protobuf:"bytes,16,opt,name=withdrawalsRoot,proto3" json:"withdrawalsRoot,omitempty"` // ExcessDataGas was added by EIP-4844 and is ignored in legacy headers. ExcessDataGas string `protobuf:"bytes,17,opt,name=excessDataGas,proto3" json:"excessDataGas,omitempty"` // contains filtered or unexported fields }
func (*EthBlockHeader) Descriptor
deprecated
func (*EthBlockHeader) Descriptor() ([]byte, []int)
Deprecated: Use EthBlockHeader.ProtoReflect.Descriptor instead.
func (*EthBlockHeader) GetBaseFee ¶
func (x *EthBlockHeader) GetBaseFee() uint64
func (*EthBlockHeader) GetCoinbase ¶
func (x *EthBlockHeader) GetCoinbase() string
func (*EthBlockHeader) GetDifficulty ¶
func (x *EthBlockHeader) GetDifficulty() uint64
func (*EthBlockHeader) GetExcessDataGas ¶
func (x *EthBlockHeader) GetExcessDataGas() string
func (*EthBlockHeader) GetExtraData ¶
func (x *EthBlockHeader) GetExtraData() []byte
func (*EthBlockHeader) GetGasLimit ¶
func (x *EthBlockHeader) GetGasLimit() uint64
func (*EthBlockHeader) GetGasUsed ¶
func (x *EthBlockHeader) GetGasUsed() uint64
func (*EthBlockHeader) GetMixHash ¶
func (x *EthBlockHeader) GetMixHash() []byte
func (*EthBlockHeader) GetNonce ¶
func (x *EthBlockHeader) GetNonce() uint64
func (*EthBlockHeader) GetNumber ¶
func (x *EthBlockHeader) GetNumber() uint64
func (*EthBlockHeader) GetParentHash ¶
func (x *EthBlockHeader) GetParentHash() string
func (*EthBlockHeader) GetReceiptHash ¶
func (x *EthBlockHeader) GetReceiptHash() string
func (*EthBlockHeader) GetStateRoot ¶
func (x *EthBlockHeader) GetStateRoot() string
func (*EthBlockHeader) GetTimestamp ¶
func (x *EthBlockHeader) GetTimestamp() uint64
func (*EthBlockHeader) GetTransactionsRoot ¶
func (x *EthBlockHeader) GetTransactionsRoot() string
func (*EthBlockHeader) GetUncleHash ¶
func (x *EthBlockHeader) GetUncleHash() string
func (*EthBlockHeader) GetWithdrawalsRoot ¶
func (x *EthBlockHeader) GetWithdrawalsRoot() string
func (*EthBlockHeader) ProtoMessage ¶
func (*EthBlockHeader) ProtoMessage()
func (*EthBlockHeader) ProtoReflect ¶
func (x *EthBlockHeader) ProtoReflect() protoreflect.Message
func (*EthBlockHeader) Reset ¶
func (x *EthBlockHeader) Reset()
func (*EthBlockHeader) String ¶
func (x *EthBlockHeader) String() string
type EthCallStackQuery ¶
type EthCallStackQuery struct { ToEq string `protobuf:"bytes,1,opt,name=to_eq,json=toEq,proto3" json:"to_eq,omitempty"` IndexIn []uint64 `protobuf:"varint,2,rep,packed,name=index_in,json=indexIn,proto3" json:"index_in,omitempty"` ParentIndexEq uint64 `protobuf:"varint,3,opt,name=parentIndex_eq,json=parentIndexEq,proto3" json:"parentIndex_eq,omitempty"` // contains filtered or unexported fields }
func (*EthCallStackQuery) Descriptor
deprecated
func (*EthCallStackQuery) Descriptor() ([]byte, []int)
Deprecated: Use EthCallStackQuery.ProtoReflect.Descriptor instead.
func (*EthCallStackQuery) GetIndexIn ¶
func (x *EthCallStackQuery) GetIndexIn() []uint64
func (*EthCallStackQuery) GetParentIndexEq ¶
func (x *EthCallStackQuery) GetParentIndexEq() uint64
func (*EthCallStackQuery) GetToEq ¶
func (x *EthCallStackQuery) GetToEq() string
func (*EthCallStackQuery) ProtoMessage ¶
func (*EthCallStackQuery) ProtoMessage()
func (*EthCallStackQuery) ProtoReflect ¶
func (x *EthCallStackQuery) ProtoReflect() protoreflect.Message
func (*EthCallStackQuery) Reset ¶
func (x *EthCallStackQuery) Reset()
func (*EthCallStackQuery) String ¶
func (x *EthCallStackQuery) String() string
type EthCallStacks ¶
type EthCallStacks struct { Calls map[uint64]*EthStackTransaction `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*EthCallStacks) Descriptor
deprecated
func (*EthCallStacks) Descriptor() ([]byte, []int)
Deprecated: Use EthCallStacks.ProtoReflect.Descriptor instead.
func (*EthCallStacks) GetCalls ¶
func (x *EthCallStacks) GetCalls() map[uint64]*EthStackTransaction
func (*EthCallStacks) ProtoMessage ¶
func (*EthCallStacks) ProtoMessage()
func (*EthCallStacks) ProtoReflect ¶
func (x *EthCallStacks) ProtoReflect() protoreflect.Message
func (*EthCallStacks) Reset ¶
func (x *EthCallStacks) Reset()
func (*EthCallStacks) String ¶
func (x *EthCallStacks) String() string
type EthInnerTransaction ¶
type EthInnerTransaction struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Gas string `protobuf:"bytes,5,opt,name=gas,proto3" json:"gas,omitempty"` // contains filtered or unexported fields }
func (*EthInnerTransaction) Descriptor
deprecated
func (*EthInnerTransaction) Descriptor() ([]byte, []int)
Deprecated: Use EthInnerTransaction.ProtoReflect.Descriptor instead.
func (*EthInnerTransaction) GetData ¶
func (x *EthInnerTransaction) GetData() []byte
func (*EthInnerTransaction) GetFrom ¶
func (x *EthInnerTransaction) GetFrom() string
func (*EthInnerTransaction) GetGas ¶
func (x *EthInnerTransaction) GetGas() string
func (*EthInnerTransaction) GetTo ¶
func (x *EthInnerTransaction) GetTo() string
func (*EthInnerTransaction) GetValue ¶
func (x *EthInnerTransaction) GetValue() string
func (*EthInnerTransaction) ProtoMessage ¶
func (*EthInnerTransaction) ProtoMessage()
func (*EthInnerTransaction) ProtoReflect ¶
func (x *EthInnerTransaction) ProtoReflect() protoreflect.Message
func (*EthInnerTransaction) Reset ¶
func (x *EthInnerTransaction) Reset()
func (*EthInnerTransaction) String ¶
func (x *EthInnerTransaction) String() string
type EthLog ¶
type EthLog struct { // address of the contract that generated the event Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // topics is a list of topics provided by the contract. Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` // data which is supplied by the contract, usually ABI-encoded Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // block_number of the block in which the transaction was included BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // tx_hash is the transaction hash TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // tx_index of the transaction in the block TxIndex uint64 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` // block_hash of the block in which the transaction was included BlockHash string `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // index of the log in the block Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` // removed is true if this log was reverted due to a chain // reorganisation. You must pay attention to this field if you receive logs // through a filter query. Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"` // contains filtered or unexported fields }
func ConvertEthLog ¶
func ConvertEthLogs ¶
func (*EthLog) Descriptor
deprecated
func (*EthLog) GetAddress ¶
func (*EthLog) GetBlockHash ¶
func (*EthLog) GetBlockNumber ¶
func (*EthLog) GetRemoved ¶
func (*EthLog) GetTxIndex ¶
func (*EthLog) ProtoMessage ¶
func (*EthLog) ProtoMessage()
func (*EthLog) ProtoReflect ¶
func (x *EthLog) ProtoReflect() protoreflect.Message
type EthMessage ¶
type EthMessage struct { To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` // data is the data payload bytes of the transaction. Input []byte `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` GasTipCap string `protobuf:"bytes,5,opt,name=gas_tip_cap,json=gasTipCap,proto3" json:"gas_tip_cap,omitempty"` // gas_fee_cap defines the max value for the gas fee GasFeeCap string `protobuf:"bytes,6,opt,name=gas_fee_cap,json=gasFeeCap,proto3" json:"gas_fee_cap,omitempty"` // gas defines the gas limit defined for the transaction. Gas uint64 `protobuf:"varint,7,opt,name=gas,proto3" json:"gas,omitempty"` GasPrice string `protobuf:"bytes,8,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` Value string `protobuf:"bytes,9,opt,name=value,proto3" json:"value,omitempty"` IsFake bool `protobuf:"varint,10,opt,name=is_fake,json=isFake,proto3" json:"is_fake,omitempty"` // contains filtered or unexported fields }
Valida
func (*EthMessage) Descriptor
deprecated
func (*EthMessage) Descriptor() ([]byte, []int)
Deprecated: Use EthMessage.ProtoReflect.Descriptor instead.
func (*EthMessage) GetFrom ¶
func (x *EthMessage) GetFrom() string
func (*EthMessage) GetGas ¶
func (x *EthMessage) GetGas() uint64
func (*EthMessage) GetGasFeeCap ¶
func (x *EthMessage) GetGasFeeCap() string
func (*EthMessage) GetGasPrice ¶
func (x *EthMessage) GetGasPrice() string
func (*EthMessage) GetGasTipCap ¶
func (x *EthMessage) GetGasTipCap() string
func (*EthMessage) GetInput ¶
func (x *EthMessage) GetInput() []byte
func (*EthMessage) GetIsFake ¶
func (x *EthMessage) GetIsFake() bool
func (*EthMessage) GetNonce ¶
func (x *EthMessage) GetNonce() uint64
func (*EthMessage) GetTo ¶
func (x *EthMessage) GetTo() string
func (*EthMessage) GetValue ¶
func (x *EthMessage) GetValue() string
func (*EthMessage) ProtoMessage ¶
func (*EthMessage) ProtoMessage()
func (*EthMessage) ProtoReflect ¶
func (x *EthMessage) ProtoReflect() protoreflect.Message
func (*EthMessage) Reset ¶
func (x *EthMessage) Reset()
func (*EthMessage) String ¶
func (x *EthMessage) String() string
type EthMessageCallResult ¶
type EthMessageCallResult struct { // hash of the ethereum transaction in hex format. This hash differs from the // Tendermint sha256 hash of the transaction bytes. See // https://github.com/tendermint/tendermint/issues/6539 for reference Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // logs contains the transaction hash and the proto-compatible ethereum // logs. Logs []*EthLog `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` // ret is the returned data from evm function (result or data supplied with revert // opcode) Ret []byte `protobuf:"bytes,3,opt,name=ret,proto3" json:"ret,omitempty"` // vm_error is the error returned by vm execution VmError string `protobuf:"bytes,4,opt,name=vm_error,json=vmError,proto3" json:"vm_error,omitempty"` // gas_used specifies how much gas was consumed by the transaction GasUsed uint64 `protobuf:"varint,5,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // contains filtered or unexported fields }
MsgEthereumTxResponse defines the Msg/EthereumTx response type.
func ErrEthMessageCallResult ¶
func ErrEthMessageCallResult(err error) *EthMessageCallResult
func (*EthMessageCallResult) Descriptor
deprecated
func (*EthMessageCallResult) Descriptor() ([]byte, []int)
Deprecated: Use EthMessageCallResult.ProtoReflect.Descriptor instead.
func (*EthMessageCallResult) GetGasUsed ¶
func (x *EthMessageCallResult) GetGasUsed() uint64
func (*EthMessageCallResult) GetHash ¶
func (x *EthMessageCallResult) GetHash() string
func (*EthMessageCallResult) GetLogs ¶
func (x *EthMessageCallResult) GetLogs() []*EthLog
func (*EthMessageCallResult) GetRet ¶
func (x *EthMessageCallResult) GetRet() []byte
func (*EthMessageCallResult) GetVmError ¶
func (x *EthMessageCallResult) GetVmError() string
func (*EthMessageCallResult) ProtoMessage ¶
func (*EthMessageCallResult) ProtoMessage()
func (*EthMessageCallResult) ProtoReflect ¶
func (x *EthMessageCallResult) ProtoReflect() protoreflect.Message
func (*EthMessageCallResult) Reset ¶
func (x *EthMessageCallResult) Reset()
func (*EthMessageCallResult) String ¶
func (x *EthMessageCallResult) String() string
type EthReceipt ¶
type EthReceipt struct { // Consensus fields: These fields are defined by the Yellow Paper Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` PostState []byte `protobuf:"bytes,2,opt,name=post_state,json=postState,proto3" json:"post_state,omitempty"` Status uint64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` CumulativeGasUsed uint64 `protobuf:"varint,4,opt,name=cumulative_gas_used,json=cumulativeGasUsed,proto3" json:"cumulative_gas_used,omitempty"` LogsBloom []byte `protobuf:"bytes,5,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty"` Logs []*EthLog `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"` // implementation fields: these fields are added by geth when processing a transaction. // they are stored in the chain database. TxHash string `protobuf:"bytes,7,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` ContractAddress string `protobuf:"bytes,8,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` GasUsed uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // inclusion information: these fields provide information about the inclusion of the // transaction corresponding to this receipt. BlockHash string `protobuf:"bytes,10,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` BlockNumber string `protobuf:"bytes,11,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` TransactionIndex uint32 `protobuf:"varint,12,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` // contains filtered or unexported fields }
func (*EthReceipt) Descriptor
deprecated
func (*EthReceipt) Descriptor() ([]byte, []int)
Deprecated: Use EthReceipt.ProtoReflect.Descriptor instead.
func (*EthReceipt) GetBlockHash ¶
func (x *EthReceipt) GetBlockHash() string
func (*EthReceipt) GetBlockNumber ¶
func (x *EthReceipt) GetBlockNumber() string
func (*EthReceipt) GetContractAddress ¶
func (x *EthReceipt) GetContractAddress() string
func (*EthReceipt) GetCumulativeGasUsed ¶
func (x *EthReceipt) GetCumulativeGasUsed() uint64
func (*EthReceipt) GetGasUsed ¶
func (x *EthReceipt) GetGasUsed() uint64
func (*EthReceipt) GetLogs ¶
func (x *EthReceipt) GetLogs() []*EthLog
func (*EthReceipt) GetLogsBloom ¶
func (x *EthReceipt) GetLogsBloom() []byte
func (*EthReceipt) GetPostState ¶
func (x *EthReceipt) GetPostState() []byte
func (*EthReceipt) GetStatus ¶
func (x *EthReceipt) GetStatus() uint64
func (*EthReceipt) GetTransactionIndex ¶
func (x *EthReceipt) GetTransactionIndex() uint32
func (*EthReceipt) GetTxHash ¶
func (x *EthReceipt) GetTxHash() string
func (*EthReceipt) GetType ¶
func (x *EthReceipt) GetType() uint32
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 EthStackTransaction ¶
type EthStackTransaction struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Gas string `protobuf:"bytes,5,opt,name=gas,proto3" json:"gas,omitempty"` Ret []byte `protobuf:"bytes,6,opt,name=ret,proto3" json:"ret,omitempty"` LeftOverGas uint64 `protobuf:"varint,7,opt,name=leftOverGas,proto3" json:"leftOverGas,omitempty"` Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` ParentIndex int64 `protobuf:"varint,9,opt,name=parentIndex,proto3" json:"parentIndex,omitempty"` ChildrenIndex []uint64 `protobuf:"varint,10,rep,packed,name=childrenIndex,proto3" json:"childrenIndex,omitempty"` // contains filtered or unexported fields }
func NewInnerTransaction ¶
func (*EthStackTransaction) Descriptor
deprecated
func (*EthStackTransaction) Descriptor() ([]byte, []int)
Deprecated: Use EthStackTransaction.ProtoReflect.Descriptor instead.
func (*EthStackTransaction) GetChildrenIndex ¶
func (x *EthStackTransaction) GetChildrenIndex() []uint64
func (*EthStackTransaction) GetData ¶
func (x *EthStackTransaction) GetData() []byte
func (*EthStackTransaction) GetFrom ¶
func (x *EthStackTransaction) GetFrom() string
func (*EthStackTransaction) GetGas ¶
func (x *EthStackTransaction) GetGas() string
func (*EthStackTransaction) GetIndex ¶
func (x *EthStackTransaction) GetIndex() uint64
func (*EthStackTransaction) GetLeftOverGas ¶
func (x *EthStackTransaction) GetLeftOverGas() uint64
func (*EthStackTransaction) GetParentIndex ¶
func (x *EthStackTransaction) GetParentIndex() int64
func (*EthStackTransaction) GetRet ¶
func (x *EthStackTransaction) GetRet() []byte
func (*EthStackTransaction) GetTo ¶
func (x *EthStackTransaction) GetTo() string
func (*EthStackTransaction) GetValue ¶
func (x *EthStackTransaction) GetValue() string
func (*EthStackTransaction) ProtoMessage ¶
func (*EthStackTransaction) ProtoMessage()
func (*EthStackTransaction) ProtoReflect ¶
func (x *EthStackTransaction) ProtoReflect() protoreflect.Message
func (*EthStackTransaction) Reset ¶
func (x *EthStackTransaction) Reset()
func (*EthStackTransaction) String ¶
func (x *EthStackTransaction) String() string
type EthStateChange ¶
type EthStateChange struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // hex string of account Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` CallIndex uint64 `protobuf:"varint,3,opt,name=call_index,json=callIndex,proto3" 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() string
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,proto3" 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,proto3" 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 EthTransaction ¶
type EthTransaction struct { BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` BlockNumber int64 `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` // gas defines the gas limit defined for the transaction. Gas uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"` GasPrice string `protobuf:"bytes,5,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // gas_fee_cap defines the max value for the gas fee GasFeeCap string `protobuf:"bytes,6,opt,name=gas_fee_cap,json=gasFeeCap,proto3" json:"gas_fee_cap,omitempty"` // gas_tip_cap defines the max value for the gas tip GasTipCap string `protobuf:"bytes,7,opt,name=gas_tip_cap,json=gasTipCap,proto3" json:"gas_tip_cap,omitempty"` Hash []byte `protobuf:"bytes,8,opt,name=hash,proto3" json:"hash,omitempty"` // data is the data payload bytes of the transaction. Input []byte `protobuf:"bytes,9,opt,name=input,proto3" json:"input,omitempty"` // nonce corresponds to the account nonce (transaction sequence). Nonce uint64 `protobuf:"varint,10,opt,name=nonce,proto3" json:"nonce,omitempty"` // to is the hex formatted address of the recipient To string `protobuf:"bytes,11,opt,name=to,proto3" json:"to,omitempty"` TransactionIndex int64 `protobuf:"varint,12,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"` // value defines the the transaction amount. Value string `protobuf:"bytes,13,opt,name=value,proto3" json:"value,omitempty"` Type int32 `protobuf:"varint,14,opt,name=type,proto3" json:"type,omitempty"` // accesses is an array of access tuples AccessList []*EthAccessTuple `protobuf:"bytes,15,rep,name=access_list,json=accessList,proto3" json:"access_list,omitempty"` // chain_id of the destination EVM chain ChainId string `protobuf:"bytes,16,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // v defines the signature value V []byte `protobuf:"bytes,17,opt,name=v,proto3" json:"v,omitempty"` // r defines the signature value R []byte `protobuf:"bytes,18,opt,name=r,proto3" json:"r,omitempty"` // s define the signature value S []byte `protobuf:"bytes,19,opt,name=s,proto3" json:"s,omitempty"` // contains filtered or unexported fields }
like RPCTransaction
func NewEthTransaction ¶
func NewEthTransaction( from common.Address, tx *ethtypes.Transaction, blockHash common.Hash, blockNumber, index int64, baseFee *big.Int, chainID string, ) (*EthTransaction, error)
NewTransactionFromData returns a transaction that will serialize to the RPC representation, with the given location metadata set (if available).
func (*EthTransaction) Descriptor
deprecated
func (*EthTransaction) Descriptor() ([]byte, []int)
Deprecated: Use EthTransaction.ProtoReflect.Descriptor instead.
func (*EthTransaction) GetAccessList ¶
func (x *EthTransaction) GetAccessList() []*EthAccessTuple
func (*EthTransaction) GetBlockHash ¶
func (x *EthTransaction) GetBlockHash() []byte
func (*EthTransaction) GetBlockNumber ¶
func (x *EthTransaction) GetBlockNumber() int64
func (*EthTransaction) GetChainId ¶
func (x *EthTransaction) GetChainId() string
func (*EthTransaction) GetFrom ¶
func (x *EthTransaction) GetFrom() string
func (*EthTransaction) GetGas ¶
func (x *EthTransaction) GetGas() uint64
func (*EthTransaction) GetGasFeeCap ¶
func (x *EthTransaction) GetGasFeeCap() string
func (*EthTransaction) GetGasPrice ¶
func (x *EthTransaction) GetGasPrice() string
func (*EthTransaction) GetGasTipCap ¶
func (x *EthTransaction) GetGasTipCap() string
func (*EthTransaction) GetHash ¶
func (x *EthTransaction) GetHash() []byte
func (*EthTransaction) GetInput ¶
func (x *EthTransaction) GetInput() []byte
func (*EthTransaction) GetNonce ¶
func (x *EthTransaction) GetNonce() uint64
func (*EthTransaction) GetR ¶
func (x *EthTransaction) GetR() []byte
func (*EthTransaction) GetS ¶
func (x *EthTransaction) GetS() []byte
func (*EthTransaction) GetTo ¶
func (x *EthTransaction) GetTo() string
func (*EthTransaction) GetTransactionIndex ¶
func (x *EthTransaction) GetTransactionIndex() int64
func (*EthTransaction) GetType ¶
func (x *EthTransaction) GetType() int32
func (*EthTransaction) GetV ¶
func (x *EthTransaction) GetV() []byte
func (*EthTransaction) GetValue ¶
func (x *EthTransaction) GetValue() string
func (*EthTransaction) ProtoMessage ¶
func (*EthTransaction) ProtoMessage()
func (*EthTransaction) ProtoReflect ¶
func (x *EthTransaction) ProtoReflect() protoreflect.Message
func (*EthTransaction) Reset ¶
func (x *EthTransaction) Reset()
func (*EthTransaction) String ¶
func (x *EthTransaction) String() string
type EthTxArray ¶
type EthTxArray struct { Tx []*EthTransaction `protobuf:"bytes,1,rep,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*EthTxArray) Descriptor
deprecated
func (*EthTxArray) Descriptor() ([]byte, []int)
Deprecated: Use EthTxArray.ProtoReflect.Descriptor instead.
func (*EthTxArray) GetTx ¶
func (x *EthTxArray) GetTx() []*EthTransaction
func (*EthTxArray) ProtoMessage ¶
func (*EthTxArray) ProtoMessage()
func (*EthTxArray) ProtoReflect ¶
func (x *EthTxArray) ProtoReflect() protoreflect.Message
func (*EthTxArray) Reset ¶
func (x *EthTxArray) Reset()
func (*EthTxArray) String ¶
func (x *EthTxArray) String() string
type EthTxAspect ¶
type EthTxAspect struct { Tx *EthTransaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` CurrInnerTx *EthStackTransaction `protobuf:"bytes,2,opt,name=curr_inner_tx,json=currInnerTx,proto3" json:"curr_inner_tx,omitempty"` GasInfo *GasInfo `protobuf:"bytes,3,opt,name=gas_info,json=gasInfo,proto3" json:"gas_info,omitempty"` CallData *anypb.Any `protobuf:"bytes,4,opt,name=call_data,json=callData,proto3" json:"call_data,omitempty"` // contains filtered or unexported fields }
func (*EthTxAspect) Descriptor
deprecated
func (*EthTxAspect) Descriptor() ([]byte, []int)
Deprecated: Use EthTxAspect.ProtoReflect.Descriptor instead.
func (*EthTxAspect) GetCallData ¶
func (x *EthTxAspect) GetCallData() *anypb.Any
func (*EthTxAspect) GetCurrInnerTx ¶
func (x *EthTxAspect) GetCurrInnerTx() *EthStackTransaction
func (*EthTxAspect) GetGasInfo ¶
func (x *EthTxAspect) GetGasInfo() *GasInfo
func (*EthTxAspect) GetTx ¶
func (x *EthTxAspect) GetTx() *EthTransaction
func (*EthTxAspect) ProtoMessage ¶
func (*EthTxAspect) ProtoMessage()
func (*EthTxAspect) ProtoReflect ¶
func (x *EthTxAspect) ProtoReflect() protoreflect.Message
func (*EthTxAspect) Reset ¶
func (x *EthTxAspect) Reset()
func (*EthTxAspect) String ¶
func (x *EthTxAspect) String() string
type EthTxContextI ¶
type EthTxContextI interface { TxContent() (*EthTransaction, error) GetStateChanges(addr string, variable string, key []byte) (*EthStateChanges, error) QueryCallStack(query *EthCallStackQuery) (*EthCallStacks, error) GetReceipt() (*EthReceipt, error) GasMeter() (*CosmosGasMeter, error) }
type EthTxQuery ¶
type EthTxQuery struct { GasLimitGt uint64 `protobuf:"varint,1,opt,name=gas_limit_gt,json=gasLimitGt,proto3" json:"gas_limit_gt,omitempty"` // contains filtered or unexported fields }
func (*EthTxQuery) Descriptor
deprecated
func (*EthTxQuery) Descriptor() ([]byte, []int)
Deprecated: Use EthTxQuery.ProtoReflect.Descriptor instead.
func (*EthTxQuery) GetGasLimitGt ¶
func (x *EthTxQuery) GetGasLimitGt() uint64
func (*EthTxQuery) ProtoMessage ¶
func (*EthTxQuery) ProtoMessage()
func (*EthTxQuery) ProtoReflect ¶
func (x *EthTxQuery) ProtoReflect() protoreflect.Message
func (*EthTxQuery) Reset ¶
func (x *EthTxQuery) Reset()
func (*EthTxQuery) String ¶
func (x *EthTxQuery) String() string
type Evidence ¶
type Evidence struct { Type EvidenceType `protobuf:"varint,1,opt,name=type,proto3,enum=aspect.v2.EvidenceType" json:"type,omitempty"` // The offending validator Validator *Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"` // The height when the offense occurred Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // The corresponding time where the offense occurred Time int64 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"` // Total voting power of the validator set in case the ABCI application does // not store historical validators. // https://github.com/tendermint/tendermint/issues/4581 TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"` // contains filtered or unexported fields }
func (*Evidence) Descriptor
deprecated
func (*Evidence) GetTotalVotingPower ¶
func (*Evidence) GetType ¶
func (x *Evidence) GetType() EvidenceType
func (*Evidence) GetValidator ¶
func (*Evidence) ProtoMessage ¶
func (*Evidence) ProtoMessage()
func (*Evidence) ProtoReflect ¶
func (x *Evidence) ProtoReflect() protoreflect.Message
type EvidenceList ¶
type EvidenceList struct { Evidences []*Evidence `protobuf:"bytes,1,rep,name=evidences,proto3" json:"evidences,omitempty"` // contains filtered or unexported fields }
func (*EvidenceList) Descriptor
deprecated
func (*EvidenceList) Descriptor() ([]byte, []int)
Deprecated: Use EvidenceList.ProtoReflect.Descriptor instead.
func (*EvidenceList) GetEvidences ¶
func (x *EvidenceList) GetEvidences() []*Evidence
func (*EvidenceList) ProtoMessage ¶
func (*EvidenceList) ProtoMessage()
func (*EvidenceList) ProtoReflect ¶
func (x *EvidenceList) ProtoReflect() protoreflect.Message
func (*EvidenceList) Reset ¶
func (x *EvidenceList) Reset()
func (*EvidenceList) String ¶
func (x *EvidenceList) String() string
type EvidenceParams ¶
type EvidenceParams struct { // Max age of evidence, in blocks. // // The basic formula for calculating this is: MaxAgeDuration / {average block // time}. MaxAgeNumBlocks int64 `protobuf:"varint,1,opt,name=max_age_num_blocks,json=maxAgeNumBlocks,proto3" json:"max_age_num_blocks,omitempty"` MaxAgeDuration int64 `protobuf:"varint,2,opt,name=max_age_duration,json=maxAgeDuration,proto3" json:"max_age_duration,omitempty"` // This sets the maximum size of total evidence in bytes that can be committed in a single block. // and should fall comfortably under the max block bytes. // Default is 1048576 or 1MB MaxBytes int64 `protobuf:"varint,3,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` // contains filtered or unexported fields }
EvidenceParams determine how we handle evidence of malfeasance.
func (*EvidenceParams) Descriptor
deprecated
func (*EvidenceParams) Descriptor() ([]byte, []int)
Deprecated: Use EvidenceParams.ProtoReflect.Descriptor instead.
func (*EvidenceParams) GetMaxAgeDuration ¶
func (x *EvidenceParams) GetMaxAgeDuration() int64
func (*EvidenceParams) GetMaxAgeNumBlocks ¶
func (x *EvidenceParams) GetMaxAgeNumBlocks() int64
func (*EvidenceParams) GetMaxBytes ¶
func (x *EvidenceParams) GetMaxBytes() int64
func (*EvidenceParams) ProtoMessage ¶
func (*EvidenceParams) ProtoMessage()
func (*EvidenceParams) ProtoReflect ¶
func (x *EvidenceParams) ProtoReflect() protoreflect.Message
func (*EvidenceParams) Reset ¶
func (x *EvidenceParams) Reset()
func (*EvidenceParams) String ¶
func (x *EvidenceParams) String() string
type EvidenceType ¶
type EvidenceType int32
const ( EvidenceType_UNKNOWN EvidenceType = 0 EvidenceType_DUPLICATE_VOTE EvidenceType = 1 EvidenceType_LIGHT_CLIENT_ATTACK EvidenceType = 2 )
func (EvidenceType) Descriptor ¶
func (EvidenceType) Descriptor() protoreflect.EnumDescriptor
func (EvidenceType) Enum ¶
func (x EvidenceType) Enum() *EvidenceType
func (EvidenceType) EnumDescriptor
deprecated
func (EvidenceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EvidenceType.Descriptor instead.
func (EvidenceType) Number ¶
func (x EvidenceType) Number() protoreflect.EnumNumber
func (EvidenceType) String ¶
func (x EvidenceType) String() string
func (EvidenceType) Type ¶
func (EvidenceType) Type() protoreflect.EnumType
type EvmHostApi ¶
type EvmHostApi interface { // StaticCall( request CallMessageRequest) CallMessageResponse StaticCall(ctx *RunnerContext, request *EthMessage) *EthMessageCallResult // JITCall(request CallMessageRequest) *CallMessageResponse JITCall(ctx *RunnerContext, request *JitInherentRequest) *JitInherentResponse }
type EvmParams ¶
type EvmParams struct { EvmDenom string `protobuf:"bytes,1,opt,name=evm_denom,json=evmDenom,proto3" json:"evm_denom,omitempty"` // enable_create toggles state transitions that use the vm.Create function EnableCreate bool `protobuf:"varint,2,opt,name=enable_create,json=enableCreate,proto3" json:"enable_create,omitempty"` // enable_call toggles state transitions that use the vm.Call function EnableCall bool `protobuf:"varint,3,opt,name=enable_call,json=enableCall,proto3" json:"enable_call,omitempty"` // extra_eips defines the additional EIPs for the vm.Config ExtraEips []int64 `protobuf:"varint,4,rep,packed,name=extra_eips,json=extraEips,proto3" json:"extra_eips,omitempty"` AllowUnprotectedTxs bool `protobuf:"varint,5,opt,name=allow_unprotected_txs,json=allowUnprotectedTxs,proto3" json:"allow_unprotected_txs,omitempty"` // contains filtered or unexported fields }
func (*EvmParams) Descriptor
deprecated
func (*EvmParams) GetAllowUnprotectedTxs ¶
func (*EvmParams) GetEnableCall ¶
func (*EvmParams) GetEnableCreate ¶
func (*EvmParams) GetEvmDenom ¶
func (*EvmParams) GetExtraEips ¶
func (*EvmParams) ProtoMessage ¶
func (*EvmParams) ProtoMessage()
func (*EvmParams) ProtoReflect ¶
func (x *EvmParams) ProtoReflect() protoreflect.Message
type FilterTxResult ¶
type FilterTxResult struct { IsFilter bool `protobuf:"varint,1,opt,name=is_filter,json=isFilter,proto3" json:"is_filter,omitempty"` // contains filtered or unexported fields }
func (*FilterTxResult) Descriptor
deprecated
func (*FilterTxResult) Descriptor() ([]byte, []int)
Deprecated: Use FilterTxResult.ProtoReflect.Descriptor instead.
func (*FilterTxResult) GetIsFilter ¶
func (x *FilterTxResult) GetIsFilter() bool
func (*FilterTxResult) ProtoMessage ¶
func (*FilterTxResult) ProtoMessage()
func (*FilterTxResult) ProtoReflect ¶
func (x *FilterTxResult) ProtoReflect() protoreflect.Message
func (*FilterTxResult) Reset ¶
func (x *FilterTxResult) Reset()
func (*FilterTxResult) String ¶
func (x *FilterTxResult) String() string
type GasInfo ¶
type GasInfo struct { // GasWanted is the maximum units of work we allow this tx to perform. GasWanted uint64 `protobuf:"varint,1,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"` // GasUsed is the amount of gas actually consumed. GasUsed uint64 `protobuf:"varint,2,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // current call Gas Gas uint64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"` // contains filtered or unexported fields }
GasInfo defines tx execution gas context.
func (*GasInfo) Descriptor
deprecated
func (*GasInfo) GetGasUsed ¶
func (*GasInfo) GetGasWanted ¶
func (*GasInfo) ProtoMessage ¶
func (*GasInfo) ProtoMessage()
func (*GasInfo) ProtoReflect ¶
func (x *GasInfo) ProtoReflect() protoreflect.Message
type GasMeter ¶
type GasMeter struct { GasConsumed uint64 `protobuf:"varint,1,opt,name=gas_consumed,json=gasConsumed,proto3" json:"gas_consumed,omitempty"` GasConsumedToLimit uint64 `protobuf:"varint,2,opt,name=gas_consumed_to_limit,json=gasConsumedToLimit,proto3" json:"gas_consumed_to_limit,omitempty"` GasRemaining uint64 `protobuf:"varint,3,opt,name=gas_remaining,json=gasRemaining,proto3" json:"gas_remaining,omitempty"` Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*GasMeter) Descriptor
deprecated
func (*GasMeter) GetGasConsumed ¶
func (*GasMeter) GetGasConsumedToLimit ¶
func (*GasMeter) GetGasRemaining ¶
func (*GasMeter) ProtoMessage ¶
func (*GasMeter) ProtoMessage()
func (*GasMeter) ProtoReflect ¶
func (x *GasMeter) ProtoReflect() protoreflect.Message
type GetPayMasterResult ¶
type GetPayMasterResult struct { PayMaster string `protobuf:"bytes,1,opt,name=pay_master,json=payMaster,proto3" json:"pay_master,omitempty"` // contains filtered or unexported fields }
func (*GetPayMasterResult) Descriptor
deprecated
func (*GetPayMasterResult) Descriptor() ([]byte, []int)
Deprecated: Use GetPayMasterResult.ProtoReflect.Descriptor instead.
func (*GetPayMasterResult) GetPayMaster ¶
func (x *GetPayMasterResult) GetPayMaster() string
func (*GetPayMasterResult) ProtoMessage ¶
func (*GetPayMasterResult) ProtoMessage()
func (*GetPayMasterResult) ProtoReflect ¶
func (x *GetPayMasterResult) ProtoReflect() protoreflect.Message
func (*GetPayMasterResult) Reset ¶
func (x *GetPayMasterResult) Reset()
func (*GetPayMasterResult) String ¶
func (x *GetPayMasterResult) String() string
type IntData ¶
type IntData struct { Data int64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*IntData) Descriptor
deprecated
func (*IntData) ProtoMessage ¶
func (*IntData) ProtoMessage()
func (*IntData) ProtoReflect ¶
func (x *IntData) ProtoReflect() protoreflect.Message
type JitInherentRequest ¶
type JitInherentRequest struct { Sender []byte `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` InitCode []byte `protobuf:"bytes,3,opt,name=init_code,json=initCode,proto3" json:"init_code,omitempty"` CallData []byte `protobuf:"bytes,4,opt,name=call_data,json=callData,proto3" json:"call_data,omitempty"` CallGasLimit []byte `protobuf:"bytes,5,opt,name=call_gas_limit,json=callGasLimit,proto3" json:"call_gas_limit,omitempty"` VerificationGasLimit []byte `protobuf:"bytes,6,opt,name=verification_gas_limit,json=verificationGasLimit,proto3" json:"verification_gas_limit,omitempty"` MaxFeePerGas []byte `protobuf:"bytes,7,opt,name=max_fee_per_gas,json=maxFeePerGas,proto3" json:"max_fee_per_gas,omitempty"` MaxPriorityFeePerGas []byte `` /* 127-byte string literal not displayed */ PaymasterAndData []byte `protobuf:"bytes,9,opt,name=paymaster_and_data,json=paymasterAndData,proto3" 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() []byte
func (*JitInherentRequest) GetInitCode ¶
func (x *JitInherentRequest) GetInitCode() []byte
func (*JitInherentRequest) GetMaxFeePerGas ¶
func (x *JitInherentRequest) GetMaxFeePerGas() []byte
func (*JitInherentRequest) GetMaxPriorityFeePerGas ¶
func (x *JitInherentRequest) GetMaxPriorityFeePerGas() []byte
func (*JitInherentRequest) GetNonce ¶
func (x *JitInherentRequest) GetNonce() []byte
func (*JitInherentRequest) GetPaymasterAndData ¶
func (x *JitInherentRequest) GetPaymasterAndData() []byte
func (*JitInherentRequest) GetSender ¶
func (x *JitInherentRequest) GetSender() []byte
func (*JitInherentRequest) GetVerificationGasLimit ¶
func (x *JitInherentRequest) GetVerificationGasLimit() []byte
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,proto3" json:"jit_inherent_hashes,omitempty"` TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` Success bool `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"` Ret []byte `protobuf:"bytes,4,opt,name=ret,proto3" json:"ret,omitempty"` LeftoverGas uint64 `protobuf:"varint,5,opt,name=leftover_gas,json=leftoverGas,proto3" json:"leftover_gas,omitempty"` ErrorMsg string `protobuf:"bytes,6,opt,name=errorMsg,proto3" json:"errorMsg,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) GetLeftoverGas ¶
func (x *JitInherentResponse) GetLeftoverGas() uint64
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 JoinPointAdviceI ¶
type JoinPointAdviceI interface { FilterTx(request *EthTxAspect) *JoinPointResult VerifyTx(request *EthTxAspect) *JoinPointResult VerifyAccount(request *EthTxAspect) *JoinPointResult GetPayMaster(request *EthTxAspect) *JoinPointResult PreTxExecute(request *EthTxAspect) *JoinPointResult PreContractCall(request *EthTxAspect) *JoinPointResult PostContractCall(request *EthTxAspect) *JoinPointResult PostTxExecute(request *EthTxAspect) *JoinPointResult PostTxCommit(request *EthTxAspect) *JoinPointResult OnBlockInitialize(request *EthBlockAspect) *JoinPointResult OnBlockFinalize(request *EthBlockAspect) *JoinPointResult }
type JoinPointResult ¶
type JoinPointResult struct { GasInfo *GasInfo `protobuf:"bytes,1,opt,name=gas_info,json=gasInfo,proto3" json:"gas_info,omitempty"` TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` ExecResultMap map[string]*AspectResponse `` /* 190-byte string literal not displayed */ // contains filtered or unexported fields }
func DefJoinPointResult ¶
func DefJoinPointResult(message string) *JoinPointResult
func ErrJoinPointResult ¶
func ErrJoinPointResult(message string) *JoinPointResult
func (*JoinPointResult) Descriptor
deprecated
func (*JoinPointResult) Descriptor() ([]byte, []int)
Deprecated: Use JoinPointResult.ProtoReflect.Descriptor instead.
func (*JoinPointResult) GetExecResultMap ¶
func (x *JoinPointResult) GetExecResultMap() map[string]*AspectResponse
func (*JoinPointResult) GetGasInfo ¶
func (x *JoinPointResult) GetGasInfo() *GasInfo
func (*JoinPointResult) GetTxHash ¶
func (x *JoinPointResult) GetTxHash() string
func (*JoinPointResult) HasErr ¶
func (c *JoinPointResult) HasErr() (bool, error)
func (*JoinPointResult) ProtoMessage ¶
func (*JoinPointResult) ProtoMessage()
func (*JoinPointResult) ProtoReflect ¶
func (x *JoinPointResult) ProtoReflect() protoreflect.Message
func (*JoinPointResult) Reset ¶
func (x *JoinPointResult) Reset()
func (*JoinPointResult) String ¶
func (x *JoinPointResult) String() string
func (*JoinPointResult) WithErr ¶
func (c *JoinPointResult) WithErr(aspectId string, err error) *JoinPointResult
func (*JoinPointResult) WithGas ¶
func (c *JoinPointResult) WithGas(gasWanted, gasUsed, gasLeft uint64) *JoinPointResult
func (*JoinPointResult) WithResponse ¶
func (c *JoinPointResult) WithResponse(aspectId string, output *AspectResponse) *JoinPointResult
type LastCommitInfo ¶
type LastCommitInfo struct { Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"` Votes []*VoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` // contains filtered or unexported fields }
func (*LastCommitInfo) Descriptor
deprecated
func (*LastCommitInfo) Descriptor() ([]byte, []int)
Deprecated: Use LastCommitInfo.ProtoReflect.Descriptor instead.
func (*LastCommitInfo) GetRound ¶
func (x *LastCommitInfo) GetRound() int32
func (*LastCommitInfo) GetVotes ¶
func (x *LastCommitInfo) GetVotes() []*VoteInfo
func (*LastCommitInfo) ProtoMessage ¶
func (*LastCommitInfo) ProtoMessage()
func (*LastCommitInfo) ProtoReflect ¶
func (x *LastCommitInfo) ProtoReflect() protoreflect.Message
func (*LastCommitInfo) Reset ¶
func (x *LastCommitInfo) Reset()
func (*LastCommitInfo) String ¶
func (x *LastCommitInfo) String() string
type MinGasPrice ¶
type MinGasPrice struct { Coins []*DecCoin `protobuf:"bytes,1,rep,name=coins,proto3" json:"coins,omitempty"` // contains filtered or unexported fields }
func (*MinGasPrice) Descriptor
deprecated
func (*MinGasPrice) Descriptor() ([]byte, []int)
Deprecated: Use MinGasPrice.ProtoReflect.Descriptor instead.
func (*MinGasPrice) GetCoins ¶
func (x *MinGasPrice) GetCoins() []*DecCoin
func (*MinGasPrice) ProtoMessage ¶
func (*MinGasPrice) ProtoMessage()
func (*MinGasPrice) ProtoReflect ¶
func (x *MinGasPrice) ProtoReflect() protoreflect.Message
func (*MinGasPrice) Reset ¶
func (x *MinGasPrice) Reset()
func (*MinGasPrice) String ¶
func (x *MinGasPrice) String() string
type PartSetHeader ¶
type PartSetHeader struct { Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*PartSetHeader) Descriptor
deprecated
func (*PartSetHeader) Descriptor() ([]byte, []int)
Deprecated: Use PartSetHeader.ProtoReflect.Descriptor instead.
func (*PartSetHeader) GetHash ¶
func (x *PartSetHeader) GetHash() []byte
func (*PartSetHeader) GetTotal ¶
func (x *PartSetHeader) GetTotal() uint32
func (*PartSetHeader) ProtoMessage ¶
func (*PartSetHeader) ProtoMessage()
func (*PartSetHeader) ProtoReflect ¶
func (x *PartSetHeader) ProtoReflect() protoreflect.Message
func (*PartSetHeader) Reset ¶
func (x *PartSetHeader) Reset()
func (*PartSetHeader) String ¶
func (x *PartSetHeader) String() string
type PeriodicType ¶
type PeriodicType struct { StartBlock uint64 `protobuf:"varint,1,opt,name=startBlock,proto3" json:"startBlock,omitempty"` EveryNBlocks uint64 `protobuf:"varint,2,opt,name=everyNBlocks,proto3" json:"everyNBlocks,omitempty"` MaxRetry uint64 `protobuf:"varint,3,opt,name=maxRetry,proto3" json:"maxRetry,omitempty"` Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*PeriodicType) Descriptor
deprecated
func (*PeriodicType) Descriptor() ([]byte, []int)
Deprecated: Use PeriodicType.ProtoReflect.Descriptor instead.
func (*PeriodicType) GetCount ¶
func (x *PeriodicType) GetCount() uint64
func (*PeriodicType) GetEveryNBlocks ¶
func (x *PeriodicType) GetEveryNBlocks() uint64
func (*PeriodicType) GetMaxRetry ¶
func (x *PeriodicType) GetMaxRetry() uint64
func (*PeriodicType) GetStartBlock ¶
func (x *PeriodicType) GetStartBlock() uint64
func (*PeriodicType) ProtoMessage ¶
func (*PeriodicType) ProtoMessage()
func (*PeriodicType) ProtoReflect ¶
func (x *PeriodicType) ProtoReflect() protoreflect.Message
func (*PeriodicType) Reset ¶
func (x *PeriodicType) Reset()
func (*PeriodicType) String ¶
func (x *PeriodicType) String() string
type PointCut ¶
type PointCut string
const ( ON_TX_RECEIVE_METHOD PointCut = "onTxReceive" ON_BLOCK_INITIALIZE_METHOD PointCut = "onBlockInitialize" ON_TX_VERIFY_METHOD PointCut = "onTxVerify" 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" ON_TX_COMMIT_METHOD PointCut = "onTxCommit" ON_BLOCK_FINALIZE_METHOD PointCut = "onBlockFinalize" OPERATION_METHOD PointCut = "operation" IS_OWNER_METHOD PointCut = "isOwner" ON_CONTRACT_BINDING_METHOD PointCut = "onContractBinding" )
type QueryNameSpace ¶
type QueryNameSpace int32
const ( QueryNameSpace_QueryAspectState QueryNameSpace = 0 QueryNameSpace_QueryAspectProperty QueryNameSpace = 1 )
func (QueryNameSpace) Descriptor ¶
func (QueryNameSpace) Descriptor() protoreflect.EnumDescriptor
func (QueryNameSpace) Enum ¶
func (x QueryNameSpace) Enum() *QueryNameSpace
func (QueryNameSpace) EnumDescriptor
deprecated
func (QueryNameSpace) EnumDescriptor() ([]byte, []int)
Deprecated: Use QueryNameSpace.Descriptor instead.
func (QueryNameSpace) Number ¶
func (x QueryNameSpace) Number() protoreflect.EnumNumber
func (QueryNameSpace) String ¶
func (x QueryNameSpace) String() string
func (QueryNameSpace) Type ¶
func (QueryNameSpace) Type() protoreflect.EnumType
type RemoveNameSpace ¶
type RemoveNameSpace int32
const ( RemoveNameSpace_RemoveAspectContext RemoveNameSpace = 0 RemoveNameSpace_RemoveAspectState RemoveNameSpace = 1 )
func (RemoveNameSpace) Descriptor ¶
func (RemoveNameSpace) Descriptor() protoreflect.EnumDescriptor
func (RemoveNameSpace) Enum ¶
func (x RemoveNameSpace) Enum() *RemoveNameSpace
func (RemoveNameSpace) EnumDescriptor
deprecated
func (RemoveNameSpace) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoveNameSpace.Descriptor instead.
func (RemoveNameSpace) Number ¶
func (x RemoveNameSpace) Number() protoreflect.EnumNumber
func (RemoveNameSpace) String ¶
func (x RemoveNameSpace) String() string
func (RemoveNameSpace) Type ¶
func (RemoveNameSpace) Type() protoreflect.EnumType
type RunResult ¶
type RunResult struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
wasm runner result
func DefRunResult ¶
func DefRunResult() *RunResult
func ErrRunResult ¶
func (*RunResult) Descriptor
deprecated
func (*RunResult) GetMessage ¶
func (*RunResult) GetSuccess ¶
func (*RunResult) ProtoMessage ¶
func (*RunResult) ProtoMessage()
func (*RunResult) ProtoReflect ¶
func (x *RunResult) ProtoReflect() protoreflect.Message
type RunnerContext ¶
type RuntimeHostApi ¶
type RuntimeHostApi interface { GetContext(ctx *RunnerContext, key string) *ContextQueryResponse Set(ctx *RunnerContext, set *ContextSetRequest) bool Query(ctx *RunnerContext, query *ContextQueryRequest) *ContextQueryResponse Remove(ctx *RunnerContext, set *ContextRemoveRequest) bool }
type SateChangeQuery ¶
type SateChangeQuery struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` StateVarName string `protobuf:"bytes,2,opt,name=stateVarName,proto3" json:"stateVarName,omitempty"` Indices [][]byte `protobuf:"bytes,3,rep,name=indices,proto3" json:"indices,omitempty"` // contains filtered or unexported fields }
func (*SateChangeQuery) Descriptor
deprecated
func (*SateChangeQuery) Descriptor() ([]byte, []int)
Deprecated: Use SateChangeQuery.ProtoReflect.Descriptor instead.
func (*SateChangeQuery) GetAccount ¶
func (x *SateChangeQuery) GetAccount() string
func (*SateChangeQuery) GetIndices ¶
func (x *SateChangeQuery) GetIndices() [][]byte
func (*SateChangeQuery) GetStateVarName ¶
func (x *SateChangeQuery) GetStateVarName() string
func (*SateChangeQuery) ProtoMessage ¶
func (*SateChangeQuery) ProtoMessage()
func (*SateChangeQuery) ProtoReflect ¶
func (x *SateChangeQuery) ProtoReflect() protoreflect.Message
func (*SateChangeQuery) Reset ¶
func (x *SateChangeQuery) Reset()
func (*SateChangeQuery) String ¶
func (x *SateChangeQuery) String() string
type Schedule ¶
type Schedule struct { Id *ScheduleId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreateHeight uint64 `protobuf:"varint,2,opt,name=createHeight,proto3" json:"createHeight,omitempty"` // 0 close, 1 start Status ScheduleStatus `protobuf:"varint,3,opt,name=status,proto3,enum=scheduler.v2.ScheduleStatus" json:"status,omitempty"` // 0 periodic, 1 adhoc Tx *EthTransaction `protobuf:"bytes,4,opt,name=tx,proto3" json:"tx,omitempty"` StartBlock uint64 `protobuf:"varint,5,opt,name=startBlock,proto3" json:"startBlock,omitempty"` EveryNBlock uint64 `protobuf:"varint,6,opt,name=everyNBlock,proto3" json:"everyNBlock,omitempty"` MaxRetry uint64 `protobuf:"varint,7,opt,name=maxRetry,proto3" json:"maxRetry,omitempty"` Count uint64 `protobuf:"varint,8,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*Schedule) Descriptor
deprecated
func (*Schedule) GetCreateHeight ¶
func (*Schedule) GetEveryNBlock ¶
func (*Schedule) GetId ¶
func (x *Schedule) GetId() *ScheduleId
func (*Schedule) GetMaxRetry ¶
func (*Schedule) GetStartBlock ¶
func (*Schedule) GetStatus ¶
func (x *Schedule) GetStatus() ScheduleStatus
func (*Schedule) GetTx ¶
func (x *Schedule) GetTx() *EthTransaction
func (*Schedule) ProtoMessage ¶
func (*Schedule) ProtoMessage()
func (*Schedule) ProtoReflect ¶
func (x *Schedule) ProtoReflect() protoreflect.Message
type ScheduleHostApi ¶
type ScheduleHostApi interface { // SubmitSchedule(sch Schedule) bool SubmitSchedule(ctx *RunnerContext, sch *Schedule) *RunResult }
type ScheduleId ¶
type ScheduleId struct { ScheduleName string `protobuf:"bytes,1,opt,name=scheduleName,proto3" json:"scheduleName,omitempty"` AspectId string `protobuf:"bytes,2,opt,name=aspectId,proto3" json:"aspectId,omitempty"` // contains filtered or unexported fields }
func (*ScheduleId) Descriptor
deprecated
func (*ScheduleId) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleId.ProtoReflect.Descriptor instead.
func (*ScheduleId) GetAspectId ¶
func (x *ScheduleId) GetAspectId() string
func (*ScheduleId) GetScheduleName ¶
func (x *ScheduleId) GetScheduleName() string
func (*ScheduleId) ProtoMessage ¶
func (*ScheduleId) ProtoMessage()
func (*ScheduleId) ProtoReflect ¶
func (x *ScheduleId) ProtoReflect() protoreflect.Message
func (*ScheduleId) Reset ¶
func (x *ScheduleId) Reset()
func (*ScheduleId) String ¶
func (x *ScheduleId) String() string
type ScheduleStatus ¶
type ScheduleStatus int32
const ( ScheduleStatus_Close ScheduleStatus = 0 ScheduleStatus_Open ScheduleStatus = 1 )
func (ScheduleStatus) Descriptor ¶
func (ScheduleStatus) Descriptor() protoreflect.EnumDescriptor
func (ScheduleStatus) Enum ¶
func (x ScheduleStatus) Enum() *ScheduleStatus
func (ScheduleStatus) EnumDescriptor
deprecated
func (ScheduleStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScheduleStatus.Descriptor instead.
func (ScheduleStatus) Number ¶
func (x ScheduleStatus) Number() protoreflect.EnumNumber
func (ScheduleStatus) String ¶
func (x ScheduleStatus) String() string
func (ScheduleStatus) Type ¶
func (ScheduleStatus) Type() protoreflect.EnumType
type ScheduleTask ¶
type ScheduleTask struct { Schedule *Schedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"` BlockHeight int64 `protobuf:"varint,2,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"` // eth tx hash TxHash string `protobuf:"bytes,3,opt,name=txHash,proto3" json:"txHash,omitempty"` // nonce TxNonce uint64 `protobuf:"varint,4,opt,name=txNonce,proto3" json:"txNonce,omitempty"` // cosmos sdk tx SdkTx []byte `protobuf:"bytes,5,opt,name=sdkTx,proto3" json:"sdkTx,omitempty"` // contains filtered or unexported fields }
func (*ScheduleTask) Descriptor
deprecated
func (*ScheduleTask) Descriptor() ([]byte, []int)
Deprecated: Use ScheduleTask.ProtoReflect.Descriptor instead.
func (*ScheduleTask) GetBlockHeight ¶
func (x *ScheduleTask) GetBlockHeight() int64
func (*ScheduleTask) GetSchedule ¶
func (x *ScheduleTask) GetSchedule() *Schedule
func (*ScheduleTask) GetSdkTx ¶
func (x *ScheduleTask) GetSdkTx() []byte
func (*ScheduleTask) GetTxHash ¶
func (x *ScheduleTask) GetTxHash() string
func (*ScheduleTask) GetTxNonce ¶
func (x *ScheduleTask) GetTxNonce() uint64
func (*ScheduleTask) ProtoMessage ¶
func (*ScheduleTask) ProtoMessage()
func (*ScheduleTask) ProtoReflect ¶
func (x *ScheduleTask) ProtoReflect() protoreflect.Message
func (*ScheduleTask) Reset ¶
func (x *ScheduleTask) Reset()
func (*ScheduleTask) String ¶
func (x *ScheduleTask) String() string
type SetNameSpace ¶
type SetNameSpace int32
const ( SetNameSpace_SetAspectContext SetNameSpace = 0 SetNameSpace_SetAspectState SetNameSpace = 1 )
func (SetNameSpace) Descriptor ¶
func (SetNameSpace) Descriptor() protoreflect.EnumDescriptor
func (SetNameSpace) Enum ¶
func (x SetNameSpace) Enum() *SetNameSpace
func (SetNameSpace) EnumDescriptor
deprecated
func (SetNameSpace) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetNameSpace.Descriptor instead.
func (SetNameSpace) Number ¶
func (x SetNameSpace) Number() protoreflect.EnumNumber
func (SetNameSpace) String ¶
func (x SetNameSpace) String() string
func (SetNameSpace) Type ¶
func (SetNameSpace) Type() protoreflect.EnumType
type StateDbHostApi ¶
type StateDbHostApi interface { // GetBalance(request AddressQueryRequest) StringDataResponse GetBalance(ctx *RunnerContext, addressEquals string) string // GetState(request StateQueryRequest) StringDataResponse GetState(ctx *RunnerContext, addressEquals, hashEquals string) string // GetRefund() IntDataResponse GetRefund(ctx *RunnerContext) uint64 // GetCodeHash(request AddressQueryRequest) StringDataResponse GetCodeHash(ctx *RunnerContext, addressEquals string) string // GetNonce(request AddressQueryRequest) IntDataResponse GetNonce(ctx *RunnerContext, addressEquals string) uint64 }
type StringArrayData ¶
type StringArrayData struct { Data []string `protobuf:"bytes,1,rep,name=data,proto3" 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,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
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 TaskResult ¶
type TaskResult struct { ConfirmTxs []*TaskTx `protobuf:"bytes,1,rep,name=confirmTxs,proto3" json:"confirmTxs,omitempty"` Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*TaskResult) Descriptor
deprecated
func (*TaskResult) Descriptor() ([]byte, []int)
Deprecated: Use TaskResult.ProtoReflect.Descriptor instead.
func (*TaskResult) GetConfirmTxs ¶
func (x *TaskResult) GetConfirmTxs() []*TaskTx
func (*TaskResult) GetCount ¶
func (x *TaskResult) GetCount() uint64
func (*TaskResult) ProtoMessage ¶
func (*TaskResult) ProtoMessage()
func (*TaskResult) ProtoReflect ¶
func (x *TaskResult) ProtoReflect() protoreflect.Message
func (*TaskResult) Reset ¶
func (x *TaskResult) Reset()
func (*TaskResult) String ¶
func (x *TaskResult) String() string
type TaskTx ¶
type TaskTx struct { BlockHeight int64 `protobuf:"varint,1,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"` TxHash string `protobuf:"bytes,2,opt,name=txHash,proto3" json:"txHash,omitempty"` // contains filtered or unexported fields }
func (*TaskTx) Descriptor
deprecated
func (*TaskTx) GetBlockHeight ¶
func (*TaskTx) ProtoMessage ¶
func (*TaskTx) ProtoMessage()
func (*TaskTx) ProtoReflect ¶
func (x *TaskTx) ProtoReflect() protoreflect.Message
type TryTask ¶
type TryTask struct { NeedRetry bool `protobuf:"varint,1,opt,name=needRetry,proto3" json:"needRetry,omitempty"` TaskTxs []*TaskTx `protobuf:"bytes,2,rep,name=taskTxs,proto3" json:"taskTxs,omitempty"` // contains filtered or unexported fields }
func (*TryTask) Descriptor
deprecated
func (*TryTask) GetNeedRetry ¶
func (*TryTask) GetTaskTxs ¶
func (*TryTask) ProtoMessage ¶
func (*TryTask) ProtoMessage()
func (*TryTask) ProtoReflect ¶
func (x *TryTask) ProtoReflect() protoreflect.Message
type TxExtProperty ¶
type TxExtProperty struct { Property map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TxExtProperty) Descriptor
deprecated
func (*TxExtProperty) Descriptor() ([]byte, []int)
Deprecated: Use TxExtProperty.ProtoReflect.Descriptor instead.
func (*TxExtProperty) GetProperty ¶
func (x *TxExtProperty) GetProperty() map[string]string
func (*TxExtProperty) ProtoMessage ¶
func (*TxExtProperty) ProtoMessage()
func (*TxExtProperty) ProtoReflect ¶
func (x *TxExtProperty) ProtoReflect() protoreflect.Message
func (*TxExtProperty) Reset ¶
func (x *TxExtProperty) Reset()
func (*TxExtProperty) String ¶
func (x *TxExtProperty) String() string
type UserOperation ¶
type UserOperation struct { Sender common.Address Nonce *uint256.Int InitCode []byte CallData []byte CallGasLimit *uint256.Int VerificationGasLimit *uint256.Int PreVerificationGas *uint256.Int MaxFeePerGas *uint256.Int MaxPriorityFeePerGas *uint256.Int PaymasterAndData []byte }
func NewUserOperation ¶
func NewUserOperation(protoMsg *JitInherentRequest) *UserOperation
func NewUserOperations ¶
func NewUserOperations(protoMsg ...*JitInherentRequest) []*UserOperation
func (UserOperation) Hash ¶
func (i UserOperation) Hash() common.Hash
func (UserOperation) ToABIStruct ¶
func (i UserOperation) ToABIStruct() *aa.UserOperation
func (UserOperation) ToEstimateGasABIStruct ¶
func (i UserOperation) ToEstimateGasABIStruct(balance *big.Int) *aa.UserOperation
type Validator ¶
type Validator struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The first 20 bytes of SHA256(public key) // PubKey pub_key = 2 [(gogoproto.nullable)=false]; Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"` // The voting power // contains filtered or unexported fields }
Validator
func (*Validator) Descriptor
deprecated
func (*Validator) GetAddress ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
type ValidatorParams ¶
type ValidatorParams struct { PubKeyTypes []string `protobuf:"bytes,1,rep,name=pub_key_types,json=pubKeyTypes,proto3" json:"pub_key_types,omitempty"` // contains filtered or unexported fields }
func (*ValidatorParams) Descriptor
deprecated
func (*ValidatorParams) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorParams.ProtoReflect.Descriptor instead.
func (*ValidatorParams) GetPubKeyTypes ¶
func (x *ValidatorParams) GetPubKeyTypes() []string
func (*ValidatorParams) ProtoMessage ¶
func (*ValidatorParams) ProtoMessage()
func (*ValidatorParams) ProtoReflect ¶
func (x *ValidatorParams) ProtoReflect() protoreflect.Message
func (*ValidatorParams) Reset ¶
func (x *ValidatorParams) Reset()
func (*ValidatorParams) String ¶
func (x *ValidatorParams) String() string
type VerifyTxResult ¶
type VerifyTxResult struct { IsVerified bool `protobuf:"varint,1,opt,name=is_verified,json=isVerified,proto3" json:"is_verified,omitempty"` // contains filtered or unexported fields }
func (*VerifyTxResult) Descriptor
deprecated
func (*VerifyTxResult) Descriptor() ([]byte, []int)
Deprecated: Use VerifyTxResult.ProtoReflect.Descriptor instead.
func (*VerifyTxResult) GetIsVerified ¶
func (x *VerifyTxResult) GetIsVerified() bool
func (*VerifyTxResult) ProtoMessage ¶
func (*VerifyTxResult) ProtoMessage()
func (*VerifyTxResult) ProtoReflect ¶
func (x *VerifyTxResult) ProtoReflect() protoreflect.Message
func (*VerifyTxResult) Reset ¶
func (x *VerifyTxResult) Reset()
func (*VerifyTxResult) String ¶
func (x *VerifyTxResult) String() string
type Version ¶
type Version struct { AppVersion uint32 `protobuf:"varint,1,opt,name=appVersion,proto3" json:"appVersion,omitempty"` // contains filtered or unexported fields }
func (*Version) Descriptor
deprecated
func (*Version) GetAppVersion ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
type VersionParams ¶
type VersionParams struct { AppVersion uint64 `protobuf:"varint,1,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` // contains filtered or unexported fields }
VersionParams contains the ABCI application version.
func (*VersionParams) Descriptor
deprecated
func (*VersionParams) Descriptor() ([]byte, []int)
Deprecated: Use VersionParams.ProtoReflect.Descriptor instead.
func (*VersionParams) GetAppVersion ¶
func (x *VersionParams) GetAppVersion() uint64
func (*VersionParams) ProtoMessage ¶
func (*VersionParams) ProtoMessage()
func (*VersionParams) ProtoReflect ¶
func (x *VersionParams) ProtoReflect() protoreflect.Message
func (*VersionParams) Reset ¶
func (x *VersionParams) Reset()
func (*VersionParams) String ¶
func (x *VersionParams) String() string
type VoteInfo ¶
type VoteInfo struct { Validator *Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"` SignedLastBlock bool `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock,proto3" json:"signed_last_block,omitempty"` // contains filtered or unexported fields }
VoteInfo
func (*VoteInfo) Descriptor
deprecated
func (*VoteInfo) GetSignedLastBlock ¶
func (*VoteInfo) GetValidator ¶
func (*VoteInfo) ProtoMessage ¶
func (*VoteInfo) ProtoMessage()
func (*VoteInfo) ProtoReflect ¶
func (x *VoteInfo) ProtoReflect() protoreflect.Message
Source Files ¶
- aspect_inteface.go
- aspect_type.go
- base_message.go
- base_message.pb.go
- context_interface.go
- controller.go
- cosmos_type.go
- cosmos_type.pb.go
- entry_api.pb.go
- eth_block.go
- host_api.go
- host_api.pb.go
- hostapi_interface.go
- jit_inherent.go
- jit_inherent_message.pb.go
- runner_pool.go
- schedule_message.pb.go
- store.go