fix(community-tax): tax official-router hops (improved option 2, #607) #1127
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!1127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/607-router-tax-option-2"
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
Send+Swapis Sell: extra-debit authenticatedCw20HookMsg::Swap.trader(honored only whenfrom == config.router). Pair-direct ignores a spoofedtrader. Missing / protocol-exempt trader fail-closes (RouterTraderRequired).Buy/sell tax applies on every listed-pair swap./Sell tax extra/Buy tax applies.Test plan
make verify-issue-607first pass + retest (docs, frontend Vitest, token multitest, inverted PoC)cargo test -p cl8y-community-tax-token --lib(65 tests)Sell tax extra+ Max leaves room for extra-debitSell tax extraBuy/sell tax applies on every listed-pair swap.Closes #607 (choice + implement). #603 importers may promise bps on official Swap only after this wasm.
mentioned in issue #607
mentioned in commit
cb174fbba1mentioned in issue #616
mentioned in issue #610
mentioned in issue #615
mentioned in issue #611
mentioned in issue #612
mentioned in issue #603