cosmos-sdk/x/authz/spec/02_state.md

566 B

State

AuthorizationGrant

Authorizations are identified by combining granter address (the address bytes of the granter), grantee address (the address bytes of the grantee) and ServiceMsg type (its method name).

  • AuthorizationGrant: 0x01 | granter_address_len (1 byte) | granter_address_bytes | grantee_address_len (1 byte) | grantee_address_bytes | msgType_bytes-> ProtocolBuffer(AuthorizationGrant)

+++ c95de9c417/proto/cosmos/authz/v1beta1/authz.proto (L32-L37)