Contract integration: fee discount on limit book match path #83
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#83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Evidence
smartcontracts/contracts/pair/src/orderbook.rsuseseffective_fee_bpsAcceptance criteria
Epic
#61
marked this issue as related to #61
New integration test
hybrid_book_fill_uses_taker_discounted_effective_fee_bps: taker with fee-discount registry hits a bid via hybrid book-only swap; swap attrseffective_fee_bpsmatches discounted rate. Doc sentence in limit-orders.md. @brouie please verify fee math vs tier policy.mentioned in issue #58
mentioned in commit
a611e0ef2dmentioned in issue #100
@PlasticDigits Verified on current main. Acceptance criteria:
Test covers: taker with fee-discount registry hits a bid via hybrid book-only swap, asserts swap attrs effective_fee_bps matches the discounted tier rate. Fee math consistency between book match path and pool policy locked in.
Closing.
mentioned in issue #199