tokenIDPower

function tokenIDPower (uint256 tokenId)public view override returns(uint256){        
    uint256 _power = tokenId.mul(_salt).add(tokenId); 
    if(_power%10 == 0){
        _power = 1;
    }else{
        _power = _power%10;
        }
    return _power;
}  

Each Minerpunk has its own power, minimum value is 1, maximum value is 9.and each power takes tokenId as a parameter and returns a value in a not very random but interesting way.

The initial value of the total power is 46092. Whenever a Minerpunk is burned, the power of the burned Token will be deducted from the totalPower.

The current total power can be checked by this method:

function totalPower() external view returns (uint256);

If you now have 100 Minerpunks, with a total power of 460, and the current totalPower of the platform is 46093, then your power accounts for 0.997%.

460/46093=0.00997460/46093=0.00997

Last updated