@lavarage/sdk 7.5.20 → 7.5.21
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/index.d.mts +0 -10
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -14
- package/dist/index.mjs.map +1 -1
- package/idl/lavaragev2.ts +0 -20
- package/index.ts +0 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2171,11 +2171,6 @@ type Lavarage = {
|
|
|
2171
2171
|
"isMut": true;
|
|
2172
2172
|
"isSigner": false;
|
|
2173
2173
|
},
|
|
2174
|
-
{
|
|
2175
|
-
"name": "usersTokenAccount";
|
|
2176
|
-
"isMut": true;
|
|
2177
|
-
"isSigner": false;
|
|
2178
|
-
},
|
|
2179
2174
|
{
|
|
2180
2175
|
"name": "collateralTokenProgram";
|
|
2181
2176
|
"isMut": false;
|
|
@@ -2281,11 +2276,6 @@ type Lavarage = {
|
|
|
2281
2276
|
"isMut": true;
|
|
2282
2277
|
"isSigner": false;
|
|
2283
2278
|
},
|
|
2284
|
-
{
|
|
2285
|
-
"name": "usersTokenAccount";
|
|
2286
|
-
"isMut": true;
|
|
2287
|
-
"isSigner": false;
|
|
2288
|
-
},
|
|
2289
2279
|
{
|
|
2290
2280
|
"name": "collateralTokenProgram";
|
|
2291
2281
|
"isMut": false;
|
package/dist/index.d.ts
CHANGED
|
@@ -2171,11 +2171,6 @@ type Lavarage = {
|
|
|
2171
2171
|
"isMut": true;
|
|
2172
2172
|
"isSigner": false;
|
|
2173
2173
|
},
|
|
2174
|
-
{
|
|
2175
|
-
"name": "usersTokenAccount";
|
|
2176
|
-
"isMut": true;
|
|
2177
|
-
"isSigner": false;
|
|
2178
|
-
},
|
|
2179
2174
|
{
|
|
2180
2175
|
"name": "collateralTokenProgram";
|
|
2181
2176
|
"isMut": false;
|
|
@@ -2281,11 +2276,6 @@ type Lavarage = {
|
|
|
2281
2276
|
"isMut": true;
|
|
2282
2277
|
"isSigner": false;
|
|
2283
2278
|
},
|
|
2284
|
-
{
|
|
2285
|
-
"name": "usersTokenAccount";
|
|
2286
|
-
"isMut": true;
|
|
2287
|
-
"isSigner": false;
|
|
2288
|
-
},
|
|
2289
2279
|
{
|
|
2290
2280
|
"name": "collateralTokenProgram";
|
|
2291
2281
|
"isMut": false;
|
package/dist/index.js
CHANGED
|
@@ -3911,11 +3911,6 @@ var IDL3 = {
|
|
|
3911
3911
|
"isMut": true,
|
|
3912
3912
|
"isSigner": false
|
|
3913
3913
|
},
|
|
3914
|
-
{
|
|
3915
|
-
"name": "usersTokenAccount",
|
|
3916
|
-
"isMut": true,
|
|
3917
|
-
"isSigner": false
|
|
3918
|
-
},
|
|
3919
3914
|
{
|
|
3920
3915
|
"name": "collateralTokenProgram",
|
|
3921
3916
|
"isMut": false,
|
|
@@ -4021,11 +4016,6 @@ var IDL3 = {
|
|
|
4021
4016
|
"isMut": true,
|
|
4022
4017
|
"isSigner": false
|
|
4023
4018
|
},
|
|
4024
|
-
{
|
|
4025
|
-
"name": "usersTokenAccount",
|
|
4026
|
-
"isMut": true,
|
|
4027
|
-
"isSigner": false
|
|
4028
|
-
},
|
|
4029
4019
|
{
|
|
4030
4020
|
"name": "collateralTokenProgram",
|
|
4031
4021
|
"isMut": false,
|
|
@@ -5743,7 +5733,6 @@ var borrowV2 = (lavarageProgram, offer, marginSOL, leverage, randomSeed, quoteTo
|
|
|
5743
5733
|
collateralTokenProgram: tokenProgram,
|
|
5744
5734
|
associatedTokenProgram: import_spl_token2.ASSOCIATED_TOKEN_PROGRAM_ID,
|
|
5745
5735
|
collateralMint: offer.account.collateralType,
|
|
5746
|
-
usersTokenAccount: fromTokenAccount.account.address,
|
|
5747
5736
|
quoteMint: quoteToken,
|
|
5748
5737
|
feeRecipient: new import_web32.PublicKey("6JfTobDvwuwZxZP6FR5JPmjdvQ4h4MovkEVH2FPsMSrF")
|
|
5749
5738
|
}).remainingAccounts(
|
|
@@ -5795,7 +5784,6 @@ var borrowV2 = (lavarageProgram, offer, marginSOL, leverage, randomSeed, quoteTo
|
|
|
5795
5784
|
collateralTokenProgram: tokenProgram,
|
|
5796
5785
|
associatedTokenProgram: import_spl_token2.ASSOCIATED_TOKEN_PROGRAM_ID,
|
|
5797
5786
|
collateralMint: offer.account.collateralType,
|
|
5798
|
-
usersTokenAccount: fromTokenAccount.account.address,
|
|
5799
5787
|
quoteMint: quoteToken,
|
|
5800
5788
|
feeRecipient: new import_web32.PublicKey("6JfTobDvwuwZxZP6FR5JPmjdvQ4h4MovkEVH2FPsMSrF")
|
|
5801
5789
|
}).remainingAccounts(
|
|
@@ -6270,7 +6258,6 @@ var openTradeV2 = (lavarageProgram, offer, jupInstruction, marginSOL, leverage,
|
|
|
6270
6258
|
collateralTokenProgram: tokenProgram,
|
|
6271
6259
|
associatedTokenProgram: import_spl_token2.ASSOCIATED_TOKEN_PROGRAM_ID,
|
|
6272
6260
|
collateralMint: offer.account.collateralType,
|
|
6273
|
-
usersTokenAccount: fromTokenAccount.account.address,
|
|
6274
6261
|
quoteMint: quoteToken,
|
|
6275
6262
|
feeRecipient: new import_web32.PublicKey("6JfTobDvwuwZxZP6FR5JPmjdvQ4h4MovkEVH2FPsMSrF")
|
|
6276
6263
|
}).remainingAccounts(
|
|
@@ -6322,7 +6309,6 @@ var openTradeV2 = (lavarageProgram, offer, jupInstruction, marginSOL, leverage,
|
|
|
6322
6309
|
collateralTokenProgram: tokenProgram,
|
|
6323
6310
|
associatedTokenProgram: import_spl_token2.ASSOCIATED_TOKEN_PROGRAM_ID,
|
|
6324
6311
|
collateralMint: offer.account.collateralType,
|
|
6325
|
-
usersTokenAccount: fromTokenAccount.account.address,
|
|
6326
6312
|
quoteMint: quoteToken,
|
|
6327
6313
|
feeRecipient: new import_web32.PublicKey("6JfTobDvwuwZxZP6FR5JPmjdvQ4h4MovkEVH2FPsMSrF")
|
|
6328
6314
|
}).remainingAccounts(
|