Executed

UIP-007: Adapt to PoS blocktime


Proposal ID

709804...7385

Proposed

Mar 3rd, 2023

Result details

8 addresses

100.23M votes

11.51K

Final Votes

Quorum

Pending

Majority support

Yes

For

100.23M

Against

0

Abstain

0

Actions

Type

Address

Details

Custom

0xfDd9...64Eb

setInterestRate(..)

Custom

Account

0xfDd9...64Eb

Method

setInterestRate(..)

Custom

0x954F...6887

setOverdueBlocks(..)

Custom

Account

0x954F...6887

Method

setOverdueBlocks(..)

Custom

0x4Dbd...AB3f

createRetryableTicket(..)

Custom

Account

0x4Dbd...AB3f

Method

createRetryableTicket(..)

Custom

0x4Dbd...AB3f

createRetryableTicket(..)

Custom

Account

0x4Dbd...AB3f

Method

createRetryableTicket(..)

Proposal

UIP-007: Adapt to PoS blocktime

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
Final Votes

Quorum

Pending

Majority support

Yes

For

100.23M

Against

0

Abstain

0

Final Votes

8 addresses

100.23M votes

11.51K

Status

Fri Mar 3, 04:37 am

Published onchain

Mon Mar 13, 06:15 am

Voting period started

Thu Mar 16, 12:00 am

Voting period ended

Wed Mar 8, 09:30 am

Proposal queued

Fri Mar 10, 12:21 pm

Proposal executed