the buyback contract changes from 0xdf5e4E54d212F7a01cf94B3986f40933fcfF589F to 0x6903223578806940bd3ff0c51f87aa43968424c8 everywhere, all calls go to the new contract, it has the same api
when the contract rate is non-zero, it means the buyback contract receives a stream of funds. we can show a changing amount for "our piggybank has" using the new total_dai function. it should be either updated each block or, better, updated and animated using the combination of total_dai and rate.
the rate is measured in dai per second scaled to 1e20. to convert to a monthly value, do rate * 30 * 86400 / 1e20. it can appear in the text as "We stream 420,000 DAI per month to the piggybank to be used for buybacks."
updates
0xdf5e4E54d212F7a01cf94B3986f40933fcfF589F
to0x6903223578806940bd3ff0c51f87aa43968424c8
everywhere, all calls go to the new contract, it has the same apirate
is non-zero, it means the buyback contract receives a stream of funds. we can show a changing amount for "our piggybank has" using the newtotal_dai
function. it should be either updated each block or, better, updated and animated using the combination oftotal_dai
andrate
.rate
is measured in dai per second scaled to 1e20. to convert to a monthly value, dorate * 30 * 86400 / 1e20
. it can appear in the text as "We stream 420,000 DAI per month to the piggybank to be used for buybacks."team
context