Badger-Finance / badger-multisig

Badger DAO's EVM multisig operations.
GNU Affero General Public License v3.0
49 stars 32 forks source link

fund llamapay with $usdc and correct streams starting too late #1489

Closed gosuto-inzasheru closed 9 months ago

gosuto-inzasheru commented 9 months ago

streams to councillors were initialised in block 19035375. streams can be publically monitored here: https://gnosis-safe.llamapay.io/salaries/Ethereum/0xD0A7A8B98957b9CD3cFB9c0425AbE44551158e9e

retroactive coverage

however, that means that payments from block 18908895 (first one of 2024) to 19035375 still have to be covered.

126_480 blocks * 12 * amountPerSec(192901234567901235) / 1e20 = 2927.777777777777784336

ergo:

yearly funding

to minimise multisig actions, and to guarantee at least a one year runway, the llamapay contract should be funded for a whole year; 5000 * 5 * 12 = 300_000.

gosuto-inzasheru commented 9 months ago

as discussed previously, this means it might be good to take this extra 300k into account when rebalancing stables for this period (#1471)

sajanrajdev commented 9 months ago

One thing to notice is that this amount per second (0.00192901234567901235) leads to $5k every 30 days, not exactly one month (which I guess has to do with the dynamics of LlamaPay). This means that the 300,000 USDC stream will run for 360 days from its initialization (Jan 18th, 2024), ending on January 12th, 2025. I will keep a note of this date so that we can make sure to begin a conversation around a new stream before this date is reached.

This just makes me wonder @gosuto-inzasheru, if we are compensating for the days between Jan 1st and the 18th, why didn't we setup the stream to cover until Dec 31st, 2024 and make it one year even? Not a big deal but we are basically creating a stream for 1year and 12 days, which is less clean, unless I am missing something.

gosuto-inzasheru commented 9 months ago

the streams are indefinite; they dont have an end date

petrovska-petro commented 9 months ago

https://etherscan.io/tx/0x3fd37a7fac676b4259c2d6bfeda2563e775d727585b4fbe755e75e778a7fecfd