Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • BasicAllowance

Index

Properties

expiration?: <internal>.Timestamp

expiration specifies an optional time when this allowance expires

spend_limit: <internal>.Coin[]

spend_limit specifies the maximum amount of tokens that can be spent by this allowance and will be updated as tokens are spent. If it is empty, there is no spend limit and any amount of coins can be spent.