@metadaoproject/futarchy 0.7.0-alpha.8 → 0.7.1-alpha.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/v0.6/LaunchpadClient.js +1 -1
- package/dist/v0.6/types/price_based_performance_package.d.ts +51 -0
- package/dist/v0.6/types/price_based_performance_package.js +51 -0
- package/dist/v0.6/types/price_based_performance_package.js.map +1 -1
- package/dist/v0.7/BidWallClient.d.ts +4 -3
- package/dist/v0.7/BidWallClient.js +9 -6
- package/dist/v0.7/BidWallClient.js.map +1 -1
- package/dist/v0.7/ConditionalVaultClient.d.ts +2 -2
- package/dist/v0.7/FutarchyClient.d.ts +14 -1
- package/dist/v0.7/FutarchyClient.js +6 -1
- package/dist/v0.7/FutarchyClient.js.map +1 -1
- package/dist/v0.7/LaunchpadClient.d.ts +3 -2
- package/dist/v0.7/LaunchpadClient.js +4 -3
- package/dist/v0.7/LaunchpadClient.js.map +1 -1
- package/dist/v0.7/LiquidationClient.d.ts +315 -0
- package/dist/v0.7/LiquidationClient.js +148 -0
- package/dist/v0.7/LiquidationClient.js.map +1 -0
- package/dist/v0.7/MintGovernorClient.d.ts +346 -0
- package/dist/v0.7/MintGovernorClient.js +114 -0
- package/dist/v0.7/MintGovernorClient.js.map +1 -0
- package/dist/v0.7/PerformancePackageV2Client.d.ts +327 -0
- package/dist/v0.7/PerformancePackageV2Client.js +140 -0
- package/dist/v0.7/PerformancePackageV2Client.js.map +1 -0
- package/dist/v0.7/PriceBasedPerformancePackageClient.d.ts +16 -7
- package/dist/v0.7/constants.d.ts +3 -0
- package/dist/v0.7/constants.js +3 -0
- package/dist/v0.7/constants.js.map +1 -1
- package/dist/v0.7/index.d.ts +3 -0
- package/dist/v0.7/index.js +3 -0
- package/dist/v0.7/index.js.map +1 -1
- package/dist/v0.7/types/bid_wall.d.ts +10 -1
- package/dist/v0.7/types/bid_wall.js +10 -1
- package/dist/v0.7/types/bid_wall.js.map +1 -1
- package/dist/v0.7/types/conditional_vault.d.ts +12 -19
- package/dist/v0.7/types/conditional_vault.js +12 -19
- package/dist/v0.7/types/conditional_vault.js.map +1 -1
- package/dist/v0.7/types/futarchy.d.ts +366 -6
- package/dist/v0.7/types/futarchy.js +366 -6
- package/dist/v0.7/types/futarchy.js.map +1 -1
- package/dist/v0.7/types/index.d.ts +26 -0
- package/dist/v0.7/types/index.js +6 -0
- package/dist/v0.7/types/index.js.map +1 -1
- package/dist/v0.7/types/launchpad_v7.d.ts +328 -1
- package/dist/v0.7/types/launchpad_v7.js +328 -1
- package/dist/v0.7/types/launchpad_v7.js.map +1 -1
- package/dist/v0.7/types/liquidation.d.ts +723 -0
- package/dist/v0.7/types/liquidation.js +723 -0
- package/dist/v0.7/types/liquidation.js.map +1 -0
- package/dist/v0.7/types/mint_governor.d.ts +737 -0
- package/dist/v0.7/types/mint_governor.js +737 -0
- package/dist/v0.7/types/mint_governor.js.map +1 -0
- package/dist/v0.7/types/performance_package_v2.d.ts +1079 -0
- package/dist/v0.7/types/performance_package_v2.js +1079 -0
- package/dist/v0.7/types/performance_package_v2.js.map +1 -0
- package/dist/v0.7/types/price_based_performance_package.d.ts +88 -3
- package/dist/v0.7/types/price_based_performance_package.js +88 -3
- package/dist/v0.7/types/price_based_performance_package.js.map +1 -1
- package/dist/v0.7/utils/pda.d.ts +31 -0
- package/dist/v0.7/utils/pda.js +37 -2
- package/dist/v0.7/utils/pda.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,12 @@ import { PriceBasedPerformancePackage as PriceBasedPerformancePackageProgram, ID
|
|
|
10
10
|
export { PriceBasedPerformancePackageProgram, PriceBasedPerformancePackageIDL };
|
|
11
11
|
import { BidWall as BidWallProgram, IDL as BidWallIDL } from "./bid_wall.js";
|
|
12
12
|
export { BidWallProgram, BidWallIDL };
|
|
13
|
+
import { MintGovernor as MintGovernorProgram, IDL as MintGovernorIDL } from "./mint_governor.js";
|
|
14
|
+
export { MintGovernorProgram, MintGovernorIDL };
|
|
15
|
+
import { PerformancePackageV2 as PerformancePackageV2Program, IDL as PerformancePackageV2IDL } from "./performance_package_v2.js";
|
|
16
|
+
export { PerformancePackageV2Program, PerformancePackageV2IDL };
|
|
17
|
+
import { Liquidation as LiquidationProgram, IDL as LiquidationIDL } from "./liquidation.js";
|
|
18
|
+
export { LiquidationProgram, LiquidationIDL };
|
|
13
19
|
export { LowercaseKeys } from "./utils.js";
|
|
14
20
|
import type { IdlAccounts, IdlTypes, IdlEvents } from "@coral-xyz/anchor";
|
|
15
21
|
export type Question = IdlAccounts<ConditionalVaultProgram>["question"];
|
|
@@ -26,6 +32,17 @@ export type PerformancePackage = IdlAccounts<PriceBasedPerformancePackageProgram
|
|
|
26
32
|
export type OracleConfig = IdlTypes<PriceBasedPerformancePackageProgram>["OracleConfig"];
|
|
27
33
|
export type Tranche = IdlTypes<PriceBasedPerformancePackageProgram>["Tranche"];
|
|
28
34
|
export type BidWall = IdlAccounts<BidWallProgram>["bidWall"];
|
|
35
|
+
export type MintGovernorAccount = IdlAccounts<MintGovernorProgram>["mintGovernor"];
|
|
36
|
+
export type MintAuthorityAccount = IdlAccounts<MintGovernorProgram>["mintAuthority"];
|
|
37
|
+
export type PerformancePackageV2Account = IdlAccounts<PerformancePackageV2Program>["performancePackage"];
|
|
38
|
+
export type PerformancePackageV2ChangeRequestAccount = IdlAccounts<PerformancePackageV2Program>["changeRequest"];
|
|
39
|
+
export type PerformancePackageV2OracleReader = IdlTypes<PerformancePackageV2Program>["OracleReader"];
|
|
40
|
+
export type PerformancePackageV2RewardFunction = IdlTypes<PerformancePackageV2Program>["RewardFunction"];
|
|
41
|
+
export type PerformancePackageV2PackageStatus = IdlTypes<PerformancePackageV2Program>["PackageStatus"];
|
|
42
|
+
export type PerformancePackageV2ProposerType = IdlTypes<PerformancePackageV2Program>["ProposerType"];
|
|
43
|
+
export type PerformancePackageV2ThresholdTranche = IdlTypes<PerformancePackageV2Program>["ThresholdTranche"];
|
|
44
|
+
export type LiquidationAccount = IdlAccounts<LiquidationProgram>["liquidation"];
|
|
45
|
+
export type RefundRecordAccount = IdlAccounts<LiquidationProgram>["refundRecord"];
|
|
29
46
|
export type BidWallInitializedEvent = IdlEvents<BidWallProgram>["BidWallInitializedEvent"];
|
|
30
47
|
export type BidWallTokensSoldEvent = IdlEvents<BidWallProgram>["BidWallTokensSoldEvent"];
|
|
31
48
|
export type BidWallFeesCollectedEvent = IdlEvents<BidWallProgram>["BidWallFeesCollectedEvent"];
|
|
@@ -78,3 +95,12 @@ export type ChangeProposedEvent = IdlEvents<PriceBasedPerformancePackageProgram>
|
|
|
78
95
|
export type ChangeExecutedEvent = IdlEvents<PriceBasedPerformancePackageProgram>["ChangeExecuted"];
|
|
79
96
|
export type PerformancePackageAuthorityChangedEvent = IdlEvents<PriceBasedPerformancePackageProgram>["PerformancePackageAuthorityChanged"];
|
|
80
97
|
export type PriceBasedPerformancePackageEvent = PerformancePackageInitializedEvent | UnlockStartedEvent | UnlockCompletedEvent | ChangeProposedEvent | ChangeExecutedEvent | PerformancePackageAuthorityChangedEvent;
|
|
98
|
+
export type MintGovernorInitializedEvent = IdlEvents<MintGovernorProgram>["MintGovernorInitializedEvent"];
|
|
99
|
+
export type MintAuthorityTransferredEvent = IdlEvents<MintGovernorProgram>["MintAuthorityTransferredEvent"];
|
|
100
|
+
export type MintAuthorityAddedEvent = IdlEvents<MintGovernorProgram>["MintAuthorityAddedEvent"];
|
|
101
|
+
export type TokensMintedEvent = IdlEvents<MintGovernorProgram>["TokensMintedEvent"];
|
|
102
|
+
export type MintAuthorityUpdatedEvent = IdlEvents<MintGovernorProgram>["MintAuthorityUpdatedEvent"];
|
|
103
|
+
export type MintAuthorityRemovedEvent = IdlEvents<MintGovernorProgram>["MintAuthorityRemovedEvent"];
|
|
104
|
+
export type MintGovernorAdminUpdatedEvent = IdlEvents<MintGovernorProgram>["MintGovernorAdminUpdatedEvent"];
|
|
105
|
+
export type MintAuthorityReclaimedEvent = IdlEvents<MintGovernorProgram>["MintAuthorityReclaimedEvent"];
|
|
106
|
+
export type MintGovernorEvent = MintGovernorInitializedEvent | MintAuthorityTransferredEvent | MintAuthorityAddedEvent | TokensMintedEvent | MintAuthorityUpdatedEvent | MintAuthorityRemovedEvent | MintGovernorAdminUpdatedEvent | MintAuthorityReclaimedEvent;
|
package/dist/v0.7/types/index.js
CHANGED
|
@@ -10,4 +10,10 @@ import { IDL as PriceBasedPerformancePackageIDL, } from "./price_based_performan
|
|
|
10
10
|
export { PriceBasedPerformancePackageIDL };
|
|
11
11
|
import { IDL as BidWallIDL } from "./bid_wall.js";
|
|
12
12
|
export { BidWallIDL };
|
|
13
|
+
import { IDL as MintGovernorIDL, } from "./mint_governor.js";
|
|
14
|
+
export { MintGovernorIDL };
|
|
15
|
+
import { IDL as PerformancePackageV2IDL, } from "./performance_package_v2.js";
|
|
16
|
+
export { PerformancePackageV2IDL };
|
|
17
|
+
import { IDL as LiquidationIDL, } from "./liquidation.js";
|
|
18
|
+
export { LiquidationIDL };
|
|
13
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v0.7/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,GAAG,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAc,MAAM,EAAE,CAAC;AAE9B,OAAO,EAEL,GAAG,IAAI,YAAY,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAoB,YAAY,EAAE,CAAC;AAE1C,OAAO,EAEL,GAAG,IAAI,mBAAmB,GAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAA2B,mBAAmB,EAAE,CAAC;AAExD,OAAO,EAA+B,GAAG,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAmB,WAAW,EAAE,CAAC;AAExC,OAAO,EAEL,GAAG,IAAI,+BAA+B,GACvC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAuC,+BAA+B,EAAE,CAAC;AAEhF,OAAO,EAA6B,GAAG,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAkB,UAAU,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v0.7/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,GAAG,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAc,MAAM,EAAE,CAAC;AAE9B,OAAO,EAEL,GAAG,IAAI,YAAY,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAoB,YAAY,EAAE,CAAC;AAE1C,OAAO,EAEL,GAAG,IAAI,mBAAmB,GAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAA2B,mBAAmB,EAAE,CAAC;AAExD,OAAO,EAA+B,GAAG,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAmB,WAAW,EAAE,CAAC;AAExC,OAAO,EAEL,GAAG,IAAI,+BAA+B,GACvC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAuC,+BAA+B,EAAE,CAAC;AAEhF,OAAO,EAA6B,GAAG,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAkB,UAAU,EAAE,CAAC;AAEtC,OAAO,EAEL,GAAG,IAAI,eAAe,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAuB,eAAe,EAAE,CAAC;AAEhD,OAAO,EAEL,GAAG,IAAI,uBAAuB,GAC/B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAA+B,uBAAuB,EAAE,CAAC;AAEhE,OAAO,EAEL,GAAG,IAAI,cAAc,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAsB,cAAc,EAAE,CAAC"}
|
|
@@ -362,7 +362,7 @@ export type LaunchpadV7 = {
|
|
|
362
362
|
isSigner: false;
|
|
363
363
|
},
|
|
364
364
|
{
|
|
365
|
-
name: "
|
|
365
|
+
name: "futarchyEventAuthority";
|
|
366
366
|
isMut: false;
|
|
367
367
|
isSigner: false;
|
|
368
368
|
},
|
|
@@ -780,11 +780,111 @@ export type LaunchpadV7 = {
|
|
|
780
780
|
}
|
|
781
781
|
];
|
|
782
782
|
args: [];
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
name: "resizeFundingRecord";
|
|
786
|
+
accounts: [
|
|
787
|
+
{
|
|
788
|
+
name: "fundingRecord";
|
|
789
|
+
isMut: true;
|
|
790
|
+
isSigner: false;
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
name: "payer";
|
|
794
|
+
isMut: true;
|
|
795
|
+
isSigner: true;
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
name: "systemProgram";
|
|
799
|
+
isMut: false;
|
|
800
|
+
isSigner: false;
|
|
801
|
+
}
|
|
802
|
+
];
|
|
803
|
+
args: [];
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
name: "resizeLaunch";
|
|
807
|
+
accounts: [
|
|
808
|
+
{
|
|
809
|
+
name: "launch";
|
|
810
|
+
isMut: true;
|
|
811
|
+
isSigner: false;
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
name: "payer";
|
|
815
|
+
isMut: true;
|
|
816
|
+
isSigner: true;
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
name: "systemProgram";
|
|
820
|
+
isMut: false;
|
|
821
|
+
isSigner: false;
|
|
822
|
+
}
|
|
823
|
+
];
|
|
824
|
+
args: [];
|
|
783
825
|
}
|
|
784
826
|
];
|
|
785
827
|
accounts: [
|
|
786
828
|
{
|
|
787
829
|
name: "fundingRecord";
|
|
830
|
+
type: {
|
|
831
|
+
kind: "struct";
|
|
832
|
+
fields: [
|
|
833
|
+
{
|
|
834
|
+
name: "pdaBump";
|
|
835
|
+
docs: ["The PDA bump."];
|
|
836
|
+
type: "u8";
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
name: "funder";
|
|
840
|
+
docs: ["The funder."];
|
|
841
|
+
type: "publicKey";
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
name: "launch";
|
|
845
|
+
docs: ["The launch."];
|
|
846
|
+
type: "publicKey";
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
name: "committedAmount";
|
|
850
|
+
docs: ["The amount of USDC that has been committed by the funder."];
|
|
851
|
+
type: "u64";
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
name: "isTokensClaimed";
|
|
855
|
+
docs: ["Whether the tokens have been claimed."];
|
|
856
|
+
type: "bool";
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
name: "isUsdcRefunded";
|
|
860
|
+
docs: ["Whether the USDC has been refunded."];
|
|
861
|
+
type: "bool";
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
name: "approvedAmount";
|
|
865
|
+
docs: [
|
|
866
|
+
"The amount of USDC that the launch authority has approved for the funder.",
|
|
867
|
+
"If zero, the funder has not been approved for any amount."
|
|
868
|
+
];
|
|
869
|
+
type: "u64";
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
name: "committedAmountAccumulator";
|
|
873
|
+
docs: [
|
|
874
|
+
"Running integral of committed_amount over time (committed_amount * seconds)."
|
|
875
|
+
];
|
|
876
|
+
type: "u128";
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
name: "lastAccumulatorUpdate";
|
|
880
|
+
docs: ["Unix timestamp of the last accumulator update."];
|
|
881
|
+
type: "i64";
|
|
882
|
+
}
|
|
883
|
+
];
|
|
884
|
+
};
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
name: "oldFundingRecord";
|
|
788
888
|
type: {
|
|
789
889
|
kind: "struct";
|
|
790
890
|
fields: [
|
|
@@ -1022,6 +1122,214 @@ export type LaunchpadV7 = {
|
|
|
1022
1122
|
option: "i64";
|
|
1023
1123
|
};
|
|
1024
1124
|
},
|
|
1125
|
+
{
|
|
1126
|
+
name: "isPerformancePackageInitialized";
|
|
1127
|
+
type: "bool";
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
name: "accumulatorActivationDelaySeconds";
|
|
1131
|
+
docs: [
|
|
1132
|
+
"Number of seconds after launch start before the funding accumulator",
|
|
1133
|
+
"begins tracking."
|
|
1134
|
+
];
|
|
1135
|
+
type: "u32";
|
|
1136
|
+
}
|
|
1137
|
+
];
|
|
1138
|
+
};
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
name: "oldLaunch";
|
|
1142
|
+
type: {
|
|
1143
|
+
kind: "struct";
|
|
1144
|
+
fields: [
|
|
1145
|
+
{
|
|
1146
|
+
name: "pdaBump";
|
|
1147
|
+
docs: ["The PDA bump."];
|
|
1148
|
+
type: "u8";
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
name: "minimumRaiseAmount";
|
|
1152
|
+
docs: [
|
|
1153
|
+
"The minimum amount of USDC that must be raised, otherwise",
|
|
1154
|
+
"everyone can get their USDC back."
|
|
1155
|
+
];
|
|
1156
|
+
type: "u64";
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
name: "monthlySpendingLimitAmount";
|
|
1160
|
+
docs: [
|
|
1161
|
+
"The monthly spending limit the DAO allocates to the team. Must be",
|
|
1162
|
+
"less than 1/6th of the minimum raise amount (so 6 months of burn)."
|
|
1163
|
+
];
|
|
1164
|
+
type: "u64";
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
name: "monthlySpendingLimitMembers";
|
|
1168
|
+
docs: [
|
|
1169
|
+
"The wallets that have access to the monthly spending limit."
|
|
1170
|
+
];
|
|
1171
|
+
type: {
|
|
1172
|
+
vec: "publicKey";
|
|
1173
|
+
};
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
name: "launchAuthority";
|
|
1177
|
+
docs: ["The account that can start the launch."];
|
|
1178
|
+
type: "publicKey";
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
name: "launchSigner";
|
|
1182
|
+
docs: [
|
|
1183
|
+
"The launch signer address. Needed because Raydium pools need a SOL payer and this PDA can't hold SOL."
|
|
1184
|
+
];
|
|
1185
|
+
type: "publicKey";
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
name: "launchSignerPdaBump";
|
|
1189
|
+
docs: ["The PDA bump for the launch signer."];
|
|
1190
|
+
type: "u8";
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
name: "launchQuoteVault";
|
|
1194
|
+
docs: [
|
|
1195
|
+
"The USDC vault that will hold the USDC raised until the launch is over."
|
|
1196
|
+
];
|
|
1197
|
+
type: "publicKey";
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
name: "launchBaseVault";
|
|
1201
|
+
docs: ["The token vault, used to send tokens to Raydium."];
|
|
1202
|
+
type: "publicKey";
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
name: "baseMint";
|
|
1206
|
+
docs: [
|
|
1207
|
+
"The token that will be minted to funders and that will control the DAO."
|
|
1208
|
+
];
|
|
1209
|
+
type: "publicKey";
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
name: "quoteMint";
|
|
1213
|
+
docs: ["The USDC mint."];
|
|
1214
|
+
type: "publicKey";
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
name: "unixTimestampStarted";
|
|
1218
|
+
docs: ["The unix timestamp when the launch was started."];
|
|
1219
|
+
type: {
|
|
1220
|
+
option: "i64";
|
|
1221
|
+
};
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
name: "unixTimestampClosed";
|
|
1225
|
+
docs: [
|
|
1226
|
+
"The unix timestamp when the launch stopped taking new contributions."
|
|
1227
|
+
];
|
|
1228
|
+
type: {
|
|
1229
|
+
option: "i64";
|
|
1230
|
+
};
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
name: "totalCommittedAmount";
|
|
1234
|
+
docs: ["The amount of USDC that has been committed by the users."];
|
|
1235
|
+
type: "u64";
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
name: "state";
|
|
1239
|
+
docs: ["The state of the launch."];
|
|
1240
|
+
type: {
|
|
1241
|
+
defined: "LaunchState";
|
|
1242
|
+
};
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
name: "seqNum";
|
|
1246
|
+
docs: [
|
|
1247
|
+
"The sequence number of this launch. Useful for sorting events."
|
|
1248
|
+
];
|
|
1249
|
+
type: "u64";
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
name: "secondsForLaunch";
|
|
1253
|
+
docs: ["The number of seconds that the launch will be live for."];
|
|
1254
|
+
type: "u32";
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
name: "dao";
|
|
1258
|
+
docs: ["The DAO, if the launch is complete."];
|
|
1259
|
+
type: {
|
|
1260
|
+
option: "publicKey";
|
|
1261
|
+
};
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
name: "daoVault";
|
|
1265
|
+
docs: [
|
|
1266
|
+
"The DAO treasury that USDC / LP is sent to, if the launch is complete."
|
|
1267
|
+
];
|
|
1268
|
+
type: {
|
|
1269
|
+
option: "publicKey";
|
|
1270
|
+
};
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
name: "performancePackageGrantee";
|
|
1274
|
+
docs: [
|
|
1275
|
+
"The address that will receive the performance package tokens."
|
|
1276
|
+
];
|
|
1277
|
+
type: "publicKey";
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
name: "performancePackageTokenAmount";
|
|
1281
|
+
docs: [
|
|
1282
|
+
"The amount of tokens to be granted to the performance package grantee."
|
|
1283
|
+
];
|
|
1284
|
+
type: "u64";
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
name: "monthsUntilInsidersCanUnlock";
|
|
1288
|
+
docs: [
|
|
1289
|
+
"The number of months that insiders must wait before unlocking their tokens."
|
|
1290
|
+
];
|
|
1291
|
+
type: "u8";
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
name: "teamAddress";
|
|
1295
|
+
docs: ["The initial address used to sponsor team proposals."];
|
|
1296
|
+
type: "publicKey";
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
name: "totalApprovedAmount";
|
|
1300
|
+
docs: [
|
|
1301
|
+
"The amount of USDC that the launch authority has approved across all funders."
|
|
1302
|
+
];
|
|
1303
|
+
type: "u64";
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
name: "additionalTokensAmount";
|
|
1307
|
+
docs: [
|
|
1308
|
+
"The amount of additional tokens to be minted on a successful launch."
|
|
1309
|
+
];
|
|
1310
|
+
type: "u64";
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
name: "additionalTokensRecipient";
|
|
1314
|
+
docs: [
|
|
1315
|
+
"The token account that will receive the additional tokens."
|
|
1316
|
+
];
|
|
1317
|
+
type: {
|
|
1318
|
+
option: "publicKey";
|
|
1319
|
+
};
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
name: "additionalTokensClaimed";
|
|
1323
|
+
docs: ["Are the additional tokens claimed"];
|
|
1324
|
+
type: "bool";
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
name: "unixTimestampCompleted";
|
|
1328
|
+
docs: ["The unix timestamp when the launch was completed."];
|
|
1329
|
+
type: {
|
|
1330
|
+
option: "i64";
|
|
1331
|
+
};
|
|
1332
|
+
},
|
|
1025
1333
|
{
|
|
1026
1334
|
name: "isPerformancePackageInitialized";
|
|
1027
1335
|
docs: ["Whether the performance package has been initialized."];
|
|
@@ -1106,6 +1414,10 @@ export type LaunchpadV7 = {
|
|
|
1106
1414
|
{
|
|
1107
1415
|
name: "additionalTokensAmount";
|
|
1108
1416
|
type: "u64";
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
name: "accumulatorActivationDelaySeconds";
|
|
1420
|
+
type: "u32";
|
|
1109
1421
|
}
|
|
1110
1422
|
];
|
|
1111
1423
|
};
|
|
@@ -1238,6 +1550,11 @@ export type LaunchpadV7 = {
|
|
|
1238
1550
|
option: "publicKey";
|
|
1239
1551
|
};
|
|
1240
1552
|
index: false;
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
name: "accumulatorActivationDelaySeconds";
|
|
1556
|
+
type: "u32";
|
|
1557
|
+
index: false;
|
|
1241
1558
|
}
|
|
1242
1559
|
];
|
|
1243
1560
|
},
|
|
@@ -1307,6 +1624,11 @@ export type LaunchpadV7 = {
|
|
|
1307
1624
|
name: "totalCommitted";
|
|
1308
1625
|
type: "u64";
|
|
1309
1626
|
index: false;
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
name: "committedAmountAccumulator";
|
|
1630
|
+
type: "u128";
|
|
1631
|
+
index: false;
|
|
1310
1632
|
}
|
|
1311
1633
|
];
|
|
1312
1634
|
},
|
|
@@ -1695,6 +2017,11 @@ export type LaunchpadV7 = {
|
|
|
1695
2017
|
code: 6029;
|
|
1696
2018
|
name: "InvalidDao";
|
|
1697
2019
|
msg: "Invalid DAO";
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
code: 6030;
|
|
2023
|
+
name: "InvalidAccumulatorActivationDelaySeconds";
|
|
2024
|
+
msg: "Accumulator activation delay must be less than the launch duration";
|
|
1698
2025
|
}
|
|
1699
2026
|
];
|
|
1700
2027
|
};
|