@tokamak-network/thanos-contracts
Version:
1 lines • 117 kB
JSON
{"abi":[],"bytecode":{"object":"0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c634300081a000a","sourceMap":"317:8437:63:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;317:8437:63;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c634300081a000a","sourceMap":"317:8437:63:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"Encoding\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Encoding handles Optimism's various different encoding schemes.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/libraries/Encoding.sol\":\"Encoding\"},\"evmVersion\":\"cancun\",\"libraries\":{\"src/tokamak-contracts/USDC/L2/tokamak-USDC/v2/FiatTokenV2_2.sol:SignatureChecker\":\"0x4200000000000000000000000000000000000776\"},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[\":@lib-keccak/=lib/lib-keccak/contracts/lib/\",\":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":@openzeppelin/contracts_v3.1.0/=lib/openzeppelin-contracts_v3.1.0/contracts/\",\":@openzeppelin/contracts_v5.0.1/=lib/openzeppelin-contracts_v5.0.1/contracts/\",\":@rari-capital/solmate/=lib/solmate/\",\":@solady-test/=lib/lib-keccak/lib/solady/test/\",\":@solady/=lib/solady/src/\",\":automate/=lib/automate/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts_v5.0.1/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":gelato/=lib/automate/contracts/\",\":hardhat/=lib/automate/node_modules/hardhat/\",\":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/\",\":lib-keccak/=lib/lib-keccak/contracts/\",\":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin-contracts_v3.1.0/=lib/openzeppelin-contracts_v3.1.0/contracts/\",\":openzeppelin-contracts_v5.0.1/=lib/openzeppelin-contracts_v5.0.1/\",\":prb-test/=lib/automate/lib/prb-test/src/\",\":prb/-est/=lib/automate/lib/prb-test/src/\",\":safe-contracts/=lib/safe-contracts/contracts/\",\":solady/=lib/solady/\",\":solmate/=lib/solmate/src/\"]},\"sources\":{\"src/libraries/Encoding.sol\":{\"keccak256\":\"0x5586d9715d8fbdd48245220f13a96573555fd847a333869e862ae186802e0311\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3f34dbd5a0a8918120e226f549a8337bd6fc7176653159a85929ce6fe3d66e11\",\"dweb:/ipfs/QmQKnhRPMnhKBRLmV2C1BqAsPpQg8xVFXi7ZLuHU9XQ1BE\"]},\"src/libraries/Hashing.sol\":{\"keccak256\":\"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12\",\"dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF\"]},\"src/libraries/Types.sol\":{\"keccak256\":\"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e\",\"dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc\"]},\"src/libraries/rlp/RLPWriter.sol\":{\"keccak256\":\"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b\",\"dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.26+commit.8a97fa7a"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@openzeppelin/contracts_v3.1.0/=lib/openzeppelin-contracts_v3.1.0/contracts/","@openzeppelin/contracts_v5.0.1/=lib/openzeppelin-contracts_v5.0.1/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","automate/=lib/automate/contracts/","ds-test/=lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts_v5.0.1/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","gelato/=lib/automate/contracts/","hardhat/=lib/automate/node_modules/hardhat/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","openzeppelin-contracts_v3.1.0/=lib/openzeppelin-contracts_v3.1.0/contracts/","openzeppelin-contracts_v5.0.1/=lib/openzeppelin-contracts_v5.0.1/","prb-test/=lib/automate/lib/prb-test/src/","prb/-est/=lib/automate/lib/prb-test/src/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],"optimizer":{"enabled":true,"runs":999999},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"src/libraries/Encoding.sol":"Encoding"},"evmVersion":"cancun","libraries":{"src/tokamak-contracts/USDC/L2/tokamak-USDC/v2/FiatTokenV2_2.sol:SignatureChecker":"0x4200000000000000000000000000000000000776"}},"sources":{"src/libraries/Encoding.sol":{"keccak256":"0x5586d9715d8fbdd48245220f13a96573555fd847a333869e862ae186802e0311","urls":["bzz-raw://3f34dbd5a0a8918120e226f549a8337bd6fc7176653159a85929ce6fe3d66e11","dweb:/ipfs/QmQKnhRPMnhKBRLmV2C1BqAsPpQg8xVFXi7ZLuHU9XQ1BE"],"license":"MIT"},"src/libraries/Hashing.sol":{"keccak256":"0x89c07a0ca102cbe57b4e082543f2dd6dae0e1fd4a87908a334bd076fc914e7b8","urls":["bzz-raw://69c83489c9544ab442dc244c2feb2c6811b726a5eb5a509b97fc5ccb90b98c12","dweb:/ipfs/QmPGGJeLasc1HWHzd6odvWcNvFPQrbYtDubZcv8yp1HLtF"],"license":"MIT"},"src/libraries/Types.sol":{"keccak256":"0x75900d651301940d24c00d14f0b3b6cbd6dcf379173ceaa31d9bf5be934a9aa4","urls":["bzz-raw://99c2632c5bf4fa3982391c32110eec9fa07917b483b2442cbaf18bdde5bdb24e","dweb:/ipfs/QmSUs6Amkeootf5gKGbKi4mJpvhN2U8i1ED6ef2dskV5xc"],"license":"MIT"},"src/libraries/rlp/RLPWriter.sol":{"keccak256":"0x60ac401490f321c9c55e996a2c65151cd5e60de5f8f297e7c94d541c29820bb6","urls":["bzz-raw://070f5814db07e4a89173d44a36d90e4261ce530f7336034c01635347f2c2d88b","dweb:/ipfs/QmXqr9yW5Kc8MYgr5wSehU5AiqS9pZ4FKxv7vwiwpZCcyV"],"license":"MIT"}},"version":1},"storageLayout":{"storage":[],"types":{}},"userdoc":{"version":1,"kind":"user","notice":"Encoding handles Optimism's various different encoding schemes."},"devdoc":{"version":1,"kind":"dev","title":"Encoding"},"ast":{"absolutePath":"src/libraries/Encoding.sol","id":55580,"exportedSymbols":{"Encoding":[55579],"Hashing":[55801],"RLPWriter":[58077],"Types":[57008]},"nodeType":"SourceUnit","src":"32:8723:63","nodes":[{"id":55155,"nodeType":"PragmaDirective","src":"32:23:63","nodes":[],"literals":["solidity","^","0.8",".0"]},{"id":55157,"nodeType":"ImportDirective","src":"57:48:63","nodes":[],"absolutePath":"src/libraries/Types.sol","file":"src/libraries/Types.sol","nameLocation":"-1:-1:-1","scope":55580,"sourceUnit":57009,"symbolAliases":[{"foreign":{"id":55156,"name":"Types","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":57008,"src":"66:5:63","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":55159,"nodeType":"ImportDirective","src":"106:52:63","nodes":[],"absolutePath":"src/libraries/Hashing.sol","file":"src/libraries/Hashing.sol","nameLocation":"-1:-1:-1","scope":55580,"sourceUnit":55802,"symbolAliases":[{"foreign":{"id":55158,"name":"Hashing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55801,"src":"115:7:63","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":55161,"nodeType":"ImportDirective","src":"159:60:63","nodes":[],"absolutePath":"src/libraries/rlp/RLPWriter.sol","file":"src/libraries/rlp/RLPWriter.sol","nameLocation":"-1:-1:-1","scope":55580,"sourceUnit":58078,"symbolAliases":[{"foreign":{"id":55160,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":58077,"src":"168:9:63","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":55579,"nodeType":"ContractDefinition","src":"317:8437:63","nodes":[{"id":55296,"nodeType":"FunctionDefinition","src":"719:780:63","nodes":[],"body":{"id":55295,"nodeType":"Block","src":"831:668:63","nodes":[],"statements":[{"assignments":[55172],"declarations":[{"constant":false,"id":55172,"mutability":"mutable","name":"source","nameLocation":"849:6:63","nodeType":"VariableDeclaration","scope":55295,"src":"841:14:63","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":55171,"name":"bytes32","nodeType":"ElementaryTypeName","src":"841:7:63","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":55180,"initialValue":{"arguments":[{"expression":{"id":55175,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55166,"src":"884:3:63","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$56993_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":55176,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"888:11:63","memberName":"l1BlockHash","nodeType":"MemberAccess","referencedDeclaration":56990,"src":"884:15:63","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":55177,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55166,"src":"901:3:63","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$56993_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":55178,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"905:8:63","memberName":"logIndex","nodeType":"MemberAccess","referencedDeclaration":56992,"src":"901:12:63","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":55173,"name":"Hashing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55801,"src":"858:7:63","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Hashing_$55801_$","typeString":"type(library Hashing)"}},"id":55174,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"866:17:63","memberName":"hashDepositSource","nodeType":"MemberAccess","referencedDeclaration":55635,"src":"858:25:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes32,uint256) pure returns (bytes32)"}},"id":55179,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"858:56:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"841:73:63"},{"assignments":[55185],"declarations":[{"constant":false,"id":55185,"mutability":"mutable","name":"raw","nameLocation":"939:3:63","nodeType":"VariableDeclaration","scope":55295,"src":"924:18:63","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":55183,"name":"bytes","nodeType":"ElementaryTypeName","src":"924:5:63","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":55184,"nodeType":"ArrayTypeName","src":"924:7:63","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":55191,"initialValue":{"arguments":[{"hexValue":"38","id":55189,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"957:1:63","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"}],"id":55188,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"945:11:63","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory[] memory)"},"typeName":{"baseType":{"id":55186,"name":"bytes","nodeType":"ElementaryTypeName","src":"949:5:63","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":55187,"nodeType":"ArrayTypeName","src":"949:7:63","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":55190,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"945:14:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"924:35:63"},{"expression":{"id":55202,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":55192,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55185,"src":"969:3:63","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":55194,"indexExpression":{"hexValue":"30","id":55193,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"973:1:63","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"969:6:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":55199,"name":"source","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55172,"src":"1016:6:63","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":55197,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"999:3:63","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":55198,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1003:12:63","memberName":"encodePacked","nodeType":"MemberAccess","src":"999:16:63","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":55200,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"999:24:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":55195,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":58077,"src":"978:9:63","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$58077_$","typeString":"type(library RLPWriter)"}},"id":55196,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"988:10:63","memberName":"writeBytes","nodeType":"MemberAccess","referencedDeclaration":57622,"src":"978:20:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes memory)"}},"id":55201,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"978:46:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"969:55:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":55203,"nodeType":"ExpressionStatement","src":"969:55:63"},{"expression":{"id":55212,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":55204,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55185,"src":"1034:3:63","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":55206,"indexExpression":{"hexValue":"31","id":55205,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1038:1:63","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1034:6:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":55209,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55166,"src":"1066:3:63","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$56993_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":55210,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1070:4:63","memberName":"from","nodeType":"MemberAccess","referencedDeclaration":56976,"src":"1066:8:63","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":55207,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":58077,"src":"1043:9:63","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$58077_$","typeString":"type(library RLPWriter)"}},"id":55208,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1053:12:63","memberName":"writeAddress","nodeType":"MemberAccess","referencedDeclaration":57686,"src":"1043:22:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$returns$_t_bytes_memory_ptr_$","typeString":"function (address) pure returns (bytes memory)"}},"id":55211,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1043:32:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1034:41:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":55213,"nodeType":"ExpressionStatement","src":"1034:41:63"},{"expression":{"id":55229,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":55214,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55185,"src":"1085:3:63","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":55216,"indexExpression":{"hexValue":"32","id":55215,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1089:1:63","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1085:6:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"expression":{"id":55217,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55166,"src":"1094:3:63","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$56993_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":55218,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1098:10:63","memberName":"isCreation","nodeType":"MemberAccess","referencedDeclaration":56980,"src":"1094:14:63","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"expression":{"id":55225,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55166,"src":"1161:3:63","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$56993_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":55226,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1165:2:63","memberName":"to","nodeType":"MemberAccess","referencedDeclaration":56978,"src":"1161:6:63","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":55223,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":58077,"src":"1138:9:63","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$58077_$","typeString":"type(library RLPWriter)"}},"id":55224,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1148:12:63","memberName":"writeAddress","nodeType":"MemberAccess","referencedDeclaration":57686,"src":"1138:22:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$returns$_t_bytes_memory_ptr_$","typeString":"function (address) pure returns (bytes memory)"}},"id":55227,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1138:30:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":55228,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"1094:74:63","trueExpression":{"arguments":[{"hexValue":"","id":55221,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1132:2:63","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"id":55219,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":58077,"src":"1111:9:63","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$58077_$","typeString":"type(library RLPWriter)"}},"id":55220,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1121:10:63","memberName":"writeBytes","nodeType":"MemberAccess","referencedDeclaration":57622,"src":"1111:20:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes memory)"}},"id":55222,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1111:24:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1085:83:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":55230,"nodeType":"ExpressionStatement","src":"1085:83:63"},{"expression":{"id":55239,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":55231,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55185,"src":"1178:3:63","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":55233,"indexExpression":{"hexValue":"33","id":55232,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1182:1:63","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1178:6:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":55236,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55166,"src":"1207:3:63","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$56993_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":55237,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1211:4:63","memberName":"mint","nodeType":"MemberAccess","referencedDeclaration":56984,"src":"1207:8:63","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":55234,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":58077,"src":"1187:9:63","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$58077_$","typeString":"type(library RLPWriter)"}},"id":55235,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1197:9:63","memberName":"writeUint","nodeType":"MemberAccess","referencedDeclaration":57703,"src":"1187:19:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":55238,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1187:29:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1178:38:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":55240,"nodeType":"ExpressionStatement","src":"1178:38:63"},{"expression":{"id":55249,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":55241,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55185,"src":"1226:3:63","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":55243,"indexExpression":{"hexValue":"34","id":55242,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1230:1:63","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1226:6:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":55246,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55166,"src":"1255:3:63","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$56993_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":55247,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1259:5:63","memberName":"value","nodeType":"MemberAccess","referencedDeclaration":56982,"src":"1255:9:63","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":55244,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":58077,"src":"1235:9:63","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$58077_$","typeString":"type(library RLPWriter)"}},"id":55245,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1245:9:63","memberName":"writeUint","nodeType":"MemberAccess","referencedDeclaration":57703,"src":"1235:19:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":55248,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1235:30:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1226:39:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":55250,"nodeType":"ExpressionStatement","src":"1226:39:63"},{"expression":{"id":55262,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":55251,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55185,"src":"1275:3:63","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":55253,"indexExpression":{"hexValue":"35","id":55252,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1279:1:63","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1275:6:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"expression":{"id":55258,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55166,"src":"1312:3:63","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$56993_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":55259,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1316:8:63","memberName":"gasLimit","nodeType":"MemberAccess","referencedDeclaration":56986,"src":"1312:12:63","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint64","typeString":"uint64"}],"id":55257,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1304:7:63","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":55256,"name":"uint256","nodeType":"ElementaryTypeName","src":"1304:7:63","typeDescriptions":{}}},"id":55260,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1304:21:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":55254,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":58077,"src":"1284:9:63","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$58077_$","typeString":"type(library RLPWriter)"}},"id":55255,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1294:9:63","memberName":"writeUint","nodeType":"MemberAccess","referencedDeclaration":57703,"src":"1284:19:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":55261,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1284:42:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1275:51:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":55263,"nodeType":"ExpressionStatement","src":"1275:51:63"},{"expression":{"id":55271,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":55264,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55185,"src":"1336:3:63","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":55266,"indexExpression":{"hexValue":"36","id":55265,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1340:1:63","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1336:6:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"66616c7365","id":55269,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1365:5:63","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":55267,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":58077,"src":"1345:9:63","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$58077_$","typeString":"type(library RLPWriter)"}},"id":55268,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1355:9:63","memberName":"writeBool","nodeType":"MemberAccess","referencedDeclaration":57735,"src":"1345:19:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_bytes_memory_ptr_$","typeString":"function (bool) pure returns (bytes memory)"}},"id":55270,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1345:26:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1336:35:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":55272,"nodeType":"ExpressionStatement","src":"1336:35:63"},{"expression":{"id":55281,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":55273,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55185,"src":"1381:3:63","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":55275,"indexExpression":{"hexValue":"37","id":55274,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1385:1:63","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1381:6:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":55278,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55166,"src":"1411:3:63","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$56993_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":55279,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1415:4:63","memberName":"data","nodeType":"MemberAccess","referencedDeclaration":56988,"src":"1411:8:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":55276,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":58077,"src":"1390:9:63","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$58077_$","typeString":"type(library RLPWriter)"}},"id":55277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1400:10:63","memberName":"writeBytes","nodeType":"MemberAccess","referencedDeclaration":57622,"src":"1390:20:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes memory)"}},"id":55280,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1390:30:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1381:39:63","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":55282,"nodeType":"ExpressionStatement","src":"1381:39:63"},{"expression":{"arguments":[{"arguments":[{"hexValue":"30783765","id":55287,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1460:4:63","typeDescriptions":{"typeIdentifier":"t_rational_126_by_1","typeString":"int_const 126"},"value":"0x7e"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_126_by_1","typeString":"int_const 126"}],"id":55286,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1454:5:63","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":55285,"name":"uint8","nodeType":"ElementaryTypeName","src":"1454:5:63","typeDescriptions":{}}},"id":55288,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1454:11:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"arguments":[{"id":55291,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55185,"src":"1487:3:63","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}],"expression":{"id":55289,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":58077,"src":"1467:9:63","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$58077_$","typeString":"type(library RLPWriter)"}},"id":55290,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1477:9:63","memberName":"writeList","nodeType":"MemberAccess","referencedDeclaration":57650,"src":"1467:19:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_array$_t_bytes_memory_ptr_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory[] memory) pure returns (bytes memory)"}},"id":55292,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1467:24:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":55283,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1437:3:63","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":55284,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1441:12:63","memberName":"encodePacked","nodeType":"MemberAccess","src":"1437:16:63","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":55293,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1437:55:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":55170,"id":55294,"nodeType":"Return","src":"1430:62:63"}]},"documentation":{"id":55163,"nodeType":"StructuredDocumentation","src":"340:374:63","text":"@notice RLP encodes the L2 transaction that would be generated when a given deposit is sent\n to the L2 system. Useful for searching for a deposit in the L2 system. The\n transaction is prefixed with 0x7e to identify its EIP-2718 type.\n @param _tx User deposit transaction to encode.\n @return RLP encoded L2 deposit transaction."},"implemented":true,"kind":"function","modifiers":[],"name":"encodeDepositTransaction","nameLocation":"728:24:63","parameters":{"id":55167,"nodeType":"ParameterList","parameters":[{"constant":false,"id":55166,"mutability":"mutable","name":"_tx","nameLocation":"789:3:63","nodeType":"VariableDeclaration","scope":55296,"src":"753:39:63","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$56993_memory_ptr","typeString":"struct Types.UserDepositTransaction"},"typeName":{"id":55165,"nodeType":"UserDefinedTypeName","pathNode":{"id":55164,"name":"Types.UserDepositTransaction","nameLocations":["753:5:63","759:22:63"],"nodeType":"IdentifierPath","referencedDeclaration":56993,"src":"753:28:63"},"referencedDeclaration":56993,"src":"753:28:63","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$56993_storage_ptr","typeString":"struct Types.UserDepositTransaction"}},"visibility":"internal"}],"src":"752:41:63"},"returnParameters":{"id":55170,"nodeType":"ParameterList","parameters":[{"constant":false,"id":55169,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":55296,"src":"817:12:63","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":55168,"name":"bytes","nodeType":"ElementaryTypeName","src":"817:5:63","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"816:14:63"},"scope":55579,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":55352,"nodeType":"FunctionDefinition","src":"2062:663:63","nodes":[],"body":{"id":55351,"nodeType":"Block","src":"2320:405:63","nodes":[],"statements":[{"assignments":[null,55315],"declarations":[null,{"constant":false,"id":55315,"mutability":"mutable","name":"version","nameLocation":"2340:7:63","nodeType":"VariableDeclaration","scope":55351,"src":"2333:14:63","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":55314,"name":"uint16","nodeType":"ElementaryTypeName","src":"2333:6:63","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"id":55319,"initialValue":{"arguments":[{"id":55317,"name":"_nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55299,"src":"2372:6:63","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":55316,"name":"decodeVersionedNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55445,"src":"2351:20:63","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint240_$_t_uint16_$","typeString":"function (uint256) pure returns (uint240,uint16)"}},"id":55318,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2351:28:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint240_$_t_uint16_$","typeString":"tuple(uint240,uint16)"}},"nodeType":"VariableDeclarationStatement","src":"2330:49:63"},{"condition":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":55322,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":55320,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55315,"src":"2393:7:63","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":55321,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2404:1:63","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2393:12:63","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":55333,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":55331,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55315,"src":"2508:7:63","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"31","id":55332,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2519:1:63","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"2508:12:63","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":55348,"nodeType":"Block","src":"2638:81:63","statements":[{"expression":{"arguments":[{"hexValue":"456e636f64696e673a20756e6b6e6f776e2063726f737320646f6d61696e206d6573736167652076657273696f6e","id":55345,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2659:48:63","typeDescriptions":{"typeIdentifier":"t_stringliteral_20f286d8aba599c42275a01116f2950ae5fc870430b0c87c9769ad93ff637977","typeString":"literal_string \"Encoding: unknown cross domain message version\""},"value":"Encoding: unknown cross domain message version"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_20f286d8aba599c42275a01116f2950ae5fc870430b0c87c9769ad93ff637977","typeString":"literal_string \"Encoding: unknown cross domain message version\""}],"id":55344,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"2652:6:63","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":55346,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2652:56:63","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":55347,"nodeType":"ExpressionStatement","src":"2652:56:63"}]},"id":55349,"nodeType":"IfStatement","src":"2504:215:63","trueBody":{"id":55343,"nodeType":"Block","src":"2522:110:63","statements":[{"expression":{"arguments":[{"id":55335,"name":"_nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55299,"src":"2570:6:63","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":55336,"name":"_sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55301,"src":"2578:7:63","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":55337,"name":"_target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55303,"src":"2587:7:63","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":55338,"name":"_value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":55305,"src":"2596:6:63","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5533