@hawksightco/hawk-sdk 1.2.8 → 1.2.10
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/SimpleIxGenerator.d.ts.map +1 -1
- package/dist/src/classes/SimpleIxGenerator.js +1 -1
- package/dist/src/classes/Transactions.d.ts.map +1 -1
- package/dist/src/classes/Transactions.js +17 -17
- package/dist/src/classes/TxGenerator.d.ts +2 -2
- package/dist/src/classes/TxGenerator.d.ts.map +1 -1
- package/dist/src/classes/TxGenerator.js +8 -1
- package/dist/src/hawksight.d.ts +3 -0
- package/dist/src/hawksight.d.ts.map +1 -1
- package/dist/src/hawksight.js +30 -4
- package/dist/src/hsToMeteora.d.ts +3 -3
- package/dist/src/hsToMeteora.d.ts.map +1 -1
- package/dist/src/hsToMeteora.js +223 -44
- package/dist/src/idl/iyf-main-idl.d.ts +112 -15
- package/dist/src/idl/iyf-main-idl.d.ts.map +1 -1
- package/dist/src/idl/iyf-main-idl.js +116 -19
- package/dist/src/ixGenerator/IyfMainIxGenerator.d.ts +28 -2
- package/dist/src/ixGenerator/IyfMainIxGenerator.d.ts.map +1 -1
- package/dist/src/ixGenerator/IyfMainIxGenerator.js +50 -4
- package/dist/src/ixGenerator/MeteoraDlmmIxGenerator.d.ts +3 -3
- package/dist/src/ixGenerator/MeteoraDlmmIxGenerator.d.ts.map +1 -1
- package/dist/src/ixGenerator/MeteoraDlmmIxGenerator.js +5 -5
- package/dist/src/meteora.d.ts +9 -1
- package/dist/src/meteora.d.ts.map +1 -1
- package/dist/src/meteora.js +15 -2
- package/dist/src/types.d.ts +8 -1
- package/dist/src/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -6061,6 +6061,10 @@ export type IndexYieldFarming = {
|
|
|
6061
6061
|
"type": {
|
|
6062
6062
|
"vec": "u64";
|
|
6063
6063
|
};
|
|
6064
|
+
},
|
|
6065
|
+
{
|
|
6066
|
+
"name": "skipIdempotent";
|
|
6067
|
+
"type": "bool";
|
|
6064
6068
|
}
|
|
6065
6069
|
];
|
|
6066
6070
|
},
|
|
@@ -6123,7 +6127,12 @@ export type IndexYieldFarming = {
|
|
|
6123
6127
|
"isSigner": false;
|
|
6124
6128
|
}
|
|
6125
6129
|
];
|
|
6126
|
-
"args": [
|
|
6130
|
+
"args": [
|
|
6131
|
+
{
|
|
6132
|
+
"name": "skipIdempotent";
|
|
6133
|
+
"type": "bool";
|
|
6134
|
+
}
|
|
6135
|
+
];
|
|
6127
6136
|
},
|
|
6128
6137
|
{
|
|
6129
6138
|
"name": "meteoraDynamicCpi";
|
|
@@ -6492,8 +6501,7 @@ export type IndexYieldFarming = {
|
|
|
6492
6501
|
{
|
|
6493
6502
|
"kind": "account";
|
|
6494
6503
|
"type": "publicKey";
|
|
6495
|
-
"
|
|
6496
|
-
"path": "user_pda.authority";
|
|
6504
|
+
"path": "authority";
|
|
6497
6505
|
}
|
|
6498
6506
|
];
|
|
6499
6507
|
};
|
|
@@ -6760,31 +6768,72 @@ export type IndexYieldFarming = {
|
|
|
6760
6768
|
{
|
|
6761
6769
|
"kind": "account";
|
|
6762
6770
|
"type": "publicKey";
|
|
6763
|
-
"
|
|
6764
|
-
"path": "user_pda.authority";
|
|
6771
|
+
"path": "authority";
|
|
6765
6772
|
}
|
|
6766
6773
|
];
|
|
6767
6774
|
};
|
|
6768
6775
|
},
|
|
6769
6776
|
{
|
|
6770
6777
|
"name": "payer";
|
|
6771
|
-
"isMut":
|
|
6778
|
+
"isMut": true;
|
|
6772
6779
|
"isSigner": true;
|
|
6773
6780
|
},
|
|
6774
6781
|
{
|
|
6775
6782
|
"name": "authority";
|
|
6776
|
-
"isMut":
|
|
6783
|
+
"isMut": true;
|
|
6777
6784
|
"isSigner": false;
|
|
6778
6785
|
},
|
|
6779
6786
|
{
|
|
6780
6787
|
"name": "limitTokenX";
|
|
6781
6788
|
"isMut": true;
|
|
6782
6789
|
"isSigner": false;
|
|
6790
|
+
"pda": {
|
|
6791
|
+
"seeds": [
|
|
6792
|
+
{
|
|
6793
|
+
"kind": "const";
|
|
6794
|
+
"type": "string";
|
|
6795
|
+
"value": "limit-token";
|
|
6796
|
+
},
|
|
6797
|
+
{
|
|
6798
|
+
"kind": "account";
|
|
6799
|
+
"type": "publicKey";
|
|
6800
|
+
"account": "Mint";
|
|
6801
|
+
"path": "mint_x";
|
|
6802
|
+
},
|
|
6803
|
+
{
|
|
6804
|
+
"kind": "account";
|
|
6805
|
+
"type": "publicKey";
|
|
6806
|
+
"account": "UserAccountMulti";
|
|
6807
|
+
"path": "user_pda";
|
|
6808
|
+
}
|
|
6809
|
+
];
|
|
6810
|
+
};
|
|
6783
6811
|
},
|
|
6784
6812
|
{
|
|
6785
6813
|
"name": "limitTokenY";
|
|
6786
6814
|
"isMut": true;
|
|
6787
6815
|
"isSigner": false;
|
|
6816
|
+
"pda": {
|
|
6817
|
+
"seeds": [
|
|
6818
|
+
{
|
|
6819
|
+
"kind": "const";
|
|
6820
|
+
"type": "string";
|
|
6821
|
+
"value": "limit-token";
|
|
6822
|
+
},
|
|
6823
|
+
{
|
|
6824
|
+
"kind": "account";
|
|
6825
|
+
"type": "publicKey";
|
|
6826
|
+
"account": "Mint";
|
|
6827
|
+
"path": "mint_y";
|
|
6828
|
+
},
|
|
6829
|
+
{
|
|
6830
|
+
"kind": "account";
|
|
6831
|
+
"type": "publicKey";
|
|
6832
|
+
"account": "UserAccountMulti";
|
|
6833
|
+
"path": "user_pda";
|
|
6834
|
+
}
|
|
6835
|
+
];
|
|
6836
|
+
};
|
|
6788
6837
|
},
|
|
6789
6838
|
{
|
|
6790
6839
|
"name": "mintX";
|
|
@@ -6842,31 +6891,72 @@ export type IndexYieldFarming = {
|
|
|
6842
6891
|
{
|
|
6843
6892
|
"kind": "account";
|
|
6844
6893
|
"type": "publicKey";
|
|
6845
|
-
"
|
|
6846
|
-
"path": "user_pda.authority";
|
|
6894
|
+
"path": "authority";
|
|
6847
6895
|
}
|
|
6848
6896
|
];
|
|
6849
6897
|
};
|
|
6850
6898
|
},
|
|
6851
6899
|
{
|
|
6852
6900
|
"name": "payer";
|
|
6853
|
-
"isMut":
|
|
6901
|
+
"isMut": true;
|
|
6854
6902
|
"isSigner": true;
|
|
6855
6903
|
},
|
|
6856
6904
|
{
|
|
6857
6905
|
"name": "authority";
|
|
6858
|
-
"isMut":
|
|
6906
|
+
"isMut": true;
|
|
6859
6907
|
"isSigner": false;
|
|
6860
6908
|
},
|
|
6861
6909
|
{
|
|
6862
6910
|
"name": "limitTokenX";
|
|
6863
6911
|
"isMut": true;
|
|
6864
6912
|
"isSigner": false;
|
|
6913
|
+
"pda": {
|
|
6914
|
+
"seeds": [
|
|
6915
|
+
{
|
|
6916
|
+
"kind": "const";
|
|
6917
|
+
"type": "string";
|
|
6918
|
+
"value": "limit-token";
|
|
6919
|
+
},
|
|
6920
|
+
{
|
|
6921
|
+
"kind": "account";
|
|
6922
|
+
"type": "publicKey";
|
|
6923
|
+
"account": "Mint";
|
|
6924
|
+
"path": "mint_x";
|
|
6925
|
+
},
|
|
6926
|
+
{
|
|
6927
|
+
"kind": "account";
|
|
6928
|
+
"type": "publicKey";
|
|
6929
|
+
"account": "UserAccountMulti";
|
|
6930
|
+
"path": "user_pda";
|
|
6931
|
+
}
|
|
6932
|
+
];
|
|
6933
|
+
};
|
|
6865
6934
|
},
|
|
6866
6935
|
{
|
|
6867
6936
|
"name": "limitTokenY";
|
|
6868
6937
|
"isMut": true;
|
|
6869
6938
|
"isSigner": false;
|
|
6939
|
+
"pda": {
|
|
6940
|
+
"seeds": [
|
|
6941
|
+
{
|
|
6942
|
+
"kind": "const";
|
|
6943
|
+
"type": "string";
|
|
6944
|
+
"value": "limit-token";
|
|
6945
|
+
},
|
|
6946
|
+
{
|
|
6947
|
+
"kind": "account";
|
|
6948
|
+
"type": "publicKey";
|
|
6949
|
+
"account": "Mint";
|
|
6950
|
+
"path": "mint_y";
|
|
6951
|
+
},
|
|
6952
|
+
{
|
|
6953
|
+
"kind": "account";
|
|
6954
|
+
"type": "publicKey";
|
|
6955
|
+
"account": "UserAccountMulti";
|
|
6956
|
+
"path": "user_pda";
|
|
6957
|
+
}
|
|
6958
|
+
];
|
|
6959
|
+
};
|
|
6870
6960
|
},
|
|
6871
6961
|
{
|
|
6872
6962
|
"name": "mintX";
|
|
@@ -7070,10 +7160,7 @@ export type IndexYieldFarming = {
|
|
|
7070
7160
|
{
|
|
7071
7161
|
"name": "padding";
|
|
7072
7162
|
"type": {
|
|
7073
|
-
"
|
|
7074
|
-
"u8",
|
|
7075
|
-
285
|
|
7076
|
-
];
|
|
7163
|
+
"defined": "UserAccountMultiPadding";
|
|
7077
7164
|
};
|
|
7078
7165
|
}
|
|
7079
7166
|
];
|
|
@@ -7524,6 +7611,16 @@ export type IndexYieldFarming = {
|
|
|
7524
7611
|
"code": 6033;
|
|
7525
7612
|
"name": "MustBeUserWallet";
|
|
7526
7613
|
"msg": "Must be signed by user wallet for this instruction";
|
|
7614
|
+
},
|
|
7615
|
+
{
|
|
7616
|
+
"code": 6034;
|
|
7617
|
+
"name": "InvalidProgramOwner";
|
|
7618
|
+
"msg": "Invalid program owner";
|
|
7619
|
+
},
|
|
7620
|
+
{
|
|
7621
|
+
"code": 6035;
|
|
7622
|
+
"name": "OnlyAuthorityCanCloseLimitTokenAccounts";
|
|
7623
|
+
"msg": "Only authority can close limit token accounts";
|
|
7527
7624
|
}
|
|
7528
7625
|
];
|
|
7529
7626
|
};
|