Skip to content

Commit

Permalink
feat: $cCOP relayers deployment scripts (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvtaveras authored Oct 22, 2024
1 parent ac148b2 commit 8b130ad
Show file tree
Hide file tree
Showing 10 changed files with 861 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
"transactions": [
{
"hash": "0x454f3a7fd6dedcb6b8027ef52b195928a6a73618b1b4218649a0605afe1e56fc",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x247Cb6ECf21bDd2Bc29d726CcCC8d2F066211663",
"function": "deployRelayer(address,string,uint256,(address,bool)[])",
"arguments": [
"0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC",
"CELO/COP (CELO/USD:USD/COP)",
"86400",
"[(0x0568fD19986748cEfF3301e55c0eb1E729E0Ab7e, false), (0x97b770B0200CCe161907a9cbe0C6B177679f8F7C, true)]"
],
"transaction": {
"from": "0x56fD3F2bEE130e9867942D0F463a16fBE49B8d81",
"to": "0x247Cb6ECf21bDd2Bc29d726CcCC8d2F066211663",
"gas": "0x1791b8",
"value": "0x0",
"input": "0x472a111100000000000000000000000032abf1cbdfdcd56790f427694be2658d4b1a83bc0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000001518000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000001b43454c4f2f434f50202843454c4f2f5553443a5553442f434f5029000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000568fd19986748ceff3301e55c0eb1e729e0ab7e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000097b770b0200cce161907a9cbe0c6b177679f8f7c0000000000000000000000000000000000000000000000000000000000000001",
"nonce": "0x2b6",
"chainId": "0xa4ec"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": "0x9314d4aca4e10f22e673b30636234cf837bd93f5113b342f5a053c51c0aacb11",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x247Cb6ECf21bDd2Bc29d726CcCC8d2F066211663",
"function": "deployRelayer(address,string,uint256,(address,bool)[])",
"arguments": [
"0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1",
"COP/USD",
"0",
"[(0x97b770B0200CCe161907a9cbe0C6B177679f8F7C, false)]"
],
"transaction": {
"from": "0x56fD3F2bEE130e9867942D0F463a16fBE49B8d81",
"to": "0x247Cb6ECf21bDd2Bc29d726CcCC8d2F066211663",
"gas": "0x178221",
"value": "0x0",
"input": "0x472a11110000000000000000000000000196d1f4fda21fa442e53eaf18bf31282f6139f10000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000007434f502f55534400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000097b770b0200cce161907a9cbe0c6b177679f8f7c0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x2b7",
"chainId": "0xa4ec"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x1a5ca8",
"logs": [
{
"address": "0x247Cb6ECf21bDd2Bc29d726CcCC8d2F066211663",
"topics": [
"0xa293edbc5018bd43c95bab416b1cb297eb58222c3471c76b3b87051f720acb05",
"0x0000000000000000000000005926f76d43ce2d778880226b3c4e7156c8ece99e",
"0x00000000000000000000000032abf1cbdfdcd56790f427694be2658d4b1a83bc"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001b43454c4f2f434f50202843454c4f2f5553443a5553442f434f5029000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000568fd19986748ceff3301e55c0eb1e729e0ab7e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000097b770b0200cce161907a9cbe0c6b177679f8f7c0000000000000000000000000000000000000000000000000000000000000001",
"blockHash": "0x6806ef4bc707cd53a9e38264a5f85ac53c9703b48d76caa8dec1f0798f7a1824",
"blockNumber": "0x1ae461a",
"transactionHash": "0x454f3a7fd6dedcb6b8027ef52b195928a6a73618b1b4218649a0605afe1e56fc",
"transactionIndex": "0x2",
"logIndex": "0xe",
"removed": false
}
],
"logsBloom": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000001000000000000000000000000000000000040000000100000000000000004000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000a0000000000008000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000",
"type": "0x0",
"transactionHash": "0x454f3a7fd6dedcb6b8027ef52b195928a6a73618b1b4218649a0605afe1e56fc",
"transactionIndex": "0x2",
"blockHash": "0x6806ef4bc707cd53a9e38264a5f85ac53c9703b48d76caa8dec1f0798f7a1824",
"blockNumber": "0x1ae461a",
"gasUsed": "0x11104f",
"effectiveGasPrice": "0x2540be400",
"from": "0x56fD3F2bEE130e9867942D0F463a16fBE49B8d81",
"to": "0x247Cb6ECf21bDd2Bc29d726CcCC8d2F066211663",
"contractAddress": null
},
{
"status": "0x1",
"cumulativeGasUsed": "0x2b61ad",
"logs": [
{
"address": "0x247Cb6ECf21bDd2Bc29d726CcCC8d2F066211663",
"topics": [
"0xa293edbc5018bd43c95bab416b1cb297eb58222c3471c76b3b87051f720acb05",
"0x000000000000000000000000783f947126adb7646c2a459b867f5b526d2e6603",
"0x0000000000000000000000000196d1f4fda21fa442e53eaf18bf31282f6139f1"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000007434f502f55534400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000097b770b0200cce161907a9cbe0c6b177679f8f7c0000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x6806ef4bc707cd53a9e38264a5f85ac53c9703b48d76caa8dec1f0798f7a1824",
"blockNumber": "0x1ae461a",
"transactionHash": "0x9314d4aca4e10f22e673b30636234cf837bd93f5113b342f5a053c51c0aacb11",
"transactionIndex": "0x3",
"logIndex": "0xf",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000800000000000000000400000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000081000000000008000000000000000000000000000000000100000000000000000000000a00000000000000000000000000000000200000000002000000000000000000000000000000000000000000000000000000000",
"type": "0x0",
"transactionHash": "0x9314d4aca4e10f22e673b30636234cf837bd93f5113b342f5a053c51c0aacb11",
"transactionIndex": "0x3",
"blockHash": "0x6806ef4bc707cd53a9e38264a5f85ac53c9703b48d76caa8dec1f0798f7a1824",
"blockNumber": "0x1ae461a",
"gasUsed": "0x110505",
"effectiveGasPrice": "0x2540be400",
"from": "0x56fD3F2bEE130e9867942D0F463a16fBE49B8d81",
"to": "0x247Cb6ECf21bDd2Bc29d726CcCC8d2F066211663",
"contractAddress": null
}
],
"libraries": [
"lib/mento-core-2.0.0/contracts/common/linkedlists/AddressLinkedList.sol:AddressLinkedList:0x6200F54D73491d56b8d7A975C9ee18EFb4D518Df",
"lib/mento-core-2.0.0/contracts/common/linkedlists/AddressSortedLinkedListWithMedian.sol:AddressSortedLinkedListWithMedian:0xED477A99035d0c1e11369F1D7A4e587893cc002B"
],
"pending": [],
"returns": {},
"timestamp": 1728664414,
"chain": 42220,
"commit": "a9f3de3"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"transactions": [
{
"hash": "0xa5fc6a3df2785b03bc40c2b07fd50c5483176e22fa375127818b184208d5b027",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x172d6273364cC0c0B2be73aA1d4F20eb010CD1eB",
"function": "deployRelayer(address,string,uint256,(address,bool)[])",
"arguments": [
"0x32ABF1cBdFdcD56790f427694be2658d4B1A83bC",
"CELO/COP (CELO/USD:USD/COP)",
"86400",
"[(0x022F9dCC73C5Fb43F2b4eF2EF9ad3eDD1D853946, false), (0x8c07f12022FD7AfC700A410a0f109dD349d89B49, true)]"
],
"transaction": {
"from": "0x56fD3F2bEE130e9867942D0F463a16fBE49B8d81",
"to": "0x172d6273364cC0c0B2be73aA1d4F20eb010CD1eB",
"gas": "0x1791b8",
"value": "0x0",
"input": "0x472a111100000000000000000000000032abf1cbdfdcd56790f427694be2658d4b1a83bc0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000001518000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000001b43454c4f2f434f50202843454c4f2f5553443a5553442f434f502900000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000022f9dcc73c5fb43f2b4ef2ef9ad3edd1d85394600000000000000000000000000000000000000000000000000000000000000000000000000000000000000008c07f12022fd7afc700a410a0f109dd349d89b490000000000000000000000000000000000000000000000000000000000000001",
"nonce": "0x654",
"chainId": "0xaef3"
},
"additionalContracts": [],
"isFixedGasLimit": false
},
{
"hash": "0x2825c34515a48f3e12a7b94ea933ae5f8b6e2314a83a7f83d4f85305526c6c8e",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x172d6273364cC0c0B2be73aA1d4F20eb010CD1eB",
"function": "deployRelayer(address,string,uint256,(address,bool)[])",
"arguments": [
"0x0196D1F4FdA21fA442e53EaF18Bf31282F6139F1",
"COP/USD",
"0",
"[(0x8c07f12022FD7AfC700A410a0f109dD349d89B49, false)]"
],
"transaction": {
"from": "0x56fD3F2bEE130e9867942D0F463a16fBE49B8d81",
"to": "0x172d6273364cC0c0B2be73aA1d4F20eb010CD1eB",
"gas": "0x178221",
"value": "0x0",
"input": "0x472a11110000000000000000000000000196d1f4fda21fa442e53eaf18bf31282f6139f10000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000007434f502f5553440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000008c07f12022fd7afc700a410a0f109dd349d89b490000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x655",
"chainId": "0xaef3"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x11bd51",
"logs": [
{
"address": "0x172d6273364cC0c0B2be73aA1d4F20eb010CD1eB",
"topics": [
"0xa293edbc5018bd43c95bab416b1cb297eb58222c3471c76b3b87051f720acb05",
"0x000000000000000000000000ab461a2742291515e126a353c05ba0587117060a",
"0x00000000000000000000000032abf1cbdfdcd56790f427694be2658d4b1a83bc"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001b43454c4f2f434f50202843454c4f2f5553443a5553442f434f502900000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000022f9dcc73c5fb43f2b4ef2ef9ad3edd1d85394600000000000000000000000000000000000000000000000000000000000000000000000000000000000000008c07f12022fd7afc700a410a0f109dd349d89b490000000000000000000000000000000000000000000000000000000000000001",
"blockHash": "0x93a5bcfbb52729cd5fab9340a9af6d0aaf4377bfd3dbd01eb5c60d1c6896af1a",
"blockNumber": "0x1a6cf4c",
"transactionHash": "0xa5fc6a3df2785b03bc40c2b07fd50c5483176e22fa375127818b184208d5b027",
"transactionIndex": "0x1",
"logIndex": "0x0",
"removed": false
}
],
"logsBloom": "0x00000000000000010000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000008040000000000000004000000000000000100000000000000000000000000000000000004000000000000000000000000000000000000000040000400000000000000000000000000000000000000000",
"type": "0x0",
"transactionHash": "0xa5fc6a3df2785b03bc40c2b07fd50c5483176e22fa375127818b184208d5b027",
"transactionIndex": "0x1",
"blockHash": "0x93a5bcfbb52729cd5fab9340a9af6d0aaf4377bfd3dbd01eb5c60d1c6896af1a",
"blockNumber": "0x1a6cf4c",
"gasUsed": "0x1111f7",
"effectiveGasPrice": "0x5d22cfc40",
"from": "0x56fD3F2bEE130e9867942D0F463a16fBE49B8d81",
"to": "0x172d6273364cC0c0B2be73aA1d4F20eb010CD1eB",
"contractAddress": null,
"l1BaseFeeScalar": "0x558",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xc5fc5",
"l1Fee": "0x5a3b00e5b",
"l1GasPrice": "0x1775049de",
"l1GasUsed": "0xafb"
},
{
"status": "0x1",
"cumulativeGasUsed": "0x22c3fa",
"logs": [
{
"address": "0x172d6273364cC0c0B2be73aA1d4F20eb010CD1eB",
"topics": [
"0xa293edbc5018bd43c95bab416b1cb297eb58222c3471c76b3b87051f720acb05",
"0x00000000000000000000000046d7bb2ce340f677fd059181c77bab3a3cddac09",
"0x0000000000000000000000000196d1f4fda21fa442e53eaf18bf31282f6139f1"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000007434f502f5553440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000008c07f12022fd7afc700a410a0f109dd349d89b490000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x93a5bcfbb52729cd5fab9340a9af6d0aaf4377bfd3dbd01eb5c60d1c6896af1a",
"blockNumber": "0x1a6cf4c",
"transactionHash": "0x2825c34515a48f3e12a7b94ea933ae5f8b6e2314a83a7f83d4f85305526c6c8e",
"transactionIndex": "0x2",
"logIndex": "0x1",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000200000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000008040000000000000000000000000000000100000000000000000000000800000000000000000000000000000000200000000102000000000040000000000000000000000000000000000000000000000",
"type": "0x0",
"transactionHash": "0x2825c34515a48f3e12a7b94ea933ae5f8b6e2314a83a7f83d4f85305526c6c8e",
"transactionIndex": "0x2",
"blockHash": "0x93a5bcfbb52729cd5fab9340a9af6d0aaf4377bfd3dbd01eb5c60d1c6896af1a",
"blockNumber": "0x1a6cf4c",
"gasUsed": "0x1106a9",
"effectiveGasPrice": "0x5d22cfc40",
"from": "0x56fD3F2bEE130e9867942D0F463a16fBE49B8d81",
"to": "0x172d6273364cC0c0B2be73aA1d4F20eb010CD1eB",
"contractAddress": null,
"l1BaseFeeScalar": "0x558",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xc5fc5",
"l1Fee": "0x44c19db47",
"l1GasPrice": "0x1775049de",
"l1GasUsed": "0x85e"
}
],
"libraries": [
"lib/mento-core-2.0.0/contracts/common/linkedlists/AddressLinkedList.sol:AddressLinkedList:0x2F0F7686fFFEfc3C266403Ad600035581deaedff",
"lib/mento-core-2.0.0/contracts/common/linkedlists/AddressSortedLinkedListWithMedian.sol:AddressSortedLinkedListWithMedian:0x29B1B5e05217c751038861aF2C77494EAB10A257"
],
"pending": [],
"returns": {},
"timestamp": 1728664586,
"chain": 44787,
"commit": "88bce40"
}
Loading

0 comments on commit 8b130ad

Please sign in to comment.