Skip to content

Commit bf107f6

Browse files
author
Your Name
committed
readme updated
1 parent 89b785e commit bf107f6

1 file changed

Lines changed: 12 additions & 20 deletions

File tree

README.md

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,16 @@ Implementation of newton's method in Stylus contract to solve torus invariant wi
5555
<img src="public/newton_method.jpg" alt="Newton" />
5656
<img src="public/torus_invariant.jpg" " alt="Torus"/>
5757

58-
**4. Tick Geometry**
58+
**4. Q96X48 Implementation**
59+
We utilize the Q96X48 fixed-point arithmetic format, where the lower 48 bits represent the fractional component and the upper 96 bits represent the integer component.
60+
61+
**5. Tick Geometry**
5962

6063
Each tick is defined by:
6164
- **k**: Plane constant (tick identifier)
6265
- **r**: Radius of the tick
6366
- **Status**: Interior or Boundary
6467

65-
#### K-Value Validation
66-
67-
The k-value must satisfy the constraint:
68-
```
69-
k ≥ (r × PRECISION) / SQRT5_SCALED
70-
```
71-
72-
Where:
73-
- `PRECISION = 1e15`
74-
- `SQRT5_SCALED = 2236067977499790`
75-
7668
## Improvements Made in Open House
7769

7870
### Core Protocol
@@ -89,13 +81,13 @@ Where:
8981

9082
## Contract Addresses
9183

92-
- **Orbital AMM Pool**: `0x83EC719A6F504583d0F88CEd111cB8e8c0956431`
93-
- **Math Helper (Stylus)**: `0x112F137fcB7fA9Ed84A54767aD4d555904F274d9`
94-
- **MUSDC-A**: `0x9666526dcF585863f9ef52D76718d810EE77FB8D`
95-
- **MUSDC-B**: `0x1921d350666BA0Cf9309D4DA6a033EE0f0a70bEC`
96-
- **MUSDC-C**: `0xbEDC66545b8A4763eF8962860901F817DB7C2199`
97-
- **MUSDC-D**: `0x13f62264A2Eb0834DEfb513D7A3c69fde9cc1fD2`
98-
- **MUSDC-E**: `0x0510Bf5F38ca1Db3DE4B97E40FFfb9b195B60d41`
84+
- **Orbital AMM Pool**: `0x8E27C670fA1D45a635e916F8bd60F7E5E1AcF19B`
85+
- **Math Helper (Stylus)**: `0xFD95736D8B046923A954D79Ef4EcDcE047586260`
86+
- **MUSDC-A**: `0x4036B58f91F2A821cB56E2921213663f58db7e6c`
87+
- **MUSDC-B**: `0x41906B6CBFC6a1bEd09311a88e7549a2eB34F325`
88+
- **MUSDC-C**: `0x28f73c76Cb06ceAAA94Adce630f012531f5E80a9`
89+
- **MUSDC-D**: `0x153BD834089ad564fF33450A621EAC412cD4D8f0`
90+
- **MUSDC-E**: `0x987b031Bc36122867108da11686F66D22A9eB460`
9991

10092
## Architecture & User Flow
10193

@@ -115,7 +107,7 @@ Where:
115107

116108
```bash
117109
# Clone the repository
118-
git clone https://github.com/your-org/orbital-pool.git
110+
git clone https://github.com/agrawalx/orbital-pool.git
119111
cd orbital-pool
120112

121113
# Install dependencies

0 commit comments

Comments
 (0)