@glowlabs-org/utils 0.2.169 → 0.2.172

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/esm/index.js CHANGED
@@ -13,8 +13,8 @@ import { parseUnits, formatUnits } from 'viem';
13
13
  import { MerkleTree } from 'merkletreejs';
14
14
  import { solidityPackedKeccak256, keccak256 } from 'ethers';
15
15
  import Decimal from 'decimal.js';
16
- import { H as HUB_URL, U as USDG_WEIGHT_DECIMAL_PRECISION, G as GLOW_WEIGHT_DECIMAL_PRECISION, M as MAX_WEIGHT } from './calculate-farm-efficiency-Cq10L_Uq.js';
17
- export { C as ControlRouter, F as FarmsRouter, e as KICKSTARTER_STATUS, K as KickstarterRouter, O as OFF_CHAIN_PAYMENT_CURRENCIES, P as PAYMENT_CURRENCIES, d as REGIONS, R as RegionRouter, S as STAKING_DIRECTIONS, T as TRANSFER_TYPES, W as WalletsRouter, f as calculateFarmEfficiency, c as configureSentry, u as useForwarder, a as useOffchainFractions, b as useRewardsKernel } from './calculate-farm-efficiency-Cq10L_Uq.js';
16
+ import { H as HUB_URL, U as USDG_WEIGHT_DECIMAL_PRECISION, G as GLOW_WEIGHT_DECIMAL_PRECISION, M as MAX_WEIGHT } from './calculate-farm-efficiency-CAWTlnKI.js';
17
+ export { C as ControlRouter, F as FarmsRouter, e as KICKSTARTER_STATUS, K as KickstarterRouter, O as OFF_CHAIN_PAYMENT_CURRENCIES, P as PAYMENT_CURRENCIES, d as REGIONS, R as RegionRouter, S as STAKING_DIRECTIONS, T as TRANSFER_TYPES, W as WalletsRouter, f as calculateFarmEfficiency, c as configureSentry, u as useForwarder, a as useOffchainFractions, b as useRewardsKernel } from './calculate-farm-efficiency-CAWTlnKI.js';
18
18
 
19
19
  const GENESIS_TIMESTAMP = 1700352000;
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glowlabs-org/utils",
3
- "version": "0.2.169",
3
+ "version": "0.2.172",
4
4
  "description": "A library containing all typechain types and addresses relating to the glow guarded launch",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -21,7 +21,7 @@ export type ContractKeys =
21
21
 
22
22
  // Contract-specific addresses
23
23
  const mainnetAddresses: Record<ContractKeys, `0x${string}`> = {
24
- AUDIT_FEE_WALLET: "0x3ff5af3333ddc6048d98849ec5e67868494693c9", //aka GVE wallet
24
+ AUDIT_FEE_WALLET: "0x63a74612274fbc6ca3f7096586af01fd986d69ce", //aka GVE wallet
25
25
  IMPACT_CATALYST: "0x552Fbb4E0269fd5036daf72Ec006AAF6C958F4Fa",
26
26
  USDG_REDEMPTION: "0x1c2cA537757e1823400F857EdBe72B55bbAe0F08",
27
27
  USDG: "0xe010ec500720bE9EF3F82129E7eD2Ee1FB7955F2",
@@ -43,7 +43,7 @@ const mainnetAddresses: Record<ContractKeys, `0x${string}`> = {
43
43
  };
44
44
 
45
45
  const sepoliaAddresses: Record<ContractKeys, `0x${string}`> = {
46
- AUDIT_FEE_WALLET: "0x3ff5af3333ddc6048d98849ec5e67868494693c9",
46
+ AUDIT_FEE_WALLET: "0x63a74612274fbc6ca3f7096586af01fd986d69ce",
47
47
  IMPACT_CATALYST: "0xb793Ed3CD94357f0e1933b0bd19F921b99f4C72a",
48
48
  USDG_REDEMPTION: "0x04829038A6664C16eC994BFb87754Fa621e51135",
49
49
  USDG: "0xda78313A3fF949890112c1B746AB1c75d1b1c17B",
@@ -348,8 +348,8 @@ export function useForwarder(signer: Signer | undefined, CHAIN_ID: number) {
348
348
  throw new Error(`Unsupported currency for forwarding: ${currency}`);
349
349
  }
350
350
 
351
- // Determine sendToCounterfactualWallet based on currency
352
- const sendToCounterfactualWallet = true;
351
+ // Determine sendToCounterfactualWallet: false for audit fees (paid in USDC directly)
352
+ const sendToCounterfactualWallet = !isAuditFees;
353
353
 
354
354
  // Run a static call first to surface any revert reason (ethers v6)
355
355
  try {