diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index bd65c5508..aaa9525d6 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -16,7 +16,7 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: nightly + version: stable - name: Setup node/yarn uses: actions/setup-node@v3 @@ -77,7 +77,7 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: nightly + version: stable - name: Setup node/yarn uses: actions/setup-node@v3 diff --git a/scripts/storage_layout_test.bash b/scripts/storage_layout_test.bash index ceb28b700..73576ebc7 100755 --- a/scripts/storage_layout_test.bash +++ b/scripts/storage_layout_test.bash @@ -4,7 +4,7 @@ for CONTRACTNAME in L1ERC20Gateway L1CustomGateway L1ReverseCustomGateway L1Weth do echo "Checking storage change of $CONTRACTNAME" [ -f "$output_dir/$CONTRACTNAME" ] && mv "$output_dir/$CONTRACTNAME" "$output_dir/$CONTRACTNAME-old" - forge inspect "$CONTRACTNAME" --pretty storage > "$output_dir/$CONTRACTNAME" + forge inspect "$CONTRACTNAME" storage > "$output_dir/$CONTRACTNAME" diff "$output_dir/$CONTRACTNAME-old" "$output_dir/$CONTRACTNAME" if [[ $? != "0" ]] then diff --git a/test/signatures/L1AtomicTokenBridgeCreator b/test/signatures/L1AtomicTokenBridgeCreator index 9d2ac7cc5..46c782076 100644 --- a/test/signatures/L1AtomicTokenBridgeCreator +++ b/test/signatures/L1AtomicTokenBridgeCreator @@ -1,25 +1,51 @@ -{ - "canonicalL2FactoryAddress()": "bfd3e518", - "createTokenBridge(address,address,uint256,uint256)": "8277742b", - "gasLimitForL2FactoryDeployment()": "888139d4", - "getRouter(address)": "8369166d", - "inboxToL1Deployment(address)": "d9ce0ef9", - "inboxToL2Deployment(address)": "46052706", - "initialize(address)": "c4d66de8", - "l1Multicall()": "b1460a71", - "l1Templates()": "a5595da9", - "l1Weth()": "146bf4b1", - "l2CustomGatewayTemplate()": "41083186", - "l2MulticallTemplate()": "8c99e31c", - "l2RouterTemplate()": "381c9d99", - "l2StandardGatewayTemplate()": "d7eee6ca", - "l2TokenBridgeFactoryTemplate()": "1aeef2e2", - "l2WethGatewayTemplate()": "9095765e", - "l2WethTemplate()": "fd40ad85", - "owner()": "8da5cb5b", - "renounceOwnership()": "715018a6", - "retryableSender()": "36dddb97", - "setDeployment(address,(address,address,address,address,address),(address,address,address,address,address,address,address,address,address))": "4c149671", - "setTemplates((address,address,address,address,address,address,address,address),address,address,address,address,address,address,address,address,address,uint256)": "81fb9184", - "transferOwnership(address)": "f2fde38b" -} + +╭-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==============================================================================================================================================================================+ +| canonicalL2FactoryAddress() | bfd3e518 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| createTokenBridge(address,address,uint256,uint256) | 8277742b | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| gasLimitForL2FactoryDeployment() | 888139d4 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| getRouter(address) | 8369166d | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| inboxToL1Deployment(address) | d9ce0ef9 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| inboxToL2Deployment(address) | 46052706 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| initialize(address) | c4d66de8 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| l1Multicall() | b1460a71 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| l1Templates() | a5595da9 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| l1Weth() | 146bf4b1 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| l2CustomGatewayTemplate() | 41083186 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| l2MulticallTemplate() | 8c99e31c | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| l2RouterTemplate() | 381c9d99 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| l2StandardGatewayTemplate() | d7eee6ca | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| l2TokenBridgeFactoryTemplate() | 1aeef2e2 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| l2WethGatewayTemplate() | 9095765e | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| l2WethTemplate() | fd40ad85 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| owner() | 8da5cb5b | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| renounceOwnership() | 715018a6 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| retryableSender() | 36dddb97 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| setDeployment(address,(address,address,address,address,address),(address,address,address,address,address,address,address,address,address)) | 4c149671 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| setTemplates((address,address,address,address,address,address,address,address),address,address,address,address,address,address,address,address,address,uint256) | 81fb9184 | +|-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| transferOwnership(address) | f2fde38b | +╰-----------------------------------------------------------------------------------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1CustomGateway b/test/signatures/L1CustomGateway index e756b9345..5859efb5b 100644 --- a/test/signatures/L1CustomGateway +++ b/test/signatures/L1CustomGateway @@ -1,24 +1,49 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "encodeWithdrawal(uint256,address)": "020a6058", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256)": "1d3a689f", - "getExternalCall(uint256,address,bytes)": "f68a9082", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "inbox()": "fb0e722b", - "initialize(address,address,address,address)": "f8c8765e", - "l1ToL2Token(address)": "8a2dc014", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes)": "4fb1a07b", - "owner()": "8da5cb5b", - "postUpgradeInit()": "95fcea78", - "redirectedExits(bytes32)": "bcf2e6eb", - "registerTokenToL2(address,uint256,uint256,uint256)": "f26bdead", - "registerTokenToL2(address,uint256,uint256,uint256,address)": "ca346d4a", - "router()": "f887ea40", - "setOwner(address)": "13af4035", - "supportsInterface(bytes4)": "01ffc9a7", - "transferExitAndCall(uint256,address,address,bytes,bytes)": "bd5f3e7d", - "whitelist()": "93e59dc1" -} + +╭-------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==================================================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-------------------------------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-------------------------------------------------------------------------------------+------------| +| encodeWithdrawal(uint256,address) | 020a6058 | +|-------------------------------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-------------------------------------------------------------------------------------+------------| +| forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256) | 1d3a689f | +|-------------------------------------------------------------------------------------+------------| +| getExternalCall(uint256,address,bytes) | f68a9082 | +|-------------------------------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-------------------------------------------------------------------------------------+------------| +| inbox() | fb0e722b | +|-------------------------------------------------------------------------------------+------------| +| initialize(address,address,address,address) | f8c8765e | +|-------------------------------------------------------------------------------------+------------| +| l1ToL2Token(address) | 8a2dc014 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes) | 4fb1a07b | +|-------------------------------------------------------------------------------------+------------| +| owner() | 8da5cb5b | +|-------------------------------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-------------------------------------------------------------------------------------+------------| +| redirectedExits(bytes32) | bcf2e6eb | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256) | f26bdead | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256,address) | ca346d4a | +|-------------------------------------------------------------------------------------+------------| +| router() | f887ea40 | +|-------------------------------------------------------------------------------------+------------| +| setOwner(address) | 13af4035 | +|-------------------------------------------------------------------------------------+------------| +| supportsInterface(bytes4) | 01ffc9a7 | +|-------------------------------------------------------------------------------------+------------| +| transferExitAndCall(uint256,address,address,bytes,bytes) | bd5f3e7d | +|-------------------------------------------------------------------------------------+------------| +| whitelist() | 93e59dc1 | +╰-------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1ERC20Gateway b/test/signatures/L1ERC20Gateway index 98c9bb612..fa31978c7 100644 --- a/test/signatures/L1ERC20Gateway +++ b/test/signatures/L1ERC20Gateway @@ -1,20 +1,41 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "cloneableProxyHash()": "97881f8d", - "counterpartGateway()": "2db09c1c", - "encodeWithdrawal(uint256,address)": "020a6058", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getExternalCall(uint256,address,bytes)": "f68a9082", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "inbox()": "fb0e722b", - "initialize(address,address,address,bytes32,address)": "a01893bf", - "l2BeaconProxyFactory()": "70fc045f", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes)": "4fb1a07b", - "postUpgradeInit()": "95fcea78", - "redirectedExits(bytes32)": "bcf2e6eb", - "router()": "f887ea40", - "supportsInterface(bytes4)": "01ffc9a7", - "transferExitAndCall(uint256,address,address,bytes,bytes)": "bd5f3e7d", - "whitelist()": "93e59dc1" -} + +╭-------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==================================================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-------------------------------------------------------------------------------------+------------| +| cloneableProxyHash() | 97881f8d | +|-------------------------------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-------------------------------------------------------------------------------------+------------| +| encodeWithdrawal(uint256,address) | 020a6058 | +|-------------------------------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-------------------------------------------------------------------------------------+------------| +| getExternalCall(uint256,address,bytes) | f68a9082 | +|-------------------------------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-------------------------------------------------------------------------------------+------------| +| inbox() | fb0e722b | +|-------------------------------------------------------------------------------------+------------| +| initialize(address,address,address,bytes32,address) | a01893bf | +|-------------------------------------------------------------------------------------+------------| +| l2BeaconProxyFactory() | 70fc045f | +|-------------------------------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes) | 4fb1a07b | +|-------------------------------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-------------------------------------------------------------------------------------+------------| +| redirectedExits(bytes32) | bcf2e6eb | +|-------------------------------------------------------------------------------------+------------| +| router() | f887ea40 | +|-------------------------------------------------------------------------------------+------------| +| supportsInterface(bytes4) | 01ffc9a7 | +|-------------------------------------------------------------------------------------+------------| +| transferExitAndCall(uint256,address,address,bytes,bytes) | bd5f3e7d | +|-------------------------------------------------------------------------------------+------------| +| whitelist() | 93e59dc1 | +╰-------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1GatewayRouter b/test/signatures/L1GatewayRouter index 428467cc2..8cefe6151 100644 --- a/test/signatures/L1GatewayRouter +++ b/test/signatures/L1GatewayRouter @@ -1,24 +1,49 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "defaultGateway()": "03295802", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getGateway(address)": "bda009fe", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "inbox()": "fb0e722b", - "initialize(address,address,address,address,address)": "1459457a", - "l1TokenToGateway(address)": "ed08fdc6", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes)": "4fb1a07b", - "owner()": "8da5cb5b", - "postUpgradeInit()": "95fcea78", - "router()": "f887ea40", - "setDefaultGateway(address,uint256,uint256,uint256)": "5625a952", - "setGateway(address,uint256,uint256,uint256)": "dd614569", - "setGateway(address,uint256,uint256,uint256,address)": "2d67b72d", - "setGateways(address[],address[],uint256,uint256,uint256)": "658b53f4", - "setOwner(address)": "13af4035", - "supportsInterface(bytes4)": "01ffc9a7", - "updateWhitelistSource(address)": "47466f98", - "whitelist()": "93e59dc1" -} + +╭-------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==================================================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-------------------------------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-------------------------------------------------------------------------------------+------------| +| defaultGateway() | 03295802 | +|-------------------------------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-------------------------------------------------------------------------------------+------------| +| getGateway(address) | bda009fe | +|-------------------------------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-------------------------------------------------------------------------------------+------------| +| inbox() | fb0e722b | +|-------------------------------------------------------------------------------------+------------| +| initialize(address,address,address,address,address) | 1459457a | +|-------------------------------------------------------------------------------------+------------| +| l1TokenToGateway(address) | ed08fdc6 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes) | 4fb1a07b | +|-------------------------------------------------------------------------------------+------------| +| owner() | 8da5cb5b | +|-------------------------------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-------------------------------------------------------------------------------------+------------| +| router() | f887ea40 | +|-------------------------------------------------------------------------------------+------------| +| setDefaultGateway(address,uint256,uint256,uint256) | 5625a952 | +|-------------------------------------------------------------------------------------+------------| +| setGateway(address,uint256,uint256,uint256) | dd614569 | +|-------------------------------------------------------------------------------------+------------| +| setGateway(address,uint256,uint256,uint256,address) | 2d67b72d | +|-------------------------------------------------------------------------------------+------------| +| setGateways(address[],address[],uint256,uint256,uint256) | 658b53f4 | +|-------------------------------------------------------------------------------------+------------| +| setOwner(address) | 13af4035 | +|-------------------------------------------------------------------------------------+------------| +| supportsInterface(bytes4) | 01ffc9a7 | +|-------------------------------------------------------------------------------------+------------| +| updateWhitelistSource(address) | 47466f98 | +|-------------------------------------------------------------------------------------+------------| +| whitelist() | 93e59dc1 | +╰-------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1OrbitCustomGateway b/test/signatures/L1OrbitCustomGateway index 678bff837..24dbe05d2 100644 --- a/test/signatures/L1OrbitCustomGateway +++ b/test/signatures/L1OrbitCustomGateway @@ -1,27 +1,55 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "encodeWithdrawal(uint256,address)": "020a6058", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256)": "1d3a689f", - "forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256,uint256)": "85f25597", - "getExternalCall(uint256,address,bytes)": "f68a9082", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "inbox()": "fb0e722b", - "initialize(address,address,address,address)": "f8c8765e", - "l1ToL2Token(address)": "8a2dc014", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes)": "4fb1a07b", - "owner()": "8da5cb5b", - "postUpgradeInit()": "95fcea78", - "redirectedExits(bytes32)": "bcf2e6eb", - "registerTokenToL2(address,uint256,uint256,uint256)": "f26bdead", - "registerTokenToL2(address,uint256,uint256,uint256,address)": "ca346d4a", - "registerTokenToL2(address,uint256,uint256,uint256,address,uint256)": "37daacad", - "registerTokenToL2(address,uint256,uint256,uint256,uint256)": "3e8ee3df", - "router()": "f887ea40", - "setOwner(address)": "13af4035", - "supportsInterface(bytes4)": "01ffc9a7", - "transferExitAndCall(uint256,address,address,bytes,bytes)": "bd5f3e7d", - "whitelist()": "93e59dc1" -} + +╭-------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==================================================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-------------------------------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-------------------------------------------------------------------------------------+------------| +| encodeWithdrawal(uint256,address) | 020a6058 | +|-------------------------------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-------------------------------------------------------------------------------------+------------| +| forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256) | 1d3a689f | +|-------------------------------------------------------------------------------------+------------| +| forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256,uint256) | 85f25597 | +|-------------------------------------------------------------------------------------+------------| +| getExternalCall(uint256,address,bytes) | f68a9082 | +|-------------------------------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-------------------------------------------------------------------------------------+------------| +| inbox() | fb0e722b | +|-------------------------------------------------------------------------------------+------------| +| initialize(address,address,address,address) | f8c8765e | +|-------------------------------------------------------------------------------------+------------| +| l1ToL2Token(address) | 8a2dc014 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes) | 4fb1a07b | +|-------------------------------------------------------------------------------------+------------| +| owner() | 8da5cb5b | +|-------------------------------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-------------------------------------------------------------------------------------+------------| +| redirectedExits(bytes32) | bcf2e6eb | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256) | f26bdead | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256,address) | ca346d4a | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256,address,uint256) | 37daacad | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256,uint256) | 3e8ee3df | +|-------------------------------------------------------------------------------------+------------| +| router() | f887ea40 | +|-------------------------------------------------------------------------------------+------------| +| setOwner(address) | 13af4035 | +|-------------------------------------------------------------------------------------+------------| +| supportsInterface(bytes4) | 01ffc9a7 | +|-------------------------------------------------------------------------------------+------------| +| transferExitAndCall(uint256,address,address,bytes,bytes) | bd5f3e7d | +|-------------------------------------------------------------------------------------+------------| +| whitelist() | 93e59dc1 | +╰-------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1OrbitERC20Gateway b/test/signatures/L1OrbitERC20Gateway index 98c9bb612..fa31978c7 100644 --- a/test/signatures/L1OrbitERC20Gateway +++ b/test/signatures/L1OrbitERC20Gateway @@ -1,20 +1,41 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "cloneableProxyHash()": "97881f8d", - "counterpartGateway()": "2db09c1c", - "encodeWithdrawal(uint256,address)": "020a6058", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getExternalCall(uint256,address,bytes)": "f68a9082", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "inbox()": "fb0e722b", - "initialize(address,address,address,bytes32,address)": "a01893bf", - "l2BeaconProxyFactory()": "70fc045f", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes)": "4fb1a07b", - "postUpgradeInit()": "95fcea78", - "redirectedExits(bytes32)": "bcf2e6eb", - "router()": "f887ea40", - "supportsInterface(bytes4)": "01ffc9a7", - "transferExitAndCall(uint256,address,address,bytes,bytes)": "bd5f3e7d", - "whitelist()": "93e59dc1" -} + +╭-------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==================================================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-------------------------------------------------------------------------------------+------------| +| cloneableProxyHash() | 97881f8d | +|-------------------------------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-------------------------------------------------------------------------------------+------------| +| encodeWithdrawal(uint256,address) | 020a6058 | +|-------------------------------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-------------------------------------------------------------------------------------+------------| +| getExternalCall(uint256,address,bytes) | f68a9082 | +|-------------------------------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-------------------------------------------------------------------------------------+------------| +| inbox() | fb0e722b | +|-------------------------------------------------------------------------------------+------------| +| initialize(address,address,address,bytes32,address) | a01893bf | +|-------------------------------------------------------------------------------------+------------| +| l2BeaconProxyFactory() | 70fc045f | +|-------------------------------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes) | 4fb1a07b | +|-------------------------------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-------------------------------------------------------------------------------------+------------| +| redirectedExits(bytes32) | bcf2e6eb | +|-------------------------------------------------------------------------------------+------------| +| router() | f887ea40 | +|-------------------------------------------------------------------------------------+------------| +| supportsInterface(bytes4) | 01ffc9a7 | +|-------------------------------------------------------------------------------------+------------| +| transferExitAndCall(uint256,address,address,bytes,bytes) | bd5f3e7d | +|-------------------------------------------------------------------------------------+------------| +| whitelist() | 93e59dc1 | +╰-------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1OrbitGatewayRouter b/test/signatures/L1OrbitGatewayRouter index db159e0dd..583c303c8 100644 --- a/test/signatures/L1OrbitGatewayRouter +++ b/test/signatures/L1OrbitGatewayRouter @@ -1,28 +1,57 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "defaultGateway()": "03295802", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getGateway(address)": "bda009fe", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "inbox()": "fb0e722b", - "initialize(address,address,address,address,address)": "1459457a", - "l1TokenToGateway(address)": "ed08fdc6", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes)": "4fb1a07b", - "owner()": "8da5cb5b", - "postUpgradeInit()": "95fcea78", - "router()": "f887ea40", - "setDefaultGateway(address,uint256,uint256,uint256)": "5625a952", - "setDefaultGateway(address,uint256,uint256,uint256,uint256)": "c9a96997", - "setGateway(address,uint256,uint256,uint256)": "dd614569", - "setGateway(address,uint256,uint256,uint256,address)": "2d67b72d", - "setGateway(address,uint256,uint256,uint256,address,uint256)": "d7f7459c", - "setGateway(address,uint256,uint256,uint256,uint256)": "dc121927", - "setGateways(address[],address[],uint256,uint256,uint256)": "658b53f4", - "setGateways(address[],address[],uint256,uint256,uint256,uint256)": "55654af8", - "setOwner(address)": "13af4035", - "supportsInterface(bytes4)": "01ffc9a7", - "updateWhitelistSource(address)": "47466f98", - "whitelist()": "93e59dc1" -} + +╭-------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==================================================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-------------------------------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-------------------------------------------------------------------------------------+------------| +| defaultGateway() | 03295802 | +|-------------------------------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-------------------------------------------------------------------------------------+------------| +| getGateway(address) | bda009fe | +|-------------------------------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-------------------------------------------------------------------------------------+------------| +| inbox() | fb0e722b | +|-------------------------------------------------------------------------------------+------------| +| initialize(address,address,address,address,address) | 1459457a | +|-------------------------------------------------------------------------------------+------------| +| l1TokenToGateway(address) | ed08fdc6 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes) | 4fb1a07b | +|-------------------------------------------------------------------------------------+------------| +| owner() | 8da5cb5b | +|-------------------------------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-------------------------------------------------------------------------------------+------------| +| router() | f887ea40 | +|-------------------------------------------------------------------------------------+------------| +| setDefaultGateway(address,uint256,uint256,uint256) | 5625a952 | +|-------------------------------------------------------------------------------------+------------| +| setDefaultGateway(address,uint256,uint256,uint256,uint256) | c9a96997 | +|-------------------------------------------------------------------------------------+------------| +| setGateway(address,uint256,uint256,uint256) | dd614569 | +|-------------------------------------------------------------------------------------+------------| +| setGateway(address,uint256,uint256,uint256,address) | 2d67b72d | +|-------------------------------------------------------------------------------------+------------| +| setGateway(address,uint256,uint256,uint256,address,uint256) | d7f7459c | +|-------------------------------------------------------------------------------------+------------| +| setGateway(address,uint256,uint256,uint256,uint256) | dc121927 | +|-------------------------------------------------------------------------------------+------------| +| setGateways(address[],address[],uint256,uint256,uint256) | 658b53f4 | +|-------------------------------------------------------------------------------------+------------| +| setGateways(address[],address[],uint256,uint256,uint256,uint256) | 55654af8 | +|-------------------------------------------------------------------------------------+------------| +| setOwner(address) | 13af4035 | +|-------------------------------------------------------------------------------------+------------| +| supportsInterface(bytes4) | 01ffc9a7 | +|-------------------------------------------------------------------------------------+------------| +| updateWhitelistSource(address) | 47466f98 | +|-------------------------------------------------------------------------------------+------------| +| whitelist() | 93e59dc1 | +╰-------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1OrbitReverseCustomGateway b/test/signatures/L1OrbitReverseCustomGateway index 678bff837..24dbe05d2 100644 --- a/test/signatures/L1OrbitReverseCustomGateway +++ b/test/signatures/L1OrbitReverseCustomGateway @@ -1,27 +1,55 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "encodeWithdrawal(uint256,address)": "020a6058", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256)": "1d3a689f", - "forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256,uint256)": "85f25597", - "getExternalCall(uint256,address,bytes)": "f68a9082", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "inbox()": "fb0e722b", - "initialize(address,address,address,address)": "f8c8765e", - "l1ToL2Token(address)": "8a2dc014", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes)": "4fb1a07b", - "owner()": "8da5cb5b", - "postUpgradeInit()": "95fcea78", - "redirectedExits(bytes32)": "bcf2e6eb", - "registerTokenToL2(address,uint256,uint256,uint256)": "f26bdead", - "registerTokenToL2(address,uint256,uint256,uint256,address)": "ca346d4a", - "registerTokenToL2(address,uint256,uint256,uint256,address,uint256)": "37daacad", - "registerTokenToL2(address,uint256,uint256,uint256,uint256)": "3e8ee3df", - "router()": "f887ea40", - "setOwner(address)": "13af4035", - "supportsInterface(bytes4)": "01ffc9a7", - "transferExitAndCall(uint256,address,address,bytes,bytes)": "bd5f3e7d", - "whitelist()": "93e59dc1" -} + +╭-------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==================================================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-------------------------------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-------------------------------------------------------------------------------------+------------| +| encodeWithdrawal(uint256,address) | 020a6058 | +|-------------------------------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-------------------------------------------------------------------------------------+------------| +| forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256) | 1d3a689f | +|-------------------------------------------------------------------------------------+------------| +| forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256,uint256) | 85f25597 | +|-------------------------------------------------------------------------------------+------------| +| getExternalCall(uint256,address,bytes) | f68a9082 | +|-------------------------------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-------------------------------------------------------------------------------------+------------| +| inbox() | fb0e722b | +|-------------------------------------------------------------------------------------+------------| +| initialize(address,address,address,address) | f8c8765e | +|-------------------------------------------------------------------------------------+------------| +| l1ToL2Token(address) | 8a2dc014 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes) | 4fb1a07b | +|-------------------------------------------------------------------------------------+------------| +| owner() | 8da5cb5b | +|-------------------------------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-------------------------------------------------------------------------------------+------------| +| redirectedExits(bytes32) | bcf2e6eb | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256) | f26bdead | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256,address) | ca346d4a | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256,address,uint256) | 37daacad | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256,uint256) | 3e8ee3df | +|-------------------------------------------------------------------------------------+------------| +| router() | f887ea40 | +|-------------------------------------------------------------------------------------+------------| +| setOwner(address) | 13af4035 | +|-------------------------------------------------------------------------------------+------------| +| supportsInterface(bytes4) | 01ffc9a7 | +|-------------------------------------------------------------------------------------+------------| +| transferExitAndCall(uint256,address,address,bytes,bytes) | bd5f3e7d | +|-------------------------------------------------------------------------------------+------------| +| whitelist() | 93e59dc1 | +╰-------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1OrbitUSDCGateway b/test/signatures/L1OrbitUSDCGateway index b59554ae2..85644d4c5 100644 --- a/test/signatures/L1OrbitUSDCGateway +++ b/test/signatures/L1OrbitUSDCGateway @@ -1,29 +1,59 @@ -{ - "burnAmount()": "486a7e6b", - "burnLockedUSDC()": "8a5e52bb", - "burner()": "27810b6e", - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "depositsPaused()": "60da3e83", - "encodeWithdrawal(uint256,address)": "020a6058", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getExternalCall(uint256,address,bytes)": "f68a9082", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "inbox()": "fb0e722b", - "initialize(address,address,address,address,address,address)": "cc2a9a5b", - "l1USDC()": "a6f73669", - "l2USDC()": "29e96f9e", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes)": "4fb1a07b", - "owner()": "8da5cb5b", - "pauseDeposits()": "02191980", - "postUpgradeInit()": "95fcea78", - "redirectedExits(bytes32)": "bcf2e6eb", - "router()": "f887ea40", - "setBurnAmount(uint256)": "cc43f3d3", - "setBurner(address)": "a996d6ce", - "setOwner(address)": "13af4035", - "supportsInterface(bytes4)": "01ffc9a7", - "transferExitAndCall(uint256,address,address,bytes,bytes)": "bd5f3e7d", - "unpauseDeposits()": "63d8882a" -} + +╭-------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==================================================================================================+ +| burnAmount() | 486a7e6b | +|-------------------------------------------------------------------------------------+------------| +| burnLockedUSDC() | 8a5e52bb | +|-------------------------------------------------------------------------------------+------------| +| burner() | 27810b6e | +|-------------------------------------------------------------------------------------+------------| +| calculateL2TokenAddress(address) | a7e28d48 | +|-------------------------------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-------------------------------------------------------------------------------------+------------| +| depositsPaused() | 60da3e83 | +|-------------------------------------------------------------------------------------+------------| +| encodeWithdrawal(uint256,address) | 020a6058 | +|-------------------------------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-------------------------------------------------------------------------------------+------------| +| getExternalCall(uint256,address,bytes) | f68a9082 | +|-------------------------------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-------------------------------------------------------------------------------------+------------| +| inbox() | fb0e722b | +|-------------------------------------------------------------------------------------+------------| +| initialize(address,address,address,address,address,address) | cc2a9a5b | +|-------------------------------------------------------------------------------------+------------| +| l1USDC() | a6f73669 | +|-------------------------------------------------------------------------------------+------------| +| l2USDC() | 29e96f9e | +|-------------------------------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes) | 4fb1a07b | +|-------------------------------------------------------------------------------------+------------| +| owner() | 8da5cb5b | +|-------------------------------------------------------------------------------------+------------| +| pauseDeposits() | 02191980 | +|-------------------------------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-------------------------------------------------------------------------------------+------------| +| redirectedExits(bytes32) | bcf2e6eb | +|-------------------------------------------------------------------------------------+------------| +| router() | f887ea40 | +|-------------------------------------------------------------------------------------+------------| +| setBurnAmount(uint256) | cc43f3d3 | +|-------------------------------------------------------------------------------------+------------| +| setBurner(address) | a996d6ce | +|-------------------------------------------------------------------------------------+------------| +| setOwner(address) | 13af4035 | +|-------------------------------------------------------------------------------------+------------| +| supportsInterface(bytes4) | 01ffc9a7 | +|-------------------------------------------------------------------------------------+------------| +| transferExitAndCall(uint256,address,address,bytes,bytes) | bd5f3e7d | +|-------------------------------------------------------------------------------------+------------| +| unpauseDeposits() | 63d8882a | +╰-------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1ReverseCustomGateway b/test/signatures/L1ReverseCustomGateway index e756b9345..5859efb5b 100644 --- a/test/signatures/L1ReverseCustomGateway +++ b/test/signatures/L1ReverseCustomGateway @@ -1,24 +1,49 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "encodeWithdrawal(uint256,address)": "020a6058", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256)": "1d3a689f", - "getExternalCall(uint256,address,bytes)": "f68a9082", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "inbox()": "fb0e722b", - "initialize(address,address,address,address)": "f8c8765e", - "l1ToL2Token(address)": "8a2dc014", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes)": "4fb1a07b", - "owner()": "8da5cb5b", - "postUpgradeInit()": "95fcea78", - "redirectedExits(bytes32)": "bcf2e6eb", - "registerTokenToL2(address,uint256,uint256,uint256)": "f26bdead", - "registerTokenToL2(address,uint256,uint256,uint256,address)": "ca346d4a", - "router()": "f887ea40", - "setOwner(address)": "13af4035", - "supportsInterface(bytes4)": "01ffc9a7", - "transferExitAndCall(uint256,address,address,bytes,bytes)": "bd5f3e7d", - "whitelist()": "93e59dc1" -} + +╭-------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==================================================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-------------------------------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-------------------------------------------------------------------------------------+------------| +| encodeWithdrawal(uint256,address) | 020a6058 | +|-------------------------------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-------------------------------------------------------------------------------------+------------| +| forceRegisterTokenToL2(address[],address[],uint256,uint256,uint256) | 1d3a689f | +|-------------------------------------------------------------------------------------+------------| +| getExternalCall(uint256,address,bytes) | f68a9082 | +|-------------------------------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-------------------------------------------------------------------------------------+------------| +| inbox() | fb0e722b | +|-------------------------------------------------------------------------------------+------------| +| initialize(address,address,address,address) | f8c8765e | +|-------------------------------------------------------------------------------------+------------| +| l1ToL2Token(address) | 8a2dc014 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes) | 4fb1a07b | +|-------------------------------------------------------------------------------------+------------| +| owner() | 8da5cb5b | +|-------------------------------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-------------------------------------------------------------------------------------+------------| +| redirectedExits(bytes32) | bcf2e6eb | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256) | f26bdead | +|-------------------------------------------------------------------------------------+------------| +| registerTokenToL2(address,uint256,uint256,uint256,address) | ca346d4a | +|-------------------------------------------------------------------------------------+------------| +| router() | f887ea40 | +|-------------------------------------------------------------------------------------+------------| +| setOwner(address) | 13af4035 | +|-------------------------------------------------------------------------------------+------------| +| supportsInterface(bytes4) | 01ffc9a7 | +|-------------------------------------------------------------------------------------+------------| +| transferExitAndCall(uint256,address,address,bytes,bytes) | bd5f3e7d | +|-------------------------------------------------------------------------------------+------------| +| whitelist() | 93e59dc1 | +╰-------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1TokenBridgeRetryableSender b/test/signatures/L1TokenBridgeRetryableSender index 2ad6e91a3..1452498a3 100644 --- a/test/signatures/L1TokenBridgeRetryableSender +++ b/test/signatures/L1TokenBridgeRetryableSender @@ -1,7 +1,15 @@ -{ - "initialize()": "8129fc1c", - "owner()": "8da5cb5b", - "renounceOwnership()": "715018a6", - "sendRetryable((address,address,address,address,uint256,uint256,uint256),(address,address,address,address,address,address,address),(address,address,address,address,address),address,address,address,address)": "5fc788d6", - "transferOwnership(address)": "f2fde38b" -} + +╭--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++===========================================================================================================================================================================================================================+ +| initialize() | 8129fc1c | +|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| owner() | 8da5cb5b | +|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| renounceOwnership() | 715018a6 | +|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| sendRetryable((address,address,address,address,uint256,uint256,uint256),(address,address,address,address,address,address,address),(address,address,address,address,address),address,address,address,address) | 5fc788d6 | +|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------| +| transferOwnership(address) | f2fde38b | +╰--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1USDCGateway b/test/signatures/L1USDCGateway index b59554ae2..85644d4c5 100644 --- a/test/signatures/L1USDCGateway +++ b/test/signatures/L1USDCGateway @@ -1,29 +1,59 @@ -{ - "burnAmount()": "486a7e6b", - "burnLockedUSDC()": "8a5e52bb", - "burner()": "27810b6e", - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "depositsPaused()": "60da3e83", - "encodeWithdrawal(uint256,address)": "020a6058", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getExternalCall(uint256,address,bytes)": "f68a9082", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "inbox()": "fb0e722b", - "initialize(address,address,address,address,address,address)": "cc2a9a5b", - "l1USDC()": "a6f73669", - "l2USDC()": "29e96f9e", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes)": "4fb1a07b", - "owner()": "8da5cb5b", - "pauseDeposits()": "02191980", - "postUpgradeInit()": "95fcea78", - "redirectedExits(bytes32)": "bcf2e6eb", - "router()": "f887ea40", - "setBurnAmount(uint256)": "cc43f3d3", - "setBurner(address)": "a996d6ce", - "setOwner(address)": "13af4035", - "supportsInterface(bytes4)": "01ffc9a7", - "transferExitAndCall(uint256,address,address,bytes,bytes)": "bd5f3e7d", - "unpauseDeposits()": "63d8882a" -} + +╭-------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==================================================================================================+ +| burnAmount() | 486a7e6b | +|-------------------------------------------------------------------------------------+------------| +| burnLockedUSDC() | 8a5e52bb | +|-------------------------------------------------------------------------------------+------------| +| burner() | 27810b6e | +|-------------------------------------------------------------------------------------+------------| +| calculateL2TokenAddress(address) | a7e28d48 | +|-------------------------------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-------------------------------------------------------------------------------------+------------| +| depositsPaused() | 60da3e83 | +|-------------------------------------------------------------------------------------+------------| +| encodeWithdrawal(uint256,address) | 020a6058 | +|-------------------------------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-------------------------------------------------------------------------------------+------------| +| getExternalCall(uint256,address,bytes) | f68a9082 | +|-------------------------------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-------------------------------------------------------------------------------------+------------| +| inbox() | fb0e722b | +|-------------------------------------------------------------------------------------+------------| +| initialize(address,address,address,address,address,address) | cc2a9a5b | +|-------------------------------------------------------------------------------------+------------| +| l1USDC() | a6f73669 | +|-------------------------------------------------------------------------------------+------------| +| l2USDC() | 29e96f9e | +|-------------------------------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes) | 4fb1a07b | +|-------------------------------------------------------------------------------------+------------| +| owner() | 8da5cb5b | +|-------------------------------------------------------------------------------------+------------| +| pauseDeposits() | 02191980 | +|-------------------------------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-------------------------------------------------------------------------------------+------------| +| redirectedExits(bytes32) | bcf2e6eb | +|-------------------------------------------------------------------------------------+------------| +| router() | f887ea40 | +|-------------------------------------------------------------------------------------+------------| +| setBurnAmount(uint256) | cc43f3d3 | +|-------------------------------------------------------------------------------------+------------| +| setBurner(address) | a996d6ce | +|-------------------------------------------------------------------------------------+------------| +| setOwner(address) | 13af4035 | +|-------------------------------------------------------------------------------------+------------| +| supportsInterface(bytes4) | 01ffc9a7 | +|-------------------------------------------------------------------------------------+------------| +| transferExitAndCall(uint256,address,address,bytes,bytes) | bd5f3e7d | +|-------------------------------------------------------------------------------------+------------| +| unpauseDeposits() | 63d8882a | +╰-------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L1WethGateway b/test/signatures/L1WethGateway index c6b085329..86e390612 100644 --- a/test/signatures/L1WethGateway +++ b/test/signatures/L1WethGateway @@ -1,19 +1,39 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "encodeWithdrawal(uint256,address)": "020a6058", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getExternalCall(uint256,address,bytes)": "f68a9082", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "inbox()": "fb0e722b", - "initialize(address,address,address,address,address)": "1459457a", - "l1Weth()": "146bf4b1", - "l2Weth()": "247b2768", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes)": "4fb1a07b", - "postUpgradeInit()": "95fcea78", - "redirectedExits(bytes32)": "bcf2e6eb", - "router()": "f887ea40", - "supportsInterface(bytes4)": "01ffc9a7", - "transferExitAndCall(uint256,address,address,bytes,bytes)": "bd5f3e7d" -} + +╭-------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++==================================================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-------------------------------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-------------------------------------------------------------------------------------+------------| +| encodeWithdrawal(uint256,address) | 020a6058 | +|-------------------------------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-------------------------------------------------------------------------------------+------------| +| getExternalCall(uint256,address,bytes) | f68a9082 | +|-------------------------------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-------------------------------------------------------------------------------------+------------| +| inbox() | fb0e722b | +|-------------------------------------------------------------------------------------+------------| +| initialize(address,address,address,address,address) | 1459457a | +|-------------------------------------------------------------------------------------+------------| +| l1Weth() | 146bf4b1 | +|-------------------------------------------------------------------------------------+------------| +| l2Weth() | 247b2768 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-------------------------------------------------------------------------------------+------------| +| outboundTransferCustomRefund(address,address,address,uint256,uint256,uint256,bytes) | 4fb1a07b | +|-------------------------------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-------------------------------------------------------------------------------------+------------| +| redirectedExits(bytes32) | bcf2e6eb | +|-------------------------------------------------------------------------------------+------------| +| router() | f887ea40 | +|-------------------------------------------------------------------------------------+------------| +| supportsInterface(bytes4) | 01ffc9a7 | +|-------------------------------------------------------------------------------------+------------| +| transferExitAndCall(uint256,address,address,bytes,bytes) | bd5f3e7d | +╰-------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L2AtomicTokenBridgeFactory b/test/signatures/L2AtomicTokenBridgeFactory index 2aa137afc..496153ce5 100644 --- a/test/signatures/L2AtomicTokenBridgeFactory +++ b/test/signatures/L2AtomicTokenBridgeFactory @@ -1,3 +1,7 @@ -{ - "deployL2Contracts((bytes,bytes,bytes,bytes,bytes,bytes,bytes),address,address,address,address,address,address,address,address)": "b1c7a870" -} + +╭--------------------------------------------------------------------------------------------------------------------------------+------------╮ +| Method | Identifier | ++=============================================================================================================================================+ +| deployL2Contracts((bytes,bytes,bytes,bytes,bytes,bytes,bytes),address,address,address,address,address,address,address,address) | b1c7a870 | +╰--------------------------------------------------------------------------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L2CustomGateway b/test/signatures/L2CustomGateway index 058d61b57..698ed24b6 100644 --- a/test/signatures/L2CustomGateway +++ b/test/signatures/L2CustomGateway @@ -1,14 +1,29 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "exitNum()": "015234ab", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "initialize(address,address)": "485cc955", - "l1ToL2Token(address)": "8a2dc014", - "outboundTransfer(address,address,uint256,bytes)": "7b3a3c8b", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "postUpgradeInit()": "95fcea78", - "registerTokenFromL1(address[],address[])": "d4f5532f", - "router()": "f887ea40" -} + +╭-----------------------------------------------------------------+------------╮ +| Method | Identifier | ++==============================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-----------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-----------------------------------------------------------------+------------| +| exitNum() | 015234ab | +|-----------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-----------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-----------------------------------------------------------------+------------| +| initialize(address,address) | 485cc955 | +|-----------------------------------------------------------------+------------| +| l1ToL2Token(address) | 8a2dc014 | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,bytes) | 7b3a3c8b | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-----------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-----------------------------------------------------------------+------------| +| registerTokenFromL1(address[],address[]) | d4f5532f | +|-----------------------------------------------------------------+------------| +| router() | f887ea40 | +╰-----------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L2ERC20Gateway b/test/signatures/L2ERC20Gateway index a6128af74..b331c1030 100644 --- a/test/signatures/L2ERC20Gateway +++ b/test/signatures/L2ERC20Gateway @@ -1,15 +1,31 @@ -{ - "beaconProxyFactory()": "c05e6a95", - "calculateL2TokenAddress(address)": "a7e28d48", - "cloneableProxyHash()": "97881f8d", - "counterpartGateway()": "2db09c1c", - "exitNum()": "015234ab", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "getUserSalt(address)": "569f26ff", - "initialize(address,address,address)": "c0c53b8b", - "outboundTransfer(address,address,uint256,bytes)": "7b3a3c8b", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "postUpgradeInit()": "95fcea78", - "router()": "f887ea40" -} + +╭-----------------------------------------------------------------+------------╮ +| Method | Identifier | ++==============================================================================+ +| beaconProxyFactory() | c05e6a95 | +|-----------------------------------------------------------------+------------| +| calculateL2TokenAddress(address) | a7e28d48 | +|-----------------------------------------------------------------+------------| +| cloneableProxyHash() | 97881f8d | +|-----------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-----------------------------------------------------------------+------------| +| exitNum() | 015234ab | +|-----------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-----------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-----------------------------------------------------------------+------------| +| getUserSalt(address) | 569f26ff | +|-----------------------------------------------------------------+------------| +| initialize(address,address,address) | c0c53b8b | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,bytes) | 7b3a3c8b | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-----------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-----------------------------------------------------------------+------------| +| router() | f887ea40 | +╰-----------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L2GatewayRouter b/test/signatures/L2GatewayRouter index 6a86a7a94..2800a421a 100644 --- a/test/signatures/L2GatewayRouter +++ b/test/signatures/L2GatewayRouter @@ -1,16 +1,33 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "defaultGateway()": "03295802", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getGateway(address)": "bda009fe", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "initialize(address,address)": "485cc955", - "l1TokenToGateway(address)": "ed08fdc6", - "outboundTransfer(address,address,uint256,bytes)": "7b3a3c8b", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "postUpgradeInit()": "95fcea78", - "router()": "f887ea40", - "setDefaultGateway(address)": "f7c9362f", - "setGateway(address[],address[])": "4201f985" -} + +╭-----------------------------------------------------------------+------------╮ +| Method | Identifier | ++==============================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-----------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-----------------------------------------------------------------+------------| +| defaultGateway() | 03295802 | +|-----------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-----------------------------------------------------------------+------------| +| getGateway(address) | bda009fe | +|-----------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-----------------------------------------------------------------+------------| +| initialize(address,address) | 485cc955 | +|-----------------------------------------------------------------+------------| +| l1TokenToGateway(address) | ed08fdc6 | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,bytes) | 7b3a3c8b | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-----------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-----------------------------------------------------------------+------------| +| router() | f887ea40 | +|-----------------------------------------------------------------+------------| +| setDefaultGateway(address) | f7c9362f | +|-----------------------------------------------------------------+------------| +| setGateway(address[],address[]) | 4201f985 | +╰-----------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L2ReverseCustomGateway b/test/signatures/L2ReverseCustomGateway index 058d61b57..698ed24b6 100644 --- a/test/signatures/L2ReverseCustomGateway +++ b/test/signatures/L2ReverseCustomGateway @@ -1,14 +1,29 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "exitNum()": "015234ab", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "initialize(address,address)": "485cc955", - "l1ToL2Token(address)": "8a2dc014", - "outboundTransfer(address,address,uint256,bytes)": "7b3a3c8b", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "postUpgradeInit()": "95fcea78", - "registerTokenFromL1(address[],address[])": "d4f5532f", - "router()": "f887ea40" -} + +╭-----------------------------------------------------------------+------------╮ +| Method | Identifier | ++==============================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-----------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-----------------------------------------------------------------+------------| +| exitNum() | 015234ab | +|-----------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-----------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-----------------------------------------------------------------+------------| +| initialize(address,address) | 485cc955 | +|-----------------------------------------------------------------+------------| +| l1ToL2Token(address) | 8a2dc014 | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,bytes) | 7b3a3c8b | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-----------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-----------------------------------------------------------------+------------| +| registerTokenFromL1(address[],address[]) | d4f5532f | +|-----------------------------------------------------------------+------------| +| router() | f887ea40 | +╰-----------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L2USDCGateway b/test/signatures/L2USDCGateway index 587315068..22d43bb0e 100644 --- a/test/signatures/L2USDCGateway +++ b/test/signatures/L2USDCGateway @@ -1,22 +1,45 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "exitNum()": "015234ab", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "initialize(address,address,address,address,address)": "1459457a", - "l1USDC()": "a6f73669", - "l2USDC()": "29e96f9e", - "outboundTransfer(address,address,uint256,bytes)": "7b3a3c8b", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "owner()": "8da5cb5b", - "pauseWithdrawals()": "56bb54a7", - "postUpgradeInit()": "95fcea78", - "router()": "f887ea40", - "setOwner(address)": "13af4035", - "setUsdcOwnershipTransferrer(address)": "54d3a598", - "transferUSDCRoles(address)": "c689fc34", - "unpauseWithdrawals()": "e4c4be58", - "usdcOwnershipTransferrer()": "77403988", - "withdrawalsPaused()": "e9f2838e" -} + +╭-----------------------------------------------------------------+------------╮ +| Method | Identifier | ++==============================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-----------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-----------------------------------------------------------------+------------| +| exitNum() | 015234ab | +|-----------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-----------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-----------------------------------------------------------------+------------| +| initialize(address,address,address,address,address) | 1459457a | +|-----------------------------------------------------------------+------------| +| l1USDC() | a6f73669 | +|-----------------------------------------------------------------+------------| +| l2USDC() | 29e96f9e | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,bytes) | 7b3a3c8b | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-----------------------------------------------------------------+------------| +| owner() | 8da5cb5b | +|-----------------------------------------------------------------+------------| +| pauseWithdrawals() | 56bb54a7 | +|-----------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-----------------------------------------------------------------+------------| +| router() | f887ea40 | +|-----------------------------------------------------------------+------------| +| setOwner(address) | 13af4035 | +|-----------------------------------------------------------------+------------| +| setUsdcOwnershipTransferrer(address) | 54d3a598 | +|-----------------------------------------------------------------+------------| +| transferUSDCRoles(address) | c689fc34 | +|-----------------------------------------------------------------+------------| +| unpauseWithdrawals() | e4c4be58 | +|-----------------------------------------------------------------+------------| +| usdcOwnershipTransferrer() | 77403988 | +|-----------------------------------------------------------------+------------| +| withdrawalsPaused() | e9f2838e | +╰-----------------------------------------------------------------+------------╯ + diff --git a/test/signatures/L2WethGateway b/test/signatures/L2WethGateway index 860455a62..1a2653d2d 100644 --- a/test/signatures/L2WethGateway +++ b/test/signatures/L2WethGateway @@ -1,14 +1,29 @@ -{ - "calculateL2TokenAddress(address)": "a7e28d48", - "counterpartGateway()": "2db09c1c", - "exitNum()": "015234ab", - "finalizeInboundTransfer(address,address,address,uint256,bytes)": "2e567b36", - "getOutboundCalldata(address,address,address,uint256,bytes)": "a0c76a96", - "initialize(address,address,address,address)": "f8c8765e", - "l1Weth()": "146bf4b1", - "l2Weth()": "247b2768", - "outboundTransfer(address,address,uint256,bytes)": "7b3a3c8b", - "outboundTransfer(address,address,uint256,uint256,uint256,bytes)": "d2ce7d65", - "postUpgradeInit()": "95fcea78", - "router()": "f887ea40" -} + +╭-----------------------------------------------------------------+------------╮ +| Method | Identifier | ++==============================================================================+ +| calculateL2TokenAddress(address) | a7e28d48 | +|-----------------------------------------------------------------+------------| +| counterpartGateway() | 2db09c1c | +|-----------------------------------------------------------------+------------| +| exitNum() | 015234ab | +|-----------------------------------------------------------------+------------| +| finalizeInboundTransfer(address,address,address,uint256,bytes) | 2e567b36 | +|-----------------------------------------------------------------+------------| +| getOutboundCalldata(address,address,address,uint256,bytes) | a0c76a96 | +|-----------------------------------------------------------------+------------| +| initialize(address,address,address,address) | f8c8765e | +|-----------------------------------------------------------------+------------| +| l1Weth() | 146bf4b1 | +|-----------------------------------------------------------------+------------| +| l2Weth() | 247b2768 | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,bytes) | 7b3a3c8b | +|-----------------------------------------------------------------+------------| +| outboundTransfer(address,address,uint256,uint256,uint256,bytes) | d2ce7d65 | +|-----------------------------------------------------------------+------------| +| postUpgradeInit() | 95fcea78 | +|-----------------------------------------------------------------+------------| +| router() | f887ea40 | +╰-----------------------------------------------------------------+------------╯ + diff --git a/test/signatures/StandardArbERC20 b/test/signatures/StandardArbERC20 index eb0e443c5..b762efe36 100644 --- a/test/signatures/StandardArbERC20 +++ b/test/signatures/StandardArbERC20 @@ -1,23 +1,47 @@ -{ - "DOMAIN_SEPARATOR()": "3644e515", - "allowance(address,address)": "dd62ed3e", - "approve(address,uint256)": "095ea7b3", - "balanceOf(address)": "70a08231", - "bridgeBurn(address,uint256)": "74f4f547", - "bridgeInit(address,bytes)": "189db7d2", - "bridgeMint(address,uint256)": "8c2a993e", - "decimals()": "313ce567", - "decreaseAllowance(address,uint256)": "a457c2d7", - "increaseAllowance(address,uint256)": "39509351", - "isMaster()": "6f791d29", - "l1Address()": "c2eeeebd", - "l2Gateway()": "8fa74a0e", - "name()": "06fdde03", - "nonces(address)": "7ecebe00", - "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": "d505accf", - "symbol()": "95d89b41", - "totalSupply()": "18160ddd", - "transfer(address,uint256)": "a9059cbb", - "transferAndCall(address,uint256,bytes)": "4000aea0", - "transferFrom(address,address,uint256)": "23b872dd" -} + +╭---------------------------------------------------------------+------------╮ +| Method | Identifier | ++============================================================================+ +| DOMAIN_SEPARATOR() | 3644e515 | +|---------------------------------------------------------------+------------| +| allowance(address,address) | dd62ed3e | +|---------------------------------------------------------------+------------| +| approve(address,uint256) | 095ea7b3 | +|---------------------------------------------------------------+------------| +| balanceOf(address) | 70a08231 | +|---------------------------------------------------------------+------------| +| bridgeBurn(address,uint256) | 74f4f547 | +|---------------------------------------------------------------+------------| +| bridgeInit(address,bytes) | 189db7d2 | +|---------------------------------------------------------------+------------| +| bridgeMint(address,uint256) | 8c2a993e | +|---------------------------------------------------------------+------------| +| decimals() | 313ce567 | +|---------------------------------------------------------------+------------| +| decreaseAllowance(address,uint256) | a457c2d7 | +|---------------------------------------------------------------+------------| +| increaseAllowance(address,uint256) | 39509351 | +|---------------------------------------------------------------+------------| +| isMaster() | 6f791d29 | +|---------------------------------------------------------------+------------| +| l1Address() | c2eeeebd | +|---------------------------------------------------------------+------------| +| l2Gateway() | 8fa74a0e | +|---------------------------------------------------------------+------------| +| name() | 06fdde03 | +|---------------------------------------------------------------+------------| +| nonces(address) | 7ecebe00 | +|---------------------------------------------------------------+------------| +| permit(address,address,uint256,uint256,uint8,bytes32,bytes32) | d505accf | +|---------------------------------------------------------------+------------| +| symbol() | 95d89b41 | +|---------------------------------------------------------------+------------| +| totalSupply() | 18160ddd | +|---------------------------------------------------------------+------------| +| transfer(address,uint256) | a9059cbb | +|---------------------------------------------------------------+------------| +| transferAndCall(address,uint256,bytes) | 4000aea0 | +|---------------------------------------------------------------+------------| +| transferFrom(address,address,uint256) | 23b872dd | +╰---------------------------------------------------------------+------------╯ + diff --git a/test/storage/L1AtomicTokenBridgeCreator b/test/storage/L1AtomicTokenBridgeCreator index 41f7e032a..92d5ffacf 100644 --- a/test/storage/L1AtomicTokenBridgeCreator +++ b/test/storage/L1AtomicTokenBridgeCreator @@ -1,22 +1,45 @@ + +╭--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------------------|--------------------------------------------------|------|--------|-------|------------------------------------------------------------------------------------------| ++======================================================================================================================================================================================================+ | _initialized | uint8 | 0 | 0 | 1 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | _initializing | bool | 0 | 1 | 1 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | __gap | uint256[50] | 1 | 0 | 1600 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | _owner | address | 51 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | __gap | uint256[49] | 52 | 0 | 1568 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | inboxToL1Deployment | mapping(address => struct L1DeploymentAddresses) | 101 | 0 | 32 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | inboxToL2Deployment | mapping(address => struct L2DeploymentAddresses) | 102 | 0 | 32 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | gasLimitForL2FactoryDeployment | uint256 | 103 | 0 | 32 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | retryableSender | contract L1TokenBridgeRetryableSender | 104 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l1Templates | struct L1AtomicTokenBridgeCreator.L1Templates | 105 | 0 | 256 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l2TokenBridgeFactoryTemplate | address | 113 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l2RouterTemplate | address | 114 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l2StandardGatewayTemplate | address | 115 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l2CustomGatewayTemplate | address | 116 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l2WethGatewayTemplate | address | 117 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l2WethTemplate | address | 118 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l2MulticallTemplate | address | 119 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l1Weth | address | 120 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l1Multicall | address | 121 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +|--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | canonicalL2FactoryAddress | address | 122 | 0 | 20 | contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol:L1AtomicTokenBridgeCreator | +╰--------------------------------+--------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------╯ + diff --git a/test/storage/L1CustomGateway b/test/storage/L1CustomGateway index 80ca4f35c..d370bb2d5 100644 --- a/test/storage/L1CustomGateway +++ b/test/storage/L1CustomGateway @@ -1,10 +1,21 @@ + +╭--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|---------------------------------------------------------------|------|--------|-------|----------------------------------------------------------------------------| ++=========================================================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1CustomGateway.sol:L1CustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1CustomGateway.sol:L1CustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------| | inbox | address | 2 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1CustomGateway.sol:L1CustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------| | redirectedExits | mapping(bytes32 => struct L1ArbitrumExtendedGateway.ExitData) | 3 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1CustomGateway.sol:L1CustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------| | l1ToL2Token | mapping(address => address) | 4 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1CustomGateway.sol:L1CustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------| | owner | address | 5 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1CustomGateway.sol:L1CustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------| | whitelist | address | 6 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1CustomGateway.sol:L1CustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------| | _status | uint256 | 7 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1CustomGateway.sol:L1CustomGateway | +╰--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------╯ + diff --git a/test/storage/L1ERC20Gateway b/test/storage/L1ERC20Gateway index 21e1ff0fe..a3b993b95 100644 --- a/test/storage/L1ERC20Gateway +++ b/test/storage/L1ERC20Gateway @@ -1,10 +1,21 @@ + +╭----------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|----------------------|---------------------------------------------------------------|------|--------|-------|--------------------------------------------------------------------------| ++=========================================================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1ERC20Gateway.sol:L1ERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1ERC20Gateway.sol:L1ERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------| | inbox | address | 2 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1ERC20Gateway.sol:L1ERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------| | redirectedExits | mapping(bytes32 => struct L1ArbitrumExtendedGateway.ExitData) | 3 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1ERC20Gateway.sol:L1ERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------| | cloneableProxyHash | bytes32 | 4 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1ERC20Gateway.sol:L1ERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------| | l2BeaconProxyFactory | address | 5 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1ERC20Gateway.sol:L1ERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------| | whitelist | address | 6 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1ERC20Gateway.sol:L1ERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------| | _status | uint256 | 7 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1ERC20Gateway.sol:L1ERC20Gateway | +╰----------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------╯ + diff --git a/test/storage/L1GatewayRouter b/test/storage/L1GatewayRouter index b4ed17055..addd77bf7 100644 --- a/test/storage/L1GatewayRouter +++ b/test/storage/L1GatewayRouter @@ -1,9 +1,19 @@ + +╭--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|-----------------------------|------|--------|-------|----------------------------------------------------------------------------| ++=======================================================================================================================================================+ | whitelist | address | 0 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1GatewayRouter.sol:L1GatewayRouter | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | counterpartGateway | address | 1 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1GatewayRouter.sol:L1GatewayRouter | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | router | address | 2 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1GatewayRouter.sol:L1GatewayRouter | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | l1TokenToGateway | mapping(address => address) | 3 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1GatewayRouter.sol:L1GatewayRouter | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | defaultGateway | address | 4 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1GatewayRouter.sol:L1GatewayRouter | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | owner | address | 5 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1GatewayRouter.sol:L1GatewayRouter | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | inbox | address | 6 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1GatewayRouter.sol:L1GatewayRouter | +╰--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------╯ + diff --git a/test/storage/L1OrbitCustomGateway b/test/storage/L1OrbitCustomGateway index 3debf013a..e3a626122 100644 --- a/test/storage/L1OrbitCustomGateway +++ b/test/storage/L1OrbitCustomGateway @@ -1,10 +1,21 @@ + +╭--------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|---------------------------------------------------------------|------|--------|-------|--------------------------------------------------------------------------------------| ++===================================================================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitCustomGateway.sol:L1OrbitCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitCustomGateway.sol:L1OrbitCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | inbox | address | 2 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitCustomGateway.sol:L1OrbitCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | redirectedExits | mapping(bytes32 => struct L1ArbitrumExtendedGateway.ExitData) | 3 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitCustomGateway.sol:L1OrbitCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | l1ToL2Token | mapping(address => address) | 4 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitCustomGateway.sol:L1OrbitCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | owner | address | 5 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitCustomGateway.sol:L1OrbitCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | whitelist | address | 6 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitCustomGateway.sol:L1OrbitCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | _status | uint256 | 7 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitCustomGateway.sol:L1OrbitCustomGateway | +╰--------------------+---------------------------------------------------------------+------+--------+-------+--------------------------------------------------------------------------------------╯ + diff --git a/test/storage/L1OrbitERC20Gateway b/test/storage/L1OrbitERC20Gateway index 64acd3ba5..a63e53661 100644 --- a/test/storage/L1OrbitERC20Gateway +++ b/test/storage/L1OrbitERC20Gateway @@ -1,10 +1,21 @@ + +╭----------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|----------------------|---------------------------------------------------------------|------|--------|-------|------------------------------------------------------------------------------------| ++===================================================================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitERC20Gateway.sol:L1OrbitERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitERC20Gateway.sol:L1OrbitERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------| | inbox | address | 2 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitERC20Gateway.sol:L1OrbitERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------| | redirectedExits | mapping(bytes32 => struct L1ArbitrumExtendedGateway.ExitData) | 3 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitERC20Gateway.sol:L1OrbitERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------| | cloneableProxyHash | bytes32 | 4 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitERC20Gateway.sol:L1OrbitERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------| | l2BeaconProxyFactory | address | 5 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitERC20Gateway.sol:L1OrbitERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------| | whitelist | address | 6 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitERC20Gateway.sol:L1OrbitERC20Gateway | +|----------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------| | _status | uint256 | 7 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitERC20Gateway.sol:L1OrbitERC20Gateway | +╰----------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------╯ + diff --git a/test/storage/L1OrbitGatewayRouter b/test/storage/L1OrbitGatewayRouter index 0d0a2206f..d68a328f0 100644 --- a/test/storage/L1OrbitGatewayRouter +++ b/test/storage/L1OrbitGatewayRouter @@ -1,9 +1,19 @@ + +╭--------------------+-----------------------------+------+--------+-------+--------------------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|-----------------------------|------|--------|-------|--------------------------------------------------------------------------------------| ++=================================================================================================================================================================+ | whitelist | address | 0 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitGatewayRouter.sol:L1OrbitGatewayRouter | +|--------------------+-----------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | counterpartGateway | address | 1 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitGatewayRouter.sol:L1OrbitGatewayRouter | +|--------------------+-----------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | router | address | 2 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitGatewayRouter.sol:L1OrbitGatewayRouter | +|--------------------+-----------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | l1TokenToGateway | mapping(address => address) | 3 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitGatewayRouter.sol:L1OrbitGatewayRouter | +|--------------------+-----------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | defaultGateway | address | 4 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitGatewayRouter.sol:L1OrbitGatewayRouter | +|--------------------+-----------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | owner | address | 5 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitGatewayRouter.sol:L1OrbitGatewayRouter | +|--------------------+-----------------------------+------+--------+-------+--------------------------------------------------------------------------------------| | inbox | address | 6 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitGatewayRouter.sol:L1OrbitGatewayRouter | +╰--------------------+-----------------------------+------+--------+-------+--------------------------------------------------------------------------------------╯ + diff --git a/test/storage/L1OrbitReverseCustomGateway b/test/storage/L1OrbitReverseCustomGateway index d6b240349..9e512b2b8 100644 --- a/test/storage/L1OrbitReverseCustomGateway +++ b/test/storage/L1OrbitReverseCustomGateway @@ -1,10 +1,21 @@ + +╭--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|---------------------------------------------------------------|------|--------|-------|----------------------------------------------------------------------------------------------------| ++=================================================================================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitReverseCustomGateway.sol:L1OrbitReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitReverseCustomGateway.sol:L1OrbitReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------------------------| | inbox | address | 2 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitReverseCustomGateway.sol:L1OrbitReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------------------------| | redirectedExits | mapping(bytes32 => struct L1ArbitrumExtendedGateway.ExitData) | 3 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitReverseCustomGateway.sol:L1OrbitReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------------------------| | l1ToL2Token | mapping(address => address) | 4 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitReverseCustomGateway.sol:L1OrbitReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------------------------| | owner | address | 5 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitReverseCustomGateway.sol:L1OrbitReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------------------------| | whitelist | address | 6 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitReverseCustomGateway.sol:L1OrbitReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------------------------| | _status | uint256 | 7 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitReverseCustomGateway.sol:L1OrbitReverseCustomGateway | +╰--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------------------------╯ + diff --git a/test/storage/L1OrbitUSDCGateway b/test/storage/L1OrbitUSDCGateway index 6b669ff52..034710844 100644 --- a/test/storage/L1OrbitUSDCGateway +++ b/test/storage/L1OrbitUSDCGateway @@ -1,12 +1,25 @@ + +╭--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|---------------------------------------------------------------|------|--------|-------|----------------------------------------------------------------------------------| ++===============================================================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitUSDCGateway.sol:L1OrbitUSDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitUSDCGateway.sol:L1OrbitUSDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------| | inbox | address | 2 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitUSDCGateway.sol:L1OrbitUSDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------| | redirectedExits | mapping(bytes32 => struct L1ArbitrumExtendedGateway.ExitData) | 3 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitUSDCGateway.sol:L1OrbitUSDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------| | l1USDC | address | 4 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitUSDCGateway.sol:L1OrbitUSDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------| | l2USDC | address | 5 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitUSDCGateway.sol:L1OrbitUSDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------| | owner | address | 6 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitUSDCGateway.sol:L1OrbitUSDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------| | burner | address | 7 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1OrbitUSDCGateway.sol:L1OrbitUSDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------| | depositsPaused | bool | 7 | 20 | 1 | contracts/tokenbridge/ethereum/gateway/L1OrbitUSDCGateway.sol:L1OrbitUSDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------| | burnAmount | uint256 | 8 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1OrbitUSDCGateway.sol:L1OrbitUSDCGateway | +╰--------------------+---------------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------------------╯ + diff --git a/test/storage/L1ReverseCustomGateway b/test/storage/L1ReverseCustomGateway index 71204210f..89675db3a 100644 --- a/test/storage/L1ReverseCustomGateway +++ b/test/storage/L1ReverseCustomGateway @@ -1,10 +1,21 @@ + +╭--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|---------------------------------------------------------------|------|--------|-------|------------------------------------------------------------------------------------------| ++=======================================================================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1ReverseCustomGateway.sol:L1ReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1ReverseCustomGateway.sol:L1ReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | inbox | address | 2 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1ReverseCustomGateway.sol:L1ReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | redirectedExits | mapping(bytes32 => struct L1ArbitrumExtendedGateway.ExitData) | 3 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1ReverseCustomGateway.sol:L1ReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l1ToL2Token | mapping(address => address) | 4 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1ReverseCustomGateway.sol:L1ReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | owner | address | 5 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1ReverseCustomGateway.sol:L1ReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | whitelist | address | 6 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1ReverseCustomGateway.sol:L1ReverseCustomGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | _status | uint256 | 7 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1ReverseCustomGateway.sol:L1ReverseCustomGateway | +╰--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------------------------╯ + diff --git a/test/storage/L1TokenBridgeRetryableSender b/test/storage/L1TokenBridgeRetryableSender index 2233e30ab..0c0ecf266 100644 --- a/test/storage/L1TokenBridgeRetryableSender +++ b/test/storage/L1TokenBridgeRetryableSender @@ -1,7 +1,15 @@ + +╭---------------+-------------+------+--------+-------+----------------------------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|---------------|-------------|------|--------|-------|----------------------------------------------------------------------------------------------| ++====================================================================================================================================================+ | _initialized | uint8 | 0 | 0 | 1 | contracts/tokenbridge/ethereum/L1TokenBridgeRetryableSender.sol:L1TokenBridgeRetryableSender | +|---------------+-------------+------+--------+-------+----------------------------------------------------------------------------------------------| | _initializing | bool | 0 | 1 | 1 | contracts/tokenbridge/ethereum/L1TokenBridgeRetryableSender.sol:L1TokenBridgeRetryableSender | +|---------------+-------------+------+--------+-------+----------------------------------------------------------------------------------------------| | __gap | uint256[50] | 1 | 0 | 1600 | contracts/tokenbridge/ethereum/L1TokenBridgeRetryableSender.sol:L1TokenBridgeRetryableSender | +|---------------+-------------+------+--------+-------+----------------------------------------------------------------------------------------------| | _owner | address | 51 | 0 | 20 | contracts/tokenbridge/ethereum/L1TokenBridgeRetryableSender.sol:L1TokenBridgeRetryableSender | +|---------------+-------------+------+--------+-------+----------------------------------------------------------------------------------------------| | __gap | uint256[49] | 52 | 0 | 1568 | contracts/tokenbridge/ethereum/L1TokenBridgeRetryableSender.sol:L1TokenBridgeRetryableSender | +╰---------------+-------------+------+--------+-------+----------------------------------------------------------------------------------------------╯ + diff --git a/test/storage/L1USDCGateway b/test/storage/L1USDCGateway index bf0aacf6c..3ceba08f8 100644 --- a/test/storage/L1USDCGateway +++ b/test/storage/L1USDCGateway @@ -1,12 +1,25 @@ + +╭--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|---------------------------------------------------------------|------|--------|-------|------------------------------------------------------------------------| ++=====================================================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1USDCGateway.sol:L1USDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1USDCGateway.sol:L1USDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | inbox | address | 2 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1USDCGateway.sol:L1USDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | redirectedExits | mapping(bytes32 => struct L1ArbitrumExtendedGateway.ExitData) | 3 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1USDCGateway.sol:L1USDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | l1USDC | address | 4 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1USDCGateway.sol:L1USDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | l2USDC | address | 5 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1USDCGateway.sol:L1USDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | owner | address | 6 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1USDCGateway.sol:L1USDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | burner | address | 7 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1USDCGateway.sol:L1USDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | depositsPaused | bool | 7 | 20 | 1 | contracts/tokenbridge/ethereum/gateway/L1USDCGateway.sol:L1USDCGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | burnAmount | uint256 | 8 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1USDCGateway.sol:L1USDCGateway | +╰--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------╯ + diff --git a/test/storage/L1WethGateway b/test/storage/L1WethGateway index 84f914b30..21d31e6f0 100644 --- a/test/storage/L1WethGateway +++ b/test/storage/L1WethGateway @@ -1,8 +1,17 @@ + +╭--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|---------------------------------------------------------------|------|--------|-------|------------------------------------------------------------------------| ++=====================================================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1WethGateway.sol:L1WethGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1WethGateway.sol:L1WethGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | inbox | address | 2 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1WethGateway.sol:L1WethGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | redirectedExits | mapping(bytes32 => struct L1ArbitrumExtendedGateway.ExitData) | 3 | 0 | 32 | contracts/tokenbridge/ethereum/gateway/L1WethGateway.sol:L1WethGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | l1Weth | address | 4 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1WethGateway.sol:L1WethGateway | +|--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------| | l2Weth | address | 5 | 0 | 20 | contracts/tokenbridge/ethereum/gateway/L1WethGateway.sol:L1WethGateway | +╰--------------------+---------------------------------------------------------------+------+--------+-------+------------------------------------------------------------------------╯ + diff --git a/test/storage/L2AtomicTokenBridgeFactory b/test/storage/L2AtomicTokenBridgeFactory index 55eed362d..1ec5dc079 100644 --- a/test/storage/L2AtomicTokenBridgeFactory +++ b/test/storage/L2AtomicTokenBridgeFactory @@ -1,2 +1,6 @@ + +╭------+------+------+--------+-------+----------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|------|------|------|--------|-------|----------| ++================================================+ +╰------+------+------+--------+-------+----------╯ + diff --git a/test/storage/L2CustomGateway b/test/storage/L2CustomGateway index e937d3f09..ef387e701 100644 --- a/test/storage/L2CustomGateway +++ b/test/storage/L2CustomGateway @@ -1,6 +1,13 @@ + +╭--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|-----------------------------|------|--------|-------|----------------------------------------------------------------------------| ++=======================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2CustomGateway.sol:L2CustomGateway | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2CustomGateway.sol:L2CustomGateway | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | exitNum | uint256 | 2 | 0 | 32 | contracts/tokenbridge/arbitrum/gateway/L2CustomGateway.sol:L2CustomGateway | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | l1ToL2Token | mapping(address => address) | 3 | 0 | 32 | contracts/tokenbridge/arbitrum/gateway/L2CustomGateway.sol:L2CustomGateway | +╰--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------╯ + diff --git a/test/storage/L2ERC20Gateway b/test/storage/L2ERC20Gateway index 710d97dba..bb7640927 100644 --- a/test/storage/L2ERC20Gateway +++ b/test/storage/L2ERC20Gateway @@ -1,6 +1,13 @@ + +╭--------------------+---------+------+--------+-------+--------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|---------|------|--------|-------|--------------------------------------------------------------------------| ++=================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2ERC20Gateway.sol:L2ERC20Gateway | +|--------------------+---------+------+--------+-------+--------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2ERC20Gateway.sol:L2ERC20Gateway | +|--------------------+---------+------+--------+-------+--------------------------------------------------------------------------| | exitNum | uint256 | 2 | 0 | 32 | contracts/tokenbridge/arbitrum/gateway/L2ERC20Gateway.sol:L2ERC20Gateway | +|--------------------+---------+------+--------+-------+--------------------------------------------------------------------------| | beaconProxyFactory | address | 3 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2ERC20Gateway.sol:L2ERC20Gateway | +╰--------------------+---------+------+--------+-------+--------------------------------------------------------------------------╯ + diff --git a/test/storage/L2GatewayRouter b/test/storage/L2GatewayRouter index 7838e9762..5306e19bf 100644 --- a/test/storage/L2GatewayRouter +++ b/test/storage/L2GatewayRouter @@ -1,6 +1,13 @@ + +╭--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|-----------------------------|------|--------|-------|----------------------------------------------------------------------------| ++=======================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2GatewayRouter.sol:L2GatewayRouter | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2GatewayRouter.sol:L2GatewayRouter | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | l1TokenToGateway | mapping(address => address) | 2 | 0 | 32 | contracts/tokenbridge/arbitrum/gateway/L2GatewayRouter.sol:L2GatewayRouter | +|--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------| | defaultGateway | address | 3 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2GatewayRouter.sol:L2GatewayRouter | +╰--------------------+-----------------------------+------+--------+-------+----------------------------------------------------------------------------╯ + diff --git a/test/storage/L2ReverseCustomGateway b/test/storage/L2ReverseCustomGateway index d17e1a3a7..87c724b34 100644 --- a/test/storage/L2ReverseCustomGateway +++ b/test/storage/L2ReverseCustomGateway @@ -1,6 +1,13 @@ + +╭--------------------+-----------------------------+------+--------+-------+------------------------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|-----------------------------|------|--------|-------|------------------------------------------------------------------------------------------| ++=====================================================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2ReverseCustomGateway.sol:L2ReverseCustomGateway | +|--------------------+-----------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2ReverseCustomGateway.sol:L2ReverseCustomGateway | +|--------------------+-----------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | exitNum | uint256 | 2 | 0 | 32 | contracts/tokenbridge/arbitrum/gateway/L2ReverseCustomGateway.sol:L2ReverseCustomGateway | +|--------------------+-----------------------------+------+--------+-------+------------------------------------------------------------------------------------------| | l1ToL2Token | mapping(address => address) | 3 | 0 | 32 | contracts/tokenbridge/arbitrum/gateway/L2ReverseCustomGateway.sol:L2ReverseCustomGateway | +╰--------------------+-----------------------------+------+--------+-------+------------------------------------------------------------------------------------------╯ + diff --git a/test/storage/L2USDCGateway b/test/storage/L2USDCGateway index fd55fa036..4a63377ab 100644 --- a/test/storage/L2USDCGateway +++ b/test/storage/L2USDCGateway @@ -1,10 +1,21 @@ + +╭--------------------------+---------+------+--------+-------+------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------------|---------|------|--------|-------|------------------------------------------------------------------------| ++=====================================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2USDCGateway.sol:L2USDCGateway | +|--------------------------+---------+------+--------+-------+------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2USDCGateway.sol:L2USDCGateway | +|--------------------------+---------+------+--------+-------+------------------------------------------------------------------------| | exitNum | uint256 | 2 | 0 | 32 | contracts/tokenbridge/arbitrum/gateway/L2USDCGateway.sol:L2USDCGateway | +|--------------------------+---------+------+--------+-------+------------------------------------------------------------------------| | l1USDC | address | 3 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2USDCGateway.sol:L2USDCGateway | +|--------------------------+---------+------+--------+-------+------------------------------------------------------------------------| | l2USDC | address | 4 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2USDCGateway.sol:L2USDCGateway | +|--------------------------+---------+------+--------+-------+------------------------------------------------------------------------| | owner | address | 5 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2USDCGateway.sol:L2USDCGateway | +|--------------------------+---------+------+--------+-------+------------------------------------------------------------------------| | usdcOwnershipTransferrer | address | 6 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2USDCGateway.sol:L2USDCGateway | +|--------------------------+---------+------+--------+-------+------------------------------------------------------------------------| | withdrawalsPaused | bool | 6 | 20 | 1 | contracts/tokenbridge/arbitrum/gateway/L2USDCGateway.sol:L2USDCGateway | +╰--------------------------+---------+------+--------+-------+------------------------------------------------------------------------╯ + diff --git a/test/storage/L2WethGateway b/test/storage/L2WethGateway index 703723384..aa66bf7e3 100644 --- a/test/storage/L2WethGateway +++ b/test/storage/L2WethGateway @@ -1,7 +1,15 @@ + +╭--------------------+---------+------+--------+-------+------------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|--------------------|---------|------|--------|-------|------------------------------------------------------------------------| ++===============================================================================================================================+ | counterpartGateway | address | 0 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2WethGateway.sol:L2WethGateway | +|--------------------+---------+------+--------+-------+------------------------------------------------------------------------| | router | address | 1 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2WethGateway.sol:L2WethGateway | +|--------------------+---------+------+--------+-------+------------------------------------------------------------------------| | exitNum | uint256 | 2 | 0 | 32 | contracts/tokenbridge/arbitrum/gateway/L2WethGateway.sol:L2WethGateway | +|--------------------+---------+------+--------+-------+------------------------------------------------------------------------| | l1Weth | address | 3 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2WethGateway.sol:L2WethGateway | +|--------------------+---------+------+--------+-------+------------------------------------------------------------------------| | l2Weth | address | 4 | 0 | 20 | contracts/tokenbridge/arbitrum/gateway/L2WethGateway.sol:L2WethGateway | +╰--------------------+---------+------+--------+-------+------------------------------------------------------------------------╯ + diff --git a/test/storage/StandardArbERC20 b/test/storage/StandardArbERC20 index 9b33d4682..bb9e1c86c 100644 --- a/test/storage/StandardArbERC20 +++ b/test/storage/StandardArbERC20 @@ -1,22 +1,45 @@ + +╭----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------╮ | Name | Type | Slot | Offset | Bytes | Contract | -|----------------------------------|--------------------------------------------------------|------|--------|-------|----------------------------------------------------------------------| ++==========================================================================================================================================================================================+ | _initialized | uint8 | 0 | 0 | 1 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | _initializing | bool | 0 | 1 | 1 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | __gap | uint256[50] | 1 | 0 | 1600 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | _balances | mapping(address => uint256) | 51 | 0 | 32 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | _allowances | mapping(address => mapping(address => uint256)) | 52 | 0 | 32 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | _totalSupply | uint256 | 53 | 0 | 32 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | _name | string | 54 | 0 | 32 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | _symbol | string | 55 | 0 | 32 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | _decimals | uint8 | 56 | 0 | 1 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | __gap | uint256[44] | 57 | 0 | 1408 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | _HASHED_NAME | bytes32 | 101 | 0 | 32 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | _HASHED_VERSION | bytes32 | 102 | 0 | 32 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | __gap | uint256[50] | 103 | 0 | 1600 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | _nonces | mapping(address => struct CountersUpgradeable.Counter) | 153 | 0 | 32 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | _PERMIT_TYPEHASH_DEPRECATED_SLOT | bytes32 | 154 | 0 | 32 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | __gap | uint256[49] | 155 | 0 | 1568 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | l2Gateway | address | 204 | 0 | 20 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | l1Address | address | 205 | 0 | 20 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | isMasterCopy | bool | 205 | 20 | 1 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +|----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------| | availableGetters | struct StandardArbERC20.ERC20Getters | 206 | 0 | 32 | contracts/tokenbridge/arbitrum/StandardArbERC20.sol:StandardArbERC20 | +╰----------------------------------+--------------------------------------------------------+------+--------+-------+----------------------------------------------------------------------╯ +