@metadaoproject/futarchy 0.6.0-aplha.8 → 0.7.0-alpha.1
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/v0.5/SharedLiquidityManagerClient.js.map +1 -1
- package/dist/v0.6/FutarchyClient.d.ts +90 -1
- package/dist/v0.6/FutarchyClient.js +23 -2
- package/dist/v0.6/FutarchyClient.js.map +1 -1
- package/dist/v0.6/LaunchpadClient.d.ts +82 -23
- package/dist/v0.6/LaunchpadClient.js +77 -20
- package/dist/v0.6/LaunchpadClient.js.map +1 -1
- package/dist/v0.6/{PriceBasedUnlockClient.d.ts → PriceBasedPerformancePackageClient.d.ts} +65 -79
- package/dist/v0.6/PriceBasedPerformancePackageClient.js +116 -0
- package/dist/v0.6/PriceBasedPerformancePackageClient.js.map +1 -0
- package/dist/v0.6/constants.d.ts +3 -1
- package/dist/v0.6/constants.js +4 -2
- package/dist/v0.6/constants.js.map +1 -1
- package/dist/v0.6/index.d.ts +1 -1
- package/dist/v0.6/index.js +1 -1
- package/dist/v0.6/index.js.map +1 -1
- package/dist/v0.6/types/futarchy.d.ts +153 -1
- package/dist/v0.6/types/futarchy.js +153 -1
- package/dist/v0.6/types/futarchy.js.map +1 -1
- package/dist/v0.6/types/index.d.ts +26 -8
- package/dist/v0.6/types/index.js +4 -4
- package/dist/v0.6/types/index.js.map +1 -1
- package/dist/v0.6/types/launchpad.d.ts +191 -42
- package/dist/v0.6/types/launchpad.js +191 -42
- package/dist/v0.6/types/launchpad.js.map +1 -1
- package/dist/v0.6/types/{price_based_unlock.d.ts → price_based_performance_package.d.ts} +209 -155
- package/dist/v0.6/types/{price_based_unlock.js → price_based_performance_package.js} +207 -153
- package/dist/v0.6/types/price_based_performance_package.js.map +1 -0
- package/dist/v0.6/utils/pda.d.ts +11 -0
- package/dist/v0.6/utils/pda.js +15 -1
- package/dist/v0.6/utils/pda.js.map +1 -1
- package/dist/v0.7/ConditionalVaultClient.d.ts +314 -0
- package/dist/v0.7/ConditionalVaultClient.js +209 -0
- package/dist/v0.7/ConditionalVaultClient.js.map +1 -0
- package/dist/v0.7/FutarchyClient.d.ts +982 -0
- package/dist/v0.7/FutarchyClient.js +413 -0
- package/dist/v0.7/FutarchyClient.js.map +1 -0
- package/dist/v0.7/LaunchpadClient.d.ts +647 -0
- package/dist/v0.7/LaunchpadClient.js +301 -0
- package/dist/v0.7/LaunchpadClient.js.map +1 -0
- package/dist/v0.7/PriceBasedPerformancePackageClient.d.ts +353 -0
- package/dist/v0.7/PriceBasedPerformancePackageClient.js +116 -0
- package/dist/v0.7/PriceBasedPerformancePackageClient.js.map +1 -0
- package/dist/v0.7/constants.d.ts +29 -0
- package/dist/v0.7/constants.js +40 -0
- package/dist/v0.7/constants.js.map +1 -0
- package/dist/v0.7/index.d.ts +7 -0
- package/dist/v0.7/index.js +8 -0
- package/dist/v0.7/index.js.map +1 -0
- package/dist/v0.7/types/amm.d.ts +832 -0
- package/dist/v0.7/types/amm.js +832 -0
- package/dist/v0.7/types/amm.js.map +1 -0
- package/dist/v0.7/types/conditional_vault.d.ts +934 -0
- package/dist/v0.7/types/conditional_vault.js +934 -0
- package/dist/v0.7/types/conditional_vault.js.map +1 -0
- package/dist/v0.7/types/futarchy.d.ts +2739 -0
- package/dist/v0.7/types/futarchy.js +2739 -0
- package/dist/v0.7/types/futarchy.js.map +1 -0
- package/dist/v0.7/types/index.d.ts +67 -0
- package/dist/v0.7/types/index.js +11 -0
- package/dist/v0.7/types/index.js.map +1 -0
- package/dist/v0.7/types/launchpad_v7.d.ts +1568 -0
- package/dist/v0.7/types/launchpad_v7.js +1568 -0
- package/dist/v0.7/types/launchpad_v7.js.map +1 -0
- package/dist/v0.7/types/price_based_performance_package.d.ts +954 -0
- package/dist/v0.7/types/price_based_performance_package.js +954 -0
- package/dist/v0.7/types/price_based_performance_package.js.map +1 -0
- package/dist/v0.7/types/utils.d.ts +3 -0
- package/dist/v0.7/types/utils.js +2 -0
- package/dist/v0.7/types/utils.js.map +1 -0
- package/dist/v0.7/utils/cu.d.ts +10 -0
- package/dist/v0.7/utils/cu.js +11 -0
- package/dist/v0.7/utils/cu.js.map +1 -0
- package/dist/v0.7/utils/filters.d.ts +3 -0
- package/dist/v0.7/utils/filters.js +14 -0
- package/dist/v0.7/utils/filters.js.map +1 -0
- package/dist/v0.7/utils/index.d.ts +16 -0
- package/dist/v0.7/utils/index.js +30 -0
- package/dist/v0.7/utils/index.js.map +1 -0
- package/dist/v0.7/utils/instruction.d.ts +4 -0
- package/dist/v0.7/utils/instruction.js +10 -0
- package/dist/v0.7/utils/instruction.js.map +1 -0
- package/dist/v0.7/utils/metadata.d.ts +4 -0
- package/dist/v0.7/utils/metadata.js +22 -0
- package/dist/v0.7/utils/metadata.js.map +1 -0
- package/dist/v0.7/utils/pda.d.ts +43 -0
- package/dist/v0.7/utils/pda.js +95 -0
- package/dist/v0.7/utils/pda.js.map +1 -0
- package/dist/v0.7/utils/priceMath.d.ts +39 -0
- package/dist/v0.7/utils/priceMath.js +48 -0
- package/dist/v0.7/utils/priceMath.js.map +1 -0
- package/package.json +6 -3
- package/dist/v0.6/PriceBasedUnlockClient.js +0 -122
- package/dist/v0.6/PriceBasedUnlockClient.js.map +0 -1
- package/dist/v0.6/types/price_based_token_lock.d.ts +0 -444
- package/dist/v0.6/types/price_based_token_lock.js +0 -444
- package/dist/v0.6/types/price_based_token_lock.js.map +0 -1
- package/dist/v0.6/types/price_based_unlock.js.map +0 -1
- package/dist/v0.6/types/shared_liquidity_manager.d.ts +0 -89
- package/dist/v0.6/types/shared_liquidity_manager.js +0 -89
- package/dist/v0.6/types/shared_liquidity_manager.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type Futarchy = {
|
|
2
|
-
version: "0.6.
|
|
2
|
+
version: "0.6.1";
|
|
3
3
|
name: "futarchy";
|
|
4
4
|
instructions: [
|
|
5
5
|
{
|
|
@@ -990,6 +990,37 @@ export type Futarchy = {
|
|
|
990
990
|
}
|
|
991
991
|
];
|
|
992
992
|
args: [];
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
name: "sponsorProposal";
|
|
996
|
+
accounts: [
|
|
997
|
+
{
|
|
998
|
+
name: "proposal";
|
|
999
|
+
isMut: true;
|
|
1000
|
+
isSigner: false;
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
name: "dao";
|
|
1004
|
+
isMut: true;
|
|
1005
|
+
isSigner: false;
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
name: "teamAddress";
|
|
1009
|
+
isMut: false;
|
|
1010
|
+
isSigner: true;
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
name: "eventAuthority";
|
|
1014
|
+
isMut: false;
|
|
1015
|
+
isSigner: false;
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
name: "program";
|
|
1019
|
+
isMut: false;
|
|
1020
|
+
isSigner: false;
|
|
1021
|
+
}
|
|
1022
|
+
];
|
|
1023
|
+
args: [];
|
|
993
1024
|
}
|
|
994
1025
|
];
|
|
995
1026
|
accounts: [
|
|
@@ -1131,6 +1162,20 @@ export type Futarchy = {
|
|
|
1131
1162
|
defined: "InitialSpendingLimit";
|
|
1132
1163
|
};
|
|
1133
1164
|
};
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
name: "teamSponsoredPassThresholdBps";
|
|
1168
|
+
docs: [
|
|
1169
|
+
"The percentage, in basis points, the pass price needs to be above the",
|
|
1170
|
+
"fail price in order for the proposal to pass for team-sponsored proposals.",
|
|
1171
|
+
"",
|
|
1172
|
+
"Can be negative to allow for team-sponsored proposals to pass by default."
|
|
1173
|
+
];
|
|
1174
|
+
type: "i16";
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
name: "teamAddress";
|
|
1178
|
+
type: "publicKey";
|
|
1134
1179
|
}
|
|
1135
1180
|
];
|
|
1136
1181
|
};
|
|
@@ -1201,6 +1246,10 @@ export type Futarchy = {
|
|
|
1201
1246
|
{
|
|
1202
1247
|
name: "failQuoteMint";
|
|
1203
1248
|
type: "publicKey";
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
name: "isTeamSponsored";
|
|
1252
|
+
type: "bool";
|
|
1204
1253
|
}
|
|
1205
1254
|
];
|
|
1206
1255
|
};
|
|
@@ -1327,6 +1376,14 @@ export type Futarchy = {
|
|
|
1327
1376
|
defined: "InitialSpendingLimit";
|
|
1328
1377
|
};
|
|
1329
1378
|
};
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
name: "teamSponsoredPassThresholdBps";
|
|
1382
|
+
type: "i16";
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
name: "teamAddress";
|
|
1386
|
+
type: "publicKey";
|
|
1330
1387
|
}
|
|
1331
1388
|
];
|
|
1332
1389
|
};
|
|
@@ -1437,6 +1494,12 @@ export type Futarchy = {
|
|
|
1437
1494
|
option: "u128";
|
|
1438
1495
|
};
|
|
1439
1496
|
},
|
|
1497
|
+
{
|
|
1498
|
+
name: "twapStartDelaySeconds";
|
|
1499
|
+
type: {
|
|
1500
|
+
option: "u32";
|
|
1501
|
+
};
|
|
1502
|
+
},
|
|
1440
1503
|
{
|
|
1441
1504
|
name: "minQuoteFutarchicLiquidity";
|
|
1442
1505
|
type: {
|
|
@@ -1454,6 +1517,18 @@ export type Futarchy = {
|
|
|
1454
1517
|
type: {
|
|
1455
1518
|
option: "u64";
|
|
1456
1519
|
};
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
name: "teamSponsoredPassThresholdBps";
|
|
1523
|
+
type: {
|
|
1524
|
+
option: "i16";
|
|
1525
|
+
};
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
name: "teamAddress";
|
|
1529
|
+
type: {
|
|
1530
|
+
option: "publicKey";
|
|
1531
|
+
};
|
|
1457
1532
|
}
|
|
1458
1533
|
];
|
|
1459
1534
|
};
|
|
@@ -1859,6 +1934,11 @@ export type Futarchy = {
|
|
|
1859
1934
|
type: "u128";
|
|
1860
1935
|
index: false;
|
|
1861
1936
|
},
|
|
1937
|
+
{
|
|
1938
|
+
name: "twapStartDelaySeconds";
|
|
1939
|
+
type: "u32";
|
|
1940
|
+
index: false;
|
|
1941
|
+
},
|
|
1862
1942
|
{
|
|
1863
1943
|
name: "minQuoteFutarchicLiquidity";
|
|
1864
1944
|
type: "u64";
|
|
@@ -1892,6 +1972,16 @@ export type Futarchy = {
|
|
|
1892
1972
|
name: "squadsMultisigVault";
|
|
1893
1973
|
type: "publicKey";
|
|
1894
1974
|
index: false;
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
name: "teamSponsoredPassThresholdBps";
|
|
1978
|
+
type: "i16";
|
|
1979
|
+
index: false;
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
name: "teamAddress";
|
|
1983
|
+
type: "publicKey";
|
|
1984
|
+
index: false;
|
|
1895
1985
|
}
|
|
1896
1986
|
];
|
|
1897
1987
|
},
|
|
@@ -1930,6 +2020,11 @@ export type Futarchy = {
|
|
|
1930
2020
|
type: "u128";
|
|
1931
2021
|
index: false;
|
|
1932
2022
|
},
|
|
2023
|
+
{
|
|
2024
|
+
name: "twapStartDelaySeconds";
|
|
2025
|
+
type: "u32";
|
|
2026
|
+
index: false;
|
|
2027
|
+
},
|
|
1933
2028
|
{
|
|
1934
2029
|
name: "minQuoteFutarchicLiquidity";
|
|
1935
2030
|
type: "u64";
|
|
@@ -1944,6 +2039,16 @@ export type Futarchy = {
|
|
|
1944
2039
|
name: "baseToStake";
|
|
1945
2040
|
type: "u64";
|
|
1946
2041
|
index: false;
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
name: "teamSponsoredPassThresholdBps";
|
|
2045
|
+
type: "i16";
|
|
2046
|
+
index: false;
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
name: "teamAddress";
|
|
2050
|
+
type: "publicKey";
|
|
2051
|
+
index: false;
|
|
1947
2052
|
}
|
|
1948
2053
|
];
|
|
1949
2054
|
},
|
|
@@ -2103,6 +2208,11 @@ export type Futarchy = {
|
|
|
2103
2208
|
type: "publicKey";
|
|
2104
2209
|
index: false;
|
|
2105
2210
|
},
|
|
2211
|
+
{
|
|
2212
|
+
name: "timestampEnqueued";
|
|
2213
|
+
type: "i64";
|
|
2214
|
+
index: false;
|
|
2215
|
+
},
|
|
2106
2216
|
{
|
|
2107
2217
|
name: "totalStaked";
|
|
2108
2218
|
type: "u64";
|
|
@@ -2175,6 +2285,11 @@ export type Futarchy = {
|
|
|
2175
2285
|
defined: "FutarchyAmm";
|
|
2176
2286
|
};
|
|
2177
2287
|
index: false;
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
name: "isTeamSponsored";
|
|
2291
|
+
type: "bool";
|
|
2292
|
+
index: false;
|
|
2178
2293
|
}
|
|
2179
2294
|
];
|
|
2180
2295
|
},
|
|
@@ -2399,6 +2514,33 @@ export type Futarchy = {
|
|
|
2399
2514
|
index: false;
|
|
2400
2515
|
}
|
|
2401
2516
|
];
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
name: "SponsorProposalEvent";
|
|
2520
|
+
fields: [
|
|
2521
|
+
{
|
|
2522
|
+
name: "common";
|
|
2523
|
+
type: {
|
|
2524
|
+
defined: "CommonFields";
|
|
2525
|
+
};
|
|
2526
|
+
index: false;
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
name: "proposal";
|
|
2530
|
+
type: "publicKey";
|
|
2531
|
+
index: false;
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
name: "dao";
|
|
2535
|
+
type: "publicKey";
|
|
2536
|
+
index: false;
|
|
2537
|
+
},
|
|
2538
|
+
{
|
|
2539
|
+
name: "teamAddress";
|
|
2540
|
+
type: "publicKey";
|
|
2541
|
+
index: false;
|
|
2542
|
+
}
|
|
2543
|
+
];
|
|
2402
2544
|
}
|
|
2403
2545
|
];
|
|
2404
2546
|
errors: [
|
|
@@ -2561,6 +2703,16 @@ export type Futarchy = {
|
|
|
2561
2703
|
code: 6031;
|
|
2562
2704
|
name: "InvalidTransaction";
|
|
2563
2705
|
msg: "This Squads transaction should only contain calls to update spending limits";
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
code: 6032;
|
|
2709
|
+
name: "ProposalAlreadySponsored";
|
|
2710
|
+
msg: "Proposal has already been sponsored";
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
code: 6033;
|
|
2714
|
+
name: "InvalidTeamSponsoredPassThreshold";
|
|
2715
|
+
msg: "Team sponsored pass threshold must be between -10% and 10%";
|
|
2564
2716
|
}
|
|
2565
2717
|
];
|
|
2566
2718
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const IDL = {
|
|
2
|
-
version: "0.6.
|
|
2
|
+
version: "0.6.1",
|
|
3
3
|
name: "futarchy",
|
|
4
4
|
instructions: [
|
|
5
5
|
{
|
|
@@ -991,6 +991,37 @@ export const IDL = {
|
|
|
991
991
|
],
|
|
992
992
|
args: [],
|
|
993
993
|
},
|
|
994
|
+
{
|
|
995
|
+
name: "sponsorProposal",
|
|
996
|
+
accounts: [
|
|
997
|
+
{
|
|
998
|
+
name: "proposal",
|
|
999
|
+
isMut: true,
|
|
1000
|
+
isSigner: false,
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
name: "dao",
|
|
1004
|
+
isMut: true,
|
|
1005
|
+
isSigner: false,
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
name: "teamAddress",
|
|
1009
|
+
isMut: false,
|
|
1010
|
+
isSigner: true,
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
name: "eventAuthority",
|
|
1014
|
+
isMut: false,
|
|
1015
|
+
isSigner: false,
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
name: "program",
|
|
1019
|
+
isMut: false,
|
|
1020
|
+
isSigner: false,
|
|
1021
|
+
},
|
|
1022
|
+
],
|
|
1023
|
+
args: [],
|
|
1024
|
+
},
|
|
994
1025
|
],
|
|
995
1026
|
accounts: [
|
|
996
1027
|
{
|
|
@@ -1132,6 +1163,20 @@ export const IDL = {
|
|
|
1132
1163
|
},
|
|
1133
1164
|
},
|
|
1134
1165
|
},
|
|
1166
|
+
{
|
|
1167
|
+
name: "teamSponsoredPassThresholdBps",
|
|
1168
|
+
docs: [
|
|
1169
|
+
"The percentage, in basis points, the pass price needs to be above the",
|
|
1170
|
+
"fail price in order for the proposal to pass for team-sponsored proposals.",
|
|
1171
|
+
"",
|
|
1172
|
+
"Can be negative to allow for team-sponsored proposals to pass by default.",
|
|
1173
|
+
],
|
|
1174
|
+
type: "i16",
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
name: "teamAddress",
|
|
1178
|
+
type: "publicKey",
|
|
1179
|
+
},
|
|
1135
1180
|
],
|
|
1136
1181
|
},
|
|
1137
1182
|
},
|
|
@@ -1202,6 +1247,10 @@ export const IDL = {
|
|
|
1202
1247
|
name: "failQuoteMint",
|
|
1203
1248
|
type: "publicKey",
|
|
1204
1249
|
},
|
|
1250
|
+
{
|
|
1251
|
+
name: "isTeamSponsored",
|
|
1252
|
+
type: "bool",
|
|
1253
|
+
},
|
|
1205
1254
|
],
|
|
1206
1255
|
},
|
|
1207
1256
|
},
|
|
@@ -1328,6 +1377,14 @@ export const IDL = {
|
|
|
1328
1377
|
},
|
|
1329
1378
|
},
|
|
1330
1379
|
},
|
|
1380
|
+
{
|
|
1381
|
+
name: "teamSponsoredPassThresholdBps",
|
|
1382
|
+
type: "i16",
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
name: "teamAddress",
|
|
1386
|
+
type: "publicKey",
|
|
1387
|
+
},
|
|
1331
1388
|
],
|
|
1332
1389
|
},
|
|
1333
1390
|
},
|
|
@@ -1437,6 +1494,12 @@ export const IDL = {
|
|
|
1437
1494
|
option: "u128",
|
|
1438
1495
|
},
|
|
1439
1496
|
},
|
|
1497
|
+
{
|
|
1498
|
+
name: "twapStartDelaySeconds",
|
|
1499
|
+
type: {
|
|
1500
|
+
option: "u32",
|
|
1501
|
+
},
|
|
1502
|
+
},
|
|
1440
1503
|
{
|
|
1441
1504
|
name: "minQuoteFutarchicLiquidity",
|
|
1442
1505
|
type: {
|
|
@@ -1455,6 +1518,18 @@ export const IDL = {
|
|
|
1455
1518
|
option: "u64",
|
|
1456
1519
|
},
|
|
1457
1520
|
},
|
|
1521
|
+
{
|
|
1522
|
+
name: "teamSponsoredPassThresholdBps",
|
|
1523
|
+
type: {
|
|
1524
|
+
option: "i16",
|
|
1525
|
+
},
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
name: "teamAddress",
|
|
1529
|
+
type: {
|
|
1530
|
+
option: "publicKey",
|
|
1531
|
+
},
|
|
1532
|
+
},
|
|
1458
1533
|
],
|
|
1459
1534
|
},
|
|
1460
1535
|
},
|
|
@@ -1859,6 +1934,11 @@ export const IDL = {
|
|
|
1859
1934
|
type: "u128",
|
|
1860
1935
|
index: false,
|
|
1861
1936
|
},
|
|
1937
|
+
{
|
|
1938
|
+
name: "twapStartDelaySeconds",
|
|
1939
|
+
type: "u32",
|
|
1940
|
+
index: false,
|
|
1941
|
+
},
|
|
1862
1942
|
{
|
|
1863
1943
|
name: "minQuoteFutarchicLiquidity",
|
|
1864
1944
|
type: "u64",
|
|
@@ -1893,6 +1973,16 @@ export const IDL = {
|
|
|
1893
1973
|
type: "publicKey",
|
|
1894
1974
|
index: false,
|
|
1895
1975
|
},
|
|
1976
|
+
{
|
|
1977
|
+
name: "teamSponsoredPassThresholdBps",
|
|
1978
|
+
type: "i16",
|
|
1979
|
+
index: false,
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
name: "teamAddress",
|
|
1983
|
+
type: "publicKey",
|
|
1984
|
+
index: false,
|
|
1985
|
+
},
|
|
1896
1986
|
],
|
|
1897
1987
|
},
|
|
1898
1988
|
{
|
|
@@ -1930,6 +2020,11 @@ export const IDL = {
|
|
|
1930
2020
|
type: "u128",
|
|
1931
2021
|
index: false,
|
|
1932
2022
|
},
|
|
2023
|
+
{
|
|
2024
|
+
name: "twapStartDelaySeconds",
|
|
2025
|
+
type: "u32",
|
|
2026
|
+
index: false,
|
|
2027
|
+
},
|
|
1933
2028
|
{
|
|
1934
2029
|
name: "minQuoteFutarchicLiquidity",
|
|
1935
2030
|
type: "u64",
|
|
@@ -1945,6 +2040,16 @@ export const IDL = {
|
|
|
1945
2040
|
type: "u64",
|
|
1946
2041
|
index: false,
|
|
1947
2042
|
},
|
|
2043
|
+
{
|
|
2044
|
+
name: "teamSponsoredPassThresholdBps",
|
|
2045
|
+
type: "i16",
|
|
2046
|
+
index: false,
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
name: "teamAddress",
|
|
2050
|
+
type: "publicKey",
|
|
2051
|
+
index: false,
|
|
2052
|
+
},
|
|
1948
2053
|
],
|
|
1949
2054
|
},
|
|
1950
2055
|
{
|
|
@@ -2103,6 +2208,11 @@ export const IDL = {
|
|
|
2103
2208
|
type: "publicKey",
|
|
2104
2209
|
index: false,
|
|
2105
2210
|
},
|
|
2211
|
+
{
|
|
2212
|
+
name: "timestampEnqueued",
|
|
2213
|
+
type: "i64",
|
|
2214
|
+
index: false,
|
|
2215
|
+
},
|
|
2106
2216
|
{
|
|
2107
2217
|
name: "totalStaked",
|
|
2108
2218
|
type: "u64",
|
|
@@ -2176,6 +2286,11 @@ export const IDL = {
|
|
|
2176
2286
|
},
|
|
2177
2287
|
index: false,
|
|
2178
2288
|
},
|
|
2289
|
+
{
|
|
2290
|
+
name: "isTeamSponsored",
|
|
2291
|
+
type: "bool",
|
|
2292
|
+
index: false,
|
|
2293
|
+
},
|
|
2179
2294
|
],
|
|
2180
2295
|
},
|
|
2181
2296
|
{
|
|
@@ -2400,6 +2515,33 @@ export const IDL = {
|
|
|
2400
2515
|
},
|
|
2401
2516
|
],
|
|
2402
2517
|
},
|
|
2518
|
+
{
|
|
2519
|
+
name: "SponsorProposalEvent",
|
|
2520
|
+
fields: [
|
|
2521
|
+
{
|
|
2522
|
+
name: "common",
|
|
2523
|
+
type: {
|
|
2524
|
+
defined: "CommonFields",
|
|
2525
|
+
},
|
|
2526
|
+
index: false,
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
name: "proposal",
|
|
2530
|
+
type: "publicKey",
|
|
2531
|
+
index: false,
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
name: "dao",
|
|
2535
|
+
type: "publicKey",
|
|
2536
|
+
index: false,
|
|
2537
|
+
},
|
|
2538
|
+
{
|
|
2539
|
+
name: "teamAddress",
|
|
2540
|
+
type: "publicKey",
|
|
2541
|
+
index: false,
|
|
2542
|
+
},
|
|
2543
|
+
],
|
|
2544
|
+
},
|
|
2403
2545
|
],
|
|
2404
2546
|
errors: [
|
|
2405
2547
|
{
|
|
@@ -2562,6 +2704,16 @@ export const IDL = {
|
|
|
2562
2704
|
name: "InvalidTransaction",
|
|
2563
2705
|
msg: "This Squads transaction should only contain calls to update spending limits",
|
|
2564
2706
|
},
|
|
2707
|
+
{
|
|
2708
|
+
code: 6032,
|
|
2709
|
+
name: "ProposalAlreadySponsored",
|
|
2710
|
+
msg: "Proposal has already been sponsored",
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
code: 6033,
|
|
2714
|
+
name: "InvalidTeamSponsoredPassThreshold",
|
|
2715
|
+
msg: "Team sponsored pass threshold must be between -10% and 10%",
|
|
2716
|
+
},
|
|
2565
2717
|
],
|
|
2566
2718
|
};
|
|
2567
2719
|
//# sourceMappingURL=futarchy.js.map
|