@wireio/stake 2.0.0 → 2.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wireio/stake",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "LIQ Staking Module for Wire Network",
5
5
  "homepage": "https://gitea.gitgo.app/Wire/sdk-stake",
6
6
  "license": "FSL-1.1-Apache-2.0",
@@ -518,7 +518,8 @@
518
518
  "writable": true
519
519
  },
520
520
  {
521
- "name": "user"
521
+ "name": "user",
522
+ "writable": true
522
523
  },
523
524
  {
524
525
  "name": "outpost_account",
@@ -902,6 +903,9 @@
902
903
  {
903
904
  "name": "token_program"
904
905
  },
906
+ {
907
+ "name": "associated_token_program"
908
+ },
905
909
  {
906
910
  "name": "system_program"
907
911
  }
@@ -1539,7 +1543,7 @@
1539
1543
  ],
1540
1544
  "accounts": [
1541
1545
  {
1542
- "name": "payer",
1546
+ "name": "admin",
1543
1547
  "writable": true,
1544
1548
  "signer": true
1545
1549
  },
@@ -1547,6 +1551,9 @@
1547
1551
  "name": "metadata",
1548
1552
  "writable": true
1549
1553
  },
1554
+ {
1555
+ "name": "global_config"
1556
+ },
1550
1557
  {
1551
1558
  "name": "system_program"
1552
1559
  }
