@hawksightco/hawk-sdk 1.2.13 → 1.2.15

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.
@@ -1924,85 +1924,25 @@ export type IyfExtension = {
1924
1924
  {
1925
1925
  "name": "limitTokenX";
1926
1926
  "writable": true;
1927
- "pda": {
1928
- "seeds": [
1929
- {
1930
- "kind": "const";
1931
- "value": [
1932
- 108,
1933
- 105,
1934
- 109,
1935
- 105,
1936
- 116,
1937
- 45,
1938
- 99,
1939
- 108,
1940
- 111,
1941
- 115,
1942
- 101,
1943
- 45,
1944
- 116,
1945
- 111,
1946
- 107,
1947
- 101,
1948
- 110
1949
- ];
1950
- },
1951
- {
1952
- "kind": "account";
1953
- "path": "tokenXMint";
1954
- },
1955
- {
1956
- "kind": "account";
1957
- "path": "userPda";
1958
- }
1959
- ];
1960
- };
1961
1927
  },
1962
1928
  {
1963
1929
  "name": "limitTokenY";
1964
1930
  "writable": true;
1965
- "pda": {
1966
- "seeds": [
1967
- {
1968
- "kind": "const";
1969
- "value": [
1970
- 108,
1971
- 105,
1972
- 109,
1973
- 105,
1974
- 116,
1975
- 45,
1976
- 99,
1977
- 108,
1978
- 111,
1979
- 115,
1980
- 101,
1981
- 45,
1982
- 116,
1983
- 111,
1984
- 107,
1985
- 101,
1986
- 110
1987
- ];
1988
- },
1989
- {
1990
- "kind": "account";
1991
- "path": "tokenYMint";
1992
- },
1993
- {
1994
- "kind": "account";
1995
- "path": "userPda";
1996
- }
1997
- ];
1998
- };
1999
1931
  },
2000
1932
  {
2001
1933
  "name": "authorityTokenX";
1934
+ "docs": [
1935
+ "User wallet's Token X Account",
1936
+ "Set to unchecked to allow uninitialized account (for case of wSOL token)"
1937
+ ];
2002
1938
  "writable": true;
2003
1939
  },
2004
1940
  {
2005
1941
  "name": "authorityTokenY";
1942
+ "docs": [
1943
+ "User wallet's Token Y Account",
1944
+ "Set to unchecked to allow uninitialized account (for case of wSOL token)"
1945
+ ];
2006
1946
  "writable": true;
2007
1947
  },
2008
1948
  {
@@ -3061,6 +3001,188 @@ export type IyfExtension = {
3061
3001
  }
3062
3002
  ];
3063
3003
  },
