Protocol config
Get historical values for protocol configuratio. Current values are feature in the Governance app too.
The configuration includes the following keys:
update_collateral_interval
update_collateral_threshold
penalty_rate
mint_delay
mint_ttl
mint_ratio
minter_freeze_time
base_minter_rate
max_earner_rate
guidance
minter_rate_model
earner_rate_model
To query them all:
query ProtocolConfigQuery {
protocolConfigs {
id
value
key
blockTimestamp
}
}
Example output:
{
"data": {
"protocolConfigs": [
{
"id": "0x25b657dfec5d4c889e0b4050224deaaa00c3707590a7e46c536d6218d673078846010000",
"value": "108000",
"key": "update_collateral_interval",
"blockTimestamp": "1715827991"
},
{
"id": "0x2637ef87d12653c1d02fff79ad1de0ead33bf13e6f8c475b5efb15bc8547f74ea1000000",
"value": "5",
"key": "penalty_rate",
"blockTimestamp": "1715828219"
},
{
"id": "0x268e7cf3cfe0d5c4e8b8b62cbeb8ae36497cb7c3f3f75d2d788150e1c97b407d2a010000",
"value": "10800",
"key": "mint_ttl",
"blockTimestamp": "1715828387"
}
]
}
}