Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions broadcast/011DeployPolygonSpokePool.s.sol/137/run-latest.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions broadcast/deployed-addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@
"block_number": 73247089
},
"Polygon_SpokePool": {
"address": "0xf5264e9198f70ea2e0b16337cb4718afadbf0a4e",
"transaction_hash": "0x9409b476e65032b629ad607cd61f175c62172e329a1b78e8a8624de261a84d15",
"block_number": 77216750
"address": "0x8f7b21ff11006f0520b06074d36e39b6cd83cf29",
"transaction_hash": "0x92801b64851c27c614e68b66dc26ab6831c1f2b95f3f805bd8646d1747105685",
"block_number": 77338915
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions broadcast/deployed-addresses.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,9 @@ This file contains the latest deployed smart contract addresses from the broadca

#### Polygon_SpokePool

- **Polygon_SpokePool**: `0xf5264e9198f70ea2e0b16337cb4718afadbf0a4e`
- Transaction Hash: `0x9409b476e65032b629ad607cd61f175c62172e329a1b78e8a8624de261a84d15`
- Block Number: `77216750`
- **Polygon_SpokePool**: `0x8f7b21ff11006f0520b06074d36e39b6cd83cf29`
- Transaction Hash: `0x92801b64851c27c614e68b66dc26ab6831c1f2b95f3f805bd8646d1747105685`
- Block Number: `77338915`

### Lens (Chain ID: 232)

Expand Down
6 changes: 5 additions & 1 deletion script/011DeployPolygonSpokePool.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ contract DeployPolygonSpokePool is Script, Test, DeploymentUtils {
// Get L2 addresses for Polygon
address cctpTokenMessenger = getL2Address(info.spokeChainId, "cctpV2TokenMessenger");

// Fee cap of 22K POL is roughly equivalent to $5K at current POL price of ~0.23
uint256 oftFeeCap = 22000 ether;

vm.startBroadcast(deployerPrivateKey);

// Prepare constructor arguments for Polygon_SpokePool
Expand All @@ -38,7 +41,7 @@ contract DeployPolygonSpokePool is Script, Test, DeploymentUtils {
getUSDCAddress(info.spokeChainId), // _usdc
cctpTokenMessenger, // _cctpTokenMessenger
getOftEid(info.hubChainId), // _oftDstEid
1 ether // _oftFeeCap
oftFeeCap // _oftFeeCap
);

// Initialize deposit counter to very high number of deposits to avoid duplicate deposit ID's
Expand Down Expand Up @@ -78,6 +81,7 @@ contract DeployPolygonSpokePool is Script, Test, DeploymentUtils {
console.log("QUOTE_TIME_BUFFER()", QUOTE_TIME_BUFFER());
console.log("FILL_DEADLINE_BUFFER()", FILL_DEADLINE_BUFFER());
console.log("OFT EID", getOftEid(info.hubChainId));
console.log("OFT Fee Cap:", oftFeeCap);

vm.stopBroadcast();
}
Expand Down
Loading