Skip to content

Commit

Permalink
add new multichain guardian multisig
Browse files Browse the repository at this point in the history
  • Loading branch information
apexearth committed Jan 3, 2025
1 parent 3463c34 commit f0c0355
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/templates/strategy/strategy-earnings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
})
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/utils/addresses-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export const baseAddresses = {
multisig: {
'5/8': '0x92a19381444a001d62ce67baff066fa1111d7202',
'2/8': '0x28bce2ee5775b652d92bb7c2891a89f036619703',
'multichain-guardian': '0x4ff1b9d9ba8558f5eafcec096318ea0d8b541971',
reservoir: '0xb6d85ce798660076152d6fd3a484129668839c95',
},
baseHotWallet: '0x3c112e20141b65041c252a68a611ef145f58b7bc',
Expand Down
4 changes: 4 additions & 0 deletions src/utils/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ export const arm = {
zapper: '0x01f30b7358ba51f637d1aa05d9b4a60f76dad680',
}

export const multisig = {
'multichain-guardian': '0x4ff1b9d9ba8558f5eafcec096318ea0d8b541971',
}

export const addresses = {
tokens,
strategies,
Expand Down

0 comments on commit f0c0355

Please sign in to comment.