Skip to content

Commit 3a8430d

Browse files
committed
feat: add soneium support
1 parent 5babc41 commit 3a8430d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/utils/viem/appConfig.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
GovernanceV3Optimism,
1414
GovernanceV3Polygon,
1515
GovernanceV3Scroll,
16+
GovernanceV3Soneium,
1617
GovernanceV3Sonic,
1718
GovernanceV3ZkSync,
1819
} from '@bgd-labs/aave-address-book';
@@ -32,6 +33,7 @@ import {
3233
polygon,
3334
scroll,
3435
sepolia,
36+
soneium,
3537
sonic,
3638
zksync,
3739
} from 'viem/chains';
@@ -134,6 +136,10 @@ export const payloadsControllerConfig: Record<
134136
dataHelperContractAddress: GovernanceV3Celo.PC_DATA_HELPER,
135137
contractAddresses: [GovernanceV3Celo.PAYLOADS_CONTROLLER],
136138
},
139+
[soneium.id]: {
140+
dataHelperContractAddress: GovernanceV3Soneium.PC_DATA_HELPER,
141+
contractAddresses: [GovernanceV3Soneium.PAYLOADS_CONTROLLER],
142+
},
137143
},
138144
// testnets
139145
sepolia: {
@@ -225,6 +231,7 @@ export const payloadsControllerChainIds: Record<CoreNetworkName, number[]> = {
225231
linea.id,
226232
sonic.id,
227233
celo.id,
234+
soneium.id,
228235
],
229236
sepolia: [sepolia.id, avalancheFuji.id],
230237
};

0 commit comments

Comments
 (0)