@tokamak-network/thanos-contracts
Version:
1 lines • 116 kB
JSON
{"abi":[],"bytecode":{"object":"0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080f000a","sourceMap":"317:8437:216:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;317:8437:216;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c634300080f000a","sourceMap":"317:8437:216:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"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\":\"london\",\"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.15+commit.e14f2714"},"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":"london","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":113257,"exportedSymbols":{"Encoding":[113256],"Hashing":[113767],"RLPWriter":[116061],"Types":[114994]},"nodeType":"SourceUnit","src":"32:8723:216","nodes":[{"id":112832,"nodeType":"PragmaDirective","src":"32:23:216","nodes":[],"literals":["solidity","^","0.8",".0"]},{"id":112834,"nodeType":"ImportDirective","src":"57:48:216","nodes":[],"absolutePath":"src/libraries/Types.sol","file":"src/libraries/Types.sol","nameLocation":"-1:-1:-1","scope":113257,"sourceUnit":114995,"symbolAliases":[{"foreign":{"id":112833,"name":"Types","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":114994,"src":"66:5:216","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":112836,"nodeType":"ImportDirective","src":"106:52:216","nodes":[],"absolutePath":"src/libraries/Hashing.sol","file":"src/libraries/Hashing.sol","nameLocation":"-1:-1:-1","scope":113257,"sourceUnit":113768,"symbolAliases":[{"foreign":{"id":112835,"name":"Hashing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":113767,"src":"115:7:216","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":112838,"nodeType":"ImportDirective","src":"159:60:216","nodes":[],"absolutePath":"src/libraries/rlp/RLPWriter.sol","file":"src/libraries/rlp/RLPWriter.sol","nameLocation":"-1:-1:-1","scope":113257,"sourceUnit":116062,"symbolAliases":[{"foreign":{"id":112837,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":116061,"src":"168:9:216","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":113256,"nodeType":"ContractDefinition","src":"317:8437:216","nodes":[{"id":112973,"nodeType":"FunctionDefinition","src":"719:780:216","nodes":[],"body":{"id":112972,"nodeType":"Block","src":"831:668:216","nodes":[],"statements":[{"assignments":[112849],"declarations":[{"constant":false,"id":112849,"mutability":"mutable","name":"source","nameLocation":"849:6:216","nodeType":"VariableDeclaration","scope":112972,"src":"841:14:216","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":112848,"name":"bytes32","nodeType":"ElementaryTypeName","src":"841:7:216","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":112857,"initialValue":{"arguments":[{"expression":{"id":112852,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112843,"src":"884:3:216","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$114980_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":112853,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"l1BlockHash","nodeType":"MemberAccess","referencedDeclaration":114977,"src":"884:15:216","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":112854,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112843,"src":"901:3:216","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$114980_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":112855,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"logIndex","nodeType":"MemberAccess","referencedDeclaration":114979,"src":"901:12:216","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":112850,"name":"Hashing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":113767,"src":"858:7:216","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Hashing_$113767_$","typeString":"type(library Hashing)"}},"id":112851,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"hashDepositSource","nodeType":"MemberAccess","referencedDeclaration":113601,"src":"858:25:216","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes32,uint256) pure returns (bytes32)"}},"id":112856,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"858:56:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"841:73:216"},{"assignments":[112862],"declarations":[{"constant":false,"id":112862,"mutability":"mutable","name":"raw","nameLocation":"939:3:216","nodeType":"VariableDeclaration","scope":112972,"src":"924:18:216","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":112860,"name":"bytes","nodeType":"ElementaryTypeName","src":"924:5:216","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":112861,"nodeType":"ArrayTypeName","src":"924:7:216","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":112868,"initialValue":{"arguments":[{"hexValue":"38","id":112866,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"957:1:216","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":112865,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"945:11:216","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":112863,"name":"bytes","nodeType":"ElementaryTypeName","src":"949:5:216","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":112864,"nodeType":"ArrayTypeName","src":"949:7:216","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":112867,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"945:14:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"924:35:216"},{"expression":{"id":112879,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":112869,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112862,"src":"969:3:216","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":112871,"indexExpression":{"hexValue":"30","id":112870,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"973:1:216","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:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":112876,"name":"source","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112849,"src":"1016:6:216","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":112874,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"999:3:216","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":112875,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"encodePacked","nodeType":"MemberAccess","src":"999:16:216","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":112877,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"999:24:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":112872,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":116061,"src":"978:9:216","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$116061_$","typeString":"type(library RLPWriter)"}},"id":112873,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"writeBytes","nodeType":"MemberAccess","referencedDeclaration":115606,"src":"978:20:216","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes memory)"}},"id":112878,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"978:46:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"969:55:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":112880,"nodeType":"ExpressionStatement","src":"969:55:216"},{"expression":{"id":112889,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":112881,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112862,"src":"1034:3:216","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":112883,"indexExpression":{"hexValue":"31","id":112882,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1038:1:216","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:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":112886,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112843,"src":"1066:3:216","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$114980_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":112887,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"from","nodeType":"MemberAccess","referencedDeclaration":114963,"src":"1066:8:216","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":112884,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":116061,"src":"1043:9:216","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$116061_$","typeString":"type(library RLPWriter)"}},"id":112885,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"writeAddress","nodeType":"MemberAccess","referencedDeclaration":115670,"src":"1043:22:216","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$returns$_t_bytes_memory_ptr_$","typeString":"function (address) pure returns (bytes memory)"}},"id":112888,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1043:32:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1034:41:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":112890,"nodeType":"ExpressionStatement","src":"1034:41:216"},{"expression":{"id":112906,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":112891,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112862,"src":"1085:3:216","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":112893,"indexExpression":{"hexValue":"32","id":112892,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1089:1:216","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:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"expression":{"id":112894,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112843,"src":"1094:3:216","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$114980_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":112895,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"isCreation","nodeType":"MemberAccess","referencedDeclaration":114967,"src":"1094:14:216","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"expression":{"id":112902,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112843,"src":"1161:3:216","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$114980_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":112903,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"to","nodeType":"MemberAccess","referencedDeclaration":114965,"src":"1161:6:216","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":112900,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":116061,"src":"1138:9:216","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$116061_$","typeString":"type(library RLPWriter)"}},"id":112901,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"writeAddress","nodeType":"MemberAccess","referencedDeclaration":115670,"src":"1138:22:216","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$returns$_t_bytes_memory_ptr_$","typeString":"function (address) pure returns (bytes memory)"}},"id":112904,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1138:30:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":112905,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"1094:74:216","trueExpression":{"arguments":[{"hexValue":"","id":112898,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1132:2:216","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"id":112896,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":116061,"src":"1111:9:216","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$116061_$","typeString":"type(library RLPWriter)"}},"id":112897,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"writeBytes","nodeType":"MemberAccess","referencedDeclaration":115606,"src":"1111:20:216","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes memory)"}},"id":112899,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1111:24:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1085:83:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":112907,"nodeType":"ExpressionStatement","src":"1085:83:216"},{"expression":{"id":112916,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":112908,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112862,"src":"1178:3:216","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":112910,"indexExpression":{"hexValue":"33","id":112909,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1182:1:216","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:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":112913,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112843,"src":"1207:3:216","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$114980_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":112914,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"mint","nodeType":"MemberAccess","referencedDeclaration":114971,"src":"1207:8:216","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":112911,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":116061,"src":"1187:9:216","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$116061_$","typeString":"type(library RLPWriter)"}},"id":112912,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"writeUint","nodeType":"MemberAccess","referencedDeclaration":115687,"src":"1187:19:216","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":112915,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1187:29:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1178:38:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":112917,"nodeType":"ExpressionStatement","src":"1178:38:216"},{"expression":{"id":112926,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":112918,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112862,"src":"1226:3:216","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":112920,"indexExpression":{"hexValue":"34","id":112919,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1230:1:216","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:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":112923,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112843,"src":"1255:3:216","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$114980_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":112924,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"value","nodeType":"MemberAccess","referencedDeclaration":114969,"src":"1255:9:216","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":112921,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":116061,"src":"1235:9:216","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$116061_$","typeString":"type(library RLPWriter)"}},"id":112922,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"writeUint","nodeType":"MemberAccess","referencedDeclaration":115687,"src":"1235:19:216","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":112925,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1235:30:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1226:39:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":112927,"nodeType":"ExpressionStatement","src":"1226:39:216"},{"expression":{"id":112939,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":112928,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112862,"src":"1275:3:216","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":112930,"indexExpression":{"hexValue":"35","id":112929,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1279:1:216","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:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"expression":{"id":112935,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112843,"src":"1312:3:216","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$114980_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":112936,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"gasLimit","nodeType":"MemberAccess","referencedDeclaration":114973,"src":"1312:12:216","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint64","typeString":"uint64"}],"id":112934,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1304:7:216","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":112933,"name":"uint256","nodeType":"ElementaryTypeName","src":"1304:7:216","typeDescriptions":{}}},"id":112937,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1304:21:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":112931,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":116061,"src":"1284:9:216","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$116061_$","typeString":"type(library RLPWriter)"}},"id":112932,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"writeUint","nodeType":"MemberAccess","referencedDeclaration":115687,"src":"1284:19:216","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":112938,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1284:42:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1275:51:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":112940,"nodeType":"ExpressionStatement","src":"1275:51:216"},{"expression":{"id":112948,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":112941,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112862,"src":"1336:3:216","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":112943,"indexExpression":{"hexValue":"36","id":112942,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1340:1:216","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:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"66616c7365","id":112946,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1365:5:216","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":112944,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":116061,"src":"1345:9:216","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$116061_$","typeString":"type(library RLPWriter)"}},"id":112945,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"writeBool","nodeType":"MemberAccess","referencedDeclaration":115719,"src":"1345:19:216","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_bytes_memory_ptr_$","typeString":"function (bool) pure returns (bytes memory)"}},"id":112947,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1345:26:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1336:35:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":112949,"nodeType":"ExpressionStatement","src":"1336:35:216"},{"expression":{"id":112958,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":112950,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112862,"src":"1381:3:216","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":112952,"indexExpression":{"hexValue":"37","id":112951,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1385:1:216","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:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":112955,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112843,"src":"1411:3:216","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$114980_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":112956,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"data","nodeType":"MemberAccess","referencedDeclaration":114975,"src":"1411:8:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":112953,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":116061,"src":"1390:9:216","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$116061_$","typeString":"type(library RLPWriter)"}},"id":112954,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"writeBytes","nodeType":"MemberAccess","referencedDeclaration":115606,"src":"1390:20:216","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes memory)"}},"id":112957,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1390:30:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1381:39:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":112959,"nodeType":"ExpressionStatement","src":"1381:39:216"},{"expression":{"arguments":[{"arguments":[{"hexValue":"30783765","id":112964,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1460:4:216","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":112963,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1454:5:216","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":112962,"name":"uint8","nodeType":"ElementaryTypeName","src":"1454:5:216","typeDescriptions":{}}},"id":112965,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1454:11:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"arguments":[{"id":112968,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112862,"src":"1487:3:216","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":112966,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":116061,"src":"1467:9:216","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$116061_$","typeString":"type(library RLPWriter)"}},"id":112967,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"writeList","nodeType":"MemberAccess","referencedDeclaration":115634,"src":"1467:19:216","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":112969,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1467:24:216","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":112960,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1437:3:216","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":112961,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"encodePacked","nodeType":"MemberAccess","src":"1437:16:216","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":112970,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1437:55:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":112847,"id":112971,"nodeType":"Return","src":"1430:62:216"}]},"documentation":{"id":112840,"nodeType":"StructuredDocumentation","src":"340:374:216","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:216","parameters":{"id":112844,"nodeType":"ParameterList","parameters":[{"constant":false,"id":112843,"mutability":"mutable","name":"_tx","nameLocation":"789:3:216","nodeType":"VariableDeclaration","scope":112973,"src":"753:39:216","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$114980_memory_ptr","typeString":"struct Types.UserDepositTransaction"},"typeName":{"id":112842,"nodeType":"UserDefinedTypeName","pathNode":{"id":112841,"name":"Types.UserDepositTransaction","nodeType":"IdentifierPath","referencedDeclaration":114980,"src":"753:28:216"},"referencedDeclaration":114980,"src":"753:28:216","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$114980_storage_ptr","typeString":"struct Types.UserDepositTransaction"}},"visibility":"internal"}],"src":"752:41:216"},"returnParameters":{"id":112847,"nodeType":"ParameterList","parameters":[{"constant":false,"id":112846,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":112973,"src":"817:12:216","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":112845,"name":"bytes","nodeType":"ElementaryTypeName","src":"817:5:216","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"816:14:216"},"scope":113256,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":113029,"nodeType":"FunctionDefinition","src":"2062:663:216","nodes":[],"body":{"id":113028,"nodeType":"Block","src":"2320:405:216","nodes":[],"statements":[{"assignments":[null,112992],"declarations":[null,{"constant":false,"id":112992,"mutability":"mutable","name":"version","nameLocation":"2340:7:216","nodeType":"VariableDeclaration","scope":113028,"src":"2333:14:216","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":112991,"name":"uint16","nodeType":"ElementaryTypeName","src":"2333:6:216","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"id":112996,"initialValue":{"arguments":[{"id":112994,"name":"_nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112976,"src":"2372:6:216","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":112993,"name":"decodeVersionedNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":113122,"src":"2351:20:216","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint240_$_t_uint16_$","typeString":"function (uint256) pure returns (uint240,uint16)"}},"id":112995,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2351:28:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint240_$_t_uint16_$","typeString":"tuple(uint240,uint16)"}},"nodeType":"VariableDeclarationStatement","src":"2330:49:216"},{"condition":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":112999,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":112997,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112992,"src":"2393:7:216","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":112998,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2404:1:216","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2393:12:216","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":113010,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":113008,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112992,"src":"2508:7:216","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"31","id":113009,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2519:1:216","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"2508:12:216","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":113025,"nodeType":"Block","src":"2638:81:216","statements":[{"expression":{"arguments":[{"hexValue":"456e636f64696e673a20756e6b6e6f776e2063726f737320646f6d61696e206d6573736167652076657273696f6e","id":113022,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2659:48:216","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":113021,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"2652:6:216","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":113023,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2652:56:216","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":113024,"nodeType":"ExpressionStatement","src":"2652:56:216"}]},"id":113026,"nodeType":"IfStatement","src":"2504:215:216","trueBody":{"id":113020,"nodeType":"Block","src":"2522:110:216","statements":[{"expression":{"arguments":[{"id":113012,"name":"_nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112976,"src":"2570:6:216","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":113013,"name":"_sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112978,"src":"2578:7:216","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":113014,"name":"_target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112980,"src":"2587:7:216","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":113015,"name":"_value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112982,"src":"2596:6:216","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":113016,"name":"_gasLimit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112984,"src":"2604:9:216","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":113017,"name":"_data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112986,"src":"2615:5:216","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdenti