-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DFIP-2205-E: Enable dToken loan repayment via futureswap against vault collateral #150
Comments
signmessage 8cZqD6X14ipFqmvz6pYYR5p7Dp5n4xc9VT "DFIP-2205-E-yes" |
signmessage 8VKs5jqADhwRTHVXsf8hhMmJm5r8FpWF7h dfip-2205-e-yes |
|
$ defi-cli signmessage 8KFsvQJ6uMsaydwfqmho1kCof1PWV3v9kg "dfip-2205-e-yes" |
$ defi-cli signmessage 8FzR1vtCgqp7moFnATtptcSZbgsRhsQjnz "dfip-2205-e-yes" |
defi-cli signmessage "8LaQQZhfYiLukaZM9qekTB1b7UAR3Bapn2" "dfip-2205-e-no" |
$ defi-cli signmessage 8QHLgmQVqMFQyN3cjPU2EDoKv7enHKstyn "dfip-2205-e-no" |
$ defi-cli signmessage 8WpKkyyMdDQVnuYxZ87aqremVQ4GKnRTJL "dfip-2205-e-yes" |
$ defi-cli signmessage 8Kb3rhUXKye9a8UV73a5iiCgCX8BENe63F "dfip-2205-e-no" |
$ defi-cli signmessage 8LZvqY8roXp5SjgKQ8GzuCC5LXcfAZPcbJ "dfip-2205-e-yes" |
$ defi-cli signmessage 8J9DBy8o5fHTrrYtsaSkPmftHiiZFQHDi8 "dfip-2205-e-no" |
$ defi-cli signmessage 8L5j436kX39LVjaW9H1oM61mmcdC586zVv "dfip-2205-e-yes" |
$ defi-cli signmessage 8Qcpm3NwpwSBnyD8xzKwppe4upZ4RFYpQo "dfip-2205-e-yes" |
$ defi-cli signmessage 8XbXVZxEc4j1x9o7diUNX1kzR3jGiUxqMG "dfip-2205-e-no" |
Thank you everyone who has cast votes. If there are any outstanding concerns I can address, please feel free to raise them on the Reddit thread and I will do my best to answer them. |
$ defi-cli signmessage 8V77Hhv6pen56H54LJSwt7b3SYjDAgGJBr "dfip-2205-e-yes" |
$ defi-cli signmessage 8MSBPBdsQvUgWxhLt2hqkrv5zwCPPGTDYp "dfip-2205-e-yes" |
$ defi-cli signmessage 8cQFXX6jTJAQdSB1zLCmJ11hFZ5eqUDYJQ "dfip-2205-e-yes" |
$ defi-cli signmessage 8GCKyUYHw51D6be61jNNUhEfEEddtThbAZ "dfip-2205-e-no" |
$ defi-cli signmessage 8FRiNcUVud7B8Kw7nmnZ3jp3Pw7wQ4AQAy "dfip-2205-e-yes" |
$ defi-cli signmessage 8SW9FEuf7KsTiGGWJP65XbPo5P7NiNCfa6 "dfip-2205-e-neutral" |
$ defi-cli signmessage 8T8Qq5yr2BciNjzXerE4q2GXoa8vfD2awh "dfip-2205-f-yes" |
$ defi-cli signmessage 8NkSW9c5npPKHqKQimpma51J5GsRBEX5Zo "dfip-2205-e-neutral" |
$ defi-cli signmessage 8UuvfXfPHECLf4ZAswjA1GBqvjdXwtzPVq "dfip-2205-e-yes" signmessage 8WrcPiaoGhQgitWiBG6e3fW7dVTuZMvjot "dfip-2205-e-yes" |
$ defi-cli signmessage 8YBcHsAMiQkVSdmRutroDJYzhmk7XfPrme "dfip-2205-e-yes" |
$ defi-cli signmessage 8RfKj4DqdsBkyP42MazGXgS3YGYyzHVpJ7 "dfip-2205-e-yes" |
$ defi-cli signmessage 8JQQ3zxrmgMFrY7qGScws5RnYL93xv2Qs1 "dfip-2205-e-yes" |
$ defi-cli signmessage 8PQGqdFDFKBXB1pcBzHJpanDnuutYaih8q "dfip-2205-e-yes" |
$ defi-cli signmessage 8Vm9Xt1pB7vzkJdCaJihT4rKKMjmLkdUDC "dfip-2205-e-neutral" |
signmessage 8P24qRzccs9FJXkqrrzPZGa2aNXxqBkrmb "DFIP-2205-E-yes" |
signmessage 8cS4WTshRjjhKJ5fizs7tNmK49yRufM5Vt dfip-2205-e-yes |
$ defi-cli signmessage 8a1mVdhy2jg8By2yXM3RbCy4zQM597QF5e "dfip-2205-e-yes" |
$ defi-cli signmessage 8SxytTDhbwr4TdywMnKDr98hfnKieNmM1i "dfip-2205-e-yes" |
$ defi-cli signmessage 8TAaQUPVXwE1C8P7jxuM8GSSC9sWXyFNFQ "dfip-2205-e-no" |
$ defi-cli signmessage 8NEQkS8p4LgkipRoJ4EEdTSHjPg7kXZA84 "dfip-2205-e-yes" |
$ defi-cli signmessage 8b3aUSsyxM5CovYEWdwrpGafK386WQEAfM "dfip-2205-e-yes" |
Votes of the DFX Community Votes: signmessage 8KirKNGVgrsQsmWuy1Ee4ZmsnXVVkAEzh2 dfip-2205-e-no |
$ defi-cli signmessage 8LzsRaBsXMKxGZhc5w3ViRLvbTeSfew8kS "dfip-2205-e-no" |
signmessage 8dJLcKddBnwXzzXBLeZLYqzHehfeB8UWa2 "DFIP-2205-E-no" |
defi-cli signmessage 8daGYPTDTzMRtUx61uWRjg7p9GECMjuip8 "cfp-2205-e-no" |
signmessage 8XjGQuumUBGyevsG8Jn4yZQ6QBpkA4ukgM "dfip-2205-e-yes" |
signmessage 8S4J5K9ohSkxgbYFc2Cbfmf3rf6WjfYH8T dfip-2205-e-neutral |
$ defi-cli signmessage 8TtRR25SoDMffc3V2Tm2sFr4Sx6iodj7wP "dfip-2205-e-neutral" |
$ defi-cli signmessage 8FS2nyrAoBUistTC4BUPTHf8LJa8ytQ6ip "dfip-2205-e-no" |
mnstate_validate.log |
DFIP Overview
Describe your proposal
Allow a "dUSD->dToken" futureswap which uses dUSD collateral in a vault as the input, with the output dToken "locked" into repaying the dToken vault loan.
Example
Elias owns a 150MIN vault (ID=a1st...).
In the past, Elias deposited 10000 dUSD to his vault, and took out a loan for 6000dUSD worth of dTSLA.
Elias would like to close out his loan, but he needs to keep all his dUSD in his vault to maintain collateralization and avoid liquidation.
There is a futureswapblock approaching, so Elias decides to perform a futureswap to close his loan. Elias estimates that it will take 6,512 dUSD to pay off his loan with interest at the current oracle price + 5%, so he issues this command:
futureswap a1st... 6512@DUSD TSLA
When the command is executed, the 6000 dUSD locked into the TSLA loan in vault a1st... is contractually bound to the upcoming futureswap. Additionally, 512 dUSD from vault a1st... is contractually bound to the upcoming futureswap. Elias may add or subtract from his futureswap position as desired until the futureswapblock is reached.
When the futureswapblock is reached, the contracted dUSD is burned, and any dTSLA produced are first used to repay the loan, with any excess dTSLA being deposited to vault a1st...
How does this DFIP benefit the DeFiChain community?
Enabling futureswaps against vault loans/collateral would roughly double the utility of collateral in a vault. Unlocking this functionality will allow more vault users to participate in futureswap arbitrage, which in turn should drive market pressure to minimize/normalize the oracle->dex premium.
Given the example above, if Elias wants to unwind his loan under the constraints of the present system, he would need an additional 6512 dUSD sitting idle in a wallet outside his vault just to be able to participate in the upcoming futureswap. Functionally, that means Elias needs to commit 16512 dUSD (and likely more to hold his collateralization) just to transact a 6512 dUSD value short position in dTSLA - this is very inefficient use of capital and greatly reduces investors effective ROI.
By increasing the utility of capital in vaults, DefiChain will lower the bar to entry for those who wish to take out loans in the dToken economy. By incentivizing increased and novel uses of vaults, DefiChain would be making a value proposition not available on other Dexes, reinforcing and underscoring the narrative that this is a unique ecosystem within the crypto economy.
Non-obligation
I understand that vote of confidence for DFIP carries no obligations by any developers to implement the proposals. DeFiChain is a community projects. Pull requests can be submitted by community and reserved to be evaluated for safety and general community acceptance.
The text was updated successfully, but these errors were encountered: