Skip to content

Commit

Permalink
Records from transfer of OP to smartescrow (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
anikaraghu authored Aug 13, 2024
1 parent bd8c139 commit 7a020d4
Show file tree
Hide file tree
Showing 5 changed files with 338 additions and 4 deletions.
6 changes: 3 additions & 3 deletions mainnet/2024-07-30-transfer-op/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ sign-op:
approve-cb:
forge script --rpc-url $(OPTIMISM_RPC_URL) TransferOPTokens \
--sig "approve(address,bytes)" $(CB_MULTISIG) $(SIGNATURES) \
--ledger --hd-paths "m/44'/60'/$(LEDGER_ACCOUNT)'/0/0"
--ledger --hd-paths "m/44'/60'/$(LEDGER_ACCOUNT)'/0/0" --broadcast

.PHONY: approve-op
approve-op:
forge script --rpc-url $(OPTIMISM_RPC_URL) TransferOPTokens \
--sig "approve(address,bytes)" $(OP_MULTISIG) $(SIGNATURES) \
--ledger --hd-paths "m/44'/60'/$(LEDGER_ACCOUNT)'/0/0"
--ledger --hd-paths "m/44'/60'/$(LEDGER_ACCOUNT)'/0/0" --broadcast

.PHONY: execute
execute:
forge script --rpc-url $(OPTIMISM_RPC_URL) TransferOPTokens \
--sig "run()" --ledger --hd-paths "m/44'/60'/$(LEDGER_ACCOUNT)'/0/0"
--sig "run()" --ledger --hd-paths "m/44'/60'/$(LEDGER_ACCOUNT)'/0/0" --broadcast
3 changes: 2 additions & 1 deletion mainnet/2024-07-30-transfer-op/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Transfer OP Tokens to SmartEscrow

Status: READY TO SIGN
Status: EXECUTED
Tx hash: https://optimistic.etherscan.io/tx/0xf1278d1e3fca35113e2b411a58c69b993e1171021097afbdd6f6b02407deb0ce

## Objective

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"transactions": [
{
"hash": "0x85a6f0f9a3cceada295fdbe30b592ad1d6d44deeb71f61eb94281a1d9820fd94",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x2501c477d0a35545a387aa4a3eee4292a9a8b3f0",
"function": "execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes)",
"arguments": [
"0xcA11bde05977b3631167028862bE2a173976CA11",
"0",
"0x82ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7361e734cf3f0394b0fc4a45c74e7a4ec70940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000024d4d9bdcd1d38be23d0b92d8ea16e4cff18261df02b6f458a98c310c206003927e82cb4b400000000000000000000000000000000000000000000000000000000",
"1",
"0",
"0",
"0",
"0x0000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000",
"0xea948572255ca3205219cb336b2e33fbf7250ebddebe8e0fb5e53c658ac622db4c82c78576a13c8d4a84bf17aab86045320b1f9a7ded692ed23bbac519440a6a1b9b024bc5278146d33be19492c7987a883e719e1dd166b407a5b778d9e6bd93847a38e86a45ce36900f5d3bb17aa7ee6ea64f6c00ab48858e76b56f57fc80fbf91cb545be8e287db8b8a52062723860dfd68f494f64c174cb713659086d0027f6e13d74cdc8ef60ec1fb6bf8422319b305dbc9203dc046276d6ff3cc224ff782c571b"
],
"transaction": {
"from": "0xbbc9b955be73ca4eeb28e988e9d21d2538978f03",
"to": "0x2501c477d0a35545a387aa4a3eee4292a9a8b3f0",
"gas": "0x262d9",
"value": "0x0",
"input": "0x6a761202000000000000000000000000ca11bde05977b3631167028862be2a173976ca110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000000000012482ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7361e734cf3f0394b0fc4a45c74e7a4ec70940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000024d4d9bdcd1d38be23d0b92d8ea16e4cff18261df02b6f458a98c310c206003927e82cb4b4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c3ea948572255ca3205219cb336b2e33fbf7250ebddebe8e0fb5e53c658ac622db4c82c78576a13c8d4a84bf17aab86045320b1f9a7ded692ed23bbac519440a6a1b9b024bc5278146d33be19492c7987a883e719e1dd166b407a5b778d9e6bd93847a38e86a45ce36900f5d3bb17aa7ee6ea64f6c00ab48858e76b56f57fc80fbf91cb545be8e287db8b8a52062723860dfd68f494f64c174cb713659086d0027f6e13d74cdc8ef60ec1fb6bf8422319b305dbc9203dc046276d6ff3cc224ff782c571b0000000000000000000000000000000000000000000000000000000000",
"nonce": "0x1",
"chainId": "0xa"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x23bbfa",
"logs": [
{
"address": "0x2501c477d0a35545a387aa4a3eee4292a9a8b3f0",
"topics": [
"0x66753cd2356569ee081232e3be8909b950e0a76c1f8460c3a5e3c2be32b11bed"
],
"data": "0x000000000000000000000000ca11bde05977b3631167028862be2a173976ca110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000012482ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7361e734cf3f0394b0fc4a45c74e7a4ec70940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000024d4d9bdcd1d38be23d0b92d8ea16e4cff18261df02b6f458a98c310c206003927e82cb4b4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c3ea948572255ca3205219cb336b2e33fbf7250ebddebe8e0fb5e53c658ac622db4c82c78576a13c8d4a84bf17aab86045320b1f9a7ded692ed23bbac519440a6a1b9b024bc5278146d33be19492c7987a883e719e1dd166b407a5b778d9e6bd93847a38e86a45ce36900f5d3bb17aa7ee6ea64f6c00ab48858e76b56f57fc80fbf91cb545be8e287db8b8a52062723860dfd68f494f64c174cb713659086d0027f6e13d74cdc8ef60ec1fb6bf8422319b305dbc9203dc046276d6ff3cc224ff782c571b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000082000000000000000000000000bbc9b955be73ca4eeb28e988e9d21d2538978f030000000000000000000000000000000000000000000000000000000000000003",
"blockHash": "0x3a74b35c4aae824abee794a2ea820c5e74d391dfca1b3cd280fe0e0ca690202d",
"blockNumber": "0x760a6d7",
"transactionHash": "0x85a6f0f9a3cceada295fdbe30b592ad1d6d44deeb71f61eb94281a1d9820fd94",
"transactionIndex": "0xc",
"logIndex": "0x36",
"removed": false
},
{
"address": "0x0a7361e734cf3f0394b0fc4a45c74e7a4ec70940",
"topics": [
"0xf2a0eb156472d1440255b0d7c1e19cc07115d1051fe605b0dce69acfec884d9c",
"0x1d38be23d0b92d8ea16e4cff18261df02b6f458a98c310c206003927e82cb4b4",
"0x0000000000000000000000002501c477d0a35545a387aa4a3eee4292a9a8b3f0"
],
"data": "0x",
"blockHash": "0x3a74b35c4aae824abee794a2ea820c5e74d391dfca1b3cd280fe0e0ca690202d",
"blockNumber": "0x760a6d7",
"transactionHash": "0x85a6f0f9a3cceada295fdbe30b592ad1d6d44deeb71f61eb94281a1d9820fd94",
"transactionIndex": "0xc",
"logIndex": "0x37",
"removed": false
},
{
"address": "0x2501c477d0a35545a387aa4a3eee4292a9a8b3f0",
"topics": [
"0x442e715f626346e8c54381002da614f62bee8d27386535b2521ec8540898556e"
],
"data": "0x913653b64ebbac3a3c1730bb0eefd07bad8f6f041cb81a4d9ec73d6e6cedfc160000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x3a74b35c4aae824abee794a2ea820c5e74d391dfca1b3cd280fe0e0ca690202d",
"blockNumber": "0x760a6d7",
"transactionHash": "0x85a6f0f9a3cceada295fdbe30b592ad1d6d44deeb71f61eb94281a1d9820fd94",
"transactionIndex": "0xc",
"logIndex": "0x38",
"removed": false
}
],
"logsBloom": "0x00080080400000000000000000000000000000000000000000000000040800000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000040000000000000000000000000000000000400000000000000100800000000000000000000000000000000000000000000000000000008000000000000000800000000000000000000000000000200000000400000000000000000004000020000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000041000000000000000000000000000000000000100000000100000000",
"type": "0x2",
"transactionHash": "0x85a6f0f9a3cceada295fdbe30b592ad1d6d44deeb71f61eb94281a1d9820fd94",
"transactionIndex": "0xc",
"blockHash": "0x3a74b35c4aae824abee794a2ea820c5e74d391dfca1b3cd280fe0e0ca690202d",
"blockNumber": "0x760a6d7",
"gasUsed": "0x1ba3f",
"effectiveGasPrice": "0x4c328",
"from": "0xbbc9b955be73ca4eeb28e988e9d21d2538978f03",
"to": "0x2501c477d0a35545a387aa4a3eee4292a9a8b3f0",
"contractAddress": null,
"l1BaseFeeScalar": "0x146b",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xf79c5",
"l1Fee": "0x1bf8110b73",
"l1GasPrice": "0xf033b36a",
"l1GasUsed": "0x1646"
}
],
"libraries": [],
"pending": [],
"returns": {
"0": {
"internal_type": "bool",
"value": "true"
}
},
"timestamp": 1723148142,
"chain": 10,
"commit": "bd8c139"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"transactions": [
{
"hash": "0xec17834d43338eb7d762da16977cab8b699f0de56fa6caa0d94a7e2ee46afb8d",
"transactionType": "CALL",
"contractName": null,
"contractAddress": "0x6e1dfd5c1e22a4677663a81d24c6ba03561ef0f6",
"function": "execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes)",
"arguments": [
"0xcA11bde05977b3631167028862bE2a173976CA11",
"0",
"0x82ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7361e734cf3f0394b0fc4a45c74e7a4ec70940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000024d4d9bdcd1d38be23d0b92d8ea16e4cff18261df02b6f458a98c310c206003927e82cb4b400000000000000000000000000000000000000000000000000000000",
"1",
"0",
"0",
"0",
"0x0000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000",
"0x7db35fe0166e453288bdb41cd7250616d8d262c34c2da84d25cdf0bc47ba1e0524b53776ce20855d2fdbf039e497ae1bcecff725d01a73f5886858f2012d5a911b3a8cd86a3cd7cce6867917ac5793d423f4f712b09d10d4fd4e4c619628d8853649f237fe758843ab68c31d1cf5358ea7b09ee0f136475fda326abb1b1fed08261c0624cb29039a267550ed532d674c2fc2a04ef5fc1bbb3a6282d217304ff1a1f011ac21885ce4e058dd0b7eb761069120c3df862328acdbb05caf8f6d1e6b5bbd1c"
],
"transaction": {
"from": "0xbbc9b955be73ca4eeb28e988e9d21d2538978f03",
"to": "0x6e1dfd5c1e22a4677663a81d24c6ba03561ef0f6",
"gas": "0x262fa",
"value": "0x0",
"input": "0x6a761202000000000000000000000000ca11bde05977b3631167028862be2a173976ca110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000000000000000000000000000000000000000012482ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7361e734cf3f0394b0fc4a45c74e7a4ec70940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000024d4d9bdcd1d38be23d0b92d8ea16e4cff18261df02b6f458a98c310c206003927e82cb4b4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c37db35fe0166e453288bdb41cd7250616d8d262c34c2da84d25cdf0bc47ba1e0524b53776ce20855d2fdbf039e497ae1bcecff725d01a73f5886858f2012d5a911b3a8cd86a3cd7cce6867917ac5793d423f4f712b09d10d4fd4e4c619628d8853649f237fe758843ab68c31d1cf5358ea7b09ee0f136475fda326abb1b1fed08261c0624cb29039a267550ed532d674c2fc2a04ef5fc1bbb3a6282d217304ff1a1f011ac21885ce4e058dd0b7eb761069120c3df862328acdbb05caf8f6d1e6b5bbd1c0000000000000000000000000000000000000000000000000000000000",
"nonce": "0x2",
"chainId": "0xa"
},
"additionalContracts": [],
"isFixedGasLimit": false
}
],
"receipts": [
{
"status": "0x1",
"cumulativeGasUsed": "0x27cb35",
"logs": [
{
"address": "0x6e1dfd5c1e22a4677663a81d24c6ba03561ef0f6",
"topics": [
"0x66753cd2356569ee081232e3be8909b950e0a76c1f8460c3a5e3c2be32b11bed"
],
"data": "0x000000000000000000000000ca11bde05977b3631167028862be2a173976ca110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000012482ad56cb0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7361e734cf3f0394b0fc4a45c74e7a4ec70940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000024d4d9bdcd1d38be23d0b92d8ea16e4cff18261df02b6f458a98c310c206003927e82cb4b4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c37db35fe0166e453288bdb41cd7250616d8d262c34c2da84d25cdf0bc47ba1e0524b53776ce20855d2fdbf039e497ae1bcecff725d01a73f5886858f2012d5a911b3a8cd86a3cd7cce6867917ac5793d423f4f712b09d10d4fd4e4c619628d8853649f237fe758843ab68c31d1cf5358ea7b09ee0f136475fda326abb1b1fed08261c0624cb29039a267550ed532d674c2fc2a04ef5fc1bbb3a6282d217304ff1a1f011ac21885ce4e058dd0b7eb761069120c3df862328acdbb05caf8f6d1e6b5bbd1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000002000000000000000000000000bbc9b955be73ca4eeb28e988e9d21d2538978f030000000000000000000000000000000000000000000000000000000000000003",
"blockHash": "0x844f665032f1855532ce1656fab3bf1cfb99eb3c7745eac2e81c40f6ebc90a0e",
"blockNumber": "0x760a7d8",
"transactionHash": "0xec17834d43338eb7d762da16977cab8b699f0de56fa6caa0d94a7e2ee46afb8d",
"transactionIndex": "0x7",
"logIndex": "0x32",
"removed": false
},
{
"address": "0x0a7361e734cf3f0394b0fc4a45c74e7a4ec70940",
"topics": [
"0xf2a0eb156472d1440255b0d7c1e19cc07115d1051fe605b0dce69acfec884d9c",
"0x1d38be23d0b92d8ea16e4cff18261df02b6f458a98c310c206003927e82cb4b4",
"0x0000000000000000000000006e1dfd5c1e22a4677663a81d24c6ba03561ef0f6"
],
"data": "0x",
"blockHash": "0x844f665032f1855532ce1656fab3bf1cfb99eb3c7745eac2e81c40f6ebc90a0e",
"blockNumber": "0x760a7d8",
"transactionHash": "0xec17834d43338eb7d762da16977cab8b699f0de56fa6caa0d94a7e2ee46afb8d",
"transactionIndex": "0x7",
"logIndex": "0x33",
"removed": false
},
{
"address": "0x6e1dfd5c1e22a4677663a81d24c6ba03561ef0f6",
"topics": [
"0x442e715f626346e8c54381002da614f62bee8d27386535b2521ec8540898556e"
],
"data": "0xa4a1f210e7fb3edefa7ab402e08862cc4efb8ecd6dda7a7bd6ede3d77c27088b0000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x844f665032f1855532ce1656fab3bf1cfb99eb3c7745eac2e81c40f6ebc90a0e",
"blockNumber": "0x760a7d8",
"transactionHash": "0xec17834d43338eb7d762da16977cab8b699f0de56fa6caa0d94a7e2ee46afb8d",
"transactionIndex": "0x7",
"logIndex": "0x34",
"removed": false
}
],
"logsBloom": "0x01000000400000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000080100000000000000000000000000000000000000000000000000000040000000000000000000000000000000000400000000000000000000000000000000000000000800000000000000000000000000000008000000000000000800000000000000000000000000000000000000400000000000000000004000020000000000001000000000000000000000000000000000000000000020000000000000000000000000000000000000000000041000000000001000000000000000000000000100000000100000004",
"type": "0x2",
"transactionHash": "0xec17834d43338eb7d762da16977cab8b699f0de56fa6caa0d94a7e2ee46afb8d",
"transactionIndex": "0x7",
"blockHash": "0x844f665032f1855532ce1656fab3bf1cfb99eb3c7745eac2e81c40f6ebc90a0e",
"blockNumber": "0x760a7d8",
"gasUsed": "0x1ba57",
"effectiveGasPrice": "0xa19d7",
"from": "0xbbc9b955be73ca4eeb28e988e9d21d2538978f03",
"to": "0x6e1dfd5c1e22a4677663a81d24c6ba03561ef0f6",
"contractAddress": null,
"l1BaseFeeScalar": "0x146b",
"l1BlobBaseFee": "0x1",
"l1BlobBaseFeeScalar": "0xf79c5",
"l1Fee": "0x1d7a4b3e07",
"l1GasPrice": "0xfd28ad83",
"l1GasUsed": "0x1646"
}
],
"libraries": [],
"pending": [],
"returns": {
"0": {
"internal_type": "bool",
"value": "true"
}
},
"timestamp": 1723148655,
"chain": 10,
"commit": "bd8c139"
}
Loading

0 comments on commit 7a020d4

Please sign in to comment.