@glamsystems/glam-sdk 1.0.9 → 1.0.11
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.
- package/index.cjs.js +512 -24
- package/index.esm.js +512 -25
- package/package.json +1 -1
- package/src/client/cctp.d.ts +6 -6
- package/src/models/state.d.ts +5 -0
- package/src/react/glam.d.ts +1 -1
- package/src/utils/timelock.d.ts +7 -0
- package/target/idl/ext_cctp.json +3 -0
- package/target/idl/ext_drift-staging.json +3 -0
- package/target/idl/ext_drift.json +3 -0
- package/target/idl/ext_kamino-staging.json +3 -0
- package/target/idl/ext_kamino.json +3 -0
- package/target/idl/ext_marinade.json +3 -0
- package/target/idl/ext_spl-staging.json +3 -0
- package/target/idl/ext_spl.json +3 -0
- package/target/idl/ext_stake_pool-staging.json +3 -0
- package/target/idl/ext_stake_pool.json +3 -0
- package/target/idl/glam_config.json +63 -0
- package/target/idl/glam_mint-staging.json +178 -2
- package/target/idl/glam_mint.json +178 -2
- package/target/idl/glam_protocol-staging.json +4 -1
- package/target/idl/glam_protocol.json +4 -1
- package/target/types/ext_cctp.d.ts +3 -0
- package/target/types/ext_cctp.ts +3 -0
- package/target/types/ext_drift-staging.ts +3 -0
- package/target/types/ext_drift.d.ts +3 -0
- package/target/types/ext_drift.ts +3 -0
- package/target/types/ext_kamino-staging.ts +3 -0
- package/target/types/ext_kamino.d.ts +3 -0
- package/target/types/ext_kamino.ts +3 -0
- package/target/types/ext_marinade.d.ts +3 -0
- package/target/types/ext_marinade.ts +3 -0
- package/target/types/ext_spl-staging.ts +3 -0
- package/target/types/ext_spl.d.ts +3 -0
- package/target/types/ext_spl.ts +3 -0
- package/target/types/ext_stake_pool-staging.ts +3 -0
- package/target/types/ext_stake_pool.d.ts +3 -0
- package/target/types/ext_stake_pool.ts +3 -0
- package/target/types/glam_config.d.ts +63 -0
- package/target/types/glam_config.ts +63 -0
- package/target/types/glam_mint-staging.ts +178 -2
- package/target/types/glam_mint.d.ts +178 -2
- package/target/types/glam_mint.ts +178 -2
- package/target/types/glam_protocol-staging.ts +4 -1
- package/target/types/glam_protocol.d.ts +4 -1
- package/target/types/glam_protocol.ts +4 -1
|
@@ -8,7 +8,7 @@ export type GlamMint = {
|
|
|
8
8
|
"address": "gstgm1M39mhgnvgyScGUDRwNn5kNVSd97hTtyow1Et5",
|
|
9
9
|
"metadata": {
|
|
10
10
|
"name": "glamMint",
|
|
11
|
-
"version": "1.0.
|
|
11
|
+
"version": "1.0.2",
|
|
12
12
|
"spec": "0.1.0",
|
|
13
13
|
"description": "GLAM mint program"
|
|
14
14
|
},
|
|
@@ -2824,6 +2824,167 @@ export type GlamMint = {
|
|
|
2824
2824
|
}
|
|
2825
2825
|
]
|
|
2826
2826
|
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "priceSingleAssetVault",
|
|
2829
|
+
"docs": [
|
|
2830
|
+
"Prices a single asset vault."
|
|
2831
|
+
],
|
|
2832
|
+
"discriminator": [
|
|
2833
|
+
93,
|
|
2834
|
+
213,
|
|
2835
|
+
219,
|
|
2836
|
+
25,
|
|
2837
|
+
38,
|
|
2838
|
+
74,
|
|
2839
|
+
9,
|
|
2840
|
+
167
|
|
2841
|
+
],
|
|
2842
|
+
"accounts": [
|
|
2843
|
+
{
|
|
2844
|
+
"name": "glamState",
|
|
2845
|
+
"writable": true
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
"name": "glamVault",
|
|
2849
|
+
"pda": {
|
|
2850
|
+
"seeds": [
|
|
2851
|
+
{
|
|
2852
|
+
"kind": "const",
|
|
2853
|
+
"value": [
|
|
2854
|
+
118,
|
|
2855
|
+
97,
|
|
2856
|
+
117,
|
|
2857
|
+
108,
|
|
2858
|
+
116
|
|
2859
|
+
]
|
|
2860
|
+
},
|
|
2861
|
+
{
|
|
2862
|
+
"kind": "account",
|
|
2863
|
+
"path": "glamState"
|
|
2864
|
+
}
|
|
2865
|
+
],
|
|
2866
|
+
"program": {
|
|
2867
|
+
"kind": "const",
|
|
2868
|
+
"value": [
|
|
2869
|
+
10,
|
|
2870
|
+
55,
|
|
2871
|
+
49,
|
|
2872
|
+
193,
|
|
2873
|
+
142,
|
|
2874
|
+
247,
|
|
2875
|
+
75,
|
|
2876
|
+
193,
|
|
2877
|
+
33,
|
|
2878
|
+
61,
|
|
2879
|
+
5,
|
|
2880
|
+
218,
|
|
2881
|
+
254,
|
|
2882
|
+
219,
|
|
2883
|
+
143,
|
|
2884
|
+
206,
|
|
2885
|
+
156,
|
|
2886
|
+
138,
|
|
2887
|
+
14,
|
|
2888
|
+
32,
|
|
2889
|
+
89,
|
|
2890
|
+
232,
|
|
2891
|
+
248,
|
|
2892
|
+
173,
|
|
2893
|
+
46,
|
|
2894
|
+
77,
|
|
2895
|
+
46,
|
|
2896
|
+
206,
|
|
2897
|
+
189,
|
|
2898
|
+
171,
|
|
2899
|
+
68,
|
|
2900
|
+
237
|
|
2901
|
+
]
|
|
2902
|
+
}
|
|
2903
|
+
}
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
"name": "signer",
|
|
2907
|
+
"writable": true,
|
|
2908
|
+
"signer": true
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
"name": "baseAssetAta"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"name": "integrationAuthority",
|
|
2915
|
+
"pda": {
|
|
2916
|
+
"seeds": [
|
|
2917
|
+
{
|
|
2918
|
+
"kind": "const",
|
|
2919
|
+
"value": [
|
|
2920
|
+
105,
|
|
2921
|
+
110,
|
|
2922
|
+
116,
|
|
2923
|
+
101,
|
|
2924
|
+
103,
|
|
2925
|
+
114,
|
|
2926
|
+
97,
|
|
2927
|
+
116,
|
|
2928
|
+
105,
|
|
2929
|
+
111,
|
|
2930
|
+
110,
|
|
2931
|
+
45,
|
|
2932
|
+
97,
|
|
2933
|
+
117,
|
|
2934
|
+
116,
|
|
2935
|
+
104,
|
|
2936
|
+
111,
|
|
2937
|
+
114,
|
|
2938
|
+
105,
|
|
2939
|
+
116,
|
|
2940
|
+
121
|
|
2941
|
+
]
|
|
2942
|
+
}
|
|
2943
|
+
]
|
|
2944
|
+
}
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
"name": "glamProtocol",
|
|
2948
|
+
"address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz"
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"name": "eventAuthority",
|
|
2952
|
+
"optional": true,
|
|
2953
|
+
"pda": {
|
|
2954
|
+
"seeds": [
|
|
2955
|
+
{
|
|
2956
|
+
"kind": "const",
|
|
2957
|
+
"value": [
|
|
2958
|
+
95,
|
|
2959
|
+
95,
|
|
2960
|
+
101,
|
|
2961
|
+
118,
|
|
2962
|
+
101,
|
|
2963
|
+
110,
|
|
2964
|
+
116,
|
|
2965
|
+
95,
|
|
2966
|
+
97,
|
|
2967
|
+
117,
|
|
2968
|
+
116,
|
|
2969
|
+
104,
|
|
2970
|
+
111,
|
|
2971
|
+
114,
|
|
2972
|
+
105,
|
|
2973
|
+
116,
|
|
2974
|
+
121
|
|
2975
|
+
]
|
|
2976
|
+
}
|
|
2977
|
+
]
|
|
2978
|
+
}
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
"name": "eventProgram",
|
|
2982
|
+
"optional": true,
|
|
2983
|
+
"address": "gstgm1M39mhgnvgyScGUDRwNn5kNVSd97hTtyow1Et5"
|
|
2984
|
+
}
|
|
2985
|
+
],
|
|
2986
|
+
"args": []
|
|
2987
|
+
},
|
|
2827
2988
|
{
|
|
2828
2989
|
"name": "priceStakeAccounts",
|
|
2829
2990
|
"discriminator": [
|
|
@@ -4636,6 +4797,9 @@ export type GlamMint = {
|
|
|
4636
4797
|
},
|
|
4637
4798
|
{
|
|
4638
4799
|
"name": "mint"
|
|
4800
|
+
},
|
|
4801
|
+
{
|
|
4802
|
+
"name": "singleAssetVault"
|
|
4639
4803
|
}
|
|
4640
4804
|
]
|
|
4641
4805
|
}
|
|
@@ -4711,7 +4875,7 @@ export type GlamMint = {
|
|
|
4711
4875
|
},
|
|
4712
4876
|
{
|
|
4713
4877
|
"name": "priority",
|
|
4714
|
-
"type": "
|
|
4878
|
+
"type": "i8"
|
|
4715
4879
|
},
|
|
4716
4880
|
{
|
|
4717
4881
|
"name": "padding",
|
|
@@ -5206,18 +5370,30 @@ export type GlamMint = {
|
|
|
5206
5370
|
},
|
|
5207
5371
|
{
|
|
5208
5372
|
"name": "referrer",
|
|
5373
|
+
"docs": [
|
|
5374
|
+
"Default GLAM referrer"
|
|
5375
|
+
],
|
|
5209
5376
|
"type": "pubkey"
|
|
5210
5377
|
},
|
|
5211
5378
|
{
|
|
5212
5379
|
"name": "baseFeeBps",
|
|
5380
|
+
"docs": [
|
|
5381
|
+
"Default protocol base fee applied to all vaults"
|
|
5382
|
+
],
|
|
5213
5383
|
"type": "u16"
|
|
5214
5384
|
},
|
|
5215
5385
|
{
|
|
5216
5386
|
"name": "flowFeeBps",
|
|
5387
|
+
"docs": [
|
|
5388
|
+
"Default protocol flow fee applied to all vaults"
|
|
5389
|
+
],
|
|
5217
5390
|
"type": "u16"
|
|
5218
5391
|
},
|
|
5219
5392
|
{
|
|
5220
5393
|
"name": "assetMetas",
|
|
5394
|
+
"docs": [
|
|
5395
|
+
"List of assets and their oracle configs supported by the protocol"
|
|
5396
|
+
],
|
|
5221
5397
|
"type": {
|
|
5222
5398
|
"vec": {
|
|
5223
5399
|
"defined": {
|
|
@@ -8,7 +8,7 @@ export type GlamMint = {
|
|
|
8
8
|
"address": "GM1NtvvnSXUptTrMCqbogAdZJydZSNv98DoU5AZVLmGh";
|
|
9
9
|
"metadata": {
|
|
10
10
|
"name": "glamMint";
|
|
11
|
-
"version": "1.0.
|
|
11
|
+
"version": "1.0.2";
|
|
12
12
|
"spec": "0.1.0";
|
|
13
13
|
"description": "GLAM mint program";
|
|
14
14
|
};
|
|
@@ -2824,6 +2824,167 @@ export type GlamMint = {
|
|
|
2824
2824
|
}
|
|
2825
2825
|
];
|
|
2826
2826
|
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "priceSingleAssetVault";
|
|
2829
|
+
"docs": [
|
|
2830
|
+
"Prices a single asset vault."
|
|
2831
|
+
];
|
|
2832
|
+
"discriminator": [
|
|
2833
|
+
93,
|
|
2834
|
+
213,
|
|
2835
|
+
219,
|
|
2836
|
+
25,
|
|
2837
|
+
38,
|
|
2838
|
+
74,
|
|
2839
|
+
9,
|
|
2840
|
+
167
|
|
2841
|
+
];
|
|
2842
|
+
"accounts": [
|
|
2843
|
+
{
|
|
2844
|
+
"name": "glamState";
|
|
2845
|
+
"writable": true;
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
"name": "glamVault";
|
|
2849
|
+
"pda": {
|
|
2850
|
+
"seeds": [
|
|
2851
|
+
{
|
|
2852
|
+
"kind": "const";
|
|
2853
|
+
"value": [
|
|
2854
|
+
118,
|
|
2855
|
+
97,
|
|
2856
|
+
117,
|
|
2857
|
+
108,
|
|
2858
|
+
116
|
|
2859
|
+
];
|
|
2860
|
+
},
|
|
2861
|
+
{
|
|
2862
|
+
"kind": "account";
|
|
2863
|
+
"path": "glamState";
|
|
2864
|
+
}
|
|
2865
|
+
];
|
|
2866
|
+
"program": {
|
|
2867
|
+
"kind": "const";
|
|
2868
|
+
"value": [
|
|
2869
|
+
227,
|
|
2870
|
+
199,
|
|
2871
|
+
235,
|
|
2872
|
+
230,
|
|
2873
|
+
176,
|
|
2874
|
+
132,
|
|
2875
|
+
243,
|
|
2876
|
+
117,
|
|
2877
|
+
43,
|
|
2878
|
+
131,
|
|
2879
|
+
173,
|
|
2880
|
+
18,
|
|
2881
|
+
78,
|
|
2882
|
+
255,
|
|
2883
|
+
26,
|
|
2884
|
+
50,
|
|
2885
|
+
209,
|
|
2886
|
+
135,
|
|
2887
|
+
86,
|
|
2888
|
+
219,
|
|
2889
|
+
140,
|
|
2890
|
+
126,
|
|
2891
|
+
61,
|
|
2892
|
+
255,
|
|
2893
|
+
0,
|
|
2894
|
+
218,
|
|
2895
|
+
252,
|
|
2896
|
+
224,
|
|
2897
|
+
172,
|
|
2898
|
+
8,
|
|
2899
|
+
223,
|
|
2900
|
+
207
|
|
2901
|
+
];
|
|
2902
|
+
};
|
|
2903
|
+
};
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
"name": "signer";
|
|
2907
|
+
"writable": true;
|
|
2908
|
+
"signer": true;
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
"name": "baseAssetAta";
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"name": "integrationAuthority";
|
|
2915
|
+
"pda": {
|
|
2916
|
+
"seeds": [
|
|
2917
|
+
{
|
|
2918
|
+
"kind": "const";
|
|
2919
|
+
"value": [
|
|
2920
|
+
105,
|
|
2921
|
+
110,
|
|
2922
|
+
116,
|
|
2923
|
+
101,
|
|
2924
|
+
103,
|
|
2925
|
+
114,
|
|
2926
|
+
97,
|
|
2927
|
+
116,
|
|
2928
|
+
105,
|
|
2929
|
+
111,
|
|
2930
|
+
110,
|
|
2931
|
+
45,
|
|
2932
|
+
97,
|
|
2933
|
+
117,
|
|
2934
|
+
116,
|
|
2935
|
+
104,
|
|
2936
|
+
111,
|
|
2937
|
+
114,
|
|
2938
|
+
105,
|
|
2939
|
+
116,
|
|
2940
|
+
121
|
|
2941
|
+
];
|
|
2942
|
+
}
|
|
2943
|
+
];
|
|
2944
|
+
};
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
"name": "glamProtocol";
|
|
2948
|
+
"address": "GLAMpaME8wdTEzxtiYEAa5yD8fZbxZiz2hNtV58RZiEz";
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"name": "eventAuthority";
|
|
2952
|
+
"optional": true;
|
|
2953
|
+
"pda": {
|
|
2954
|
+
"seeds": [
|
|
2955
|
+
{
|
|
2956
|
+
"kind": "const";
|
|
2957
|
+
"value": [
|
|
2958
|
+
95,
|
|
2959
|
+
95,
|
|
2960
|
+
101,
|
|
2961
|
+
118,
|
|
2962
|
+
101,
|
|
2963
|
+
110,
|
|
2964
|
+
116,
|
|
2965
|
+
95,
|
|
2966
|
+
97,
|
|
2967
|
+
117,
|
|
2968
|
+
116,
|
|
2969
|
+
104,
|
|
2970
|
+
111,
|
|
2971
|
+
114,
|
|
2972
|
+
105,
|
|
2973
|
+
116,
|
|
2974
|
+
121
|
|
2975
|
+
];
|
|
2976
|
+
}
|
|
2977
|
+
];
|
|
2978
|
+
};
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
"name": "eventProgram";
|
|
2982
|
+
"optional": true;
|
|
2983
|
+
"address": "GM1NtvvnSXUptTrMCqbogAdZJydZSNv98DoU5AZVLmGh";
|
|
2984
|
+
}
|
|
2985
|
+
];
|
|
2986
|
+
"args": [];
|
|
2987
|
+
},
|
|
2827
2988
|
{
|
|
2828
2989
|
"name": "priceStakeAccounts";
|
|
2829
2990
|
"discriminator": [
|
|
@@ -4636,6 +4797,9 @@ export type GlamMint = {
|
|
|
4636
4797
|
},
|
|
4637
4798
|
{
|
|
4638
4799
|
"name": "mint";
|
|
4800
|
+
},
|
|
4801
|
+
{
|
|
4802
|
+
"name": "singleAssetVault";
|
|
4639
4803
|
}
|
|
4640
4804
|
];
|
|
4641
4805
|
};
|
|
@@ -4711,7 +4875,7 @@ export type GlamMint = {
|
|
|
4711
4875
|
},
|
|
4712
4876
|
{
|
|
4713
4877
|
"name": "priority";
|
|
4714
|
-
"type": "
|
|
4878
|
+
"type": "i8";
|
|
4715
4879
|
},
|
|
4716
4880
|
{
|
|
4717
4881
|
"name": "padding";
|
|
@@ -5206,18 +5370,30 @@ export type GlamMint = {
|
|
|
5206
5370
|
},
|
|
5207
5371
|
{
|
|
5208
5372
|
"name": "referrer";
|
|
5373
|
+
"docs": [
|
|
5374
|
+
"Default GLAM referrer"
|
|
5375
|
+
];
|
|
5209
5376
|
"type": "pubkey";
|
|
5210
5377
|
},
|
|
5211
5378
|
{
|
|
5212
5379
|
"name": "baseFeeBps";
|
|
5380
|
+
"docs": [
|
|
5381
|
+
"Default protocol base fee applied to all vaults"
|
|
5382
|
+
];
|
|
5213
5383
|
"type": "u16";
|
|
5214
5384
|
},
|
|
5215
5385
|
{
|
|
5216
5386
|
"name": "flowFeeBps";
|
|
5387
|
+
"docs": [
|
|
5388
|
+
"Default protocol flow fee applied to all vaults"
|
|
5389
|
+
];
|
|
5217
5390
|
"type": "u16";
|
|
5218
5391
|
},
|
|
5219
5392
|
{
|
|
5220
5393
|
"name": "assetMetas";
|
|
5394
|
+
"docs": [
|
|
5395
|
+
"List of assets and their oracle configs supported by the protocol"
|
|
5396
|
+
];
|
|
5221
5397
|
"type": {
|
|
5222
5398
|
"vec": {
|
|
5223
5399
|
"defined": {
|
|
@@ -8,7 +8,7 @@ export type GlamMint = {
|
|
|
8
8
|
"address": "GM1NtvvnSXUptTrMCqbogAdZJydZSNv98DoU5AZVLmGh",
|
|
9
9
|
"metadata": {
|
|
10
10
|
"name": "glamMint",
|
|
11
|
-
"version": "1.0.
|
|
11
|
+
"version": "1.0.2",
|
|
12
12
|
"spec": "0.1.0",
|
|
13
13
|
"description": "GLAM mint program"
|
|
14
14
|
},
|
|
@@ -2824,6 +2824,167 @@ export type GlamMint = {
|
|
|
2824
2824
|
}
|
|
2825
2825
|
]
|
|
2826
2826
|
},
|
|
2827
|
+
{
|
|
2828
|
+
"name": "priceSingleAssetVault",
|
|
2829
|
+
"docs": [
|
|
2830
|
+
"Prices a single asset vault."
|
|
2831
|
+
],
|
|
2832
|
+
"discriminator": [
|
|
2833
|
+
93,
|
|
2834
|
+
213,
|
|
2835
|
+
219,
|
|
2836
|
+
25,
|
|
2837
|
+
38,
|
|
2838
|
+
74,
|
|
2839
|
+
9,
|
|
2840
|
+
167
|
|
2841
|
+
],
|
|
2842
|
+
"accounts": [
|
|
2843
|
+
{
|
|
2844
|
+
"name": "glamState",
|
|
2845
|
+
"writable": true
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
"name": "glamVault",
|
|
2849
|
+
"pda": {
|
|
2850
|
+
"seeds": [
|
|
2851
|
+
{
|
|
2852
|
+
"kind": "const",
|
|
2853
|
+
"value": [
|
|
2854
|
+
118,
|
|
2855
|
+
97,
|
|
2856
|
+
117,
|
|
2857
|
+
108,
|
|
2858
|
+
116
|
|
2859
|
+
]
|
|
2860
|
+
},
|
|
2861
|
+
{
|
|
2862
|
+
"kind": "account",
|
|
2863
|
+
"path": "glamState"
|
|
2864
|
+
}
|
|
2865
|
+
],
|
|
2866
|
+
"program": {
|
|
2867
|
+
"kind": "const",
|
|
2868
|
+
"value": [
|
|
2869
|
+
227,
|
|
2870
|
+
199,
|
|
2871
|
+
235,
|
|
2872
|
+
230,
|
|
2873
|
+
176,
|
|
2874
|
+
132,
|
|
2875
|
+
243,
|
|
2876
|
+
117,
|
|
2877
|
+
43,
|
|
2878
|
+
131,
|
|
2879
|
+
173,
|
|
2880
|
+
18,
|
|
2881
|
+
78,
|
|
2882
|
+
255,
|
|
2883
|
+
26,
|
|
2884
|
+
50,
|
|
2885
|
+
209,
|
|
2886
|
+
135,
|
|
2887
|
+
86,
|
|
2888
|
+
219,
|
|
2889
|
+
140,
|
|
2890
|
+
126,
|
|
2891
|
+
61,
|
|
2892
|
+
255,
|
|
2893
|
+
0,
|
|
2894
|
+
218,
|
|
2895
|
+
252,
|
|
2896
|
+
224,
|
|
2897
|
+
172,
|
|
2898
|
+
8,
|
|
2899
|
+
223,
|
|
2900
|
+
207
|
|
2901
|
+
]
|
|
2902
|
+
}
|
|
2903
|
+
}
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
"name": "signer",
|
|
2907
|
+
"writable": true,
|
|
2908
|
+
"signer": true
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
"name": "baseAssetAta"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"name": "integrationAuthority",
|
|
2915
|
+
"pda": {
|
|
2916
|
+
"seeds": [
|
|
2917
|
+
{
|
|
2918
|
+
"kind": "const",
|
|
2919
|
+
"value": [
|
|
2920
|
+
105,
|
|
2921
|
+
110,
|
|
2922
|
+
116,
|
|
2923
|
+
101,
|
|
2924
|
+
103,
|
|
2925
|
+
114,
|
|
2926
|
+
97,
|
|
2927
|
+
116,
|
|
2928
|
+
105,
|
|
2929
|
+
111,
|
|
2930
|
+
110,
|
|
2931
|
+
45,
|
|
2932
|
+
97,
|
|
2933
|
+
117,
|
|
2934
|
+
116,
|
|
2935
|
+
104,
|
|
2936
|
+
111,
|
|
2937
|
+
114,
|
|
2938
|
+
105,
|
|
2939
|
+
116,
|
|
2940
|
+
121
|
|
2941
|
+
]
|
|
2942
|
+
}
|
|
2943
|
+
]
|
|
2944
|
+
}
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
"name": "glamProtocol",
|
|
2948
|
+
"address": "GLAMpaME8wdTEzxtiYEAa5yD8fZbxZiz2hNtV58RZiEz"
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"name": "eventAuthority",
|
|
2952
|
+
"optional": true,
|
|
2953
|
+
"pda": {
|
|
2954
|
+
"seeds": [
|
|
2955
|
+
{
|
|
2956
|
+
"kind": "const",
|
|
2957
|
+
"value": [
|
|
2958
|
+
95,
|
|
2959
|
+
95,
|
|
2960
|
+
101,
|
|
2961
|
+
118,
|
|
2962
|
+
101,
|
|
2963
|
+
110,
|
|
2964
|
+
116,
|
|
2965
|
+
95,
|
|
2966
|
+
97,
|
|
2967
|
+
117,
|
|
2968
|
+
116,
|
|
2969
|
+
104,
|
|
2970
|
+
111,
|
|
2971
|
+
114,
|
|
2972
|
+
105,
|
|
2973
|
+
116,
|
|
2974
|
+
121
|
|
2975
|
+
]
|
|
2976
|
+
}
|
|
2977
|
+
]
|
|
2978
|
+
}
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
"name": "eventProgram",
|
|
2982
|
+
"optional": true,
|
|
2983
|
+
"address": "GM1NtvvnSXUptTrMCqbogAdZJydZSNv98DoU5AZVLmGh"
|
|
2984
|
+
}
|
|
2985
|
+
],
|
|
2986
|
+
"args": []
|
|
2987
|
+
},
|
|
2827
2988
|
{
|
|
2828
2989
|
"name": "priceStakeAccounts",
|
|
2829
2990
|
"discriminator": [
|
|
@@ -4636,6 +4797,9 @@ export type GlamMint = {
|
|
|
4636
4797
|
},
|
|
4637
4798
|
{
|
|
4638
4799
|
"name": "mint"
|
|
4800
|
+
},
|
|
4801
|
+
{
|
|
4802
|
+
"name": "singleAssetVault"
|
|
4639
4803
|
}
|
|
4640
4804
|
]
|
|
4641
4805
|
}
|
|
@@ -4711,7 +4875,7 @@ export type GlamMint = {
|
|
|
4711
4875
|
},
|
|
4712
4876
|
{
|
|
4713
4877
|
"name": "priority",
|
|
4714
|
-
"type": "
|
|
4878
|
+
"type": "i8"
|
|
4715
4879
|
},
|
|
4716
4880
|
{
|
|
4717
4881
|
"name": "padding",
|
|
@@ -5206,18 +5370,30 @@ export type GlamMint = {
|
|
|
5206
5370
|
},
|
|
5207
5371
|
{
|
|
5208
5372
|
"name": "referrer",
|
|
5373
|
+
"docs": [
|
|
5374
|
+
"Default GLAM referrer"
|
|
5375
|
+
],
|
|
5209
5376
|
"type": "pubkey"
|
|
5210
5377
|
},
|
|
5211
5378
|
{
|
|
5212
5379
|
"name": "baseFeeBps",
|
|
5380
|
+
"docs": [
|
|
5381
|
+
"Default protocol base fee applied to all vaults"
|
|
5382
|
+
],
|
|
5213
5383
|
"type": "u16"
|
|
5214
5384
|
},
|
|
5215
5385
|
{
|
|
5216
5386
|
"name": "flowFeeBps",
|
|
5387
|
+
"docs": [
|
|
5388
|
+
"Default protocol flow fee applied to all vaults"
|
|
5389
|
+
],
|
|
5217
5390
|
"type": "u16"
|
|
5218
5391
|
},
|
|
5219
5392
|
{
|
|
5220
5393
|
"name": "assetMetas",
|
|
5394
|
+
"docs": [
|
|
5395
|
+
"List of assets and their oracle configs supported by the protocol"
|
|
5396
|
+
],
|
|
5221
5397
|
"type": {
|
|
5222
5398
|
"vec": {
|
|
5223
5399
|
"defined": {
|
|
@@ -8,7 +8,7 @@ export type GlamProtocol = {
|
|
|
8
8
|
"address": "gstgptmbgJVi5f8ZmSRVZjZkDQwqKa3xWuUtD5WmJHz",
|
|
9
9
|
"metadata": {
|
|
10
10
|
"name": "glamProtocol",
|
|
11
|
-
"version": "1.0.
|
|
11
|
+
"version": "1.0.3",
|
|
12
12
|
"spec": "0.1.0",
|
|
13
13
|
"description": "Glam Protocol"
|
|
14
14
|
},
|
|
@@ -1854,6 +1854,9 @@ export type GlamProtocol = {
|
|
|
1854
1854
|
},
|
|
1855
1855
|
{
|
|
1856
1856
|
"name": "mint"
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"name": "singleAssetVault"
|
|
1857
1860
|
}
|
|
1858
1861
|
]
|
|
1859
1862
|
}
|
|
@@ -8,7 +8,7 @@ export type GlamProtocol = {
|
|
|
8
8
|
"address": "GLAMpaME8wdTEzxtiYEAa5yD8fZbxZiz2hNtV58RZiEz";
|
|
9
9
|
"metadata": {
|
|
10
10
|
"name": "glamProtocol";
|
|
11
|
-
"version": "1.0.
|
|
11
|
+
"version": "1.0.3";
|
|
12
12
|
"spec": "0.1.0";
|
|
13
13
|
"description": "Glam Protocol";
|
|
14
14
|
};
|
|
@@ -1779,6 +1779,9 @@ export type GlamProtocol = {
|
|
|
1779
1779
|
},
|
|
1780
1780
|
{
|
|
1781
1781
|
"name": "mint";
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"name": "singleAssetVault";
|
|
1782
1785
|
}
|
|
1783
1786
|
];
|
|
1784
1787
|
};
|