Created
November 7, 2022 11:04
-
-
Save yuyasugano/867d19f995c5fc8cb16d02106676c18d to your computer and use it in GitHub Desktop.
pending-sumulation example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "status": "pending-simulation", | |
| "monitorId": "Geth_1_F_PROD", | |
| "monitorVersion": "0.117.1", | |
| "pendingTimeStamp": "2022-11-07T10:47:51.244Z", | |
| "pendingBlockNumber": 15917644, | |
| "hash": "0x4d3ba81f78b1da44994b7d0a36a2b074cb502b01bc3890a34285131abbde17d2", | |
| "from": "0x4065149108A615930114Bb511818fc0909AA9269", | |
| "to": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", | |
| "value": "0", | |
| "gas": 187035, | |
| "nonce": 1827, | |
| "blockHash": null, | |
| "blockNumber": null, | |
| "v": "0x0", | |
| "r": "0xb960eaf41933b764de4f314bcce82af96acb3bf25c713bdc1b2b5b4ba0ef70ed", | |
| "s": "0x4cd365523b7389cf228449bff2e8892ef1b5b6340547844e10afbb2f66963db2", | |
| "input": "0x5ae401dc000000000000000000000000000000000000000000000000000000006368e6df000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000e404e45aaf0000000000000000000000002b591e99afe9f32eaa6214f7b7629768c40eeb39000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000403da3db1de0000000000000000000000000000000000000000000000000d711658c990ef94000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004449404b7c0000000000000000000000000000000000000000000000000d711658c990ef940000000000000000000000004065149108a615930114bb511818fc0909aa926900000000000000000000000000000000000000000000000000000000", | |
| "type": 2, | |
| "maxFeePerGas": "16845114498", | |
| "maxFeePerGasGwei": 16.8, | |
| "maxPriorityFeePerGas": "1500000000", | |
| "maxPriorityFeePerGasGwei": 1.5, | |
| "transactionIndex": null, | |
| "gasUsed": 129819, | |
| "asset": "", | |
| "watchedAddress": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "direction": "incoming", | |
| "counterparty": "0x4065149108A615930114Bb511818fc0909AA9269", | |
| "internalTransactions": [ | |
| { | |
| "type": "DELEGATECALL", | |
| "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "input": "0x04e45aaf0000000000000000000000002b591e99afe9f32eaa6214f7b7629768c40eeb39000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000403da3db1de0000000000000000000000000000000000000000000000000d711658c990ef940000000000000000000000000000000000000000000000000000000000000000", | |
| "gas": 158545, | |
| "gasUsed": 108486, | |
| "value": "0", | |
| "contractCall": { | |
| "contractType": "Uniswap V3: Router 2", | |
| "contractAddress": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "methodName": "exactInputSingle", | |
| "params": { | |
| "params": { | |
| "tokenIn": "0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39", | |
| "tokenOut": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", | |
| "fee": "3000", | |
| "recipient": "0x0000000000000000000000000000000000000002", | |
| "amountIn": "4414592889310", | |
| "amountOutMinimum": "968579965456019348", | |
| "sqrtPriceLimitX96": "0" | |
| } | |
| }, | |
| "contractAlias": "" | |
| } | |
| }, | |
| { | |
| "type": "CALL", | |
| "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "to": "0x9e0905249ceefffb9605e034b534544684a58be6", | |
| "input": "0x128acb0800000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000403da3db1de00000000000000000000000000000000000000000000000000000001000276a400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000400000000000000000000000004065149108a615930114bb511818fc0909aa9269000000000000000000000000000000000000000000000000000000000000002b2b591e99afe9f32eaa6214f7b7629768c40eeb39000bb8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000", | |
| "gas": 149170, | |
| "gasUsed": 101083, | |
| "value": "0" | |
| }, | |
| { | |
| "type": "CALL", | |
| "from": "0x9e0905249ceefffb9605e034b534544684a58be6", | |
| "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", | |
| "input": "0xa9059cbb00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc450000000000000000000000000000000000000000000000000d824af045743875", | |
| "gas": 110397, | |
| "gasUsed": 29962, | |
| "value": "0", | |
| "contractCall": { | |
| "contractType": "erc20", | |
| "contractAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", | |
| "methodName": "transfer", | |
| "params": { | |
| "_to": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", | |
| "_value": "973422865283299445" | |
| }, | |
| "contractAlias": "WETH", | |
| "contractDecimals": 18, | |
| "contractName": "Wrapped Ether", | |
| "decimalValue": "0.973422865283299445" | |
| } | |
| }, | |
| { | |
| "type": "CALL", | |
| "from": "0x9e0905249ceefffb9605e034b534544684a58be6", | |
| "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "input": "0xfa461e3300000000000000000000000000000000000000000000000000000403da3db1defffffffffffffffffffffffffffffffffffffffffffffffff27db50fba8bc78b000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000400000000000000000000000004065149108a615930114bb511818fc0909aa9269000000000000000000000000000000000000000000000000000000000000002b2b591e99afe9f32eaa6214f7b7629768c40eeb39000bb8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000", | |
| "gas": 74307, | |
| "gasUsed": 22538, | |
| "value": "0", | |
| "contractCall": { | |
| "contractType": "Uniswap V3: Router 2", | |
| "contractAddress": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "methodName": "uniswapV3SwapCallback", | |
| "params": { | |
| "amount0Delta": "4414592889310", | |
| "amount1Delta": "-973422865283299445", | |
| "_data": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000400000000000000000000000004065149108a615930114bb511818fc0909aa9269000000000000000000000000000000000000000000000000000000000000002b2b591e99afe9f32eaa6214f7b7629768c40eeb39000bb8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000" | |
| }, | |
| "contractAlias": "" | |
| } | |
| }, | |
| { | |
| "type": "CALL", | |
| "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "to": "0x2b591e99afe9f32eaa6214f7b7629768c40eeb39", | |
| "input": "0x23b872dd0000000000000000000000004065149108a615930114bb511818fc0909aa92690000000000000000000000009e0905249ceefffb9605e034b534544684a58be600000000000000000000000000000000000000000000000000000403da3db1de", | |
| "gas": 69448, | |
| "gasUsed": 18461, | |
| "value": "0", | |
| "contractCall": { | |
| "contractType": "erc20", | |
| "contractAddress": "0x2b591e99afe9f32eaa6214f7b7629768c40eeb39", | |
| "methodName": "transferFrom", | |
| "params": { | |
| "_from": "0x4065149108A615930114Bb511818fc0909AA9269", | |
| "_to": "0x9e0905249CeEFfFB9605E034b534544684A58BE6", | |
| "_value": "4414592889310" | |
| }, | |
| "contractAlias": "HEX", | |
| "contractDecimals": 8, | |
| "contractName": "HEX", | |
| "decimalValue": "44145.9288931" | |
| } | |
| }, | |
| { | |
| "type": "DELEGATECALL", | |
| "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "input": "0x49404b7c0000000000000000000000000000000000000000000000000d711658c990ef940000000000000000000000004065149108a615930114bb511818fc0909aa9269", | |
| "gas": 51057, | |
| "gasUsed": 18174, | |
| "value": "0", | |
| "contractCall": { | |
| "contractType": "Uniswap V3: Router 2", | |
| "contractAddress": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "methodName": "unwrapWETH9", | |
| "params": { | |
| "amountMinimum": "968579965456019348", | |
| "recipient": "0x4065149108A615930114Bb511818fc0909AA9269" | |
| }, | |
| "contractAlias": "" | |
| } | |
| }, | |
| { | |
| "type": "CALL", | |
| "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", | |
| "input": "0x2e1a7d4d0000000000000000000000000000000000000000000000000d824af045743875", | |
| "gas": 48585, | |
| "gasUsed": 9223, | |
| "value": "0" | |
| }, | |
| { | |
| "type": "CALL", | |
| "from": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", | |
| "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "input": "0x", | |
| "gas": 2300, | |
| "gasUsed": 83, | |
| "value": "973422865283299445" | |
| }, | |
| { | |
| "type": "CALL", | |
| "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "to": "0x4065149108a615930114bb511818fc0909aa9269", | |
| "input": "0x", | |
| "gas": 32506, | |
| "gasUsed": 0, | |
| "value": "973422865283299445" | |
| } | |
| ], | |
| "netBalanceChanges": [ | |
| { | |
| "address": "0x9e0905249ceefffb9605e034b534544684a58be6", | |
| "balanceChanges": [ | |
| { | |
| "delta": "-973422865283299445", | |
| "asset": { | |
| "type": "erc20", | |
| "symbol": "WETH", | |
| "contractAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" | |
| }, | |
| "breakdown": [ | |
| { | |
| "counterparty": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", | |
| "amount": "-973422865283299445" | |
| } | |
| ] | |
| }, | |
| { | |
| "delta": "4414592889310", | |
| "asset": { | |
| "type": "erc20", | |
| "symbol": "HEX", | |
| "contractAddress": "0x2b591e99afe9f32eaa6214f7b7629768c40eeb39" | |
| }, | |
| "breakdown": [ | |
| { | |
| "counterparty": "0x4065149108A615930114Bb511818fc0909AA9269", | |
| "amount": "4414592889310" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "address": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", | |
| "balanceChanges": [ | |
| { | |
| "delta": "973422865283299445", | |
| "asset": { | |
| "type": "erc20", | |
| "symbol": "WETH", | |
| "contractAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" | |
| }, | |
| "breakdown": [ | |
| { | |
| "counterparty": "0x9e0905249ceefffb9605e034b534544684a58be6", | |
| "amount": "973422865283299445" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "address": "0x4065149108A615930114Bb511818fc0909AA9269", | |
| "balanceChanges": [ | |
| { | |
| "delta": "-4414592889310", | |
| "asset": { | |
| "type": "erc20", | |
| "symbol": "HEX", | |
| "contractAddress": "0x2b591e99afe9f32eaa6214f7b7629768c40eeb39" | |
| }, | |
| "breakdown": [ | |
| { | |
| "counterparty": "0x9e0905249CeEFfFB9605E034b534544684A58BE6", | |
| "amount": "-4414592889310" | |
| } | |
| ] | |
| }, | |
| { | |
| "delta": "973422865283299445", | |
| "asset": { | |
| "type": "ether", | |
| "symbol": "ETH" | |
| }, | |
| "breakdown": [ | |
| { | |
| "counterparty": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "amount": "973422865283299445" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", | |
| "balanceChanges": [ | |
| { | |
| "delta": "-973422865283299445", | |
| "asset": { | |
| "type": "ether", | |
| "symbol": "ETH" | |
| }, | |
| "breakdown": [ | |
| { | |
| "counterparty": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", | |
| "amount": "-973422865283299445" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ], | |
| "simDetails": { | |
| "blockNumber": 15917644, | |
| "performanceProfile": { | |
| "breakdown": [ | |
| { | |
| "label": "detected", | |
| "timeStamp": "2022-11-07T10:47:51.250Z" | |
| }, | |
| { | |
| "label": "traceStart", | |
| "timeStamp": "2022-11-07T10:47:51.251Z" | |
| }, | |
| { | |
| "label": "traceEnd", | |
| "timeStamp": "2022-11-07T10:47:51.321Z" | |
| }, | |
| { | |
| "label": "dispatch", | |
| "timeStamp": "2022-11-07T10:47:51.330Z" | |
| } | |
| ], | |
| "e2eMs": 80 | |
| } | |
| }, | |
| "serverVersion": "0.152.0", | |
| "eventCode": "txPoolSimulation", | |
| "timeStamp": "2022-11-07T10:47:51.250Z", | |
| "dispatchTimestamp": "2022-11-07T10:47:51.331Z", | |
| "system": "ethereum", | |
| "network": "main", | |
| "contractCall": { | |
| "contractType": "multicall", | |
| "contractAddress": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", | |
| "methodName": "multicall", | |
| "params": { | |
| "deadline": "1667819231", | |
| "data": [ | |
| "0x04e45aaf0000000000000000000000002b591e99afe9f32eaa6214f7b7629768c40eeb39000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000403da3db1de0000000000000000000000000000000000000000000000000d711658c990ef940000000000000000000000000000000000000000000000000000000000000000", | |
| "0x49404b7c0000000000000000000000000000000000000000000000000d711658c990ef940000000000000000000000004065149108a615930114bb511818fc0909aa9269" | |
| ] | |
| }, | |
| "subCalls": [ | |
| { | |
| "data": { | |
| "methodName": "exactInputSingle", | |
| "params": { | |
| "params": { | |
| "tokenIn": "0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39", | |
| "tokenOut": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", | |
| "fee": "3000", | |
| "recipient": "0x0000000000000000000000000000000000000002", | |
| "amountIn": "4414592889310", | |
| "amountOutMinimum": "968579965456019348", | |
| "sqrtPriceLimitX96": "0" | |
| } | |
| } | |
| }, | |
| "contractType": "Uniswap V3: Router 2" | |
| }, | |
| { | |
| "data": { | |
| "methodName": "unwrapWETH9", | |
| "params": { | |
| "amountMinimum": "968579965456019348", | |
| "recipient": "0x4065149108A615930114Bb511818fc0909AA9269" | |
| } | |
| }, | |
| "contractType": "Uniswap V3: Router 2" | |
| } | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment