@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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var calculateFarmEfficiency = require('./calculate-farm-efficiency-BVpffn8k.js');
3
+ var calculateFarmEfficiency = require('./calculate-farm-efficiency-CIHgzMwj.js');
4
4
  require('decimal.js');
5
5
  var viem = require('viem');
6
6
  require('ethers');
@@ -248,7 +248,7 @@ const ERC20_ABI = [
248
248
 
249
249
  // Contract-specific addresses
250
250
  const mainnetAddresses = {
251
- AUDIT_FEE_WALLET: "0x3ff5af3333ddc6048d98849ec5e67868494693c9", //aka GVE wallet
251
+ AUDIT_FEE_WALLET: "0x63a74612274fbc6ca3f7096586af01fd986d69ce", //aka GVE wallet
252
252
  IMPACT_CATALYST: "0x552Fbb4E0269fd5036daf72Ec006AAF6C958F4Fa",
253
253
  USDG_REDEMPTION: "0x1c2cA537757e1823400F857EdBe72B55bbAe0F08",
254
254
  USDG: "0xe010ec500720bE9EF3F82129E7eD2Ee1FB7955F2",
@@ -269,7 +269,7 @@ const mainnetAddresses = {
269
269
  FOUNDATION_HOT_WALLET_PD: "0x465E5573c648BC50a11911Cd48D0e279F4409Ec8",
270
270
  };
271
271
  const sepoliaAddresses = {
272
- AUDIT_FEE_WALLET: "0x3ff5af3333ddc6048d98849ec5e67868494693c9",
272
+ AUDIT_FEE_WALLET: "0x63a74612274fbc6ca3f7096586af01fd986d69ce",
273
273
  IMPACT_CATALYST: "0xb793Ed3CD94357f0e1933b0bd19F921b99f4C72a",
274
274
  USDG_REDEMPTION: "0x04829038A6664C16eC994BFb87754Fa621e51135",
275
275
  USDG: "0xda78313A3fF949890112c1B746AB1c75d1b1c17B",
@@ -767,8 +767,8 @@ function useForwarder(signer, CHAIN_ID) {
767
767
  default:
768
768
  throw new Error(`Unsupported currency for forwarding: ${currency}`);
769
769
  }
770
- // Determine sendToCounterfactualWallet based on currency
771
- const sendToCounterfactualWallet = true;
770
+ // Determine sendToCounterfactualWallet: false for audit fees (paid in USDC directly)
771
+ const sendToCounterfactualWallet = !isAuditFees;
772
772
  // Run a static call first to surface any revert reason (ethers v6)
773
773
  try {
774
774
  if (!isAuditFees && currency === "USDC") {
@@ -5331,4 +5331,4 @@ exports.useOffchainFractions = useOffchainFractions;
5331
5331
  exports.useRewardsKernel = useRewardsKernel;
5332
5332
  exports.waitForEthersTransactionWithRetry = waitForEthersTransactionWithRetry;
5333
5333
  exports.waitForViemTransactionWithRetry = waitForViemTransactionWithRetry;
5334
- //# sourceMappingURL=calculate-farm-efficiency-BVpffn8k.js.map
5334
+ //# sourceMappingURL=calculate-farm-efficiency-CIHgzMwj.js.map