@triadxyz/triad-protocol 4.2.3 → 4.2.4

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/dist/predictor.js CHANGED
@@ -161,6 +161,7 @@ class Predictor {
161
161
  .withdraw(new bn_js_1.default(amount * Math.pow(10, constants_1.BASE_DECIMALS)))
162
162
  .accounts({
163
163
  signer: authority,
164
+ payer: this.rpcOptions.payer,
164
165
  predictor: predictorPDA
165
166
  })
166
167
  .instruction()
@@ -182,6 +183,7 @@ class Predictor {
182
183
  .collectRewards()
183
184
  .accounts({
184
185
  signer: authority,
186
+ payer: this.rpcOptions.payer,
185
187
  predictor: predictorPDA
186
188
  })
187
189
  .instruction()
@@ -456,6 +456,11 @@
456
456
  "writable": true,
457
457
  "signer": true
458
458
  },
459
+ {
460
+ "name": "payer",
461
+ "writable": true,
462
+ "signer": true
463
+ },
459
464
  {
460
465
  "name": "central",
461
466
  "writable": true,
@@ -1927,6 +1932,11 @@
1927
1932
  "writable": true,
1928
1933
  "signer": true
1929
1934
  },
1935
+ {
1936
+ "name": "payer",
1937
+ "writable": true,
1938
+ "signer": true
1939
+ },
1930
1940
  {
1931
1941
  "name": "central",
1932
1942
  "writable": true,
@@ -2644,10 +2654,6 @@
2644
2654
  "name": "bump",
2645
2655
  "type": "u8"
2646
2656
  },
2647
- {
2648
- "name": "balance",
2649
- "type": "u64"
2650
- },
2651
2657
  {
2652
2658
  "name": "is_locked",
2653
2659
  "type": "bool"
@@ -2667,7 +2673,7 @@
2667
2673
  {
2668
2674
  "name": "padding",
2669
2675
  "type": {
2670
- "array": ["u8", 287]
2676
+ "array": ["u8", 295]
2671
2677
  }
2672
2678
  }
2673
2679
  ]
@@ -619,6 +619,11 @@ export type TriadProtocol = {
619
619
  writable: true;
620
620
  signer: true;
621
621
  },
622
+ {
623
+ name: 'payer';
624
+ writable: true;
625
+ signer: true;
626
+ },
622
627
  {
623
628
  name: 'central';
624
629
  writable: true;
@@ -2482,6 +2487,11 @@ export type TriadProtocol = {
2482
2487
  writable: true;
2483
2488
  signer: true;
2484
2489
  },
2490
+ {
2491
+ name: 'payer';
2492
+ writable: true;
2493
+ signer: true;
2494
+ },
2485
2495
  {
2486
2496
  name: 'central';
2487
2497
  writable: true;
@@ -3268,10 +3278,6 @@ export type TriadProtocol = {
3268
3278
  name: 'bump';
3269
3279
  type: 'u8';
3270
3280
  },
3271
- {
3272
- name: 'balance';
3273
- type: 'u64';
3274
- },
3275
3281
  {
3276
3282
  name: 'isLocked';
3277
3283
  type: 'bool';
@@ -3291,7 +3297,7 @@ export type TriadProtocol = {
3291
3297
  {
3292
3298
  name: 'padding';
3293
3299
  type: {
3294
- array: ['u8', 287];
3300
+ array: ['u8', 295];
3295
3301
  };
3296
3302
  }
3297
3303
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",