Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BasicAllowance

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

Hierarchy

Index

Constructors

constructor

Properties

expiration

expiration: Date

spend_limit

spend_limit: Coins

Methods

packAny

  • packAny(): Any

toAmino

toAminoJSON

  • toAminoJSON(): string
  • Returns string

toData

toJSON

  • toJSON(): string
  • Returns string

toProto

  • toProto(): BasicAllowance

Static fromAmino

Static fromData

Static fromProto

Static unpackAny