@staticmethod
def height_to_supply(height):
    """Gives total supply at a given block height"""
    R0 = 11680000.4
    delta = 2e-06
    pos = 0.8
    pow = 12.6
    N = height - 800000.0
    dev_rew = 1.1
    R = dev_rew * R0 + N * (pos + dev_rew * (pow - N / 2 * delta))
    return R
