evmos.proto.autogen.py.tendermint.abci
Classes
|
|
|
BlockParams contains limits on the block size. |
|
An enumeration. |
|
ConsensusParams contains all consensus-relevant parameters that can be adjusted by the abci app |
|
Event allows application developers to attach additional information to ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. |
|
EventAttribute is a single key-value pair, associated with an event. |
|
|
|
An enumeration. |
|
|
|
|
|
Applies a snapshot chunk |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lists available snapshots |
|
|
loads a snapshot chunk |
|
offers a snapshot to the application |
|
|
|
nondeterministic |
|
|
|
|
An enumeration. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nondeterministic |
|
|
|
|
|
|
|
|
|
|
|
An enumeration. |
|
|
|
nondeterministic |
|
|
|
TxResult contains results of executing the transaction. |
|
|
|
|
|
- class evmos.proto.autogen.py.tendermint.abci.AbciApplicationBase[source]
Bases:
ServiceBase
- async apply_snapshot_chunk(request_apply_snapshot_chunk: RequestApplySnapshotChunk) ResponseApplySnapshotChunk [source]
- async begin_block(request_begin_block: RequestBeginBlock) ResponseBeginBlock [source]
- async check_tx(request_check_tx: RequestCheckTx) ResponseCheckTx [source]
- async commit(request_commit: RequestCommit) ResponseCommit [source]
- async deliver_tx(request_deliver_tx: RequestDeliverTx) ResponseDeliverTx [source]
- async echo(request_echo: RequestEcho) ResponseEcho [source]
- async end_block(request_end_block: RequestEndBlock) ResponseEndBlock [source]
- async flush(request_flush: RequestFlush) ResponseFlush [source]
- async info(request_info: RequestInfo) ResponseInfo [source]
- async init_chain(request_init_chain: RequestInitChain) ResponseInitChain [source]
- async list_snapshots(request_list_snapshots: RequestListSnapshots) ResponseListSnapshots [source]
- async load_snapshot_chunk(request_load_snapshot_chunk: RequestLoadSnapshotChunk) ResponseLoadSnapshotChunk [source]
- async offer_snapshot(request_offer_snapshot: RequestOfferSnapshot) ResponseOfferSnapshot [source]
- async query(request_query: RequestQuery) ResponseQuery [source]
- async set_option(request_set_option: RequestSetOption) ResponseSetOption [source]
- class evmos.proto.autogen.py.tendermint.abci.AbciApplicationStub(channel: Channel, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[Union[Mapping[str, Union[str, bytes]], Collection[Tuple[str, Union[str, bytes]]]]] = None)[source]
Bases:
ServiceStub
- async apply_snapshot_chunk(request_apply_snapshot_chunk: RequestApplySnapshotChunk, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseApplySnapshotChunk [source]
- async begin_block(request_begin_block: RequestBeginBlock, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseBeginBlock [source]
- async check_tx(request_check_tx: RequestCheckTx, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseCheckTx [source]
- async commit(request_commit: RequestCommit, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseCommit [source]
- async deliver_tx(request_deliver_tx: RequestDeliverTx, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseDeliverTx [source]
- async echo(request_echo: RequestEcho, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseEcho [source]
- async end_block(request_end_block: RequestEndBlock, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseEndBlock [source]
- async flush(request_flush: RequestFlush, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseFlush [source]
- async info(request_info: RequestInfo, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseInfo [source]
- async init_chain(request_init_chain: RequestInitChain, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseInitChain [source]
- async list_snapshots(request_list_snapshots: RequestListSnapshots, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseListSnapshots [source]
- async load_snapshot_chunk(request_load_snapshot_chunk: RequestLoadSnapshotChunk, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseLoadSnapshotChunk [source]
- async offer_snapshot(request_offer_snapshot: RequestOfferSnapshot, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseOfferSnapshot [source]
- async query(request_query: RequestQuery, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseQuery [source]
- async set_option(request_set_option: RequestSetOption, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) ResponseSetOption [source]
- class evmos.proto.autogen.py.tendermint.abci.BlockParams(max_bytes: int = <object object>, max_gas: int = <object object>)[source]
Bases:
Message
BlockParams contains limits on the block size.
- class evmos.proto.autogen.py.tendermint.abci.CheckTxType(value)[source]
Bases:
Enum
An enumeration.
- NEW = 0
- RECHECK = 1
- class evmos.proto.autogen.py.tendermint.abci.ConsensusParams(block: ~evmos.proto.autogen.py.tendermint.abci.BlockParams = <object object>, evidence: ~evmos.proto.autogen.py.tendermint.types.EvidenceParams = <object object>, validator: ~evmos.proto.autogen.py.tendermint.types.ValidatorParams = <object object>, version: ~evmos.proto.autogen.py.tendermint.types.VersionParams = <object object>)[source]
Bases:
Message
ConsensusParams contains all consensus-relevant parameters that can be adjusted by the abci app
- block: BlockParams = <object object>
- evidence: EvidenceParams = <object object>
- validator: ValidatorParams = <object object>
- version: VersionParams = <object object>
- class evmos.proto.autogen.py.tendermint.abci.Event(type: str = <object object>, attributes: ~typing.List[~evmos.proto.autogen.py.tendermint.abci.EventAttribute] = <object object>)[source]
Bases:
Message
Event allows application developers to attach additional information to ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. Later, transactions may be queried using these events.
- attributes: List[EventAttribute] = <object object>
- class evmos.proto.autogen.py.tendermint.abci.EventAttribute(key: bytes = <object object>, value: bytes = <object object>, index: bool = <object object>)[source]
Bases:
Message
EventAttribute is a single key-value pair, associated with an event.
- class evmos.proto.autogen.py.tendermint.abci.Evidence(type: 'EvidenceType' = <object object at 0x7f9e85778540>, validator: 'Validator' = <object object at 0x7f9e85778540>, height: int = <object object at 0x7f9e85778540>, time: datetime.datetime = <object object at 0x7f9e85778540>, total_voting_power: int = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- total_voting_power: int = <object object>
Total voting power of the validator set in case the ABCI application does not store historical validators. https://github.com/tendermint/tendermint/issues/4581
- type: EvidenceType = <object object>
- class evmos.proto.autogen.py.tendermint.abci.EvidenceType(value)[source]
Bases:
Enum
An enumeration.
- DUPLICATE_VOTE = 1
- LIGHT_CLIENT_ATTACK = 2
- UNKNOWN = 0
- class evmos.proto.autogen.py.tendermint.abci.LastCommitInfo(round: int = <object object at 0x7f9e85778540>, votes: List[ForwardRef('VoteInfo')] = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.Request(echo: 'RequestEcho' = <object object at 0x7f9e85778540>, flush: 'RequestFlush' = <object object at 0x7f9e85778540>, info: 'RequestInfo' = <object object at 0x7f9e85778540>, set_option: 'RequestSetOption' = <object object at 0x7f9e85778540>, init_chain: 'RequestInitChain' = <object object at 0x7f9e85778540>, query: 'RequestQuery' = <object object at 0x7f9e85778540>, begin_block: 'RequestBeginBlock' = <object object at 0x7f9e85778540>, check_tx: 'RequestCheckTx' = <object object at 0x7f9e85778540>, deliver_tx: 'RequestDeliverTx' = <object object at 0x7f9e85778540>, end_block: 'RequestEndBlock' = <object object at 0x7f9e85778540>, commit: 'RequestCommit' = <object object at 0x7f9e85778540>, list_snapshots: 'RequestListSnapshots' = <object object at 0x7f9e85778540>, offer_snapshot: 'RequestOfferSnapshot' = <object object at 0x7f9e85778540>, load_snapshot_chunk: 'RequestLoadSnapshotChunk' = <object object at 0x7f9e85778540>, apply_snapshot_chunk: 'RequestApplySnapshotChunk' = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- apply_snapshot_chunk: RequestApplySnapshotChunk = <object object>
- begin_block: RequestBeginBlock = <object object>
- check_tx: RequestCheckTx = <object object>
- commit: RequestCommit = <object object>
- deliver_tx: RequestDeliverTx = <object object>
- echo: RequestEcho = <object object>
- end_block: RequestEndBlock = <object object>
- flush: RequestFlush = <object object>
- info: RequestInfo = <object object>
- init_chain: RequestInitChain = <object object>
- list_snapshots: RequestListSnapshots = <object object>
- load_snapshot_chunk: RequestLoadSnapshotChunk = <object object>
- offer_snapshot: RequestOfferSnapshot = <object object>
- query: RequestQuery = <object object>
- set_option: RequestSetOption = <object object>
- class evmos.proto.autogen.py.tendermint.abci.RequestApplySnapshotChunk(index: int = <object object>, chunk: bytes = <object object>, sender: str = <object object>)[source]
Bases:
Message
Applies a snapshot chunk
- class evmos.proto.autogen.py.tendermint.abci.RequestBeginBlock(hash: bytes = <object object at 0x7f9e85778540>, header: '_types__.Header' = <object object at 0x7f9e85778540>, last_commit_info: 'LastCommitInfo' = <object object at 0x7f9e85778540>, byzantine_validators: List[ForwardRef('Evidence')] = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- last_commit_info: LastCommitInfo = <object object>
- class evmos.proto.autogen.py.tendermint.abci.RequestCheckTx(tx: bytes = <object object at 0x7f9e85778540>, type: 'CheckTxType' = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- type: CheckTxType = <object object>
- class evmos.proto.autogen.py.tendermint.abci.RequestDeliverTx(tx: bytes = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.RequestEcho(message: str = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.RequestEndBlock(height: int = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.RequestInfo(version: str = <object object at 0x7f9e85778540>, block_version: int = <object object at 0x7f9e85778540>, p2_p_version: int = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.RequestInitChain(time: datetime.datetime = <object object at 0x7f9e85778540>, chain_id: str = <object object at 0x7f9e85778540>, consensus_params: 'ConsensusParams' = <object object at 0x7f9e85778540>, validators: List[ForwardRef('ValidatorUpdate')] = <object object at 0x7f9e85778540>, app_state_bytes: bytes = <object object at 0x7f9e85778540>, initial_height: int = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- consensus_params: ConsensusParams = <object object>
- validators: List[ValidatorUpdate] = <object object>
- class evmos.proto.autogen.py.tendermint.abci.RequestListSnapshots[source]
Bases:
Message
lists available snapshots
- class evmos.proto.autogen.py.tendermint.abci.RequestLoadSnapshotChunk(height: int = <object object>, format: int = <object object>, chunk: int = <object object>)[source]
Bases:
Message
loads a snapshot chunk
- class evmos.proto.autogen.py.tendermint.abci.RequestOfferSnapshot(snapshot: ~evmos.proto.autogen.py.tendermint.abci.Snapshot = <object object>, app_hash: bytes = <object object>)[source]
Bases:
Message
offers a snapshot to the application
- class evmos.proto.autogen.py.tendermint.abci.RequestQuery(data: bytes = <object object at 0x7f9e85778540>, path: str = <object object at 0x7f9e85778540>, height: int = <object object at 0x7f9e85778540>, prove: bool = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.RequestSetOption(key: str = <object object>, value: str = <object object>)[source]
Bases:
Message
nondeterministic
- class evmos.proto.autogen.py.tendermint.abci.Response(exception: 'ResponseException' = <object object at 0x7f9e85778540>, echo: 'ResponseEcho' = <object object at 0x7f9e85778540>, flush: 'ResponseFlush' = <object object at 0x7f9e85778540>, info: 'ResponseInfo' = <object object at 0x7f9e85778540>, set_option: 'ResponseSetOption' = <object object at 0x7f9e85778540>, init_chain: 'ResponseInitChain' = <object object at 0x7f9e85778540>, query: 'ResponseQuery' = <object object at 0x7f9e85778540>, begin_block: 'ResponseBeginBlock' = <object object at 0x7f9e85778540>, check_tx: 'ResponseCheckTx' = <object object at 0x7f9e85778540>, deliver_tx: 'ResponseDeliverTx' = <object object at 0x7f9e85778540>, end_block: 'ResponseEndBlock' = <object object at 0x7f9e85778540>, commit: 'ResponseCommit' = <object object at 0x7f9e85778540>, list_snapshots: 'ResponseListSnapshots' = <object object at 0x7f9e85778540>, offer_snapshot: 'ResponseOfferSnapshot' = <object object at 0x7f9e85778540>, load_snapshot_chunk: 'ResponseLoadSnapshotChunk' = <object object at 0x7f9e85778540>, apply_snapshot_chunk: 'ResponseApplySnapshotChunk' = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- apply_snapshot_chunk: ResponseApplySnapshotChunk = <object object>
- begin_block: ResponseBeginBlock = <object object>
- check_tx: ResponseCheckTx = <object object>
- commit: ResponseCommit = <object object>
- deliver_tx: ResponseDeliverTx = <object object>
- echo: ResponseEcho = <object object>
- end_block: ResponseEndBlock = <object object>
- exception: ResponseException = <object object>
- flush: ResponseFlush = <object object>
- info: ResponseInfo = <object object>
- init_chain: ResponseInitChain = <object object>
- list_snapshots: ResponseListSnapshots = <object object>
- load_snapshot_chunk: ResponseLoadSnapshotChunk = <object object>
- offer_snapshot: ResponseOfferSnapshot = <object object>
- query: ResponseQuery = <object object>
- set_option: ResponseSetOption = <object object>
- class evmos.proto.autogen.py.tendermint.abci.ResponseApplySnapshotChunk(result: 'ResponseApplySnapshotChunkResult' = <object object at 0x7f9e85778540>, refetch_chunks: List[int] = <object object at 0x7f9e85778540>, reject_senders: List[str] = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- result: ResponseApplySnapshotChunkResult = <object object>
- class evmos.proto.autogen.py.tendermint.abci.ResponseApplySnapshotChunkResult(value)[source]
Bases:
Enum
An enumeration.
- ABORT = 2
- ACCEPT = 1
- REJECT_SNAPSHOT = 5
- RETRY = 3
- RETRY_SNAPSHOT = 4
- UNKNOWN = 0
- class evmos.proto.autogen.py.tendermint.abci.ResponseBeginBlock(events: List[ForwardRef('Event')] = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.ResponseCheckTx(code: int = <object object at 0x7f9e85778540>, data: bytes = <object object at 0x7f9e85778540>, log: str = <object object at 0x7f9e85778540>, info: str = <object object at 0x7f9e85778540>, gas_wanted: int = <object object at 0x7f9e85778540>, gas_used: int = <object object at 0x7f9e85778540>, events: List[ForwardRef('Event')] = <object object at 0x7f9e85778540>, codespace: str = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.ResponseCommit(data: bytes = <object object at 0x7f9e85778540>, retain_height: int = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.ResponseDeliverTx(code: int = <object object at 0x7f9e85778540>, data: bytes = <object object at 0x7f9e85778540>, log: str = <object object at 0x7f9e85778540>, info: str = <object object at 0x7f9e85778540>, gas_wanted: int = <object object at 0x7f9e85778540>, gas_used: int = <object object at 0x7f9e85778540>, events: List[ForwardRef('Event')] = <object object at 0x7f9e85778540>, codespace: str = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.ResponseEcho(message: str = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.ResponseEndBlock(validator_updates: List[ForwardRef('ValidatorUpdate')] = <object object at 0x7f9e85778540>, consensus_param_updates: 'ConsensusParams' = <object object at 0x7f9e85778540>, events: List[ForwardRef('Event')] = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- consensus_param_updates: ConsensusParams = <object object>
- validator_updates: List[ValidatorUpdate] = <object object>
- class evmos.proto.autogen.py.tendermint.abci.ResponseException(error: str = <object object>)[source]
Bases:
Message
nondeterministic
- class evmos.proto.autogen.py.tendermint.abci.ResponseInfo(data: str = <object object at 0x7f9e85778540>, version: str = <object object at 0x7f9e85778540>, app_version: int = <object object at 0x7f9e85778540>, last_block_height: int = <object object at 0x7f9e85778540>, last_block_app_hash: bytes = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.ResponseInitChain(consensus_params: 'ConsensusParams' = <object object at 0x7f9e85778540>, validators: List[ForwardRef('ValidatorUpdate')] = <object object at 0x7f9e85778540>, app_hash: bytes = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- consensus_params: ConsensusParams = <object object>
- validators: List[ValidatorUpdate] = <object object>
- class evmos.proto.autogen.py.tendermint.abci.ResponseListSnapshots(snapshots: List[ForwardRef('Snapshot')] = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.ResponseLoadSnapshotChunk(chunk: bytes = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.ResponseOfferSnapshot(result: 'ResponseOfferSnapshotResult' = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- result: ResponseOfferSnapshotResult = <object object>
- class evmos.proto.autogen.py.tendermint.abci.ResponseOfferSnapshotResult(value)[source]
Bases:
Enum
An enumeration.
- ABORT = 2
- ACCEPT = 1
- REJECT = 3
- REJECT_FORMAT = 4
- REJECT_SENDER = 5
- UNKNOWN = 0
- class evmos.proto.autogen.py.tendermint.abci.ResponseQuery(code: int = <object object at 0x7f9e85778540>, log: str = <object object at 0x7f9e85778540>, info: str = <object object at 0x7f9e85778540>, index: int = <object object at 0x7f9e85778540>, key: bytes = <object object at 0x7f9e85778540>, value: bytes = <object object at 0x7f9e85778540>, proof_ops: '_crypto__.ProofOps' = <object object at 0x7f9e85778540>, height: int = <object object at 0x7f9e85778540>, codespace: str = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.ResponseSetOption(code: int = <object object>, log: str = <object object>, info: str = <object object>)[source]
Bases:
Message
nondeterministic
- class evmos.proto.autogen.py.tendermint.abci.Snapshot(height: int = <object object at 0x7f9e85778540>, format: int = <object object at 0x7f9e85778540>, chunks: int = <object object at 0x7f9e85778540>, hash: bytes = <object object at 0x7f9e85778540>, metadata: bytes = <object object at 0x7f9e85778540>)[source]
Bases:
Message
- class evmos.proto.autogen.py.tendermint.abci.TxResult(height: int = <object object>, index: int = <object object>, tx: bytes = <object object>, result: ~evmos.proto.autogen.py.tendermint.abci.ResponseDeliverTx = <object object>)[source]
Bases:
Message
TxResult contains results of executing the transaction. One usage is indexing transaction results.
- result: ResponseDeliverTx = <object object>
- class evmos.proto.autogen.py.tendermint.abci.Validator(address: bytes = <object object>, power: int = <object object>)[source]
Bases:
Message