Skip to content

Commit

Permalink
Merge pull request #42 from aave/fix/41-update-paraswap-adapters
Browse files Browse the repository at this point in the history
fix: Update version paraswap adapters
  • Loading branch information
grothem authored Aug 23, 2023
2 parents 0dd8847 + 37c7dff commit 975e462
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/03_periphery_post/04_paraswap_adapters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { COMMON_DEPLOY_PARAMS } from "../../helpers/env";
import {
ConfigNames,
eNetwork,
GOVERNANCE_BRIDGE_EXECUTOR,
loadPoolConfig,
POOL_ADDRESSES_PROVIDER_ID,
POOL_ADMIN,
Expand Down Expand Up @@ -40,7 +41,7 @@ const func: DeployFunction = async function ({
const { address: addressesProvider } = await deployments.get(
POOL_ADDRESSES_PROVIDER_ID
);
const poolAdmin = POOL_ADMIN[network];
const poolAdmin = GOVERNANCE_BRIDGE_EXECUTOR[network] || POOL_ADMIN[network];

await deploy("ParaSwapLiquiditySwapAdapter", {
from: deployer,
Expand Down
2 changes: 2 additions & 0 deletions helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ export const DEFAULT_NAMED_ACCOUNTS = {

export const GOVERNANCE_BRIDGE_EXECUTOR: { [key: string]: string } = {
[ePolygonNetwork.polygon]: "0xdc9A35B16DB4e126cFeDC41322b3a36454B1F772",
[eOptimismNetwork.main]: "0x7d9103572bE58FfE99dc390E8246f02dcAe6f611",
[eArbitrumNetwork.arbitrum]: "0x7d9103572bE58FfE99dc390E8246f02dcAe6f611",
};

export const MULTISIG_ADDRESS: { [key: string]: string } = {
Expand Down
1 change: 1 addition & 0 deletions markets/aave/commons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export const CommonsConfig: ICommonConfiguration = {
[eFantomNetwork.main]: "0x161383b5dAFc1cc05Ec058e5B0b0703BA175bdA6",
[eArbitrumNetwork.arbitrum]: "0xdC6E2b14260F972ad4e5a31c68294Fba7E720701",
[eEthereumNetwork.tenderly]: "0xa68bEA62Dc4034A689AA0F58A76681433caCa663",
[eOptimismNetwork.main]: "0x6e7bE86000dF697facF4396efD2aE2C322165dC3",
},
FlashLoanPremiums: {
total: 0.0005e4,
Expand Down

0 comments on commit 975e462

Please sign in to comment.