feat: add DEX-safe community tax CW20, launcher, and AutoLP (#592) #1119
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!1119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-592-community-tax-cw20"
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
cl8y-community-tax-token,cl8y-community-token-launcher,cl8y-community-tax-autolp.Send+Swap. Buy tax is an outbound split on pair→userTransfer/Send. Pair/router swap math is unchanged.50000000) to CMM. Token and launcher accept UST1Sendonly (#595 pays any token off-chain).Instantiate { admin: cmm_governance }. Invariants T592-1–T592-12 indocs/contracts-security-audit.mdandskills/AGENTS_COMMUNITY_TAX_CW20.md.#589REPORT stub is NO-GO until LCD store; factory whitelist is a later ops step.Closes #592.
Issue acceptance (this MR)
UnauthorizedTaxPreviewRevokeMintirreversible (settings invoice)Transfer/Send/AfterSwap#589REPORT template filled as NO-GO; whitelist stays opsmake verify-issue-592Not in this MR
AddWhitelistedCodeId/ columbus-5 or LocalTerra store / Layer A-lcd + Layer B-lt on pinned wasm (#589GO)ContractInfo.adminprobe on a live chain (multi-test covers instantiate admin)UpdateConfigonly)Transferuses buy tax (T592-7); would need pair wasm or AfterSwapSetPairHooksfor token managers, book MM #597Test plan
make verify-issue-592— crates + docs, passed twice (27 crate tests)cargo clippy/cargo fmton the new crates (pre-commit)make test-contracts(full workspace; optional CI)CreatePair→ buy/sell; extra-debit max button#589REPORT and run Layer A/B before whitelist#593/#594consume launcher events (community_token,sku,manager,code_id)mentioned in commit
ffe04d143ementioned in issue #601
mentioned in issue #592