Skip to main content

terra_sdk.core.feegrant.data

feegrant module data objects.

BasicAllowance Objects


_2
@attr.s
_2
class BasicAllowance(JSONSerializable)

BasicAllowance implements Allowance with a one-time grant of tokens that optionally expires. The grantee can use up to SpendLimit to cover fees.

PeriodicAllowance Objects


_2
@attr.s
_2
class PeriodicAllowance(JSONSerializable)

PeriodicAllowance extends Allowance to allow for both a maximum cap, as well as a limit per time period.

AllowedMsgAllowance Objects


_2
@attr.s
_2
class AllowedMsgAllowance(JSONSerializable)

AllowedMsgAllowance creates allowance only for specified message types.