[Sample] [Mainnet Execution] Commands for Special DFIP on DEX Fees & Negative Interest
- Dominant language
- No language data
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# 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
`
Contributor guide
Research direction
No source files or tests are named. Start by reviewing the linked DeFiScan proposal and the two command variants, then confirm the intended block height and fee and interest values with maintainers. Done means the chosen command set is approved and its execution is recorded.
Written by the indexing model from the issue text.
Assessment
- Domain
- blockchain, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100