feat(#516): consume wrap-mapper fee_wrap_bps / fee_unwrap_bps #1054
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!1054
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/516-wrap-mapper-split-fees"
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?
Closes #516
Summary
fee_wrap_bps/fee_unwrap_bps(Wrap, Swap native in/out, pool provide wrap auto-fill).{ fee_bps }to both sides so live columbus-5 stays truthful until ustr-cmm#9 migrate.fee_unwrap_bps = round(10000 − 9800 / (1 − burn_tax_rate))). New playbookskills/AGENTS_WRAP_MAPPER_SPLIT_FEES.md(W12–W15).Test plan
make verify-issue-516(run twice; 15/15)make verify-issue-512(no W8–W11 regression)set_fees200/51 (ustr-cmm#13)fee_wrap_bps=200/fee_unwrap_bps=51;/wrapsmoke wrap 10 000 → 9 800 CW20, unwrap → ≈9 800 nativedocs/qa-templates/wrap-unwrap-test-pass.md(fee notes + exchange-deposit warning)Follow-up (not this MR)
DEX router
ConfigResponsestill requiresfee_bpsfor on-chainunwrap_outputR3. Upgrade router wasm to readfee_unwrap_bpsin the same migrate window or unwrap_output settlement will fail afterConfigdropsfee_bps.mentioned in issue #516
mentioned in commit
248b144a67mentioned in issue #523
mentioned in merge request !1056
mentioned in issue PlasticDigits2/ustr-cmm#13