@tokamak-network/thanos-contracts
Version:
1 lines • 117 kB
JSON
{"abi":[],"bytecode":{"object":"0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000819000a","sourceMap":"317:8437:27:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;317:8437:27;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000819000a","sourceMap":"317:8437:27:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.25+commit.b61c2a91\"},\"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.25+commit.b61c2a91"},"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":47918,"exportedSymbols":{"Encoding":[47917],"Hashing":[48139],"RLPWriter":[49256],"Types":[48757]},"nodeType":"SourceUnit","src":"32:8723:27","nodes":[{"id":47493,"nodeType":"PragmaDirective","src":"32:23:27","nodes":[],"literals":["solidity","^","0.8",".0"]},{"id":47495,"nodeType":"ImportDirective","src":"57:48:27","nodes":[],"absolutePath":"src/libraries/Types.sol","file":"src/libraries/Types.sol","nameLocation":"-1:-1:-1","scope":47918,"sourceUnit":48758,"symbolAliases":[{"foreign":{"id":47494,"name":"Types","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":48757,"src":"66:5:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":47497,"nodeType":"ImportDirective","src":"106:52:27","nodes":[],"absolutePath":"src/libraries/Hashing.sol","file":"src/libraries/Hashing.sol","nameLocation":"-1:-1:-1","scope":47918,"sourceUnit":48140,"symbolAliases":[{"foreign":{"id":47496,"name":"Hashing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":48139,"src":"115:7:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":47499,"nodeType":"ImportDirective","src":"159:60:27","nodes":[],"absolutePath":"src/libraries/rlp/RLPWriter.sol","file":"src/libraries/rlp/RLPWriter.sol","nameLocation":"-1:-1:-1","scope":47918,"sourceUnit":49257,"symbolAliases":[{"foreign":{"id":47498,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":49256,"src":"168:9:27","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":47917,"nodeType":"ContractDefinition","src":"317:8437:27","nodes":[{"id":47634,"nodeType":"FunctionDefinition","src":"719:780:27","nodes":[],"body":{"id":47633,"nodeType":"Block","src":"831:668:27","nodes":[],"statements":[{"assignments":[47510],"declarations":[{"constant":false,"id":47510,"mutability":"mutable","name":"source","nameLocation":"849:6:27","nodeType":"VariableDeclaration","scope":47633,"src":"841:14:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":47509,"name":"bytes32","nodeType":"ElementaryTypeName","src":"841:7:27","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":47518,"initialValue":{"arguments":[{"expression":{"id":47513,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47504,"src":"884:3:27","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$48742_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":47514,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"888:11:27","memberName":"l1BlockHash","nodeType":"MemberAccess","referencedDeclaration":48739,"src":"884:15:27","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":47515,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47504,"src":"901:3:27","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$48742_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":47516,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"905:8:27","memberName":"logIndex","nodeType":"MemberAccess","referencedDeclaration":48741,"src":"901:12:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":47511,"name":"Hashing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":48139,"src":"858:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Hashing_$48139_$","typeString":"type(library Hashing)"}},"id":47512,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"866:17:27","memberName":"hashDepositSource","nodeType":"MemberAccess","referencedDeclaration":47973,"src":"858:25:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes32,uint256) pure returns (bytes32)"}},"id":47517,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"858:56:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"841:73:27"},{"assignments":[47523],"declarations":[{"constant":false,"id":47523,"mutability":"mutable","name":"raw","nameLocation":"939:3:27","nodeType":"VariableDeclaration","scope":47633,"src":"924:18:27","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes[]"},"typeName":{"baseType":{"id":47521,"name":"bytes","nodeType":"ElementaryTypeName","src":"924:5:27","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":47522,"nodeType":"ArrayTypeName","src":"924:7:27","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}},"visibility":"internal"}],"id":47529,"initialValue":{"arguments":[{"hexValue":"38","id":47527,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"957:1:27","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":47526,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"945:11:27","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":47524,"name":"bytes","nodeType":"ElementaryTypeName","src":"949:5:27","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"id":47525,"nodeType":"ArrayTypeName","src":"949:7:27","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_storage_$dyn_storage_ptr","typeString":"bytes[]"}}},"id":47528,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"945:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"nodeType":"VariableDeclarationStatement","src":"924:35:27"},{"expression":{"id":47540,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":47530,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47523,"src":"969:3:27","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":47532,"indexExpression":{"hexValue":"30","id":47531,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"973:1:27","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:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":47537,"name":"source","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47510,"src":"1016:6:27","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":47535,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"999:3:27","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":47536,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1003:12:27","memberName":"encodePacked","nodeType":"MemberAccess","src":"999:16:27","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":47538,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"999:24:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":47533,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":49256,"src":"978:9:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$49256_$","typeString":"type(library RLPWriter)"}},"id":47534,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"988:10:27","memberName":"writeBytes","nodeType":"MemberAccess","referencedDeclaration":48801,"src":"978:20:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes memory)"}},"id":47539,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"978:46:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"969:55:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":47541,"nodeType":"ExpressionStatement","src":"969:55:27"},{"expression":{"id":47550,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":47542,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47523,"src":"1034:3:27","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":47544,"indexExpression":{"hexValue":"31","id":47543,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1038:1:27","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:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":47547,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47504,"src":"1066:3:27","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$48742_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":47548,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1070:4:27","memberName":"from","nodeType":"MemberAccess","referencedDeclaration":48725,"src":"1066:8:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":47545,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":49256,"src":"1043:9:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$49256_$","typeString":"type(library RLPWriter)"}},"id":47546,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1053:12:27","memberName":"writeAddress","nodeType":"MemberAccess","referencedDeclaration":48865,"src":"1043:22:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$returns$_t_bytes_memory_ptr_$","typeString":"function (address) pure returns (bytes memory)"}},"id":47549,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1043:32:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1034:41:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":47551,"nodeType":"ExpressionStatement","src":"1034:41:27"},{"expression":{"id":47567,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":47552,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47523,"src":"1085:3:27","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":47554,"indexExpression":{"hexValue":"32","id":47553,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1089:1:27","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:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"condition":{"expression":{"id":47555,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47504,"src":"1094:3:27","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$48742_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":47556,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1098:10:27","memberName":"isCreation","nodeType":"MemberAccess","referencedDeclaration":48729,"src":"1094:14:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"expression":{"id":47563,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47504,"src":"1161:3:27","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$48742_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":47564,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1165:2:27","memberName":"to","nodeType":"MemberAccess","referencedDeclaration":48727,"src":"1161:6:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":47561,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":49256,"src":"1138:9:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$49256_$","typeString":"type(library RLPWriter)"}},"id":47562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1148:12:27","memberName":"writeAddress","nodeType":"MemberAccess","referencedDeclaration":48865,"src":"1138:22:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$returns$_t_bytes_memory_ptr_$","typeString":"function (address) pure returns (bytes memory)"}},"id":47565,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1138:30:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":47566,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"1094:74:27","trueExpression":{"arguments":[{"hexValue":"","id":47559,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1132:2:27","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"id":47557,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":49256,"src":"1111:9:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$49256_$","typeString":"type(library RLPWriter)"}},"id":47558,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1121:10:27","memberName":"writeBytes","nodeType":"MemberAccess","referencedDeclaration":48801,"src":"1111:20:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes memory)"}},"id":47560,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1111:24:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1085:83:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":47568,"nodeType":"ExpressionStatement","src":"1085:83:27"},{"expression":{"id":47577,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":47569,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47523,"src":"1178:3:27","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":47571,"indexExpression":{"hexValue":"33","id":47570,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1182:1:27","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:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":47574,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47504,"src":"1207:3:27","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$48742_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":47575,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1211:4:27","memberName":"mint","nodeType":"MemberAccess","referencedDeclaration":48733,"src":"1207:8:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":47572,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":49256,"src":"1187:9:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$49256_$","typeString":"type(library RLPWriter)"}},"id":47573,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1197:9:27","memberName":"writeUint","nodeType":"MemberAccess","referencedDeclaration":48882,"src":"1187:19:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":47576,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1187:29:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1178:38:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":47578,"nodeType":"ExpressionStatement","src":"1178:38:27"},{"expression":{"id":47587,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":47579,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47523,"src":"1226:3:27","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":47581,"indexExpression":{"hexValue":"34","id":47580,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1230:1:27","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:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":47584,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47504,"src":"1255:3:27","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$48742_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":47585,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1259:5:27","memberName":"value","nodeType":"MemberAccess","referencedDeclaration":48731,"src":"1255:9:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":47582,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":49256,"src":"1235:9:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$49256_$","typeString":"type(library RLPWriter)"}},"id":47583,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1245:9:27","memberName":"writeUint","nodeType":"MemberAccess","referencedDeclaration":48882,"src":"1235:19:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":47586,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1235:30:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1226:39:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":47588,"nodeType":"ExpressionStatement","src":"1226:39:27"},{"expression":{"id":47600,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":47589,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47523,"src":"1275:3:27","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":47591,"indexExpression":{"hexValue":"35","id":47590,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1279:1:27","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:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"expression":{"id":47596,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47504,"src":"1312:3:27","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$48742_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":47597,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1316:8:27","memberName":"gasLimit","nodeType":"MemberAccess","referencedDeclaration":48735,"src":"1312:12:27","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint64","typeString":"uint64"}],"id":47595,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1304:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":47594,"name":"uint256","nodeType":"ElementaryTypeName","src":"1304:7:27","typeDescriptions":{}}},"id":47598,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1304:21:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":47592,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":49256,"src":"1284:9:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$49256_$","typeString":"type(library RLPWriter)"}},"id":47593,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1294:9:27","memberName":"writeUint","nodeType":"MemberAccess","referencedDeclaration":48882,"src":"1284:19:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":47599,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1284:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1275:51:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":47601,"nodeType":"ExpressionStatement","src":"1275:51:27"},{"expression":{"id":47609,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":47602,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47523,"src":"1336:3:27","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":47604,"indexExpression":{"hexValue":"36","id":47603,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1340:1:27","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:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"66616c7365","id":47607,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1365:5:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":47605,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":49256,"src":"1345:9:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$49256_$","typeString":"type(library RLPWriter)"}},"id":47606,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1355:9:27","memberName":"writeBool","nodeType":"MemberAccess","referencedDeclaration":48914,"src":"1345:19:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_bytes_memory_ptr_$","typeString":"function (bool) pure returns (bytes memory)"}},"id":47608,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1345:26:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1336:35:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":47610,"nodeType":"ExpressionStatement","src":"1336:35:27"},{"expression":{"id":47619,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":47611,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47523,"src":"1381:3:27","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes_memory_ptr_$dyn_memory_ptr","typeString":"bytes memory[] memory"}},"id":47613,"indexExpression":{"hexValue":"37","id":47612,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1385:1:27","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:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":47616,"name":"_tx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47504,"src":"1411:3:27","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$48742_memory_ptr","typeString":"struct Types.UserDepositTransaction memory"}},"id":47617,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1415:4:27","memberName":"data","nodeType":"MemberAccess","referencedDeclaration":48737,"src":"1411:8:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":47614,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":49256,"src":"1390:9:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$49256_$","typeString":"type(library RLPWriter)"}},"id":47615,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1400:10:27","memberName":"writeBytes","nodeType":"MemberAccess","referencedDeclaration":48801,"src":"1390:20:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes memory)"}},"id":47618,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1390:30:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"1381:39:27","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":47620,"nodeType":"ExpressionStatement","src":"1381:39:27"},{"expression":{"arguments":[{"arguments":[{"hexValue":"30783765","id":47625,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1460:4:27","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":47624,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1454:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":47623,"name":"uint8","nodeType":"ElementaryTypeName","src":"1454:5:27","typeDescriptions":{}}},"id":47626,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1454:11:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"arguments":[{"id":47629,"name":"raw","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47523,"src":"1487:3:27","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":47627,"name":"RLPWriter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":49256,"src":"1467:9:27","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_RLPWriter_$49256_$","typeString":"type(library RLPWriter)"}},"id":47628,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1477:9:27","memberName":"writeList","nodeType":"MemberAccess","referencedDeclaration":48829,"src":"1467:19:27","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":47630,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1467:24:27","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":47621,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"1437:3:27","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":47622,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1441:12:27","memberName":"encodePacked","nodeType":"MemberAccess","src":"1437:16:27","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":47631,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1437:55:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":47508,"id":47632,"nodeType":"Return","src":"1430:62:27"}]},"documentation":{"id":47501,"nodeType":"StructuredDocumentation","src":"340:374:27","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:27","parameters":{"id":47505,"nodeType":"ParameterList","parameters":[{"constant":false,"id":47504,"mutability":"mutable","name":"_tx","nameLocation":"789:3:27","nodeType":"VariableDeclaration","scope":47634,"src":"753:39:27","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$48742_memory_ptr","typeString":"struct Types.UserDepositTransaction"},"typeName":{"id":47503,"nodeType":"UserDefinedTypeName","pathNode":{"id":47502,"name":"Types.UserDepositTransaction","nameLocations":["753:5:27","759:22:27"],"nodeType":"IdentifierPath","referencedDeclaration":48742,"src":"753:28:27"},"referencedDeclaration":48742,"src":"753:28:27","typeDescriptions":{"typeIdentifier":"t_struct$_UserDepositTransaction_$48742_storage_ptr","typeString":"struct Types.UserDepositTransaction"}},"visibility":"internal"}],"src":"752:41:27"},"returnParameters":{"id":47508,"nodeType":"ParameterList","parameters":[{"constant":false,"id":47507,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":47634,"src":"817:12:27","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":47506,"name":"bytes","nodeType":"ElementaryTypeName","src":"817:5:27","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"816:14:27"},"scope":47917,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":47690,"nodeType":"FunctionDefinition","src":"2062:663:27","nodes":[],"body":{"id":47689,"nodeType":"Block","src":"2320:405:27","nodes":[],"statements":[{"assignments":[null,47653],"declarations":[null,{"constant":false,"id":47653,"mutability":"mutable","name":"version","nameLocation":"2340:7:27","nodeType":"VariableDeclaration","scope":47689,"src":"2333:14:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":47652,"name":"uint16","nodeType":"ElementaryTypeName","src":"2333:6:27","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"id":47657,"initialValue":{"arguments":[{"id":47655,"name":"_nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47637,"src":"2372:6:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":47654,"name":"decodeVersionedNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47783,"src":"2351:20:27","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint240_$_t_uint16_$","typeString":"function (uint256) pure returns (uint240,uint16)"}},"id":47656,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2351:28:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint240_$_t_uint16_$","typeString":"tuple(uint240,uint16)"}},"nodeType":"VariableDeclarationStatement","src":"2330:49:27"},{"condition":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":47660,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":47658,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47653,"src":"2393:7:27","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":47659,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2404:1:27","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2393:12:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":47671,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":47669,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47653,"src":"2508:7:27","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"31","id":47670,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2519:1:27","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"2508:12:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":47686,"nodeType":"Block","src":"2638:81:27","statements":[{"expression":{"arguments":[{"hexValue":"456e636f64696e673a20756e6b6e6f776e2063726f737320646f6d61696e206d6573736167652076657273696f6e","id":47683,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2659:48:27","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":47682,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"2652:6:27","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":47684,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2652:56:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":47685,"nodeType":"ExpressionStatement","src":"2652:56:27"}]},"id":47687,"nodeType":"IfStatement","src":"2504:215:27","trueBody":{"id":47681,"nodeType":"Block","src":"2522:110:27","statements":[{"expression":{"arguments":[{"id":47673,"name":"_nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47637,"src":"2570:6:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":47674,"name":"_sender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47639,"src":"2578:7:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":47675,"name":"_target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47641,"src":"2587:7:27","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":47676,"name":"_value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":47643,"src":"2596:6:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4767