terra_sdk.core.authz.data
Authz module data types.
Authorization Objects
_1class Authorization(BaseTerraData)
Base class for authorization types.
SendAuthorization Objects
_2@attr.s_2class SendAuthorization(Authorization)
Type of :class:Authorization for :class:MsgSend<terra_sdk.core.bank.msgs.MsgSend>,
which can be parameterized by setting a spend_limit allowance for the grantee.
Arguments:
spend_limitCoins.Input - coins representing allowance of grant
GenericAuthorization Objects
_2@attr.s_2class GenericAuthorization(Authorization)
Generic type of :class:Authorization, specifying the type of message to allow.
Arguments:
msg- type of message allowed by authorization
AuthorizationGrant Objects
_2@attr.s_2class AuthorizationGrant(JSONSerializable)
Contains information about an existing granted authorization between two users.
authorization
Grant authorization details.
expiration
Grant expiration.