3004
+ {
3005
+ "name": "meteoraDlmmDepositWithAmountAutomation";
3006
+ "docs": [
3007
+ "Meteora DLMM Deposit IX Automation with amount"
3008
+ ];
3009
+ "discriminator": [
3010
+ 223,
3011
+ 226,
3012
+ 125,
3013
+ 117,
3014
+ 227,
3015
+ 93,
3016
+ 130,
3017
+ 228
3018
+ ];
3019
+ "accounts": [
3020
+ {
3021
+ "name": "farm";
3022
+ "docs": [
3023
+ "Hawksight multi-index farm"
3024
+ ];
3025
+ },
3026
+ {
3027
+ "name": "userPda";
3028
+ "docs": [
3029
+ "Hawksight user pda"
3030
+ ];
3031
+ "pda": {
3032
+ "seeds": [
3033
+ {
3034
+ "kind": "const";
3035
+ "value": [
3036
+ 109,
3037
+ 117,
3038
+ 108,
3039
+ 116,
3040
+ 105,
3041
+ 45,
3042
+ 117,
3043
+ 115,
3044
+ 101,
3045
+ 114
3046
+ ];
3047
+ },
3048
+ {
3049
+ "kind": "account";
3050
+ "path": "farm";
3051
+ },
3052
+ {
3053
+ "kind": "account";
3054
+ "path": "authority";
3055
+ }
3056
+ ];
3057
+ "program": {
3058
+ "kind": "account";
3059
+ "path": "iyfProgram";
3060
+ };
3061
+ };
3062
+ },
3063
+ {
3064
+ "name": "authority";
3065
+ "docs": [
3066
+ "User wallet",
3067
+ "* No need to check"
3068
+ ];
3069
+ "relations": [
3070
+ "userPda"
3071
+ ];
3072
+ },
3073
+ {
3074
+ "name": "iyfProgram";
3075
+ "docs": [
3076
+ "Main index yield farming program"
3077
+ ];
3078
+ "address": "FqGg2Y1FNxMiGd51Q6UETixQWkF5fB92MysbYogRJb3P";
3079
+ },
3080
+ {
3081
+ "name": "hawksightAuthority";
3082
+ "docs": [
3083
+ "Rebalancer which is hard coded to be a Hawksight rebalance wallet"
3084
+ ];
3085
+ "writable": true;
3086
+ "signer": true;
3087
+ },
3088
+ {
3089
+ "name": "position";
3090
+ "writable": true;
3091
+ },
3092
+ {
3093
+ "name": "lbPair";
3094
+ "writable": true;
3095
+ },
3096
+ {
3097
+ "name": "binArrayBitmapExtension";
3098
+ "address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo";
3099
+ },
3100
+ {
3101
+ "name": "userTokenX";
3102
+ "writable": true;
3103
+ },
3104
+ {
3105
+ "name": "userTokenY";
3106
+ "writable": true;
3107
+ },
3108
+ {
3109
+ "name": "reserveX";
3110
+ "writable": true;
3111
+ },
3112
+ {
3113
+ "name": "reserveY";
3114
+ "writable": true;
3115
+ },
3116
+ {
3117
+ "name": "tokenXMint";
3118
+ },
3119
+ {
3120
+ "name": "tokenYMint";
3121
+ },
3122
+ {
3123
+ "name": "binArrayLower";
3124
+ "writable": true;
3125
+ },
3126
+ {
3127
+ "name": "binArrayUpper";
3128
+ "writable": true;
3129
+ },
3130
+ {
3131
+ "name": "tokenXProgram";
3132
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
3133
+ },
3134
+ {
3135
+ "name": "tokenYProgram";
3136
+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
3137
+ },
3138
+ {
3139
+ "name": "eventAuthority";
3140
+ },
3141
+ {
3142
+ "name": "meteoraDlmmProgram";
3143
+ "address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo";
3144
+ }
3145
+ ];
3146
+ "args": [
3147
+ {
3148
+ "name": "activeId";
3149
+ "type": "i32";
3150
+ },
3151
+ {
3152
+ "name": "maxActiveBinSlippage";
3153
+ "type": "i32";
3154
+ },
3155
+ {
3156
+ "name": "strategyParametersMinBinId";
3157
+ "type": "i32";
3158
+ },
3159
+ {
3160
+ "name": "strategyParametersMaxBinId";
3161
+ "type": "i32";
3162
+ },
3163
+ {
3164
+ "name": "strategyParametersStrategyType";
3165
+ "type": "u8";
3166
+ },
3167
+ {
3168
+ "name": "strategyParametersParameters";
3169
+ "type": {
3170
+ "array": [
3171
+ "u8",
3172
+ 64
3173
+ ];
3174
+ };
3175
+ },
3176
+ {
3177
+ "name": "userTokenXAmount";
3178
+ "type": "u64";
3179
+ },
3180
+ {
3181
+ "name": "userTokenYAmount";
3182
+ "type": "u64";
3183
+ }
3184
+ ];
3185
+ },
3064
3186
  {
3065
3187
  "name": "meteoraDlmmInitializePositionAutomation";
3066
3188
  "docs": [