Properties
Properties such as
name
: The name of the Token.symbol
: Symbol of the token, should be equal to the token declaration.isBurnable
: To tell if you can mint it.isFinite
: If it is finiteisFungible
: If is Fungible (If it is an NFT, should be equals to false)maxSupply
: The maximum supply of that tokenisTransferable
: Allow the NFT/Token to be transfered.isCapped
: If there's a Cap.decimals
: The number of decimalsowner
: The owner of the contract.
property name: string = "Example";
property symbol: string = "EXP";
property isBurnable: bool = true;
property isFinite: bool = true;
property isFungible: bool = false;
property maxSupply: number = 10000;
property isTransferable: bool = true;
property isCapped: bool = false;
property decimals:number = 8;
property owner:address = _owner;
Last updated