evmos.proto.autogen.py.cosmos.circuit.v1
Classes
|
AccountResponse is the response type for the Query/Account RPC method. |
|
AccountsResponse is the response type for the Query/Accounts RPC method. |
|
DisabledListResponse is the response type for the Query/DisabledList RPC method. |
|
GenesisAccountPermissions is the account permissions for the circuit breaker in genesis |
|
GenesisState is the state that must be provided at genesis. |
|
MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type. |
|
MsgAuthorizeCircuitBreakerResponse defines the Msg/AuthorizeCircuitBreaker response type. |
|
|
|
MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type. |
|
MsgResetCircuitBreakerResponse defines the Msg/ResetCircuitBreaker response type. |
|
|
|
MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type. |
|
MsgTripCircuitBreakerResponse defines the Msg/TripCircuitBreaker response type. |
|
Permissions are the permissions that an account has to trip or reset the circuit breaker. |
|
Level is the permission level. |
|
QueryAccountRequest is the request type for the Query/Account RPC method. |
|
QueryAccountsRequest is the request type for the Query/Accounts RPC method. |
QueryDisableListRequest is the request type for the Query/DisabledList RPC method. |
|
|
- class evmos.proto.autogen.py.cosmos.circuit.v1.AccountResponse(permission: ~evmos.proto.autogen.py.cosmos.circuit.v1.Permissions = <object object>)[source]
Bases:
MessageAccountResponse is the response type for the Query/Account RPC method.
- permission: Permissions = <object object>
- class evmos.proto.autogen.py.cosmos.circuit.v1.AccountsResponse(accounts: ~typing.List[~evmos.proto.autogen.py.cosmos.circuit.v1.GenesisAccountPermissions] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageAccountsResponse is the response type for the Query/Accounts RPC method.
- accounts: List[GenesisAccountPermissions] = <object object>
- pagination: PageResponse = <object object>
pagination defines the pagination in the response.
- class evmos.proto.autogen.py.cosmos.circuit.v1.DisabledListResponse(disabled_list: ~typing.List[str] = <object object>)[source]
Bases:
MessageDisabledListResponse is the response type for the Query/DisabledList RPC method.
- class evmos.proto.autogen.py.cosmos.circuit.v1.GenesisAccountPermissions(address: str = <object object>, permissions: ~evmos.proto.autogen.py.cosmos.circuit.v1.Permissions = <object object>)[source]
Bases:
MessageGenesisAccountPermissions is the account permissions for the circuit breaker in genesis
- permissions: Permissions = <object object>
- class evmos.proto.autogen.py.cosmos.circuit.v1.GenesisState(account_permissions: ~typing.List[~evmos.proto.autogen.py.cosmos.circuit.v1.GenesisAccountPermissions] = <object object>, disabled_type_urls: ~typing.List[str] = <object object>)[source]
Bases:
MessageGenesisState is the state that must be provided at genesis.
- account_permissions: List[GenesisAccountPermissions] = <object object>
- class evmos.proto.autogen.py.cosmos.circuit.v1.MsgAuthorizeCircuitBreaker(granter: str = <object object>, grantee: str = <object object>, permissions: ~evmos.proto.autogen.py.cosmos.circuit.v1.Permissions = <object object>)[source]
Bases:
MessageMsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type.
- granter: str = <object object>
granter is the granter of the circuit breaker permissions and must have LEVEL_SUPER_ADMIN.
- permissions: Permissions = <object object>
permissions are the circuit breaker permissions that the grantee receives. These will overwrite any existing permissions. LEVEL_NONE_UNSPECIFIED can be specified to revoke all permissions.
- class evmos.proto.autogen.py.cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse(success: bool = <object object>)[source]
Bases:
MessageMsgAuthorizeCircuitBreakerResponse defines the Msg/AuthorizeCircuitBreaker response type.
- class evmos.proto.autogen.py.cosmos.circuit.v1.MsgBase[source]
Bases:
ServiceBase- async authorize_circuit_breaker(msg_authorize_circuit_breaker: MsgAuthorizeCircuitBreaker) MsgAuthorizeCircuitBreakerResponse[source]
- async reset_circuit_breaker(msg_reset_circuit_breaker: MsgResetCircuitBreaker) MsgResetCircuitBreakerResponse[source]
- async trip_circuit_breaker(msg_trip_circuit_breaker: MsgTripCircuitBreaker) MsgTripCircuitBreakerResponse[source]
- class evmos.proto.autogen.py.cosmos.circuit.v1.MsgResetCircuitBreaker(authority: str = <object object>, msg_type_urls: ~typing.List[str] = <object object>)[source]
Bases:
MessageMsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type.
- class evmos.proto.autogen.py.cosmos.circuit.v1.MsgResetCircuitBreakerResponse(success: bool = <object object>)[source]
Bases:
MessageMsgResetCircuitBreakerResponse defines the Msg/ResetCircuitBreaker response type.
- class evmos.proto.autogen.py.cosmos.circuit.v1.MsgStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async authorize_circuit_breaker(msg_authorize_circuit_breaker: MsgAuthorizeCircuitBreaker, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgAuthorizeCircuitBreakerResponse[source]
- async reset_circuit_breaker(msg_reset_circuit_breaker: MsgResetCircuitBreaker, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgResetCircuitBreakerResponse[source]
- async trip_circuit_breaker(msg_trip_circuit_breaker: MsgTripCircuitBreaker, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgTripCircuitBreakerResponse[source]
- class evmos.proto.autogen.py.cosmos.circuit.v1.MsgTripCircuitBreaker(authority: str = <object object>, msg_type_urls: ~typing.List[str] = <object object>)[source]
Bases:
MessageMsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type.
- msg_type_urls: List[str] = <object object>
msg_type_urls specifies a list of type URLs to immediately stop processing. IF IT IS LEFT EMPTY, ALL MSG PROCESSING WILL STOP IMMEDIATELY. This value is validated against the authority’s permissions and if the authority does not have permissions to trip the specified msg type URLs (or all URLs), the operation will fail.
- class evmos.proto.autogen.py.cosmos.circuit.v1.MsgTripCircuitBreakerResponse(success: bool = <object object>)[source]
Bases:
MessageMsgTripCircuitBreakerResponse defines the Msg/TripCircuitBreaker response type.
- class evmos.proto.autogen.py.cosmos.circuit.v1.Permissions(level: ~evmos.proto.autogen.py.cosmos.circuit.v1.PermissionsLevel = <object object>, limit_type_urls: ~typing.List[str] = <object object>)[source]
Bases:
MessagePermissions are the permissions that an account has to trip or reset the circuit breaker.
- level: PermissionsLevel = <object object>
level is the level of permissions granted to this account.
- class evmos.proto.autogen.py.cosmos.circuit.v1.PermissionsLevel(*values)[source]
Bases:
EnumLevel is the permission level.
- LEVEL_ALL_MSGS = 2
LEVEL_ALL_MSGS indicates that the account can trip or reset the circuit breaker for Msg’s of all type URLs.
- LEVEL_NONE_UNSPECIFIED = 0
LEVEL_NONE_UNSPECIFIED indicates that the account will have no circuit breaker permissions.
- LEVEL_SOME_MSGS = 1
LEVEL_SOME_MSGS indicates that the account will have permission to trip or reset the circuit breaker for some Msg type URLs. If this level is chosen, a non-empty list of Msg type URLs must be provided in limit_type_urls.
- LEVEL_SUPER_ADMIN = 3
LEVEL_SUPER_ADMIN indicates that the account can take all circuit breaker actions and can grant permissions to other accounts.
- class evmos.proto.autogen.py.cosmos.circuit.v1.QueryAccountRequest(address: str = <object object>)[source]
Bases:
MessageQueryAccountRequest is the request type for the Query/Account RPC method.
- class evmos.proto.autogen.py.cosmos.circuit.v1.QueryAccountsRequest(pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryAccountsRequest is the request type for the Query/Accounts RPC method.
- pagination: PageRequest = <object object>
pagination defines an optional pagination for the request.
- class evmos.proto.autogen.py.cosmos.circuit.v1.QueryBase[source]
Bases:
ServiceBase- async account(query_account_request: QueryAccountRequest) AccountResponse[source]
- async accounts(query_accounts_request: QueryAccountsRequest) AccountsResponse[source]
- async disabled_list(query_disabled_list_request: QueryDisabledListRequest) DisabledListResponse[source]
- class evmos.proto.autogen.py.cosmos.circuit.v1.QueryDisabledListRequest[source]
Bases:
MessageQueryDisableListRequest is the request type for the Query/DisabledList RPC method.
- class evmos.proto.autogen.py.cosmos.circuit.v1.QueryStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async account(query_account_request: QueryAccountRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AccountResponse[source]
- async accounts(query_accounts_request: QueryAccountsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AccountsResponse[source]
- async disabled_list(query_disabled_list_request: QueryDisabledListRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) DisabledListResponse[source]