Skip to content

[Sample] [Mainnet Execution] Commands for Special DFIP on DEX Fees & Negative Interest #3

@friedriche-br

Description

@friedriche-br

Context

The Special DFIP is about to pass: https://defiscan.live/governance/b37a436af8f975bc50e9da9958cec83f137000577dccdd52fe19309afcd74edf

There is an option to split commands into 2 set of commands for clear distinct separation:

Setting of DEX fees separately for different pools.
defi-cli setgovheight '{ "ATTRIBUTES": { "v0/poolpairs/17/token_a_fee_pct": "0.8" , "v0/poolpairs/101/token_b_fee_pct": "0.745" , "v0/poolpairs/102/token_b_fee_pct": "0.745" , "v0/poolpairs/218/token_b_fee_pct": "0.745" , "v0/poolpairs/236/token_b_fee_pct": "0.745"}}' 3990000

DEX Fees 80%:
ID 17: DUSD - DFI

DEX Fees 74.5% (To amend daily as defined in the Special DFIP) :
ID 101: USDT - DUSD
ID 102: USDC - DUSD
ID 218: EUROC - DUSD
ID 236: XCHF - DUSD

Setting of negative interest

defi-cli setgovheight '{ "ATTRIBUTES": { "v0/token/15/loan_minting_interest": "-3.21" }}' 3990000

Blockheight: 3990000
Negative Interest: -3.21%

Alternatively, you could also combine them together.

Combined commands:

defi-cli setgovheight '{ "ATTRIBUTES": { "v0/poolpairs/17/token_a_fee_pct": "0.8" , "v0/poolpairs/101/token_b_fee_pct": "0.0220" , "v0/poolpairs/102/token_b_fee_pct": "0.0220" , "v0/poolpairs/218/token_b_fee_pct": "0.0220" , "v0/poolpairs/236/token_b_fee_pct": "0.0220" , "v0/token/15/loan_minting_interest": "-8.70" }}' 4329240

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