feat(wrap-mapper): asymmetric fee_wrap_bps / fee_unwrap_bps for ≈2% unwrap all-in (#9) #31
No reviewers
Labels
No labels
bug
docs
documentation
duplicate
enhancement
frontend
good first issue
help wanted
invalid
missing-implementation
priority
medium
product
QA
question
testing
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/ustr-cmm!31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "9-feat-wrap-mapper-split-fee-wrap-bps-fee-unwrap-bps-for-2-unwrap-all-in-no-gross-up-"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
fee_bpsinto independentfee_wrap_bps/fee_unwrap_bps(wrap path / unwrap path), with govSetFees/ single-side setters and cw20.3.0migrate from legacy{fee_bps}→ both fields.200/51so unwrap all-in ≈ 2% under 1.5% burn tax; solvency surplus Δ ≈+fee_unwrap(unwrap fee need not cover tax).skills/wrap-mapper-asymmetric-feeswith retune rule + crosslinks. DEX companion: PlasticDigits/cl8y-dex-terraclassic#516.Compat
ConfigResponse/ execute:fee_bps/SetFeeBpsremoved (no dual-read window). Coordinate DEX #516 before declaring production done.Test plan
cd contracts && cargo test --package wrap-mapper --lib(107 passed, run twice)fee_bps=200→ both 200; migrate idempotent on new shapeSetFees200/51, tiny wrap/unwrap probes, treasury native ≥ supplyCloses #9
added 1 commit
b3fc79cb- feat(wrap-mapper): split fee_wrap_bps / fee_unwrap_bps for ≈2% unwrap all-in (#9)Compare with previous version
marked this merge request as ready
changed the description
mentioned in issue #9
mentioned in commit
1939449360mentioned in issue #13