hedera-smart-contracts
hedera-smart-contracts copied to clipboard
Clarify the meaning of the `tokenSupplyType` parameter
Problem
This example shows how to create tokens using the IHederaTokenService interface. It is not clear what the fifth argument's value indicates.
Solution
The fifth argument sets the tokenSupplyType
for the newly create token - a value of true
indicates a finite supply and false
indicates an infinite supply. Create and use a new variable such as bool finiteTotalSupplyType = true;
in order to help clarify the meaning of this parameter in the above example.
Alternatives
No response