@@ -1993,6 +2000,7 @@
1993
2000
  "accounts": [
1994
2001
  {
1995
2002
  "name": "admin",
2003
+ "writable": true,
1996
2004
  "signer": true
1997
2005
  },
1998
2006
  {
@@ -2230,7 +2238,7 @@
2230
2238
  "writable": true
2231
2239
  },
2232
2240
  {
2233
- "name": "user_pretoken_record",
2241
+ "name": "pool_pretoken_record",
2234
2242
  "writable": true
2235
2243
  },
2236
2244
  {
@@ -4815,6 +4823,10 @@
4815
4823
  "type": {
4816
4824
  "kind": "struct",
4817
4825
  "fields": [
4826
+ {
4827
+ "name": "receipt_id",
4828
+ "type": "u64"
4829
+ },
4818
4830
  {
4819
4831
  "name": "liqports",
4820
4832
  "type": "u64"
@@ -524,7 +524,8 @@ export type LiqsolCore = {
524
524
  "writable": true
525
525
  },
526
526
  {
527
- "name": "user"
527
+ "name": "user",
528
+ "writable": true
528
529
  },
529
530
  {
530
531
  "name": "outpostAccount",
@@ -908,6 +909,9 @@ export type LiqsolCore = {
908
909
  {
909
910
  "name": "tokenProgram"
910
911
  },
912
+ {
913
+ "name": "associatedTokenProgram"
914
+ },
911
915
  {
912
916
  "name": "systemProgram"
913
917
  }
@@ -1545,7 +1549,7 @@ export type LiqsolCore = {
1545
1549
  ],
1546
1550
  "accounts": [
1547
1551
  {
1548
- "name": "payer",
1552
+ "name": "admin",
1549
1553
  "writable": true,
1550
1554
  "signer": true
1551
1555
  },
@@ -1553,6 +1557,9 @@ export type LiqsolCore = {
1553
1557
  "name": "metadata",
1554
1558
  "writable": true
1555
1559
  },
1560
+ {
1561
+ "name": "globalConfig"
1562
+ },
1556
1563
  {
1557
1564
  "name": "systemProgram"
1558
1565
  }
@@ -1999,6 +2006,7 @@ export type LiqsolCore = {
1999
2006
  "accounts": [
2000
2007
  {
2001
2008
  "name": "admin",
2009
+ "writable": true,
2002
2010
  "signer": true
2003
2011
  },
2004
2012
  {
@@ -2236,7 +2244,7 @@ export type LiqsolCore = {
2236
2244
  "writable": true
2237
2245
  },
2238
2246
  {
2239
- "name": "userPretokenRecord",
2247
+ "name": "poolPretokenRecord",
2240
2248
  "writable": true
2241
2249
  },
2242
2250
  {
@@ -4821,6 +4829,10 @@ export type LiqsolCore = {
4821
4829
  "type": {
4822
4830
  "kind": "struct",
4823
4831
  "fields": [
4832
+ {
4833
+ "name": "receiptId",
4834
+ "type": "u64"
4835
+ },
4824
4836
  {
4825
4837
  "name": "liqports",
4826
4838
  "type": "u64"
@@ -518,7 +518,8 @@
518
518
  "writable": true
519
519
  },
520
520
  {
521
- "name": "user"
521
+ "name": "user",
522
+ "writable": true
522
523
  },
523
524
  {
524
525
  "name": "outpost_account",
@@ -902,6 +903,9 @@
902
903
  {
903
904
  "name": "token_program"
904
905
  },
906
+ {
907
+ "name": "associated_token_program"
908
+ },
905
909
  {
906
910
  "name": "system_program"
907
911
  }
@@ -1539,7 +1543,7 @@
1539
1543
  ],
1540
1544
  "accounts": [
1541
1545
  {
1542
- "name": "payer",
1546
+ "name": "admin",
1543
1547
  "writable": true,
1544
1548
  "signer": true
1545
1549
  },
@@ -1547,6 +1551,9 @@
1547
1551
  "name": "metadata",
1548
1552
  "writable": true
1549
1553
  },
1554
+ {
1555
+ "name": "global_config"
1556
+ },
1550
1557
  {
1551
1558
  "name": "system_program"
1552
1559
  }
@@ -1993,6 +2000,7 @@
1993
2000
  "accounts": [
1994
2001
  {
1995
2002
  "name": "admin",
2003
+ "writable": true,
1996
2004
  "signer": true
1997
2005
  },
1998
2006
  {
@@ -2230,7 +2238,7 @@
2230
2238
  "writable": true
2231
2239
  },
2232
2240
  {
2233
- "name": "user_pretoken_record",
2241
+ "name": "pool_pretoken_record",
2234
2242
  "writable": true
2235
2243
  },
2236
2244
  {
@@ -4815,6 +4823,10 @@
4815
4823
  "type": {
4816
4824
  "kind": "struct",
4817
4825
  "fields": [
4826
+ {
4827
+ "name": "receipt_id",
4828
+ "type": "u64"
4829
+ },
4818
4830
  {
4819
4831
  "name": "liqports",
4820
4832
  "type": "u64"
@@ -524,7 +524,8 @@ export type LiqsolCore = {
524
524
  "writable": true
525
525
  },
526
526
  {
527
- "name": "user"
527
+ "name": "user",
528
+ "writable": true
528
529
  },
529
530
  {
530
531
  "name": "outpostAccount",
@@ -908,6 +909,9 @@ export type LiqsolCore = {
908
909
  {
909
910
  "name": "tokenProgram"
910
911
  },
912
+ {
913
+ "name": "associatedTokenProgram"
914
+ },
911
915
  {
912
916
  "name": "systemProgram"
913
917
  }
@@ -1545,7 +1549,7 @@ export type LiqsolCore = {
1545
1549
  ],
1546
1550
  "accounts": [
1547
1551
  {
1548
- "name": "payer",
1552
+ "name": "admin",
1549
1553
  "writable": true,
1550
1554
  "signer": true
1551
1555
  },
@@ -1553,6 +1557,9 @@ export type LiqsolCore = {
1553
1557
  "name": "metadata",
1554
1558
  "writable": true
1555
1559
  },
1560
+ {
1561
+ "name": "globalConfig"
1562
+ },
1556
1563
  {
1557
1564
  "name": "systemProgram"
1558
1565
  }
@@ -1999,6 +2006,7 @@ export type LiqsolCore = {
1999
2006
  "accounts": [
2000
2007
  {
2001
2008
  "name": "admin",
2009
+ "writable": true,
2002
2010
  "signer": true
2003
2011
  },
2004
2012
  {
@@ -2236,7 +2244,7 @@ export type LiqsolCore = {
2236
2244
  "writable": true
2237
2245
  },
2238
2246
  {
2239
- "name": "userPretokenRecord",
2247
+ "name": "poolPretokenRecord",
2240
2248
  "writable": true
2241
2249
  },
2242
2250
  {
@@ -4821,6 +4829,10 @@ export type LiqsolCore = {
4821
4829
  "type": {
4822
4830
  "kind": "struct",
4823
4831
  "fields": [
4832
+ {
4833
+ "name": "receiptId",
4834
+ "type": "u64"
4835
+ },
4824
4836
  {
4825
4837
  "name": "liqports",
4826
4838
  "type": "u64"
@@ -366,9 +366,6 @@ export class EthereumStakingClient implements IStakingClient {
366
366
  * SUPPORTS READ-ONLY ACcESS
367
367
  */
368
368
  async getTrancheSnapshot(chainID: ChainID): Promise<TrancheSnapshot> {
369
-
370
- console.log('getTrancheSnapshot', chainID);
371
-
372
369
  try {
373
370
  const blockNumber = await this.provider.getBlockNumber();
374
371
  const blockTag = { blockTag: blockNumber };
@@ -22,13 +22,12 @@ import {
22
22
  } from '@solana/spl-token';
23
23
  import * as multisig from "@sqds/multisig";
24
24
 
25
- import { SolanaProgramService } from '../program';
26
- import type { LiqsolCore } from '../../../assets/solana/devnet/types/liqsol_core';
25
+ import { LiqsolCoreClientIdl, SolanaProgramService } from '../program';
27
26
 
28
27
  import { GlobalAccount, WalletLike } from '../types';
29
28
 
30
29
  export class DepositClient {
31
- private program: Program<LiqsolCore>;
30
+ private program: Program<LiqsolCoreClientIdl>;
32
31
 
33
32
  get connection() {
34
33
  return this.provider.connection;
@@ -142,125 +141,123 @@ export class DepositClient {
142
141
  .instruction();
143
142
  }
144
143
 
145
-
146
-
147
- async buildSquadsDepositProposalTx(params: {
148
- connection: Connection;
149
- multisigPda: PublicKey;
150
- amountLamports: bigint;
151
- wallet: WalletLikeSigner; // your WalletLikeSigner type
152
- vaultIndex?: number;
153
- }): Promise<{
154
- tx: Transaction;
155
- transactionIndex: bigint;
156
- vaultPda: PublicKey;
157
- }> {
158
- const { connection, multisigPda, amountLamports, wallet } = params;
159
- const vaultIndex = params.vaultIndex ?? 0;
160
-
161
- if (!wallet?.publicKey) throw new Error("wallet.publicKey missing");
162
- if (!amountLamports || amountLamports <= BigInt(0)) throw new Error("amountLamports must be > 0");
163
-
164
- // 1) vault PDA
165
- const [vaultPda] = multisig.getVaultPda({ multisigPda, index: vaultIndex });
166
-
167
- // 2) build deposit ix where `user` = vaultPda (off-curve OK)
168
- const depositBuilt = await this.buildDepositIxForUser(amountLamports, vaultPda);
169
-
170
- // 3) compute next transactionIndex (best-effort; see note below)
171
- const ms = await multisig.accounts.Multisig.fromAccountAddress(connection, multisigPda);
172
- const current = BigInt((ms as any).transactionIndex?.toString?.() ?? 0);
173
- const transactionIndex = current + BigInt(1);
174
-
175
- // 4) inner message uses vault as payer
176
- const { blockhash } = await connection.getLatestBlockhash("confirmed");
177
- const message = new TransactionMessage({
178
- payerKey: vaultPda,
179
- recentBlockhash: blockhash,
180
- instructions: [depositBuilt.ix],
181
- });
182
-
183
- // 5) squads instructions (no rpc.*)
184
- const createVaultTxIx = await multisig.instructions.vaultTransactionCreate({
185
- multisigPda,
186
- transactionIndex,
187
- creator: wallet.publicKey,
188
- vaultIndex,
189
- ephemeralSigners: 0,
190
- transactionMessage: message,
191
- });
192
-
193
- // const createProposalIx = await multisig.instructions.proposalCreate({
194
- // multisigPda,
195
- // transactionIndex,
196
- // creator: wallet.publicKey,
197
- // });
198
- // console.log('createVaultTxIx', createVaultTxIx);
199
-
200
-
201
- // 6) return a normal Transaction for your pipeline
202
- const tx = new Transaction().add(createVaultTxIx);
203
-
204
- return { tx, transactionIndex, vaultPda };
205
- }
206
-
207
- async buildSquadsDepositProposalTx2(params: {
208
- connection: Connection;
209
- multisigPda: PublicKey;
210
- amountLamports: bigint;
211
- wallet: WalletLikeSigner; // your WalletLikeSigner type
212
- vaultIndex?: number;
213
- }): Promise<{
214
- tx: Transaction;
215
- transactionIndex: bigint;
216
- vaultPda: PublicKey;
217
- }> {
218
- const { connection, multisigPda, amountLamports, wallet } = params;
219
- const vaultIndex = params.vaultIndex ?? 0;
220
-
221
- if (!wallet?.publicKey) throw new Error("wallet.publicKey missing");
222
- if (!amountLamports || amountLamports <= BigInt(0)) throw new Error("amountLamports must be > 0");
223
-
224
- // 1) vault PDA
225
- const [vaultPda] = multisig.getVaultPda({ multisigPda, index: vaultIndex });
226
-
227
- // 2) build deposit ix where `user` = vaultPda (off-curve OK)
228
- const depositBuilt = await this.buildDepositIxForUser(amountLamports, vaultPda);
229
-
230
- // 3) compute next transactionIndex (best-effort; see note below)
231
- const ms = await multisig.accounts.Multisig.fromAccountAddress(connection, multisigPda);
232
- const current = BigInt(ms.transactionIndex?.toString?.() ?? 0);
233
- const transactionIndex = current + BigInt(1);
234
-
235
- // 4) inner message uses vault as payer
236
- const { blockhash } = await connection.getLatestBlockhash("confirmed");
237
- const message = new TransactionMessage({
238
- payerKey: vaultPda,
239
- recentBlockhash: blockhash,
240
- instructions: [depositBuilt.ix],
241
- });
242
-
243
- // 5) squads instructions (no rpc.*)
244
- // const createVaultTxIx = await multisig.instructions.vaultTransactionCreate({
245
- // multisigPda,
246
- // transactionIndex,
247
- // creator: wallet.publicKey,
248
- // vaultIndex,
249
- // ephemeralSigners: 0,
250
- // transactionMessage: message,
251
- // });
252
-
253
- const createProposalIx = await multisig.instructions.proposalCreate({
254
- multisigPda,
255
- transactionIndex,
256
- creator: wallet.publicKey,
257
- });
258
-
259
- // 6) return a normal Transaction for your pipeline
260
- const tx = new Transaction().add(createProposalIx);
261
-
262
- return { tx, transactionIndex, vaultPda };
263
- }
144
+ // async buildSquadsDepositProposalTx(params: {
145
+ // connection: Connection;
146
+ // multisigPda: PublicKey;
147
+ // amountLamports: bigint;
148
+ // wallet: WalletLikeSigner; // your WalletLikeSigner type
149
+ // vaultIndex?: number;
150
+ // }): Promise<{
151
+ // tx: Transaction;
152
+ // transactionIndex: bigint;
153
+ // vaultPda: PublicKey;
154
+ // }> {
155
+ // const { connection, multisigPda, amountLamports, wallet } = params;
156
+ // const vaultIndex = params.vaultIndex ?? 0;
157
+
158
+ // if (!wallet?.publicKey) throw new Error("wallet.publicKey missing");
159
+ // if (!amountLamports || amountLamports <= BigInt(0)) throw new Error("amountLamports must be > 0");
160
+
161
+ // // 1) vault PDA
162
+ // const [vaultPda] = multisig.getVaultPda({ multisigPda, index: vaultIndex });
163
+
164
+ // // 2) build deposit ix where `user` = vaultPda (off-curve OK)
165
+ // const depositBuilt = await this.buildDepositIxForUser(amountLamports, vaultPda);
166
+
167
+ // // 3) compute next transactionIndex (best-effort; see note below)
168
+ // const ms = await multisig.accounts.Multisig.fromAccountAddress(connection, multisigPda);
169
+ // const current = BigInt((ms as any).transactionIndex?.toString?.() ?? 0);
170
+ // const transactionIndex = current + BigInt(1);
171
+
172
+ // // 4) inner message uses vault as payer
173
+ // const { blockhash } = await connection.getLatestBlockhash("confirmed");
174
+ // const message = new TransactionMessage({
175
+ // payerKey: vaultPda,
176
+ // recentBlockhash: blockhash,
177
+ // instructions: [depositBuilt.ix],
178
+ // });
179
+
180
+ // // 5) squads instructions (no rpc.*)
181
+ // const createVaultTxIx = await multisig.instructions.vaultTransactionCreate({
182
+ // multisigPda,
183
+ // transactionIndex,
184
+ // creator: wallet.publicKey,
185
+ // vaultIndex,
186
+ // ephemeralSigners: 0,
187
+ // transactionMessage: message,
188
+ // });
189
+
190
+ // // const createProposalIx = await multisig.instructions.proposalCreate({
191
+ // // multisigPda,
192
+ // // transactionIndex,
193
+ // // creator: wallet.publicKey,
194
+ // // });
195
+ // // console.log('createVaultTxIx', createVaultTxIx);
196
+
197
+
198
+ // // 6) return a normal Transaction for your pipeline
199
+ // const tx = new Transaction().add(createVaultTxIx);
200
+
201
+ // return { tx, transactionIndex, vaultPda };
202
+ // }
203
+
204
+ // async buildSquadsDepositProposalTx2(params: {
205
+ // connection: Connection;
206
+ // multisigPda: PublicKey;
207
+ // amountLamports: bigint;
208
+ // wallet: WalletLikeSigner; // your WalletLikeSigner type
209
+ // vaultIndex?: number;
210
+ // }): Promise<{
211
+ // tx: Transaction;
212
+ // transactionIndex: bigint;
213
+ // vaultPda: PublicKey;
214
+ // }> {
215
+ // const { connection, multisigPda, amountLamports, wallet } = params;
216
+ // const vaultIndex = params.vaultIndex ?? 0;
217
+
218
+ // if (!wallet?.publicKey) throw new Error("wallet.publicKey missing");
219
+ // if (!amountLamports || amountLamports <= BigInt(0)) throw new Error("amountLamports must be > 0");
220
+
221
+ // // 1) vault PDA
222
+ // const [vaultPda] = multisig.getVaultPda({ multisigPda, index: vaultIndex });
223
+
224
+ // // 2) build deposit ix where `user` = vaultPda (off-curve OK)
225
+ // const depositBuilt = await this.buildDepositIxForUser(amountLamports, vaultPda);
226
+
227
+ // // 3) compute next transactionIndex (best-effort; see note below)
228
+ // const ms = await multisig.accounts.Multisig.fromAccountAddress(connection, multisigPda);
229
+ // const current = BigInt(ms.transactionIndex?.toString?.() ?? 0);
230
+ // const transactionIndex = current + BigInt(1);
231
+
232
+ // // 4) inner message uses vault as payer
233
+ // const { blockhash } = await connection.getLatestBlockhash("confirmed");
234
+ // const message = new TransactionMessage({
235
+ // payerKey: vaultPda,
236
+ // recentBlockhash: blockhash,
237
+ // instructions: [depositBuilt.ix],
238
+ // });
239
+
240
+ // // 5) squads instructions (no rpc.*)
241
+ // // const createVaultTxIx = await multisig.instructions.vaultTransactionCreate({
242
+ // // multisigPda,
243
+ // // transactionIndex,
244
+ // // creator: wallet.publicKey,
245
+ // // vaultIndex,
246
+ // // ephemeralSigners: 0,
247
+ // // transactionMessage: message,
248
+ // // });
249
+
250
+ // const createProposalIx = await multisig.instructions.proposalCreate({
251
+ // multisigPda,
252
+ // transactionIndex,
253
+ // creator: wallet.publicKey,
254
+ // });
255
+
256
+ // // 6) return a normal Transaction for your pipeline
257
+ // const tx = new Transaction().add(createProposalIx);
258
+
259
+ // return { tx, transactionIndex, vaultPda };
260
+ // }
264
261
 
265
262
 
266
263
 
@@ -1,7 +1,7 @@
1
1
  import { AnchorProvider, Program, BN } from '@coral-xyz/anchor';
2
2
  import { PublicKey } from '@solana/web3.js';
3
3
 
4
- import { SolanaProgramService } from '../program';
4
+ import { LiqsolCoreClientIdl, SolanaProgramService } from '../program';
5
5
  import type { LiqsolCore } from '../../../assets/solana/devnet/types/liqsol_core';
6
6
  import type { DistributionState, DistributionUserRecord, GlobalConfig, PayRateEntry, PayRateHistory } from '../types';
7
7
  import { getAssociatedTokenAddressSync, TOKEN_2022_PROGRAM_ID } from '@solana/spl-token';
@@ -26,7 +26,7 @@ import { ceilDiv } from '../utils';
26
26
  * - DistributionState + UserRecord track *shares* for yield.
27
27
  */
28
28
  export class DistributionClient {
29
- private program: Program<LiqsolCore>;
29
+ private program: Program<LiqsolCoreClientIdl>;
30
30
 
31
31
  constructor(
32
32
  private readonly provider: AnchorProvider,
@@ -1,7 +1,7 @@
1
1
  import { AnchorProvider, Program } from '@coral-xyz/anchor';
2
2
  import { PublicKey } from '@solana/web3.js';
3
3
 
4
- import { SolanaProgramService } from '../program';
4
+ import { SolanaProgramService, ValidatorLeaderboardClientIdl } from '../program';
5
5
  import type { ValidatorLeaderboard } from '../../../assets/solana/devnet/types/validator_leaderboard';
6
6
  import { LeaderboardState, ValidatorRecord } from '../types';
7
7
 
@@ -11,7 +11,7 @@ import { LeaderboardState, ValidatorRecord } from '../types';
11
11
  * Adjust account names/fields to match your IDL (state, validatorRecord, etc).
12
12
  */
13
13
  export class LeaderboardClient {
14
- private program: Program<ValidatorLeaderboard>;
14
+ private program: Program<ValidatorLeaderboardClientIdl>;
15
15
 
16
16
  constructor(
17
17
  private readonly provider: AnchorProvider,
@@ -23,7 +23,7 @@ import {
23
23
  WalletLike,
24
24
  } from '../types';
25
25
  import { INDEX_SCALE } from '../constants';
26
- import { SolanaProgramService } from '../program';
26
+ import { LiqsolCoreClientIdl, SolanaProgramService } from '../program';
27
27
 
28
28
  /**
29
29
  * OutpostClient
@@ -41,7 +41,7 @@ import { SolanaProgramService } from '../program';
41
41
  * in sync with the on-chain PDAs and capital-staking Wire utils.
42
42
  */
43
43
  export class OutpostClient {
44
- private readonly program: Program<LiqsolCore>;
44
+ private readonly program: Program<LiqsolCoreClientIdl>;
45
45
 
46
46
  constructor(
47
47
  private readonly provider: AnchorProvider,
@@ -58,14 +58,6 @@ export class OutpostClient {
58
58
  return this.provider.wallet as unknown as WalletLike;
59
59
  }
60
60
 
61
- /**
62
- * Expose the raw Program in case callers need to build custom
63
- * instructions outside this client.
64
- */
65
- get liqsolCoreProgram(): Program<LiqsolCore> {
66
- return this.program;
67
- }
68
-
69
61
  /**
70
62
  * Build all outpost-related PDAs / ATAs for a given user.
71
63
  * Defaults to the connected wallet.
@@ -218,6 +210,7 @@ export class OutpostClient {
218
210
  outpostAccount: a.outpostAccount,
219
211
  tokenProgram: TOKEN_2022_PROGRAM_ID,
220
212
  systemProgram: SystemProgram.programId,
213
+ associatedTokenProgram: ASSOCIATED_TOKEN_PROGRAM_ID,
221
214
  })
222
215
  .instruction();
223
216
  }
@@ -11,7 +11,7 @@ import {
11
11
  type OutpostAccounts,
12
12
  } from '../utils';
13
13
 
14
- import { SolanaProgramService } from '../program';
14
+ import { LiqsolCoreClientIdl, SolanaProgramService } from '../program';
15
15
  import type { LiqsolCore } from '../../../assets/solana/devnet/types/liqsol_core';
16
16
 
17
17
  import {
@@ -29,7 +29,7 @@ import {
29
29
  } from '../constants';
30
30
 
31
31
  export class TokenClient {
32
- private readonly program: Program<LiqsolCore>;
32
+ private readonly program: Program<LiqsolCoreClientIdl>;
33
33
 
34
34
  get wallet(): WalletLike {
35
35
  return this.provider.wallet;