power_for_gpl

Function power_for_gpl 

Source
pub const fn power_for_gpl(level: u32) -> u128
Expand description

Provides the total number of processed power needed to achieve a given Global Power Level

Calculates the total number of power that need to be processed to achieve a given Global Power Level. The game’s API only exposes current level plus progress toward the next level; this allows you to see how much you processed to achieve your current level

Code reference