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
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ deploy-on-testnets:
OPTIONS="--verify --verifier etherscan --verifier-api-key $(ETHERSCAN_API_KEY) --verifier-url $(ETHERSCAN_API_URL)"

deploy-all: # SOURCE_CHAIN, SOURCE_RPC, TARGET_CHAIN, TARGET_RPC, OPTIONS
$(MAKE) deploy-contract CONTRACT=RLCLiquidityUnifier CHAIN=$(SOURCE_CHAIN) RPC_URL=$(SOURCE_RPC) OPTIONS=$(OPTIONS) || true
$(MAKE) deploy-contract CONTRACT=bridges/layerZero/IexecLayerZeroBridge CHAIN=$(SOURCE_CHAIN) RPC_URL=$(SOURCE_RPC) OPTIONS=$(OPTIONS) || true
$(MAKE) deploy-contract CONTRACT=RLCCrosschainToken CHAIN=$(TARGET_CHAIN) RPC_URL=$(TARGET_RPC) OPTIONS=$(OPTIONS) || true
$(MAKE) deploy-contract CONTRACT=bridges/layerZero/IexecLayerZeroBridge CHAIN=$(TARGET_CHAIN) RPC_URL=$(TARGET_RPC) OPTIONS=$(OPTIONS) || true
$(MAKE) deploy-contract CONTRACT=RLCLiquidityUnifier CHAIN=$(SOURCE_CHAIN) RPC_URL=$(SOURCE_RPC) OPTIONS="$(OPTIONS)"
$(MAKE) deploy-contract CONTRACT=bridges/layerZero/IexecLayerZeroBridge CHAIN=$(SOURCE_CHAIN) RPC_URL=$(SOURCE_RPC) OPTIONS="$(OPTIONS)"
$(MAKE) deploy-contract CONTRACT=RLCCrosschainToken CHAIN=$(TARGET_CHAIN) RPC_URL=$(TARGET_RPC) OPTIONS="$(OPTIONS)"
$(MAKE) deploy-contract CONTRACT=bridges/layerZero/IexecLayerZeroBridge CHAIN=$(TARGET_CHAIN) RPC_URL=$(TARGET_RPC) OPTIONS="$(OPTIONS)"
$(MAKE) configure-bridge SOURCE_CHAIN=$(SOURCE_CHAIN) TARGET_CHAIN=$(TARGET_CHAIN) RPC_URL=$(SOURCE_RPC)
$(MAKE) configure-bridge SOURCE_CHAIN=$(TARGET_CHAIN) TARGET_CHAIN=$(SOURCE_CHAIN) RPC_URL=$(TARGET_RPC)
@echo "Deployment completed."
Expand Down
162 changes: 135 additions & 27 deletions broadcast/IexecLayerZeroBridge.s.sol/11155111/run-latest.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,65 @@
{
"transactions": [
{
"hash": "0x67be1884d8bc7cb8eeee770d631eaec7c5178e2ba7d169f7da10f704b0631722",
"hash": "0x84f2ee12579ccf50df2a377e4982dee79c0d619085a87b3c421b3ba92d56f66a",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x68cc55914cbc2630c2c60f49531e4b70b33399ff",
"contractAddress": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
"function": "setPeer(uint32,bytes32)",
"arguments": [
"40231",
"0x00000000000000000000000062fa14c85638eb81ef38121591dcb8e4e12ce9fc"
"0x0000000000000000000000004fce023890f5c9acdb04645b2801ff89793dd84e"
],
"transaction": {
"from": "0x29d9fb59587af02ae3bee909babdd0ac75580009",
"to": "0x68cc55914cbc2630c2c60f49531e4b70b33399ff",
"gas": "0x11c2a",
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
"to": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
"gas": "0x11c67",
"value": "0x0",
"input": "0x3400288b0000000000000000000000000000000000000000000000000000000000009d2700000000000000000000000062fa14c85638eb81ef38121591dcb8e4e12ce9fc",
"nonce": "0x11",
"input": "0x3400288b0000000000000000000000000000000000000000000000000000000000009d270000000000000000000000004fce023890f5c9acdb04645b2801ff89793dd84e",
"nonce": "0x13",
"chainId": "0xaa36a7"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": "0x58ef4068cb70edf182a860d158f230ff8a19ae9bcfee52e884dfa1cc7ac37d38",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
"function": "setEnforcedOptions((uint32,uint16,bytes)[])",
"arguments": [
"[(40231, 2, 0x00030100110100000000000000000000000000011170)]"
],
"transaction": {
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
"to": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
"gas": "0x1391a",
"value": "0x0",
"input": "0xb98bd0700000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000009d270000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000160003010011010000000000000000000000000001117000000000000000000000",
"nonce": "0x14",
"chainId": "0xaa36a7"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": "0xd5251901a9ec32b70a69723226e2de6bbeab25943f28c5c3f1c7cca50d0390d5",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x7c84a73d0ebb7b2db5160d34d812dc8632ee99da",
"function": "grantRole(bytes32,address)",
"arguments": [
"0xd7c4527c99f13bf6a80d3bc15ebce76f7f8256ab4fbf63363b10858db314c978",
"0xcF9A304C10bCfB7f00b290B6B6efa7DB071b4d0F"
],
"transaction": {
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
"to": "0x7c84a73d0ebb7b2db5160d34d812dc8632ee99da",
"gas": "0x1442d",
"value": "0x0",
"input": "0x2f2ff15dd7c4527c99f13bf6a80d3bc15ebce76f7f8256ab4fbf63363b10858db314c978000000000000000000000000cf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
"nonce": "0x15",
"chainId": "0xaa36a7"
},
"additionalContracts": [],
Expand All @@ -26,40 +69,105 @@
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x161869b",
"cumulativeGasUsed": "0x1bb271b",
"logs": [
{
"address": "0x68cc55914cbc2630c2c60f49531e4b70b33399ff",
"address": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
"topics": [
"0x238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000009d2700000000000000000000000062fa14c85638eb81ef38121591dcb8e4e12ce9fc",
"blockHash": "0x93c25f536537ad30444c2fafd4f1171dff843c1ebe99a87774ccc8830f936ecb",
"blockNumber": "0x84971c",
"transactionHash": "0x67be1884d8bc7cb8eeee770d631eaec7c5178e2ba7d169f7da10f704b0631722",
"transactionIndex": "0x132",
"logIndex": "0x1e4",
"data": "0x0000000000000000000000000000000000000000000000000000000000009d270000000000000000000000004fce023890f5c9acdb04645b2801ff89793dd84e",
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
"blockNumber": "0x8505c0",
"transactionHash": "0x84f2ee12579ccf50df2a377e4982dee79c0d619085a87b3c421b3ba92d56f66a",
"transactionIndex": "0xf1",
"logIndex": "0x196",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002001000000000000000000000000000000000000000200000000000000000040000000004000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x84f2ee12579ccf50df2a377e4982dee79c0d619085a87b3c421b3ba92d56f66a",
"transactionIndex": "0xf1",
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
"blockNumber": "0x8505c0",
"gasUsed": "0xcde8",
"effectiveGasPrice": "0x8b38af",
"blobGasUsed": "0x0",
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
"to": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
"contractAddress": null
},
{
"status": "0x1",
"cumulativeGasUsed": "0x1bc09ca",
"logs": [
{
"address": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
"topics": [
"0xbe4864a8e820971c0247f5992e2da559595f7bf076a21cb5928d443d2a13b674"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000009d270000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000160003010011010000000000000000000000000001117000000000000000000000",
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
"blockNumber": "0x8505c0",
"transactionHash": "0x58ef4068cb70edf182a860d158f230ff8a19ae9bcfee52e884dfa1cc7ac37d38",
"transactionIndex": "0xf2",
"logIndex": "0x197",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000002000000200000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x58ef4068cb70edf182a860d158f230ff8a19ae9bcfee52e884dfa1cc7ac37d38",
"transactionIndex": "0xf2",
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
"blockNumber": "0x8505c0",
"gasUsed": "0xe2af",
"effectiveGasPrice": "0x8b38af",
"blobGasUsed": "0x0",
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
"to": "0xcf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
"contractAddress": null
},
{
"status": "0x1",
"cumulativeGasUsed": "0x1bce773",
"logs": [
{
"address": "0x7c84a73d0ebb7b2db5160d34d812dc8632ee99da",
"topics": [
"0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d",
"0xd7c4527c99f13bf6a80d3bc15ebce76f7f8256ab4fbf63363b10858db314c978",
"0x000000000000000000000000cf9a304c10bcfb7f00b290b6b6efa7db071b4d0f",
"0x0000000000000000000000009990cfb1feb7f47297f54bef4d4ebedf6c5463a3"
],
"data": "0x",
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
"blockNumber": "0x8505c0",
"transactionHash": "0xd5251901a9ec32b70a69723226e2de6bbeab25943f28c5c3f1c7cca50d0390d5",
"transactionIndex": "0xf3",
"logIndex": "0x198",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000002000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000002000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000",
"logsBloom": "0x00000004000000000000000000000000000000000400000000000000000000000000000400000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000100000000000000009000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000200000000000002000000000000000000000000000000000000000001000000000000000800000000000000000000000004000000040000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"transactionHash": "0x67be1884d8bc7cb8eeee770d631eaec7c5178e2ba7d169f7da10f704b0631722",
"transactionIndex": "0x132",
"blockHash": "0x93c25f536537ad30444c2fafd4f1171dff843c1ebe99a87774ccc8830f936ecb",
"blockNumber": "0x84971c",
"gasUsed": "0xcdbc",
"effectiveGasPrice": "0x36e0152a",
"transactionHash": "0xd5251901a9ec32b70a69723226e2de6bbeab25943f28c5c3f1c7cca50d0390d5",
"transactionIndex": "0xf3",
"blockHash": "0x4171016ce0740778dfd573dc6d64d92aeb96d2171d45a26641ed1bf782de9380",
"blockNumber": "0x8505c0",
"gasUsed": "0xdda9",
"effectiveGasPrice": "0x8b38af",
"blobGasUsed": "0x0",
"from": "0x29d9fb59587af02ae3bee909babdd0ac75580009",
"to": "0x68cc55914cbc2630c2c60f49531e4b70b33399ff",
"from": "0x9990cfb1feb7f47297f54bef4d4ebedf6c5463a3",
"to": "0x7c84a73d0ebb7b2db5160d34d812dc8632ee99da",
"contractAddress": null
}
],
"libraries": [],
"pending": [],
"returns": {},
"timestamp": 1751619999,
"timestamp": 1751960381,
"chain": 11155111,
"commit": "bb43c60"
"commit": "166593c"
}
Loading