@liquid-af/sdk 1.0.4 → 1.0.5
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/dist/events/types.d.ts +27 -30
- package/dist/events/types.d.ts.map +1 -1
- package/dist/idl/liquid.d.ts +0 -15
- package/dist/idl/liquid.d.ts.map +1 -1
- package/dist/idl/liquid.json +1 -16
- package/dist/idl/liquid_events.d.ts +121 -135
- package/dist/idl/liquid_events.d.ts.map +1 -1
- package/dist/idl/liquid_events.json +121 -135
- package/dist/idl/liquid_state.d.ts +1 -2
- package/dist/idl/liquid_state.d.ts.map +1 -1
- package/dist/idl/liquid_state.json +1 -2
- package/dist/idl/liquid_swap.d.ts +634 -8
- package/dist/idl/liquid_swap.d.ts.map +1 -1
- package/dist/idl/liquid_swap.json +634 -8
- package/dist/instructions/liquid-swap.js +1 -1
- package/dist/instructions/liquid-swap.js.map +1 -1
- package/dist/instructions/liquid.d.ts.map +1 -1
- package/dist/instructions/liquid.js +1 -7
- package/dist/instructions/liquid.js.map +1 -1
- package/package.json +1 -1
- package/src/events/types.ts +27 -30
- package/src/idl/liquid.json +1 -16
- package/src/idl/liquid.ts +1 -16
- package/src/idl/liquid_events.json +121 -135
- package/src/idl/liquid_events.ts +121 -135
- package/src/idl/liquid_state.json +1 -2
- package/src/idl/liquid_state.ts +1 -2
- package/src/idl/liquid_swap.json +634 -8
- package/src/idl/liquid_swap.ts +634 -8
- package/src/instructions/liquid-swap.ts +1 -1
- package/src/instructions/liquid.ts +0 -20
package/src/idl/liquid_swap.ts
CHANGED
|
@@ -2104,8 +2104,7 @@ export type LiquidSwap = {
|
|
|
2104
2104
|
"",
|
|
2105
2105
|
"# Arguments",
|
|
2106
2106
|
"* `init_amount_base` - Initial base token amount to deposit into the pool.",
|
|
2107
|
-
"* `init_amount_quote` - Initial quote token amount to deposit into the pool."
|
|
2108
|
-
"* `creator` - Optional creator pubkey (for program-initiated migration pools)."
|
|
2107
|
+
"* `init_amount_quote` - Initial quote token amount to deposit into the pool."
|
|
2109
2108
|
],
|
|
2110
2109
|
"discriminator": [
|
|
2111
2110
|
24,
|
|
@@ -2121,9 +2120,7 @@ export type LiquidSwap = {
|
|
|
2121
2120
|
{
|
|
2122
2121
|
"name": "signer",
|
|
2123
2122
|
"docs": [
|
|
2124
|
-
"Token authority for the pool creator."
|
|
2125
|
-
"Must be Global Admin OR Allowed CPI Authority.",
|
|
2126
|
-
"Signs for token transfers (base, quote) and LP burn."
|
|
2123
|
+
"Token authority for the pool creator. Signs for token transfers."
|
|
2127
2124
|
],
|
|
2128
2125
|
"writable": true,
|
|
2129
2126
|
"signer": true
|
|
@@ -2820,12 +2817,641 @@ export type LiquidSwap = {
|
|
|
2820
2817
|
{
|
|
2821
2818
|
"name": "initAmountQuote",
|
|
2822
2819
|
"type": "u64"
|
|
2820
|
+
}
|
|
2821
|
+
]
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
"name": "createMigrationPool",
|
|
2825
|
+
"docs": [
|
|
2826
|
+
"Creates an AMM pool via bonding curve migration, locking all LP tokens.",
|
|
2827
|
+
"",
|
|
2828
|
+
"# Arguments",
|
|
2829
|
+
"* `init_amount_base` - Initial base token amount to deposit into the pool.",
|
|
2830
|
+
"* `init_amount_quote` - Initial quote token amount to deposit into the pool.",
|
|
2831
|
+
"* `creator` - The bonding curve creator's pubkey."
|
|
2832
|
+
],
|
|
2833
|
+
"discriminator": [
|
|
2834
|
+
61,
|
|
2835
|
+
51,
|
|
2836
|
+
187,
|
|
2837
|
+
171,
|
|
2838
|
+
82,
|
|
2839
|
+
151,
|
|
2840
|
+
52,
|
|
2841
|
+
163
|
|
2842
|
+
],
|
|
2843
|
+
"accounts": [
|
|
2844
|
+
{
|
|
2845
|
+
"name": "signer",
|
|
2846
|
+
"docs": [
|
|
2847
|
+
"Token authority — the bonding curve PDA that signs for token transfers.",
|
|
2848
|
+
"Must be the liquid program's PDA (validated via owner check)."
|
|
2849
|
+
],
|
|
2850
|
+
"writable": true,
|
|
2851
|
+
"signer": true
|
|
2823
2852
|
},
|
|
2824
2853
|
{
|
|
2825
|
-
"name": "
|
|
2826
|
-
"
|
|
2827
|
-
"
|
|
2854
|
+
"name": "payer",
|
|
2855
|
+
"docs": [
|
|
2856
|
+
"Rent payer for account initialization.",
|
|
2857
|
+
"Separate from signer because the bonding curve PDA cannot pay rent."
|
|
2858
|
+
],
|
|
2859
|
+
"writable": true,
|
|
2860
|
+
"signer": true
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
"name": "poolState",
|
|
2864
|
+
"docs": [
|
|
2865
|
+
"Account to store the pool state."
|
|
2866
|
+
],
|
|
2867
|
+
"writable": true,
|
|
2868
|
+
"pda": {
|
|
2869
|
+
"seeds": [
|
|
2870
|
+
{
|
|
2871
|
+
"kind": "const",
|
|
2872
|
+
"value": [
|
|
2873
|
+
112,
|
|
2874
|
+
111,
|
|
2875
|
+
111,
|
|
2876
|
+
108
|
|
2877
|
+
]
|
|
2878
|
+
},
|
|
2879
|
+
{
|
|
2880
|
+
"kind": "account",
|
|
2881
|
+
"path": "baseMint"
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
"kind": "account",
|
|
2885
|
+
"path": "quoteMint"
|
|
2886
|
+
}
|
|
2887
|
+
]
|
|
2888
|
+
}
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
"name": "lpMint",
|
|
2892
|
+
"docs": [
|
|
2893
|
+
"Pool LP mint."
|
|
2894
|
+
],
|
|
2895
|
+
"writable": true,
|
|
2896
|
+
"pda": {
|
|
2897
|
+
"seeds": [
|
|
2898
|
+
{
|
|
2899
|
+
"kind": "const",
|
|
2900
|
+
"value": [
|
|
2901
|
+
112,
|
|
2902
|
+
111,
|
|
2903
|
+
111,
|
|
2904
|
+
108,
|
|
2905
|
+
95,
|
|
2906
|
+
108,
|
|
2907
|
+
112,
|
|
2908
|
+
95,
|
|
2909
|
+
109,
|
|
2910
|
+
105,
|
|
2911
|
+
110,
|
|
2912
|
+
116
|
|
2913
|
+
]
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"kind": "account",
|
|
2917
|
+
"path": "poolState"
|
|
2918
|
+
}
|
|
2919
|
+
]
|
|
2920
|
+
}
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
"name": "creatorBase",
|
|
2924
|
+
"docs": [
|
|
2925
|
+
"Creator base account (bonding curve's token ATA)."
|
|
2926
|
+
],
|
|
2927
|
+
"writable": true
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"name": "creatorQuote",
|
|
2931
|
+
"docs": [
|
|
2932
|
+
"Creator quote account (bonding curve's WSOL/quote ATA)."
|
|
2933
|
+
],
|
|
2934
|
+
"writable": true
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
"name": "baseVault",
|
|
2938
|
+
"docs": [
|
|
2939
|
+
"Base vault for the pool."
|
|
2940
|
+
],
|
|
2941
|
+
"writable": true,
|
|
2942
|
+
"pda": {
|
|
2943
|
+
"seeds": [
|
|
2944
|
+
{
|
|
2945
|
+
"kind": "const",
|
|
2946
|
+
"value": [
|
|
2947
|
+
112,
|
|
2948
|
+
111,
|
|
2949
|
+
111,
|
|
2950
|
+
108,
|
|
2951
|
+
95,
|
|
2952
|
+
118,
|
|
2953
|
+
97,
|
|
2954
|
+
117,
|
|
2955
|
+
108,
|
|
2956
|
+
116
|
|
2957
|
+
]
|
|
2958
|
+
},
|
|
2959
|
+
{
|
|
2960
|
+
"kind": "account",
|
|
2961
|
+
"path": "poolState"
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
"kind": "account",
|
|
2965
|
+
"path": "baseMint"
|
|
2966
|
+
}
|
|
2967
|
+
]
|
|
2968
|
+
}
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"name": "quoteVault",
|
|
2972
|
+
"docs": [
|
|
2973
|
+
"Quote vault for the pool."
|
|
2974
|
+
],
|
|
2975
|
+
"writable": true,
|
|
2976
|
+
"pda": {
|
|
2977
|
+
"seeds": [
|
|
2978
|
+
{
|
|
2979
|
+
"kind": "const",
|
|
2980
|
+
"value": [
|
|
2981
|
+
112,
|
|
2982
|
+
111,
|
|
2983
|
+
111,
|
|
2984
|
+
108,
|
|
2985
|
+
95,
|
|
2986
|
+
118,
|
|
2987
|
+
97,
|
|
2988
|
+
117,
|
|
2989
|
+
108,
|
|
2990
|
+
116
|
|
2991
|
+
]
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"kind": "account",
|
|
2995
|
+
"path": "poolState"
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"kind": "account",
|
|
2999
|
+
"path": "quoteMint"
|
|
3000
|
+
}
|
|
3001
|
+
]
|
|
3002
|
+
}
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"name": "observationState",
|
|
3006
|
+
"docs": [
|
|
3007
|
+
"Account to store oracle observations."
|
|
3008
|
+
],
|
|
3009
|
+
"writable": true,
|
|
3010
|
+
"pda": {
|
|
3011
|
+
"seeds": [
|
|
3012
|
+
{
|
|
3013
|
+
"kind": "const",
|
|
3014
|
+
"value": [
|
|
3015
|
+
111,
|
|
3016
|
+
98,
|
|
3017
|
+
115,
|
|
3018
|
+
101,
|
|
3019
|
+
114,
|
|
3020
|
+
118,
|
|
3021
|
+
97,
|
|
3022
|
+
116,
|
|
3023
|
+
105,
|
|
3024
|
+
111,
|
|
3025
|
+
110
|
|
3026
|
+
]
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
"kind": "account",
|
|
3030
|
+
"path": "poolState"
|
|
3031
|
+
}
|
|
3032
|
+
]
|
|
3033
|
+
}
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
"name": "buybackVault",
|
|
3037
|
+
"docs": [
|
|
3038
|
+
"Buyback vault for Revoked-mode creator fee accumulation (buy-and-burn)."
|
|
3039
|
+
],
|
|
3040
|
+
"writable": true,
|
|
3041
|
+
"pda": {
|
|
3042
|
+
"seeds": [
|
|
3043
|
+
{
|
|
3044
|
+
"kind": "const",
|
|
3045
|
+
"value": [
|
|
3046
|
+
98,
|
|
3047
|
+
117,
|
|
3048
|
+
121,
|
|
3049
|
+
98,
|
|
3050
|
+
97,
|
|
3051
|
+
99,
|
|
3052
|
+
107,
|
|
3053
|
+
95,
|
|
3054
|
+
118,
|
|
3055
|
+
97,
|
|
3056
|
+
117,
|
|
3057
|
+
108,
|
|
3058
|
+
116
|
|
3059
|
+
]
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
"kind": "account",
|
|
3063
|
+
"path": "poolState"
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
"kind": "account",
|
|
3067
|
+
"path": "quoteMint"
|
|
3068
|
+
}
|
|
3069
|
+
]
|
|
2828
3070
|
}
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"name": "tokenVolume",
|
|
3074
|
+
"docs": [
|
|
3075
|
+
"Token volume accumulator from liquid-state."
|
|
3076
|
+
],
|
|
3077
|
+
"writable": true,
|
|
3078
|
+
"pda": {
|
|
3079
|
+
"seeds": [
|
|
3080
|
+
{
|
|
3081
|
+
"kind": "const",
|
|
3082
|
+
"value": [
|
|
3083
|
+
116,
|
|
3084
|
+
111,
|
|
3085
|
+
107,
|
|
3086
|
+
101,
|
|
3087
|
+
110,
|
|
3088
|
+
95,
|
|
3089
|
+
118,
|
|
3090
|
+
111,
|
|
3091
|
+
108,
|
|
3092
|
+
117,
|
|
3093
|
+
109,
|
|
3094
|
+
101
|
|
3095
|
+
]
|
|
3096
|
+
},
|
|
3097
|
+
{
|
|
3098
|
+
"kind": "account",
|
|
3099
|
+
"path": "baseMint"
|
|
3100
|
+
}
|
|
3101
|
+
],
|
|
3102
|
+
"program": {
|
|
3103
|
+
"kind": "const",
|
|
3104
|
+
"value": [
|
|
3105
|
+
6,
|
|
3106
|
+
161,
|
|
3107
|
+
216,
|
|
3108
|
+
199,
|
|
3109
|
+
206,
|
|
3110
|
+
40,
|
|
3111
|
+
40,
|
|
3112
|
+
163,
|
|
3113
|
+
177,
|
|
3114
|
+
19,
|
|
3115
|
+
1,
|
|
3116
|
+
21,
|
|
3117
|
+
164,
|
|
3118
|
+
67,
|
|
3119
|
+
81,
|
|
3120
|
+
132,
|
|
3121
|
+
164,
|
|
3122
|
+
22,
|
|
3123
|
+
81,
|
|
3124
|
+
177,
|
|
3125
|
+
201,
|
|
3126
|
+
45,
|
|
3127
|
+
170,
|
|
3128
|
+
138,
|
|
3129
|
+
70,
|
|
3130
|
+
214,
|
|
3131
|
+
218,
|
|
3132
|
+
76,
|
|
3133
|
+
85,
|
|
3134
|
+
222,
|
|
3135
|
+
216,
|
|
3136
|
+
214
|
|
3137
|
+
]
|
|
3138
|
+
}
|
|
3139
|
+
}
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
"name": "feeConfig",
|
|
3143
|
+
"docs": [
|
|
3144
|
+
"Fee config PDA (from liquid-fees). Already initialized during bonding curve creation."
|
|
3145
|
+
],
|
|
3146
|
+
"writable": true,
|
|
3147
|
+
"pda": {
|
|
3148
|
+
"seeds": [
|
|
3149
|
+
{
|
|
3150
|
+
"kind": "const",
|
|
3151
|
+
"value": [
|
|
3152
|
+
102,
|
|
3153
|
+
101,
|
|
3154
|
+
101,
|
|
3155
|
+
95,
|
|
3156
|
+
99,
|
|
3157
|
+
111,
|
|
3158
|
+
110,
|
|
3159
|
+
102,
|
|
3160
|
+
105,
|
|
3161
|
+
103
|
|
3162
|
+
]
|
|
3163
|
+
},
|
|
3164
|
+
{
|
|
3165
|
+
"kind": "account",
|
|
3166
|
+
"path": "baseMint"
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
"kind": "account",
|
|
3170
|
+
"path": "quoteMint"
|
|
3171
|
+
}
|
|
3172
|
+
],
|
|
3173
|
+
"program": {
|
|
3174
|
+
"kind": "const",
|
|
3175
|
+
"value": [
|
|
3176
|
+
217,
|
|
3177
|
+
168,
|
|
3178
|
+
237,
|
|
3179
|
+
183,
|
|
3180
|
+
0,
|
|
3181
|
+
44,
|
|
3182
|
+
187,
|
|
3183
|
+
171,
|
|
3184
|
+
53,
|
|
3185
|
+
87,
|
|
3186
|
+
202,
|
|
3187
|
+
162,
|
|
3188
|
+
64,
|
|
3189
|
+
131,
|
|
3190
|
+
189,
|
|
3191
|
+
106,
|
|
3192
|
+
187,
|
|
3193
|
+
249,
|
|
3194
|
+
130,
|
|
3195
|
+
171,
|
|
3196
|
+
56,
|
|
3197
|
+
202,
|
|
3198
|
+
127,
|
|
3199
|
+
190,
|
|
3200
|
+
143,
|
|
3201
|
+
121,
|
|
3202
|
+
30,
|
|
3203
|
+
195,
|
|
3204
|
+
25,
|
|
3205
|
+
86,
|
|
3206
|
+
241,
|
|
3207
|
+
242
|
|
3208
|
+
]
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
"name": "feeVault",
|
|
3214
|
+
"docs": [
|
|
3215
|
+
"Fee vault PDA (from liquid-fees)."
|
|
3216
|
+
],
|
|
3217
|
+
"writable": true,
|
|
3218
|
+
"pda": {
|
|
3219
|
+
"seeds": [
|
|
3220
|
+
{
|
|
3221
|
+
"kind": "const",
|
|
3222
|
+
"value": [
|
|
3223
|
+
102,
|
|
3224
|
+
101,
|
|
3225
|
+
101,
|
|
3226
|
+
95,
|
|
3227
|
+
118,
|
|
3228
|
+
97,
|
|
3229
|
+
117,
|
|
3230
|
+
108,
|
|
3231
|
+
116
|
|
3232
|
+
]
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"kind": "account",
|
|
3236
|
+
"path": "feeConfig"
|
|
3237
|
+
}
|
|
3238
|
+
],
|
|
3239
|
+
"program": {
|
|
3240
|
+
"kind": "const",
|
|
3241
|
+
"value": [
|
|
3242
|
+
217,
|
|
3243
|
+
168,
|
|
3244
|
+
237,
|
|
3245
|
+
183,
|
|
3246
|
+
0,
|
|
3247
|
+
44,
|
|
3248
|
+
187,
|
|
3249
|
+
171,
|
|
3250
|
+
53,
|
|
3251
|
+
87,
|
|
3252
|
+
202,
|
|
3253
|
+
162,
|
|
3254
|
+
64,
|
|
3255
|
+
131,
|
|
3256
|
+
189,
|
|
3257
|
+
106,
|
|
3258
|
+
187,
|
|
3259
|
+
249,
|
|
3260
|
+
130,
|
|
3261
|
+
171,
|
|
3262
|
+
56,
|
|
3263
|
+
202,
|
|
3264
|
+
127,
|
|
3265
|
+
190,
|
|
3266
|
+
143,
|
|
3267
|
+
121,
|
|
3268
|
+
30,
|
|
3269
|
+
195,
|
|
3270
|
+
25,
|
|
3271
|
+
86,
|
|
3272
|
+
241,
|
|
3273
|
+
242
|
|
3274
|
+
]
|
|
3275
|
+
}
|
|
3276
|
+
}
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
"name": "globalConfig",
|
|
3280
|
+
"docs": [
|
|
3281
|
+
"Global configuration for the protocol."
|
|
3282
|
+
],
|
|
3283
|
+
"pda": {
|
|
3284
|
+
"seeds": [
|
|
3285
|
+
{
|
|
3286
|
+
"kind": "const",
|
|
3287
|
+
"value": [
|
|
3288
|
+
103,
|
|
3289
|
+
108,
|
|
3290
|
+
111,
|
|
3291
|
+
98,
|
|
3292
|
+
97,
|
|
3293
|
+
108,
|
|
3294
|
+
95,
|
|
3295
|
+
99,
|
|
3296
|
+
111,
|
|
3297
|
+
110,
|
|
3298
|
+
102,
|
|
3299
|
+
105,
|
|
3300
|
+
103
|
|
3301
|
+
]
|
|
3302
|
+
}
|
|
3303
|
+
]
|
|
3304
|
+
}
|
|
3305
|
+
},
|
|
3306
|
+
{
|
|
3307
|
+
"name": "authority",
|
|
3308
|
+
"docs": [
|
|
3309
|
+
"Pool vault and LP mint authority."
|
|
3310
|
+
],
|
|
3311
|
+
"pda": {
|
|
3312
|
+
"seeds": [
|
|
3313
|
+
{
|
|
3314
|
+
"kind": "const",
|
|
3315
|
+
"value": [
|
|
3316
|
+
118,
|
|
3317
|
+
97,
|
|
3318
|
+
117,
|
|
3319
|
+
108,
|
|
3320
|
+
116,
|
|
3321
|
+
95,
|
|
3322
|
+
97,
|
|
3323
|
+
110,
|
|
3324
|
+
100,
|
|
3325
|
+
95,
|
|
3326
|
+
108,
|
|
3327
|
+
112,
|
|
3328
|
+
95,
|
|
3329
|
+
109,
|
|
3330
|
+
105,
|
|
3331
|
+
110,
|
|
3332
|
+
116,
|
|
3333
|
+
95,
|
|
3334
|
+
97,
|
|
3335
|
+
117,
|
|
3336
|
+
116,
|
|
3337
|
+
104,
|
|
3338
|
+
95,
|
|
3339
|
+
115,
|
|
3340
|
+
101,
|
|
3341
|
+
101,
|
|
3342
|
+
100
|
|
3343
|
+
]
|
|
3344
|
+
}
|
|
3345
|
+
]
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
"name": "baseMint",
|
|
3350
|
+
"docs": [
|
|
3351
|
+
"Base mint (Variable token)."
|
|
3352
|
+
]
|
|
3353
|
+
},
|
|
3354
|
+
{
|
|
3355
|
+
"name": "quoteMint",
|
|
3356
|
+
"docs": [
|
|
3357
|
+
"Quote mint"
|
|
3358
|
+
]
|
|
3359
|
+
},
|
|
3360
|
+
{
|
|
3361
|
+
"name": "cpiAuthority",
|
|
3362
|
+
"docs": [
|
|
3363
|
+
"CPI authority PDA — proves this program's identity in cross-program calls."
|
|
3364
|
+
],
|
|
3365
|
+
"pda": {
|
|
3366
|
+
"seeds": [
|
|
3367
|
+
{
|
|
3368
|
+
"kind": "const",
|
|
3369
|
+
"value": [
|
|
3370
|
+
99,
|
|
3371
|
+
112,
|
|
3372
|
+
105,
|
|
3373
|
+
95,
|
|
3374
|
+
97,
|
|
3375
|
+
117,
|
|
3376
|
+
116,
|
|
3377
|
+
104,
|
|
3378
|
+
111,
|
|
3379
|
+
114,
|
|
3380
|
+
105,
|
|
3381
|
+
116,
|
|
3382
|
+
121
|
|
3383
|
+
]
|
|
3384
|
+
}
|
|
3385
|
+
]
|
|
3386
|
+
}
|
|
3387
|
+
},
|
|
3388
|
+
{
|
|
3389
|
+
"name": "liquidStateProgram",
|
|
3390
|
+
"docs": [
|
|
3391
|
+
"Liquid state program for token volume CPI."
|
|
3392
|
+
],
|
|
3393
|
+
"address": "State3HtEfi7cXdsTpAtRoBvrij8zSFCiGTAVWmYH2d"
|
|
3394
|
+
},
|
|
3395
|
+
{
|
|
3396
|
+
"name": "liquidFeesProgram",
|
|
3397
|
+
"docs": [
|
|
3398
|
+
"Liquid fees program for fee configuration CPI."
|
|
3399
|
+
],
|
|
3400
|
+
"address": "FeesZQLb1xTeZbvaFRGnqzrZYzzmQtwhTYKQphbNGQru"
|
|
3401
|
+
},
|
|
3402
|
+
{
|
|
3403
|
+
"name": "liquidEventsProgram",
|
|
3404
|
+
"docs": [
|
|
3405
|
+
"Liquid events program for CPI event emission."
|
|
3406
|
+
],
|
|
3407
|
+
"address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG"
|
|
3408
|
+
},
|
|
3409
|
+
{
|
|
3410
|
+
"name": "tokenProgram",
|
|
3411
|
+
"docs": [
|
|
3412
|
+
"Program to create mint account and mint tokens."
|
|
3413
|
+
],
|
|
3414
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
"name": "baseTokenProgram",
|
|
3418
|
+
"docs": [
|
|
3419
|
+
"SPL token program or token program 2022 for base."
|
|
3420
|
+
]
|
|
3421
|
+
},
|
|
3422
|
+
{
|
|
3423
|
+
"name": "quoteTokenProgram",
|
|
3424
|
+
"docs": [
|
|
3425
|
+
"SPL token program or token program 2022 for quote."
|
|
3426
|
+
]
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"name": "associatedTokenProgram",
|
|
3430
|
+
"docs": [
|
|
3431
|
+
"Program to create an ATA for receiving position NFT."
|
|
3432
|
+
],
|
|
3433
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
3434
|
+
},
|
|
3435
|
+
{
|
|
3436
|
+
"name": "systemProgram",
|
|
3437
|
+
"docs": [
|
|
3438
|
+
"To create a new program account."
|
|
3439
|
+
],
|
|
3440
|
+
"address": "11111111111111111111111111111111"
|
|
3441
|
+
}
|
|
3442
|
+
],
|
|
3443
|
+
"args": [
|
|
3444
|
+
{
|
|
3445
|
+
"name": "initAmountBase",
|
|
3446
|
+
"type": "u64"
|
|
3447
|
+
},
|
|
3448
|
+
{
|
|
3449
|
+
"name": "initAmountQuote",
|
|
3450
|
+
"type": "u64"
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"name": "creator",
|
|
3454
|
+
"type": "pubkey"
|
|
2829
3455
|
}
|
|
2830
3456
|
]
|
|
2831
3457
|
},
|