@hawksightco/hawk-sdk 1.3.118 → 1.3.120

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.
@@ -1947,7 +1947,7 @@ class ClaimRewardAutomation extends HawksightMeteoraAutomationCpi {
1947
1947
  * @param authority The authority public key that has signing capabilities over the transaction.
1948
1948
  */
1949
1949
  constructor(ix, userPda, authority, opt) {
1950
- super(ix, userPda, authority, util.sighash("claim_reward2", undefined, true), opt);
1950
+ super(ix, userPda, authority, util.sighash("claim_reward", undefined, true), opt);
1951
1951
  }
1952
1952
  /**
1953
1953
  * Adjusts transaction keys to facilitate the claiming of rewards.
@@ -2273,7 +2273,7 @@ class MeteoraDlmmClaimReward2Automation extends HawksightMeteoraAutomationCpi {
2273
2273
  // Generate IX via extension contract
2274
2274
  // @ts-ignore
2275
2275
  const claimReward = yield anchor_1.Anchor.instance().iyfExtension.methods
2276
- .MeteoraDlmmClaimReward2Automation(rewardIndex, minBinId, maxBinId, remainingAccountsInfo)
2276
+ .meteoraDlmmClaimReward2Automation(rewardIndex, minBinId, maxBinId, remainingAccountsInfo)
2277
2277
  .accounts({
2278
2278
  userPda,
2279
2279
  authority,
@@ -2853,6 +2853,111 @@ export type IyfExtension = {
2853
2853
  }
2854
2854
  ];
2855
2855
  },
2856
+ {
2857
+ "name": "meteoraDlmmClaimReward2Automation";
2858
+ "docs": [
2859
+ "Meteora DLMM Claim Reward IX Automation"
2860
+ ];
2861
+ "discriminator": [
2862
+ 198,
2863
+ 5,
2864
+ 125,
2865
+ 180,
2866
+ 86,
2867
+ 162,
2868
+ 105,
2869
+ 21
2870
+ ];
2871
+ "accounts": [
2872
+ {
2873
+ "name": "userPda";
2874
+ "docs": [
2875
+ "Hawksight user pda"
2876
+ ];
2877
+ },
2878
+ {
2879
+ "name": "authority";
2880
+ "docs": [
2881
+ "User wallet",
2882
+ "* No need to check"
2883
+ ];
2884
+ "relations": [
2885
+ "userPda"
2886
+ ];
2887
+ },
2888
+ {
2889
+ "name": "hawksightAuthority";
2890
+ "docs": [
2891
+ "Rebalancer which is hard coded to be a Hawksight rebalance wallet"
2892
+ ];
2893
+ "writable": true;
2894
+ "signer": true;
2895
+ },
2896
+ {
2897
+ "name": "lbPair";
2898
+ "writable": true;
2899
+ },
2900
+ {
2901
+ "name": "position";
2902
+ "writable": true;
2903
+ },
2904
+ {
2905
+ "name": "binArrayLower";
2906
+ "writable": true;
2907
+ },
2908
+ {
2909
+ "name": "binArrayUpper";
2910
+ "writable": true;
2911
+ },
2912
+ {
2913
+ "name": "rewardVault";
2914
+ "writable": true;
2915
+ },
2916
+ {
2917
+ "name": "rewardMint";
2918
+ },
2919
+ {
2920
+ "name": "userTokenAccount";
2921
+ "writable": true;
2922
+ },
2923
+ {
2924
+ "name": "tokenProgram";
2925
+ },
2926
+ {
2927
+ "name": "memoProgram";
2928
+ "address": "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr";
2929
+ },
2930
+ {
2931
+ "name": "eventAuthority";
2932
+ },
2933
+ {
2934
+ "name": "meteoraDlmmProgram";
2935
+ "address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo";
2936
+ },
2937
+ {
2938
+ "name": "ownerFee";
2939
+ "writable": true;
2940
+ }
2941
+ ];
2942
+ "args": [
2943
+ {
2944
+ "name": "rewardIndex";
2945
+ "type": "u64";
2946
+ },
2947
+ {
2948
+ "name": "minBinId";
2949
+ "type": "i32";
2950
+ },
2951
+ {
2952
+ "name": "maxBinId";
2953
+ "type": "i32";
2954
+ },
2955
+ {
2956
+ "name": "remainingAccountsInfo";
2957
+ "type": "bytes";
2958
+ }
2959
+ ];
2960
+ },
2856
2961
  {
2857
2962
  "name": "meteoraDlmmClaimRewardAutomation";
2858
2963
  "docs": [