UNPKG

moonwalkerswap-v2-periphery

Version:
595 lines 463 kB
{ "contractName": "RouterEventEmitter", "abi": [ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256[]", "name": "amounts", "type": "uint256[]" } ], "name": "Amounts", "type": "event" }, { "stateMutability": "payable", "type": "receive" }, { "inputs": [ { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "uint256", "name": "amountIn", "type": "uint256" }, { "internalType": "uint256", "name": "amountOutMin", "type": "uint256" }, { "internalType": "address[]", "name": "path", "type": "address[]" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "swapExactTokensForTokens", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "uint256", "name": "amountOut", "type": "uint256" }, { "internalType": "uint256", "name": "amountInMax", "type": "uint256" }, { "internalType": "address[]", "name": "path", "type": "address[]" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "swapTokensForExactTokens", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "uint256", "name": "amountOutMin", "type": "uint256" }, { "internalType": "address[]", "name": "path", "type": "address[]" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "swapExactETHForTokens", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "uint256", "name": "amountOut", "type": "uint256" }, { "internalType": "uint256", "name": "amountInMax", "type": "uint256" }, { "internalType": "address[]", "name": "path", "type": "address[]" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "swapTokensForExactETH", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "uint256", "name": "amountIn", "type": "uint256" }, { "internalType": "uint256", "name": "amountOutMin", "type": "uint256" }, { "internalType": "address[]", "name": "path", "type": "address[]" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "swapExactTokensForETH", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "router", "type": "address" }, { "internalType": "uint256", "name": "amountOut", "type": "uint256" }, { "internalType": "address[]", "name": "path", "type": "address[]" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" } ], "name": "swapETHForExactTokens", "outputs": [], "stateMutability": "payable", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.6.6+commit.6c089d02\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"Amounts\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapETHForExactTokens\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactETHForTokens\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForETH\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactETH\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"router\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountInMax\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapTokensForExactTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/warrenmason/Documents/UniswapV3Contracts/Core/LiveContracts/Moonwalkerswap-v2-periphery/contracts/test/RouterEventEmitter.sol\":\"RouterEventEmitter\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/warrenmason/Documents/UniswapV3Contracts/Core/LiveContracts/Moonwalkerswap-v2-periphery/contracts/interfaces/IMoonwalkerswapV2Router01.sol\":{\"keccak256\":\"0xca122eb08288a7222f98a734e2ad9a338bf02293d0894dc7f1d8dcbd808eef4c\",\"urls\":[\"bzz-raw://1c596c0213ac56f727eaaa15208e68a61a3eabd5351a59de7cabc171213faa8f\",\"dweb:/ipfs/QmPCMAZUk5uuQAHWyBQ68kPhdSUcecQDctvfaUHDaNT28K\"]},\"/Users/warrenmason/Documents/UniswapV3Contracts/Core/LiveContracts/Moonwalkerswap-v2-periphery/contracts/test/RouterEventEmitter.sol\":{\"keccak256\":\"0xc802d46430230c0c5eddb6f51d605835e9ac590859d2045ab3f4bcd70a641609\",\"urls\":[\"bzz-raw://3fd2fe45c3847d86e62ad2bd7c34ed3e2c0ed5e63468bc88af54b70aaaddd62e\",\"dweb:/ipfs/Qmcodg2DjnXrpCQDcbeaHaC7bvvA1Zinh5ycLxWVr1dUWD\"]}},\"version\":1}", "bytecode": "0x608060405234801561001057600080fd5b50610cda806100206000396000f3fe6080604052600436106100595760003560e01c806322b5841014610065578063375734d91461010d5780639c91fcb5146101b3578063b05f579e14610259578063fa3219d5146102eb578063fde1adda1461039157610060565b3661006057005b600080fd5b34801561007157600080fd5b5061010b600480360360c081101561008857600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b8111156100be57600080fd5b8201836020820111156100d057600080fd5b803590602001918460208302840111600160201b831117156100f157600080fd5b91935091506001600160a01b038135169060200135610423565b005b34801561011957600080fd5b5061010b600480360360c081101561013057600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561016657600080fd5b82018360208201111561017857600080fd5b803590602001918460208302840111600160201b8311171561019957600080fd5b91935091506001600160a01b03813516906020013561069c565b3480156101bf57600080fd5b5061010b600480360360c08110156101d657600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561020c57600080fd5b82018360208201111561021e57600080fd5b803590602001918460208302840111600160201b8311171561023f57600080fd5b91935091506001600160a01b038135169060200135610785565b61010b600480360360a081101561026f57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561029e57600080fd5b8201836020820111156102b057600080fd5b803590602001918460208302840111600160201b831117156102d157600080fd5b91935091506001600160a01b03813516906020013561086e565b3480156102f757600080fd5b5061010b600480360360c081101561030e57600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561034457600080fd5b82018360208201111561035657600080fd5b803590602001918460208302840111600160201b8311171561037757600080fd5b91935091506001600160a01b038135169060200135610ade565b61010b600480360360a08110156103a757600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156103d657600080fd5b8201836020820111156103e857600080fd5b803590602001918460208302840111600160201b8311171561040957600080fd5b91935091506001600160a01b038135169060200135610bc7565b60006060886001600160a01b0316638803dbee60e01b8989898989896040516024018087815260200186815260200180602001846001600160a01b03166001600160a01b031681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083835b6020831061050d5780518252601f1990920191602091820191016104ee565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461056d576040519150601f19603f3d011682016040523d82523d6000602084013e610572565b606091505b50915091508161057e57fe5b7f4cc17991e3610e3400e74a8306aa421daaee1e3446fa22b490604610999e10b38180602001905160208110156105b457600080fd5b8101908080516040519392919084600160201b8211156105d357600080fd5b9083019060208201858111156105e857600080fd5b82518660208202830111600160201b8211171561060457600080fd5b82525081516020918201928201910280838360005b83811015610631578181015183820152602001610619565b505050509050016040525050506040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561067e578181015183820152602001610666565b505050509050019250505060405180910390a1505050505050505050565b60006060886001600160a01b03166338ed173960e01b8989898989896040516024018087815260200186815260200180602001846001600160a01b03166001600160a01b031681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083836020831061050d5780518252601f1990920191602091820191016104ee565b60006060886001600160a01b03166318cbafe560e01b8989898989896040516024018087815260200186815260200180602001846001600160a01b03166001600160a01b031681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083836020831061050d5780518252601f1990920191602091820191016104ee565b60006060876001600160a01b031663fb3bdb4160e01b88888888886040516024018086815260200180602001846001600160a01b03166001600160a01b031681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f8201169050808301925050509650505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083835b602083106109505780518252601f199092019160209182019101610931565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146109b0576040519150601f19603f3d011682016040523d82523d6000602084013e6109b5565b606091505b5091509150816109c157fe5b7f4cc17991e3610e3400e74a8306aa421daaee1e3446fa22b490604610999e10b38180602001905160208110156109f757600080fd5b8101908080516040519392919084600160201b821115610a1657600080fd5b908301906020820185811115610a2b57600080fd5b82518660208202830111600160201b82111715610a4757600080fd5b82525081516020918201928201910280838360005b83811015610a74578181015183820152602001610a5c565b505050509050016040525050506040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610ac1578181015183820152602001610aa9565b505050509050019250505060405180910390a15050505050505050565b60006060886001600160a01b0316634a25d94a60e01b8989898989896040516024018087815260200186815260200180602001846001600160a01b03166001600160a01b031681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083836020831061050d5780518252601f1990920191602091820191016104ee565b60006060876001600160a01b0316637ff36ab560e01b88888888886040516024018086815260200180602001846001600160a01b03166001600160a01b03168152602001838152602001828103825286868281815260200192506020028082843760008382015260408051601f909201601f199081169094018281039094018252928352602080820180516001600160e01b03166001600160e01b0319909d169c909c178c5292518151919b909a508a9950975095508594508793508692505083106109505780518252601f19909201916020918201910161093156fea2646970667358221220f5f9131058b740c7f2aa52c5f225c969d7bcc6fc3c49d2f9531662cd5beeef5c64736f6c63430006060033", "deployedBytecode": "0x6080604052600436106100595760003560e01c806322b5841014610065578063375734d91461010d5780639c91fcb5146101b3578063b05f579e14610259578063fa3219d5146102eb578063fde1adda1461039157610060565b3661006057005b600080fd5b34801561007157600080fd5b5061010b600480360360c081101561008857600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b8111156100be57600080fd5b8201836020820111156100d057600080fd5b803590602001918460208302840111600160201b831117156100f157600080fd5b91935091506001600160a01b038135169060200135610423565b005b34801561011957600080fd5b5061010b600480360360c081101561013057600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561016657600080fd5b82018360208201111561017857600080fd5b803590602001918460208302840111600160201b8311171561019957600080fd5b91935091506001600160a01b03813516906020013561069c565b3480156101bf57600080fd5b5061010b600480360360c08110156101d657600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561020c57600080fd5b82018360208201111561021e57600080fd5b803590602001918460208302840111600160201b8311171561023f57600080fd5b91935091506001600160a01b038135169060200135610785565b61010b600480360360a081101561026f57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b81111561029e57600080fd5b8201836020820111156102b057600080fd5b803590602001918460208302840111600160201b831117156102d157600080fd5b91935091506001600160a01b03813516906020013561086e565b3480156102f757600080fd5b5061010b600480360360c081101561030e57600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561034457600080fd5b82018360208201111561035657600080fd5b803590602001918460208302840111600160201b8311171561037757600080fd5b91935091506001600160a01b038135169060200135610ade565b61010b600480360360a08110156103a757600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156103d657600080fd5b8201836020820111156103e857600080fd5b803590602001918460208302840111600160201b8311171561040957600080fd5b91935091506001600160a01b038135169060200135610bc7565b60006060886001600160a01b0316638803dbee60e01b8989898989896040516024018087815260200186815260200180602001846001600160a01b03166001600160a01b031681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083835b6020831061050d5780518252601f1990920191602091820191016104ee565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461056d576040519150601f19603f3d011682016040523d82523d6000602084013e610572565b606091505b50915091508161057e57fe5b7f4cc17991e3610e3400e74a8306aa421daaee1e3446fa22b490604610999e10b38180602001905160208110156105b457600080fd5b8101908080516040519392919084600160201b8211156105d357600080fd5b9083019060208201858111156105e857600080fd5b82518660208202830111600160201b8211171561060457600080fd5b82525081516020918201928201910280838360005b83811015610631578181015183820152602001610619565b505050509050016040525050506040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561067e578181015183820152602001610666565b505050509050019250505060405180910390a1505050505050505050565b60006060886001600160a01b03166338ed173960e01b8989898989896040516024018087815260200186815260200180602001846001600160a01b03166001600160a01b031681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083836020831061050d5780518252601f1990920191602091820191016104ee565b60006060886001600160a01b03166318cbafe560e01b8989898989896040516024018087815260200186815260200180602001846001600160a01b03166001600160a01b031681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083836020831061050d5780518252601f1990920191602091820191016104ee565b60006060876001600160a01b031663fb3bdb4160e01b88888888886040516024018086815260200180602001846001600160a01b03166001600160a01b031681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f8201169050808301925050509650505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083835b602083106109505780518252601f199092019160209182019101610931565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146109b0576040519150601f19603f3d011682016040523d82523d6000602084013e6109b5565b606091505b5091509150816109c157fe5b7f4cc17991e3610e3400e74a8306aa421daaee1e3446fa22b490604610999e10b38180602001905160208110156109f757600080fd5b8101908080516040519392919084600160201b821115610a1657600080fd5b908301906020820185811115610a2b57600080fd5b82518660208202830111600160201b82111715610a4757600080fd5b82525081516020918201928201910280838360005b83811015610a74578181015183820152602001610a5c565b505050509050016040525050506040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610ac1578181015183820152602001610aa9565b505050509050019250505060405180910390a15050505050505050565b60006060886001600160a01b0316634a25d94a60e01b8989898989896040516024018087815260200186815260200180602001846001600160a01b03166001600160a01b031681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083836020831061050d5780518252601f1990920191602091820191016104ee565b60006060876001600160a01b0316637ff36ab560e01b88888888886040516024018086815260200180602001846001600160a01b03166001600160a01b03168152602001838152602001828103825286868281815260200192506020028082843760008382015260408051601f909201601f199081169094018281039094018252928352602080820180516001600160e01b03166001600160e01b0319909d169c909c178c5292518151919b909a508a9950975095508594508793508692505083106109505780518252601f19909201916020918201910161093156fea2646970667358221220f5f9131058b740c7f2aa52c5f225c969d7bcc6fc3c49d2f9531662cd5beeef5c64736f6c63430006060033", "immutableReferences": {}, "sourceMap": "80:3159:16:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;80:3159:16;;;;;;;", "deployedSourceMap": "80:3159:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;708:517:16;;5:9:-1;2:2;;;27:1;24;17:12;2:2;708:517:16;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;708:517:16;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;708:517:16;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;708:517:16;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;708:517:16;;-1:-1:-1;708:517:16;-1:-1:-1;;;;;;708:517:16;;;;;;;;:::i;:::-;;185;;5:9:-1;2:2;;;27:1;24;17:12;2:2;185:517:16;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;185:517:16;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;185:517:16;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;185:517:16;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;185:517:16;;-1:-1:-1;185:517:16;-1:-1:-1;;;;;;185:517:16;;;;;;;;:::i;2240:511::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2240:511:16;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;2240:511:16;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;2240:511:16;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;2240:511:16;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;2240:511:16;;-1:-1:-1;2240:511:16;-1:-1:-1;;;;;;2240:511:16;;;;;;;;:::i;2757:480::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;2757:480:16;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;2757:480:16;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;2757:480:16;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;2757:480:16;;-1:-1:-1;2757:480:16;-1:-1:-1;;;;;;2757:480:16;;;;;;;;:::i;1723:511::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1723:511:16;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;1723:511:16;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;1723:511:16;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;1723:511:16;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;1723:511:16;;-1:-1:-1;1723:511:16;-1:-1:-1;;;;;;1723:511:16;;;;;;;;:::i;1231:486::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;1231:486:16;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;1231:486:16;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;1231:486:16;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;1231:486:16;;-1:-1:-1;1231:486:16;-1:-1:-1;;;;;;1231:486:16;;;;;;;;:::i;708:517::-;918:12;932:23;959:6;-1:-1:-1;;;;;959:19:16;1015:67;;;1084:9;1095:11;1108:4;;1114:2;1118:8;979:157;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;979:157:16;-1:-1:-1;;;;;979:157:16;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;979:157:16;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;979:157:16;;;;-1:-1:-1;;;;;979:157:16;;38:4:-1;29:7;25:18;67:10;61:17;-1:-1;;;;;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;979:157:16;959:178;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;959:178:16;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;917:220:16;;;;1154:7;1147:15;;;;1177:41;1196:10;1185:32;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;1185:32:16;;;;;;;;;;;;;-1:-1:-1;;;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;-1:-1;;;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;1185:32:16;;421:4:-1;412:14;;;;1185:32:16;;;;;412:14:-1;1185:32:16;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1185:32:16;;;;;;;;;;;1177:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1177:41:16;;;;;;;;;;;;;;;;;708:517;;;;;;;;;:::o;185:::-;395:12;409:23;436:6;-1:-1:-1;;;;;436:19:16;492:67;;;561:8;571:12;585:4;;591:2;595:8;456:157;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;456:157:16;-1:-1:-1;;;;;456:157:16;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;456:157:16;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;456:157:16;;;;-1:-1:-1;;;;;456:157:16;;38:4:-1;29:7;25:18;67:10;61:17;-1:-1;;;;;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;456:157:16;436:178;;;;;;;;;;;;;66:2:-1;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;2240:511:16;2447:12;2461:23;2488:6;-1:-1:-1;;;;;2488:19:16;2544:64;;;2610:8;2620:12;2634:4;;2640:2;2644:8;2508:154;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2508:154:16;-1:-1:-1;;;;;2508:154:16;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;2508:154:16;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;2508:154:16;;;;-1:-1:-1;;;;;2508:154:16;;38:4:-1;29:7;25:18;67:10;61:17;-1:-1;;;;;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;2508:154:16;2488:175;;;;;;;;;;;;;66:2:-1;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;2757:480:16;2946:12;2960:23;2987:6;-1:-1:-1;;;;;2987:19:16;3043:64;;;3109:9;3120:4;;3126:2;3130:8;3007:141;;;;;;;;;;;;;;-1:-1:-1;;;;;3007:141:16;-1:-1:-1;;;;;3007:141:16;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;3007:141:16;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;3007:141:16;;;;-1:-1:-1;;;;;3007:141:16;;38:4:-1;29:7;25:18;67:10;61:17;-1:-1;;;;;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;3007:141:16;2987:162;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;2987:162:16;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;2945:204:16;;;;3166:7;3159:15;;;;3189:41;3208:10;3197:32;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;3197:32:16;;;;;;;;;;;;;-1:-1:-1;;;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;-1:-1;;;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;3197:32:16;;421:4:-1;412:14;;;;3197:32:16;;;;;412:14:-1;3197:32:16;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3197:32:16;;;;;;;;;;;3189:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3189:41:16;;;;;;;;;;;;;;;;;2757:480;;;;;;;;:::o;1723:511::-;1930:12;1944:23;1971:6;-1:-1:-1;;;;;1971:19:16;2027:64;;;2093:9;2104:11;2117:4;;2123:2;2127:8;1991:154;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1991:154:16;-1:-1:-1;;;;;1991:154:16;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;1991:154:16;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;1991:154:16;;;;-1:-1:-1;;;;;1991:154:16;;38:4:-1;29:7;25:18;67:10;61:17;-1:-1;;;;;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;1991:154:16;1971:175;;;;;;;;;;;;;66:2:-1;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;1231:486:16;1423:12;1437:23;1464:6;-1:-1:-1;;;;;1464:19:16;1520:64;;;1586:12;1600:4;;1606:2;1610:8;1484:144;;;;;;;;;;;;;;-1:-1:-1;;;;;1484:144:16;-1:-1:-1;;;;;1484:144:16;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;1484:144:16;;;137:4:-1;117:14;;;-1:-1;;113:30;;;157:16;;;26:21;;;22:32;;;6:49;;1484:144:16;;;49:4:-1;25:18;;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;1484:144:16;;;179:29:-1;;;;160:49;;1464:165:16;;;;1484:144;;1464:165;;-1:-1:-1;1464:165:16;;-1:-1:-1;25:18;-1:-1;1464:165:16;-1:-1:-1;1464:165:16;;-1:-1:-1;1464:165:16;;-1:-1:-1;25:18;;-1:-1;;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;", "source": "pragma solidity =0.6.6;\n\nimport '../interfaces/IMoonwalkerswapV2Router01.sol';\n\ncontract RouterEventEmitter {\n event Amounts(uint[] amounts);\n\n receive() external payable {}\n\n function swapExactTokensForTokens(\n address router,\n uint amountIn,\n uint amountOutMin,\n address[] calldata path,\n address to,\n uint deadline\n ) external {\n (bool success, bytes memory returnData) = router.delegatecall(abi.encodeWithSelector(\n IMoonwalkerswapV2Router01(router).swapExactTokensForTokens.selector, amountIn, amountOutMin, path, to, deadline\n ));\n assert(success);\n emit Amounts(abi.decode(returnData, (uint[])));\n }\n\n function swapTokensForExactTokens(\n address router,\n uint amountOut,\n uint amountInMax,\n address[] calldata path,\n address to,\n uint deadline\n ) external {\n (bool success, bytes memory returnData) = router.delegatecall(abi.encodeWithSelector(\n IMoonwalkerswapV2Router01(router).swapTokensForExactTokens.selector, amountOut, amountInMax, path, to, deadline\n ));\n assert(success);\n emit Amounts(abi.decode(returnData, (uint[])));\n }\n\n function swapExactETHForTokens(\n address router,\n uint amountOutMin,\n address[] calldata path,\n address to,\n uint deadline\n ) external payable {\n (bool success, bytes memory returnData) = router.delegatecall(abi.encodeWithSelector(\n IMoonwalkerswapV2Router01(router).swapExactETHForTokens.selector, amountOutMin, path, to, deadline\n ));\n assert(success);\n emit Amounts(abi.decode(returnData, (uint[])));\n }\n\n function swapTokensForExactETH(\n address router,\n uint amountOut,\n uint amountInMax,\n address[] calldata path,\n address to,\n uint deadline\n ) external {\n (bool success, bytes memory returnData) = router.delegatecall(abi.encodeWithSelector(\n IMoonwalkerswapV2Router01(router).swapTokensForExactETH.selector, amountOut, amountInMax, path, to, deadline\n ));\n assert(success);\n emit Amounts(abi.decode(returnData, (uint[])));\n }\n\n function swapExactTokensForETH(\n address router,\n uint amountIn,\n uint amountOutMin,\n address[] calldata path,\n address to,\n uint deadline\n ) external {\n (bool success, bytes memory returnData) = router.delegatecall(abi.encodeWithSelector(\n IMoonwalkerswapV2Router01(router).swapExactTokensForETH.selector, amountIn, amountOutMin, path, to, deadline\n ));\n assert(success);\n emit Amounts(abi.decode(returnData, (uint[])));\n }\n\n function swapETHForExactTokens(\n address router,\n uint amountOut,\n address[] calldata path,\n address to,\n uint deadline\n ) external payable {\n (bool success, bytes memory returnData) = router.delegatecall(abi.encodeWithSelector(\n IMoonwalkerswapV2Router01(router).swapETHForExactTokens.selector, amountOut, path, to, deadline\n ));\n assert(success);\n emit Amounts(abi.decode(returnData, (uint[])));\n }\n}\n", "sourcePath": "/Users/warrenmason/Documents/UniswapV3Contracts/Core/LiveContracts/Moonwalkerswap-v2-periphery/contracts/test/RouterEventEmitter.sol", "ast": { "absolutePath": "/Users/warrenmason/Documents/UniswapV3Contracts/Core/LiveContracts/Moonwalkerswap-v2-periphery/contracts/test/RouterEventEmitter.sol", "exportedSymbols": { "RouterEventEmitter": [ 6504 ] }, "id": 6505, "nodeType": "SourceUnit", "nodes": [ { "id": 6181, "literals": [ "solidity", "=", "0.6", ".6" ], "nodeType": "PragmaDirective", "src": "0:23:16" }, { "absolutePath": "/Users/warrenmason/Documents/UniswapV3Contracts/Core/LiveContracts/Moonwalkerswap-v2-periphery/contracts/interfaces/IMoonwalkerswapV2Router01.sol", "file": "../interfaces/IMoonwalkerswapV2Router01.sol", "id": 6182, "nodeType": "ImportDirective", "scope": 6505, "sourceUnit": 4074, "src": "25:53:16", "symbolAliases": [], "unitAlias": "" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": null, "fullyImplemented": true, "id": 6504, "linearizedBaseContracts": [ 6504 ], "name": "RouterEventEmitter", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "documentation": null, "id": 6187, "name": "Amounts", "nodeType": "EventDefinition", "parameters": { "id": 6186, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 6185, "indexed": false, "mutability": "mutable", "name": "amounts", "nodeType": "VariableDeclaration", "overrides": null, "scope": 6187, "src": "128:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", "typeString": "uint256[]" }, "typeName": { "baseType": { "id": 6183, "name": "uint", "nodeType": "ElementaryTypeName", "src": "128:4:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "id": 6184, "length": null, "nodeType": "ArrayTypeName", "src": "128:6:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" } }, "value": null, "visibility": "internal" } ], "src": "127:16:16" }, "src": "114:30:16" }, { "body": { "id": 6190, "nodeType": "Block", "src": "177:2:16", "statements": [] }, "documentation": null, "id": 6191, "implemented": true, "kind": "receive", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 6188, "nodeType": "ParameterList", "parameters": [], "src": "157:2:16" }, "returnParameters": { "id": 6189, "nodeType": "ParameterList", "parameters": [], "src": "177:0:16" }, "scope": 6504, "src": "150:29:16", "stateMutability": "payable", "virtual": false, "visibility": "external" }, { "body": { "id": 6243, "nodeType": "Block", "src": "384:318:16", "statements": [ { "assignments": [ 6208, 6210 ], "declarations": [ { "constant": false, "id": 6208, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", "overrides": null, "scope": 6243, "src": "395:12:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 6207, "name": "bool", "nodeType": "ElementaryTypeName", "src": "395:4:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 6210, "mutability": "mutable", "name": "returnData", "nodeType": "VariableDeclaration", "overrides": null, "scope": 6243, "src": "409:23:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 6209, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "409:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "id": 6227, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "expression": { "argumentTypes": null, "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 6216, "name": "router", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6193, "src": "518:6:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 6215, "name": "IMoonwalkerswapV2Router01", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4073, "src": "492:25:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_IMoonwalkerswapV2Router01_$4073_$", "typeString": "type(contract IMoonwalkerswapV2Router01)" } }, "id": 6217, "isConstant": false, "isLValue": false, "isPure": false, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "492:33:16", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_contract$_IMoonwalkerswapV2Router01_$4073", "typeString": "contract IMoonwalkerswapV2Router01" } }, "id": 6218, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "swapExactTokensForTokens", "nodeType": "MemberAccess", "referencedDeclaration": 3936, "src": "492:58:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_address_$_t_uint256_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", "typeString": "function (uint256,uint256,address[] memory,address,uint256) external returns (uint256[] memory)" } }, "id": 6219, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "492:67:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, { "argumentTypes": null, "id": 6220, "name": "amountIn", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6195, "src": "561:8:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { "argumentTypes": null, "id": 6221, "name": "amountOutMin", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6197, "src": "571:12:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { "argumentTypes": null, "id": 6222, "name": "path", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6200, "src": "585:4:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", "typeString": "address[] calldata" } }, { "argumentTypes": null, "id": 6223, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6202, "src": "591:2:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { "argumentTypes": null, "id": 6224, "name": "deadline", "nodeType"