Skip to content

Commit d21dc79

Browse files
authored
refactor: remove unused code and format (#3)
* renaming * refactor 1 * further simplification * run format * remove other files
1 parent e29a107 commit d21dc79

50 files changed

Lines changed: 2776 additions & 4911 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ pnpm mint \
4040
<nonce>
4141
```
4242

43-
| Argument | Description |
44-
|----------|-------------|
45-
| `sender_address` | Benefactor wallet address |
46-
| `amount_usdc` | Amount of USDC to deposit (e.g., `1` for 1 USDC) |
47-
| `expiry_minutes` | Order expiry in minutes from now |
48-
| `min_amount_out` | Minimum SUI_USDE to receive (6 decimals) |
49-
| `nonce` | Unique order identifier |
43+
| Argument | Description |
44+
| ---------------- | ------------------------------------------------ |
45+
| `sender_address` | Benefactor wallet address |
46+
| `amount_usdc` | Amount of USDC to deposit (e.g., `1` for 1 USDC) |
47+
| `expiry_minutes` | Order expiry in minutes from now |
48+
| `min_amount_out` | Minimum SUI_USDE to receive (6 decimals) |
49+
| `nonce` | Unique order identifier |
5050

5151
**Example:**
5252

@@ -67,13 +67,13 @@ pnpm redeem \
6767
<nonce>
6868
```
6969

70-
| Argument | Description |
71-
|----------|-------------|
72-
| `sender_address` | Benefactor wallet address |
70+
| Argument | Description |
71+
| ---------------- | ---------------------------------------------------- |
72+
| `sender_address` | Benefactor wallet address |
7373
| `amount_suiusde` | Amount of SUI_USDE to redeem (e.g., `1` for 1 token) |
74-
| `expiry_minutes` | Order expiry in minutes from now |
75-
| `min_amount_out` | Minimum USDC to receive (6 decimals) |
76-
| `nonce` | Unique order identifier |
74+
| `expiry_minutes` | Order expiry in minutes from now |
75+
| `min_amount_out` | Minimum USDC to receive (6 decimals) |
76+
| `nonce` | Unique order identifier |
7777

7878
**Example:**
7979

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"dev": "tsc --watch",
1717
"clean": "rm -rf dist",
1818
"mint": "tsx src/mint.ts",
19-
"redeem": "tsx src/redeem.ts"
19+
"redeem": "tsx src/redeem.ts",
20+
"format": "prettier --write ."
2021
},
2122
"keywords": [],
2223
"author": "",

0 commit comments

Comments
 (0)