ChainSafe / ChainSafe/canton-extending-mainnet

[P2-E4.2] Buy path honors the discount

Open
#92 2 comments 0 reactions 1 assignee Claimed by @salindne View on GitHub
phase-2
Dominant language
Shell
Stars
0
Forks
0
Avg merge
22h 58m
Merged PRs (30d)
1

Description

**Context.** The buy computes CC to burn from USD price × discount factor at the round's
conversion. The applied factor and effective rate are recorded on the purchase (P2-E2.3)
so the burn is recomputable.

**Deliverable.** Gate reads the discount (disclosed alongside registration + fee state),
applies it in rate computation, records factor + effective rate.

**Acceptance.** Daml Script: discounted buy burns proportionally less CC; recorded fields
recompute exactly; discount for sync A never applies to sync B; no discount → identical
to gsync rate.

**Depends on.** P2-E4.1, P2-E2.1, P2-E2.3.

**Refs.** FR-9, FR-13.


Epic: #67 · Plan: [P2-E4-governance-discount.md](https://github.com/ChainSafe/canton-extending-mainnet/blob/main/docs/planning/phase-2-epics/P2-E4-governance-discount.md)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.