Skip to content

Commit 8e29590

Browse files
fusmaniigrasphoper
authored andcommitted
CCTP Dst peripehry deploy
Signed-off-by: Faisal Usmani <faisal.of.usmani@gmail.com>
1 parent 2ac2886 commit 8e29590

File tree

6 files changed

+93
-94
lines changed

6 files changed

+93
-94
lines changed

broadcast/114DeploySponsoredCCTPDstPeriphery.sol/999/run-latest.json

Lines changed: 82 additions & 82 deletions
Large diffs are not rendered by default.

broadcast/deployed-addresses.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@
504504
"transaction_hash": "0xe617eb954e31dc4305f9ddcd9badd2e0e707e4b9c266e16fddaf8e7c23180fde"
505505
},
506506
"SponsoredCCTPDstPeriphery": {
507-
"address": "0xb63c02e60c05f05975653edc83f876c334e07c6d",
508-
"block_number": 21313320,
509-
"transaction_hash": "0x7ba663e21e7399474f6ce30190460110c285ff703b1bc1f661936550fd4997a5"
507+
"address": "0x1c709fd0db6a6b877ddb19ae3d485b7b4add879f",
508+
"block_number": 21416410,
509+
"transaction_hash": "0x9c7604f9254450f13b0941008f5272f68ec58db61f32e5ee6713e72b4b56de0b"
510510
},
511511
"PermissionedMulticallHandler": {
512512
"address": "0xfd0876712dd9003d014cdcd8e5140b4efac9bfcc",

broadcast/deployed-addresses.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ This file contains the latest deployed smart contract addresses from the broadca
164164

165165
| Contract Name | Address |
166166
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
167-
| DonationBox | [0xbC217096db9EB6d2782c1d9E725D462077a4d1f6](https://hyperevmscan.io//address/0xbC217096db9EB6d2782c1d9E725D462077a4d1f6) |
167+
| DonationBox | [0x039d62C549F27ead0eB9B567d8776289e5020583](https://hyperevmscan.io//address/0x039d62C549F27ead0eB9B567d8776289e5020583) |
168168
| DonationBox | [0x3D589D40312Bf2d20f13cD0AF26A11144a9cA844](https://hyperevmscan.io//address/0x3D589D40312Bf2d20f13cD0AF26A11144a9cA844) |
169169
| DstOFTHandler | [0xc8786D517b4e224bB43985A38dBeF8588D7354CD](https://hyperevmscan.io//address/0xc8786D517b4e224bB43985A38dBeF8588D7354CD) |
170170
| Helios | [0xc19B7EF43a6eBd393446F401d1eCFac01B181ac0](https://hyperevmscan.io//address/0xc19B7EF43a6eBd393446F401d1eCFac01B181ac0) |
@@ -174,7 +174,7 @@ This file contains the latest deployed smart contract addresses from the broadca
174174
| SpokePool | [0x35E63eA3eb0fb7A3bc543C71FB66412e1F6B0E04](https://hyperevmscan.io//address/0x35E63eA3eb0fb7A3bc543C71FB66412e1F6B0E04) |
175175
| SpokePoolPeriphery | [0xF1BF00D947267Da5cC63f8c8A60568c59FA31bCb](https://hyperevmscan.io//address/0xF1BF00D947267Da5cC63f8c8A60568c59FA31bCb) |
176176
| SpokePoolVerifier | [0x3Fb9cED51E968594C87963a371Ed90c39519f65A](https://hyperevmscan.io//address/0x3Fb9cED51E968594C87963a371Ed90c39519f65A) |
177-
| SponsoredCCTPDstPeriphery | [0xb63c02e60C05F05975653edC83F876C334E07C6d](https://hyperevmscan.io//address/0xb63c02e60C05F05975653edC83F876C334E07C6d) |
177+
| SponsoredCCTPDstPeriphery | [0x1c709Fd0Db6A6B877Ddb19ae3D485B7b4ADD879f](https://hyperevmscan.io//address/0x1c709Fd0Db6A6B877Ddb19ae3D485B7b4ADD879f) |
178178

179179
## Lisk (1135)
180180

script/mintburn/cctp/114DeploySponsoredCCTPDstPeriphery.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ contract DeploySponsoredCCTPDstPeriphery is DeploymentUtils {
3030
address baseToken = config.get("baseToken").toAddress();
3131
address multicallHandler = config.get("multicallHandler").toAddress();
3232

33-
// TODO: use create2 for final deployment
3433
SponsoredCCTPDstPeriphery sponsoredCCTPDstPeriphery = new SponsoredCCTPDstPeriphery(
3534
cctpMessageTransmitter,
3635
deployer,

script/mintburn/cctp/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ endpoint_url = "${NODE_URL_999}"
9393
cctpMessageTransmitter = "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64"
9494
# USDC
9595
baseToken = "0xb88339CB7199b77E23DB6E890353E22632Ba630f"
96-
multicallHandler = "0x5E7840E06fAcCb6d1c3b5F5E0d1d3d07F2829bba"
96+
multicallHandler = "0xfD0876712DD9003D014CDCd8e5140B4EFAC9BFCC"
9797

9898
[999.uint]
9999
cctpDomainId = 19

script/mintburn/cctp/createSponsoredDeposit.sol

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,18 +85,18 @@ contract CreateSponsoredDeposit is DeploymentUtils {
8585
SponsoredCCTPInterface.SponsoredCCTPQuote memory quote = SponsoredCCTPInterface.SponsoredCCTPQuote({
8686
sourceDomain: config.get("cctpDomainId").toUint32(), // Arbitrum CCTP domain
8787
destinationDomain: 19, // HyperEVM CCTP domain
88-
mintRecipient: address(0xb63c02e60C05F05975653edC83F876C334E07C6d).toBytes32(), // Destination handler contract
89-
amount: 1000000, // 100 USDC (6 decimals)
88+
mintRecipient: address(0x1c709Fd0Db6A6B877Ddb19ae3D485B7b4ADD879f).toBytes32(), // Destination handler contract
89+
amount: 11000000, // 100 USDC (6 decimals)
9090
burnToken: config.get("usdc").toAddress().toBytes32(), // USDC on Arbitrum
91-
destinationCaller: address(0xb63c02e60C05F05975653edC83F876C334E07C6d).toBytes32(), // Destination handler contract
92-
maxFee: 1400, // 0 max fee
91+
destinationCaller: address(0x1c709Fd0Db6A6B877Ddb19ae3D485B7b4ADD879f).toBytes32(), // Destination handler contract
92+
maxFee: 1100, // 0 max fee
9393
minFinalityThreshold: 1000, // Minimum finality threshold
9494
nonce: keccak256(abi.encodePacked(block.timestamp, deployer, vm.getNonce(deployer))), // Generate nonce
9595
deadline: block.timestamp + 10800, // 3 hours from now
9696
maxBpsToSponsor: 400, // 4% max sponsorship (400 basis points)
9797
maxUserSlippageBps: 400, // 4% max user slippage (400 basis points)
9898
finalRecipient: address(0x9A8f92a830A5cB89a3816e3D267CB7791c16b04D).toBytes32(), // Final recipient
99-
finalToken: address(0xb88339CB7199b77E23DB6E890353E22632Ba630f).toBytes32(), // USDC on HyperEVM
99+
finalToken: address(0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb).toBytes32(), // USDC on HyperEVM
100100
executionMode: uint8(SponsoredCCTPInterface.ExecutionMode.DirectToCore), // DirectToCore mode
101101
actionData: emptyActionData // Empty for DirectToCore mode
102102
});

0 commit comments

Comments
 (0)