@glowlabs-org/utils 0.2.68 → 0.2.71
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/cjs/lib/control-api/kickstarter-router.d.ts +2 -4
- package/dist/cjs/lib/types/index.d.ts +22 -0
- package/dist/cjs/wallets-router-BlUnsu7X.js.map +1 -1
- package/dist/esm/lib/control-api/kickstarter-router.d.ts +2 -4
- package/dist/esm/lib/types/index.d.ts +22 -0
- package/dist/esm/wallets-router-0gtxkell.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/control-api/kickstarter-router.ts +3 -6
- package/src/lib/types/index.ts +24 -0
|
@@ -181,6 +181,11 @@ export interface Kickstarter {
|
|
|
181
181
|
kickoffMintTxId?: string;
|
|
182
182
|
kickoffStakeEventId?: string;
|
|
183
183
|
}
|
|
184
|
+
export interface KickstarterDetails extends Kickstarter {
|
|
185
|
+
contributorsCount: number;
|
|
186
|
+
farmCount: number;
|
|
187
|
+
solarFarmApplications: SolarFarmApplication[];
|
|
188
|
+
}
|
|
184
189
|
export interface CommitKickstarterPayload {
|
|
185
190
|
wallet: string;
|
|
186
191
|
amount: string;
|
|
@@ -217,9 +222,26 @@ export interface SponsoredFarm {
|
|
|
217
222
|
isPurchased: boolean;
|
|
218
223
|
builtAt?: string;
|
|
219
224
|
purchaserWallet: string | null;
|
|
225
|
+
afterInstallPictures: {
|
|
226
|
+
id: string;
|
|
227
|
+
name: string;
|
|
228
|
+
url: string;
|
|
229
|
+
isShowingSolarPanels: boolean;
|
|
230
|
+
}[];
|
|
231
|
+
}
|
|
232
|
+
export interface SolarFarmApplication {
|
|
233
|
+
applicationId: string;
|
|
234
|
+
farmId: string | null;
|
|
235
|
+
farmOwnerWallet: string;
|
|
236
|
+
regionId: number;
|
|
237
|
+
gcaWallet: string;
|
|
238
|
+
protocolDepositUSDC6Decimals: string;
|
|
239
|
+
status: "audit_fees_paid" | "completed";
|
|
240
|
+
createdAt: string;
|
|
220
241
|
}
|
|
221
242
|
export interface RegionDetails extends RegionWithMetadata {
|
|
222
243
|
sponsoredFarms: SponsoredFarm[];
|
|
244
|
+
solarFarmApplications: SolarFarmApplication[];
|
|
223
245
|
glwPerWeek: number;
|
|
224
246
|
usdgPerWeek: number;
|
|
225
247
|
gctlPerWeek: number;
|