Class: SimpleTokenScheme
A simple token scheme.
Hierarchy
↳
SimpleTokenScheme
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new SimpleTokenScheme(mintedTokens, meltedTokens, maximumSupply)
Parameters
| Name | Type | Description |
|---|---|---|
mintedTokens | bigint | The number of tokens that were minted. |
meltedTokens | bigint | The number of tokens that were melted. |
maximumSupply | bigint | The maximum supply of the token. |
Overrides
Properties
type
• Readonly type: Simple
Inherited from
mintedTokens
• Readonly mintedTokens: bigint
meltedTokens
• Readonly meltedTokens: bigint
maximumSupply
• Readonly maximumSupply: bigint
Methods
getType
▸ getType(): Simple
Get the type of token scheme.
Returns
Inherited from
getMintedTokens
▸ getMintedTokens(): bigint
Get the amount of tokens minted.
Returns
bigint
getMeltedTokens
▸ getMeltedTokens(): bigint
Get the amount of tokens melted.
Returns
bigint
getMaximumSupply
▸ getMaximumSupply(): bigint
Get the maximum supply of tokens.
Returns
bigint