@bagsfm/bags-sdk 1.2.8 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -1
- package/dist/constants.js.map +1 -1
- package/dist/idl/fee-share-v2/idl.d.ts +1851 -178
- package/dist/idl/fee-share-v2/idl.d.ts.map +1 -1
- package/dist/idl/fee-share-v2/idl.json +1855 -182
- package/dist/services/config.d.ts +1 -1
- package/dist/services/config.d.ts.map +1 -1
- package/dist/services/config.js +2 -2
- package/dist/services/config.js.map +1 -1
- package/dist/services/fee-share-admin.d.ts +22 -0
- package/dist/services/fee-share-admin.d.ts.map +1 -0
- package/dist/services/fee-share-admin.js +61 -0
- package/dist/services/fee-share-admin.js.map +1 -0
- package/dist/services/state.d.ts +2 -1
- package/dist/services/state.d.ts.map +1 -1
- package/dist/services/state.js +4 -0
- package/dist/services/state.js.map +1 -1
- package/dist/types/api.d.ts +110 -1
- package/dist/types/api.d.ts.map +1 -1
- package/dist/types/token-launch.d.ts +1 -0
- package/dist/types/token-launch.d.ts.map +1 -1
- package/dist/utils/validations.d.ts.map +1 -1
- package/dist/utils/validations.js +1 -0
- package/dist/utils/validations.js.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": [
|
|
@@ -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,33 +3201,41 @@
|
|
|
3036
3201
|
]
|
|
3037
3202
|
},
|
|
3038
3203
|
{
|
|
3039
|
-
"name": "
|
|
3204
|
+
"name": "force_claim_user_to_vault",
|
|
3040
3205
|
"docs": [
|
|
3041
|
-
"Force claim user fees
|
|
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
|
-
"name": "
|
|
3221
|
+
"name": "payer",
|
|
3056
3222
|
"docs": [
|
|
3057
|
-
"
|
|
3223
|
+
"Payer funding vault account and ATA initialization"
|
|
3058
3224
|
],
|
|
3059
3225
|
"writable": true,
|
|
3060
3226
|
"signer": true
|
|
3061
3227
|
},
|
|
3228
|
+
{
|
|
3229
|
+
"name": "authority",
|
|
3230
|
+
"docs": [
|
|
3231
|
+
"Admin or manager signer authorizing the force claim to vault"
|
|
3232
|
+
],
|
|
3233
|
+
"signer": true
|
|
3234
|
+
},
|
|
3062
3235
|
{
|
|
3063
3236
|
"name": "program_config",
|
|
3064
3237
|
"docs": [
|
|
3065
|
-
"Singleton program config PDA (holds admin pubkey)"
|
|
3238
|
+
"Singleton program config PDA (holds admin pubkey for auth check)"
|
|
3066
3239
|
],
|
|
3067
3240
|
"pda": {
|
|
3068
3241
|
"seeds": [
|
|
@@ -3091,9 +3264,8 @@
|
|
|
3091
3264
|
{
|
|
3092
3265
|
"name": "user",
|
|
3093
3266
|
"docs": [
|
|
3094
|
-
"Claimer user (no signature required)
|
|
3095
|
-
]
|
|
3096
|
-
"writable": true
|
|
3267
|
+
"Claimer user (no signature required)"
|
|
3268
|
+
]
|
|
3097
3269
|
},
|
|
3098
3270
|
{
|
|
3099
3271
|
"name": "fee_share_config",
|
|
@@ -3238,11 +3410,10 @@
|
|
|
3238
3410
|
}
|
|
3239
3411
|
},
|
|
3240
3412
|
{
|
|
3241
|
-
"name": "
|
|
3413
|
+
"name": "user_fee_vault",
|
|
3242
3414
|
"docs": [
|
|
3243
|
-
"
|
|
3244
|
-
"
|
|
3245
|
-
"sent to `user` as native SOL when the account is closed."
|
|
3415
|
+
"Vault PDA — authority for the vault ATA; stores seed components for GPA discoverability.",
|
|
3416
|
+
"Initialized on first force-claim; subsequent calls skip init."
|
|
3246
3417
|
],
|
|
3247
3418
|
"writable": true,
|
|
3248
3419
|
"pda": {
|
|
@@ -3250,24 +3421,20 @@
|
|
|
3250
3421
|
{
|
|
3251
3422
|
"kind": "const",
|
|
3252
3423
|
"value": [
|
|
3253
|
-
|
|
3254
|
-
|
|
3424
|
+
117,
|
|
3425
|
+
115,
|
|
3426
|
+
101,
|
|
3255
3427
|
114,
|
|
3256
|
-
|
|
3428
|
+
95,
|
|
3429
|
+
102,
|
|
3430
|
+
101,
|
|
3257
3431
|
101,
|
|
3258
3432
|
95,
|
|
3259
|
-
|
|
3260
|
-
108,
|
|
3433
|
+
118,
|
|
3261
3434
|
97,
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
101,
|
|
3266
|
-
115,
|
|
3267
|
-
99,
|
|
3268
|
-
114,
|
|
3269
|
-
111,
|
|
3270
|
-
119
|
|
3435
|
+
117,
|
|
3436
|
+
108,
|
|
3437
|
+
116
|
|
3271
3438
|
]
|
|
3272
3439
|
},
|
|
3273
3440
|
{
|
|
@@ -3286,35 +3453,931 @@
|
|
|
3286
3453
|
}
|
|
3287
3454
|
},
|
|
3288
3455
|
{
|
|
3289
|
-
"name": "
|
|
3290
|
-
"docs": [
|
|
3291
|
-
"Base token mint (seed)"
|
|
3292
|
-
]
|
|
3293
|
-
},
|
|
3294
|
-
{
|
|
3295
|
-
"name": "quote_mint",
|
|
3296
|
-
"docs": [
|
|
3297
|
-
"Quote mint (WSOL; seed)"
|
|
3298
|
-
],
|
|
3299
|
-
"address": "So11111111111111111111111111111111111111112"
|
|
3300
|
-
},
|
|
3301
|
-
{
|
|
3302
|
-
"name": "system_program",
|
|
3456
|
+
"name": "user_vault_quote_ata",
|
|
3303
3457
|
"docs": [
|
|
3304
|
-
"
|
|
3458
|
+
"Vault's WSOL ATA (destination; init-if-needed, authority = user_fee_vault PDA)"
|
|
3305
3459
|
],
|
|
3306
|
-
"
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
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,
|
|
3503
|
+
4,
|
|
3504
|
+
142,
|
|
3505
|
+
123,
|
|
3506
|
+
216,
|
|
3507
|
+
219,
|
|
3508
|
+
233,
|
|
3509
|
+
248,
|
|
3510
|
+
89
|
|
3511
|
+
]
|
|
3512
|
+
}
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"name": "base_mint"
|
|
3517
|
+
},
|
|
3518
|
+
{
|
|
3519
|
+
"name": "quote_mint",
|
|
3520
|
+
"docs": [
|
|
3521
|
+
"Quote mint (WSOL)"
|
|
3522
|
+
],
|
|
3523
|
+
"address": "So11111111111111111111111111111111111111112"
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"name": "system_program",
|
|
3527
|
+
"docs": [
|
|
3528
|
+
"Programs"
|
|
3529
|
+
],
|
|
3530
|
+
"address": "11111111111111111111111111111111"
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
"name": "token_program",
|
|
3534
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
3535
|
+
},
|
|
3536
|
+
{
|
|
3537
|
+
"name": "associated_token_program",
|
|
3538
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
3539
|
+
},
|
|
3540
|
+
{
|
|
3541
|
+
"name": "event_authority",
|
|
3542
|
+
"pda": {
|
|
3543
|
+
"seeds": [
|
|
3544
|
+
{
|
|
3545
|
+
"kind": "const",
|
|
3546
|
+
"value": [
|
|
3547
|
+
95,
|
|
3548
|
+
95,
|
|
3549
|
+
101,
|
|
3550
|
+
118,
|
|
3551
|
+
101,
|
|
3552
|
+
110,
|
|
3553
|
+
116,
|
|
3554
|
+
95,
|
|
3555
|
+
97,
|
|
3556
|
+
117,
|
|
3557
|
+
116,
|
|
3558
|
+
104,
|
|
3559
|
+
111,
|
|
3560
|
+
114,
|
|
3561
|
+
105,
|
|
3562
|
+
116,
|
|
3563
|
+
121
|
|
3564
|
+
]
|
|
3565
|
+
}
|
|
3566
|
+
]
|
|
3567
|
+
}
|
|
3568
|
+
},
|
|
3569
|
+
{
|
|
3570
|
+
"name": "program"
|
|
3571
|
+
}
|
|
3572
|
+
],
|
|
3573
|
+
"args": [
|
|
3574
|
+
{
|
|
3575
|
+
"name": "params",
|
|
3576
|
+
"type": {
|
|
3577
|
+
"defined": {
|
|
3578
|
+
"name": "ForceClaimUserToVaultParameters"
|
|
3579
|
+
}
|
|
3580
|
+
}
|
|
3581
|
+
}
|
|
3582
|
+
]
|
|
3583
|
+
},
|
|
3584
|
+
{
|
|
3585
|
+
"name": "force_sol_claim_user",
|
|
3586
|
+
"docs": [
|
|
3587
|
+
"Force claim user fees as native SOL (admin only); unwraps WSOL and sends SOL to user"
|
|
3588
|
+
],
|
|
3589
|
+
"discriminator": [
|
|
3590
|
+
78,
|
|
3591
|
+
63,
|
|
3592
|
+
180,
|
|
3593
|
+
4,
|
|
3594
|
+
151,
|
|
3595
|
+
16,
|
|
3596
|
+
107,
|
|
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",
|
|
3318
4381
|
"pda": {
|
|
3319
4382
|
"seeds": [
|
|
3320
4383
|
{
|
|
@@ -3351,49 +4414,207 @@
|
|
|
3351
4414
|
"name": "params",
|
|
3352
4415
|
"type": {
|
|
3353
4416
|
"defined": {
|
|
3354
|
-
"name": "
|
|
4417
|
+
"name": "ManagerUpdateFeeConfigParameters"
|
|
3355
4418
|
}
|
|
3356
4419
|
}
|
|
3357
4420
|
}
|
|
3358
4421
|
]
|
|
3359
4422
|
},
|
|
3360
4423
|
{
|
|
3361
|
-
"name": "
|
|
4424
|
+
"name": "manager_waive_fee_config",
|
|
3362
4425
|
"docs": [
|
|
3363
|
-
"
|
|
4426
|
+
"Manager waives their managerial position (sets manager to Pubkey::default)"
|
|
3364
4427
|
],
|
|
3365
4428
|
"discriminator": [
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
4429
|
+
105,
|
|
4430
|
+
51,
|
|
4431
|
+
140,
|
|
4432
|
+
114,
|
|
4433
|
+
254,
|
|
4434
|
+
160,
|
|
4435
|
+
173,
|
|
4436
|
+
172
|
|
3374
4437
|
],
|
|
3375
4438
|
"accounts": [
|
|
3376
4439
|
{
|
|
3377
4440
|
"name": "payer",
|
|
3378
4441
|
"docs": [
|
|
3379
|
-
"Payer funding the
|
|
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"
|
|
3380
4451
|
],
|
|
3381
4452
|
"writable": true,
|
|
3382
4453
|
"signer": true
|
|
3383
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": [
|
|
3384
4605
|
{
|
|
3385
4606
|
"name": "admin",
|
|
3386
4607
|
"docs": [
|
|
3387
|
-
"
|
|
4608
|
+
"Admin signer authorizing the update"
|
|
3388
4609
|
],
|
|
4610
|
+
"writable": true,
|
|
3389
4611
|
"signer": true
|
|
3390
4612
|
},
|
|
3391
4613
|
{
|
|
3392
4614
|
"name": "program_config",
|
|
3393
4615
|
"docs": [
|
|
3394
|
-
"
|
|
4616
|
+
"Singleton program config PDA (holds admin pubkey)"
|
|
3395
4617
|
],
|
|
3396
|
-
"writable": true,
|
|
3397
4618
|
"pda": {
|
|
3398
4619
|
"seeds": [
|
|
3399
4620
|
{
|
|
@@ -3419,84 +4640,105 @@
|
|
|
3419
4640
|
}
|
|
3420
4641
|
},
|
|
3421
4642
|
{
|
|
3422
|
-
"name": "
|
|
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",
|
|
3423
4684
|
"docs": [
|
|
3424
|
-
"
|
|
4685
|
+
"Fee ledger (PDA) whose fees array may be reallocated/reordered"
|
|
3425
4686
|
],
|
|
3426
4687
|
"writable": true,
|
|
3427
4688
|
"pda": {
|
|
3428
4689
|
"seeds": [
|
|
3429
4690
|
{
|
|
3430
|
-
"kind": "
|
|
3431
|
-
"
|
|
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
|
+
]
|
|
3432
4713
|
},
|
|
3433
4714
|
{
|
|
3434
4715
|
"kind": "account",
|
|
3435
|
-
"path": "
|
|
4716
|
+
"path": "base_mint"
|
|
3436
4717
|
},
|
|
3437
4718
|
{
|
|
3438
4719
|
"kind": "account",
|
|
3439
4720
|
"path": "quote_mint"
|
|
3440
4721
|
}
|
|
3441
|
-
]
|
|
3442
|
-
"program": {
|
|
3443
|
-
"kind": "const",
|
|
3444
|
-
"value": [
|
|
3445
|
-
140,
|
|
3446
|
-
151,
|
|
3447
|
-
37,
|
|
3448
|
-
143,
|
|
3449
|
-
78,
|
|
3450
|
-
36,
|
|
3451
|
-
137,
|
|
3452
|
-
241,
|
|
3453
|
-
187,
|
|
3454
|
-
61,
|
|
3455
|
-
16,
|
|
3456
|
-
41,
|
|
3457
|
-
20,
|
|
3458
|
-
142,
|
|
3459
|
-
13,
|
|
3460
|
-
131,
|
|
3461
|
-
11,
|
|
3462
|
-
90,
|
|
3463
|
-
19,
|
|
3464
|
-
153,
|
|
3465
|
-
218,
|
|
3466
|
-
255,
|
|
3467
|
-
16,
|
|
3468
|
-
132,
|
|
3469
|
-
4,
|
|
3470
|
-
142,
|
|
3471
|
-
123,
|
|
3472
|
-
216,
|
|
3473
|
-
219,
|
|
3474
|
-
233,
|
|
3475
|
-
248,
|
|
3476
|
-
89
|
|
3477
|
-
]
|
|
3478
|
-
}
|
|
4722
|
+
]
|
|
3479
4723
|
}
|
|
3480
4724
|
},
|
|
4725
|
+
{
|
|
4726
|
+
"name": "base_mint"
|
|
4727
|
+
},
|
|
3481
4728
|
{
|
|
3482
4729
|
"name": "quote_mint",
|
|
3483
4730
|
"docs": [
|
|
3484
|
-
"Quote mint (WSOL)"
|
|
4731
|
+
"Quote mint (WSOL; seed for PDAs)"
|
|
3485
4732
|
],
|
|
3486
4733
|
"address": "So11111111111111111111111111111111111111112"
|
|
3487
4734
|
},
|
|
3488
4735
|
{
|
|
3489
4736
|
"name": "system_program",
|
|
4737
|
+
"docs": [
|
|
4738
|
+
"System program (realloc/rent)"
|
|
4739
|
+
],
|
|
3490
4740
|
"address": "11111111111111111111111111111111"
|
|
3491
4741
|
},
|
|
3492
|
-
{
|
|
3493
|
-
"name": "token_program",
|
|
3494
|
-
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
3495
|
-
},
|
|
3496
|
-
{
|
|
3497
|
-
"name": "associated_token_program",
|
|
3498
|
-
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
3499
|
-
},
|
|
3500
4742
|
{
|
|
3501
4743
|
"name": "event_authority",
|
|
3502
4744
|
"pda": {
|
|
@@ -3530,24 +4772,41 @@
|
|
|
3530
4772
|
"name": "program"
|
|
3531
4773
|
}
|
|
3532
4774
|
],
|
|
3533
|
-
"args": [
|
|
4775
|
+
"args": [
|
|
4776
|
+
{
|
|
4777
|
+
"name": "params",
|
|
4778
|
+
"type": {
|
|
4779
|
+
"defined": {
|
|
4780
|
+
"name": "UpdateFeeConfigParameters"
|
|
4781
|
+
}
|
|
4782
|
+
}
|
|
4783
|
+
}
|
|
4784
|
+
]
|
|
3534
4785
|
},
|
|
3535
4786
|
{
|
|
3536
|
-
"name": "
|
|
4787
|
+
"name": "update_fee_config_manager",
|
|
3537
4788
|
"docs": [
|
|
3538
|
-
"Update
|
|
4789
|
+
"Update the manager on an existing fee config"
|
|
3539
4790
|
],
|
|
3540
4791
|
"discriminator": [
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
4792
|
+
196,
|
|
4793
|
+
8,
|
|
4794
|
+
168,
|
|
4795
|
+
199,
|
|
4796
|
+
166,
|
|
4797
|
+
4,
|
|
4798
|
+
77,
|
|
4799
|
+
212
|
|
3549
4800
|
],
|
|
3550
4801
|
"accounts": [
|
|
4802
|
+
{
|
|
4803
|
+
"name": "payer",
|
|
4804
|
+
"docs": [
|
|
4805
|
+
"Payer funding the update"
|
|
4806
|
+
],
|
|
4807
|
+
"writable": true,
|
|
4808
|
+
"signer": true
|
|
4809
|
+
},
|
|
3551
4810
|
{
|
|
3552
4811
|
"name": "admin",
|
|
3553
4812
|
"docs": [
|
|
@@ -3588,7 +4847,7 @@
|
|
|
3588
4847
|
{
|
|
3589
4848
|
"name": "fee_share_config",
|
|
3590
4849
|
"docs": [
|
|
3591
|
-
"Fee share config (PDA) whose
|
|
4850
|
+
"Fee share config (PDA) whose manager is being updated"
|
|
3592
4851
|
],
|
|
3593
4852
|
"writable": true,
|
|
3594
4853
|
"pda": {
|
|
@@ -3628,9 +4887,8 @@
|
|
|
3628
4887
|
{
|
|
3629
4888
|
"name": "fee_share_authority",
|
|
3630
4889
|
"docs": [
|
|
3631
|
-
"Fee
|
|
4890
|
+
"Fee share authority (PDA) - needed for event emission and validation"
|
|
3632
4891
|
],
|
|
3633
|
-
"writable": true,
|
|
3634
4892
|
"pda": {
|
|
3635
4893
|
"seeds": [
|
|
3636
4894
|
{
|
|
@@ -3669,11 +4927,14 @@
|
|
|
3669
4927
|
}
|
|
3670
4928
|
},
|
|
3671
4929
|
{
|
|
3672
|
-
"name": "
|
|
4930
|
+
"name": "new_manager",
|
|
3673
4931
|
"docs": [
|
|
3674
|
-
"
|
|
4932
|
+
"New manager wallet."
|
|
3675
4933
|
]
|
|
3676
4934
|
},
|
|
4935
|
+
{
|
|
4936
|
+
"name": "base_mint"
|
|
4937
|
+
},
|
|
3677
4938
|
{
|
|
3678
4939
|
"name": "quote_mint",
|
|
3679
4940
|
"docs": [
|
|
@@ -3684,7 +4945,7 @@
|
|
|
3684
4945
|
{
|
|
3685
4946
|
"name": "system_program",
|
|
3686
4947
|
"docs": [
|
|
3687
|
-
"System program
|
|
4948
|
+
"System program"
|
|
3688
4949
|
],
|
|
3689
4950
|
"address": "11111111111111111111111111111111"
|
|
3690
4951
|
},
|
|
@@ -3721,16 +4982,7 @@
|
|
|
3721
4982
|
"name": "program"
|
|
3722
4983
|
}
|
|
3723
4984
|
],
|
|
3724
|
-
"args": [
|
|
3725
|
-
{
|
|
3726
|
-
"name": "params",
|
|
3727
|
-
"type": {
|
|
3728
|
-
"defined": {
|
|
3729
|
-
"name": "UpdateFeeConfigParameters"
|
|
3730
|
-
}
|
|
3731
|
-
}
|
|
3732
|
-
}
|
|
3733
|
-
]
|
|
4985
|
+
"args": []
|
|
3734
4986
|
},
|
|
3735
4987
|
{
|
|
3736
4988
|
"name": "update_fee_config_partner",
|
|
@@ -3868,10 +5120,7 @@
|
|
|
3868
5120
|
}
|
|
3869
5121
|
},
|
|
3870
5122
|
{
|
|
3871
|
-
"name": "base_mint"
|
|
3872
|
-
"docs": [
|
|
3873
|
-
"Base mint (seed for PDAs)"
|
|
3874
|
-
]
|
|
5123
|
+
"name": "base_mint"
|
|
3875
5124
|
},
|
|
3876
5125
|
{
|
|
3877
5126
|
"name": "quote_mint",
|
|
@@ -4404,6 +5653,19 @@
|
|
|
4404
5653
|
140,
|
|
4405
5654
|
63
|
|
4406
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
|
+
]
|
|
4407
5669
|
}
|
|
4408
5670
|
],
|
|
4409
5671
|
"events": [
|
|
@@ -4446,6 +5708,32 @@
|
|
|
4446
5708
|
101
|
|
4447
5709
|
]
|
|
4448
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
|
+
},
|
|
4449
5737
|
{
|
|
4450
5738
|
"name": "FeeConfigSnapshotEvent",
|
|
4451
5739
|
"discriminator": [
|
|
@@ -4459,6 +5747,19 @@
|
|
|
4459
5747
|
193
|
|
4460
5748
|
]
|
|
4461
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
|
+
},
|
|
4462
5763
|
{
|
|
4463
5764
|
"name": "FeeConfigUpdatedEvent",
|
|
4464
5765
|
"discriminator": [
|
|
@@ -4735,6 +6036,26 @@
|
|
|
4735
6036
|
"code": 6028,
|
|
4736
6037
|
"name": "UpdatePartnerConfigDeprecated",
|
|
4737
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"
|
|
4738
6059
|
}
|
|
4739
6060
|
],
|
|
4740
6061
|
"types": [
|
|
@@ -4868,7 +6189,78 @@
|
|
|
4868
6189
|
}
|
|
4869
6190
|
},
|
|
4870
6191
|
{
|
|
4871
|
-
"name": "BagsFeeShareUserClaimEvent",
|
|
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",
|
|
4872
6264
|
"type": {
|
|
4873
6265
|
"kind": "struct",
|
|
4874
6266
|
"fields": [
|
|
@@ -4929,11 +6321,69 @@
|
|
|
4929
6321
|
"type": "u64"
|
|
4930
6322
|
},
|
|
4931
6323
|
{
|
|
4932
|
-
"name": "
|
|
6324
|
+
"name": "force_claim_executor",
|
|
4933
6325
|
"docs": [
|
|
4934
|
-
"
|
|
6326
|
+
"Who force-executed the claim"
|
|
4935
6327
|
],
|
|
4936
|
-
"type":
|
|
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
|
+
}
|
|
6342
|
+
}
|
|
6343
|
+
}
|
|
6344
|
+
}
|
|
6345
|
+
]
|
|
6346
|
+
}
|
|
6347
|
+
},
|
|
6348
|
+
{
|
|
6349
|
+
"name": "BagsFeeShareUserVaultClaimEvent",
|
|
6350
|
+
"type": {
|
|
6351
|
+
"kind": "struct",
|
|
6352
|
+
"fields": [
|
|
6353
|
+
{
|
|
6354
|
+
"name": "timestamp",
|
|
6355
|
+
"docs": [
|
|
6356
|
+
"Unix timestamp (seconds) at emit"
|
|
6357
|
+
],
|
|
6358
|
+
"type": "i64"
|
|
6359
|
+
},
|
|
6360
|
+
{
|
|
6361
|
+
"name": "user",
|
|
6362
|
+
"docs": [
|
|
6363
|
+
"The user who claimed from their vault"
|
|
6364
|
+
],
|
|
6365
|
+
"type": "pubkey"
|
|
6366
|
+
},
|
|
6367
|
+
{
|
|
6368
|
+
"name": "base_mint",
|
|
6369
|
+
"docs": [
|
|
6370
|
+
"Mint of the base token (identifies the fee config pair)"
|
|
6371
|
+
],
|
|
6372
|
+
"type": "pubkey"
|
|
6373
|
+
},
|
|
6374
|
+
{
|
|
6375
|
+
"name": "quote_mint",
|
|
6376
|
+
"docs": [
|
|
6377
|
+
"Mint of the quote token (WSOL)"
|
|
6378
|
+
],
|
|
6379
|
+
"type": "pubkey"
|
|
6380
|
+
},
|
|
6381
|
+
{
|
|
6382
|
+
"name": "claimed",
|
|
6383
|
+
"docs": [
|
|
6384
|
+
"Amount of native SOL delivered to user (WSOL balance + rent from closed ATA)"
|
|
6385
|
+
],
|
|
6386
|
+
"type": "u64"
|
|
4937
6387
|
}
|
|
4938
6388
|
]
|
|
4939
6389
|
}
|
|
@@ -5116,6 +6566,113 @@
|
|
|
5116
6566
|
]
|
|
5117
6567
|
}
|
|
5118
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
|
+
},
|
|
5119
6676
|
{
|
|
5120
6677
|
"name": "FeeConfigUpdatedEvent",
|
|
5121
6678
|
"type": {
|
|
@@ -5345,6 +6902,13 @@
|
|
|
5345
6902
|
],
|
|
5346
6903
|
"type": "pubkey"
|
|
5347
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
|
+
},
|
|
5348
6912
|
{
|
|
5349
6913
|
"name": "padding_0",
|
|
5350
6914
|
"docs": [
|
|
@@ -5353,7 +6917,7 @@
|
|
|
5353
6917
|
"type": {
|
|
5354
6918
|
"array": [
|
|
5355
6919
|
"u64",
|
|
5356
|
-
|
|
6920
|
+
1
|
|
5357
6921
|
]
|
|
5358
6922
|
}
|
|
5359
6923
|
},
|
|
@@ -5458,6 +7022,13 @@
|
|
|
5458
7022
|
],
|
|
5459
7023
|
"type": "pubkey"
|
|
5460
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
|
+
},
|
|
5461
7032
|
{
|
|
5462
7033
|
"name": "padding_0",
|
|
5463
7034
|
"docs": [
|
|
@@ -5466,7 +7037,7 @@
|
|
|
5466
7037
|
"type": {
|
|
5467
7038
|
"array": [
|
|
5468
7039
|
"u64",
|
|
5469
|
-
|
|
7040
|
+
1
|
|
5470
7041
|
]
|
|
5471
7042
|
}
|
|
5472
7043
|
},
|
|
@@ -5507,6 +7078,23 @@
|
|
|
5507
7078
|
]
|
|
5508
7079
|
}
|
|
5509
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
|
+
},
|
|
5510
7098
|
{
|
|
5511
7099
|
"name": "ForceClaimUserParameters",
|
|
5512
7100
|
"type": {
|
|
@@ -5522,6 +7110,18 @@
|
|
|
5522
7110
|
]
|
|
5523
7111
|
}
|
|
5524
7112
|
},
|
|
7113
|
+
{
|
|
7114
|
+
"name": "ForceClaimUserToVaultParameters",
|
|
7115
|
+
"type": {
|
|
7116
|
+
"kind": "struct",
|
|
7117
|
+
"fields": [
|
|
7118
|
+
{
|
|
7119
|
+
"name": "claimer_index",
|
|
7120
|
+
"type": "u32"
|
|
7121
|
+
}
|
|
7122
|
+
]
|
|
7123
|
+
}
|
|
7124
|
+
},
|
|
5525
7125
|
{
|
|
5526
7126
|
"name": "ForceSolClaimUserParameters",
|
|
5527
7127
|
"type": {
|
|
@@ -5537,6 +7137,43 @@
|
|
|
5537
7137
|
]
|
|
5538
7138
|
}
|
|
5539
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
|
+
},
|
|
5540
7177
|
{
|
|
5541
7178
|
"name": "PartnerAccumulatedEvent",
|
|
5542
7179
|
"type": {
|
|
@@ -6311,6 +7948,42 @@
|
|
|
6311
7948
|
}
|
|
6312
7949
|
]
|
|
6313
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
|
+
}
|
|
6314
7987
|
}
|
|
6315
7988
|
]
|
|
6316
7989
|
}
|