@hawksightco/hawk-sdk 1.1.6 → 1.1.8
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/src/classes/HawkAPI.d.ts +10 -0
- package/dist/src/classes/HawkAPI.d.ts.map +1 -1
- package/dist/src/classes/HawkAPI.js +11 -0
- package/dist/src/classes/SimpleIxGenerator.d.ts +38 -0
- package/dist/src/classes/SimpleIxGenerator.d.ts.map +1 -0
- package/dist/src/classes/SimpleIxGenerator.js +63 -0
- package/dist/src/classes/TransactionBatchExecute.d.ts +113 -0
- package/dist/src/classes/TransactionBatchExecute.d.ts.map +1 -0
- package/dist/src/classes/TransactionBatchExecute.js +294 -0
- package/dist/src/classes/Transactions.js +1 -1
- package/dist/src/hawksight.d.ts +8 -0
- package/dist/src/hawksight.d.ts.map +1 -1
- package/dist/src/hawksight.js +29 -1
- package/dist/src/idl/iyf-main-idl.d.ts +100 -5
- package/dist/src/idl/iyf-main-idl.d.ts.map +1 -1
- package/dist/src/idl/iyf-main-idl.js +100 -5
- package/package.json +1 -1
|
@@ -6175,7 +6175,7 @@ exports.IDL = {
|
|
|
6175
6175
|
]
|
|
6176
6176
|
},
|
|
6177
6177
|
{
|
|
6178
|
-
"name": "
|
|
6178
|
+
"name": "initializeStorageTokenAccount",
|
|
6179
6179
|
"accounts": [
|
|
6180
6180
|
{
|
|
6181
6181
|
"name": "userPda",
|
|
@@ -6256,6 +6256,80 @@ exports.IDL = {
|
|
|
6256
6256
|
}
|
|
6257
6257
|
],
|
|
6258
6258
|
"args": []
|
|
6259
|
+
},
|
|
6260
|
+
{
|
|
6261
|
+
"name": "setTransactionSlot",
|
|
6262
|
+
"accounts": [
|
|
6263
|
+
{
|
|
6264
|
+
"name": "userPda",
|
|
6265
|
+
"isMut": true,
|
|
6266
|
+
"isSigner": false,
|
|
6267
|
+
"pda": {
|
|
6268
|
+
"seeds": [
|
|
6269
|
+
{
|
|
6270
|
+
"kind": "const",
|
|
6271
|
+
"type": "string",
|
|
6272
|
+
"value": "multi-user"
|
|
6273
|
+
},
|
|
6274
|
+
{
|
|
6275
|
+
"kind": "account",
|
|
6276
|
+
"type": "publicKey",
|
|
6277
|
+
"account": "UserAccountMulti",
|
|
6278
|
+
"path": "user_pda.farm"
|
|
6279
|
+
},
|
|
6280
|
+
{
|
|
6281
|
+
"kind": "account",
|
|
6282
|
+
"type": "publicKey",
|
|
6283
|
+
"account": "UserAccountMulti",
|
|
6284
|
+
"path": "user_pda.authority"
|
|
6285
|
+
}
|
|
6286
|
+
]
|
|
6287
|
+
}
|
|
6288
|
+
},
|
|
6289
|
+
{
|
|
6290
|
+
"name": "clock",
|
|
6291
|
+
"isMut": false,
|
|
6292
|
+
"isSigner": false
|
|
6293
|
+
}
|
|
6294
|
+
],
|
|
6295
|
+
"args": []
|
|
6296
|
+
},
|
|
6297
|
+
{
|
|
6298
|
+
"name": "verifyTransactionSlot",
|
|
6299
|
+
"accounts": [
|
|
6300
|
+
{
|
|
6301
|
+
"name": "userPda",
|
|
6302
|
+
"isMut": true,
|
|
6303
|
+
"isSigner": false,
|
|
6304
|
+
"pda": {
|
|
6305
|
+
"seeds": [
|
|
6306
|
+
{
|
|
6307
|
+
"kind": "const",
|
|
6308
|
+
"type": "string",
|
|
6309
|
+
"value": "multi-user"
|
|
6310
|
+
},
|
|
6311
|
+
{
|
|
6312
|
+
"kind": "account",
|
|
6313
|
+
"type": "publicKey",
|
|
6314
|
+
"account": "UserAccountMulti",
|
|
6315
|
+
"path": "user_pda.farm"
|
|
6316
|
+
},
|
|
6317
|
+
{
|
|
6318
|
+
"kind": "account",
|
|
6319
|
+
"type": "publicKey",
|
|
6320
|
+
"account": "UserAccountMulti",
|
|
6321
|
+
"path": "user_pda.authority"
|
|
6322
|
+
}
|
|
6323
|
+
]
|
|
6324
|
+
}
|
|
6325
|
+
},
|
|
6326
|
+
{
|
|
6327
|
+
"name": "clock",
|
|
6328
|
+
"isMut": false,
|
|
6329
|
+
"isSigner": false
|
|
6330
|
+
}
|
|
6331
|
+
],
|
|
6332
|
+
"args": []
|
|
6259
6333
|
}
|
|
6260
6334
|
],
|
|
6261
6335
|
"accounts": [
|
|
@@ -6401,11 +6475,32 @@ exports.IDL = {
|
|
|
6401
6475
|
"type": "publicKey"
|
|
6402
6476
|
},
|
|
6403
6477
|
{
|
|
6404
|
-
"name": "
|
|
6478
|
+
"name": "txLength",
|
|
6479
|
+
"type": "u8"
|
|
6480
|
+
},
|
|
6481
|
+
{
|
|
6482
|
+
"name": "slot",
|
|
6483
|
+
"type": "u64"
|
|
6484
|
+
},
|
|
6485
|
+
{
|
|
6486
|
+
"name": "atomicityHash",
|
|
6405
6487
|
"type": {
|
|
6406
|
-
"
|
|
6407
|
-
"
|
|
6408
|
-
|
|
6488
|
+
"array": [
|
|
6489
|
+
"publicKey",
|
|
6490
|
+
10
|
|
6491
|
+
]
|
|
6492
|
+
}
|
|
6493
|
+
},
|
|
6494
|
+
{
|
|
6495
|
+
"name": "assetInfo",
|
|
6496
|
+
"type": {
|
|
6497
|
+
"defined": "UserAssetInfo"
|
|
6498
|
+
}
|
|
6499
|
+
},
|
|
6500
|
+
{
|
|
6501
|
+
"name": "padding",
|
|
6502
|
+
"type": {
|
|
6503
|
+
"defined": "UserAccountMultiPadding"
|
|
6409
6504
|
}
|
|
6410
6505
|
}
|
|
6411
6506
|
]
|