@glamsystems/glam-cli 1.1.0-alpha.6 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/main.js +424 -62590
- package/package.json +18 -15
- package/templates/single-asset.json +44 -0
- package/templates/tokenized.json +48 -0
- package/templates/vault.json +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glamsystems/glam-cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "CLI for interacting with the GLAM Protocol",
|
|
5
5
|
"main": "./main.js",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"homepage": "https://www.glam.systems",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "
|
|
12
|
+
"url": "https://github.com/glamsystems/glam-cli.git"
|
|
13
13
|
},
|
|
14
14
|
"keywords": [
|
|
15
15
|
"glam",
|
|
@@ -20,8 +20,20 @@
|
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=24.0.0"
|
|
22
22
|
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "node scripts/build.mjs",
|
|
25
|
+
"clean": "node scripts/clean.mjs",
|
|
26
|
+
"prepack": "npm run build",
|
|
27
|
+
"pack:dry-run": "npm pack --dry-run --json"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE",
|
|
32
|
+
"main.js",
|
|
33
|
+
"templates/**/*.json"
|
|
34
|
+
],
|
|
23
35
|
"dependencies": {
|
|
24
|
-
"@glamsystems/glam-sdk": "1.1.0
|
|
36
|
+
"@glamsystems/glam-sdk": "1.1.0",
|
|
25
37
|
"commander": "^11.1.0",
|
|
26
38
|
"decimal.js": "^10.6.0",
|
|
27
39
|
"inquirer": "^8.2.6"
|
|
@@ -31,19 +43,10 @@
|
|
|
31
43
|
"@ledgerhq/hw-transport-node-hid": "^6.33.1"
|
|
32
44
|
},
|
|
33
45
|
"devDependencies": {
|
|
46
|
+
"@types/node": "^20.17.30",
|
|
34
47
|
"@types/inquirer": "^8.2.10",
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
"pnpm": {
|
|
38
|
-
"overrides": {
|
|
39
|
-
"anchor-bankrun": "^0.4.0",
|
|
40
|
-
"solana-bankrun": "^0.4.0",
|
|
41
|
-
"@coral-xyz/anchor": "^0.31.1",
|
|
42
|
-
"@solana/web3.js": "^1.98.0",
|
|
43
|
-
"@solana/spl-token": "^0.4.9",
|
|
44
|
-
"@solana/spl-stake-pool": "^1.1.5",
|
|
45
|
-
"typescript": "^5.5.3"
|
|
46
|
-
}
|
|
48
|
+
"esbuild": "^0.25.2",
|
|
49
|
+
"typescript": "^5.8.3"
|
|
47
50
|
},
|
|
48
51
|
"publishConfig": {
|
|
49
52
|
"access": "public"
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"state": {
|
|
3
|
+
"accountType": "singleAssetVault",
|
|
4
|
+
"name": "Single Asset Vault",
|
|
5
|
+
"baseAssetMint": "So11111111111111111111111111111111111111112"
|
|
6
|
+
},
|
|
7
|
+
"mint": {
|
|
8
|
+
"name": "Single Asset Vault",
|
|
9
|
+
"symbol": "SAV",
|
|
10
|
+
"uri": "https://glam.systems",
|
|
11
|
+
"lockupPeriod": 0,
|
|
12
|
+
"feeStructure": {
|
|
13
|
+
"vault": {
|
|
14
|
+
"subscriptionFeeBps": 0,
|
|
15
|
+
"redemptionFeeBps": 0
|
|
16
|
+
},
|
|
17
|
+
"manager": {
|
|
18
|
+
"subscriptionFeeBps": 0,
|
|
19
|
+
"redemptionFeeBps": 0
|
|
20
|
+
},
|
|
21
|
+
"management": {
|
|
22
|
+
"feeBps": 0
|
|
23
|
+
},
|
|
24
|
+
"performance": {
|
|
25
|
+
"feeBps": 0,
|
|
26
|
+
"hurdleRateBps": 0,
|
|
27
|
+
"hurdleType": "hard"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"notifyAndSettle": {
|
|
31
|
+
"model": "continuous",
|
|
32
|
+
"permissionlessFulfillment": false,
|
|
33
|
+
"subscribeNoticePeriodType": "soft",
|
|
34
|
+
"subscribeNoticePeriod": 0,
|
|
35
|
+
"subscribeSettlementPeriod": 0,
|
|
36
|
+
"subscribeCancellationWindow": 0,
|
|
37
|
+
"redeemNoticePeriodType": "soft",
|
|
38
|
+
"redeemNoticePeriod": 0,
|
|
39
|
+
"redeemSettlementPeriod": 604800,
|
|
40
|
+
"redeemCancellationWindow": 0,
|
|
41
|
+
"timeUnit": "second"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"state": {
|
|
3
|
+
"accountType": "tokenizedVault",
|
|
4
|
+
"name": "GLAM SOL",
|
|
5
|
+
"baseAssetMint": "So11111111111111111111111111111111111111112",
|
|
6
|
+
"enabled": true
|
|
7
|
+
},
|
|
8
|
+
"mint": {
|
|
9
|
+
"name": "GLAM SOL",
|
|
10
|
+
"symbol": "gmSOL",
|
|
11
|
+
"uri": "https://glam.systems",
|
|
12
|
+
"maxCap": 1000000000000,
|
|
13
|
+
"minSubscription": 100000000,
|
|
14
|
+
"minRedemption": 100000000,
|
|
15
|
+
"lockupPeriod": 0,
|
|
16
|
+
"feeStructure": {
|
|
17
|
+
"vault": {
|
|
18
|
+
"subscriptionFeeBps": 10,
|
|
19
|
+
"redemptionFeeBps": 10
|
|
20
|
+
},
|
|
21
|
+
"manager": {
|
|
22
|
+
"subscriptionFeeBps": 0,
|
|
23
|
+
"redemptionFeeBps": 0
|
|
24
|
+
},
|
|
25
|
+
"management": {
|
|
26
|
+
"feeBps": 0
|
|
27
|
+
},
|
|
28
|
+
"performance": {
|
|
29
|
+
"feeBps": 2000,
|
|
30
|
+
"hurdleRateBps": 500,
|
|
31
|
+
"hurdleType": "hard"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"notifyAndSettle": {
|
|
35
|
+
"model": "continuous",
|
|
36
|
+
"permissionlessFulfillment": false,
|
|
37
|
+
"subscribeNoticePeriodType": "soft",
|
|
38
|
+
"subscribeNoticePeriod": 0,
|
|
39
|
+
"subscribeSettlementPeriod": 0,
|
|
40
|
+
"subscribeCancellationWindow": 0,
|
|
41
|
+
"redeemNoticePeriodType": "soft",
|
|
42
|
+
"redeemNoticePeriod": 0,
|
|
43
|
+
"redeemSettlementPeriod": 0,
|
|
44
|
+
"redeemCancellationWindow": 0,
|
|
45
|
+
"timeUnit": "slot"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|