Skip to content

Commit

Permalink
pay contract: new deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewliu08 committed Nov 5, 2024
1 parent 8f1c8c0 commit f9aaff5
Show file tree
Hide file tree
Showing 28 changed files with 1,329 additions and 993 deletions.
36 changes: 18 additions & 18 deletions packages/contract/broadcast/DeployDaimoPay.s.sol/1/run-latest.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/contract/script/deployV2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SCRIPTS=(
# "script/pay/DeployDaimoPayBridger.s.sol"
# "script/pay/DeployPayIntentFactory.s.sol"
# "script/pay/DeployDaimoPay.s.sol"
# "script/pay/DeployDaimoPayRelayer.s.sol" # The deployer must be the LP that calls this contract.
"script/pay/DeployDaimoPayRelayer.s.sol" # The deployer must be the LP that calls this contract.

# DAv2
# "script/DeployFlexSwapperUniOnly.s.sol"
Expand All @@ -41,7 +41,7 @@ CHAINS=(
# "$ETHERSCAN_API_KEY_POLYGON,https://polygon-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY"
# "$ETHERSCAN_API_KEY_LINEA,https://linea-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY"
# "$ETHERSCAN_API_KEY_BSC,https://bnb-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY"
# "$ETHERSCAN_API_KEY_L1,https://eth-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY" # Expensive, deploy last
"$ETHERSCAN_API_KEY_L1,https://eth-mainnet.g.alchemy.com/v2/$ALCHEMY_API_KEY" # Expensive, deploy last

# Not supporting Avalanche, skip.
# No Alchemy for Avalanche, Etherscan key is "verifyContract"
Expand Down
7 changes: 6 additions & 1 deletion packages/contract/script/pay/DeployDaimoPayBridger.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,13 @@ contract DeployDaimoPayBridger is Script {

if (block.chainid == LINEA_MAINNET) {
// Linea bridges to other chains using Across. Override all bridgers with Across.
// The only exception is BSC, which uses Axelar.
for (uint256 i = 0; i < bridgers.length; ++i) {
bridgers[i] = acrossBridger;
if (chainIds[i] == BSC_MAINNET) {
bridgers[i] = axelarBridger;
} else {
bridgers[i] = acrossBridger;
}
}
} else if (block.chainid == BSC_MAINNET) {
// BSC bridges to other chains using Axelar. Override all bridgers with Axelar.
Expand Down

0 comments on commit f9aaff5

Please sign in to comment.