Skip to content

Commit

Permalink
Pool update (#308)
Browse files Browse the repository at this point in the history
* typus pools

* update
  • Loading branch information
tonylee08 authored Nov 19, 2024
1 parent ab76809 commit b8eb55f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 24 deletions.
4 changes: 2 additions & 2 deletions scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"author": "",
"license": "ISC",
"dependencies": {
"@mysten/deepbook-v3": "^0.12.6",
"@mysten/sui": "^1.14.3",
"@mysten/deepbook-v3": "^0.12.10",
"@mysten/sui": "^1.14.4",
"dotenv": "^16.4.5",
"esbuild": "^0.20.2",
"ts-node": "^10.9.2",
Expand Down
22 changes: 11 additions & 11 deletions scripts/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 1 addition & 11 deletions scripts/transactions/createPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,7 @@ import { getFullnodeUrl, SuiClient } from "@mysten/sui/client";
const tx = new Transaction();

dbClient.deepBookAdmin.createPoolAdmin({
baseCoinKey: "NS",
quoteCoinKey: "USDC",
tickSize: 0.00001,
lotSize: 0.1,
minSize: 1,
whitelisted: false,
stablePool: false,
})(tx);

dbClient.deepBookAdmin.createPoolAdmin({
baseCoinKey: "NS",
baseCoinKey: "TYPUS",
quoteCoinKey: "SUI",
tickSize: 0.00001,
lotSize: 0.1,
Expand Down

0 comments on commit b8eb55f

Please sign in to comment.