Distribution Model
Last updated
Last updated
The Distribution Model contract manages the calculation of the ANC emission rate, using fed in deposit rate information. At the time of protocol genesis, the emission rate adjusts to double when the deposit rate is below the targeted rate and decreases by 10% if the deposit rate is above the targeted rate. Further descriptions on the ANC emission rate control mechanism can be found here.
UpdateConfig
Updates the Distribution Model contract configuration.
* = optional
Config
Gets the Distribution Model contract configuration
ConfigResponse
ANCEmissionRate
Gets the ANC emission rate, calculated based on deposit rate situations.
ANCEmissionRateResponse
Key
Type
Description
owner
CanonicalAddr
Address of contract owner
emission_cap
Decimal256
Maximum per-block ANC emission rate
emission_floor
Decimal256
Minimum per-block ANC emission rate
increment_multiplier
Decimal256
Rate multiplier when increasing emission
decrement_multiplier
Decimal256
Rate multiplier when decreasing emission
Key
Type
Description
owner
String
Address of contract owner
emission_cap
Decimal256
Maximum per-block ANC emission rate
emission_floor
Decimal256
Minimum per-block ANC emission rate
increment_multiplier
Decimal256
Rate multiplier when increasing emission
decrement_multiplier
Decimal256
Rate multiplier when decreasing emission
Key
Type
Description
owner
*
String
Address of new owner
emission_cap
*
Decimal256
New maximum per-block ANC emission rate
emission_floor
*
Decimal256
New minimum per-block ANC emission rate
increment_multiplier
*
Decimal256
New rate multiplier when increasing emission
decrement_multiplier
*
Decimal256
New rate multiplier when decreasing emission
Key
Type
Description
Key
Type
Description
owner
String
Address of contract owner
emission_cap
Decimal256
Maximum per-block ANC emission rate
emission_floor
Decimal256
Minimum per-block ANC emission rate
increment_multiplier
Decimal256
Rate multiplier when increasing emission
decrement_multiplier
Decimal256
Rate multiplier when decreasing emission
Key
Type
Description
deposit_rate
Decimal256
Average per-block deposit rate during the last epoch
target_deposit_rate
Decimal256
Target per-block deposit rate of Anchor
threshold_deposit_rate
Decimal256
Minimum per-block deposit rate supported by Anchor
current_emission_rate
Decimal256
Current per-block ANC emission rate
Key
Type
Description
emission_rate
Decimal256
Calculated per-block ANC emission rate