@glowlabs-org/utils 0.2.85 → 0.2.87
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/browser.js.map +1 -1
- package/dist/cjs/constants/addresses.d.ts +1 -2
- package/dist/cjs/lib/hooks/use-forwarder.d.ts +1 -1
- package/dist/cjs/lib/types/index.d.ts +2 -2
- package/dist/cjs/wallets-router-QMdVxcdl.js.map +1 -1
- package/dist/esm/browser.js.map +1 -1
- package/dist/esm/constants/addresses.d.ts +1 -2
- package/dist/esm/lib/hooks/use-forwarder.d.ts +1 -1
- package/dist/esm/lib/types/index.d.ts +2 -2
- package/dist/esm/wallets-router-kIhkVAED.js.map +1 -1
- package/package.json +1 -1
- package/src/constants/addresses.ts +1 -1
- package/src/lib/types/index.ts +2 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
type ContractKeys = "USDC" | "FORWARDER" | "FOUNDATION_WALLET" | "GLW" | "USDG" | "USDG_REDEMPTION" | "IMPACT_CATALYST" | "AUDIT_FEE_WALLET" | "UNISWAP_V2_ROUTER" | "UNISWAP_V2_FACTORY" | "USDG_UNISWAP" | "GLW_UNISWAP";
|
|
1
|
+
export type ContractKeys = "USDC" | "FORWARDER" | "FOUNDATION_WALLET" | "GLW" | "USDG" | "USDG_REDEMPTION" | "IMPACT_CATALYST" | "AUDIT_FEE_WALLET" | "UNISWAP_V2_ROUTER" | "UNISWAP_V2_FACTORY" | "USDG_UNISWAP" | "GLW_UNISWAP";
|
|
2
2
|
export declare const getAddresses: (CHAIN_ID: number) => Record<ContractKeys, `0x${string}`>;
|
|
3
3
|
export declare const DECIMALS_BY_TOKEN: Record<"USDC" | "USDG" | "GCTL" | "GLW", number>;
|
|
4
|
-
export {};
|
|
@@ -37,6 +37,6 @@ export declare function useForwarder(signer: Signer | undefined, CHAIN_ID: numbe
|
|
|
37
37
|
mintTestUSDC: (amount: bigint, recipient: string) => Promise<string>;
|
|
38
38
|
constructForwardMessage: (params: ForwardParams) => string;
|
|
39
39
|
readonly isProcessing: boolean;
|
|
40
|
-
addresses: Record<"
|
|
40
|
+
addresses: Record<import("../../constants/addresses").ContractKeys, `0x${string}`>;
|
|
41
41
|
isSignerAvailable: boolean;
|
|
42
42
|
};
|
|
@@ -226,7 +226,7 @@ export interface SponsoredFarm {
|
|
|
226
226
|
builtEpoch: number;
|
|
227
227
|
isPurchased: boolean;
|
|
228
228
|
builtAt?: string;
|
|
229
|
-
|
|
229
|
+
sponsorWallet: string | null;
|
|
230
230
|
afterInstallPictures: {
|
|
231
231
|
id: string;
|
|
232
232
|
name: string;
|
|
@@ -349,7 +349,7 @@ export interface WalletFarmInfo {
|
|
|
349
349
|
builtEpoch: number;
|
|
350
350
|
isPurchased: boolean;
|
|
351
351
|
builtAt?: string;
|
|
352
|
-
|
|
352
|
+
sponsorWallet: string | null;
|
|
353
353
|
}
|
|
354
354
|
export interface WalletDetails {
|
|
355
355
|
wallet: string;
|