[change] Dollar Denominated Fee Mimirs (ADR-009 Part 1) #check-lint-warning

This makes changes for the first component of ADR-009 to switch to USD denominated fees so they're more price stable during periods of RUNE fluctuation. The ADR includes a proposal to 10x the dollar denominated native and outbound transaction fees. Since RUNE is currently just over $1, this results in a small reduction in fees when the network upgrade takes place, and then the mimirs can be increased following ADR passing.

I temporarily deployed these changes on our dev nodes to sanity check the decimal math with mainnet state via the added fee fields in the network endpoint:

$ http -pb https://thornode.dev.ninerealms.com/thorchain/network
{
    "bond_reward_rune": "8154376815872",
    "burned_bep_2_rune": "47110179063842654",
    "burned_erc_20_rune": "1653703102372247",
    "gas_spent_rune": "20562991456270",
    "gas_withheld_rune": "39592690258308",
    "native_tx_fee_rune": "1809513",
    "outbound_fee_multiplier": "15000",
    "outbound_tx_fee_rune": "1809513",
    "tns_fee_per_block_rune": "18",
    "tns_register_fee_rune": "904756541",
    "total_bond_units": "3127344",
    "total_reserve": "9027725681175423",
    "vaults_migrating": false
}

Merge request reports

Loading