@glamsystems/glam-sdk 1.1.0-alpha.6 → 1.1.1-alpha.0

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,238 @@
2828
2828
  }
2829
2829
  ]
2830
2830
  },
2831
+ {
2832
+ "name": "price_marginfi_accounts",
2833
+ "docs": [
2834
+ "Prices Marginfi accounts registered as vault external positions.",
2835
+ "",
2836
+ "Clients must refresh active banks and call Marginfi `lending_account_pulse_health`",
2837
+ "in the same transaction before this ix.",
2838
+ "",
2839
+ "Extra accounts for pricing N Marginfi accounts:",
2840
+ "- marginfi_account x N"
2841
+ ],
2842
+ "discriminator": [
2843
+ 146,
2844
+ 215,
2845
+ 180,
2846
+ 231,
2847
+ 191,
2848
+ 188,
2849
+ 42,
2850
+ 235
2851
+ ],
2852
+ "accounts": [
2853
+ {
2854
+ "name": "glam_state",
2855
+ "writable": true
2856
+ },
2857
+ {
2858
+ "name": "glam_vault",
2859
+ "pda": {
2860
+ "seeds": [
2861
+ {
2862
+ "kind": "const",
2863
+ "value": [
2864
+ 118,
2865
+ 97,
2866
+ 117,
2867
+ 108,
2868
+ 116
2869
+ ]
2870
+ },
2871
+ {
2872
+ "kind": "account",
2873
+ "path": "glam_state"
2874
+ }
2875
+ ],
2876
+ "program": {
2877
+ "kind": "const",
2878
+ "value": [
2879
+ 227,
2880
+ 199,
2881
+ 235,
2882
+ 230,
2883
+ 176,
2884
+ 132,
2885
+ 243,
2886
+ 117,
2887
+ 43,
2888
+ 131,
2889
+ 173,
2890
+ 18,
2891
+ 78,
2892
+ 255,
2893
+ 26,
2894
+ 50,
2895
+ 209,
2896
+ 135,
2897
+ 86,
2898
+ 219,
2899
+ 140,
2900
+ 126,
2901
+ 61,
2902
+ 255,
2903
+ 0,
2904
+ 218,
2905
+ 252,
2906
+ 224,
2907
+ 172,
2908
+ 8,
2909
+ 223,
2910
+ 207
2911
+ ]
2912
+ }
2913
+ }
2914
+ },
2915
+ {
2916
+ "name": "signer",
2917
+ "writable": true,
2918
+ "signer": true
2919
+ },
2920
+ {
2921
+ "name": "sol_usd_oracle"
2922
+ },
2923
+ {
2924
+ "name": "base_asset_oracle"
2925
+ },
2926
+ {
2927
+ "name": "integration_authority",
2928
+ "pda": {
2929
+ "seeds": [
2930
+ {
2931
+ "kind": "const",
2932
+ "value": [
2933
+ 105,
2934
+ 110,
2935
+ 116,
2936
+ 101,
2937
+ 103,
2938
+ 114,
2939
+ 97,
2940
+ 116,
2941
+ 105,
2942
+ 111,
2943
+ 110,
2944
+ 45,
2945
+ 97,
2946
+ 117,
2947
+ 116,
2948
+ 104,
2949
+ 111,
2950
+ 114,
2951
+ 105,
2952
+ 116,
2953
+ 121
2954
+ ]
2955
+ }
2956
+ ]
2957
+ }
2958
+ },
2959
+ {
2960
+ "name": "glam_config",
2961
+ "pda": {
2962
+ "seeds": [
2963
+ {
2964
+ "kind": "const",
2965
+ "value": [
2966
+ 103,
2967
+ 108,
2968
+ 111,
2969
+ 98,
2970
+ 97,
2971
+ 108,
2972
+ 45,
2973
+ 99,
2974
+ 111,
2975
+ 110,
2976
+ 102,
2977
+ 105,
2978
+ 103
2979
+ ]
2980
+ }
2981
+ ],
2982
+ "program": {
2983
+ "kind": "const",
2984
+ "value": [
2985
+ 10,
2986
+ 11,
2987
+ 0,
2988
+ 83,
2989
+ 72,
2990
+ 16,
2991
+ 46,
2992
+ 144,
2993
+ 46,
2994
+ 42,
2995
+ 79,
2996
+ 22,
2997
+ 157,
2998
+ 123,
2999
+ 21,
3000
+ 242,
3001
+ 192,
3002
+ 146,
3003
+ 1,
3004
+ 78,
3005
+ 88,
3006
+ 59,
3007
+ 102,
3008
+ 9,
3009
+ 190,
3010
+ 226,
3011
+ 92,
3012
+ 189,
3013
+ 187,
3014
+ 232,
3015
+ 83,
3016
+ 220
3017
+ ]
3018
+ }
3019
+ }
3020
+ },
3021
+ {
3022
+ "name": "glam_protocol",
3023
+ "address": "GLAMpaME8wdTEzxtiYEAa5yD8fZbxZiz2hNtV58RZiEz"
3024
+ },
3025
+ {
3026
+ "name": "event_authority",
3027
+ "optional": true,
3028
+ "pda": {
3029
+ "seeds": [
3030
+ {
3031
+ "kind": "const",
3032
+ "value": [
3033
+ 95,
3034
+ 95,
3035
+ 101,
3036
+ 118,
3037
+ 101,
3038
+ 110,
3039
+ 116,
3040
+ 95,
3041
+ 97,
3042
+ 117,
3043
+ 116,
3044
+ 104,
3045
+ 111,
3046
+ 114,
3047
+ 105,
3048
+ 116,
3049
+ 121
3050
+ ]
3051
+ }
3052
+ ]
3053
+ }
3054
+ },
3055
+ {
3056
+ "name": "event_program",
3057
+ "optional": true,
3058
+ "address": "GM1NtvvnSXUptTrMCqbogAdZJydZSNv98DoU5AZVLmGh"
3059
+ }
3060
+ ],
3061
+ "args": []
3062
+ },
2831
3063
  {
2832
3064
  "name": "price_orca_whirlpool_positions",
2833
3065
  "docs": [
@@ -4835,6 +5067,11 @@
4835
5067
  "code": 6019,
4836
5068
  "name": "InvalidMintState",
4837
5069
  "msg": "Invalid mint state"
5070
+ },
5071
+ {
5072
+ "code": 6020,
5073
+ "name": "SubscriptionPausedOverdue",
5074
+ "msg": "Subscription paused due to overdue requests"
4838
5075
  }
4839
5076
  ],
4840
5077
  "types": [
@@ -5664,9 +5901,18 @@
5664
5901
  "name": "min_redemption",
5665
5902
  "type": "u64"
5666
5903
  },
5904
+ {
5905
+ "name": "pause_on_overdue",
5906
+ "type": "u8"
5907
+ },
5667
5908
  {
5668
5909
  "name": "reserved",
5669
- "type": "u64"
5910
+ "type": {
5911
+ "array": [
5912
+ "u8",
5913
+ 7
5914
+ ]
5915
+ }
5670
5916
  },
5671
5917
  {
5672
5918
  "name": "allowlist",