DOOM
DOOM is the utility token within the KUTHULU ecosystem
Last updated
DOOM is the utility token within the KUTHULU ecosystem
Last updated
This event is emitted whenever new DOOM tokens are minted.
purchaser (address)
The address of the account that purchased the tokens.
amount (uint256)
The number of tokens minted.
This modifier ensures that only addresses marked as admins can call certain functions in the contract. The admins
mapping in the contract stores whether an address is an admin.
The publicMint
function is used to mint new DOOM tokens. The caller must send MATIC equivalent to the cost of the tokens they want to mint.
amount (uint256)
The number of DOOM tokens to mint.
None
Example usage:
Note: Remember to send MATIC along with the transaction equal to amount * costToMint
.