@bagsfm/bags-sdk 1.2.7 → 1.2.9
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/idl/fee-share-v2/idl.d.ts +2373 -132
- package/dist/idl/fee-share-v2/idl.d.ts.map +1 -1
- package/dist/idl/fee-share-v2/idl.json +2374 -133
- package/dist/types/api.d.ts +3 -0
- package/dist/types/api.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"address": "FEE2tBhCKAt7shrod19QttSVREUYPiyMzoku1mL1gqVK",
|
|
3
3
|
"metadata": {
|
|
4
4
|
"name": "bags_fee_share",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.4.0",
|
|
6
6
|
"spec": "0.1.0",
|
|
7
7
|
"description": "Bags Fee Share V2 Program"
|
|
8
8
|
},
|
|
@@ -353,10 +353,7 @@
|
|
|
353
353
|
}
|
|
354
354
|
},
|
|
355
355
|
{
|
|
356
|
-
"name": "base_mint"
|
|
357
|
-
"docs": [
|
|
358
|
-
"Base token mint (seed)"
|
|
359
|
-
]
|
|
356
|
+
"name": "base_mint"
|
|
360
357
|
},
|
|
361
358
|
{
|
|
362
359
|
"name": "quote_mint",
|
|
@@ -805,10 +802,7 @@
|
|
|
805
802
|
"address": "ERH2UUYzUULwKy7sLHxeEGcN4B2QjDoQS8Z8GMhuL8cE"
|
|
806
803
|
},
|
|
807
804
|
{
|
|
808
|
-
"name": "base_mint"
|
|
809
|
-
"docs": [
|
|
810
|
-
"Base token mint (seed)"
|
|
811
|
-
]
|
|
805
|
+
"name": "base_mint"
|
|
812
806
|
},
|
|
813
807
|
{
|
|
814
808
|
"name": "quote_mint",
|
|
@@ -1688,10 +1682,7 @@
|
|
|
1688
1682
|
}
|
|
1689
1683
|
},
|
|
1690
1684
|
{
|
|
1691
|
-
"name": "base_mint"
|
|
1692
|
-
"docs": [
|
|
1693
|
-
"Base token mint (seed)"
|
|
1694
|
-
]
|
|
1685
|
+
"name": "base_mint"
|
|
1695
1686
|
},
|
|
1696
1687
|
{
|
|
1697
1688
|
"name": "quote_mint",
|
|
@@ -1759,6 +1750,183 @@
|
|
|
1759
1750
|
}
|
|
1760
1751
|
]
|
|
1761
1752
|
},
|
|
1753
|
+
{
|
|
1754
|
+
"name": "claim_user_vault",
|
|
1755
|
+
"docs": [
|
|
1756
|
+
"Claim user fees from their vault as native SOL (closes vault ATA)"
|
|
1757
|
+
],
|
|
1758
|
+
"discriminator": [
|
|
1759
|
+
216,
|
|
1760
|
+
180,
|
|
1761
|
+
29,
|
|
1762
|
+
188,
|
|
1763
|
+
12,
|
|
1764
|
+
5,
|
|
1765
|
+
43,
|
|
1766
|
+
8
|
|
1767
|
+
],
|
|
1768
|
+
"accounts": [
|
|
1769
|
+
{
|
|
1770
|
+
"name": "user",
|
|
1771
|
+
"docs": [
|
|
1772
|
+
"The claiming user; must match the vault PDA's user seed"
|
|
1773
|
+
],
|
|
1774
|
+
"writable": true,
|
|
1775
|
+
"signer": true
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"name": "user_fee_vault",
|
|
1779
|
+
"docs": [
|
|
1780
|
+
"Vault PDA — authority for the vault ATA; persists across claims for GPA discoverability."
|
|
1781
|
+
],
|
|
1782
|
+
"pda": {
|
|
1783
|
+
"seeds": [
|
|
1784
|
+
{
|
|
1785
|
+
"kind": "const",
|
|
1786
|
+
"value": [
|
|
1787
|
+
117,
|
|
1788
|
+
115,
|
|
1789
|
+
101,
|
|
1790
|
+
114,
|
|
1791
|
+
95,
|
|
1792
|
+
102,
|
|
1793
|
+
101,
|
|
1794
|
+
101,
|
|
1795
|
+
95,
|
|
1796
|
+
118,
|
|
1797
|
+
97,
|
|
1798
|
+
117,
|
|
1799
|
+
108,
|
|
1800
|
+
116
|
|
1801
|
+
]
|
|
1802
|
+
},
|
|
1803
|
+
{
|
|
1804
|
+
"kind": "account",
|
|
1805
|
+
"path": "user"
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
"kind": "account",
|
|
1809
|
+
"path": "base_mint"
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"kind": "account",
|
|
1813
|
+
"path": "quote_mint"
|
|
1814
|
+
}
|
|
1815
|
+
]
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
"name": "user_vault_quote_ata",
|
|
1820
|
+
"docs": [
|
|
1821
|
+
"Vault's WSOL ATA (closed by this instruction; all lamports go to user)"
|
|
1822
|
+
],
|
|
1823
|
+
"writable": true,
|
|
1824
|
+
"pda": {
|
|
1825
|
+
"seeds": [
|
|
1826
|
+
{
|
|
1827
|
+
"kind": "account",
|
|
1828
|
+
"path": "user_fee_vault"
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
"kind": "account",
|
|
1832
|
+
"path": "token_program"
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"kind": "account",
|
|
1836
|
+
"path": "quote_mint"
|
|
1837
|
+
}
|
|
1838
|
+
],
|
|
1839
|
+
"program": {
|
|
1840
|
+
"kind": "const",
|
|
1841
|
+
"value": [
|
|
1842
|
+
140,
|
|
1843
|
+
151,
|
|
1844
|
+
37,
|
|
1845
|
+
143,
|
|
1846
|
+
78,
|
|
1847
|
+
36,
|
|
1848
|
+
137,
|
|
1849
|
+
241,
|
|
1850
|
+
187,
|
|
1851
|
+
61,
|
|
1852
|
+
16,
|
|
1853
|
+
41,
|
|
1854
|
+
20,
|
|
1855
|
+
142,
|
|
1856
|
+
13,
|
|
1857
|
+
131,
|
|
1858
|
+
11,
|
|
1859
|
+
90,
|
|
1860
|
+
19,
|
|
1861
|
+
153,
|
|
1862
|
+
218,
|
|
1863
|
+
255,
|
|
1864
|
+
16,
|
|
1865
|
+
132,
|
|
1866
|
+
4,
|
|
1867
|
+
142,
|
|
1868
|
+
123,
|
|
1869
|
+
216,
|
|
1870
|
+
219,
|
|
1871
|
+
233,
|
|
1872
|
+
248,
|
|
1873
|
+
89
|
|
1874
|
+
]
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "base_mint"
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"name": "quote_mint",
|
|
1883
|
+
"docs": [
|
|
1884
|
+
"Quote mint (WSOL)"
|
|
1885
|
+
],
|
|
1886
|
+
"address": "So11111111111111111111111111111111111111112"
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"name": "token_program",
|
|
1890
|
+
"docs": [
|
|
1891
|
+
"Programs"
|
|
1892
|
+
],
|
|
1893
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
"name": "event_authority",
|
|
1897
|
+
"pda": {
|
|
1898
|
+
"seeds": [
|
|
1899
|
+
{
|
|
1900
|
+
"kind": "const",
|
|
1901
|
+
"value": [
|
|
1902
|
+
95,
|
|
1903
|
+
95,
|
|
1904
|
+
101,
|
|
1905
|
+
118,
|
|
1906
|
+
101,
|
|
1907
|
+
110,
|
|
1908
|
+
116,
|
|
1909
|
+
95,
|
|
1910
|
+
97,
|
|
1911
|
+
117,
|
|
1912
|
+
116,
|
|
1913
|
+
104,
|
|
1914
|
+
111,
|
|
1915
|
+
114,
|
|
1916
|
+
105,
|
|
1917
|
+
116,
|
|
1918
|
+
121
|
|
1919
|
+
]
|
|
1920
|
+
}
|
|
1921
|
+
]
|
|
1922
|
+
}
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"name": "program"
|
|
1926
|
+
}
|
|
1927
|
+
],
|
|
1928
|
+
"args": []
|
|
1929
|
+
},
|
|
1762
1930
|
{
|
|
1763
1931
|
"name": "confirm_admin",
|
|
1764
1932
|
"docs": [
|
|
@@ -2704,7 +2872,7 @@
|
|
|
2704
2872
|
{
|
|
2705
2873
|
"name": "force_claim_user",
|
|
2706
2874
|
"docs": [
|
|
2707
|
-
"Force claim user fees (admin only)"
|
|
2875
|
+
"Force claim user fees (admin only); delivers WSOL to user's ATA"
|
|
2708
2876
|
],
|
|
2709
2877
|
"discriminator": [
|
|
2710
2878
|
216,
|
|
@@ -2964,10 +3132,7 @@
|
|
|
2964
3132
|
}
|
|
2965
3133
|
},
|
|
2966
3134
|
{
|
|
2967
|
-
"name": "base_mint"
|
|
2968
|
-
"docs": [
|
|
2969
|
-
"Base token mint (seed)"
|
|
2970
|
-
]
|
|
3135
|
+
"name": "base_mint"
|
|
2971
3136
|
},
|
|
2972
3137
|
{
|
|
2973
3138
|
"name": "quote_mint",
|
|
@@ -3036,42 +3201,42 @@
|
|
|
3036
3201
|
]
|
|
3037
3202
|
},
|
|
3038
3203
|
{
|
|
3039
|
-
"name": "
|
|
3204
|
+
"name": "force_claim_user_to_vault",
|
|
3040
3205
|
"docs": [
|
|
3041
|
-
"
|
|
3206
|
+
"Force claim user fees into a program-controlled vault (admin or manager).",
|
|
3207
|
+
"User can later claim from the vault via `claim_user_vault`."
|
|
3042
3208
|
],
|
|
3043
3209
|
"discriminator": [
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3210
|
+
9,
|
|
3211
|
+
21,
|
|
3212
|
+
27,
|
|
3213
|
+
21,
|
|
3214
|
+
209,
|
|
3215
|
+
150,
|
|
3216
|
+
12,
|
|
3217
|
+
142
|
|
3052
3218
|
],
|
|
3053
3219
|
"accounts": [
|
|
3054
3220
|
{
|
|
3055
3221
|
"name": "payer",
|
|
3056
3222
|
"docs": [
|
|
3057
|
-
"Payer funding
|
|
3223
|
+
"Payer funding vault account and ATA initialization"
|
|
3058
3224
|
],
|
|
3059
3225
|
"writable": true,
|
|
3060
3226
|
"signer": true
|
|
3061
3227
|
},
|
|
3062
3228
|
{
|
|
3063
|
-
"name": "
|
|
3229
|
+
"name": "authority",
|
|
3064
3230
|
"docs": [
|
|
3065
|
-
"
|
|
3231
|
+
"Admin or manager signer authorizing the force claim to vault"
|
|
3066
3232
|
],
|
|
3067
3233
|
"signer": true
|
|
3068
3234
|
},
|
|
3069
3235
|
{
|
|
3070
3236
|
"name": "program_config",
|
|
3071
3237
|
"docs": [
|
|
3072
|
-
"
|
|
3238
|
+
"Singleton program config PDA (holds admin pubkey for auth check)"
|
|
3073
3239
|
],
|
|
3074
|
-
"writable": true,
|
|
3075
3240
|
"pda": {
|
|
3076
3241
|
"seeds": [
|
|
3077
3242
|
{
|
|
@@ -3097,53 +3262,244 @@
|
|
|
3097
3262
|
}
|
|
3098
3263
|
},
|
|
3099
3264
|
{
|
|
3100
|
-
"name": "
|
|
3265
|
+
"name": "user",
|
|
3101
3266
|
"docs": [
|
|
3102
|
-
"
|
|
3267
|
+
"Claimer user (no signature required)"
|
|
3268
|
+
]
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"name": "fee_share_config",
|
|
3272
|
+
"docs": [
|
|
3273
|
+
"Fee share config (PDA; seeds by base/quote mints)"
|
|
3103
3274
|
],
|
|
3104
|
-
"writable": true,
|
|
3105
3275
|
"pda": {
|
|
3106
3276
|
"seeds": [
|
|
3107
3277
|
{
|
|
3108
|
-
"kind": "
|
|
3109
|
-
"
|
|
3278
|
+
"kind": "const",
|
|
3279
|
+
"value": [
|
|
3280
|
+
102,
|
|
3281
|
+
101,
|
|
3282
|
+
101,
|
|
3283
|
+
95,
|
|
3284
|
+
115,
|
|
3285
|
+
104,
|
|
3286
|
+
97,
|
|
3287
|
+
114,
|
|
3288
|
+
101,
|
|
3289
|
+
95,
|
|
3290
|
+
99,
|
|
3291
|
+
111,
|
|
3292
|
+
110,
|
|
3293
|
+
102,
|
|
3294
|
+
105,
|
|
3295
|
+
103
|
|
3296
|
+
]
|
|
3110
3297
|
},
|
|
3111
3298
|
{
|
|
3112
3299
|
"kind": "account",
|
|
3113
|
-
"path": "
|
|
3300
|
+
"path": "base_mint"
|
|
3114
3301
|
},
|
|
3115
3302
|
{
|
|
3116
3303
|
"kind": "account",
|
|
3117
3304
|
"path": "quote_mint"
|
|
3118
3305
|
}
|
|
3119
|
-
]
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3306
|
+
]
|
|
3307
|
+
}
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"name": "fee_share_authority",
|
|
3311
|
+
"docs": [
|
|
3312
|
+
"Fee ledger (PDA; source of funds)"
|
|
3313
|
+
],
|
|
3314
|
+
"writable": true,
|
|
3315
|
+
"pda": {
|
|
3316
|
+
"seeds": [
|
|
3317
|
+
{
|
|
3318
|
+
"kind": "const",
|
|
3319
|
+
"value": [
|
|
3320
|
+
102,
|
|
3321
|
+
101,
|
|
3322
|
+
101,
|
|
3323
|
+
95,
|
|
3324
|
+
115,
|
|
3325
|
+
104,
|
|
3326
|
+
97,
|
|
3327
|
+
114,
|
|
3328
|
+
101,
|
|
3329
|
+
95,
|
|
3330
|
+
97,
|
|
3331
|
+
117,
|
|
3332
|
+
116,
|
|
3333
|
+
104,
|
|
3334
|
+
111,
|
|
3335
|
+
114,
|
|
3336
|
+
105,
|
|
3337
|
+
116,
|
|
3338
|
+
121
|
|
3339
|
+
]
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
"kind": "account",
|
|
3343
|
+
"path": "base_mint"
|
|
3344
|
+
},
|
|
3345
|
+
{
|
|
3346
|
+
"kind": "account",
|
|
3347
|
+
"path": "quote_mint"
|
|
3348
|
+
}
|
|
3349
|
+
]
|
|
3350
|
+
}
|
|
3351
|
+
},
|
|
3352
|
+
{
|
|
3353
|
+
"name": "fee_share_authority_quote_ata",
|
|
3354
|
+
"docs": [
|
|
3355
|
+
"Authority's WSOL ATA (source)"
|
|
3356
|
+
],
|
|
3357
|
+
"writable": true,
|
|
3358
|
+
"pda": {
|
|
3359
|
+
"seeds": [
|
|
3360
|
+
{
|
|
3361
|
+
"kind": "account",
|
|
3362
|
+
"path": "fee_share_authority"
|
|
3363
|
+
},
|
|
3364
|
+
{
|
|
3365
|
+
"kind": "account",
|
|
3366
|
+
"path": "token_program"
|
|
3367
|
+
},
|
|
3368
|
+
{
|
|
3369
|
+
"kind": "account",
|
|
3370
|
+
"path": "quote_mint"
|
|
3371
|
+
}
|
|
3372
|
+
],
|
|
3373
|
+
"program": {
|
|
3374
|
+
"kind": "const",
|
|
3375
|
+
"value": [
|
|
3376
|
+
140,
|
|
3377
|
+
151,
|
|
3378
|
+
37,
|
|
3379
|
+
143,
|
|
3380
|
+
78,
|
|
3381
|
+
36,
|
|
3382
|
+
137,
|
|
3383
|
+
241,
|
|
3384
|
+
187,
|
|
3385
|
+
61,
|
|
3386
|
+
16,
|
|
3387
|
+
41,
|
|
3388
|
+
20,
|
|
3389
|
+
142,
|
|
3390
|
+
13,
|
|
3391
|
+
131,
|
|
3392
|
+
11,
|
|
3393
|
+
90,
|
|
3394
|
+
19,
|
|
3395
|
+
153,
|
|
3396
|
+
218,
|
|
3397
|
+
255,
|
|
3398
|
+
16,
|
|
3399
|
+
132,
|
|
3400
|
+
4,
|
|
3401
|
+
142,
|
|
3402
|
+
123,
|
|
3403
|
+
216,
|
|
3404
|
+
219,
|
|
3405
|
+
233,
|
|
3406
|
+
248,
|
|
3407
|
+
89
|
|
3408
|
+
]
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"name": "user_fee_vault",
|
|
3414
|
+
"docs": [
|
|
3415
|
+
"Vault PDA — authority for the vault ATA; stores seed components for GPA discoverability.",
|
|
3416
|
+
"Initialized on first force-claim; subsequent calls skip init."
|
|
3417
|
+
],
|
|
3418
|
+
"writable": true,
|
|
3419
|
+
"pda": {
|
|
3420
|
+
"seeds": [
|
|
3421
|
+
{
|
|
3422
|
+
"kind": "const",
|
|
3423
|
+
"value": [
|
|
3424
|
+
117,
|
|
3425
|
+
115,
|
|
3426
|
+
101,
|
|
3427
|
+
114,
|
|
3428
|
+
95,
|
|
3429
|
+
102,
|
|
3430
|
+
101,
|
|
3431
|
+
101,
|
|
3432
|
+
95,
|
|
3433
|
+
118,
|
|
3434
|
+
97,
|
|
3435
|
+
117,
|
|
3436
|
+
108,
|
|
3437
|
+
116
|
|
3438
|
+
]
|
|
3439
|
+
},
|
|
3440
|
+
{
|
|
3441
|
+
"kind": "account",
|
|
3442
|
+
"path": "user"
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"kind": "account",
|
|
3446
|
+
"path": "base_mint"
|
|
3447
|
+
},
|
|
3448
|
+
{
|
|
3449
|
+
"kind": "account",
|
|
3450
|
+
"path": "quote_mint"
|
|
3451
|
+
}
|
|
3452
|
+
]
|
|
3453
|
+
}
|
|
3454
|
+
},
|
|
3455
|
+
{
|
|
3456
|
+
"name": "user_vault_quote_ata",
|
|
3457
|
+
"docs": [
|
|
3458
|
+
"Vault's WSOL ATA (destination; init-if-needed, authority = user_fee_vault PDA)"
|
|
3459
|
+
],
|
|
3460
|
+
"writable": true,
|
|
3461
|
+
"pda": {
|
|
3462
|
+
"seeds": [
|
|
3463
|
+
{
|
|
3464
|
+
"kind": "account",
|
|
3465
|
+
"path": "user_fee_vault"
|
|
3466
|
+
},
|
|
3467
|
+
{
|
|
3468
|
+
"kind": "account",
|
|
3469
|
+
"path": "token_program"
|
|
3470
|
+
},
|
|
3471
|
+
{
|
|
3472
|
+
"kind": "account",
|
|
3473
|
+
"path": "quote_mint"
|
|
3474
|
+
}
|
|
3475
|
+
],
|
|
3476
|
+
"program": {
|
|
3477
|
+
"kind": "const",
|
|
3478
|
+
"value": [
|
|
3479
|
+
140,
|
|
3480
|
+
151,
|
|
3481
|
+
37,
|
|
3482
|
+
143,
|
|
3483
|
+
78,
|
|
3484
|
+
36,
|
|
3485
|
+
137,
|
|
3486
|
+
241,
|
|
3487
|
+
187,
|
|
3488
|
+
61,
|
|
3489
|
+
16,
|
|
3490
|
+
41,
|
|
3491
|
+
20,
|
|
3492
|
+
142,
|
|
3493
|
+
13,
|
|
3494
|
+
131,
|
|
3495
|
+
11,
|
|
3496
|
+
90,
|
|
3497
|
+
19,
|
|
3498
|
+
153,
|
|
3499
|
+
218,
|
|
3500
|
+
255,
|
|
3501
|
+
16,
|
|
3502
|
+
132,
|
|
3147
3503
|
4,
|
|
3148
3504
|
142,
|
|
3149
3505
|
123,
|
|
@@ -3156,6 +3512,9 @@
|
|
|
3156
3512
|
}
|
|
3157
3513
|
}
|
|
3158
3514
|
},
|
|
3515
|
+
{
|
|
3516
|
+
"name": "base_mint"
|
|
3517
|
+
},
|
|
3159
3518
|
{
|
|
3160
3519
|
"name": "quote_mint",
|
|
3161
3520
|
"docs": [
|
|
@@ -3165,6 +3524,9 @@
|
|
|
3165
3524
|
},
|
|
3166
3525
|
{
|
|
3167
3526
|
"name": "system_program",
|
|
3527
|
+
"docs": [
|
|
3528
|
+
"Programs"
|
|
3529
|
+
],
|
|
3168
3530
|
"address": "11111111111111111111111111111111"
|
|
3169
3531
|
},
|
|
3170
3532
|
{
|
|
@@ -3208,22 +3570,1434 @@
|
|
|
3208
3570
|
"name": "program"
|
|
3209
3571
|
}
|
|
3210
3572
|
],
|
|
3211
|
-
"args": [
|
|
3573
|
+
"args": [
|
|
3574
|
+
{
|
|
3575
|
+
"name": "params",
|
|
3576
|
+
"type": {
|
|
3577
|
+
"defined": {
|
|
3578
|
+
"name": "ForceClaimUserToVaultParameters"
|
|
3579
|
+
}
|
|
3580
|
+
}
|
|
3581
|
+
}
|
|
3582
|
+
]
|
|
3212
3583
|
},
|
|
3213
3584
|
{
|
|
3214
|
-
"name": "
|
|
3585
|
+
"name": "force_sol_claim_user",
|
|
3215
3586
|
"docs": [
|
|
3216
|
-
"
|
|
3587
|
+
"Force claim user fees as native SOL (admin only); unwraps WSOL and sends SOL to user"
|
|
3217
3588
|
],
|
|
3218
3589
|
"discriminator": [
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
88,
|
|
3590
|
+
78,
|
|
3591
|
+
63,
|
|
3592
|
+
180,
|
|
3593
|
+
4,
|
|
3224
3594
|
151,
|
|
3595
|
+
16,
|
|
3225
3596
|
107,
|
|
3226
|
-
|
|
3597
|
+
241
|
|
3598
|
+
],
|
|
3599
|
+
"accounts": [
|
|
3600
|
+
{
|
|
3601
|
+
"name": "admin",
|
|
3602
|
+
"docs": [
|
|
3603
|
+
"Admin signer authorizing force claim"
|
|
3604
|
+
],
|
|
3605
|
+
"writable": true,
|
|
3606
|
+
"signer": true
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"name": "program_config",
|
|
3610
|
+
"docs": [
|
|
3611
|
+
"Singleton program config PDA (holds admin pubkey)"
|
|
3612
|
+
],
|
|
3613
|
+
"pda": {
|
|
3614
|
+
"seeds": [
|
|
3615
|
+
{
|
|
3616
|
+
"kind": "const",
|
|
3617
|
+
"value": [
|
|
3618
|
+
112,
|
|
3619
|
+
114,
|
|
3620
|
+
111,
|
|
3621
|
+
103,
|
|
3622
|
+
114,
|
|
3623
|
+
97,
|
|
3624
|
+
109,
|
|
3625
|
+
95,
|
|
3626
|
+
99,
|
|
3627
|
+
111,
|
|
3628
|
+
110,
|
|
3629
|
+
102,
|
|
3630
|
+
105,
|
|
3631
|
+
103
|
|
3632
|
+
]
|
|
3633
|
+
}
|
|
3634
|
+
]
|
|
3635
|
+
}
|
|
3636
|
+
},
|
|
3637
|
+
{
|
|
3638
|
+
"name": "user",
|
|
3639
|
+
"docs": [
|
|
3640
|
+
"Claimer user (no signature required). Receives native SOL when escrow is closed."
|
|
3641
|
+
],
|
|
3642
|
+
"writable": true
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"name": "fee_share_config",
|
|
3646
|
+
"docs": [
|
|
3647
|
+
"Fee share config (PDA; seeds by base/quote mints)"
|
|
3648
|
+
],
|
|
3649
|
+
"pda": {
|
|
3650
|
+
"seeds": [
|
|
3651
|
+
{
|
|
3652
|
+
"kind": "const",
|
|
3653
|
+
"value": [
|
|
3654
|
+
102,
|
|
3655
|
+
101,
|
|
3656
|
+
101,
|
|
3657
|
+
95,
|
|
3658
|
+
115,
|
|
3659
|
+
104,
|
|
3660
|
+
97,
|
|
3661
|
+
114,
|
|
3662
|
+
101,
|
|
3663
|
+
95,
|
|
3664
|
+
99,
|
|
3665
|
+
111,
|
|
3666
|
+
110,
|
|
3667
|
+
102,
|
|
3668
|
+
105,
|
|
3669
|
+
103
|
|
3670
|
+
]
|
|
3671
|
+
},
|
|
3672
|
+
{
|
|
3673
|
+
"kind": "account",
|
|
3674
|
+
"path": "base_mint"
|
|
3675
|
+
},
|
|
3676
|
+
{
|
|
3677
|
+
"kind": "account",
|
|
3678
|
+
"path": "quote_mint"
|
|
3679
|
+
}
|
|
3680
|
+
]
|
|
3681
|
+
}
|
|
3682
|
+
},
|
|
3683
|
+
{
|
|
3684
|
+
"name": "fee_share_authority",
|
|
3685
|
+
"docs": [
|
|
3686
|
+
"Fee ledger (PDA; source of funds)"
|
|
3687
|
+
],
|
|
3688
|
+
"writable": true,
|
|
3689
|
+
"pda": {
|
|
3690
|
+
"seeds": [
|
|
3691
|
+
{
|
|
3692
|
+
"kind": "const",
|
|
3693
|
+
"value": [
|
|
3694
|
+
102,
|
|
3695
|
+
101,
|
|
3696
|
+
101,
|
|
3697
|
+
95,
|
|
3698
|
+
115,
|
|
3699
|
+
104,
|
|
3700
|
+
97,
|
|
3701
|
+
114,
|
|
3702
|
+
101,
|
|
3703
|
+
95,
|
|
3704
|
+
97,
|
|
3705
|
+
117,
|
|
3706
|
+
116,
|
|
3707
|
+
104,
|
|
3708
|
+
111,
|
|
3709
|
+
114,
|
|
3710
|
+
105,
|
|
3711
|
+
116,
|
|
3712
|
+
121
|
|
3713
|
+
]
|
|
3714
|
+
},
|
|
3715
|
+
{
|
|
3716
|
+
"kind": "account",
|
|
3717
|
+
"path": "base_mint"
|
|
3718
|
+
},
|
|
3719
|
+
{
|
|
3720
|
+
"kind": "account",
|
|
3721
|
+
"path": "quote_mint"
|
|
3722
|
+
}
|
|
3723
|
+
]
|
|
3724
|
+
}
|
|
3725
|
+
},
|
|
3726
|
+
{
|
|
3727
|
+
"name": "fee_share_authority_quote_ata",
|
|
3728
|
+
"docs": [
|
|
3729
|
+
"Authority's WSOL ATA (source)"
|
|
3730
|
+
],
|
|
3731
|
+
"writable": true,
|
|
3732
|
+
"pda": {
|
|
3733
|
+
"seeds": [
|
|
3734
|
+
{
|
|
3735
|
+
"kind": "account",
|
|
3736
|
+
"path": "fee_share_authority"
|
|
3737
|
+
},
|
|
3738
|
+
{
|
|
3739
|
+
"kind": "account",
|
|
3740
|
+
"path": "token_program"
|
|
3741
|
+
},
|
|
3742
|
+
{
|
|
3743
|
+
"kind": "account",
|
|
3744
|
+
"path": "quote_mint"
|
|
3745
|
+
}
|
|
3746
|
+
],
|
|
3747
|
+
"program": {
|
|
3748
|
+
"kind": "const",
|
|
3749
|
+
"value": [
|
|
3750
|
+
140,
|
|
3751
|
+
151,
|
|
3752
|
+
37,
|
|
3753
|
+
143,
|
|
3754
|
+
78,
|
|
3755
|
+
36,
|
|
3756
|
+
137,
|
|
3757
|
+
241,
|
|
3758
|
+
187,
|
|
3759
|
+
61,
|
|
3760
|
+
16,
|
|
3761
|
+
41,
|
|
3762
|
+
20,
|
|
3763
|
+
142,
|
|
3764
|
+
13,
|
|
3765
|
+
131,
|
|
3766
|
+
11,
|
|
3767
|
+
90,
|
|
3768
|
+
19,
|
|
3769
|
+
153,
|
|
3770
|
+
218,
|
|
3771
|
+
255,
|
|
3772
|
+
16,
|
|
3773
|
+
132,
|
|
3774
|
+
4,
|
|
3775
|
+
142,
|
|
3776
|
+
123,
|
|
3777
|
+
216,
|
|
3778
|
+
219,
|
|
3779
|
+
233,
|
|
3780
|
+
248,
|
|
3781
|
+
89
|
|
3782
|
+
]
|
|
3783
|
+
}
|
|
3784
|
+
}
|
|
3785
|
+
},
|
|
3786
|
+
{
|
|
3787
|
+
"name": "escrow_wsol_account",
|
|
3788
|
+
"docs": [
|
|
3789
|
+
"Ephemeral WSOL escrow. Created and closed atomically within",
|
|
3790
|
+
"this instruction. All lamports (claimed amount + rent) are",
|
|
3791
|
+
"sent to `user` as native SOL when the account is closed."
|
|
3792
|
+
],
|
|
3793
|
+
"writable": true,
|
|
3794
|
+
"pda": {
|
|
3795
|
+
"seeds": [
|
|
3796
|
+
{
|
|
3797
|
+
"kind": "const",
|
|
3798
|
+
"value": [
|
|
3799
|
+
102,
|
|
3800
|
+
111,
|
|
3801
|
+
114,
|
|
3802
|
+
99,
|
|
3803
|
+
101,
|
|
3804
|
+
95,
|
|
3805
|
+
99,
|
|
3806
|
+
108,
|
|
3807
|
+
97,
|
|
3808
|
+
105,
|
|
3809
|
+
109,
|
|
3810
|
+
95,
|
|
3811
|
+
101,
|
|
3812
|
+
115,
|
|
3813
|
+
99,
|
|
3814
|
+
114,
|
|
3815
|
+
111,
|
|
3816
|
+
119
|
|
3817
|
+
]
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
"kind": "account",
|
|
3821
|
+
"path": "user"
|
|
3822
|
+
},
|
|
3823
|
+
{
|
|
3824
|
+
"kind": "account",
|
|
3825
|
+
"path": "base_mint"
|
|
3826
|
+
},
|
|
3827
|
+
{
|
|
3828
|
+
"kind": "account",
|
|
3829
|
+
"path": "quote_mint"
|
|
3830
|
+
}
|
|
3831
|
+
]
|
|
3832
|
+
}
|
|
3833
|
+
},
|
|
3834
|
+
{
|
|
3835
|
+
"name": "base_mint"
|
|
3836
|
+
},
|
|
3837
|
+
{
|
|
3838
|
+
"name": "quote_mint",
|
|
3839
|
+
"docs": [
|
|
3840
|
+
"Quote mint (WSOL; seed)"
|
|
3841
|
+
],
|
|
3842
|
+
"address": "So11111111111111111111111111111111111111112"
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"name": "system_program",
|
|
3846
|
+
"docs": [
|
|
3847
|
+
"Programs"
|
|
3848
|
+
],
|
|
3849
|
+
"address": "11111111111111111111111111111111"
|
|
3850
|
+
},
|
|
3851
|
+
{
|
|
3852
|
+
"name": "token_program",
|
|
3853
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
3854
|
+
},
|
|
3855
|
+
{
|
|
3856
|
+
"name": "associated_token_program",
|
|
3857
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"name": "event_authority",
|
|
3861
|
+
"pda": {
|
|
3862
|
+
"seeds": [
|
|
3863
|
+
{
|
|
3864
|
+
"kind": "const",
|
|
3865
|
+
"value": [
|
|
3866
|
+
95,
|
|
3867
|
+
95,
|
|
3868
|
+
101,
|
|
3869
|
+
118,
|
|
3870
|
+
101,
|
|
3871
|
+
110,
|
|
3872
|
+
116,
|
|
3873
|
+
95,
|
|
3874
|
+
97,
|
|
3875
|
+
117,
|
|
3876
|
+
116,
|
|
3877
|
+
104,
|
|
3878
|
+
111,
|
|
3879
|
+
114,
|
|
3880
|
+
105,
|
|
3881
|
+
116,
|
|
3882
|
+
121
|
|
3883
|
+
]
|
|
3884
|
+
}
|
|
3885
|
+
]
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3888
|
+
{
|
|
3889
|
+
"name": "program"
|
|
3890
|
+
}
|
|
3891
|
+
],
|
|
3892
|
+
"args": [
|
|
3893
|
+
{
|
|
3894
|
+
"name": "params",
|
|
3895
|
+
"type": {
|
|
3896
|
+
"defined": {
|
|
3897
|
+
"name": "ForceSolClaimUserParameters"
|
|
3898
|
+
}
|
|
3899
|
+
}
|
|
3900
|
+
}
|
|
3901
|
+
]
|
|
3902
|
+
},
|
|
3903
|
+
{
|
|
3904
|
+
"name": "init_program_config",
|
|
3905
|
+
"docs": [
|
|
3906
|
+
"Initialize the singleton ProgramConfig. Callable once."
|
|
3907
|
+
],
|
|
3908
|
+
"discriminator": [
|
|
3909
|
+
185,
|
|
3910
|
+
54,
|
|
3911
|
+
237,
|
|
3912
|
+
229,
|
|
3913
|
+
219,
|
|
3914
|
+
179,
|
|
3915
|
+
109,
|
|
3916
|
+
20
|
|
3917
|
+
],
|
|
3918
|
+
"accounts": [
|
|
3919
|
+
{
|
|
3920
|
+
"name": "payer",
|
|
3921
|
+
"docs": [
|
|
3922
|
+
"Payer funding the account creation"
|
|
3923
|
+
],
|
|
3924
|
+
"writable": true,
|
|
3925
|
+
"signer": true
|
|
3926
|
+
},
|
|
3927
|
+
{
|
|
3928
|
+
"name": "admin",
|
|
3929
|
+
"docs": [
|
|
3930
|
+
"Initial admin who will control the program"
|
|
3931
|
+
],
|
|
3932
|
+
"signer": true
|
|
3933
|
+
},
|
|
3934
|
+
{
|
|
3935
|
+
"name": "program_config",
|
|
3936
|
+
"docs": [
|
|
3937
|
+
"Initialize the singleton ProgramConfig PDA"
|
|
3938
|
+
],
|
|
3939
|
+
"writable": true,
|
|
3940
|
+
"pda": {
|
|
3941
|
+
"seeds": [
|
|
3942
|
+
{
|
|
3943
|
+
"kind": "const",
|
|
3944
|
+
"value": [
|
|
3945
|
+
112,
|
|
3946
|
+
114,
|
|
3947
|
+
111,
|
|
3948
|
+
103,
|
|
3949
|
+
114,
|
|
3950
|
+
97,
|
|
3951
|
+
109,
|
|
3952
|
+
95,
|
|
3953
|
+
99,
|
|
3954
|
+
111,
|
|
3955
|
+
110,
|
|
3956
|
+
102,
|
|
3957
|
+
105,
|
|
3958
|
+
103
|
|
3959
|
+
]
|
|
3960
|
+
}
|
|
3961
|
+
]
|
|
3962
|
+
}
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
"name": "platform_vault",
|
|
3966
|
+
"docs": [
|
|
3967
|
+
"Program vault (receives bags fees)"
|
|
3968
|
+
],
|
|
3969
|
+
"writable": true,
|
|
3970
|
+
"pda": {
|
|
3971
|
+
"seeds": [
|
|
3972
|
+
{
|
|
3973
|
+
"kind": "account",
|
|
3974
|
+
"path": "program_config"
|
|
3975
|
+
},
|
|
3976
|
+
{
|
|
3977
|
+
"kind": "account",
|
|
3978
|
+
"path": "token_program"
|
|
3979
|
+
},
|
|
3980
|
+
{
|
|
3981
|
+
"kind": "account",
|
|
3982
|
+
"path": "quote_mint"
|
|
3983
|
+
}
|
|
3984
|
+
],
|
|
3985
|
+
"program": {
|
|
3986
|
+
"kind": "const",
|
|
3987
|
+
"value": [
|
|
3988
|
+
140,
|
|
3989
|
+
151,
|
|
3990
|
+
37,
|
|
3991
|
+
143,
|
|
3992
|
+
78,
|
|
3993
|
+
36,
|
|
3994
|
+
137,
|
|
3995
|
+
241,
|
|
3996
|
+
187,
|
|
3997
|
+
61,
|
|
3998
|
+
16,
|
|
3999
|
+
41,
|
|
4000
|
+
20,
|
|
4001
|
+
142,
|
|
4002
|
+
13,
|
|
4003
|
+
131,
|
|
4004
|
+
11,
|
|
4005
|
+
90,
|
|
4006
|
+
19,
|
|
4007
|
+
153,
|
|
4008
|
+
218,
|
|
4009
|
+
255,
|
|
4010
|
+
16,
|
|
4011
|
+
132,
|
|
4012
|
+
4,
|
|
4013
|
+
142,
|
|
4014
|
+
123,
|
|
4015
|
+
216,
|
|
4016
|
+
219,
|
|
4017
|
+
233,
|
|
4018
|
+
248,
|
|
4019
|
+
89
|
|
4020
|
+
]
|
|
4021
|
+
}
|
|
4022
|
+
}
|
|
4023
|
+
},
|
|
4024
|
+
{
|
|
4025
|
+
"name": "quote_mint",
|
|
4026
|
+
"docs": [
|
|
4027
|
+
"Quote mint (WSOL)"
|
|
4028
|
+
],
|
|
4029
|
+
"address": "So11111111111111111111111111111111111111112"
|
|
4030
|
+
},
|
|
4031
|
+
{
|
|
4032
|
+
"name": "system_program",
|
|
4033
|
+
"address": "11111111111111111111111111111111"
|
|
4034
|
+
},
|
|
4035
|
+
{
|
|
4036
|
+
"name": "token_program",
|
|
4037
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
4038
|
+
},
|
|
4039
|
+
{
|
|
4040
|
+
"name": "associated_token_program",
|
|
4041
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
4042
|
+
},
|
|
4043
|
+
{
|
|
4044
|
+
"name": "event_authority",
|
|
4045
|
+
"pda": {
|
|
4046
|
+
"seeds": [
|
|
4047
|
+
{
|
|
4048
|
+
"kind": "const",
|
|
4049
|
+
"value": [
|
|
4050
|
+
95,
|
|
4051
|
+
95,
|
|
4052
|
+
101,
|
|
4053
|
+
118,
|
|
4054
|
+
101,
|
|
4055
|
+
110,
|
|
4056
|
+
116,
|
|
4057
|
+
95,
|
|
4058
|
+
97,
|
|
4059
|
+
117,
|
|
4060
|
+
116,
|
|
4061
|
+
104,
|
|
4062
|
+
111,
|
|
4063
|
+
114,
|
|
4064
|
+
105,
|
|
4065
|
+
116,
|
|
4066
|
+
121
|
|
4067
|
+
]
|
|
4068
|
+
}
|
|
4069
|
+
]
|
|
4070
|
+
}
|
|
4071
|
+
},
|
|
4072
|
+
{
|
|
4073
|
+
"name": "program"
|
|
4074
|
+
}
|
|
4075
|
+
],
|
|
4076
|
+
"args": []
|
|
4077
|
+
},
|
|
4078
|
+
{
|
|
4079
|
+
"name": "manager_transfer_fee_config",
|
|
4080
|
+
"docs": [
|
|
4081
|
+
"Manager transfers their managerial position (requires both old and new manager signatures)"
|
|
4082
|
+
],
|
|
4083
|
+
"discriminator": [
|
|
4084
|
+
141,
|
|
4085
|
+
74,
|
|
4086
|
+
17,
|
|
4087
|
+
174,
|
|
4088
|
+
124,
|
|
4089
|
+
11,
|
|
4090
|
+
170,
|
|
4091
|
+
227
|
|
4092
|
+
],
|
|
4093
|
+
"accounts": [
|
|
4094
|
+
{
|
|
4095
|
+
"name": "payer",
|
|
4096
|
+
"docs": [
|
|
4097
|
+
"Payer funding the transfer"
|
|
4098
|
+
],
|
|
4099
|
+
"writable": true,
|
|
4100
|
+
"signer": true
|
|
4101
|
+
},
|
|
4102
|
+
{
|
|
4103
|
+
"name": "manager",
|
|
4104
|
+
"docs": [
|
|
4105
|
+
"Current manager signer authorizing the transfer"
|
|
4106
|
+
],
|
|
4107
|
+
"writable": true,
|
|
4108
|
+
"signer": true
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4111
|
+
"name": "new_manager"
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
"name": "fee_share_config",
|
|
4115
|
+
"docs": [
|
|
4116
|
+
"Fee share config (PDA) whose manager is being transferred"
|
|
4117
|
+
],
|
|
4118
|
+
"writable": true,
|
|
4119
|
+
"pda": {
|
|
4120
|
+
"seeds": [
|
|
4121
|
+
{
|
|
4122
|
+
"kind": "const",
|
|
4123
|
+
"value": [
|
|
4124
|
+
102,
|
|
4125
|
+
101,
|
|
4126
|
+
101,
|
|
4127
|
+
95,
|
|
4128
|
+
115,
|
|
4129
|
+
104,
|
|
4130
|
+
97,
|
|
4131
|
+
114,
|
|
4132
|
+
101,
|
|
4133
|
+
95,
|
|
4134
|
+
99,
|
|
4135
|
+
111,
|
|
4136
|
+
110,
|
|
4137
|
+
102,
|
|
4138
|
+
105,
|
|
4139
|
+
103
|
|
4140
|
+
]
|
|
4141
|
+
},
|
|
4142
|
+
{
|
|
4143
|
+
"kind": "account",
|
|
4144
|
+
"path": "base_mint"
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
"kind": "account",
|
|
4148
|
+
"path": "quote_mint"
|
|
4149
|
+
}
|
|
4150
|
+
]
|
|
4151
|
+
}
|
|
4152
|
+
},
|
|
4153
|
+
{
|
|
4154
|
+
"name": "fee_share_authority",
|
|
4155
|
+
"docs": [
|
|
4156
|
+
"Fee share authority (PDA) - needed for event emission and validation"
|
|
4157
|
+
],
|
|
4158
|
+
"pda": {
|
|
4159
|
+
"seeds": [
|
|
4160
|
+
{
|
|
4161
|
+
"kind": "const",
|
|
4162
|
+
"value": [
|
|
4163
|
+
102,
|
|
4164
|
+
101,
|
|
4165
|
+
101,
|
|
4166
|
+
95,
|
|
4167
|
+
115,
|
|
4168
|
+
104,
|
|
4169
|
+
97,
|
|
4170
|
+
114,
|
|
4171
|
+
101,
|
|
4172
|
+
95,
|
|
4173
|
+
97,
|
|
4174
|
+
117,
|
|
4175
|
+
116,
|
|
4176
|
+
104,
|
|
4177
|
+
111,
|
|
4178
|
+
114,
|
|
4179
|
+
105,
|
|
4180
|
+
116,
|
|
4181
|
+
121
|
|
4182
|
+
]
|
|
4183
|
+
},
|
|
4184
|
+
{
|
|
4185
|
+
"kind": "account",
|
|
4186
|
+
"path": "base_mint"
|
|
4187
|
+
},
|
|
4188
|
+
{
|
|
4189
|
+
"kind": "account",
|
|
4190
|
+
"path": "quote_mint"
|
|
4191
|
+
}
|
|
4192
|
+
]
|
|
4193
|
+
}
|
|
4194
|
+
},
|
|
4195
|
+
{
|
|
4196
|
+
"name": "base_mint"
|
|
4197
|
+
},
|
|
4198
|
+
{
|
|
4199
|
+
"name": "quote_mint",
|
|
4200
|
+
"docs": [
|
|
4201
|
+
"Quote mint (WSOL; seed for PDAs)"
|
|
4202
|
+
],
|
|
4203
|
+
"address": "So11111111111111111111111111111111111111112"
|
|
4204
|
+
},
|
|
4205
|
+
{
|
|
4206
|
+
"name": "system_program",
|
|
4207
|
+
"docs": [
|
|
4208
|
+
"System program"
|
|
4209
|
+
],
|
|
4210
|
+
"address": "11111111111111111111111111111111"
|
|
4211
|
+
},
|
|
4212
|
+
{
|
|
4213
|
+
"name": "event_authority",
|
|
4214
|
+
"pda": {
|
|
4215
|
+
"seeds": [
|
|
4216
|
+
{
|
|
4217
|
+
"kind": "const",
|
|
4218
|
+
"value": [
|
|
4219
|
+
95,
|
|
4220
|
+
95,
|
|
4221
|
+
101,
|
|
4222
|
+
118,
|
|
4223
|
+
101,
|
|
4224
|
+
110,
|
|
4225
|
+
116,
|
|
4226
|
+
95,
|
|
4227
|
+
97,
|
|
4228
|
+
117,
|
|
4229
|
+
116,
|
|
4230
|
+
104,
|
|
4231
|
+
111,
|
|
4232
|
+
114,
|
|
4233
|
+
105,
|
|
4234
|
+
116,
|
|
4235
|
+
121
|
|
4236
|
+
]
|
|
4237
|
+
}
|
|
4238
|
+
]
|
|
4239
|
+
}
|
|
4240
|
+
},
|
|
4241
|
+
{
|
|
4242
|
+
"name": "program"
|
|
4243
|
+
}
|
|
4244
|
+
],
|
|
4245
|
+
"args": []
|
|
4246
|
+
},
|
|
4247
|
+
{
|
|
4248
|
+
"name": "manager_update_fee_config",
|
|
4249
|
+
"docs": [
|
|
4250
|
+
"Manager update fee config (claimers + bps)"
|
|
4251
|
+
],
|
|
4252
|
+
"discriminator": [
|
|
4253
|
+
84,
|
|
4254
|
+
56,
|
|
4255
|
+
125,
|
|
4256
|
+
101,
|
|
4257
|
+
210,
|
|
4258
|
+
214,
|
|
4259
|
+
195,
|
|
4260
|
+
197
|
|
4261
|
+
],
|
|
4262
|
+
"accounts": [
|
|
4263
|
+
{
|
|
4264
|
+
"name": "payer",
|
|
4265
|
+
"docs": [
|
|
4266
|
+
"Payer funding the update"
|
|
4267
|
+
],
|
|
4268
|
+
"writable": true,
|
|
4269
|
+
"signer": true
|
|
4270
|
+
},
|
|
4271
|
+
{
|
|
4272
|
+
"name": "manager",
|
|
4273
|
+
"docs": [
|
|
4274
|
+
"Manager signer authorizing the update"
|
|
4275
|
+
],
|
|
4276
|
+
"writable": true,
|
|
4277
|
+
"signer": true
|
|
4278
|
+
},
|
|
4279
|
+
{
|
|
4280
|
+
"name": "fee_share_config",
|
|
4281
|
+
"docs": [
|
|
4282
|
+
"Fee share config (PDA) whose claimers/BPS are updated"
|
|
4283
|
+
],
|
|
4284
|
+
"writable": true,
|
|
4285
|
+
"pda": {
|
|
4286
|
+
"seeds": [
|
|
4287
|
+
{
|
|
4288
|
+
"kind": "const",
|
|
4289
|
+
"value": [
|
|
4290
|
+
102,
|
|
4291
|
+
101,
|
|
4292
|
+
101,
|
|
4293
|
+
95,
|
|
4294
|
+
115,
|
|
4295
|
+
104,
|
|
4296
|
+
97,
|
|
4297
|
+
114,
|
|
4298
|
+
101,
|
|
4299
|
+
95,
|
|
4300
|
+
99,
|
|
4301
|
+
111,
|
|
4302
|
+
110,
|
|
4303
|
+
102,
|
|
4304
|
+
105,
|
|
4305
|
+
103
|
|
4306
|
+
]
|
|
4307
|
+
},
|
|
4308
|
+
{
|
|
4309
|
+
"kind": "account",
|
|
4310
|
+
"path": "base_mint"
|
|
4311
|
+
},
|
|
4312
|
+
{
|
|
4313
|
+
"kind": "account",
|
|
4314
|
+
"path": "quote_mint"
|
|
4315
|
+
}
|
|
4316
|
+
]
|
|
4317
|
+
}
|
|
4318
|
+
},
|
|
4319
|
+
{
|
|
4320
|
+
"name": "fee_share_authority",
|
|
4321
|
+
"docs": [
|
|
4322
|
+
"Fee ledger (PDA) whose fees array may be reallocated/reordered"
|
|
4323
|
+
],
|
|
4324
|
+
"writable": true,
|
|
4325
|
+
"pda": {
|
|
4326
|
+
"seeds": [
|
|
4327
|
+
{
|
|
4328
|
+
"kind": "const",
|
|
4329
|
+
"value": [
|
|
4330
|
+
102,
|
|
4331
|
+
101,
|
|
4332
|
+
101,
|
|
4333
|
+
95,
|
|
4334
|
+
115,
|
|
4335
|
+
104,
|
|
4336
|
+
97,
|
|
4337
|
+
114,
|
|
4338
|
+
101,
|
|
4339
|
+
95,
|
|
4340
|
+
97,
|
|
4341
|
+
117,
|
|
4342
|
+
116,
|
|
4343
|
+
104,
|
|
4344
|
+
111,
|
|
4345
|
+
114,
|
|
4346
|
+
105,
|
|
4347
|
+
116,
|
|
4348
|
+
121
|
|
4349
|
+
]
|
|
4350
|
+
},
|
|
4351
|
+
{
|
|
4352
|
+
"kind": "account",
|
|
4353
|
+
"path": "base_mint"
|
|
4354
|
+
},
|
|
4355
|
+
{
|
|
4356
|
+
"kind": "account",
|
|
4357
|
+
"path": "quote_mint"
|
|
4358
|
+
}
|
|
4359
|
+
]
|
|
4360
|
+
}
|
|
4361
|
+
},
|
|
4362
|
+
{
|
|
4363
|
+
"name": "base_mint"
|
|
4364
|
+
},
|
|
4365
|
+
{
|
|
4366
|
+
"name": "quote_mint",
|
|
4367
|
+
"docs": [
|
|
4368
|
+
"Quote mint (WSOL; seed for PDAs)"
|
|
4369
|
+
],
|
|
4370
|
+
"address": "So11111111111111111111111111111111111111112"
|
|
4371
|
+
},
|
|
4372
|
+
{
|
|
4373
|
+
"name": "system_program",
|
|
4374
|
+
"docs": [
|
|
4375
|
+
"System program (realloc/rent)"
|
|
4376
|
+
],
|
|
4377
|
+
"address": "11111111111111111111111111111111"
|
|
4378
|
+
},
|
|
4379
|
+
{
|
|
4380
|
+
"name": "event_authority",
|
|
4381
|
+
"pda": {
|
|
4382
|
+
"seeds": [
|
|
4383
|
+
{
|
|
4384
|
+
"kind": "const",
|
|
4385
|
+
"value": [
|
|
4386
|
+
95,
|
|
4387
|
+
95,
|
|
4388
|
+
101,
|
|
4389
|
+
118,
|
|
4390
|
+
101,
|
|
4391
|
+
110,
|
|
4392
|
+
116,
|
|
4393
|
+
95,
|
|
4394
|
+
97,
|
|
4395
|
+
117,
|
|
4396
|
+
116,
|
|
4397
|
+
104,
|
|
4398
|
+
111,
|
|
4399
|
+
114,
|
|
4400
|
+
105,
|
|
4401
|
+
116,
|
|
4402
|
+
121
|
|
4403
|
+
]
|
|
4404
|
+
}
|
|
4405
|
+
]
|
|
4406
|
+
}
|
|
4407
|
+
},
|
|
4408
|
+
{
|
|
4409
|
+
"name": "program"
|
|
4410
|
+
}
|
|
4411
|
+
],
|
|
4412
|
+
"args": [
|
|
4413
|
+
{
|
|
4414
|
+
"name": "params",
|
|
4415
|
+
"type": {
|
|
4416
|
+
"defined": {
|
|
4417
|
+
"name": "ManagerUpdateFeeConfigParameters"
|
|
4418
|
+
}
|
|
4419
|
+
}
|
|
4420
|
+
}
|
|
4421
|
+
]
|
|
4422
|
+
},
|
|
4423
|
+
{
|
|
4424
|
+
"name": "manager_waive_fee_config",
|
|
4425
|
+
"docs": [
|
|
4426
|
+
"Manager waives their managerial position (sets manager to Pubkey::default)"
|
|
4427
|
+
],
|
|
4428
|
+
"discriminator": [
|
|
4429
|
+
105,
|
|
4430
|
+
51,
|
|
4431
|
+
140,
|
|
4432
|
+
114,
|
|
4433
|
+
254,
|
|
4434
|
+
160,
|
|
4435
|
+
173,
|
|
4436
|
+
172
|
|
4437
|
+
],
|
|
4438
|
+
"accounts": [
|
|
4439
|
+
{
|
|
4440
|
+
"name": "payer",
|
|
4441
|
+
"docs": [
|
|
4442
|
+
"Payer funding the operation"
|
|
4443
|
+
],
|
|
4444
|
+
"writable": true,
|
|
4445
|
+
"signer": true
|
|
4446
|
+
},
|
|
4447
|
+
{
|
|
4448
|
+
"name": "manager",
|
|
4449
|
+
"docs": [
|
|
4450
|
+
"Current manager signer waiving their role"
|
|
4451
|
+
],
|
|
4452
|
+
"writable": true,
|
|
4453
|
+
"signer": true
|
|
4454
|
+
},
|
|
4455
|
+
{
|
|
4456
|
+
"name": "fee_share_config",
|
|
4457
|
+
"docs": [
|
|
4458
|
+
"Fee share config (PDA) whose manager is being waived"
|
|
4459
|
+
],
|
|
4460
|
+
"writable": true,
|
|
4461
|
+
"pda": {
|
|
4462
|
+
"seeds": [
|
|
4463
|
+
{
|
|
4464
|
+
"kind": "const",
|
|
4465
|
+
"value": [
|
|
4466
|
+
102,
|
|
4467
|
+
101,
|
|
4468
|
+
101,
|
|
4469
|
+
95,
|
|
4470
|
+
115,
|
|
4471
|
+
104,
|
|
4472
|
+
97,
|
|
4473
|
+
114,
|
|
4474
|
+
101,
|
|
4475
|
+
95,
|
|
4476
|
+
99,
|
|
4477
|
+
111,
|
|
4478
|
+
110,
|
|
4479
|
+
102,
|
|
4480
|
+
105,
|
|
4481
|
+
103
|
|
4482
|
+
]
|
|
4483
|
+
},
|
|
4484
|
+
{
|
|
4485
|
+
"kind": "account",
|
|
4486
|
+
"path": "base_mint"
|
|
4487
|
+
},
|
|
4488
|
+
{
|
|
4489
|
+
"kind": "account",
|
|
4490
|
+
"path": "quote_mint"
|
|
4491
|
+
}
|
|
4492
|
+
]
|
|
4493
|
+
}
|
|
4494
|
+
},
|
|
4495
|
+
{
|
|
4496
|
+
"name": "fee_share_authority",
|
|
4497
|
+
"docs": [
|
|
4498
|
+
"Fee share authority (PDA) - needed for event emission and validation"
|
|
4499
|
+
],
|
|
4500
|
+
"pda": {
|
|
4501
|
+
"seeds": [
|
|
4502
|
+
{
|
|
4503
|
+
"kind": "const",
|
|
4504
|
+
"value": [
|
|
4505
|
+
102,
|
|
4506
|
+
101,
|
|
4507
|
+
101,
|
|
4508
|
+
95,
|
|
4509
|
+
115,
|
|
4510
|
+
104,
|
|
4511
|
+
97,
|
|
4512
|
+
114,
|
|
4513
|
+
101,
|
|
4514
|
+
95,
|
|
4515
|
+
97,
|
|
4516
|
+
117,
|
|
4517
|
+
116,
|
|
4518
|
+
104,
|
|
4519
|
+
111,
|
|
4520
|
+
114,
|
|
4521
|
+
105,
|
|
4522
|
+
116,
|
|
4523
|
+
121
|
|
4524
|
+
]
|
|
4525
|
+
},
|
|
4526
|
+
{
|
|
4527
|
+
"kind": "account",
|
|
4528
|
+
"path": "base_mint"
|
|
4529
|
+
},
|
|
4530
|
+
{
|
|
4531
|
+
"kind": "account",
|
|
4532
|
+
"path": "quote_mint"
|
|
4533
|
+
}
|
|
4534
|
+
]
|
|
4535
|
+
}
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
"name": "base_mint"
|
|
4539
|
+
},
|
|
4540
|
+
{
|
|
4541
|
+
"name": "quote_mint",
|
|
4542
|
+
"docs": [
|
|
4543
|
+
"Quote mint (WSOL; seed for PDAs)"
|
|
4544
|
+
],
|
|
4545
|
+
"address": "So11111111111111111111111111111111111111112"
|
|
4546
|
+
},
|
|
4547
|
+
{
|
|
4548
|
+
"name": "system_program",
|
|
4549
|
+
"docs": [
|
|
4550
|
+
"System program"
|
|
4551
|
+
],
|
|
4552
|
+
"address": "11111111111111111111111111111111"
|
|
4553
|
+
},
|
|
4554
|
+
{
|
|
4555
|
+
"name": "event_authority",
|
|
4556
|
+
"pda": {
|
|
4557
|
+
"seeds": [
|
|
4558
|
+
{
|
|
4559
|
+
"kind": "const",
|
|
4560
|
+
"value": [
|
|
4561
|
+
95,
|
|
4562
|
+
95,
|
|
4563
|
+
101,
|
|
4564
|
+
118,
|
|
4565
|
+
101,
|
|
4566
|
+
110,
|
|
4567
|
+
116,
|
|
4568
|
+
95,
|
|
4569
|
+
97,
|
|
4570
|
+
117,
|
|
4571
|
+
116,
|
|
4572
|
+
104,
|
|
4573
|
+
111,
|
|
4574
|
+
114,
|
|
4575
|
+
105,
|
|
4576
|
+
116,
|
|
4577
|
+
121
|
|
4578
|
+
]
|
|
4579
|
+
}
|
|
4580
|
+
]
|
|
4581
|
+
}
|
|
4582
|
+
},
|
|
4583
|
+
{
|
|
4584
|
+
"name": "program"
|
|
4585
|
+
}
|
|
4586
|
+
],
|
|
4587
|
+
"args": []
|
|
4588
|
+
},
|
|
4589
|
+
{
|
|
4590
|
+
"name": "update_fee_config",
|
|
4591
|
+
"docs": [
|
|
4592
|
+
"Update fee config (claimers + bps + partner_bps)"
|
|
4593
|
+
],
|
|
4594
|
+
"discriminator": [
|
|
4595
|
+
104,
|
|
4596
|
+
184,
|
|
4597
|
+
103,
|
|
4598
|
+
242,
|
|
4599
|
+
88,
|
|
4600
|
+
151,
|
|
4601
|
+
107,
|
|
4602
|
+
20
|
|
4603
|
+
],
|
|
4604
|
+
"accounts": [
|
|
4605
|
+
{
|
|
4606
|
+
"name": "admin",
|
|
4607
|
+
"docs": [
|
|
4608
|
+
"Admin signer authorizing the update"
|
|
4609
|
+
],
|
|
4610
|
+
"writable": true,
|
|
4611
|
+
"signer": true
|
|
4612
|
+
},
|
|
4613
|
+
{
|
|
4614
|
+
"name": "program_config",
|
|
4615
|
+
"docs": [
|
|
4616
|
+
"Singleton program config PDA (holds admin pubkey)"
|
|
4617
|
+
],
|
|
4618
|
+
"pda": {
|
|
4619
|
+
"seeds": [
|
|
4620
|
+
{
|
|
4621
|
+
"kind": "const",
|
|
4622
|
+
"value": [
|
|
4623
|
+
112,
|
|
4624
|
+
114,
|
|
4625
|
+
111,
|
|
4626
|
+
103,
|
|
4627
|
+
114,
|
|
4628
|
+
97,
|
|
4629
|
+
109,
|
|
4630
|
+
95,
|
|
4631
|
+
99,
|
|
4632
|
+
111,
|
|
4633
|
+
110,
|
|
4634
|
+
102,
|
|
4635
|
+
105,
|
|
4636
|
+
103
|
|
4637
|
+
]
|
|
4638
|
+
}
|
|
4639
|
+
]
|
|
4640
|
+
}
|
|
4641
|
+
},
|
|
4642
|
+
{
|
|
4643
|
+
"name": "fee_share_config",
|
|
4644
|
+
"docs": [
|
|
4645
|
+
"Fee share config (PDA) whose claimers/BPS are updated"
|
|
4646
|
+
],
|
|
4647
|
+
"writable": true,
|
|
4648
|
+
"pda": {
|
|
4649
|
+
"seeds": [
|
|
4650
|
+
{
|
|
4651
|
+
"kind": "const",
|
|
4652
|
+
"value": [
|
|
4653
|
+
102,
|
|
4654
|
+
101,
|
|
4655
|
+
101,
|
|
4656
|
+
95,
|
|
4657
|
+
115,
|
|
4658
|
+
104,
|
|
4659
|
+
97,
|
|
4660
|
+
114,
|
|
4661
|
+
101,
|
|
4662
|
+
95,
|
|
4663
|
+
99,
|
|
4664
|
+
111,
|
|
4665
|
+
110,
|
|
4666
|
+
102,
|
|
4667
|
+
105,
|
|
4668
|
+
103
|
|
4669
|
+
]
|
|
4670
|
+
},
|
|
4671
|
+
{
|
|
4672
|
+
"kind": "account",
|
|
4673
|
+
"path": "base_mint"
|
|
4674
|
+
},
|
|
4675
|
+
{
|
|
4676
|
+
"kind": "account",
|
|
4677
|
+
"path": "quote_mint"
|
|
4678
|
+
}
|
|
4679
|
+
]
|
|
4680
|
+
}
|
|
4681
|
+
},
|
|
4682
|
+
{
|
|
4683
|
+
"name": "fee_share_authority",
|
|
4684
|
+
"docs": [
|
|
4685
|
+
"Fee ledger (PDA) whose fees array may be reallocated/reordered"
|
|
4686
|
+
],
|
|
4687
|
+
"writable": true,
|
|
4688
|
+
"pda": {
|
|
4689
|
+
"seeds": [
|
|
4690
|
+
{
|
|
4691
|
+
"kind": "const",
|
|
4692
|
+
"value": [
|
|
4693
|
+
102,
|
|
4694
|
+
101,
|
|
4695
|
+
101,
|
|
4696
|
+
95,
|
|
4697
|
+
115,
|
|
4698
|
+
104,
|
|
4699
|
+
97,
|
|
4700
|
+
114,
|
|
4701
|
+
101,
|
|
4702
|
+
95,
|
|
4703
|
+
97,
|
|
4704
|
+
117,
|
|
4705
|
+
116,
|
|
4706
|
+
104,
|
|
4707
|
+
111,
|
|
4708
|
+
114,
|
|
4709
|
+
105,
|
|
4710
|
+
116,
|
|
4711
|
+
121
|
|
4712
|
+
]
|
|
4713
|
+
},
|
|
4714
|
+
{
|
|
4715
|
+
"kind": "account",
|
|
4716
|
+
"path": "base_mint"
|
|
4717
|
+
},
|
|
4718
|
+
{
|
|
4719
|
+
"kind": "account",
|
|
4720
|
+
"path": "quote_mint"
|
|
4721
|
+
}
|
|
4722
|
+
]
|
|
4723
|
+
}
|
|
4724
|
+
},
|
|
4725
|
+
{
|
|
4726
|
+
"name": "base_mint"
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
"name": "quote_mint",
|
|
4730
|
+
"docs": [
|
|
4731
|
+
"Quote mint (WSOL; seed for PDAs)"
|
|
4732
|
+
],
|
|
4733
|
+
"address": "So11111111111111111111111111111111111111112"
|
|
4734
|
+
},
|
|
4735
|
+
{
|
|
4736
|
+
"name": "system_program",
|
|
4737
|
+
"docs": [
|
|
4738
|
+
"System program (realloc/rent)"
|
|
4739
|
+
],
|
|
4740
|
+
"address": "11111111111111111111111111111111"
|
|
4741
|
+
},
|
|
4742
|
+
{
|
|
4743
|
+
"name": "event_authority",
|
|
4744
|
+
"pda": {
|
|
4745
|
+
"seeds": [
|
|
4746
|
+
{
|
|
4747
|
+
"kind": "const",
|
|
4748
|
+
"value": [
|
|
4749
|
+
95,
|
|
4750
|
+
95,
|
|
4751
|
+
101,
|
|
4752
|
+
118,
|
|
4753
|
+
101,
|
|
4754
|
+
110,
|
|
4755
|
+
116,
|
|
4756
|
+
95,
|
|
4757
|
+
97,
|
|
4758
|
+
117,
|
|
4759
|
+
116,
|
|
4760
|
+
104,
|
|
4761
|
+
111,
|
|
4762
|
+
114,
|
|
4763
|
+
105,
|
|
4764
|
+
116,
|
|
4765
|
+
121
|
|
4766
|
+
]
|
|
4767
|
+
}
|
|
4768
|
+
]
|
|
4769
|
+
}
|
|
4770
|
+
},
|
|
4771
|
+
{
|
|
4772
|
+
"name": "program"
|
|
4773
|
+
}
|
|
4774
|
+
],
|
|
4775
|
+
"args": [
|
|
4776
|
+
{
|
|
4777
|
+
"name": "params",
|
|
4778
|
+
"type": {
|
|
4779
|
+
"defined": {
|
|
4780
|
+
"name": "UpdateFeeConfigParameters"
|
|
4781
|
+
}
|
|
4782
|
+
}
|
|
4783
|
+
}
|
|
4784
|
+
]
|
|
4785
|
+
},
|
|
4786
|
+
{
|
|
4787
|
+
"name": "update_fee_config_manager",
|
|
4788
|
+
"docs": [
|
|
4789
|
+
"Update the manager on an existing fee config"
|
|
4790
|
+
],
|
|
4791
|
+
"discriminator": [
|
|
4792
|
+
196,
|
|
4793
|
+
8,
|
|
4794
|
+
168,
|
|
4795
|
+
199,
|
|
4796
|
+
166,
|
|
4797
|
+
4,
|
|
4798
|
+
77,
|
|
4799
|
+
212
|
|
4800
|
+
],
|
|
4801
|
+
"accounts": [
|
|
4802
|
+
{
|
|
4803
|
+
"name": "payer",
|
|
4804
|
+
"docs": [
|
|
4805
|
+
"Payer funding the update"
|
|
4806
|
+
],
|
|
4807
|
+
"writable": true,
|
|
4808
|
+
"signer": true
|
|
4809
|
+
},
|
|
4810
|
+
{
|
|
4811
|
+
"name": "admin",
|
|
4812
|
+
"docs": [
|
|
4813
|
+
"Admin signer authorizing the update"
|
|
4814
|
+
],
|
|
4815
|
+
"writable": true,
|
|
4816
|
+
"signer": true
|
|
4817
|
+
},
|
|
4818
|
+
{
|
|
4819
|
+
"name": "program_config",
|
|
4820
|
+
"docs": [
|
|
4821
|
+
"Singleton program config PDA (holds admin pubkey)"
|
|
4822
|
+
],
|
|
4823
|
+
"pda": {
|
|
4824
|
+
"seeds": [
|
|
4825
|
+
{
|
|
4826
|
+
"kind": "const",
|
|
4827
|
+
"value": [
|
|
4828
|
+
112,
|
|
4829
|
+
114,
|
|
4830
|
+
111,
|
|
4831
|
+
103,
|
|
4832
|
+
114,
|
|
4833
|
+
97,
|
|
4834
|
+
109,
|
|
4835
|
+
95,
|
|
4836
|
+
99,
|
|
4837
|
+
111,
|
|
4838
|
+
110,
|
|
4839
|
+
102,
|
|
4840
|
+
105,
|
|
4841
|
+
103
|
|
4842
|
+
]
|
|
4843
|
+
}
|
|
4844
|
+
]
|
|
4845
|
+
}
|
|
4846
|
+
},
|
|
4847
|
+
{
|
|
4848
|
+
"name": "fee_share_config",
|
|
4849
|
+
"docs": [
|
|
4850
|
+
"Fee share config (PDA) whose manager is being updated"
|
|
4851
|
+
],
|
|
4852
|
+
"writable": true,
|
|
4853
|
+
"pda": {
|
|
4854
|
+
"seeds": [
|
|
4855
|
+
{
|
|
4856
|
+
"kind": "const",
|
|
4857
|
+
"value": [
|
|
4858
|
+
102,
|
|
4859
|
+
101,
|
|
4860
|
+
101,
|
|
4861
|
+
95,
|
|
4862
|
+
115,
|
|
4863
|
+
104,
|
|
4864
|
+
97,
|
|
4865
|
+
114,
|
|
4866
|
+
101,
|
|
4867
|
+
95,
|
|
4868
|
+
99,
|
|
4869
|
+
111,
|
|
4870
|
+
110,
|
|
4871
|
+
102,
|
|
4872
|
+
105,
|
|
4873
|
+
103
|
|
4874
|
+
]
|
|
4875
|
+
},
|
|
4876
|
+
{
|
|
4877
|
+
"kind": "account",
|
|
4878
|
+
"path": "base_mint"
|
|
4879
|
+
},
|
|
4880
|
+
{
|
|
4881
|
+
"kind": "account",
|
|
4882
|
+
"path": "quote_mint"
|
|
4883
|
+
}
|
|
4884
|
+
]
|
|
4885
|
+
}
|
|
4886
|
+
},
|
|
4887
|
+
{
|
|
4888
|
+
"name": "fee_share_authority",
|
|
4889
|
+
"docs": [
|
|
4890
|
+
"Fee share authority (PDA) - needed for event emission and validation"
|
|
4891
|
+
],
|
|
4892
|
+
"pda": {
|
|
4893
|
+
"seeds": [
|
|
4894
|
+
{
|
|
4895
|
+
"kind": "const",
|
|
4896
|
+
"value": [
|
|
4897
|
+
102,
|
|
4898
|
+
101,
|
|
4899
|
+
101,
|
|
4900
|
+
95,
|
|
4901
|
+
115,
|
|
4902
|
+
104,
|
|
4903
|
+
97,
|
|
4904
|
+
114,
|
|
4905
|
+
101,
|
|
4906
|
+
95,
|
|
4907
|
+
97,
|
|
4908
|
+
117,
|
|
4909
|
+
116,
|
|
4910
|
+
104,
|
|
4911
|
+
111,
|
|
4912
|
+
114,
|
|
4913
|
+
105,
|
|
4914
|
+
116,
|
|
4915
|
+
121
|
|
4916
|
+
]
|
|
4917
|
+
},
|
|
4918
|
+
{
|
|
4919
|
+
"kind": "account",
|
|
4920
|
+
"path": "base_mint"
|
|
4921
|
+
},
|
|
4922
|
+
{
|
|
4923
|
+
"kind": "account",
|
|
4924
|
+
"path": "quote_mint"
|
|
4925
|
+
}
|
|
4926
|
+
]
|
|
4927
|
+
}
|
|
4928
|
+
},
|
|
4929
|
+
{
|
|
4930
|
+
"name": "new_manager",
|
|
4931
|
+
"docs": [
|
|
4932
|
+
"New manager wallet."
|
|
4933
|
+
]
|
|
4934
|
+
},
|
|
4935
|
+
{
|
|
4936
|
+
"name": "base_mint"
|
|
4937
|
+
},
|
|
4938
|
+
{
|
|
4939
|
+
"name": "quote_mint",
|
|
4940
|
+
"docs": [
|
|
4941
|
+
"Quote mint (WSOL; seed for PDAs)"
|
|
4942
|
+
],
|
|
4943
|
+
"address": "So11111111111111111111111111111111111111112"
|
|
4944
|
+
},
|
|
4945
|
+
{
|
|
4946
|
+
"name": "system_program",
|
|
4947
|
+
"docs": [
|
|
4948
|
+
"System program"
|
|
4949
|
+
],
|
|
4950
|
+
"address": "11111111111111111111111111111111"
|
|
4951
|
+
},
|
|
4952
|
+
{
|
|
4953
|
+
"name": "event_authority",
|
|
4954
|
+
"pda": {
|
|
4955
|
+
"seeds": [
|
|
4956
|
+
{
|
|
4957
|
+
"kind": "const",
|
|
4958
|
+
"value": [
|
|
4959
|
+
95,
|
|
4960
|
+
95,
|
|
4961
|
+
101,
|
|
4962
|
+
118,
|
|
4963
|
+
101,
|
|
4964
|
+
110,
|
|
4965
|
+
116,
|
|
4966
|
+
95,
|
|
4967
|
+
97,
|
|
4968
|
+
117,
|
|
4969
|
+
116,
|
|
4970
|
+
104,
|
|
4971
|
+
111,
|
|
4972
|
+
114,
|
|
4973
|
+
105,
|
|
4974
|
+
116,
|
|
4975
|
+
121
|
|
4976
|
+
]
|
|
4977
|
+
}
|
|
4978
|
+
]
|
|
4979
|
+
}
|
|
4980
|
+
},
|
|
4981
|
+
{
|
|
4982
|
+
"name": "program"
|
|
4983
|
+
}
|
|
4984
|
+
],
|
|
4985
|
+
"args": []
|
|
4986
|
+
},
|
|
4987
|
+
{
|
|
4988
|
+
"name": "update_fee_config_partner",
|
|
4989
|
+
"docs": [
|
|
4990
|
+
"Update partner on an existing fee config"
|
|
4991
|
+
],
|
|
4992
|
+
"discriminator": [
|
|
4993
|
+
175,
|
|
4994
|
+
155,
|
|
4995
|
+
78,
|
|
4996
|
+
199,
|
|
4997
|
+
239,
|
|
4998
|
+
2,
|
|
4999
|
+
95,
|
|
5000
|
+
77
|
|
3227
5001
|
],
|
|
3228
5002
|
"accounts": [
|
|
3229
5003
|
{
|
|
@@ -3266,7 +5040,7 @@
|
|
|
3266
5040
|
{
|
|
3267
5041
|
"name": "fee_share_config",
|
|
3268
5042
|
"docs": [
|
|
3269
|
-
"Fee share config (PDA) whose
|
|
5043
|
+
"Fee share config (PDA) whose partner is being updated"
|
|
3270
5044
|
],
|
|
3271
5045
|
"writable": true,
|
|
3272
5046
|
"pda": {
|
|
@@ -3306,9 +5080,8 @@
|
|
|
3306
5080
|
{
|
|
3307
5081
|
"name": "fee_share_authority",
|
|
3308
5082
|
"docs": [
|
|
3309
|
-
"Fee
|
|
5083
|
+
"Fee share authority (PDA) - needed for event emission"
|
|
3310
5084
|
],
|
|
3311
|
-
"writable": true,
|
|
3312
5085
|
"pda": {
|
|
3313
5086
|
"seeds": [
|
|
3314
5087
|
{
|
|
@@ -3347,10 +5120,7 @@
|
|
|
3347
5120
|
}
|
|
3348
5121
|
},
|
|
3349
5122
|
{
|
|
3350
|
-
"name": "base_mint"
|
|
3351
|
-
"docs": [
|
|
3352
|
-
"Base mint (seed for PDAs)"
|
|
3353
|
-
]
|
|
5123
|
+
"name": "base_mint"
|
|
3354
5124
|
},
|
|
3355
5125
|
{
|
|
3356
5126
|
"name": "quote_mint",
|
|
@@ -3359,10 +5129,51 @@
|
|
|
3359
5129
|
],
|
|
3360
5130
|
"address": "So11111111111111111111111111111111111111112"
|
|
3361
5131
|
},
|
|
5132
|
+
{
|
|
5133
|
+
"name": "partner_config",
|
|
5134
|
+
"docs": [
|
|
5135
|
+
"Optional new partner config (PDA); must belong to `partner` if provided"
|
|
5136
|
+
],
|
|
5137
|
+
"optional": true,
|
|
5138
|
+
"pda": {
|
|
5139
|
+
"seeds": [
|
|
5140
|
+
{
|
|
5141
|
+
"kind": "const",
|
|
5142
|
+
"value": [
|
|
5143
|
+
112,
|
|
5144
|
+
97,
|
|
5145
|
+
114,
|
|
5146
|
+
116,
|
|
5147
|
+
110,
|
|
5148
|
+
101,
|
|
5149
|
+
114,
|
|
5150
|
+
95,
|
|
5151
|
+
99,
|
|
5152
|
+
111,
|
|
5153
|
+
110,
|
|
5154
|
+
102,
|
|
5155
|
+
105,
|
|
5156
|
+
103
|
|
5157
|
+
]
|
|
5158
|
+
},
|
|
5159
|
+
{
|
|
5160
|
+
"kind": "account",
|
|
5161
|
+
"path": "partner"
|
|
5162
|
+
}
|
|
5163
|
+
]
|
|
5164
|
+
}
|
|
5165
|
+
},
|
|
5166
|
+
{
|
|
5167
|
+
"name": "partner",
|
|
5168
|
+
"docs": [
|
|
5169
|
+
"Optional new partner wallet; must match partner_config if provided"
|
|
5170
|
+
],
|
|
5171
|
+
"optional": true
|
|
5172
|
+
},
|
|
3362
5173
|
{
|
|
3363
5174
|
"name": "system_program",
|
|
3364
5175
|
"docs": [
|
|
3365
|
-
"System program
|
|
5176
|
+
"System program"
|
|
3366
5177
|
],
|
|
3367
5178
|
"address": "11111111111111111111111111111111"
|
|
3368
5179
|
},
|
|
@@ -3399,16 +5210,7 @@
|
|
|
3399
5210
|
"name": "program"
|
|
3400
5211
|
}
|
|
3401
5212
|
],
|
|
3402
|
-
"args": [
|
|
3403
|
-
{
|
|
3404
|
-
"name": "params",
|
|
3405
|
-
"type": {
|
|
3406
|
-
"defined": {
|
|
3407
|
-
"name": "UpdateFeeConfigParameters"
|
|
3408
|
-
}
|
|
3409
|
-
}
|
|
3410
|
-
}
|
|
3411
|
-
]
|
|
5213
|
+
"args": []
|
|
3412
5214
|
},
|
|
3413
5215
|
{
|
|
3414
5216
|
"name": "update_partner_config",
|
|
@@ -3851,6 +5653,19 @@
|
|
|
3851
5653
|
140,
|
|
3852
5654
|
63
|
|
3853
5655
|
]
|
|
5656
|
+
},
|
|
5657
|
+
{
|
|
5658
|
+
"name": "UserFeeVault",
|
|
5659
|
+
"discriminator": [
|
|
5660
|
+
117,
|
|
5661
|
+
20,
|
|
5662
|
+
152,
|
|
5663
|
+
251,
|
|
5664
|
+
163,
|
|
5665
|
+
18,
|
|
5666
|
+
193,
|
|
5667
|
+
192
|
|
5668
|
+
]
|
|
3854
5669
|
}
|
|
3855
5670
|
],
|
|
3856
5671
|
"events": [
|
|
@@ -3893,6 +5708,32 @@
|
|
|
3893
5708
|
101
|
|
3894
5709
|
]
|
|
3895
5710
|
},
|
|
5711
|
+
{
|
|
5712
|
+
"name": "BagsFeeShareUserClaimV2Event",
|
|
5713
|
+
"discriminator": [
|
|
5714
|
+
195,
|
|
5715
|
+
23,
|
|
5716
|
+
211,
|
|
5717
|
+
154,
|
|
5718
|
+
30,
|
|
5719
|
+
157,
|
|
5720
|
+
169,
|
|
5721
|
+
52
|
|
5722
|
+
]
|
|
5723
|
+
},
|
|
5724
|
+
{
|
|
5725
|
+
"name": "BagsFeeShareUserVaultClaimEvent",
|
|
5726
|
+
"discriminator": [
|
|
5727
|
+
58,
|
|
5728
|
+
0,
|
|
5729
|
+
147,
|
|
5730
|
+
243,
|
|
5731
|
+
250,
|
|
5732
|
+
139,
|
|
5733
|
+
221,
|
|
5734
|
+
102
|
|
5735
|
+
]
|
|
5736
|
+
},
|
|
3896
5737
|
{
|
|
3897
5738
|
"name": "FeeConfigSnapshotEvent",
|
|
3898
5739
|
"discriminator": [
|
|
@@ -3906,6 +5747,19 @@
|
|
|
3906
5747
|
193
|
|
3907
5748
|
]
|
|
3908
5749
|
},
|
|
5750
|
+
{
|
|
5751
|
+
"name": "FeeConfigSnapshotEventV2",
|
|
5752
|
+
"discriminator": [
|
|
5753
|
+
119,
|
|
5754
|
+
106,
|
|
5755
|
+
2,
|
|
5756
|
+
17,
|
|
5757
|
+
241,
|
|
5758
|
+
76,
|
|
5759
|
+
128,
|
|
5760
|
+
184
|
|
5761
|
+
]
|
|
5762
|
+
},
|
|
3909
5763
|
{
|
|
3910
5764
|
"name": "FeeConfigUpdatedEvent",
|
|
3911
5765
|
"discriminator": [
|
|
@@ -4182,6 +6036,26 @@
|
|
|
4182
6036
|
"code": 6028,
|
|
4183
6037
|
"name": "UpdatePartnerConfigDeprecated",
|
|
4184
6038
|
"msg": "Deprecated ix, use update_partner_fee_collection instead"
|
|
6039
|
+
},
|
|
6040
|
+
{
|
|
6041
|
+
"code": 6029,
|
|
6042
|
+
"name": "NoManagerSet",
|
|
6043
|
+
"msg": "No manager set on this fee config"
|
|
6044
|
+
},
|
|
6045
|
+
{
|
|
6046
|
+
"code": 6030,
|
|
6047
|
+
"name": "UnauthorizedManager",
|
|
6048
|
+
"msg": "Unauthorized manager"
|
|
6049
|
+
},
|
|
6050
|
+
{
|
|
6051
|
+
"code": 6031,
|
|
6052
|
+
"name": "InvalidNewManager",
|
|
6053
|
+
"msg": "Cannot transfer manager role to the zero address"
|
|
6054
|
+
},
|
|
6055
|
+
{
|
|
6056
|
+
"code": 6032,
|
|
6057
|
+
"name": "ConfigLockedByAnotherActor",
|
|
6058
|
+
"msg": "Config is locked by another actor"
|
|
4185
6059
|
}
|
|
4186
6060
|
],
|
|
4187
6061
|
"types": [
|
|
@@ -4306,8 +6180,165 @@
|
|
|
4306
6180
|
"Source protocol for this claim snapshot"
|
|
4307
6181
|
],
|
|
4308
6182
|
"type": {
|
|
4309
|
-
"defined": {
|
|
4310
|
-
"name": "ClaimProtocol"
|
|
6183
|
+
"defined": {
|
|
6184
|
+
"name": "ClaimProtocol"
|
|
6185
|
+
}
|
|
6186
|
+
}
|
|
6187
|
+
}
|
|
6188
|
+
]
|
|
6189
|
+
}
|
|
6190
|
+
},
|
|
6191
|
+
{
|
|
6192
|
+
"name": "BagsFeeShareUserClaimEvent",
|
|
6193
|
+
"type": {
|
|
6194
|
+
"kind": "struct",
|
|
6195
|
+
"fields": [
|
|
6196
|
+
{
|
|
6197
|
+
"name": "timestamp",
|
|
6198
|
+
"docs": [
|
|
6199
|
+
"Unix timestamp (seconds) at emit"
|
|
6200
|
+
],
|
|
6201
|
+
"type": "i64"
|
|
6202
|
+
},
|
|
6203
|
+
{
|
|
6204
|
+
"name": "base_mint",
|
|
6205
|
+
"docs": [
|
|
6206
|
+
"base mint"
|
|
6207
|
+
],
|
|
6208
|
+
"type": "pubkey"
|
|
6209
|
+
},
|
|
6210
|
+
{
|
|
6211
|
+
"name": "quote_mint",
|
|
6212
|
+
"docs": [
|
|
6213
|
+
"quote mint"
|
|
6214
|
+
],
|
|
6215
|
+
"type": "pubkey"
|
|
6216
|
+
},
|
|
6217
|
+
{
|
|
6218
|
+
"name": "user",
|
|
6219
|
+
"docs": [
|
|
6220
|
+
"The user who claimed"
|
|
6221
|
+
],
|
|
6222
|
+
"type": "pubkey"
|
|
6223
|
+
},
|
|
6224
|
+
{
|
|
6225
|
+
"name": "fee_share_config",
|
|
6226
|
+
"docs": [
|
|
6227
|
+
"Fee share config account"
|
|
6228
|
+
],
|
|
6229
|
+
"type": "pubkey"
|
|
6230
|
+
},
|
|
6231
|
+
{
|
|
6232
|
+
"name": "fee_share_authority",
|
|
6233
|
+
"docs": [
|
|
6234
|
+
"Fee share authority account"
|
|
6235
|
+
],
|
|
6236
|
+
"type": "pubkey"
|
|
6237
|
+
},
|
|
6238
|
+
{
|
|
6239
|
+
"name": "claimer_index",
|
|
6240
|
+
"docs": [
|
|
6241
|
+
"Index of the claimer within the config's claimers array"
|
|
6242
|
+
],
|
|
6243
|
+
"type": "u32"
|
|
6244
|
+
},
|
|
6245
|
+
{
|
|
6246
|
+
"name": "claimed",
|
|
6247
|
+
"docs": [
|
|
6248
|
+
"Amount transferred to user (quote token units)"
|
|
6249
|
+
],
|
|
6250
|
+
"type": "u64"
|
|
6251
|
+
},
|
|
6252
|
+
{
|
|
6253
|
+
"name": "is_forced",
|
|
6254
|
+
"docs": [
|
|
6255
|
+
"Whether this claim was forced by an admin"
|
|
6256
|
+
],
|
|
6257
|
+
"type": "bool"
|
|
6258
|
+
}
|
|
6259
|
+
]
|
|
6260
|
+
}
|
|
6261
|
+
},
|
|
6262
|
+
{
|
|
6263
|
+
"name": "BagsFeeShareUserClaimV2Event",
|
|
6264
|
+
"type": {
|
|
6265
|
+
"kind": "struct",
|
|
6266
|
+
"fields": [
|
|
6267
|
+
{
|
|
6268
|
+
"name": "timestamp",
|
|
6269
|
+
"docs": [
|
|
6270
|
+
"Unix timestamp (seconds) at emit"
|
|
6271
|
+
],
|
|
6272
|
+
"type": "i64"
|
|
6273
|
+
},
|
|
6274
|
+
{
|
|
6275
|
+
"name": "base_mint",
|
|
6276
|
+
"docs": [
|
|
6277
|
+
"base mint"
|
|
6278
|
+
],
|
|
6279
|
+
"type": "pubkey"
|
|
6280
|
+
},
|
|
6281
|
+
{
|
|
6282
|
+
"name": "quote_mint",
|
|
6283
|
+
"docs": [
|
|
6284
|
+
"quote mint"
|
|
6285
|
+
],
|
|
6286
|
+
"type": "pubkey"
|
|
6287
|
+
},
|
|
6288
|
+
{
|
|
6289
|
+
"name": "user",
|
|
6290
|
+
"docs": [
|
|
6291
|
+
"The user who claimed"
|
|
6292
|
+
],
|
|
6293
|
+
"type": "pubkey"
|
|
6294
|
+
},
|
|
6295
|
+
{
|
|
6296
|
+
"name": "fee_share_config",
|
|
6297
|
+
"docs": [
|
|
6298
|
+
"Fee share config account"
|
|
6299
|
+
],
|
|
6300
|
+
"type": "pubkey"
|
|
6301
|
+
},
|
|
6302
|
+
{
|
|
6303
|
+
"name": "fee_share_authority",
|
|
6304
|
+
"docs": [
|
|
6305
|
+
"Fee share authority account"
|
|
6306
|
+
],
|
|
6307
|
+
"type": "pubkey"
|
|
6308
|
+
},
|
|
6309
|
+
{
|
|
6310
|
+
"name": "claimer_index",
|
|
6311
|
+
"docs": [
|
|
6312
|
+
"Index of the claimer within the config's claimers array"
|
|
6313
|
+
],
|
|
6314
|
+
"type": "u32"
|
|
6315
|
+
},
|
|
6316
|
+
{
|
|
6317
|
+
"name": "claimed",
|
|
6318
|
+
"docs": [
|
|
6319
|
+
"Amount transferred to user (quote token units)"
|
|
6320
|
+
],
|
|
6321
|
+
"type": "u64"
|
|
6322
|
+
},
|
|
6323
|
+
{
|
|
6324
|
+
"name": "force_claim_executor",
|
|
6325
|
+
"docs": [
|
|
6326
|
+
"Who force-executed the claim"
|
|
6327
|
+
],
|
|
6328
|
+
"type": {
|
|
6329
|
+
"option": "pubkey"
|
|
6330
|
+
}
|
|
6331
|
+
},
|
|
6332
|
+
{
|
|
6333
|
+
"name": "force_claim_type",
|
|
6334
|
+
"docs": [
|
|
6335
|
+
"Who forced the claim"
|
|
6336
|
+
],
|
|
6337
|
+
"type": {
|
|
6338
|
+
"option": {
|
|
6339
|
+
"defined": {
|
|
6340
|
+
"name": "ForceClaimType"
|
|
6341
|
+
}
|
|
4311
6342
|
}
|
|
4312
6343
|
}
|
|
4313
6344
|
}
|
|
@@ -4315,7 +6346,7 @@
|
|
|
4315
6346
|
}
|
|
4316
6347
|
},
|
|
4317
6348
|
{
|
|
4318
|
-
"name": "
|
|
6349
|
+
"name": "BagsFeeShareUserVaultClaimEvent",
|
|
4319
6350
|
"type": {
|
|
4320
6351
|
"kind": "struct",
|
|
4321
6352
|
"fields": [
|
|
@@ -4326,61 +6357,33 @@
|
|
|
4326
6357
|
],
|
|
4327
6358
|
"type": "i64"
|
|
4328
6359
|
},
|
|
4329
|
-
{
|
|
4330
|
-
"name": "base_mint",
|
|
4331
|
-
"docs": [
|
|
4332
|
-
"base mint"
|
|
4333
|
-
],
|
|
4334
|
-
"type": "pubkey"
|
|
4335
|
-
},
|
|
4336
|
-
{
|
|
4337
|
-
"name": "quote_mint",
|
|
4338
|
-
"docs": [
|
|
4339
|
-
"quote mint"
|
|
4340
|
-
],
|
|
4341
|
-
"type": "pubkey"
|
|
4342
|
-
},
|
|
4343
6360
|
{
|
|
4344
6361
|
"name": "user",
|
|
4345
6362
|
"docs": [
|
|
4346
|
-
"The user who claimed"
|
|
6363
|
+
"The user who claimed from their vault"
|
|
4347
6364
|
],
|
|
4348
6365
|
"type": "pubkey"
|
|
4349
6366
|
},
|
|
4350
6367
|
{
|
|
4351
|
-
"name": "
|
|
6368
|
+
"name": "base_mint",
|
|
4352
6369
|
"docs": [
|
|
4353
|
-
"
|
|
6370
|
+
"Mint of the base token (identifies the fee config pair)"
|
|
4354
6371
|
],
|
|
4355
6372
|
"type": "pubkey"
|
|
4356
6373
|
},
|
|
4357
6374
|
{
|
|
4358
|
-
"name": "
|
|
6375
|
+
"name": "quote_mint",
|
|
4359
6376
|
"docs": [
|
|
4360
|
-
"
|
|
6377
|
+
"Mint of the quote token (WSOL)"
|
|
4361
6378
|
],
|
|
4362
6379
|
"type": "pubkey"
|
|
4363
6380
|
},
|
|
4364
|
-
{
|
|
4365
|
-
"name": "claimer_index",
|
|
4366
|
-
"docs": [
|
|
4367
|
-
"Index of the claimer within the config's claimers array"
|
|
4368
|
-
],
|
|
4369
|
-
"type": "u32"
|
|
4370
|
-
},
|
|
4371
6381
|
{
|
|
4372
6382
|
"name": "claimed",
|
|
4373
6383
|
"docs": [
|
|
4374
|
-
"Amount
|
|
6384
|
+
"Amount of native SOL delivered to user (WSOL balance + rent from closed ATA)"
|
|
4375
6385
|
],
|
|
4376
6386
|
"type": "u64"
|
|
4377
|
-
},
|
|
4378
|
-
{
|
|
4379
|
-
"name": "is_forced",
|
|
4380
|
-
"docs": [
|
|
4381
|
-
"Whether this claim was forced by an admin"
|
|
4382
|
-
],
|
|
4383
|
-
"type": "bool"
|
|
4384
6387
|
}
|
|
4385
6388
|
]
|
|
4386
6389
|
}
|
|
@@ -4563,6 +6566,113 @@
|
|
|
4563
6566
|
]
|
|
4564
6567
|
}
|
|
4565
6568
|
},
|
|
6569
|
+
{
|
|
6570
|
+
"name": "FeeConfigSnapshotEventV2",
|
|
6571
|
+
"docs": [
|
|
6572
|
+
"V2 snapshot event that includes the `manager` field and reserved padding for future extensibility.",
|
|
6573
|
+
"This event also removed the `partner_bps` field as it is meant to be tracked differently via partner-related events."
|
|
6574
|
+
],
|
|
6575
|
+
"type": {
|
|
6576
|
+
"kind": "struct",
|
|
6577
|
+
"fields": [
|
|
6578
|
+
{
|
|
6579
|
+
"name": "timestamp",
|
|
6580
|
+
"docs": [
|
|
6581
|
+
"Unix timestamp (seconds) at emit"
|
|
6582
|
+
],
|
|
6583
|
+
"type": "i64"
|
|
6584
|
+
},
|
|
6585
|
+
{
|
|
6586
|
+
"name": "admin",
|
|
6587
|
+
"docs": [
|
|
6588
|
+
"Admin or manager that triggered the update"
|
|
6589
|
+
],
|
|
6590
|
+
"type": "pubkey"
|
|
6591
|
+
},
|
|
6592
|
+
{
|
|
6593
|
+
"name": "payer",
|
|
6594
|
+
"docs": [
|
|
6595
|
+
"Payer account"
|
|
6596
|
+
],
|
|
6597
|
+
"type": "pubkey"
|
|
6598
|
+
},
|
|
6599
|
+
{
|
|
6600
|
+
"name": "fee_config",
|
|
6601
|
+
"docs": [
|
|
6602
|
+
"Fee share config account (PDA)"
|
|
6603
|
+
],
|
|
6604
|
+
"type": "pubkey"
|
|
6605
|
+
},
|
|
6606
|
+
{
|
|
6607
|
+
"name": "fee_authority",
|
|
6608
|
+
"docs": [
|
|
6609
|
+
"Fee share authority account (PDA holding ledger and ATAs)"
|
|
6610
|
+
],
|
|
6611
|
+
"type": "pubkey"
|
|
6612
|
+
},
|
|
6613
|
+
{
|
|
6614
|
+
"name": "base_mint",
|
|
6615
|
+
"docs": [
|
|
6616
|
+
"Base mint of the bonding curve token"
|
|
6617
|
+
],
|
|
6618
|
+
"type": "pubkey"
|
|
6619
|
+
},
|
|
6620
|
+
{
|
|
6621
|
+
"name": "quote_mint",
|
|
6622
|
+
"docs": [
|
|
6623
|
+
"Quote mint of the bonding curve token"
|
|
6624
|
+
],
|
|
6625
|
+
"type": "pubkey"
|
|
6626
|
+
},
|
|
6627
|
+
{
|
|
6628
|
+
"name": "partner",
|
|
6629
|
+
"docs": [
|
|
6630
|
+
"Optional partner wallet tied to this config"
|
|
6631
|
+
],
|
|
6632
|
+
"type": {
|
|
6633
|
+
"option": "pubkey"
|
|
6634
|
+
}
|
|
6635
|
+
},
|
|
6636
|
+
{
|
|
6637
|
+
"name": "manager",
|
|
6638
|
+
"docs": [
|
|
6639
|
+
"Manager pubkey"
|
|
6640
|
+
],
|
|
6641
|
+
"type": "pubkey"
|
|
6642
|
+
},
|
|
6643
|
+
{
|
|
6644
|
+
"name": "padding",
|
|
6645
|
+
"docs": [
|
|
6646
|
+
"Reserved for future event fields"
|
|
6647
|
+
],
|
|
6648
|
+
"type": {
|
|
6649
|
+
"array": [
|
|
6650
|
+
"u64",
|
|
6651
|
+
4
|
|
6652
|
+
]
|
|
6653
|
+
}
|
|
6654
|
+
},
|
|
6655
|
+
{
|
|
6656
|
+
"name": "bps",
|
|
6657
|
+
"docs": [
|
|
6658
|
+
"Per-claimer shares in basis points (aligned with `claimers`)"
|
|
6659
|
+
],
|
|
6660
|
+
"type": {
|
|
6661
|
+
"vec": "u16"
|
|
6662
|
+
}
|
|
6663
|
+
},
|
|
6664
|
+
{
|
|
6665
|
+
"name": "claimers",
|
|
6666
|
+
"docs": [
|
|
6667
|
+
"Ordered claimer addresses for this config"
|
|
6668
|
+
],
|
|
6669
|
+
"type": {
|
|
6670
|
+
"vec": "pubkey"
|
|
6671
|
+
}
|
|
6672
|
+
}
|
|
6673
|
+
]
|
|
6674
|
+
}
|
|
6675
|
+
},
|
|
4566
6676
|
{
|
|
4567
6677
|
"name": "FeeConfigUpdatedEvent",
|
|
4568
6678
|
"type": {
|
|
@@ -4792,6 +6902,13 @@
|
|
|
4792
6902
|
],
|
|
4793
6903
|
"type": "pubkey"
|
|
4794
6904
|
},
|
|
6905
|
+
{
|
|
6906
|
+
"name": "manager",
|
|
6907
|
+
"docs": [
|
|
6908
|
+
"Optional manager pubkey (defaults to Pubkey::default() if no manager is set)"
|
|
6909
|
+
],
|
|
6910
|
+
"type": "pubkey"
|
|
6911
|
+
},
|
|
4795
6912
|
{
|
|
4796
6913
|
"name": "padding_0",
|
|
4797
6914
|
"docs": [
|
|
@@ -4800,7 +6917,7 @@
|
|
|
4800
6917
|
"type": {
|
|
4801
6918
|
"array": [
|
|
4802
6919
|
"u64",
|
|
4803
|
-
|
|
6920
|
+
1
|
|
4804
6921
|
]
|
|
4805
6922
|
}
|
|
4806
6923
|
},
|
|
@@ -4905,6 +7022,13 @@
|
|
|
4905
7022
|
],
|
|
4906
7023
|
"type": "pubkey"
|
|
4907
7024
|
},
|
|
7025
|
+
{
|
|
7026
|
+
"name": "manager",
|
|
7027
|
+
"docs": [
|
|
7028
|
+
"Optional manager pubkey (defaults to Pubkey::default() if no manager is set)"
|
|
7029
|
+
],
|
|
7030
|
+
"type": "pubkey"
|
|
7031
|
+
},
|
|
4908
7032
|
{
|
|
4909
7033
|
"name": "padding_0",
|
|
4910
7034
|
"docs": [
|
|
@@ -4913,7 +7037,7 @@
|
|
|
4913
7037
|
"type": {
|
|
4914
7038
|
"array": [
|
|
4915
7039
|
"u64",
|
|
4916
|
-
|
|
7040
|
+
1
|
|
4917
7041
|
]
|
|
4918
7042
|
}
|
|
4919
7043
|
},
|
|
@@ -4954,6 +7078,23 @@
|
|
|
4954
7078
|
]
|
|
4955
7079
|
}
|
|
4956
7080
|
},
|
|
7081
|
+
{
|
|
7082
|
+
"name": "ForceClaimType",
|
|
7083
|
+
"type": {
|
|
7084
|
+
"kind": "enum",
|
|
7085
|
+
"variants": [
|
|
7086
|
+
{
|
|
7087
|
+
"name": "Unknown"
|
|
7088
|
+
},
|
|
7089
|
+
{
|
|
7090
|
+
"name": "Admin"
|
|
7091
|
+
},
|
|
7092
|
+
{
|
|
7093
|
+
"name": "Manager"
|
|
7094
|
+
}
|
|
7095
|
+
]
|
|
7096
|
+
}
|
|
7097
|
+
},
|
|
4957
7098
|
{
|
|
4958
7099
|
"name": "ForceClaimUserParameters",
|
|
4959
7100
|
"type": {
|
|
@@ -4969,6 +7110,70 @@
|
|
|
4969
7110
|
]
|
|
4970
7111
|
}
|
|
4971
7112
|
},
|
|
7113
|
+
{
|
|
7114
|
+
"name": "ForceClaimUserToVaultParameters",
|
|
7115
|
+
"type": {
|
|
7116
|
+
"kind": "struct",
|
|
7117
|
+
"fields": [
|
|
7118
|
+
{
|
|
7119
|
+
"name": "claimer_index",
|
|
7120
|
+
"type": "u32"
|
|
7121
|
+
}
|
|
7122
|
+
]
|
|
7123
|
+
}
|
|
7124
|
+
},
|
|
7125
|
+
{
|
|
7126
|
+
"name": "ForceSolClaimUserParameters",
|
|
7127
|
+
"type": {
|
|
7128
|
+
"kind": "struct",
|
|
7129
|
+
"fields": [
|
|
7130
|
+
{
|
|
7131
|
+
"name": "claimer_index",
|
|
7132
|
+
"docs": [
|
|
7133
|
+
"Index of claimer in the config claimers array"
|
|
7134
|
+
],
|
|
7135
|
+
"type": "u32"
|
|
7136
|
+
}
|
|
7137
|
+
]
|
|
7138
|
+
}
|
|
7139
|
+
},
|
|
7140
|
+
{
|
|
7141
|
+
"name": "ManagerUpdateFeeConfigParameters",
|
|
7142
|
+
"type": {
|
|
7143
|
+
"kind": "struct",
|
|
7144
|
+
"fields": [
|
|
7145
|
+
{
|
|
7146
|
+
"name": "bps",
|
|
7147
|
+
"type": {
|
|
7148
|
+
"vec": "u16"
|
|
7149
|
+
}
|
|
7150
|
+
},
|
|
7151
|
+
{
|
|
7152
|
+
"name": "finalize_update",
|
|
7153
|
+
"docs": [
|
|
7154
|
+
"Whether the update is finalized.",
|
|
7155
|
+
"`true`: this is the final ix and wont be able to further update later",
|
|
7156
|
+
"`false`: this is not the final ix and can be updated again later"
|
|
7157
|
+
],
|
|
7158
|
+
"type": "bool"
|
|
7159
|
+
},
|
|
7160
|
+
{
|
|
7161
|
+
"name": "from_idx",
|
|
7162
|
+
"docs": [
|
|
7163
|
+
"The index of the claimer to update from"
|
|
7164
|
+
],
|
|
7165
|
+
"type": "u8"
|
|
7166
|
+
},
|
|
7167
|
+
{
|
|
7168
|
+
"name": "to_idx",
|
|
7169
|
+
"docs": [
|
|
7170
|
+
"The index of the claimer to update to"
|
|
7171
|
+
],
|
|
7172
|
+
"type": "u8"
|
|
7173
|
+
}
|
|
7174
|
+
]
|
|
7175
|
+
}
|
|
7176
|
+
},
|
|
4972
7177
|
{
|
|
4973
7178
|
"name": "PartnerAccumulatedEvent",
|
|
4974
7179
|
"type": {
|
|
@@ -5743,6 +7948,42 @@
|
|
|
5743
7948
|
}
|
|
5744
7949
|
]
|
|
5745
7950
|
}
|
|
7951
|
+
},
|
|
7952
|
+
{
|
|
7953
|
+
"name": "UserFeeVault",
|
|
7954
|
+
"type": {
|
|
7955
|
+
"kind": "struct",
|
|
7956
|
+
"fields": [
|
|
7957
|
+
{
|
|
7958
|
+
"name": "user",
|
|
7959
|
+
"docs": [
|
|
7960
|
+
"The user (claimer) this vault belongs to"
|
|
7961
|
+
],
|
|
7962
|
+
"type": "pubkey"
|
|
7963
|
+
},
|
|
7964
|
+
{
|
|
7965
|
+
"name": "base_mint",
|
|
7966
|
+
"docs": [
|
|
7967
|
+
"Base mint of the fee share config"
|
|
7968
|
+
],
|
|
7969
|
+
"type": "pubkey"
|
|
7970
|
+
},
|
|
7971
|
+
{
|
|
7972
|
+
"name": "quote_mint",
|
|
7973
|
+
"docs": [
|
|
7974
|
+
"Quote mint (WSOL)"
|
|
7975
|
+
],
|
|
7976
|
+
"type": "pubkey"
|
|
7977
|
+
},
|
|
7978
|
+
{
|
|
7979
|
+
"name": "bump",
|
|
7980
|
+
"docs": [
|
|
7981
|
+
"PDA bump seed"
|
|
7982
|
+
],
|
|
7983
|
+
"type": "u8"
|
|
7984
|
+
}
|
|
7985
|
+
]
|
|
7986
|
+
}
|
|
5746
7987
|
}
|
|
5747
7988
|
]
|
|
5748
7989
|
}
|