Skip to content

[dCrypto] Implementation of deprecation of all dCryptos #7

Description

@kuegi

As approved in DFIP https://explorer.mydefichain.com/governance/184bcbebaea0040a77daa173e2f22500b2384a6949e872c784f1a2fedbe289f0 all dCryptos should be deprecated (and the trading in the pools disabled with a 2 month notice period).

AFAIU, gov can deprecate tokens (@Bushstar please correct if wrong).
should be something like this:

./defi-cli updatetoken 1 '{"deprecate":true}'
./defi-cli updatetoken 2 '{"deprecate":true}'
./defi-cli updatetoken 3 '{"deprecate":true}'
./defi-cli updatetoken 7 '{"deprecate":true}'
./defi-cli updatetoken 9 '{"deprecate":true}'
./defi-cli updatetoken 11 '{"deprecate":true}'
./defi-cli updatetoken 13 '{"deprecate":true}'
./defi-cli updatetoken 216 '{"deprecate":true}'
./defi-cli updatetoken 226 '{"deprecate":true}'
./defi-cli updatetoken 227 '{"deprecate":true}'
./defi-cli updatetoken 228 '{"deprecate":true}'
./defi-cli updatetoken 232 '{"deprecate":true}'
./defi-cli updatetoken 234 '{"deprecate":true}'

With DFIP https://explorer.mydefichain.com/governance/01637ce86b8db51de3f6de18dff650751c9517ff28c42347e0854f60726d3032 this also leads to them being fade out as collateral (0.01 per day)

the corresponding command for the first update:

./defi-cli setgovheight '{"ATTRIBUTES": {"v0/token/1/loan_collateral_factor": "0.99","v0/token/2/loan_collateral_factor": "0.99","v0/token/3/loan_collateral_factor": "0.99","v0/token/13/loan_collateral_factor": "0.99","v0/token/216/loan_collateral_factor": "0.99"}}' <targetHeight>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions