WIP: Draft: feat(window): emit fee_amount + fee_asset on deposit/withdraw (#33) #47
No reviewers
Labels
No labels
enhancement
governance
QA
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/ust1-window!47
Loading…
Reference in a new issue
No description provided.
Delete branch "33-feat-emit-fee-amount-ust1-token-on-deposit-withdraw-wasm-dex-614-ingest-"
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_amount(raw UST1 withheld) andfee_asset(UST1 CW20) on window deposit and withdraw so DEX ingest can census CMM window fees (#33; DEX #614).ust1_out × bpsor vFDUSD.docs/DEPLOYMENT.mdevent table,skills/window-fee-amount-events.Test plan
cargo test -p ust1-common --lib inv_(INV-SWAP-001/002 +fee_amount_ust1vectors)cargo test -p ust1-window --lib(inv_fee_event_001_*: deposit 1% of pre-fee UST1, withdraw 1% of gross UST1,fee_bps=0→0,fee_assetis UST1)cargo test -p ust1-integration-tests --lib inv_fee_event_001make test-contractsaction,ust1_out/vfdusd_out,fee_*_bps,vfdusd_to_treasuryterra1zxwp…address: record new code id inDEPLOYMENT.md; notify DEX soUST1_WINDOW_ADDRESSpin stays; capture one deposit and one withdraw forprotocol_fee_eventsust1_mint/ust1_redeemDoes not close live ingest: that last #33 AC needs the migrate. Implementation, tests, and docs are in this MR.
Closes #33
Closing: this MR targeted GitLab's empty issue branch (no commits). Replacing with an MR from feat/issue-33-window-fee-events.
Pull request closed