We are not in denial of Mint function but everyone is ignoring 2 very important aspect
1. Maximum of 2,000,000,000 ( 2 billion) token can be minted . It is not unlimited. Please check line number 934 in the contract code is given below.
uint256 public maxTotalSupply = 2000000000
10
*18;
2. Tokens can not be minted by contract owner. Owner can issue tokens to other wallet and it will be available for minting to the issued wallet as per following logic.
Number of Issued token*40 % /365 daily for first 365 days
Number of Issued token*30 % /365 daily for next 730 days
Please check line number 1171 to 1229 in the contract code is given below.
function tokensAvaliableForMinting(address _address)
public
view
returns (uint256)
{
uint256 balance = 0;
for (uint256 i = 0; i < userAllotmentIds[_address].length; i++) {
uint256 numberOfDays = (
block.timestamp.sub(
allotments[userAllotmentIds[_address][i]].startTime
)
).div(1 days);
if (numberOfDays <= 365) {
// 1st Year
uint256 firstYearAllotment = (
allotments[userAllotmentIds[_address][i]].tokenAlloted
).mul(40).div(100);
uint256 oneDayAllotment = firstYearAllotment.div(365);
balance = balance + numberOfDays.mul(oneDayAllotment);
} else if (numberOfDays > 365 && numberOfDays <= 730) {
// 2nd Year
uint256 firstYearAllotment = (
allotments[userAllotmentIds[_address][i]].tokenAlloted
).mul(40).div(100);
uint256 secondYearAllotment = (
allotments[userAllotmentIds[_address][i]].tokenAlloted
).mul(30).div(100);
uint256 oneDayAllotment = secondYearAllotment.div(365);
balance =
balance +
firstYearAllotment.add(
numberOfDays.sub(365).mul(oneDayAllotment)
);
} else if (numberOfDays > 730 && numberOfDays <= 1095) {
// 3rd Year
uint256 firstYearAllotment = (
allotments[userAllotmentIds[_address][i]].tokenAlloted
).mul(40).div(100);
uint256 secondYearAllotment = (
allotments[userAllotmentIds[_address][i]].tokenAlloted
).mul(30).div(100);
uint256 thirdYearAllotment = (
allotments[userAllotmentIds[_address][i]].tokenAlloted
).mul(30).div(100);
uint256 oneDayAllotment = thirdYearAllotment.div(365);
balance =
balance +
firstYearAllotment.add(secondYearAllotment).add(
numberOfDays.sub(730).mul(oneDayAllotment)
);
} else {
balance =
balance +
allotments[userAllotmentIds[_address][i]].tokenAlloted;
}
}
return balance.sub(userMintedBalance[_address]);
}
Please put up “There is an issuance function. Issued token can be minted daily 40 percent/365 for first 365 days and 30 percent/365 for next 730 days. Maximum token that can be minted is 2 billion.