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