evmos.proto.autogen.py.cosmos.circuit.v1

Classes

AccountResponse(permission)

AccountResponse is the response type for the Query/Account RPC method.

AccountsResponse(accounts, pagination)

AccountsResponse is the response type for the Query/Accounts RPC method.

DisabledListResponse(disabled_list)

DisabledListResponse is the response type for the Query/DisabledList RPC method.

GenesisAccountPermissions(address, permissions)

GenesisAccountPermissions is the account permissions for the circuit breaker in genesis

GenesisState(account_permissions, ...)

GenesisState is the state that must be provided at genesis.

MsgAuthorizeCircuitBreaker(granter, grantee, ...)

MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type.

MsgAuthorizeCircuitBreakerResponse(success)

MsgAuthorizeCircuitBreakerResponse defines the Msg/AuthorizeCircuitBreaker response type.

MsgBase()

MsgResetCircuitBreaker(authority, msg_type_urls)

MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type.

MsgResetCircuitBreakerResponse(success)

MsgResetCircuitBreakerResponse defines the Msg/ResetCircuitBreaker response type.

MsgStub(channel, *[, timeout, deadline, ...])

MsgTripCircuitBreaker(authority, msg_type_urls)

MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type.

MsgTripCircuitBreakerResponse(success)

MsgTripCircuitBreakerResponse defines the Msg/TripCircuitBreaker response type.

Permissions(level, limit_type_urls)

Permissions are the permissions that an account has to trip or reset the circuit breaker.

PermissionsLevel(*values)

Level is the permission level.

QueryAccountRequest(address)

QueryAccountRequest is the request type for the Query/Account RPC method.

QueryAccountsRequest(pagination)

QueryAccountsRequest is the request type for the Query/Accounts RPC method.

QueryBase()

QueryDisabledListRequest()

QueryDisableListRequest is the request type for the Query/DisabledList RPC method.

QueryStub(channel, *[, timeout, deadline, ...])

class evmos.proto.autogen.py.cosmos.circuit.v1.AccountResponse(permission: ~evmos.proto.autogen.py.cosmos.circuit.v1.Permissions = <object object>)[source]

Bases: Message

AccountResponse 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: Message

AccountsResponse 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: Message

DisabledListResponse is the response type for the Query/DisabledList RPC method.

disabled_list: List[str] = <object object>
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: Message

GenesisAccountPermissions is the account permissions for the circuit breaker in genesis

address: str = <object object>
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: Message

GenesisState is the state that must be provided at genesis.

account_permissions: List[GenesisAccountPermissions] = <object object>
disabled_type_urls: List[str] = <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: Message

MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type.

grantee: str = <object object>

grantee is the account authorized with the provided permissions.

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: Message

MsgAuthorizeCircuitBreakerResponse defines the Msg/AuthorizeCircuitBreaker response type.

success: bool = <object object>
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: Message

MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type.

authority: str = <object object>

authority is the account authorized to trip or reset the circuit breaker.

msg_type_urls: List[str] = <object object>

msg_type_urls specifies a list of Msg type URLs to resume processing. If it is left empty all Msg processing for type URLs that the account is authorized to trip will resume.

class evmos.proto.autogen.py.cosmos.circuit.v1.MsgResetCircuitBreakerResponse(success: bool = <object object>)[source]

Bases: Message

MsgResetCircuitBreakerResponse defines the Msg/ResetCircuitBreaker response type.

success: bool = <object object>
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: Message

MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type.

authority: str = <object object>

authority is the account authorized to trip the circuit breaker.

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: Message

MsgTripCircuitBreakerResponse defines the Msg/TripCircuitBreaker response type.

success: bool = <object object>
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: Message

Permissions 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.

limit_type_urls: List[str] = <object object>

limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg type URLs that the account can trip. It is an error to use limit_type_urls with a level other than LEVEL_SOME_MSGS.

class evmos.proto.autogen.py.cosmos.circuit.v1.PermissionsLevel(*values)[source]

Bases: Enum

Level 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: Message

QueryAccountRequest is the request type for the Query/Account RPC method.

address: str = <object object>
class evmos.proto.autogen.py.cosmos.circuit.v1.QueryAccountsRequest(pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryAccountsRequest 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: Message

QueryDisableListRequest 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]