@exponent-labs/exponent-clmm-idl 0.9.11 → 0.9.12
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/build/exponent_clmm.d.ts +5 -114
- package/build/exponent_clmm.json +5 -114
- package/build/index.d.ts +0 -32
- package/build/index.js +17 -7
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/exponent_clmm.json +5 -114
- package/src/exponent_clmm.ts +5 -114
package/build/exponent_clmm.d.ts
CHANGED
|
@@ -460,83 +460,6 @@ export type ExponentClmm = {
|
|
|
460
460
|
};
|
|
461
461
|
};
|
|
462
462
|
},
|
|
463
|
-
{
|
|
464
|
-
"name": "closeMarket";
|
|
465
|
-
"discriminator": [
|
|
466
|
-
22
|
|
467
|
-
];
|
|
468
|
-
"accounts": [
|
|
469
|
-
{
|
|
470
|
-
"name": "admin";
|
|
471
|
-
"docs": [
|
|
472
|
-
"Admin who can close the market"
|
|
473
|
-
];
|
|
474
|
-
"writable": true;
|
|
475
|
-
"signer": true;
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
"name": "market";
|
|
479
|
-
"docs": [
|
|
480
|
-
"Market account - validated manually in handler"
|
|
481
|
-
];
|
|
482
|
-
"writable": true;
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
"name": "ticks";
|
|
486
|
-
"writable": true;
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"name": "tokenPtEscrow";
|
|
490
|
-
"docs": [
|
|
491
|
-
"Market PT liquidity escrow account"
|
|
492
|
-
];
|
|
493
|
-
"writable": true;
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"name": "tokenSyEscrow";
|
|
497
|
-
"docs": [
|
|
498
|
-
"Market SY escrow account (interchange account)"
|
|
499
|
-
];
|
|
500
|
-
"writable": true;
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"name": "tokenPtAdmin";
|
|
504
|
-
"docs": [
|
|
505
|
-
"Admin's PT token account to receive withdrawn PT"
|
|
506
|
-
];
|
|
507
|
-
"writable": true;
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"name": "tokenSyAdmin";
|
|
511
|
-
"docs": [
|
|
512
|
-
"Admin's SY token account to receive withdrawn SY"
|
|
513
|
-
];
|
|
514
|
-
"writable": true;
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"name": "addressLookupTable";
|
|
518
|
-
"docs": [
|
|
519
|
-
"Address lookup table for CPI calls"
|
|
520
|
-
];
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"name": "syProgram";
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"name": "tokenProgram";
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"name": "systemProgram";
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"name": "eventAuthority";
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"name": "program";
|
|
536
|
-
}
|
|
537
|
-
];
|
|
538
|
-
"args": [];
|
|
539
|
-
},
|
|
540
463
|
{
|
|
541
464
|
"name": "depositLiquidity";
|
|
542
465
|
"discriminator": [
|
|
@@ -2291,19 +2214,6 @@ export type ExponentClmm = {
|
|
|
2291
2214
|
92
|
|
2292
2215
|
];
|
|
2293
2216
|
},
|
|
2294
|
-
{
|
|
2295
|
-
"name": "closeMarketEvent";
|
|
2296
|
-
"discriminator": [
|
|
2297
|
-
185,
|
|
2298
|
-
129,
|
|
2299
|
-
244,
|
|
2300
|
-
21,
|
|
2301
|
-
39,
|
|
2302
|
-
125,
|
|
2303
|
-
28,
|
|
2304
|
-
54
|
|
2305
|
-
];
|
|
2306
|
-
},
|
|
2307
2217
|
{
|
|
2308
2218
|
"name": "depositLiquidityEvent";
|
|
2309
2219
|
"discriminator": [
|
|
@@ -2730,6 +2640,11 @@ export type ExponentClmm = {
|
|
|
2730
2640
|
"code": 6032;
|
|
2731
2641
|
"name": "addingLiquidityCurrentlyNotAllowed";
|
|
2732
2642
|
"msg": "Adding liquidity currently is not allowed";
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
"code": 6033;
|
|
2646
|
+
"name": "crossingEqualizationInvariantViolated";
|
|
2647
|
+
"msg": "Crossing equalization invariants were violated";
|
|
2733
2648
|
}
|
|
2734
2649
|
];
|
|
2735
2650
|
"types": [
|
|
@@ -2978,30 +2893,6 @@ export type ExponentClmm = {
|
|
|
2978
2893
|
];
|
|
2979
2894
|
};
|
|
2980
2895
|
},
|
|
2981
|
-
{
|
|
2982
|
-
"name": "closeMarketEvent";
|
|
2983
|
-
"type": {
|
|
2984
|
-
"kind": "struct";
|
|
2985
|
-
"fields": [
|
|
2986
|
-
{
|
|
2987
|
-
"name": "market";
|
|
2988
|
-
"type": "pubkey";
|
|
2989
|
-
},
|
|
2990
|
-
{
|
|
2991
|
-
"name": "admin";
|
|
2992
|
-
"type": "pubkey";
|
|
2993
|
-
},
|
|
2994
|
-
{
|
|
2995
|
-
"name": "ptWithdrawn";
|
|
2996
|
-
"type": "u64";
|
|
2997
|
-
},
|
|
2998
|
-
{
|
|
2999
|
-
"name": "syWithdrawn";
|
|
3000
|
-
"type": "u64";
|
|
3001
|
-
}
|
|
3002
|
-
];
|
|
3003
|
-
};
|
|
3004
|
-
},
|
|
3005
2896
|
{
|
|
3006
2897
|
"name": "configurationOptions";
|
|
3007
2898
|
"type": {
|
package/build/exponent_clmm.json
CHANGED
|
@@ -454,83 +454,6 @@
|
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
456
|
},
|
|
457
|
-
{
|
|
458
|
-
"name": "close_market",
|
|
459
|
-
"discriminator": [
|
|
460
|
-
22
|
|
461
|
-
],
|
|
462
|
-
"accounts": [
|
|
463
|
-
{
|
|
464
|
-
"name": "admin",
|
|
465
|
-
"docs": [
|
|
466
|
-
"Admin who can close the market"
|
|
467
|
-
],
|
|
468
|
-
"writable": true,
|
|
469
|
-
"signer": true
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"name": "market",
|
|
473
|
-
"docs": [
|
|
474
|
-
"Market account - validated manually in handler"
|
|
475
|
-
],
|
|
476
|
-
"writable": true
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"name": "ticks",
|
|
480
|
-
"writable": true
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"name": "token_pt_escrow",
|
|
484
|
-
"docs": [
|
|
485
|
-
"Market PT liquidity escrow account"
|
|
486
|
-
],
|
|
487
|
-
"writable": true
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"name": "token_sy_escrow",
|
|
491
|
-
"docs": [
|
|
492
|
-
"Market SY escrow account (interchange account)"
|
|
493
|
-
],
|
|
494
|
-
"writable": true
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"name": "token_pt_admin",
|
|
498
|
-
"docs": [
|
|
499
|
-
"Admin's PT token account to receive withdrawn PT"
|
|
500
|
-
],
|
|
501
|
-
"writable": true
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"name": "token_sy_admin",
|
|
505
|
-
"docs": [
|
|
506
|
-
"Admin's SY token account to receive withdrawn SY"
|
|
507
|
-
],
|
|
508
|
-
"writable": true
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"name": "address_lookup_table",
|
|
512
|
-
"docs": [
|
|
513
|
-
"Address lookup table for CPI calls"
|
|
514
|
-
]
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"name": "sy_program"
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"name": "token_program"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"name": "system_program"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"name": "event_authority"
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"name": "program"
|
|
530
|
-
}
|
|
531
|
-
],
|
|
532
|
-
"args": []
|
|
533
|
-
},
|
|
534
457
|
{
|
|
535
458
|
"name": "deposit_liquidity",
|
|
536
459
|
"discriminator": [
|
|
@@ -2285,19 +2208,6 @@
|
|
|
2285
2208
|
92
|
|
2286
2209
|
]
|
|
2287
2210
|
},
|
|
2288
|
-
{
|
|
2289
|
-
"name": "CloseMarketEvent",
|
|
2290
|
-
"discriminator": [
|
|
2291
|
-
185,
|
|
2292
|
-
129,
|
|
2293
|
-
244,
|
|
2294
|
-
21,
|
|
2295
|
-
39,
|
|
2296
|
-
125,
|
|
2297
|
-
28,
|
|
2298
|
-
54
|
|
2299
|
-
]
|
|
2300
|
-
},
|
|
2301
2211
|
{
|
|
2302
2212
|
"name": "DepositLiquidityEvent",
|
|
2303
2213
|
"discriminator": [
|
|
@@ -2724,6 +2634,11 @@
|
|
|
2724
2634
|
"code": 6032,
|
|
2725
2635
|
"name": "AddingLiquidityCurrentlyNotAllowed",
|
|
2726
2636
|
"msg": "Adding liquidity currently is not allowed"
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
"code": 6033,
|
|
2640
|
+
"name": "CrossingEqualizationInvariantViolated",
|
|
2641
|
+
"msg": "Crossing equalization invariants were violated"
|
|
2727
2642
|
}
|
|
2728
2643
|
],
|
|
2729
2644
|
"types": [
|
|
@@ -2972,30 +2887,6 @@
|
|
|
2972
2887
|
]
|
|
2973
2888
|
}
|
|
2974
2889
|
},
|
|
2975
|
-
{
|
|
2976
|
-
"name": "CloseMarketEvent",
|
|
2977
|
-
"type": {
|
|
2978
|
-
"kind": "struct",
|
|
2979
|
-
"fields": [
|
|
2980
|
-
{
|
|
2981
|
-
"name": "market",
|
|
2982
|
-
"type": "pubkey"
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"name": "admin",
|
|
2986
|
-
"type": "pubkey"
|
|
2987
|
-
},
|
|
2988
|
-
{
|
|
2989
|
-
"name": "pt_withdrawn",
|
|
2990
|
-
"type": "u64"
|
|
2991
|
-
},
|
|
2992
|
-
{
|
|
2993
|
-
"name": "sy_withdrawn",
|
|
2994
|
-
"type": "u64"
|
|
2995
|
-
}
|
|
2996
|
-
]
|
|
2997
|
-
}
|
|
2998
|
-
},
|
|
2999
2890
|
{
|
|
3000
2891
|
"name": "ConfigurationOptions",
|
|
3001
2892
|
"type": {
|
package/build/index.d.ts
CHANGED
|
@@ -133,38 +133,6 @@ export declare const IDL: {
|
|
|
133
133
|
})[];
|
|
134
134
|
returns?: undefined;
|
|
135
135
|
docs?: undefined;
|
|
136
|
-
} | {
|
|
137
|
-
name: string;
|
|
138
|
-
discriminator: number[];
|
|
139
|
-
accounts: ({
|
|
140
|
-
name: string;
|
|
141
|
-
docs: string[];
|
|
142
|
-
writable: boolean;
|
|
143
|
-
signer: boolean;
|
|
144
|
-
} | {
|
|
145
|
-
name: string;
|
|
146
|
-
docs: string[];
|
|
147
|
-
writable: boolean;
|
|
148
|
-
signer?: undefined;
|
|
149
|
-
} | {
|
|
150
|
-
name: string;
|
|
151
|
-
writable: boolean;
|
|
152
|
-
docs?: undefined;
|
|
153
|
-
signer?: undefined;
|
|
154
|
-
} | {
|
|
155
|
-
name: string;
|
|
156
|
-
docs: string[];
|
|
157
|
-
writable?: undefined;
|
|
158
|
-
signer?: undefined;
|
|
159
|
-
} | {
|
|
160
|
-
name: string;
|
|
161
|
-
docs?: undefined;
|
|
162
|
-
writable?: undefined;
|
|
163
|
-
signer?: undefined;
|
|
164
|
-
})[];
|
|
165
|
-
args: any[];
|
|
166
|
-
returns?: undefined;
|
|
167
|
-
docs?: undefined;
|
|
168
136
|
} | {
|
|
169
137
|
name: string;
|
|
170
138
|
docs: string[];
|
package/build/index.js
CHANGED
|
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
18
18
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
19
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
20
|
};
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
28
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
39
|
exports.PROGRAM_ID = exports.IDL = void 0;
|
|
30
40
|
__exportStar(require("./exponent_clmm"), exports);
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA+B;AAC/B,0DAA2C;AAC9B,QAAA,GAAG,GAAG,GAAG,CAAA;AACT,QAAA,UAAU,GAAU,GAAG,CAAC,OAAO,CAAA"}
|
package/package.json
CHANGED
package/src/exponent_clmm.json
CHANGED
|
@@ -454,83 +454,6 @@
|
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
456
|
},
|
|
457
|
-
{
|
|
458
|
-
"name": "close_market",
|
|
459
|
-
"discriminator": [
|
|
460
|
-
22
|
|
461
|
-
],
|
|
462
|
-
"accounts": [
|
|
463
|
-
{
|
|
464
|
-
"name": "admin",
|
|
465
|
-
"docs": [
|
|
466
|
-
"Admin who can close the market"
|
|
467
|
-
],
|
|
468
|
-
"writable": true,
|
|
469
|
-
"signer": true
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"name": "market",
|
|
473
|
-
"docs": [
|
|
474
|
-
"Market account - validated manually in handler"
|
|
475
|
-
],
|
|
476
|
-
"writable": true
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"name": "ticks",
|
|
480
|
-
"writable": true
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"name": "token_pt_escrow",
|
|
484
|
-
"docs": [
|
|
485
|
-
"Market PT liquidity escrow account"
|
|
486
|
-
],
|
|
487
|
-
"writable": true
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"name": "token_sy_escrow",
|
|
491
|
-
"docs": [
|
|
492
|
-
"Market SY escrow account (interchange account)"
|
|
493
|
-
],
|
|
494
|
-
"writable": true
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"name": "token_pt_admin",
|
|
498
|
-
"docs": [
|
|
499
|
-
"Admin's PT token account to receive withdrawn PT"
|
|
500
|
-
],
|
|
501
|
-
"writable": true
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"name": "token_sy_admin",
|
|
505
|
-
"docs": [
|
|
506
|
-
"Admin's SY token account to receive withdrawn SY"
|
|
507
|
-
],
|
|
508
|
-
"writable": true
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
"name": "address_lookup_table",
|
|
512
|
-
"docs": [
|
|
513
|
-
"Address lookup table for CPI calls"
|
|
514
|
-
]
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"name": "sy_program"
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"name": "token_program"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"name": "system_program"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"name": "event_authority"
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"name": "program"
|
|
530
|
-
}
|
|
531
|
-
],
|
|
532
|
-
"args": []
|
|
533
|
-
},
|
|
534
457
|
{
|
|
535
458
|
"name": "deposit_liquidity",
|
|
536
459
|
"discriminator": [
|
|
@@ -2285,19 +2208,6 @@
|
|
|
2285
2208
|
92
|
|
2286
2209
|
]
|
|
2287
2210
|
},
|
|
2288
|
-
{
|
|
2289
|
-
"name": "CloseMarketEvent",
|
|
2290
|
-
"discriminator": [
|
|
2291
|
-
185,
|
|
2292
|
-
129,
|
|
2293
|
-
244,
|
|
2294
|
-
21,
|
|
2295
|
-
39,
|
|
2296
|
-
125,
|
|
2297
|
-
28,
|
|
2298
|
-
54
|
|
2299
|
-
]
|
|
2300
|
-
},
|
|
2301
2211
|
{
|
|
2302
2212
|
"name": "DepositLiquidityEvent",
|
|
2303
2213
|
"discriminator": [
|
|
@@ -2724,6 +2634,11 @@
|
|
|
2724
2634
|
"code": 6032,
|
|
2725
2635
|
"name": "AddingLiquidityCurrentlyNotAllowed",
|
|
2726
2636
|
"msg": "Adding liquidity currently is not allowed"
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
"code": 6033,
|
|
2640
|
+
"name": "CrossingEqualizationInvariantViolated",
|
|
2641
|
+
"msg": "Crossing equalization invariants were violated"
|
|
2727
2642
|
}
|
|
2728
2643
|
],
|
|
2729
2644
|
"types": [
|
|
@@ -2972,30 +2887,6 @@
|
|
|
2972
2887
|
]
|
|
2973
2888
|
}
|
|
2974
2889
|
},
|
|
2975
|
-
{
|
|
2976
|
-
"name": "CloseMarketEvent",
|
|
2977
|
-
"type": {
|
|
2978
|
-
"kind": "struct",
|
|
2979
|
-
"fields": [
|
|
2980
|
-
{
|
|
2981
|
-
"name": "market",
|
|
2982
|
-
"type": "pubkey"
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"name": "admin",
|
|
2986
|
-
"type": "pubkey"
|
|
2987
|
-
},
|
|
2988
|
-
{
|
|
2989
|
-
"name": "pt_withdrawn",
|
|
2990
|
-
"type": "u64"
|
|
2991
|
-
},
|
|
2992
|
-
{
|
|
2993
|
-
"name": "sy_withdrawn",
|
|
2994
|
-
"type": "u64"
|
|
2995
|
-
}
|
|
2996
|
-
]
|
|
2997
|
-
}
|
|
2998
|
-
},
|
|
2999
2890
|
{
|
|
3000
2891
|
"name": "ConfigurationOptions",
|
|
3001
2892
|
"type": {
|
package/src/exponent_clmm.ts
CHANGED
|
@@ -460,83 +460,6 @@ export type ExponentClmm = {
|
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
},
|
|
463
|
-
{
|
|
464
|
-
"name": "closeMarket",
|
|
465
|
-
"discriminator": [
|
|
466
|
-
22
|
|
467
|
-
],
|
|
468
|
-
"accounts": [
|
|
469
|
-
{
|
|
470
|
-
"name": "admin",
|
|
471
|
-
"docs": [
|
|
472
|
-
"Admin who can close the market"
|
|
473
|
-
],
|
|
474
|
-
"writable": true,
|
|
475
|
-
"signer": true
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
"name": "market",
|
|
479
|
-
"docs": [
|
|
480
|
-
"Market account - validated manually in handler"
|
|
481
|
-
],
|
|
482
|
-
"writable": true
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
"name": "ticks",
|
|
486
|
-
"writable": true
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"name": "tokenPtEscrow",
|
|
490
|
-
"docs": [
|
|
491
|
-
"Market PT liquidity escrow account"
|
|
492
|
-
],
|
|
493
|
-
"writable": true
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"name": "tokenSyEscrow",
|
|
497
|
-
"docs": [
|
|
498
|
-
"Market SY escrow account (interchange account)"
|
|
499
|
-
],
|
|
500
|
-
"writable": true
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"name": "tokenPtAdmin",
|
|
504
|
-
"docs": [
|
|
505
|
-
"Admin's PT token account to receive withdrawn PT"
|
|
506
|
-
],
|
|
507
|
-
"writable": true
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"name": "tokenSyAdmin",
|
|
511
|
-
"docs": [
|
|
512
|
-
"Admin's SY token account to receive withdrawn SY"
|
|
513
|
-
],
|
|
514
|
-
"writable": true
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"name": "addressLookupTable",
|
|
518
|
-
"docs": [
|
|
519
|
-
"Address lookup table for CPI calls"
|
|
520
|
-
]
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"name": "syProgram"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"name": "tokenProgram"
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"name": "systemProgram"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"name": "eventAuthority"
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"name": "program"
|
|
536
|
-
}
|
|
537
|
-
],
|
|
538
|
-
"args": []
|
|
539
|
-
},
|
|
540
463
|
{
|
|
541
464
|
"name": "depositLiquidity",
|
|
542
465
|
"discriminator": [
|
|
@@ -2291,19 +2214,6 @@ export type ExponentClmm = {
|
|
|
2291
2214
|
92
|
|
2292
2215
|
]
|
|
2293
2216
|
},
|
|
2294
|
-
{
|
|
2295
|
-
"name": "closeMarketEvent",
|
|
2296
|
-
"discriminator": [
|
|
2297
|
-
185,
|
|
2298
|
-
129,
|
|
2299
|
-
244,
|
|
2300
|
-
21,
|
|
2301
|
-
39,
|
|
2302
|
-
125,
|
|
2303
|
-
28,
|
|
2304
|
-
54
|
|
2305
|
-
]
|
|
2306
|
-
},
|
|
2307
2217
|
{
|
|
2308
2218
|
"name": "depositLiquidityEvent",
|
|
2309
2219
|
"discriminator": [
|
|
@@ -2730,6 +2640,11 @@ export type ExponentClmm = {
|
|
|
2730
2640
|
"code": 6032,
|
|
2731
2641
|
"name": "addingLiquidityCurrentlyNotAllowed",
|
|
2732
2642
|
"msg": "Adding liquidity currently is not allowed"
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
"code": 6033,
|
|
2646
|
+
"name": "crossingEqualizationInvariantViolated",
|
|
2647
|
+
"msg": "Crossing equalization invariants were violated"
|
|
2733
2648
|
}
|
|
2734
2649
|
],
|
|
2735
2650
|
"types": [
|
|
@@ -2978,30 +2893,6 @@ export type ExponentClmm = {
|
|
|
2978
2893
|
]
|
|
2979
2894
|
}
|
|
2980
2895
|
},
|
|
2981
|
-
{
|
|
2982
|
-
"name": "closeMarketEvent",
|
|
2983
|
-
"type": {
|
|
2984
|
-
"kind": "struct",
|
|
2985
|
-
"fields": [
|
|
2986
|
-
{
|
|
2987
|
-
"name": "market",
|
|
2988
|
-
"type": "pubkey"
|
|
2989
|
-
},
|
|
2990
|
-
{
|
|
2991
|
-
"name": "admin",
|
|
2992
|
-
"type": "pubkey"
|
|
2993
|
-
},
|
|
2994
|
-
{
|
|
2995
|
-
"name": "ptWithdrawn",
|
|
2996
|
-
"type": "u64"
|
|
2997
|
-
},
|
|
2998
|
-
{
|
|
2999
|
-
"name": "syWithdrawn",
|
|
3000
|
-
"type": "u64"
|
|
3001
|
-
}
|
|
3002
|
-
]
|
|
3003
|
-
}
|
|
3004
|
-
},
|
|
3005
2896
|
{
|
|
3006
2897
|
"name": "configurationOptions",
|
|
3007
2898
|
"type": {
|