diff --git a/src/templates/strategy/strategy-earnings.ts b/src/templates/strategy/strategy-earnings.ts index 41785aa7..383eeec1 100644 --- a/src/templates/strategy/strategy-earnings.ts +++ b/src/templates/strategy/strategy-earnings.ts @@ -64,7 +64,7 @@ const rewardTokenCollectedTransfersFilter = (strategyData: IStrategyData) => logFilter({ address: [oTokenValues[strategyData.oTokenAddress].rewardConversionToken], topic0: [erc20.events.Transfer.topic], - topic1: [oTokenValues[strategyData.oTokenAddress].harvester], + topic1: [...oTokenValues[strategyData.oTokenAddress].harvester], topic2: [oTokenValues[strategyData.oTokenAddress].dripper], range: { from: strategyData.from }, }) @@ -73,19 +73,19 @@ const oTokenValues = { [OUSD_ADDRESS]: { rewardConversionToken: USDT_ADDRESS, rewardConversionTokenDecimals: 6, - harvester: OUSD_HARVESTER_ADDRESS, + harvester: [OUSD_HARVESTER_ADDRESS], dripper: OUSD_DRIPPER_ADDRESS, }, [OETH_ADDRESS]: { rewardConversionToken: WETH_ADDRESS, rewardConversionTokenDecimals: 18, - harvester: OETH_HARVESTER_ADDRESS, + harvester: [OETH_HARVESTER_ADDRESS], dripper: OETH_DRIPPER_ADDRESS, }, [baseAddresses.superOETHb.address]: { rewardConversionToken: baseAddresses.tokens.WETH, rewardConversionTokenDecimals: 18, - harvester: baseAddresses.multisig['2/8'], + harvester: [baseAddresses.multisig['2/8'], baseAddresses.multisig['multichain-guardian']], dripper: baseAddresses.superOETHb.dripper, }, } as const diff --git a/src/utils/addresses-base.ts b/src/utils/addresses-base.ts index 2e05cee1..3ae9cdb9 100644 --- a/src/utils/addresses-base.ts +++ b/src/utils/addresses-base.ts @@ -118,6 +118,7 @@ export const baseAddresses = { multisig: { '5/8': '0x92a19381444a001d62ce67baff066fa1111d7202', '2/8': '0x28bce2ee5775b652d92bb7c2891a89f036619703', + 'multichain-guardian': '0x4ff1b9d9ba8558f5eafcec096318ea0d8b541971', reservoir: '0xb6d85ce798660076152d6fd3a484129668839c95', }, baseHotWallet: '0x3c112e20141b65041c252a68a611ef145f58b7bc', diff --git a/src/utils/addresses.ts b/src/utils/addresses.ts index 1162f264..1a9dc870 100644 --- a/src/utils/addresses.ts +++ b/src/utils/addresses.ts @@ -185,6 +185,10 @@ export const arm = { zapper: '0x01f30b7358ba51f637d1aa05d9b4a60f76dad680', } +export const multisig = { + 'multichain-guardian': '0x4ff1b9d9ba8558f5eafcec096318ea0d8b541971', +} + export const addresses = { tokens, strategies,