@glamsystems/glam-sdk 1.1.0-alpha.3 → 1.1.0-alpha.4

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.
@@ -2834,6 +2834,249 @@ export type GlamMint = {
2834
2834
  }
2835
2835
  ]
2836
2836
  },
2837
+ {
2838
+ "name": "priceOrcaWhirlpoolPositions",
2839
+ "docs": [
2840
+ "Prices Orca Whirlpools positions registered as vault external positions.",
2841
+ "",
2842
+ "Remaining accounts for each position:",
2843
+ "- position",
2844
+ "- position_token_account",
2845
+ "- whirlpool",
2846
+ "- tick_array_lower",
2847
+ "- tick_array_upper",
2848
+ "- token_mint_a",
2849
+ "- token_oracle_a",
2850
+ "- token_mint_b",
2851
+ "- token_oracle_b",
2852
+ "- optional reward_mint, reward_oracle pairs for initialized rewards with nonzero value"
2853
+ ],
2854
+ "discriminator": [
2855
+ 3,
2856
+ 81,
2857
+ 117,
2858
+ 34,
2859
+ 5,
2860
+ 238,
2861
+ 158,
2862
+ 232
2863
+ ],
2864
+ "accounts": [
2865
+ {
2866
+ "name": "glamState",
2867
+ "writable": true
2868
+ },
2869
+ {
2870
+ "name": "glamVault",
2871
+ "pda": {
2872
+ "seeds": [
2873
+ {
2874
+ "kind": "const",
2875
+ "value": [
2876
+ 118,
2877
+ 97,
2878
+ 117,
2879
+ 108,
2880
+ 116
2881
+ ]
2882
+ },
2883
+ {
2884
+ "kind": "account",
2885
+ "path": "glamState"
2886
+ }
2887
+ ],
2888
+ "program": {
2889
+ "kind": "const",
2890
+ "value": [
2891
+ 227,
2892
+ 199,
2893
+ 235,
2894
+ 230,
2895
+ 176,
2896
+ 132,
2897
+ 243,
2898
+ 117,
2899
+ 43,
2900
+ 131,
2901
+ 173,
2902
+ 18,
2903
+ 78,
2904
+ 255,
2905
+ 26,
2906
+ 50,
2907
+ 209,
2908
+ 135,
2909
+ 86,
2910
+ 219,
2911
+ 140,
2912
+ 126,
2913
+ 61,
2914
+ 255,
2915
+ 0,
2916
+ 218,
2917
+ 252,
2918
+ 224,
2919
+ 172,
2920
+ 8,
2921
+ 223,
2922
+ 207
2923
+ ]
2924
+ }
2925
+ }
2926
+ },
2927
+ {
2928
+ "name": "signer",
2929
+ "writable": true,
2930
+ "signer": true
2931
+ },
2932
+ {
2933
+ "name": "solUsdOracle"
2934
+ },
2935
+ {
2936
+ "name": "baseAssetOracle"
2937
+ },
2938
+ {
2939
+ "name": "integrationAuthority",
2940
+ "pda": {
2941
+ "seeds": [
2942
+ {
2943
+ "kind": "const",
2944
+ "value": [
2945
+ 105,
2946
+ 110,
2947
+ 116,
2948
+ 101,
2949
+ 103,
2950
+ 114,
2951
+ 97,
2952
+ 116,
2953
+ 105,
2954
+ 111,
2955
+ 110,
2956
+ 45,
2957
+ 97,
2958
+ 117,
2959
+ 116,
2960
+ 104,
2961
+ 111,
2962
+ 114,
2963
+ 105,
2964
+ 116,
2965
+ 121
2966
+ ]
2967
+ }
2968
+ ]
2969
+ }
2970
+ },
2971
+ {
2972
+ "name": "glamConfig",
2973
+ "pda": {
2974
+ "seeds": [
2975
+ {
2976
+ "kind": "const",
2977
+ "value": [
2978
+ 103,
2979
+ 108,
2980
+ 111,
2981
+ 98,
2982
+ 97,
2983
+ 108,
2984
+ 45,
2985
+ 99,
2986
+ 111,
2987
+ 110,
2988
+ 102,
2989
+ 105,
2990
+ 103
2991
+ ]
2992
+ }
2993
+ ],
2994
+ "program": {
2995
+ "kind": "const",
2996
+ "value": [
2997
+ 10,
2998
+ 11,
2999
+ 0,
3000
+ 83,
3001
+ 72,
3002
+ 16,
3003
+ 46,
3004
+ 144,
3005
+ 46,
3006
+ 42,
3007
+ 79,
3008
+ 22,
3009
+ 157,
3010
+ 123,
3011
+ 21,
3012
+ 242,
3013
+ 192,
3014
+ 146,
3015
+ 1,
3016
+ 78,
3017
+ 88,
3018
+ 59,
3019
+ 102,
3020
+ 9,
3021
+ 190,
3022
+ 226,
3023
+ 92,
3024
+ 189,
3025
+ 187,
3026
+ 232,
3027
+ 83,
3028
+ 220
3029
+ ]
3030
+ }
3031
+ }
3032
+ },
3033
+ {
3034
+ "name": "glamProtocol",
3035
+ "address": "GLAMpaME8wdTEzxtiYEAa5yD8fZbxZiz2hNtV58RZiEz"
3036
+ },
3037
+ {
3038
+ "name": "eventAuthority",
3039
+ "optional": true,
3040
+ "pda": {
3041
+ "seeds": [
3042
+ {
3043
+ "kind": "const",
3044
+ "value": [
3045
+ 95,
3046
+ 95,
3047
+ 101,
3048
+ 118,
3049
+ 101,
3050
+ 110,
3051
+ 116,
3052
+ 95,
3053
+ 97,
3054
+ 117,
3055
+ 116,
3056
+ 104,
3057
+ 111,
3058
+ 114,
3059
+ 105,
3060
+ 116,
3061
+ 121
3062
+ ]
3063
+ }
3064
+ ]
3065
+ }
3066
+ },
3067
+ {
3068
+ "name": "eventProgram",
3069
+ "optional": true,
3070
+ "address": "GM1NtvvnSXUptTrMCqbogAdZJydZSNv98DoU5AZVLmGh"
3071
+ }
3072
+ ],
3073
+ "args": [
3074
+ {
3075
+ "name": "numPositions",
3076
+ "type": "u8"
3077
+ }
3078
+ ]
3079
+ },
2837
3080
  {
2838
3081
  "name": "priceSingleAssetVault",
2839
3082
  "docs": [