evmos.proto.autogen.py.cosmos.authz.v1beta1
Classes
|
EventGrant is emitted on Msg/Grant |
|
EventRevoke is emitted on Msg/Revoke |
|
GenericAuthorization gives the grantee unrestricted permissions to execute the provided method on behalf of the granter's account. |
|
GenesisState defines the authz module's genesis state. |
|
Grant gives permissions to execute the provide method with expiration time. |
|
GrantAuthorization extends a grant with both the addresses of the grantee and granter. |
|
GrantQueueItem contains the list of TypeURL of a sdk.Msg. |
|
|
|
MsgExec attempts to execute the provided messages using authorizations granted to the grantee. |
|
MsgExecResponse defines the Msg/MsgExecResponse response type. |
|
MsgGrant is a request type for Grant method. |
MsgGrantResponse defines the Msg/MsgGrant response type. |
|
|
MsgRevoke revokes any authorization with the provided sdk.Msg type on the granter's account with that has been granted to the grantee. |
MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. |
|
|
|
|
QueryGranteeGrantsRequest is the request type for the Query/GranteeGrants RPC method. |
|
QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. |
|
QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. |
|
QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. |
|
QueryGrantsRequest is the request type for the Query/Grants RPC method. |
|
QueryGrantsResponse is the response type for the Query/Authorizations RPC method. |
|
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.EventGrant(msg_type_url: str = <object object>, granter: str = <object object>, grantee: str = <object object>)[source]
Bases:
MessageEventGrant is emitted on Msg/Grant
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.EventRevoke(msg_type_url: str = <object object>, granter: str = <object object>, grantee: str = <object object>)[source]
Bases:
MessageEventRevoke is emitted on Msg/Revoke
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.GenericAuthorization(msg: str = <object object>)[source]
Bases:
MessageGenericAuthorization gives the grantee unrestricted permissions to execute the provided method on behalf of the granter’s account.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.GenesisState(authorization: ~typing.List[~evmos.proto.autogen.py.cosmos.authz.v1beta1.GrantAuthorization] = <object object>)[source]
Bases:
MessageGenesisState defines the authz module’s genesis state.
- authorization: List[GrantAuthorization] = <object object>
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.Grant(authorization: ~betterproto.lib.google.protobuf.Any = <object object>, expiration: ~datetime.datetime = <object object>)[source]
Bases:
MessageGrant gives permissions to execute the provide method with expiration time.
- authorization: Any = <object object>
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.GrantAuthorization(granter: str = <object object>, grantee: str = <object object>, authorization: ~betterproto.lib.google.protobuf.Any = <object object>, expiration: ~datetime.datetime = <object object>)[source]
Bases:
MessageGrantAuthorization extends a grant with both the addresses of the grantee and granter. It is used in genesis.proto and query.proto
- authorization: Any = <object object>
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.GrantQueueItem(msg_type_urls: ~typing.List[str] = <object object>)[source]
Bases:
MessageGrantQueueItem contains the list of TypeURL of a sdk.Msg.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.MsgBase[source]
Bases:
ServiceBase- async exec(msg_exec: MsgExec) MsgExecResponse[source]
- async grant(msg_grant: MsgGrant) MsgGrantResponse[source]
- async revoke(msg_revoke: MsgRevoke) MsgRevokeResponse[source]
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.MsgExec(grantee: str = <object object>, msgs: ~typing.List[~betterproto.lib.google.protobuf.Any] = <object object>)[source]
Bases:
MessageMsgExec attempts to execute the provided messages using authorizations granted to the grantee. Each message should have only one signer corresponding to the granter of the authorization.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.MsgExecResponse(results: ~typing.List[bytes] = <object object>)[source]
Bases:
MessageMsgExecResponse defines the Msg/MsgExecResponse response type.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.MsgGrant(granter: str = <object object>, grantee: str = <object object>, grant: ~evmos.proto.autogen.py.cosmos.authz.v1beta1.Grant = <object object>)[source]
Bases:
MessageMsgGrant is a request type for Grant method. It declares authorization to the grantee on behalf of the granter with the provided expiration time.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.MsgGrantResponse[source]
Bases:
MessageMsgGrantResponse defines the Msg/MsgGrant response type.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.MsgRevoke(granter: str = <object object>, grantee: str = <object object>, msg_type_url: str = <object object>)[source]
Bases:
MessageMsgRevoke revokes any authorization with the provided sdk.Msg type on the granter’s account with that has been granted to the grantee.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.MsgRevokeResponse[source]
Bases:
MessageMsgRevokeResponse defines the Msg/MsgRevokeResponse response type.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.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 exec(msg_exec: MsgExec, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgExecResponse[source]
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.QueryBase[source]
Bases:
ServiceBase- async grantee_grants(query_grantee_grants_request: QueryGranteeGrantsRequest) QueryGranteeGrantsResponse[source]
- async granter_grants(query_granter_grants_request: QueryGranterGrantsRequest) QueryGranterGrantsResponse[source]
- async grants(query_grants_request: QueryGrantsRequest) QueryGrantsResponse[source]
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.QueryGranteeGrantsRequest(grantee: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryGranteeGrantsRequest is the request type for the Query/GranteeGrants RPC method.
- pagination: PageRequest = <object object>
pagination defines an pagination for the request.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.QueryGranteeGrantsResponse(grants: ~typing.List[~evmos.proto.autogen.py.cosmos.authz.v1beta1.GrantAuthorization] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method.
- grants: List[GrantAuthorization] = <object object>
grants is a list of grants granted to the grantee.
- pagination: PageResponse = <object object>
pagination defines an pagination for the response.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.QueryGranterGrantsRequest(granter: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method.
- pagination: PageRequest = <object object>
pagination defines an pagination for the request.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.QueryGranterGrantsResponse(grants: ~typing.List[~evmos.proto.autogen.py.cosmos.authz.v1beta1.GrantAuthorization] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method.
- grants: List[GrantAuthorization] = <object object>
grants is a list of grants granted by the granter.
- pagination: PageResponse = <object object>
pagination defines an pagination for the response.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.QueryGrantsRequest(granter: str = <object object>, grantee: str = <object object>, msg_type_url: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryGrantsRequest is the request type for the Query/Grants RPC method.
- msg_type_url: str = <object object>
Optional, msg_type_url, when set, will query only grants matching given msg type.
- pagination: PageRequest = <object object>
pagination defines an pagination for the request.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.QueryGrantsResponse(grants: ~typing.List[~evmos.proto.autogen.py.cosmos.authz.v1beta1.Grant] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryGrantsResponse is the response type for the Query/Authorizations RPC method.
- grants: List[Grant] = <object object>
authorizations is a list of grants granted for grantee by granter.
- pagination: PageResponse = <object object>
pagination defines an pagination for the response.
- class evmos.proto.autogen.py.cosmos.authz.v1beta1.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 grantee_grants(query_grantee_grants_request: QueryGranteeGrantsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryGranteeGrantsResponse[source]
- async granter_grants(query_granter_grants_request: QueryGranterGrantsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryGranterGrantsResponse[source]
- async grants(query_grants_request: QueryGrantsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryGrantsResponse[source]