@voltr/vault-sdk 1.0.8 → 1.0.9
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/README.md +1 -0
- package/dist/client.js +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -249,6 +249,7 @@ pendingWithdrawals.forEach((withdrawal, index) => {
|
|
|
249
249
|
- `createCancelRequestWithdrawVaultIx(params)`
|
|
250
250
|
- `createWithdrawVaultIx(params)`
|
|
251
251
|
- `createHarvestFeeIx(params)`
|
|
252
|
+
- `createCreateLpMetadataIx(createLpMetadataArgs, params)`
|
|
252
253
|
|
|
253
254
|
#### Strategy Management
|
|
254
255
|
|
package/dist/client.js
CHANGED
|
@@ -368,12 +368,16 @@ class VoltrClient extends AccountUtils {
|
|
|
368
368
|
* ```
|
|
369
369
|
*/
|
|
370
370
|
async createUpdateVaultIx(vaultConfig, { vault, admin, }) {
|
|
371
|
+
const lpMint = this.findVaultLpMint(vault);
|
|
371
372
|
return await this.vaultProgram.methods
|
|
372
373
|
.updateVault(vaultConfig)
|
|
373
374
|
.accountsPartial({
|
|
374
375
|
admin,
|
|
375
376
|
vault,
|
|
376
377
|
})
|
|
378
|
+
.remainingAccounts([
|
|
379
|
+
{ pubkey: lpMint, isSigner: false, isWritable: false },
|
|
380
|
+
])
|
|
377
381
|
.instruction();
|
|
378
382
|
}
|
|
379
383
|
/**
|