executedEnded 3 years ago Β· Onchain
UIP-007: Adapt to PoS blocktime
By 0xCbD1...65beEbContinue Reading
Abstract
- Change the interest rate per block from 41668836919 to 38051750380
- Change overdue period blocks from 197250 to 216000
Motivation
Now that PoS has passed and enough time passed to get an accurate Blocks per year. Itβs necessary to adjust.
Specification
- To calculate the new interest rate per block, we use the PoS block time of approximately 12 seconds, and the targeted 10% interest rate per annum, which is 1e17. Therefore, the calculation would be 1e17 / 2,628,000, which results in 38051750380
- To calculate the number of new overdue blocks, we use the PoS block time of approximately 12 seconds and a 30-day overdue period. Therefore, the calculation would be (3600 * 24 * 30) / 12, which results in 216,000
Test Cases
Tests and simulations can be found here: PR
Implementation
For Mainnet:
- Call FixedInterestRateModel.setInterestRate(β38051750380β) to update the interest rate per block
- Call UToken.setOverdueBlocks(β216000β) to change the loan overdue period
For Arbitrum
- Call FixedInterestRateModel.setInterestRate(β38051750380β) to update the interest rate per block
- Call UToken.setOverdueBlocks(β216000β) to change the loan overdue period
Connect Wallet to Add Note
0Votes 8
| Voter | Cast Power | Vote & Rationale |
|---|---|---|
0xCbD1...65beEb | 100M | FOR |
0x1007...3603Df | 101,241 | FOR |
0x8d07...e6A265 | 80,519 | FOR |
0xcc0C...9cE4C3 | 17,627 | FOR |
0x8149...566D41 | 11,512 | FOR |
VOTE POWER
0
Connect Wallet
Proposal Status
- Published Onchain
0xCbD1...65beEb
- Sat March 04 2023, 02:49 amVoting Period Starts
- Mon March 06 2023, 09:23 pmEnd Voting Period
- Wed March 08 2023, 09:30 amQueue Proposal
- Fri March 10 2023, 12:21 pmExecute Proposal
Current Results
1-FOR
100.235M
2-AGAINST
N/A Tokens
3-ABSTAIN
N/A Tokens
