@hawksightco/hawk-sdk 1.3.10 → 1.3.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/CHANGELOG.md +135 -0
- package/README.md +306 -10
- package/dist/src/addresses.d.ts +3 -0
- package/dist/src/addresses.d.ts.map +1 -1
- package/dist/src/addresses.js +21 -8
- package/dist/src/anchor.d.ts +1 -0
- package/dist/src/anchor.d.ts.map +1 -1
- package/dist/src/anchor.js +17 -7
- package/dist/src/classes/Atomicity.d.ts.map +1 -1
- package/dist/src/classes/Client.js +17 -7
- package/dist/src/classes/CombineTransactions.js +17 -7
- package/dist/src/classes/CreateTxMetadata.js +17 -7
- package/dist/src/classes/General.js +17 -7
- package/dist/src/classes/HawkAPI.d.ts.map +1 -1
- package/dist/src/classes/JupiterAlts.js +17 -7
- package/dist/src/classes/Logging.js +2 -3
- package/dist/src/classes/MultiTransaction.js +19 -9
- package/dist/src/classes/RaydiumSDK.js +3 -3
- package/dist/src/classes/SimpleIxGenerator.d.ts.map +1 -1
- package/dist/src/classes/SimpleIxGenerator.js +1 -1
- package/dist/src/classes/Transaction.js +17 -7
- package/dist/src/classes/Transaction2.js +17 -7
- package/dist/src/classes/Transaction3.js +17 -7
- package/dist/src/classes/TransactionBatchExecute.d.ts.map +1 -1
- package/dist/src/classes/TransactionBatchExecute.js +17 -7
- package/dist/src/classes/TransactionBatchExecute2.js +17 -7
- package/dist/src/classes/Transactions.d.ts +4 -0
- package/dist/src/classes/Transactions.d.ts.map +1 -1
- package/dist/src/classes/Transactions.js +54 -33
- package/dist/src/classes/TxGenerator.d.ts.map +1 -1
- package/dist/src/classes/TxGenerator.js +20 -7
- package/dist/src/classes/TxGeneratorAutomations.js +17 -7
- package/dist/src/classes/account-cache/AccountCache.d.ts +0 -1
- package/dist/src/classes/account-cache/AccountCache.d.ts.map +1 -1
- package/dist/src/classes/account-cache/AccountCache.js +17 -7
- package/dist/src/functions.d.ts +5 -6
- package/dist/src/functions.d.ts.map +1 -1
- package/dist/src/functions.js +76 -72
- package/dist/src/hawksight.js +24 -15
- package/dist/src/hsToMeteora.js +429 -13
- package/dist/src/idl/iyf-extension-idl.d.ts +1582 -571
- package/dist/src/idl/iyf-extension-idl.d.ts.map +1 -1
- package/dist/src/idl/iyf-extension-idl.js +1582 -571
- package/dist/src/idl/iyf-main-idl.d.ts +121 -0
- package/dist/src/idl/iyf-main-idl.d.ts.map +1 -1
- package/dist/src/idl/iyf-main-idl.js +121 -0
- package/dist/src/idl/jupiter-idl.d.ts +58 -5
- package/dist/src/idl/jupiter-idl.d.ts.map +1 -1
- package/dist/src/idl/jupiter-idl.js +58 -5
- package/dist/src/ixGenerator/IyfExtensionIxGenerator.d.ts.map +1 -1
- package/dist/src/ixGenerator/IyfExtensionIxGenerator.js +17 -7
- package/dist/src/ixGenerator/IyfMainIxGenerator.d.ts +7 -1
- package/dist/src/ixGenerator/IyfMainIxGenerator.d.ts.map +1 -1
- package/dist/src/ixGenerator/IyfMainIxGenerator.js +40 -7
- package/dist/src/ixGenerator/MeteoraDlmmIxGenerator.js +17 -7
- package/dist/src/ixGenerator/OrcaIxGenerator.d.ts +67 -2
- package/dist/src/ixGenerator/OrcaIxGenerator.d.ts.map +1 -1
- package/dist/src/ixGenerator/OrcaIxGenerator.js +232 -10
- package/dist/src/ixGenerator/RaydiumIxGenerator.js +20 -10
- package/dist/src/meteora.d.ts +1 -1
- package/dist/src/meteora.d.ts.map +1 -1
- package/dist/src/meteora.js +32 -7
- package/dist/src/orca.js +23 -13
- package/dist/src/pdaGenerator/HawksightPdaGenerator.js +17 -7
- package/dist/src/pdaGenerator/OrcaPdaGenerator.d.ts +8 -0
- package/dist/src/pdaGenerator/OrcaPdaGenerator.d.ts.map +1 -1
- package/dist/src/pdaGenerator/OrcaPdaGenerator.js +30 -7
- package/dist/src/pdaGenerator/RaydiumPdaGenerator.js +17 -7
- package/dist/src/pdaGenerator/UtilPdaGenerator.js +17 -7
- package/dist/src/types.d.ts +4 -0
- package/dist/src/types.d.ts.map +1 -1
- package/package.json +20 -3
|
@@ -2006,6 +2006,147 @@ exports.IDL = {
|
|
|
2006
2006
|
}
|
|
2007
2007
|
]
|
|
2008
2008
|
},
|
|
2009
|
+
{
|
|
2010
|
+
"name": "limitOrderCloseV2",
|
|
2011
|
+
"docs": [
|
|
2012
|
+
"Meteora Limit Close Position with 20% Fee V2 (using closePosition2)"
|
|
2013
|
+
],
|
|
2014
|
+
"discriminator": [
|
|
2015
|
+
27,
|
|
2016
|
+
63,
|
|
2017
|
+
189,
|
|
2018
|
+
240,
|
|
2019
|
+
84,
|
|
2020
|
+
193,
|
|
2021
|
+
162,
|
|
2022
|
+
112
|
|
2023
|
+
],
|
|
2024
|
+
"accounts": [
|
|
2025
|
+
{
|
|
2026
|
+
"name": "userPda",
|
|
2027
|
+
"docs": [
|
|
2028
|
+
"Hawksight user pda"
|
|
2029
|
+
]
|
|
2030
|
+
},
|
|
2031
|
+
{
|
|
2032
|
+
"name": "hawksightAuthority",
|
|
2033
|
+
"docs": [
|
|
2034
|
+
"Rebalancer which is hard coded to be a Hawksight rebalance wallet"
|
|
2035
|
+
],
|
|
2036
|
+
"writable": true,
|
|
2037
|
+
"signer": true
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
"name": "authority",
|
|
2041
|
+
"docs": [
|
|
2042
|
+
"User wallet",
|
|
2043
|
+
"* No need to check"
|
|
2044
|
+
],
|
|
2045
|
+
"writable": true,
|
|
2046
|
+
"relations": [
|
|
2047
|
+
"userPda"
|
|
2048
|
+
]
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
"name": "position",
|
|
2052
|
+
"writable": true
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
"name": "lbPair",
|
|
2056
|
+
"writable": true
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
"name": "binArrayBitmapExtension",
|
|
2060
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
"name": "limitTokenX",
|
|
2064
|
+
"writable": true
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"name": "limitTokenY",
|
|
2068
|
+
"writable": true
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"name": "authorityTokenX",
|
|
2072
|
+
"docs": [
|
|
2073
|
+
"User wallet's Token X Account",
|
|
2074
|
+
"Set to unchecked to allow uninitialized account (for case of wSOL token)"
|
|
2075
|
+
],
|
|
2076
|
+
"writable": true
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
"name": "authorityTokenY",
|
|
2080
|
+
"docs": [
|
|
2081
|
+
"User wallet's Token Y Account",
|
|
2082
|
+
"Set to unchecked to allow uninitialized account (for case of wSOL token)"
|
|
2083
|
+
],
|
|
2084
|
+
"writable": true
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
"name": "systemProgram",
|
|
2088
|
+
"address": "11111111111111111111111111111111"
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
"name": "reserveX",
|
|
2092
|
+
"writable": true
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
"name": "reserveY",
|
|
2096
|
+
"writable": true
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"name": "tokenXMint"
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
"name": "tokenYMint"
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"name": "tokenProgram"
|
|
2106
|
+
},
|
|
2107
|
+
{
|
|
2108
|
+
"name": "rent",
|
|
2109
|
+
"address": "SysvarRent111111111111111111111111111111111"
|
|
2110
|
+
},
|
|
2111
|
+
{
|
|
2112
|
+
"name": "binArrayLower",
|
|
2113
|
+
"writable": true
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"name": "binArrayUpper",
|
|
2117
|
+
"writable": true
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"name": "eventAuthority"
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
"name": "meteoraDlmmProgram",
|
|
2124
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"name": "ownerFeeX",
|
|
2128
|
+
"writable": true
|
|
2129
|
+
},
|
|
2130
|
+
{
|
|
2131
|
+
"name": "ownerFeeY",
|
|
2132
|
+
"writable": true
|
|
2133
|
+
}
|
|
2134
|
+
],
|
|
2135
|
+
"args": [
|
|
2136
|
+
{
|
|
2137
|
+
"name": "param",
|
|
2138
|
+
"type": "bytes"
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"name": "minBinId",
|
|
2142
|
+
"type": "i32"
|
|
2143
|
+
},
|
|
2144
|
+
{
|
|
2145
|
+
"name": "maxBinId",
|
|
2146
|
+
"type": "i32"
|
|
2147
|
+
}
|
|
2148
|
+
]
|
|
2149
|
+
},
|
|
2009
2150
|
{
|
|
2010
2151
|
"name": "meteoraDlmmClaimFee",
|
|
2011
2152
|
"docs": [
|
|
@@ -2246,6 +2387,117 @@ exports.IDL = {
|
|
|
2246
2387
|
}
|
|
2247
2388
|
]
|
|
2248
2389
|
},
|
|
2390
|
+
{
|
|
2391
|
+
"name": "meteoraDlmmClaimFee2Automation",
|
|
2392
|
+
"docs": [
|
|
2393
|
+
"Meteora DLMM Claim Fee IX Automation"
|
|
2394
|
+
],
|
|
2395
|
+
"discriminator": [
|
|
2396
|
+
165,
|
|
2397
|
+
106,
|
|
2398
|
+
93,
|
|
2399
|
+
125,
|
|
2400
|
+
144,
|
|
2401
|
+
8,
|
|
2402
|
+
104,
|
|
2403
|
+
62
|
|
2404
|
+
],
|
|
2405
|
+
"accounts": [
|
|
2406
|
+
{
|
|
2407
|
+
"name": "userPda",
|
|
2408
|
+
"docs": [
|
|
2409
|
+
"Hawksight user pda"
|
|
2410
|
+
]
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"name": "authority",
|
|
2414
|
+
"docs": [
|
|
2415
|
+
"User wallet",
|
|
2416
|
+
"* No need to check"
|
|
2417
|
+
],
|
|
2418
|
+
"relations": [
|
|
2419
|
+
"userPda"
|
|
2420
|
+
]
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
"name": "hawksightAuthority",
|
|
2424
|
+
"docs": [
|
|
2425
|
+
"Rebalancer which is hard coded to be a Hawksight rebalance wallet"
|
|
2426
|
+
],
|
|
2427
|
+
"writable": true,
|
|
2428
|
+
"signer": true
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"name": "lbPair",
|
|
2432
|
+
"writable": true
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
"name": "position",
|
|
2436
|
+
"writable": true
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
"name": "reserveX",
|
|
2440
|
+
"writable": true
|
|
2441
|
+
},
|
|
2442
|
+
{
|
|
2443
|
+
"name": "reserveY",
|
|
2444
|
+
"writable": true
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"name": "userTokenX",
|
|
2448
|
+
"writable": true
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
"name": "userTokenY",
|
|
2452
|
+
"writable": true
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
"name": "tokenXMint"
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"name": "tokenYMint"
|
|
2459
|
+
},
|
|
2460
|
+
{
|
|
2461
|
+
"name": "tokenProgramX"
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"name": "tokenProgramY"
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
"name": "memoProgram",
|
|
2468
|
+
"address": "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr"
|
|
2469
|
+
},
|
|
2470
|
+
{
|
|
2471
|
+
"name": "eventAuthority"
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
"name": "meteoraDlmmProgram",
|
|
2475
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
2476
|
+
},
|
|
2477
|
+
{
|
|
2478
|
+
"name": "ownerFeeX",
|
|
2479
|
+
"writable": true
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"name": "ownerFeeY",
|
|
2483
|
+
"writable": true
|
|
2484
|
+
}
|
|
2485
|
+
],
|
|
2486
|
+
"args": [
|
|
2487
|
+
{
|
|
2488
|
+
"name": "minBinId",
|
|
2489
|
+
"type": "i32"
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
"name": "maxBinId",
|
|
2493
|
+
"type": "i32"
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"name": "remainingAccountsInfo",
|
|
2497
|
+
"type": "bytes"
|
|
2498
|
+
}
|
|
2499
|
+
]
|
|
2500
|
+
},
|
|
2249
2501
|
{
|
|
2250
2502
|
"name": "meteoraDlmmClaimFeeAutomation",
|
|
2251
2503
|
"docs": [
|
|
@@ -2849,18 +3101,80 @@ exports.IDL = {
|
|
|
2849
3101
|
"args": []
|
|
2850
3102
|
},
|
|
2851
3103
|
{
|
|
2852
|
-
"name": "
|
|
3104
|
+
"name": "meteoraDlmmClosePositionAutomationV2",
|
|
2853
3105
|
"docs": [
|
|
2854
|
-
"Meteora DLMM
|
|
3106
|
+
"Meteora DLMM Close Position Automation V2 (using closePosition2)"
|
|
2855
3107
|
],
|
|
2856
3108
|
"discriminator": [
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
3109
|
+
89,
|
|
3110
|
+
255,
|
|
3111
|
+
135,
|
|
3112
|
+
113,
|
|
3113
|
+
37,
|
|
3114
|
+
62,
|
|
3115
|
+
4,
|
|
3116
|
+
122
|
|
3117
|
+
],
|
|
3118
|
+
"accounts": [
|
|
3119
|
+
{
|
|
3120
|
+
"name": "userPda",
|
|
3121
|
+
"docs": [
|
|
3122
|
+
"Hawksight user pda"
|
|
3123
|
+
]
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
"name": "authority",
|
|
3127
|
+
"docs": [
|
|
3128
|
+
"User wallet",
|
|
3129
|
+
"* No need to check"
|
|
3130
|
+
],
|
|
3131
|
+
"relations": [
|
|
3132
|
+
"userPda"
|
|
3133
|
+
]
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
"name": "hawksightAuthority",
|
|
3137
|
+
"docs": [
|
|
3138
|
+
"Rebalancer which is hard coded to be a Hawksight rebalance wallet"
|
|
3139
|
+
],
|
|
3140
|
+
"writable": true,
|
|
3141
|
+
"signer": true
|
|
3142
|
+
},
|
|
3143
|
+
{
|
|
3144
|
+
"name": "position",
|
|
3145
|
+
"writable": true
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
"name": "lbPair",
|
|
3149
|
+
"writable": true
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
"name": "eventAuthority"
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
"name": "meteoraDlmmProgram",
|
|
3156
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
"name": "fuelAccount",
|
|
3160
|
+
"writable": true
|
|
3161
|
+
}
|
|
3162
|
+
],
|
|
3163
|
+
"args": []
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
"name": "meteoraDlmmDeposit",
|
|
3167
|
+
"docs": [
|
|
3168
|
+
"Meteora DLMM Deposit IX manual (empties user pda ATA to deposit)"
|
|
3169
|
+
],
|
|
3170
|
+
"discriminator": [
|
|
3171
|
+
28,
|
|
3172
|
+
60,
|
|
3173
|
+
78,
|
|
3174
|
+
82,
|
|
3175
|
+
249,
|
|
3176
|
+
184,
|
|
3177
|
+
70,
|
|
2864
3178
|
47
|
|
2865
3179
|
],
|
|
2866
3180
|
"accounts": [
|
|
@@ -3013,6 +3327,303 @@ exports.IDL = {
|
|
|
3013
3327
|
}
|
|
3014
3328
|
]
|
|
3015
3329
|
},
|
|
3330
|
+
{
|
|
3331
|
+
"name": "meteoraDlmmDeposit2",
|
|
3332
|
+
"docs": [
|
|
3333
|
+
"Meteora DLMM Deposit IX manual (empties user pda ATA to deposit)"
|
|
3334
|
+
],
|
|
3335
|
+
"discriminator": [
|
|
3336
|
+
202,
|
|
3337
|
+
49,
|
|
3338
|
+
107,
|
|
3339
|
+
181,
|
|
3340
|
+
87,
|
|
3341
|
+
156,
|
|
3342
|
+
173,
|
|
3343
|
+
94
|
|
3344
|
+
],
|
|
3345
|
+
"accounts": [
|
|
3346
|
+
{
|
|
3347
|
+
"name": "userPda",
|
|
3348
|
+
"docs": [
|
|
3349
|
+
"Hawksight user pda"
|
|
3350
|
+
]
|
|
3351
|
+
},
|
|
3352
|
+
{
|
|
3353
|
+
"name": "authority",
|
|
3354
|
+
"docs": [
|
|
3355
|
+
"User wallet",
|
|
3356
|
+
"* No need to check"
|
|
3357
|
+
],
|
|
3358
|
+
"signer": true,
|
|
3359
|
+
"relations": [
|
|
3360
|
+
"userPda"
|
|
3361
|
+
]
|
|
3362
|
+
},
|
|
3363
|
+
{
|
|
3364
|
+
"name": "position",
|
|
3365
|
+
"writable": true
|
|
3366
|
+
},
|
|
3367
|
+
{
|
|
3368
|
+
"name": "lbPair",
|
|
3369
|
+
"writable": true
|
|
3370
|
+
},
|
|
3371
|
+
{
|
|
3372
|
+
"name": "binArrayBitmapExtension",
|
|
3373
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
3374
|
+
},
|
|
3375
|
+
{
|
|
3376
|
+
"name": "userTokenX",
|
|
3377
|
+
"writable": true
|
|
3378
|
+
},
|
|
3379
|
+
{
|
|
3380
|
+
"name": "userTokenY",
|
|
3381
|
+
"writable": true
|
|
3382
|
+
},
|
|
3383
|
+
{
|
|
3384
|
+
"name": "reserveX",
|
|
3385
|
+
"writable": true
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"name": "reserveY",
|
|
3389
|
+
"writable": true
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
"name": "tokenXMint"
|
|
3393
|
+
},
|
|
3394
|
+
{
|
|
3395
|
+
"name": "tokenYMint"
|
|
3396
|
+
},
|
|
3397
|
+
{
|
|
3398
|
+
"name": "tokenXProgram"
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
"name": "tokenYProgram"
|
|
3402
|
+
},
|
|
3403
|
+
{
|
|
3404
|
+
"name": "eventAuthority"
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"name": "meteoraDlmmProgram",
|
|
3408
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
3409
|
+
}
|
|
3410
|
+
],
|
|
3411
|
+
"args": [
|
|
3412
|
+
{
|
|
3413
|
+
"name": "activeId",
|
|
3414
|
+
"type": "i32"
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
"name": "maxActiveBinSlippage",
|
|
3418
|
+
"type": "i32"
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
"name": "strategyParametersMinBinId",
|
|
3422
|
+
"type": "i32"
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"name": "strategyParametersMaxBinId",
|
|
3426
|
+
"type": "i32"
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"name": "strategyParametersStrategyType",
|
|
3430
|
+
"type": "u8"
|
|
3431
|
+
},
|
|
3432
|
+
{
|
|
3433
|
+
"name": "strategyParametersParameters",
|
|
3434
|
+
"type": {
|
|
3435
|
+
"array": [
|
|
3436
|
+
"u8",
|
|
3437
|
+
64
|
|
3438
|
+
]
|
|
3439
|
+
}
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
"name": "remainingAccountsInfo",
|
|
3443
|
+
"type": "bytes"
|
|
3444
|
+
}
|
|
3445
|
+
]
|
|
3446
|
+
},
|
|
3447
|
+
{
|
|
3448
|
+
"name": "meteoraDlmmDeposit2Automation",
|
|
3449
|
+
"docs": [
|
|
3450
|
+
"Meteora DLMM Deposit IX Automation (with amount)"
|
|
3451
|
+
],
|
|
3452
|
+
"discriminator": [
|
|
3453
|
+
180,
|
|
3454
|
+
169,
|
|
3455
|
+
127,
|
|
3456
|
+
243,
|
|
3457
|
+
205,
|
|
3458
|
+
255,
|
|
3459
|
+
102,
|
|
3460
|
+
164
|
|
3461
|
+
],
|
|
3462
|
+
"accounts": [
|
|
3463
|
+
{
|
|
3464
|
+
"name": "farm",
|
|
3465
|
+
"docs": [
|
|
3466
|
+
"Hawksight multi-index farm"
|
|
3467
|
+
]
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
"name": "userPda",
|
|
3471
|
+
"docs": [
|
|
3472
|
+
"Hawksight user pda"
|
|
3473
|
+
],
|
|
3474
|
+
"pda": {
|
|
3475
|
+
"seeds": [
|
|
3476
|
+
{
|
|
3477
|
+
"kind": "const",
|
|
3478
|
+
"value": [
|
|
3479
|
+
109,
|
|
3480
|
+
117,
|
|
3481
|
+
108,
|
|
3482
|
+
116,
|
|
3483
|
+
105,
|
|
3484
|
+
45,
|
|
3485
|
+
117,
|
|
3486
|
+
115,
|
|
3487
|
+
101,
|
|
3488
|
+
114
|
|
3489
|
+
]
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"kind": "account",
|
|
3493
|
+
"path": "farm"
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
"kind": "account",
|
|
3497
|
+
"path": "authority"
|
|
3498
|
+
}
|
|
3499
|
+
],
|
|
3500
|
+
"program": {
|
|
3501
|
+
"kind": "account",
|
|
3502
|
+
"path": "iyfProgram"
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3506
|
+
{
|
|
3507
|
+
"name": "authority",
|
|
3508
|
+
"docs": [
|
|
3509
|
+
"User wallet",
|
|
3510
|
+
"* No need to check"
|
|
3511
|
+
],
|
|
3512
|
+
"relations": [
|
|
3513
|
+
"userPda"
|
|
3514
|
+
]
|
|
3515
|
+
},
|
|
3516
|
+
{
|
|
3517
|
+
"name": "iyfProgram",
|
|
3518
|
+
"docs": [
|
|
3519
|
+
"Main index yield farming program"
|
|
3520
|
+
],
|
|
3521
|
+
"address": "FqGg2Y1FNxMiGd51Q6UETixQWkF5fB92MysbYogRJb3P"
|
|
3522
|
+
},
|
|
3523
|
+
{
|
|
3524
|
+
"name": "hawksightAuthority",
|
|
3525
|
+
"docs": [
|
|
3526
|
+
"Rebalancer which is hard coded to be a Hawksight rebalance wallet"
|
|
3527
|
+
],
|
|
3528
|
+
"writable": true,
|
|
3529
|
+
"signer": true
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"name": "position",
|
|
3533
|
+
"writable": true
|
|
3534
|
+
},
|
|
3535
|
+
{
|
|
3536
|
+
"name": "lbPair",
|
|
3537
|
+
"writable": true
|
|
3538
|
+
},
|
|
3539
|
+
{
|
|
3540
|
+
"name": "binArrayBitmapExtension",
|
|
3541
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
"name": "userTokenX",
|
|
3545
|
+
"writable": true
|
|
3546
|
+
},
|
|
3547
|
+
{
|
|
3548
|
+
"name": "userTokenY",
|
|
3549
|
+
"writable": true
|
|
3550
|
+
},
|
|
3551
|
+
{
|
|
3552
|
+
"name": "reserveX",
|
|
3553
|
+
"writable": true
|
|
3554
|
+
},
|
|
3555
|
+
{
|
|
3556
|
+
"name": "reserveY",
|
|
3557
|
+
"writable": true
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
"name": "tokenXMint"
|
|
3561
|
+
},
|
|
3562
|
+
{
|
|
3563
|
+
"name": "tokenYMint"
|
|
3564
|
+
},
|
|
3565
|
+
{
|
|
3566
|
+
"name": "tokenXProgram"
|
|
3567
|
+
},
|
|
3568
|
+
{
|
|
3569
|
+
"name": "tokenYProgram"
|
|
3570
|
+
},
|
|
3571
|
+
{
|
|
3572
|
+
"name": "eventAuthority"
|
|
3573
|
+
},
|
|
3574
|
+
{
|
|
3575
|
+
"name": "meteoraDlmmProgram",
|
|
3576
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
3577
|
+
}
|
|
3578
|
+
],
|
|
3579
|
+
"args": [
|
|
3580
|
+
{
|
|
3581
|
+
"name": "userTokenXAmount",
|
|
3582
|
+
"type": {
|
|
3583
|
+
"option": "u64"
|
|
3584
|
+
}
|
|
3585
|
+
},
|
|
3586
|
+
{
|
|
3587
|
+
"name": "userTokenYAmount",
|
|
3588
|
+
"type": {
|
|
3589
|
+
"option": "u64"
|
|
3590
|
+
}
|
|
3591
|
+
},
|
|
3592
|
+
{
|
|
3593
|
+
"name": "activeId",
|
|
3594
|
+
"type": "i32"
|
|
3595
|
+
},
|
|
3596
|
+
{
|
|
3597
|
+
"name": "maxActiveBinSlippage",
|
|
3598
|
+
"type": "i32"
|
|
3599
|
+
},
|
|
3600
|
+
{
|
|
3601
|
+
"name": "strategyParametersMinBinId",
|
|
3602
|
+
"type": "i32"
|
|
3603
|
+
},
|
|
3604
|
+
{
|
|
3605
|
+
"name": "strategyParametersMaxBinId",
|
|
3606
|
+
"type": "i32"
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"name": "strategyParametersStrategyType",
|
|
3610
|
+
"type": "u8"
|
|
3611
|
+
},
|
|
3612
|
+
{
|
|
3613
|
+
"name": "strategyParametersParameters",
|
|
3614
|
+
"type": {
|
|
3615
|
+
"array": [
|
|
3616
|
+
"u8",
|
|
3617
|
+
64
|
|
3618
|
+
]
|
|
3619
|
+
}
|
|
3620
|
+
},
|
|
3621
|
+
{
|
|
3622
|
+
"name": "remainingAccountsInfo",
|
|
3623
|
+
"type": "bytes"
|
|
3624
|
+
}
|
|
3625
|
+
]
|
|
3626
|
+
},
|
|
3016
3627
|
{
|
|
3017
3628
|
"name": "meteoraDlmmDepositAutomation",
|
|
3018
3629
|
"docs": [
|
|
@@ -3458,16 +4069,168 @@ exports.IDL = {
|
|
|
3458
4069
|
"signer": true
|
|
3459
4070
|
},
|
|
3460
4071
|
{
|
|
3461
|
-
"name": "lbPair",
|
|
3462
|
-
"writable": true
|
|
4072
|
+
"name": "lbPair",
|
|
4073
|
+
"writable": true
|
|
4074
|
+
},
|
|
4075
|
+
{
|
|
4076
|
+
"name": "systemProgram",
|
|
4077
|
+
"address": "11111111111111111111111111111111"
|
|
4078
|
+
},
|
|
4079
|
+
{
|
|
4080
|
+
"name": "rent",
|
|
4081
|
+
"address": "SysvarRent111111111111111111111111111111111"
|
|
4082
|
+
},
|
|
4083
|
+
{
|
|
4084
|
+
"name": "eventAuthority"
|
|
4085
|
+
},
|
|
4086
|
+
{
|
|
4087
|
+
"name": "meteoraDlmmProgram",
|
|
4088
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
4089
|
+
}
|
|
4090
|
+
],
|
|
4091
|
+
"args": [
|
|
4092
|
+
{
|
|
4093
|
+
"name": "lowerBinId",
|
|
4094
|
+
"type": "i32"
|
|
4095
|
+
},
|
|
4096
|
+
{
|
|
4097
|
+
"name": "width",
|
|
4098
|
+
"type": "i32"
|
|
4099
|
+
}
|
|
4100
|
+
]
|
|
4101
|
+
},
|
|
4102
|
+
{
|
|
4103
|
+
"name": "meteoraDlmmLimitCloseAutomation",
|
|
4104
|
+
"docs": [
|
|
4105
|
+
"Meteora Limit Close Position"
|
|
4106
|
+
],
|
|
4107
|
+
"discriminator": [
|
|
4108
|
+
250,
|
|
4109
|
+
111,
|
|
4110
|
+
129,
|
|
4111
|
+
110,
|
|
4112
|
+
248,
|
|
4113
|
+
232,
|
|
4114
|
+
87,
|
|
4115
|
+
161
|
|
4116
|
+
],
|
|
4117
|
+
"accounts": [
|
|
4118
|
+
{
|
|
4119
|
+
"name": "farm",
|
|
4120
|
+
"docs": [
|
|
4121
|
+
"Hawksight multi-index farm"
|
|
4122
|
+
]
|
|
4123
|
+
},
|
|
4124
|
+
{
|
|
4125
|
+
"name": "userPda",
|
|
4126
|
+
"docs": [
|
|
4127
|
+
"Hawksight user pda"
|
|
4128
|
+
],
|
|
4129
|
+
"pda": {
|
|
4130
|
+
"seeds": [
|
|
4131
|
+
{
|
|
4132
|
+
"kind": "const",
|
|
4133
|
+
"value": [
|
|
4134
|
+
109,
|
|
4135
|
+
117,
|
|
4136
|
+
108,
|
|
4137
|
+
116,
|
|
4138
|
+
105,
|
|
4139
|
+
45,
|
|
4140
|
+
117,
|
|
4141
|
+
115,
|
|
4142
|
+
101,
|
|
4143
|
+
114
|
|
4144
|
+
]
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
"kind": "account",
|
|
4148
|
+
"path": "farm"
|
|
4149
|
+
},
|
|
4150
|
+
{
|
|
4151
|
+
"kind": "account",
|
|
4152
|
+
"path": "authority"
|
|
4153
|
+
}
|
|
4154
|
+
],
|
|
4155
|
+
"program": {
|
|
4156
|
+
"kind": "account",
|
|
4157
|
+
"path": "iyfProgram"
|
|
4158
|
+
}
|
|
4159
|
+
}
|
|
4160
|
+
},
|
|
4161
|
+
{
|
|
4162
|
+
"name": "authority",
|
|
4163
|
+
"docs": [
|
|
4164
|
+
"User wallet",
|
|
4165
|
+
"* No need to check"
|
|
4166
|
+
],
|
|
4167
|
+
"writable": true,
|
|
4168
|
+
"relations": [
|
|
4169
|
+
"userPda"
|
|
4170
|
+
]
|
|
4171
|
+
},
|
|
4172
|
+
{
|
|
4173
|
+
"name": "iyfProgram",
|
|
4174
|
+
"docs": [
|
|
4175
|
+
"Main index yield farming program"
|
|
4176
|
+
],
|
|
4177
|
+
"address": "FqGg2Y1FNxMiGd51Q6UETixQWkF5fB92MysbYogRJb3P"
|
|
4178
|
+
},
|
|
4179
|
+
{
|
|
4180
|
+
"name": "hawksightAuthority",
|
|
4181
|
+
"docs": [
|
|
4182
|
+
"Rebalancer which is hard coded to be a Hawksight rebalance wallet"
|
|
4183
|
+
],
|
|
4184
|
+
"writable": true,
|
|
4185
|
+
"signer": true
|
|
4186
|
+
},
|
|
4187
|
+
{
|
|
4188
|
+
"name": "position",
|
|
4189
|
+
"writable": true
|
|
4190
|
+
},
|
|
4191
|
+
{
|
|
4192
|
+
"name": "lbPair",
|
|
4193
|
+
"writable": true
|
|
4194
|
+
},
|
|
4195
|
+
{
|
|
4196
|
+
"name": "binArrayBitmapExtension",
|
|
4197
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
4198
|
+
},
|
|
4199
|
+
{
|
|
4200
|
+
"name": "userTokenX",
|
|
4201
|
+
"writable": true
|
|
4202
|
+
},
|
|
4203
|
+
{
|
|
4204
|
+
"name": "userTokenY",
|
|
4205
|
+
"writable": true
|
|
4206
|
+
},
|
|
4207
|
+
{
|
|
4208
|
+
"name": "reserveX",
|
|
4209
|
+
"writable": true
|
|
4210
|
+
},
|
|
4211
|
+
{
|
|
4212
|
+
"name": "reserveY",
|
|
4213
|
+
"writable": true
|
|
4214
|
+
},
|
|
4215
|
+
{
|
|
4216
|
+
"name": "tokenXMint"
|
|
4217
|
+
},
|
|
4218
|
+
{
|
|
4219
|
+
"name": "tokenYMint"
|
|
4220
|
+
},
|
|
4221
|
+
{
|
|
4222
|
+
"name": "tokenXProgram"
|
|
4223
|
+
},
|
|
4224
|
+
{
|
|
4225
|
+
"name": "tokenYProgram"
|
|
3463
4226
|
},
|
|
3464
4227
|
{
|
|
3465
|
-
"name": "
|
|
3466
|
-
"
|
|
4228
|
+
"name": "binArrayLower",
|
|
4229
|
+
"writable": true
|
|
3467
4230
|
},
|
|
3468
4231
|
{
|
|
3469
|
-
"name": "
|
|
3470
|
-
"
|
|
4232
|
+
"name": "binArrayUpper",
|
|
4233
|
+
"writable": true
|
|
3471
4234
|
},
|
|
3472
4235
|
{
|
|
3473
4236
|
"name": "eventAuthority"
|
|
@@ -3475,33 +4238,45 @@ exports.IDL = {
|
|
|
3475
4238
|
{
|
|
3476
4239
|
"name": "meteoraDlmmProgram",
|
|
3477
4240
|
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
4241
|
+
},
|
|
4242
|
+
{
|
|
4243
|
+
"name": "ownerFeeX",
|
|
4244
|
+
"writable": true
|
|
4245
|
+
},
|
|
4246
|
+
{
|
|
4247
|
+
"name": "ownerFeeY",
|
|
4248
|
+
"writable": true
|
|
3478
4249
|
}
|
|
3479
4250
|
],
|
|
3480
4251
|
"args": [
|
|
3481
4252
|
{
|
|
3482
|
-
"name": "
|
|
4253
|
+
"name": "param",
|
|
4254
|
+
"type": "bytes"
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
"name": "minBinId",
|
|
3483
4258
|
"type": "i32"
|
|
3484
4259
|
},
|
|
3485
4260
|
{
|
|
3486
|
-
"name": "
|
|
4261
|
+
"name": "maxBinId",
|
|
3487
4262
|
"type": "i32"
|
|
3488
4263
|
}
|
|
3489
4264
|
]
|
|
3490
4265
|
},
|
|
3491
4266
|
{
|
|
3492
|
-
"name": "
|
|
4267
|
+
"name": "meteoraDlmmLimitCloseAutomation2",
|
|
3493
4268
|
"docs": [
|
|
3494
4269
|
"Meteora Limit Close Position"
|
|
3495
4270
|
],
|
|
3496
4271
|
"discriminator": [
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
4272
|
+
78,
|
|
4273
|
+
30,
|
|
4274
|
+
202,
|
|
4275
|
+
240,
|
|
3500
4276
|
110,
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
161
|
|
4277
|
+
103,
|
|
4278
|
+
85,
|
|
4279
|
+
227
|
|
3505
4280
|
],
|
|
3506
4281
|
"accounts": [
|
|
3507
4282
|
{
|
|
@@ -3649,23 +4424,27 @@ exports.IDL = {
|
|
|
3649
4424
|
{
|
|
3650
4425
|
"name": "maxBinId",
|
|
3651
4426
|
"type": "i32"
|
|
4427
|
+
},
|
|
4428
|
+
{
|
|
4429
|
+
"name": "isHawkRefund",
|
|
4430
|
+
"type": "bool"
|
|
3652
4431
|
}
|
|
3653
4432
|
]
|
|
3654
4433
|
},
|
|
3655
4434
|
{
|
|
3656
|
-
"name": "
|
|
4435
|
+
"name": "meteoraDlmmLimitCloseAutomationV2",
|
|
3657
4436
|
"docs": [
|
|
3658
|
-
"Meteora Limit Close Position"
|
|
4437
|
+
"Meteora Limit Close Position V2 (using closePosition2)"
|
|
3659
4438
|
],
|
|
3660
4439
|
"discriminator": [
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
4440
|
+
23,
|
|
4441
|
+
244,
|
|
4442
|
+
242,
|
|
4443
|
+
226,
|
|
4444
|
+
244,
|
|
4445
|
+
221,
|
|
4446
|
+
251,
|
|
4447
|
+
150
|
|
3669
4448
|
],
|
|
3670
4449
|
"accounts": [
|
|
3671
4450
|
{
|
|
@@ -4264,6 +5043,145 @@ exports.IDL = {
|
|
|
4264
5043
|
}
|
|
4265
5044
|
]
|
|
4266
5045
|
},
|
|
5046
|
+
{
|
|
5047
|
+
"name": "meteoraDlmmWithdraw2Automation",
|
|
5048
|
+
"docs": [
|
|
5049
|
+
"Meteora DLMM Deposit IX Automation (with amount)"
|
|
5050
|
+
],
|
|
5051
|
+
"discriminator": [
|
|
5052
|
+
54,
|
|
5053
|
+
152,
|
|
5054
|
+
149,
|
|
5055
|
+
59,
|
|
5056
|
+
20,
|
|
5057
|
+
177,
|
|
5058
|
+
13,
|
|
5059
|
+
212
|
|
5060
|
+
],
|
|
5061
|
+
"accounts": [
|
|
5062
|
+
{
|
|
5063
|
+
"name": "farm",
|
|
5064
|
+
"docs": [
|
|
5065
|
+
"Hawksight multi-index farm"
|
|
5066
|
+
]
|
|
5067
|
+
},
|
|
5068
|
+
{
|
|
5069
|
+
"name": "userPda",
|
|
5070
|
+
"docs": [
|
|
5071
|
+
"Hawksight user pda"
|
|
5072
|
+
],
|
|
5073
|
+
"pda": {
|
|
5074
|
+
"seeds": [
|
|
5075
|
+
{
|
|
5076
|
+
"kind": "const",
|
|
5077
|
+
"value": [
|
|
5078
|
+
109,
|
|
5079
|
+
117,
|
|
5080
|
+
108,
|
|
5081
|
+
116,
|
|
5082
|
+
105,
|
|
5083
|
+
45,
|
|
5084
|
+
117,
|
|
5085
|
+
115,
|
|
5086
|
+
101,
|
|
5087
|
+
114
|
|
5088
|
+
]
|
|
5089
|
+
},
|
|
5090
|
+
{
|
|
5091
|
+
"kind": "account",
|
|
5092
|
+
"path": "farm"
|
|
5093
|
+
},
|
|
5094
|
+
{
|
|
5095
|
+
"kind": "account",
|
|
5096
|
+
"path": "authority"
|
|
5097
|
+
}
|
|
5098
|
+
],
|
|
5099
|
+
"program": {
|
|
5100
|
+
"kind": "account",
|
|
5101
|
+
"path": "iyfProgram"
|
|
5102
|
+
}
|
|
5103
|
+
}
|
|
5104
|
+
},
|
|
5105
|
+
{
|
|
5106
|
+
"name": "authority",
|
|
5107
|
+
"docs": [
|
|
5108
|
+
"User wallet",
|
|
5109
|
+
"* No need to check"
|
|
5110
|
+
],
|
|
5111
|
+
"relations": [
|
|
5112
|
+
"userPda"
|
|
5113
|
+
]
|
|
5114
|
+
},
|
|
5115
|
+
{
|
|
5116
|
+
"name": "iyfProgram",
|
|
5117
|
+
"docs": [
|
|
5118
|
+
"Main index yield farming program"
|
|
5119
|
+
],
|
|
5120
|
+
"address": "FqGg2Y1FNxMiGd51Q6UETixQWkF5fB92MysbYogRJb3P"
|
|
5121
|
+
},
|
|
5122
|
+
{
|
|
5123
|
+
"name": "hawksightAuthority",
|
|
5124
|
+
"docs": [
|
|
5125
|
+
"Rebalancer which is hard coded to be a Hawksight rebalance wallet"
|
|
5126
|
+
],
|
|
5127
|
+
"writable": true,
|
|
5128
|
+
"signer": true
|
|
5129
|
+
},
|
|
5130
|
+
{
|
|
5131
|
+
"name": "position",
|
|
5132
|
+
"writable": true
|
|
5133
|
+
},
|
|
5134
|
+
{
|
|
5135
|
+
"name": "lbPair",
|
|
5136
|
+
"writable": true
|
|
5137
|
+
},
|
|
5138
|
+
{
|
|
5139
|
+
"name": "binArrayBitmapExtension",
|
|
5140
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
5141
|
+
},
|
|
5142
|
+
{
|
|
5143
|
+
"name": "userTokenX",
|
|
5144
|
+
"writable": true
|
|
5145
|
+
},
|
|
5146
|
+
{
|
|
5147
|
+
"name": "userTokenY",
|
|
5148
|
+
"writable": true
|
|
5149
|
+
},
|
|
5150
|
+
{
|
|
5151
|
+
"name": "reserveX",
|
|
5152
|
+
"writable": true
|
|
5153
|
+
},
|
|
5154
|
+
{
|
|
5155
|
+
"name": "reserveY",
|
|
5156
|
+
"writable": true
|
|
5157
|
+
},
|
|
5158
|
+
{
|
|
5159
|
+
"name": "tokenXMint"
|
|
5160
|
+
},
|
|
5161
|
+
{
|
|
5162
|
+
"name": "tokenYMint"
|
|
5163
|
+
},
|
|
5164
|
+
{
|
|
5165
|
+
"name": "tokenXProgram"
|
|
5166
|
+
},
|
|
5167
|
+
{
|
|
5168
|
+
"name": "tokenYProgram"
|
|
5169
|
+
},
|
|
5170
|
+
{
|
|
5171
|
+
"name": "eventAuthority"
|
|
5172
|
+
},
|
|
5173
|
+
{
|
|
5174
|
+
"name": "meteoraDlmmProgram",
|
|
5175
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo"
|
|
5176
|
+
}
|
|
5177
|
+
],
|
|
5178
|
+
"args": [
|
|
5179
|
+
{
|
|
5180
|
+
"name": "param",
|
|
5181
|
+
"type": "bytes"
|
|
5182
|
+
}
|
|
5183
|
+
]
|
|
5184
|
+
},
|
|
4267
5185
|
{
|
|
4268
5186
|
"name": "meteoraDlmmWithdrawAutomation",
|
|
4269
5187
|
"docs": [
|
|
@@ -4726,27 +5644,7 @@ exports.IDL = {
|
|
|
4726
5644
|
"name": "positionTokenAccount",
|
|
4727
5645
|
"docs": [
|
|
4728
5646
|
"NFT that represents orca whirlpool position"
|
|
4729
|
-
]
|
|
4730
|
-
"pda": {
|
|
4731
|
-
"seeds": [
|
|
4732
|
-
{
|
|
4733
|
-
"kind": "account",
|
|
4734
|
-
"path": "userPda"
|
|
4735
|
-
},
|
|
4736
|
-
{
|
|
4737
|
-
"kind": "account",
|
|
4738
|
-
"path": "tokenProgram"
|
|
4739
|
-
},
|
|
4740
|
-
{
|
|
4741
|
-
"kind": "account",
|
|
4742
|
-
"path": "positionMint"
|
|
4743
|
-
}
|
|
4744
|
-
],
|
|
4745
|
-
"program": {
|
|
4746
|
-
"kind": "account",
|
|
4747
|
-
"path": "associatedTokenProgram"
|
|
4748
|
-
}
|
|
4749
|
-
}
|
|
5647
|
+
]
|
|
4750
5648
|
},
|
|
4751
5649
|
{
|
|
4752
5650
|
"name": "tokenVaultA",
|
|
@@ -4938,31 +5836,97 @@ exports.IDL = {
|
|
|
4938
5836
|
}
|
|
4939
5837
|
},
|
|
4940
5838
|
{
|
|
4941
|
-
"name": "positionTokenAccount",
|
|
5839
|
+
"name": "positionTokenAccount",
|
|
5840
|
+
"docs": [
|
|
5841
|
+
"NFT that represents orca whirlpool position (to be initialized)"
|
|
5842
|
+
],
|
|
5843
|
+
"writable": true
|
|
5844
|
+
},
|
|
5845
|
+
{
|
|
5846
|
+
"name": "orcaWhirlpoolProgram",
|
|
5847
|
+
"docs": [
|
|
5848
|
+
"Orca whirlpool program"
|
|
5849
|
+
],
|
|
5850
|
+
"address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"
|
|
5851
|
+
},
|
|
5852
|
+
{
|
|
5853
|
+
"name": "tokenProgram",
|
|
5854
|
+
"docs": [
|
|
5855
|
+
"SPL Token Program"
|
|
5856
|
+
]
|
|
5857
|
+
},
|
|
5858
|
+
{
|
|
5859
|
+
"name": "associatedTokenProgram",
|
|
5860
|
+
"docs": [
|
|
5861
|
+
"SPL ATA Program"
|
|
5862
|
+
],
|
|
5863
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
5864
|
+
}
|
|
5865
|
+
],
|
|
5866
|
+
"args": []
|
|
5867
|
+
},
|
|
5868
|
+
{
|
|
5869
|
+
"name": "orcaAutoClosePositionWithTokenExtension",
|
|
5870
|
+
"docs": [
|
|
5871
|
+
"Orca whirlpool - Auto close position with Token2022 (Automation)"
|
|
5872
|
+
],
|
|
5873
|
+
"discriminator": [
|
|
5874
|
+
184,
|
|
5875
|
+
162,
|
|
5876
|
+
77,
|
|
5877
|
+
124,
|
|
5878
|
+
203,
|
|
5879
|
+
145,
|
|
5880
|
+
143,
|
|
5881
|
+
112
|
|
5882
|
+
],
|
|
5883
|
+
"accounts": [
|
|
5884
|
+
{
|
|
5885
|
+
"name": "userPda",
|
|
5886
|
+
"docs": [
|
|
5887
|
+
"Hawksight user pda (FIRST account - required by iyf_extension_execute_v2)"
|
|
5888
|
+
]
|
|
5889
|
+
},
|
|
5890
|
+
{
|
|
5891
|
+
"name": "hawksightAuthority",
|
|
4942
5892
|
"docs": [
|
|
4943
|
-
"
|
|
5893
|
+
"Hawksight authority (SECOND account - required by iyf_extension_execute_v2)"
|
|
5894
|
+
],
|
|
5895
|
+
"signer": true
|
|
5896
|
+
},
|
|
5897
|
+
{
|
|
5898
|
+
"name": "position",
|
|
5899
|
+
"docs": [
|
|
5900
|
+
"Position account to be closed"
|
|
4944
5901
|
],
|
|
4945
5902
|
"writable": true
|
|
4946
5903
|
},
|
|
4947
5904
|
{
|
|
4948
|
-
"name": "
|
|
5905
|
+
"name": "positionMint",
|
|
4949
5906
|
"docs": [
|
|
4950
|
-
"
|
|
5907
|
+
"Position mint"
|
|
4951
5908
|
],
|
|
4952
|
-
"
|
|
5909
|
+
"writable": true
|
|
4953
5910
|
},
|
|
4954
5911
|
{
|
|
4955
|
-
"name": "
|
|
5912
|
+
"name": "positionTokenAccount",
|
|
4956
5913
|
"docs": [
|
|
4957
|
-
"
|
|
5914
|
+
"Position token account to be closed"
|
|
5915
|
+
],
|
|
5916
|
+
"writable": true
|
|
5917
|
+
},
|
|
5918
|
+
{
|
|
5919
|
+
"name": "token2022Program",
|
|
5920
|
+
"docs": [
|
|
5921
|
+
"Token2022 program"
|
|
4958
5922
|
]
|
|
4959
5923
|
},
|
|
4960
5924
|
{
|
|
4961
|
-
"name": "
|
|
5925
|
+
"name": "orcaWhirlpoolProgram",
|
|
4962
5926
|
"docs": [
|
|
4963
|
-
"
|
|
5927
|
+
"Orca Whirlpool program"
|
|
4964
5928
|
],
|
|
4965
|
-
"address": "
|
|
5929
|
+
"address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"
|
|
4966
5930
|
}
|
|
4967
5931
|
],
|
|
4968
5932
|
"args": []
|
|
@@ -5593,6 +6557,113 @@ exports.IDL = {
|
|
|
5593
6557
|
}
|
|
5594
6558
|
]
|
|
5595
6559
|
},
|
|
6560
|
+
{
|
|
6561
|
+
"name": "orcaAutoOpenPositionWithTokenExtension",
|
|
6562
|
+
"docs": [
|
|
6563
|
+
"Orca whirlpool - Auto open position with Token2022 (Automation)"
|
|
6564
|
+
],
|
|
6565
|
+
"discriminator": [
|
|
6566
|
+
109,
|
|
6567
|
+
130,
|
|
6568
|
+
108,
|
|
6569
|
+
211,
|
|
6570
|
+
187,
|
|
6571
|
+
233,
|
|
6572
|
+
251,
|
|
6573
|
+
196
|
|
6574
|
+
],
|
|
6575
|
+
"accounts": [
|
|
6576
|
+
{
|
|
6577
|
+
"name": "userPda",
|
|
6578
|
+
"docs": [
|
|
6579
|
+
"Hawksight user pda (FIRST account - required by iyf_extension_execute_v2)"
|
|
6580
|
+
]
|
|
6581
|
+
},
|
|
6582
|
+
{
|
|
6583
|
+
"name": "hawksightAuthority",
|
|
6584
|
+
"docs": [
|
|
6585
|
+
"Hawksight authority (for automation instructions)"
|
|
6586
|
+
],
|
|
6587
|
+
"signer": true
|
|
6588
|
+
},
|
|
6589
|
+
{
|
|
6590
|
+
"name": "position",
|
|
6591
|
+
"docs": [
|
|
6592
|
+
"Position account to be created"
|
|
6593
|
+
],
|
|
6594
|
+
"writable": true
|
|
6595
|
+
},
|
|
6596
|
+
{
|
|
6597
|
+
"name": "positionMint",
|
|
6598
|
+
"docs": [
|
|
6599
|
+
"Position mint (signer for creation)"
|
|
6600
|
+
],
|
|
6601
|
+
"writable": true,
|
|
6602
|
+
"signer": true
|
|
6603
|
+
},
|
|
6604
|
+
{
|
|
6605
|
+
"name": "positionTokenAccount",
|
|
6606
|
+
"docs": [
|
|
6607
|
+
"Position token account to be created (uninitialized)"
|
|
6608
|
+
],
|
|
6609
|
+
"writable": true
|
|
6610
|
+
},
|
|
6611
|
+
{
|
|
6612
|
+
"name": "whirlpool",
|
|
6613
|
+
"docs": [
|
|
6614
|
+
"Whirlpool account"
|
|
6615
|
+
]
|
|
6616
|
+
},
|
|
6617
|
+
{
|
|
6618
|
+
"name": "token2022Program",
|
|
6619
|
+
"docs": [
|
|
6620
|
+
"Token2022 program"
|
|
6621
|
+
]
|
|
6622
|
+
},
|
|
6623
|
+
{
|
|
6624
|
+
"name": "systemProgram",
|
|
6625
|
+
"docs": [
|
|
6626
|
+
"System program"
|
|
6627
|
+
],
|
|
6628
|
+
"address": "11111111111111111111111111111111"
|
|
6629
|
+
},
|
|
6630
|
+
{
|
|
6631
|
+
"name": "associatedTokenProgram",
|
|
6632
|
+
"docs": [
|
|
6633
|
+
"Associated token program"
|
|
6634
|
+
],
|
|
6635
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
6636
|
+
},
|
|
6637
|
+
{
|
|
6638
|
+
"name": "metadataUpdateAuth",
|
|
6639
|
+
"docs": [
|
|
6640
|
+
"Metadata update authority"
|
|
6641
|
+
],
|
|
6642
|
+
"address": "3axbTs2z5GBy6usVbNVoqEgZMng3vZvMnAoX29BFfwhr"
|
|
6643
|
+
},
|
|
6644
|
+
{
|
|
6645
|
+
"name": "orcaWhirlpoolProgram",
|
|
6646
|
+
"docs": [
|
|
6647
|
+
"Orca Whirlpool program"
|
|
6648
|
+
],
|
|
6649
|
+
"address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"
|
|
6650
|
+
}
|
|
6651
|
+
],
|
|
6652
|
+
"args": [
|
|
6653
|
+
{
|
|
6654
|
+
"name": "tickLowerIndex",
|
|
6655
|
+
"type": "i32"
|
|
6656
|
+
},
|
|
6657
|
+
{
|
|
6658
|
+
"name": "tickUpperIndex",
|
|
6659
|
+
"type": "i32"
|
|
6660
|
+
},
|
|
6661
|
+
{
|
|
6662
|
+
"name": "withTokenMetadata",
|
|
6663
|
+
"type": "bool"
|
|
6664
|
+
}
|
|
6665
|
+
]
|
|
6666
|
+
},
|
|
5596
6667
|
{
|
|
5597
6668
|
"name": "orcaAutoWithdraw",
|
|
5598
6669
|
"docs": [
|
|
@@ -5950,27 +7021,7 @@ exports.IDL = {
|
|
|
5950
7021
|
"name": "positionTokenAccount",
|
|
5951
7022
|
"docs": [
|
|
5952
7023
|
"NFT that represents orca whirlpool position"
|
|
5953
|
-
]
|
|
5954
|
-
"pda": {
|
|
5955
|
-
"seeds": [
|
|
5956
|
-
{
|
|
5957
|
-
"kind": "account",
|
|
5958
|
-
"path": "userPda"
|
|
5959
|
-
},
|
|
5960
|
-
{
|
|
5961
|
-
"kind": "account",
|
|
5962
|
-
"path": "tokenProgram"
|
|
5963
|
-
},
|
|
5964
|
-
{
|
|
5965
|
-
"kind": "account",
|
|
5966
|
-
"path": "positionMint"
|
|
5967
|
-
}
|
|
5968
|
-
],
|
|
5969
|
-
"program": {
|
|
5970
|
-
"kind": "account",
|
|
5971
|
-
"path": "associatedTokenProgram"
|
|
5972
|
-
}
|
|
5973
|
-
}
|
|
7024
|
+
]
|
|
5974
7025
|
},
|
|
5975
7026
|
{
|
|
5976
7027
|
"name": "tokenVaultA",
|
|
@@ -6243,6 +7294,75 @@ exports.IDL = {
|
|
|
6243
7294
|
],
|
|
6244
7295
|
"args": []
|
|
6245
7296
|
},
|
|
7297
|
+
{
|
|
7298
|
+
"name": "orcaClosePositionWithTokenExtension",
|
|
7299
|
+
"docs": [
|
|
7300
|
+
"Orca whirlpool - Close position with Token2022 (User)"
|
|
7301
|
+
],
|
|
7302
|
+
"discriminator": [
|
|
7303
|
+
37,
|
|
7304
|
+
88,
|
|
7305
|
+
149,
|
|
7306
|
+
116,
|
|
7307
|
+
68,
|
|
7308
|
+
45,
|
|
7309
|
+
159,
|
|
7310
|
+
64
|
|
7311
|
+
],
|
|
7312
|
+
"accounts": [
|
|
7313
|
+
{
|
|
7314
|
+
"name": "userPda",
|
|
7315
|
+
"docs": [
|
|
7316
|
+
"Hawksight user pda (FIRST account - required by iyf_extension_execute_v2)"
|
|
7317
|
+
]
|
|
7318
|
+
},
|
|
7319
|
+
{
|
|
7320
|
+
"name": "authority",
|
|
7321
|
+
"docs": [
|
|
7322
|
+
"Authority (SECOND account - required by iyf_extension_execute_v2)"
|
|
7323
|
+
],
|
|
7324
|
+
"signer": true,
|
|
7325
|
+
"relations": [
|
|
7326
|
+
"userPda"
|
|
7327
|
+
]
|
|
7328
|
+
},
|
|
7329
|
+
{
|
|
7330
|
+
"name": "position",
|
|
7331
|
+
"docs": [
|
|
7332
|
+
"Position account to be closed"
|
|
7333
|
+
],
|
|
7334
|
+
"writable": true
|
|
7335
|
+
},
|
|
7336
|
+
{
|
|
7337
|
+
"name": "positionMint",
|
|
7338
|
+
"docs": [
|
|
7339
|
+
"Position mint"
|
|
7340
|
+
],
|
|
7341
|
+
"writable": true
|
|
7342
|
+
},
|
|
7343
|
+
{
|
|
7344
|
+
"name": "positionTokenAccount",
|
|
7345
|
+
"docs": [
|
|
7346
|
+
"Position token account to be closed"
|
|
7347
|
+
],
|
|
7348
|
+
"writable": true
|
|
7349
|
+
},
|
|
7350
|
+
{
|
|
7351
|
+
"name": "token2022Program",
|
|
7352
|
+
"docs": [
|
|
7353
|
+
"Token2022 program"
|
|
7354
|
+
]
|
|
7355
|
+
},
|
|
7356
|
+
{
|
|
7357
|
+
"name": "orcaWhirlpoolProgram",
|
|
7358
|
+
"docs": [
|
|
7359
|
+
"Orca Whirlpool program"
|
|
7360
|
+
],
|
|
7361
|
+
"address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"
|
|
7362
|
+
}
|
|
7363
|
+
],
|
|
7364
|
+
"args": []
|
|
7365
|
+
},
|
|
6246
7366
|
{
|
|
6247
7367
|
"name": "orcaCompound",
|
|
6248
7368
|
"docs": [
|
|
@@ -6391,27 +7511,7 @@ exports.IDL = {
|
|
|
6391
7511
|
"name": "positionTokenAccount",
|
|
6392
7512
|
"docs": [
|
|
6393
7513
|
"NFT that represents orca whirlpool position"
|
|
6394
|
-
]
|
|
6395
|
-
"pda": {
|
|
6396
|
-
"seeds": [
|
|
6397
|
-
{
|
|
6398
|
-
"kind": "account",
|
|
6399
|
-
"path": "userPda"
|
|
6400
|
-
},
|
|
6401
|
-
{
|
|
6402
|
-
"kind": "account",
|
|
6403
|
-
"path": "tokenProgram"
|
|
6404
|
-
},
|
|
6405
|
-
{
|
|
6406
|
-
"kind": "account",
|
|
6407
|
-
"path": "positionMint"
|
|
6408
|
-
}
|
|
6409
|
-
],
|
|
6410
|
-
"program": {
|
|
6411
|
-
"kind": "account",
|
|
6412
|
-
"path": "associatedTokenProgram"
|
|
6413
|
-
}
|
|
6414
|
-
}
|
|
7514
|
+
]
|
|
6415
7515
|
},
|
|
6416
7516
|
{
|
|
6417
7517
|
"name": "tokenVaultA",
|
|
@@ -6623,32 +7723,12 @@ exports.IDL = {
|
|
|
6623
7723
|
"writable": true
|
|
6624
7724
|
},
|
|
6625
7725
|
{
|
|
6626
|
-
"name": "positionTokenAccount",
|
|
6627
|
-
"docs": [
|
|
6628
|
-
"NFT that represents orca whirlpool position"
|
|
6629
|
-
]
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
{
|
|
6633
|
-
"kind": "account",
|
|
6634
|
-
"path": "userPda"
|
|
6635
|
-
},
|
|
6636
|
-
{
|
|
6637
|
-
"kind": "account",
|
|
6638
|
-
"path": "tokenProgram"
|
|
6639
|
-
},
|
|
6640
|
-
{
|
|
6641
|
-
"kind": "account",
|
|
6642
|
-
"path": "positionMint"
|
|
6643
|
-
}
|
|
6644
|
-
],
|
|
6645
|
-
"program": {
|
|
6646
|
-
"kind": "account",
|
|
6647
|
-
"path": "associatedTokenProgram"
|
|
6648
|
-
}
|
|
6649
|
-
}
|
|
6650
|
-
},
|
|
6651
|
-
{
|
|
7726
|
+
"name": "positionTokenAccount",
|
|
7727
|
+
"docs": [
|
|
7728
|
+
"NFT that represents orca whirlpool position"
|
|
7729
|
+
]
|
|
7730
|
+
},
|
|
7731
|
+
{
|
|
6652
7732
|
"name": "tokenVaultA",
|
|
6653
7733
|
"docs": [
|
|
6654
7734
|
"Token Vault A"
|
|
@@ -6925,27 +8005,7 @@ exports.IDL = {
|
|
|
6925
8005
|
"name": "positionTokenAccount",
|
|
6926
8006
|
"docs": [
|
|
6927
8007
|
"NFT that represents orca whirlpool position"
|
|
6928
|
-
]
|
|
6929
|
-
"pda": {
|
|
6930
|
-
"seeds": [
|
|
6931
|
-
{
|
|
6932
|
-
"kind": "account",
|
|
6933
|
-
"path": "userPda"
|
|
6934
|
-
},
|
|
6935
|
-
{
|
|
6936
|
-
"kind": "account",
|
|
6937
|
-
"path": "tokenProgram"
|
|
6938
|
-
},
|
|
6939
|
-
{
|
|
6940
|
-
"kind": "account",
|
|
6941
|
-
"path": "positionMint"
|
|
6942
|
-
}
|
|
6943
|
-
],
|
|
6944
|
-
"program": {
|
|
6945
|
-
"kind": "account",
|
|
6946
|
-
"path": "associatedTokenProgram"
|
|
6947
|
-
}
|
|
6948
|
-
}
|
|
8008
|
+
]
|
|
6949
8009
|
},
|
|
6950
8010
|
{
|
|
6951
8011
|
"name": "tokenVaultA",
|
|
@@ -7550,6 +8610,13 @@ exports.IDL = {
|
|
|
7550
8610
|
"docs": [
|
|
7551
8611
|
"NFT that represents orca whirlpool position"
|
|
7552
8612
|
],
|
|
8613
|
+
"writable": true
|
|
8614
|
+
},
|
|
8615
|
+
{
|
|
8616
|
+
"name": "tokenOwnerAccountA",
|
|
8617
|
+
"docs": [
|
|
8618
|
+
"Token A to deposit to liquidity"
|
|
8619
|
+
],
|
|
7553
8620
|
"writable": true,
|
|
7554
8621
|
"pda": {
|
|
7555
8622
|
"seeds": [
|
|
@@ -7563,7 +8630,7 @@ exports.IDL = {
|
|
|
7563
8630
|
},
|
|
7564
8631
|
{
|
|
7565
8632
|
"kind": "account",
|
|
7566
|
-
"path": "
|
|
8633
|
+
"path": "token_vault_a.mint"
|
|
7567
8634
|
}
|
|
7568
8635
|
],
|
|
7569
8636
|
"program": {
|
|
@@ -7573,9 +8640,9 @@ exports.IDL = {
|
|
|
7573
8640
|
}
|
|
7574
8641
|
},
|
|
7575
8642
|
{
|
|
7576
|
-
"name": "
|
|
8643
|
+
"name": "tokenOwnerAccountB",
|
|
7577
8644
|
"docs": [
|
|
7578
|
-
"Token
|
|
8645
|
+
"Token B to deposit to liquidity"
|
|
7579
8646
|
],
|
|
7580
8647
|
"writable": true,
|
|
7581
8648
|
"pda": {
|
|
@@ -7590,7 +8657,7 @@ exports.IDL = {
|
|
|
7590
8657
|
},
|
|
7591
8658
|
{
|
|
7592
8659
|
"kind": "account",
|
|
7593
|
-
"path": "
|
|
8660
|
+
"path": "token_vault_b.mint"
|
|
7594
8661
|
}
|
|
7595
8662
|
],
|
|
7596
8663
|
"program": {
|
|
@@ -7600,32 +8667,224 @@ exports.IDL = {
|
|
|
7600
8667
|
}
|
|
7601
8668
|
},
|
|
7602
8669
|
{
|
|
7603
|
-
"name": "
|
|
8670
|
+
"name": "tokenVaultA",
|
|
7604
8671
|
"docs": [
|
|
7605
|
-
"Token
|
|
8672
|
+
"Token Vault A"
|
|
8673
|
+
],
|
|
8674
|
+
"writable": true
|
|
8675
|
+
},
|
|
8676
|
+
{
|
|
8677
|
+
"name": "tokenVaultB",
|
|
8678
|
+
"writable": true
|
|
8679
|
+
},
|
|
8680
|
+
{
|
|
8681
|
+
"name": "tickArrayLower",
|
|
8682
|
+
"docs": [
|
|
8683
|
+
"Orca tick array lower account"
|
|
8684
|
+
],
|
|
8685
|
+
"writable": true
|
|
8686
|
+
},
|
|
8687
|
+
{
|
|
8688
|
+
"name": "tickArrayUpper",
|
|
8689
|
+
"docs": [
|
|
8690
|
+
"Orca tick array upper account"
|
|
8691
|
+
],
|
|
8692
|
+
"writable": true
|
|
8693
|
+
},
|
|
8694
|
+
{
|
|
8695
|
+
"name": "ownerFeeA",
|
|
8696
|
+
"docs": [
|
|
8697
|
+
"Owner fee A"
|
|
8698
|
+
],
|
|
8699
|
+
"writable": true
|
|
8700
|
+
},
|
|
8701
|
+
{
|
|
8702
|
+
"name": "ownerFeeB",
|
|
8703
|
+
"docs": [
|
|
8704
|
+
"Owner fee B"
|
|
8705
|
+
],
|
|
8706
|
+
"writable": true
|
|
8707
|
+
},
|
|
8708
|
+
{
|
|
8709
|
+
"name": "orcaWhirlpoolProgram",
|
|
8710
|
+
"docs": [
|
|
8711
|
+
"Orca whirlpool program"
|
|
8712
|
+
],
|
|
8713
|
+
"address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"
|
|
8714
|
+
},
|
|
8715
|
+
{
|
|
8716
|
+
"name": "tokenProgram",
|
|
8717
|
+
"docs": [
|
|
8718
|
+
"SPL Token Program"
|
|
8719
|
+
]
|
|
8720
|
+
},
|
|
8721
|
+
{
|
|
8722
|
+
"name": "associatedTokenProgram",
|
|
8723
|
+
"docs": [
|
|
8724
|
+
"SPL ATA Program"
|
|
8725
|
+
],
|
|
8726
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
8727
|
+
}
|
|
8728
|
+
],
|
|
8729
|
+
"args": []
|
|
8730
|
+
},
|
|
8731
|
+
{
|
|
8732
|
+
"name": "orcaLimitClosePositionAutomation",
|
|
8733
|
+
"docs": [
|
|
8734
|
+
"Orca Limit Close Position Automation"
|
|
8735
|
+
],
|
|
8736
|
+
"discriminator": [
|
|
8737
|
+
70,
|
|
8738
|
+
19,
|
|
8739
|
+
224,
|
|
8740
|
+
167,
|
|
8741
|
+
13,
|
|
8742
|
+
245,
|
|
8743
|
+
96,
|
|
8744
|
+
152
|
|
8745
|
+
],
|
|
8746
|
+
"accounts": [
|
|
8747
|
+
{
|
|
8748
|
+
"name": "farm",
|
|
8749
|
+
"docs": [
|
|
8750
|
+
"Hawksight multi-index farm"
|
|
8751
|
+
]
|
|
8752
|
+
},
|
|
8753
|
+
{
|
|
8754
|
+
"name": "userPda",
|
|
8755
|
+
"docs": [
|
|
8756
|
+
"Hawksight user pda account authorized by user wallet"
|
|
7606
8757
|
],
|
|
7607
|
-
"writable": true,
|
|
7608
8758
|
"pda": {
|
|
7609
8759
|
"seeds": [
|
|
8760
|
+
{
|
|
8761
|
+
"kind": "const",
|
|
8762
|
+
"value": [
|
|
8763
|
+
109,
|
|
8764
|
+
117,
|
|
8765
|
+
108,
|
|
8766
|
+
116,
|
|
8767
|
+
105,
|
|
8768
|
+
45,
|
|
8769
|
+
117,
|
|
8770
|
+
115,
|
|
8771
|
+
101,
|
|
8772
|
+
114
|
|
8773
|
+
]
|
|
8774
|
+
},
|
|
7610
8775
|
{
|
|
7611
8776
|
"kind": "account",
|
|
7612
|
-
"path": "
|
|
8777
|
+
"path": "farm"
|
|
7613
8778
|
},
|
|
7614
8779
|
{
|
|
7615
8780
|
"kind": "account",
|
|
7616
|
-
"path": "
|
|
8781
|
+
"path": "authority"
|
|
8782
|
+
}
|
|
8783
|
+
],
|
|
8784
|
+
"program": {
|
|
8785
|
+
"kind": "account",
|
|
8786
|
+
"path": "iyfProgram"
|
|
8787
|
+
}
|
|
8788
|
+
}
|
|
8789
|
+
},
|
|
8790
|
+
{
|
|
8791
|
+
"name": "authority",
|
|
8792
|
+
"docs": [
|
|
8793
|
+
"User wallet"
|
|
8794
|
+
],
|
|
8795
|
+
"writable": true,
|
|
8796
|
+
"relations": [
|
|
8797
|
+
"userPda"
|
|
8798
|
+
]
|
|
8799
|
+
},
|
|
8800
|
+
{
|
|
8801
|
+
"name": "iyfProgram",
|
|
8802
|
+
"docs": [
|
|
8803
|
+
"Main index yield farming program"
|
|
8804
|
+
],
|
|
8805
|
+
"address": "FqGg2Y1FNxMiGd51Q6UETixQWkF5fB92MysbYogRJb3P"
|
|
8806
|
+
},
|
|
8807
|
+
{
|
|
8808
|
+
"name": "hawksightAuthority",
|
|
8809
|
+
"docs": [
|
|
8810
|
+
"Hawksight authority wallet"
|
|
8811
|
+
],
|
|
8812
|
+
"signer": true
|
|
8813
|
+
},
|
|
8814
|
+
{
|
|
8815
|
+
"name": "orcaWhirlpoolProgram",
|
|
8816
|
+
"docs": [
|
|
8817
|
+
"Orca whirlpool program"
|
|
8818
|
+
],
|
|
8819
|
+
"address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"
|
|
8820
|
+
},
|
|
8821
|
+
{
|
|
8822
|
+
"name": "positionMint",
|
|
8823
|
+
"docs": [
|
|
8824
|
+
"Orca whirlpool position mint"
|
|
8825
|
+
],
|
|
8826
|
+
"writable": true
|
|
8827
|
+
},
|
|
8828
|
+
{
|
|
8829
|
+
"name": "whirlpool",
|
|
8830
|
+
"docs": [
|
|
8831
|
+
"Orca whirlpool account"
|
|
8832
|
+
],
|
|
8833
|
+
"writable": true
|
|
8834
|
+
},
|
|
8835
|
+
{
|
|
8836
|
+
"name": "position",
|
|
8837
|
+
"docs": [
|
|
8838
|
+
"Orca whirlpool position (to be initialized)"
|
|
8839
|
+
],
|
|
8840
|
+
"writable": true,
|
|
8841
|
+
"pda": {
|
|
8842
|
+
"seeds": [
|
|
8843
|
+
{
|
|
8844
|
+
"kind": "const",
|
|
8845
|
+
"value": [
|
|
8846
|
+
112,
|
|
8847
|
+
111,
|
|
8848
|
+
115,
|
|
8849
|
+
105,
|
|
8850
|
+
116,
|
|
8851
|
+
105,
|
|
8852
|
+
111,
|
|
8853
|
+
110
|
|
8854
|
+
]
|
|
7617
8855
|
},
|
|
7618
8856
|
{
|
|
7619
8857
|
"kind": "account",
|
|
7620
|
-
"path": "
|
|
8858
|
+
"path": "positionMint"
|
|
7621
8859
|
}
|
|
7622
8860
|
],
|
|
7623
8861
|
"program": {
|
|
7624
8862
|
"kind": "account",
|
|
7625
|
-
"path": "
|
|
8863
|
+
"path": "orcaWhirlpoolProgram"
|
|
7626
8864
|
}
|
|
7627
8865
|
}
|
|
7628
8866
|
},
|
|
8867
|
+
{
|
|
8868
|
+
"name": "positionTokenAccount",
|
|
8869
|
+
"docs": [
|
|
8870
|
+
"NFT that represents orca whirlpool position"
|
|
8871
|
+
],
|
|
8872
|
+
"writable": true
|
|
8873
|
+
},
|
|
8874
|
+
{
|
|
8875
|
+
"name": "tokenOwnerAccountA",
|
|
8876
|
+
"docs": [
|
|
8877
|
+
"Token A to deposit to liquidity"
|
|
8878
|
+
],
|
|
8879
|
+
"writable": true
|
|
8880
|
+
},
|
|
8881
|
+
{
|
|
8882
|
+
"name": "tokenOwnerAccountB",
|
|
8883
|
+
"docs": [
|
|
8884
|
+
"Token B to deposit to liquidity"
|
|
8885
|
+
],
|
|
8886
|
+
"writable": true
|
|
8887
|
+
},
|
|
7629
8888
|
{
|
|
7630
8889
|
"name": "tokenVaultA",
|
|
7631
8890
|
"docs": [
|
|
@@ -7661,16 +8920,9 @@ exports.IDL = {
|
|
|
7661
8920
|
{
|
|
7662
8921
|
"name": "ownerFeeB",
|
|
7663
8922
|
"docs": [
|
|
7664
|
-
"Owner fee B"
|
|
7665
|
-
],
|
|
7666
|
-
"writable": true
|
|
7667
|
-
},
|
|
7668
|
-
{
|
|
7669
|
-
"name": "orcaWhirlpoolProgram",
|
|
7670
|
-
"docs": [
|
|
7671
|
-
"Orca whirlpool program"
|
|
8923
|
+
"Owner fee B"
|
|
7672
8924
|
],
|
|
7673
|
-
"
|
|
8925
|
+
"writable": true
|
|
7674
8926
|
},
|
|
7675
8927
|
{
|
|
7676
8928
|
"name": "tokenProgram",
|
|
@@ -7680,97 +8932,60 @@ exports.IDL = {
|
|
|
7680
8932
|
},
|
|
7681
8933
|
{
|
|
7682
8934
|
"name": "associatedTokenProgram",
|
|
7683
|
-
"docs": [
|
|
7684
|
-
"SPL ATA Program"
|
|
7685
|
-
],
|
|
7686
8935
|
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
7687
8936
|
}
|
|
7688
8937
|
],
|
|
7689
|
-
"args": [
|
|
8938
|
+
"args": [
|
|
8939
|
+
{
|
|
8940
|
+
"name": "minBinId",
|
|
8941
|
+
"type": "i32"
|
|
8942
|
+
},
|
|
8943
|
+
{
|
|
8944
|
+
"name": "maxBinId",
|
|
8945
|
+
"type": "i32"
|
|
8946
|
+
}
|
|
8947
|
+
]
|
|
7690
8948
|
},
|
|
7691
8949
|
{
|
|
7692
|
-
"name": "
|
|
8950
|
+
"name": "orcaLimitClosePositionAutomationTokenExtension",
|
|
7693
8951
|
"docs": [
|
|
7694
|
-
"Orca Limit
|
|
8952
|
+
"Orca whirlpool - Limit close position automation with Token2022 support"
|
|
7695
8953
|
],
|
|
7696
8954
|
"discriminator": [
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
8955
|
+
30,
|
|
8956
|
+
254,
|
|
8957
|
+
253,
|
|
8958
|
+
158,
|
|
8959
|
+
15,
|
|
8960
|
+
187,
|
|
8961
|
+
99,
|
|
8962
|
+
3
|
|
7705
8963
|
],
|
|
7706
8964
|
"accounts": [
|
|
7707
8965
|
{
|
|
7708
|
-
"name": "
|
|
8966
|
+
"name": "userPda",
|
|
7709
8967
|
"docs": [
|
|
7710
|
-
"Hawksight
|
|
8968
|
+
"Hawksight user pda account authorized by user wallet"
|
|
7711
8969
|
]
|
|
7712
8970
|
},
|
|
7713
8971
|
{
|
|
7714
|
-
"name": "
|
|
8972
|
+
"name": "hawksightAuthority",
|
|
7715
8973
|
"docs": [
|
|
7716
|
-
"Hawksight
|
|
8974
|
+
"Hawksight authority wallet"
|
|
7717
8975
|
],
|
|
7718
|
-
"
|
|
7719
|
-
"seeds": [
|
|
7720
|
-
{
|
|
7721
|
-
"kind": "const",
|
|
7722
|
-
"value": [
|
|
7723
|
-
109,
|
|
7724
|
-
117,
|
|
7725
|
-
108,
|
|
7726
|
-
116,
|
|
7727
|
-
105,
|
|
7728
|
-
45,
|
|
7729
|
-
117,
|
|
7730
|
-
115,
|
|
7731
|
-
101,
|
|
7732
|
-
114
|
|
7733
|
-
]
|
|
7734
|
-
},
|
|
7735
|
-
{
|
|
7736
|
-
"kind": "account",
|
|
7737
|
-
"path": "farm"
|
|
7738
|
-
},
|
|
7739
|
-
{
|
|
7740
|
-
"kind": "account",
|
|
7741
|
-
"path": "authority"
|
|
7742
|
-
}
|
|
7743
|
-
],
|
|
7744
|
-
"program": {
|
|
7745
|
-
"kind": "account",
|
|
7746
|
-
"path": "iyfProgram"
|
|
7747
|
-
}
|
|
7748
|
-
}
|
|
8976
|
+
"signer": true
|
|
7749
8977
|
},
|
|
7750
8978
|
{
|
|
7751
8979
|
"name": "authority",
|
|
7752
8980
|
"docs": [
|
|
7753
|
-
"User wallet"
|
|
8981
|
+
"User wallet",
|
|
8982
|
+
"No need to be a signer since this is thread ix, so the constraint switches that the authorizing thread must have the user pda authority as its owner"
|
|
7754
8983
|
],
|
|
7755
8984
|
"writable": true,
|
|
7756
8985
|
"relations": [
|
|
7757
8986
|
"userPda"
|
|
7758
8987
|
]
|
|
7759
8988
|
},
|
|
7760
|
-
{
|
|
7761
|
-
"name": "iyfProgram",
|
|
7762
|
-
"docs": [
|
|
7763
|
-
"Main index yield farming program"
|
|
7764
|
-
],
|
|
7765
|
-
"address": "FqGg2Y1FNxMiGd51Q6UETixQWkF5fB92MysbYogRJb3P"
|
|
7766
|
-
},
|
|
7767
|
-
{
|
|
7768
|
-
"name": "hawksightAuthority",
|
|
7769
|
-
"docs": [
|
|
7770
|
-
"Hawksight authority wallet"
|
|
7771
|
-
],
|
|
7772
|
-
"signer": true
|
|
7773
|
-
},
|
|
7774
8989
|
{
|
|
7775
8990
|
"name": "orcaWhirlpoolProgram",
|
|
7776
8991
|
"docs": [
|
|
@@ -7829,27 +9044,7 @@ exports.IDL = {
|
|
|
7829
9044
|
"docs": [
|
|
7830
9045
|
"NFT that represents orca whirlpool position"
|
|
7831
9046
|
],
|
|
7832
|
-
"writable": true
|
|
7833
|
-
"pda": {
|
|
7834
|
-
"seeds": [
|
|
7835
|
-
{
|
|
7836
|
-
"kind": "account",
|
|
7837
|
-
"path": "userPda"
|
|
7838
|
-
},
|
|
7839
|
-
{
|
|
7840
|
-
"kind": "account",
|
|
7841
|
-
"path": "tokenProgram"
|
|
7842
|
-
},
|
|
7843
|
-
{
|
|
7844
|
-
"kind": "account",
|
|
7845
|
-
"path": "positionMint"
|
|
7846
|
-
}
|
|
7847
|
-
],
|
|
7848
|
-
"program": {
|
|
7849
|
-
"kind": "account",
|
|
7850
|
-
"path": "associatedTokenProgram"
|
|
7851
|
-
}
|
|
7852
|
-
}
|
|
9047
|
+
"writable": true
|
|
7853
9048
|
},
|
|
7854
9049
|
{
|
|
7855
9050
|
"name": "tokenOwnerAccountA",
|
|
@@ -7907,7 +9102,13 @@ exports.IDL = {
|
|
|
7907
9102
|
{
|
|
7908
9103
|
"name": "tokenProgram",
|
|
7909
9104
|
"docs": [
|
|
7910
|
-
"SPL Token Program"
|
|
9105
|
+
"SPL Token Program (for collect fees and decrease liquidity)"
|
|
9106
|
+
]
|
|
9107
|
+
},
|
|
9108
|
+
{
|
|
9109
|
+
"name": "token2022Program",
|
|
9110
|
+
"docs": [
|
|
9111
|
+
"Token2022 Program (for close position with token extension)"
|
|
7911
9112
|
]
|
|
7912
9113
|
},
|
|
7913
9114
|
{
|
|
@@ -7917,11 +9118,11 @@ exports.IDL = {
|
|
|
7917
9118
|
],
|
|
7918
9119
|
"args": [
|
|
7919
9120
|
{
|
|
7920
|
-
"name": "
|
|
9121
|
+
"name": "minTickIndex",
|
|
7921
9122
|
"type": "i32"
|
|
7922
9123
|
},
|
|
7923
9124
|
{
|
|
7924
|
-
"name": "
|
|
9125
|
+
"name": "maxTickIndex",
|
|
7925
9126
|
"type": "i32"
|
|
7926
9127
|
}
|
|
7927
9128
|
]
|
|
@@ -8123,6 +9324,116 @@ exports.IDL = {
|
|
|
8123
9324
|
}
|
|
8124
9325
|
]
|
|
8125
9326
|
},
|
|
9327
|
+
{
|
|
9328
|
+
"name": "orcaOpenPositionWithTokenExtension",
|
|
9329
|
+
"docs": [
|
|
9330
|
+
"Orca whirlpool - Open position with Token2022 (User)"
|
|
9331
|
+
],
|
|
9332
|
+
"discriminator": [
|
|
9333
|
+
89,
|
|
9334
|
+
88,
|
|
9335
|
+
26,
|
|
9336
|
+
171,
|
|
9337
|
+
10,
|
|
9338
|
+
192,
|
|
9339
|
+
49,
|
|
9340
|
+
250
|
|
9341
|
+
],
|
|
9342
|
+
"accounts": [
|
|
9343
|
+
{
|
|
9344
|
+
"name": "userPda",
|
|
9345
|
+
"docs": [
|
|
9346
|
+
"Hawksight user pda (FIRST account - required by iyf_extension_execute_v2)"
|
|
9347
|
+
]
|
|
9348
|
+
},
|
|
9349
|
+
{
|
|
9350
|
+
"name": "authority",
|
|
9351
|
+
"docs": [
|
|
9352
|
+
"Authority (SECOND account - required by iyf_extension_execute_v2)"
|
|
9353
|
+
],
|
|
9354
|
+
"signer": true,
|
|
9355
|
+
"relations": [
|
|
9356
|
+
"userPda"
|
|
9357
|
+
]
|
|
9358
|
+
},
|
|
9359
|
+
{
|
|
9360
|
+
"name": "position",
|
|
9361
|
+
"docs": [
|
|
9362
|
+
"Position account to be created"
|
|
9363
|
+
],
|
|
9364
|
+
"writable": true
|
|
9365
|
+
},
|
|
9366
|
+
{
|
|
9367
|
+
"name": "positionMint",
|
|
9368
|
+
"docs": [
|
|
9369
|
+
"Position mint (signer for creation)"
|
|
9370
|
+
],
|
|
9371
|
+
"writable": true,
|
|
9372
|
+
"signer": true
|
|
9373
|
+
},
|
|
9374
|
+
{
|
|
9375
|
+
"name": "positionTokenAccount",
|
|
9376
|
+
"docs": [
|
|
9377
|
+
"Position token account to be created (uninitialized)"
|
|
9378
|
+
],
|
|
9379
|
+
"writable": true
|
|
9380
|
+
},
|
|
9381
|
+
{
|
|
9382
|
+
"name": "whirlpool",
|
|
9383
|
+
"docs": [
|
|
9384
|
+
"Whirlpool account"
|
|
9385
|
+
]
|
|
9386
|
+
},
|
|
9387
|
+
{
|
|
9388
|
+
"name": "token2022Program",
|
|
9389
|
+
"docs": [
|
|
9390
|
+
"Token2022 program"
|
|
9391
|
+
]
|
|
9392
|
+
},
|
|
9393
|
+
{
|
|
9394
|
+
"name": "systemProgram",
|
|
9395
|
+
"docs": [
|
|
9396
|
+
"System program"
|
|
9397
|
+
],
|
|
9398
|
+
"address": "11111111111111111111111111111111"
|
|
9399
|
+
},
|
|
9400
|
+
{
|
|
9401
|
+
"name": "associatedTokenProgram",
|
|
9402
|
+
"docs": [
|
|
9403
|
+
"Associated token program"
|
|
9404
|
+
],
|
|
9405
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
9406
|
+
},
|
|
9407
|
+
{
|
|
9408
|
+
"name": "metadataUpdateAuth",
|
|
9409
|
+
"docs": [
|
|
9410
|
+
"Metadata update authority"
|
|
9411
|
+
],
|
|
9412
|
+
"address": "3axbTs2z5GBy6usVbNVoqEgZMng3vZvMnAoX29BFfwhr"
|
|
9413
|
+
},
|
|
9414
|
+
{
|
|
9415
|
+
"name": "orcaWhirlpoolProgram",
|
|
9416
|
+
"docs": [
|
|
9417
|
+
"Orca Whirlpool program"
|
|
9418
|
+
],
|
|
9419
|
+
"address": "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"
|
|
9420
|
+
}
|
|
9421
|
+
],
|
|
9422
|
+
"args": [
|
|
9423
|
+
{
|
|
9424
|
+
"name": "tickLowerIndex",
|
|
9425
|
+
"type": "i32"
|
|
9426
|
+
},
|
|
9427
|
+
{
|
|
9428
|
+
"name": "tickUpperIndex",
|
|
9429
|
+
"type": "i32"
|
|
9430
|
+
},
|
|
9431
|
+
{
|
|
9432
|
+
"name": "withTokenMetadata",
|
|
9433
|
+
"type": "bool"
|
|
9434
|
+
}
|
|
9435
|
+
]
|
|
9436
|
+
},
|
|
8126
9437
|
{
|
|
8127
9438
|
"name": "orcaRebalance",
|
|
8128
9439
|
"docs": [
|
|
@@ -8271,27 +9582,7 @@ exports.IDL = {
|
|
|
8271
9582
|
"name": "positionTokenAccountSrc",
|
|
8272
9583
|
"docs": [
|
|
8273
9584
|
"NFT that represents orca whirlpool position"
|
|
8274
|
-
]
|
|
8275
|
-
"pda": {
|
|
8276
|
-
"seeds": [
|
|
8277
|
-
{
|
|
8278
|
-
"kind": "account",
|
|
8279
|
-
"path": "userPda"
|
|
8280
|
-
},
|
|
8281
|
-
{
|
|
8282
|
-
"kind": "account",
|
|
8283
|
-
"path": "tokenProgram"
|
|
8284
|
-
},
|
|
8285
|
-
{
|
|
8286
|
-
"kind": "account",
|
|
8287
|
-
"path": "positionMintSrc"
|
|
8288
|
-
}
|
|
8289
|
-
],
|
|
8290
|
-
"program": {
|
|
8291
|
-
"kind": "account",
|
|
8292
|
-
"path": "associatedTokenProgram"
|
|
8293
|
-
}
|
|
8294
|
-
}
|
|
9585
|
+
]
|
|
8295
9586
|
},
|
|
8296
9587
|
{
|
|
8297
9588
|
"name": "positionMintDst",
|
|
@@ -8319,27 +9610,7 @@ exports.IDL = {
|
|
|
8319
9610
|
"name": "positionTokenAccountDst",
|
|
8320
9611
|
"docs": [
|
|
8321
9612
|
"NFT that represents orca whirlpool position"
|
|
8322
|
-
]
|
|
8323
|
-
"pda": {
|
|
8324
|
-
"seeds": [
|
|
8325
|
-
{
|
|
8326
|
-
"kind": "account",
|
|
8327
|
-
"path": "userPda"
|
|
8328
|
-
},
|
|
8329
|
-
{
|
|
8330
|
-
"kind": "account",
|
|
8331
|
-
"path": "tokenProgram"
|
|
8332
|
-
},
|
|
8333
|
-
{
|
|
8334
|
-
"kind": "account",
|
|
8335
|
-
"path": "positionMintDst"
|
|
8336
|
-
}
|
|
8337
|
-
],
|
|
8338
|
-
"program": {
|
|
8339
|
-
"kind": "account",
|
|
8340
|
-
"path": "associatedTokenProgram"
|
|
8341
|
-
}
|
|
8342
|
-
}
|
|
9613
|
+
]
|
|
8343
9614
|
},
|
|
8344
9615
|
{
|
|
8345
9616
|
"name": "tokenVaultA",
|
|
@@ -8640,27 +9911,7 @@ exports.IDL = {
|
|
|
8640
9911
|
"name": "positionTokenAccountSrc",
|
|
8641
9912
|
"docs": [
|
|
8642
9913
|
"NFT that represents orca whirlpool position"
|
|
8643
|
-
]
|
|
8644
|
-
"pda": {
|
|
8645
|
-
"seeds": [
|
|
8646
|
-
{
|
|
8647
|
-
"kind": "account",
|
|
8648
|
-
"path": "userPda"
|
|
8649
|
-
},
|
|
8650
|
-
{
|
|
8651
|
-
"kind": "account",
|
|
8652
|
-
"path": "tokenProgram"
|
|
8653
|
-
},
|
|
8654
|
-
{
|
|
8655
|
-
"kind": "account",
|
|
8656
|
-
"path": "positionMintSrc"
|
|
8657
|
-
}
|
|
8658
|
-
],
|
|
8659
|
-
"program": {
|
|
8660
|
-
"kind": "account",
|
|
8661
|
-
"path": "associatedTokenProgram"
|
|
8662
|
-
}
|
|
8663
|
-
}
|
|
9914
|
+
]
|
|
8664
9915
|
},
|
|
8665
9916
|
{
|
|
8666
9917
|
"name": "positionMintDst",
|
|
@@ -8688,27 +9939,7 @@ exports.IDL = {
|
|
|
8688
9939
|
"name": "positionTokenAccountDst",
|
|
8689
9940
|
"docs": [
|
|
8690
9941
|
"NFT that represents orca whirlpool position"
|
|
8691
|
-
]
|
|
8692
|
-
"pda": {
|
|
8693
|
-
"seeds": [
|
|
8694
|
-
{
|
|
8695
|
-
"kind": "account",
|
|
8696
|
-
"path": "userPda"
|
|
8697
|
-
},
|
|
8698
|
-
{
|
|
8699
|
-
"kind": "account",
|
|
8700
|
-
"path": "tokenProgram"
|
|
8701
|
-
},
|
|
8702
|
-
{
|
|
8703
|
-
"kind": "account",
|
|
8704
|
-
"path": "positionMintDst"
|
|
8705
|
-
}
|
|
8706
|
-
],
|
|
8707
|
-
"program": {
|
|
8708
|
-
"kind": "account",
|
|
8709
|
-
"path": "associatedTokenProgram"
|
|
8710
|
-
}
|
|
8711
|
-
}
|
|
9942
|
+
]
|
|
8712
9943
|
},
|
|
8713
9944
|
{
|
|
8714
9945
|
"name": "tokenVaultA",
|
|
@@ -9001,27 +10232,7 @@ exports.IDL = {
|
|
|
9001
10232
|
"name": "positionTokenAccountDst",
|
|
9002
10233
|
"docs": [
|
|
9003
10234
|
"NFT that represents orca whirlpool position"
|
|
9004
|
-
]
|
|
9005
|
-
"pda": {
|
|
9006
|
-
"seeds": [
|
|
9007
|
-
{
|
|
9008
|
-
"kind": "account",
|
|
9009
|
-
"path": "userPda"
|
|
9010
|
-
},
|
|
9011
|
-
{
|
|
9012
|
-
"kind": "account",
|
|
9013
|
-
"path": "tokenProgram"
|
|
9014
|
-
},
|
|
9015
|
-
{
|
|
9016
|
-
"kind": "account",
|
|
9017
|
-
"path": "positionMintDst"
|
|
9018
|
-
}
|
|
9019
|
-
],
|
|
9020
|
-
"program": {
|
|
9021
|
-
"kind": "account",
|
|
9022
|
-
"path": "associatedTokenProgram"
|
|
9023
|
-
}
|
|
9024
|
-
}
|
|
10235
|
+
]
|
|
9025
10236
|
},
|
|
9026
10237
|
{
|
|
9027
10238
|
"name": "tokenVaultA",
|
|
@@ -9258,27 +10469,7 @@ exports.IDL = {
|
|
|
9258
10469
|
"docs": [
|
|
9259
10470
|
"NFT that represents orca whirlpool position"
|
|
9260
10471
|
],
|
|
9261
|
-
"writable": true
|
|
9262
|
-
"pda": {
|
|
9263
|
-
"seeds": [
|
|
9264
|
-
{
|
|
9265
|
-
"kind": "account",
|
|
9266
|
-
"path": "userPda"
|
|
9267
|
-
},
|
|
9268
|
-
{
|
|
9269
|
-
"kind": "account",
|
|
9270
|
-
"path": "tokenProgram"
|
|
9271
|
-
},
|
|
9272
|
-
{
|
|
9273
|
-
"kind": "account",
|
|
9274
|
-
"path": "positionMint"
|
|
9275
|
-
}
|
|
9276
|
-
],
|
|
9277
|
-
"program": {
|
|
9278
|
-
"kind": "account",
|
|
9279
|
-
"path": "associatedTokenProgram"
|
|
9280
|
-
}
|
|
9281
|
-
}
|
|
10472
|
+
"writable": true
|
|
9282
10473
|
},
|
|
9283
10474
|
{
|
|
9284
10475
|
"name": "tokenOwnerAccountA",
|
|
@@ -10151,40 +11342,7 @@ exports.IDL = {
|
|
|
10151
11342
|
"docs": [
|
|
10152
11343
|
"Protocol position which may be already initialized, or to be initialized by user."
|
|
10153
11344
|
],
|
|
10154
|
-
"writable": true
|
|
10155
|
-
"pda": {
|
|
10156
|
-
"seeds": [
|
|
10157
|
-
{
|
|
10158
|
-
"kind": "const",
|
|
10159
|
-
"value": [
|
|
10160
|
-
112,
|
|
10161
|
-
111,
|
|
10162
|
-
115,
|
|
10163
|
-
105,
|
|
10164
|
-
116,
|
|
10165
|
-
105,
|
|
10166
|
-
111,
|
|
10167
|
-
110
|
|
10168
|
-
]
|
|
10169
|
-
},
|
|
10170
|
-
{
|
|
10171
|
-
"kind": "account",
|
|
10172
|
-
"path": "poolState"
|
|
10173
|
-
},
|
|
10174
|
-
{
|
|
10175
|
-
"kind": "arg",
|
|
10176
|
-
"path": "tickLowerIndex"
|
|
10177
|
-
},
|
|
10178
|
-
{
|
|
10179
|
-
"kind": "arg",
|
|
10180
|
-
"path": "tickUpperIndex"
|
|
10181
|
-
}
|
|
10182
|
-
],
|
|
10183
|
-
"program": {
|
|
10184
|
-
"kind": "account",
|
|
10185
|
-
"path": "raydiumProgram"
|
|
10186
|
-
}
|
|
10187
|
-
}
|
|
11345
|
+
"writable": true
|
|
10188
11346
|
},
|
|
10189
11347
|
{
|
|
10190
11348
|
"name": "tickArrayLower",
|
|
@@ -10455,42 +11613,7 @@ exports.IDL = {
|
|
|
10455
11613
|
},
|
|
10456
11614
|
{
|
|
10457
11615
|
"name": "protocolPosition",
|
|
10458
|
-
"writable": true
|
|
10459
|
-
"pda": {
|
|
10460
|
-
"seeds": [
|
|
10461
|
-
{
|
|
10462
|
-
"kind": "const",
|
|
10463
|
-
"value": [
|
|
10464
|
-
112,
|
|
10465
|
-
111,
|
|
10466
|
-
115,
|
|
10467
|
-
105,
|
|
10468
|
-
116,
|
|
10469
|
-
105,
|
|
10470
|
-
111,
|
|
10471
|
-
110
|
|
10472
|
-
]
|
|
10473
|
-
},
|
|
10474
|
-
{
|
|
10475
|
-
"kind": "account",
|
|
10476
|
-
"path": "poolState"
|
|
10477
|
-
},
|
|
10478
|
-
{
|
|
10479
|
-
"kind": "account",
|
|
10480
|
-
"path": "personal_position.tick_lower_index",
|
|
10481
|
-
"account": "personalPositionState"
|
|
10482
|
-
},
|
|
10483
|
-
{
|
|
10484
|
-
"kind": "account",
|
|
10485
|
-
"path": "personal_position.tick_upper_index",
|
|
10486
|
-
"account": "personalPositionState"
|
|
10487
|
-
}
|
|
10488
|
-
],
|
|
10489
|
-
"program": {
|
|
10490
|
-
"kind": "account",
|
|
10491
|
-
"path": "raydiumProgram"
|
|
10492
|
-
}
|
|
10493
|
-
}
|
|
11616
|
+
"writable": true
|
|
10494
11617
|
},
|
|
10495
11618
|
{
|
|
10496
11619
|
"name": "poolState",
|
|
@@ -11647,19 +12770,6 @@ exports.IDL = {
|
|
|
11647
12770
|
208
|
|
11648
12771
|
]
|
|
11649
12772
|
},
|
|
11650
|
-
{
|
|
11651
|
-
"name": "protocolPositionState",
|
|
11652
|
-
"discriminator": [
|
|
11653
|
-
100,
|
|
11654
|
-
226,
|
|
11655
|
-
145,
|
|
11656
|
-
99,
|
|
11657
|
-
146,
|
|
11658
|
-
218,
|
|
11659
|
-
160,
|
|
11660
|
-
106
|
|
11661
|
-
]
|
|
11662
|
-
},
|
|
11663
12773
|
{
|
|
11664
12774
|
"name": "tickArrayBitmapExtension",
|
|
11665
12775
|
"discriminator": [
|
|
@@ -12675,105 +13785,6 @@ exports.IDL = {
|
|
|
12675
13785
|
]
|
|
12676
13786
|
}
|
|
12677
13787
|
},
|
|
12678
|
-
{
|
|
12679
|
-
"name": "protocolPositionState",
|
|
12680
|
-
"docs": [
|
|
12681
|
-
"Info stored for each user's position"
|
|
12682
|
-
],
|
|
12683
|
-
"type": {
|
|
12684
|
-
"kind": "struct",
|
|
12685
|
-
"fields": [
|
|
12686
|
-
{
|
|
12687
|
-
"name": "bump",
|
|
12688
|
-
"docs": [
|
|
12689
|
-
"Bump to identify PDA"
|
|
12690
|
-
],
|
|
12691
|
-
"type": "u8"
|
|
12692
|
-
},
|
|
12693
|
-
{
|
|
12694
|
-
"name": "poolId",
|
|
12695
|
-
"docs": [
|
|
12696
|
-
"The ID of the pool with which this token is connected"
|
|
12697
|
-
],
|
|
12698
|
-
"type": "pubkey"
|
|
12699
|
-
},
|
|
12700
|
-
{
|
|
12701
|
-
"name": "tickLowerIndex",
|
|
12702
|
-
"docs": [
|
|
12703
|
-
"The lower bound tick of the position"
|
|
12704
|
-
],
|
|
12705
|
-
"type": "i32"
|
|
12706
|
-
},
|
|
12707
|
-
{
|
|
12708
|
-
"name": "tickUpperIndex",
|
|
12709
|
-
"docs": [
|
|
12710
|
-
"The upper bound tick of the position"
|
|
12711
|
-
],
|
|
12712
|
-
"type": "i32"
|
|
12713
|
-
},
|
|
12714
|
-
{
|
|
12715
|
-
"name": "liquidity",
|
|
12716
|
-
"docs": [
|
|
12717
|
-
"The amount of liquidity owned by this position"
|
|
12718
|
-
],
|
|
12719
|
-
"type": "u128"
|
|
12720
|
-
},
|
|
12721
|
-
{
|
|
12722
|
-
"name": "feeGrowthInside0LastX64",
|
|
12723
|
-
"docs": [
|
|
12724
|
-
"The token_0 fee growth per unit of liquidity as of the last update to liquidity or fees owed"
|
|
12725
|
-
],
|
|
12726
|
-
"type": "u128"
|
|
12727
|
-
},
|
|
12728
|
-
{
|
|
12729
|
-
"name": "feeGrowthInside1LastX64",
|
|
12730
|
-
"docs": [
|
|
12731
|
-
"The token_1 fee growth per unit of liquidity as of the last update to liquidity or fees owed"
|
|
12732
|
-
],
|
|
12733
|
-
"type": "u128"
|
|
12734
|
-
},
|
|
12735
|
-
{
|
|
12736
|
-
"name": "tokenFeesOwed0",
|
|
12737
|
-
"docs": [
|
|
12738
|
-
"The fees owed to the position owner in token_0"
|
|
12739
|
-
],
|
|
12740
|
-
"type": "u64"
|
|
12741
|
-
},
|
|
12742
|
-
{
|
|
12743
|
-
"name": "tokenFeesOwed1",
|
|
12744
|
-
"docs": [
|
|
12745
|
-
"The fees owed to the position owner in token_1"
|
|
12746
|
-
],
|
|
12747
|
-
"type": "u64"
|
|
12748
|
-
},
|
|
12749
|
-
{
|
|
12750
|
-
"name": "rewardGrowthInside",
|
|
12751
|
-
"docs": [
|
|
12752
|
-
"The reward growth per unit of liquidity as of the last update to liquidity"
|
|
12753
|
-
],
|
|
12754
|
-
"type": {
|
|
12755
|
-
"array": [
|
|
12756
|
-
"u128",
|
|
12757
|
-
3
|
|
12758
|
-
]
|
|
12759
|
-
}
|
|
12760
|
-
},
|
|
12761
|
-
{
|
|
12762
|
-
"name": "recentEpoch",
|
|
12763
|
-
"type": "u64"
|
|
12764
|
-
},
|
|
12765
|
-
{
|
|
12766
|
-
"name": "padding",
|
|
12767
|
-
"type": {
|
|
12768
|
-
"array": [
|
|
12769
|
-
"u64",
|
|
12770
|
-
7
|
|
12771
|
-
]
|
|
12772
|
-
}
|
|
12773
|
-
}
|
|
12774
|
-
]
|
|
12775
|
-
}
|
|
12776
|
-
},
|
|
12777
13788
|
{
|
|
12778
13789
|
"name": "rewardInfo",
|
|
12779
13790
|
"serialization": "bytemuckunsafe",
|