@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.
@@ -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<"USDC" | "GLW" | "USDG" | "FORWARDER" | "FOUNDATION_WALLET" | "USDG_REDEMPTION" | "IMPACT_CATALYST" | "AUDIT_FEE_WALLET" | "UNISWAP_V2_ROUTER" | "UNISWAP_V2_FACTORY" | "USDG_UNISWAP" | "GLW_UNISWAP", `0x${string}`>;
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
- purchaserWallet: string | null;
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
- purchaserWallet: string | null;
352
+ sponsorWallet: string | null;
353
353
  }
354
354
  export interface WalletDetails {
355
355
  wallet: string;