From b24aaa8078b29da10978ba196a671d6669b35482 Mon Sep 17 00:00:00 2001 From: Roberto Bayardo Date: Thu, 13 Jan 2022 20:37:00 -0800 Subject: [PATCH] handle EIP-1559 blocks & fee burning --- ethereum/client.go | 65 +- ethereum/client_test.go | 116 ++ ethereum/testdata/block_13998626.json | 162 ++ .../testdata/block_response_13998626.json | 1506 +++++++++++++++++ ...babb983fc16c50ec5207972ddda02de02f7e2.json | 380 +++++ ...a0638c3e46397f48b6b09f35ed455c851bb04.json | 32 + ...701d4258e73fa738da3d38eb3be1d1e862a7a.json | 16 + ...51165b9f211162363c790c98746ef229e395c.json | 76 + ...f77311092bd945b9582b8deba61e2ebdde74f.json | 149 ++ ...d1133940f7c8090fc862acf48de42b00ae2b5.json | 32 + ...92bff2221ec9168280d12581ea8ff45e71421.json | 16 + ...c74ca77c92ad6e4329496548277fb4d520509.json | 16 + 12 files changed, 2559 insertions(+), 7 deletions(-) create mode 100644 ethereum/testdata/block_13998626.json create mode 100644 ethereum/testdata/block_response_13998626.json create mode 100644 ethereum/testdata/block_trace_0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2.json create mode 100644 ethereum/testdata/tx_receipt_0x0a4cd36d72c2ed4767c1d228a7aa0638c3e46397f48b6b09f35ed455c851bb04.json create mode 100644 ethereum/testdata/tx_receipt_0x0d4a4f924858a5b19f6b931a914701d4258e73fa738da3d38eb3be1d1e862a7a.json create mode 100644 ethereum/testdata/tx_receipt_0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c.json create mode 100644 ethereum/testdata/tx_receipt_0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f.json create mode 100644 ethereum/testdata/tx_receipt_0xef0748860f1c1ba28a5ae3ae9d2d1133940f7c8090fc862acf48de42b00ae2b5.json create mode 100644 ethereum/testdata/tx_receipt_0xf121c8c07ed51b6ac2d11fe3f0892bff2221ec9168280d12581ea8ff45e71421.json create mode 100644 ethereum/testdata/tx_receipt_0xfac8149f95c20f62264991fe15dc74ca77c92ad6e4329496548277fb4d520509.json diff --git a/ethereum/client.go b/ethereum/client.go index 1514d4c..c867687 100644 --- a/ethereum/client.go +++ b/ethereum/client.go @@ -45,6 +45,10 @@ const ( maxTraceConcurrency = int64(16) // nolint:gomnd semaphoreTraceWeight = int64(1) // nolint:gomnd + + // eip1559TxType is the EthTypes.Transaction.Type() value that indicates this transaction + // follows EIP-1559. + eip1559TxType = 2 ) // Client allows for querying a set of specific Ethereum endpoints in an @@ -367,12 +371,19 @@ func (ec *Client) getBlock( for i, tx := range body.Transactions { txs[i] = tx.tx receipt := receipts[i] - gasUsedBig := new(big.Int).SetUint64(receipt.GasUsed) - feeAmount := gasUsedBig.Mul(gasUsedBig, txs[i].GasPrice()) - + gasUsed := new(big.Int).SetUint64(receipt.GasUsed) + gasPrice, err := effectiveGasPrice(txs[i], head.BaseFee) + if err != nil { + return nil, nil, fmt.Errorf("%w: failure getting effective gas price", err) + } loadedTxs[i] = tx.LoadedTransaction() loadedTxs[i].Transaction = txs[i] - loadedTxs[i].FeeAmount = feeAmount + loadedTxs[i].FeeAmount = new(big.Int).Mul(gasUsed, gasPrice) + if head.BaseFee != nil { // EIP-1559 + loadedTxs[i].FeeBurned = new(big.Int).Mul(gasUsed, head.BaseFee) + } else { + loadedTxs[i].FeeBurned = nil + } loadedTxs[i].Miner = MustChecksum(head.Coinbase.Hex()) loadedTxs[i].Receipt = receipt @@ -388,6 +399,21 @@ func (ec *Client) getBlock( return types.NewBlockWithHeader(&head).WithBody(txs, uncles), loadedTxs, nil } +// effectiveGasPrice returns the price of gas charged to this transaction to be included in the +// block. +func effectiveGasPrice(tx *EthTypes.Transaction, baseFee *big.Int) (*big.Int, error) { + if tx.Type() != eip1559TxType { + return tx.GasPrice(), nil + } + // For EIP-1559 the gas price is determined by the base fee & miner tip instead + // of the tx-specified gas price. + tip, err := tx.EffectiveGasTip(baseFee) + if err != nil { + return nil, err + } + return new(big.Int).Add(tip, baseFee), nil +} + func (ec *Client) getBlockTraces( ctx context.Context, blockHash common.Hash, @@ -754,6 +780,7 @@ type loadedTransaction struct { BlockNumber *string BlockHash *common.Hash FeeAmount *big.Int + FeeBurned *big.Int // nil if no fees were burned Miner string Status bool @@ -763,7 +790,13 @@ type loadedTransaction struct { } func feeOps(tx *loadedTransaction) []*RosettaTypes.Operation { - return []*RosettaTypes.Operation{ + var minerEarnedAmount *big.Int + if tx.FeeBurned == nil { + minerEarnedAmount = tx.FeeAmount + } else { + minerEarnedAmount = new(big.Int).Sub(tx.FeeAmount, tx.FeeBurned) + } + ops := []*RosettaTypes.Operation{ { OperationIdentifier: &RosettaTypes.OperationIdentifier{ Index: 0, @@ -774,7 +807,7 @@ func feeOps(tx *loadedTransaction) []*RosettaTypes.Operation { Address: MustChecksum(tx.From.String()), }, Amount: &RosettaTypes.Amount{ - Value: new(big.Int).Neg(tx.FeeAmount).String(), + Value: new(big.Int).Neg(minerEarnedAmount).String(), Currency: Currency, }, }, @@ -794,11 +827,29 @@ func feeOps(tx *loadedTransaction) []*RosettaTypes.Operation { Address: MustChecksum(tx.Miner), }, Amount: &RosettaTypes.Amount{ - Value: tx.FeeAmount.String(), + Value: minerEarnedAmount.String(), Currency: Currency, }, }, } + if tx.FeeBurned == nil { + return ops + } + burntOp := &RosettaTypes.Operation{ + OperationIdentifier: &RosettaTypes.OperationIdentifier{ + Index: 2, // nolint:gomnd + }, + Type: FeeOpType, + Status: RosettaTypes.String(SuccessStatus), + Account: &RosettaTypes.AccountIdentifier{ + Address: MustChecksum(tx.From.String()), + }, + Amount: &RosettaTypes.Amount{ + Value: new(big.Int).Neg(tx.FeeBurned).String(), + Currency: Currency, + }, + } + return append(ops, burntOp) } // transactionReceipt returns the receipt of a transaction by transaction hash. diff --git a/ethereum/client_test.go b/ethereum/client_test.go index fd98234..8d25032 100644 --- a/ethereum/client_test.go +++ b/ethereum/client_test.go @@ -2339,6 +2339,122 @@ func TestBlock_468194(t *testing.T) { mockGraphQL.AssertExpectations(t) } +// Block with EIP-1559 base fee & txs. This block taken from mainnet: +// https://etherscan.io/block/0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2 +// This block has 7 transactions, all EIP-1559 type except the last. +func TestBlock_13998626(t *testing.T) { + mockJSONRPC := &mocks.JSONRPC{} + mockGraphQL := &mocks.GraphQL{} + + tc, err := testTraceConfig() + assert.NoError(t, err) + c := &Client{ + c: mockJSONRPC, + g: mockGraphQL, + tc: tc, + p: params.RopstenChainConfig, + traceSemaphore: semaphore.NewWeighted(100), + } + + ctx := context.Background() + mockJSONRPC.On( + "CallContext", + ctx, + mock.Anything, + "eth_getBlockByNumber", + "0xd59a22", + true, + ).Return( + nil, + ).Run( + func(args mock.Arguments) { + r := args.Get(1).(*json.RawMessage) + + file, err := ioutil.ReadFile("testdata/block_13998626.json") + assert.NoError(t, err) + + *r = json.RawMessage(file) + }, + ).Once() + mockJSONRPC.On( + "CallContext", + ctx, + mock.Anything, + "debug_traceBlockByHash", + common.HexToHash("0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2"), + tc, + ).Return( + nil, + ).Run( + func(args mock.Arguments) { + r := args.Get(1).(*json.RawMessage) + + file, err := ioutil.ReadFile( + "testdata/block_trace_0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2.json") // nolint + assert.NoError(t, err) + *r = json.RawMessage(file) + }, + ).Once() + mockJSONRPC.On( + "BatchCallContext", + ctx, + mock.Anything, + ).Return( + nil, + ).Run( + func(args mock.Arguments) { + r := args.Get(1).([]rpc.BatchElem) + assert.Len(t, r, 7) + for i, txHash := range []string{ + "0xf121c8c07ed51b6ac2d11fe3f0892bff2221ec9168280d12581ea8ff45e71421", + "0xef0748860f1c1ba28a5ae3ae9d2d1133940f7c8090fc862acf48de42b00ae2b5", + "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "0xfac8149f95c20f62264991fe15dc74ca77c92ad6e4329496548277fb4d520509", + "0x0a4cd36d72c2ed4767c1d228a7aa0638c3e46397f48b6b09f35ed455c851bb04", + "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "0x0d4a4f924858a5b19f6b931a914701d4258e73fa738da3d38eb3be1d1e862a7a", + } { + assert.Equal( + t, + txHash, + r[i].Args[0], + ) + + file, err := ioutil.ReadFile( + "testdata/tx_receipt_" + txHash + ".json", + ) // nolint + assert.NoError(t, err) + + receipt := new(types.Receipt) + assert.NoError(t, receipt.UnmarshalJSON(file)) + *(r[i].Result.(**types.Receipt)) = receipt + } + }, + ).Once() + + correctRaw, err := ioutil.ReadFile("testdata/block_response_13998626.json") + assert.NoError(t, err) + var correctResp *RosettaTypes.BlockResponse + assert.NoError(t, json.Unmarshal(correctRaw, &correctResp)) + + resp, err := c.Block( + ctx, + &RosettaTypes.PartialBlockIdentifier{ + Index: RosettaTypes.Int64(13998626), + }, + ) + assert.NoError(t, err) + + // Ensure types match + jsonResp, err := jsonifyBlock(resp) + + assert.NoError(t, err) + assert.Equal(t, correctResp.Block, jsonResp) + + mockJSONRPC.AssertExpectations(t) + mockGraphQL.AssertExpectations(t) +} + func TestPendingNonceAt(t *testing.T) { mockJSONRPC := &mocks.JSONRPC{} mockGraphQL := &mocks.GraphQL{} diff --git a/ethereum/testdata/block_13998626.json b/ethereum/testdata/block_13998626.json new file mode 100644 index 0000000..c9a1989 --- /dev/null +++ b/ethereum/testdata/block_13998626.json @@ -0,0 +1,162 @@ +{ + "baseFeePerGas": "0x2b28647f0e", + "difficulty": "0x2af659599ebf2b", + "extraData": "0x6e616e6f706f6f6c2e6f7267", + "gasLimit": "0x1c9c380", + "gasUsed": "0x893a7", + "hash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logsBloom": "0x002200000000000210000400820002400000000000000000002000002000000000400100000000100000100000000000020080000800280002000800002000000000004000000828002a0008000000200180000000400000200004008000002004000000004000000004000000000040000000200000040000000010000800004000000002000000000800000000000000000001000000080028004008000000024008020082000002004040088004000000008004000000000000000040000000000002000000000000000000000000020000004000401000000102000000008030200000000000000000000080080000000000000000400000000000001000", + "miner": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5", + "mixHash": "0x50df0ddd492472c5afad34bdd8712d0c8473f70d292088ba3cd94aea1624daa3", + "nonce": "0x3746eb6c206546b7", + "number": "0xd59a22", + "parentHash": "0x935d05f217d95fbec4884893218ed0659f654e9e9eada9b34834f3b5e0798726", + "receiptsRoot": "0xe52437794eb550182fca49c4186fba247821d36eb3123ef95ffc754bbc5c0362", + "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "size": "0xb6f", + "stateRoot": "0xcd3669e0428d609cf82bf585fdfb4834d341333084b2eff7aa976bebfb489353", + "timestamp": "0x61e0681f", + "totalDifficulty": "0x83ba71d3a7a799956ac", + "transactions": [ + { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "from": "0xf60c2ea62edbfe808163751dd0d8693dcb30019c", + "gas": "0x32918", + "gasPrice": "0x5625b7f400", + "hash": "0xf121c8c07ed51b6ac2d11fe3f0892bff2221ec9168280d12581ea8ff45e71421", + "input": "0x", + "nonce": "0xe71fa", + "to": "0x96ab1539b95acec4f9926df3f3410d059414a737", + "transactionIndex": "0x0", + "value": "0x6fa4defa1110000", + "type": "0x0", + "chainId": "0x1", + "v": "0x26", + "r": "0xeabea43c53054d1f089b1189e72152f5f80f106a2c08b404ff5613bd435ef20b", + "s": "0x885b846f30054b62640c4a22ae297a79ca7881f503787331d4d36beba9e1ac5" + }, + { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "from": "0xddfabcdc4d8ffc6d5beaf154f18b778f892a0740", + "gas": "0x3d090", + "gasPrice": "0x2b9f9a130e", + "maxPriorityFeePerGas": "0x77359400", + "maxFeePerGas": "0x4eb25eb400", + "hash": "0xef0748860f1c1ba28a5ae3ae9d2d1133940f7c8090fc862acf48de42b00ae2b5", + "input": "0xa9059cbb0000000000000000000000003106bff140797c195c48d7af9253eb107b22c43d0000000000000000000000000000000000000000000000005b0fc500f4cf4c00", + "nonce": "0x42b6c3", + "to": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0", + "transactionIndex": "0x1", + "value": "0x0", + "type": "0x2", + "chainId": "0x1", + "v": "0x1", + "r": "0xe577627991a983048dce0417096e9fdbd966bdcb3f88bf1e941df4b575c69215", + "s": "0x6b798737daec38be931e35eb4a3a924281b670cb45bcd6a9e789915b07211ff7" + }, + { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "from": "0xc409134827440024347e27b2826dfd3d42a2967b", + "gas": "0x407cb", + "gasPrice": "0x2b9f9a130e", + "maxPriorityFeePerGas": "0x77359400", + "maxFeePerGas": "0x333bd8a267", + "hash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "input": "0x5f5755290000000000000000000000000000000000000000000000000000000000000080000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b0000000000000000000000000000000000000000000000148bae7bf8d10c000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000c307846656544796e616d696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000260000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000148bae7bf8d10c000000000000000000000000000000000000000000000000000025e0905e9a924031000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000583db9ac4eb064000000000000000000000000f326e4de8f66a0bdc0970b79e0924e33c79f191500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000128d9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000148bae7bf8d10c0000000000000000000000000000000000000000000000000000263628672fca195e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb0000000000000000000000000000000000000000000000aa1645433861e06818000000000000000000000000000000000000000000000000c8", + "nonce": "0x70e", + "to": "0x881d40237659c251811cec9c364ef91dc08d300c", + "transactionIndex": "0x2", + "value": "0x0", + "type": "0x2", + "chainId": "0x1", + "v": "0x1", + "r": "0xcff404200ea31af36fa51c287d916e4f42323097e236f4aaa4b130889d106d47", + "s": "0x6858b271fbb65d0e9570c215a80dd260a96c3aa1874fcb053c01e0eba236ca4" + }, + { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "from": "0xf1074bb4dd7c38f067ad5b58d9f5c284debbd752", + "gas": "0x5208", + "gasPrice": "0x2b9f9a130e", + "maxPriorityFeePerGas": "0x77359400", + "maxFeePerGas": "0x2ecc889a00", + "hash": "0xfac8149f95c20f62264991fe15dc74ca77c92ad6e4329496548277fb4d520509", + "input": "0x", + "nonce": "0x0", + "to": "0x3594567a2e8949f47a87f0e9fcfa3ee66bb31116", + "transactionIndex": "0x3", + "value": "0x17a9cd061871000", + "type": "0x2", + "chainId": "0x1", + "v": "0x1", + "r": "0x3f7683c222294ac9ad01ae3fcec4a537efa425c2a35755735a5ad8f53ff40bb1", + "s": "0x18b2b3ce175065ec6e6b253ad4ad1d417f7b2be97ae9ffd4eed59c38a79c763b" + }, + { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "from": "0x3070f20f86fda706ac380f5060d256028a46ec29", + "gas": "0xd36d", + "gasPrice": "0x2b9f9a130e", + "maxPriorityFeePerGas": "0x77359400", + "maxFeePerGas": "0x315c2f4800", + "hash": "0x0a4cd36d72c2ed4767c1d228a7aa0638c3e46397f48b6b09f35ed455c851bb04", + "input": "0x095ea7b3000000000000000000000000216b4b4ba9f3e719726886d34a177484278bfcaeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "nonce": "0x6b6", + "to": "0x4104b135dbc9609fc1a9490e61369036497660c8", + "transactionIndex": "0x4", + "value": "0x0", + "type": "0x2", + "chainId": "0x1", + "v": "0x1", + "r": "0x51bc444d13beb8a38141a649c8ebc6b270fc2f10a94d00b48725b1ae51d74bb9", + "s": "0x5c7054f76a91e075f68a0d14f9579747e834e9c203e9f3f6ff6c5849b7a2f4f2" + }, + { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "from": "0x01c1eee6d802645dcccefd9f609765db864188a9", + "gas": "0x2de95", + "gasPrice": "0x2b81ccae0e", + "maxPriorityFeePerGas": "0x59682f00", + "maxFeePerGas": "0x312a2c5a63", + "hash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "input": "0x5ae401dc0000000000000000000000000000000000000000000000000000000061e0686600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e404e45aaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000db5c3c46e28b53a39c255aa39a411dd64e5fed9c0000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000001c1eee6d802645dcccefd9f609765db864188a90000000000000000000000000000000000000000000000000e4b4b8af6a700000000000000000000000000000000000000000000000000358d31b9c942824418000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x5ce", + "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "transactionIndex": "0x5", + "value": "0xe4b4b8af6a70000", + "type": "0x2", + "chainId": "0x1", + "v": "0x0", + "r": "0xd4879314365138f6a7c435504562bf6bcfdd753d72321cd26bf5ffb1addcc31f", + "s": "0x3dbe135c42405692caff4e7a9c8398d99b397c788df394b76cb68facd347f8e1" + }, + { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "from": "0x85482659e7f053e95ddea5ff4d12a766e45306d1", + "gas": "0x23bb4", + "gasPrice": "0x2b63ff490e", + "maxPriorityFeePerGas": "0x3b9aca00", + "maxFeePerGas": "0x5889f24888", + "hash": "0x0d4a4f924858a5b19f6b931a914701d4258e73fa738da3d38eb3be1d1e862a7a", + "input": "0x55f804b30000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005868747470733a2f2f70696e6e696e6766696c65732e6d7970696e6174612e636c6f75642f697066732f516d663536777a4e755567696d78364348366b66586e4c515073637236337136644d32674759716652514d4438512f0000000000000000", + "nonce": "0x5", + "to": "0xef3666ba4c5a04d90cea2fd6dbd57c2437b4f9e4", + "transactionIndex": "0x6", + "value": "0x0", + "type": "0x2", + "chainId": "0x1", + "v": "0x1", + "r": "0x1b5c21ba5bce78c44123e838f49c0a60ed042ee54cb016a76bb5ac129cfe45d1", + "s": "0x2a60d59e4aefdc6443f3c7e51885d23847bb18b7b4f17188b49c45b84764e500" + } + ], + "transactionsRoot": "0x007afe3451155b3a7252c3b469195ce81a59a74d43ec4fda0d4bb3ee7d017c1f", + "uncles": [] +} diff --git a/ethereum/testdata/block_response_13998626.json b/ethereum/testdata/block_response_13998626.json new file mode 100644 index 0000000..c11c62b --- /dev/null +++ b/ethereum/testdata/block_response_13998626.json @@ -0,0 +1,1506 @@ +{ + "block": { + "block_identifier": { + "index": 13998626, + "hash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2" + }, + "parent_block_identifier": { + "index": 13998625, + "hash": "0x935d05f217d95fbec4884893218ed0659f654e9e9eada9b34834f3b5e0798726" + }, + "timestamp": 1642096671000, + "transactions": [ + { + "transaction_identifier": { + "hash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2" + }, + "operations": [ + { + "operation_identifier": { + "index": 0 + }, + "type": "MINER_REWARD", + "status": "SUCCESS", + "account": { + "address": "0x52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5" + }, + "amount": { + "value": "2000000000000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + } + ] + }, + { + "transaction_identifier": { + "hash": "0xf121c8c07ed51b6ac2d11fe3f0892bff2221ec9168280d12581ea8ff45e71421" + }, + "operations": [ + { + "operation_identifier": { + "index": 0 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0xf60c2Ea62EDBfE808163751DD0d8693DCb30019c" + }, + "amount": { + "value": "-3877413361626000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 1 + }, + "related_operations": [ + { + "index": 0 + } + ], + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5" + }, + "amount": { + "value": "3877413361626000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 2 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0xf60c2Ea62EDBfE808163751DD0d8693DCb30019c" + }, + "amount": { + "value": "-3892586638374000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 3 + }, + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0xf60c2Ea62EDBfE808163751DD0d8693DCb30019c" + }, + "amount": { + "value": "-502800000000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 4 + }, + "related_operations": [ + { + "index": 3 + } + ], + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0x96ab1539b95aCeC4f9926DF3f3410D059414A737" + }, + "amount": { + "value": "502800000000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + } + ], + "metadata": { + "gas_limit": "0x32918", + "gas_price": "0x5625b7f400", + "receipt": { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": "0x0000000000000000000000000000000000000000", + "cumulativeGasUsed": "0x5208", + "gasUsed": "0x5208", + "logs": [], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "root": "0x", + "status": "0x1", + "transactionHash": "0xf121c8c07ed51b6ac2d11fe3f0892bff2221ec9168280d12581ea8ff45e71421", + "transactionIndex": "0x0" + }, + "trace": { + "from": "0xf60c2ea62edbfe808163751dd0d8693dcb30019c", + "gas": "0x2d710", + "gasUsed": "0x0", + "input": "0x", + "output": "0x", + "to": "0x96ab1539b95acec4f9926df3f3410d059414a737", + "type": "CALL", + "value": "0x6fa4defa1110000" + } + } + }, + { + "transaction_identifier": { + "hash": "0xef0748860f1c1ba28a5ae3ae9d2d1133940f7c8090fc862acf48de42b00ae2b5" + }, + "operations": [ + { + "operation_identifier": { + "index": 0 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0xddfAbCdc4D8FfC6d5beaf154f18B778f892A0740" + }, + "amount": { + "value": "-108008000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 1 + }, + "related_operations": [ + { + "index": 0 + } + ], + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5" + }, + "amount": { + "value": "108008000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 2 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0xddfAbCdc4D8FfC6d5beaf154f18B778f892A0740" + }, + "amount": { + "value": "-10010249943749976", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + } + ], + "metadata": { + "gas_limit": "0x3d090", + "gas_price": "0x4eb25eb400", + "receipt": { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": "0x0000000000000000000000000000000000000000", + "cumulativeGasUsed": "0x124fc", + "gasUsed": "0xd2f4", + "logs": [ + { + "address": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x0000000000000000000000000000000000000000000000005b0fc500f4cf4c00", + "logIndex": "0x0", + "removed": false, + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x000000000000000000000000ddfabcdc4d8ffc6d5beaf154f18b778f892a0740", + "0x0000000000000000000000003106bff140797c195c48d7af9253eb107b22c43d" + ], + "transactionHash": "0xef0748860f1c1ba28a5ae3ae9d2d1133940f7c8090fc862acf48de42b00ae2b5", + "transactionIndex": "0x1" + } + ], + "logsBloom": "0x00000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000080000080008000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000010000000000000000002000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000040000000000002000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000", + "root": "0x", + "status": "0x1", + "transactionHash": "0xef0748860f1c1ba28a5ae3ae9d2d1133940f7c8090fc862acf48de42b00ae2b5", + "transactionIndex": "0x1", + "type": "0x2" + }, + "trace": { + "from": "0xddfabcdc4d8ffc6d5beaf154f18b778f892a0740", + "gas": "0x37c10", + "gasUsed": "0x7e74", + "input": "0xa9059cbb0000000000000000000000003106bff140797c195c48d7af9253eb107b22c43d0000000000000000000000000000000000000000000000005b0fc500f4cf4c00", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001", + "to": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0", + "type": "CALL", + "value": "0x0" + } + } + }, + { + "transaction_identifier": { + "hash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f" + }, + "operations": [ + { + "operation_identifier": { + "index": 0 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0xC409134827440024347e27b2826dFd3D42A2967b" + }, + "amount": { + "value": "-365456000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 1 + }, + "related_operations": [ + { + "index": 0 + } + ], + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5" + }, + "amount": { + "value": "365456000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 2 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0xC409134827440024347e27b2826dFd3D42A2967b" + }, + "amount": { + "value": "-33870693869371632", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 3 + }, + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + "amount": { + "value": "-2838590356527993236", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 4 + }, + "related_operations": [ + { + "index": 3 + } + ], + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0xDef1C0ded9bec7F1a1670819833240f027b25EfF" + }, + "amount": { + "value": "2838590356527993236", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 5 + }, + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0xDef1C0ded9bec7F1a1670819833240f027b25EfF" + }, + "amount": { + "value": "-2838590356527993236", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 6 + }, + "related_operations": [ + { + "index": 5 + } + ], + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0x74de5d4FCbf63E00296fd95d33236B9794016631" + }, + "amount": { + "value": "2838590356527993236", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 7 + }, + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0x74de5d4FCbf63E00296fd95d33236B9794016631" + }, + "amount": { + "value": "-24837665619619940", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 8 + }, + "related_operations": [ + { + "index": 7 + } + ], + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0xF326e4dE8F66A0BDC0970b79E0924e33c79f1915" + }, + "amount": { + "value": "24837665619619940", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 9 + }, + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0x74de5d4FCbf63E00296fd95d33236B9794016631" + }, + "amount": { + "value": "-2813752690908373296", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 10 + }, + "related_operations": [ + { + "index": 9 + } + ], + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0xC409134827440024347e27b2826dFd3D42A2967b" + }, + "amount": { + "value": "2813752690908373296", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + } + ], + "metadata": { + "gas_limit": "0x407cb", + "gas_price": "0x333bd8a267", + "receipt": { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": "0x0000000000000000000000000000000000000000", + "cumulativeGasUsed": "0x3eec4", + "gasUsed": "0x2c9c8", + "logs": [ + { + "address": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x0000000000000000000000000000000000000000000000148bae7bf8d10c0000", + "logIndex": "0x1", + "removed": false, + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b", + "0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631" + ], + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2" + }, + { + "address": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0xffffffffffffffffffffffffffffffffffffffffffffffcfe3a64efc2a6a7426", + "logIndex": "0x2", + "removed": false, + "topics": [ + "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", + "0x000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b", + "0x000000000000000000000000881d40237659c251811cec9c364ef91dc08d300c" + ], + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2" + }, + { + "address": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x0000000000000000000000000000000000000000000000148bae7bf8d10c0000", + "logIndex": "0x3", + "removed": false, + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631", + "0x000000000000000000000000cfa9a297a406a48d1137172c18de04c944b47ba9" + ], + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2" + }, + { + "address": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0xfffffffffffffffffffffffffffffffffffffffffffff958cd1006e741d75b6b", + "logIndex": "0x4", + "removed": false, + "topics": [ + "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", + "0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631", + "0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff" + ], + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2" + }, + { + "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "logIndex": "0x5", + "removed": false, + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x000000000000000000000000cfa9a297a406a48d1137172c18de04c944b47ba9", + "0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff" + ], + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2" + }, + { + "address": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x000000000000000000000000000000000000000000000013fd21b90b485563a2000000000000000000000000000000000000000000000a7961f691ce4c04b595", + "logIndex": "0x6", + "removed": false, + "topics": [ + "0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1" + ], + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2" + }, + { + "address": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000148bae7bf8d10c00000000000000000000000000000000000000000000000000002764b2e3c7b351940000000000000000000000000000000000000000000000000000000000000000", + "logIndex": "0x7", + "removed": false, + "topics": [ + "0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822", + "0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff", + "0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff" + ], + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2" + }, + { + "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "logIndex": "0x8", + "removed": false, + "topics": [ + "0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65", + "0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff" + ], + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2" + }, + { + "address": "0x881d40237659c251811cec9c364ef91dc08d300c", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x", + "logIndex": "0x9", + "removed": false, + "topics": [ + "0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d", + "0xa8dc30b66c6d4a8aac3d15925bfca09e42cac4a00c50f9949154b045088e2ac2", + "0x000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b" + ], + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2" + } + ], + "logsBloom": "0x00200000000000001000000080000040000000000000000000200000000000000000010000000010000010000000000002008000080008000000000000200000000000000000002000020008000000200000000000400000200004000000000000000000004000000004000000000040000000200000040000000010000000004000000000000000000000000000000000000000000000080028004008000000020008020002000002004000080004000000000000000000000000000000000000000002000000000000000000000000000000000000001000000002000000000030200000000000000000000080000000000000000000000000000000001000", + "root": "0x", + "status": "0x1", + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2", + "type": "0x2" + }, + "trace": { + "calls": [ + { + "from": "0x881d40237659c251811cec9c364ef91dc08d300c", + "gas": "0x363d3", + "gasUsed": "0x92cc", + "input": "0x23b872dd000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b00000000000000000000000074de5d4fcbf63e00296fd95d33236b97940166310000000000000000000000000000000000000000000000148bae7bf8d10c0000", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001", + "to": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "type": "CALL", + "value": "0x0" + }, + { + "calls": [ + { + "calls": [ + { + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "gas": "0x280b8", + "gasUsed": "0xa64", + "input": "0xdd62ed3e00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff", + "output": "0xfffffffffffffffffffffffffffffffffffffffffffff96d58be82e012e35b6b", + "to": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "type": "STATICCALL" + }, + { + "calls": [ + { + "calls": [ + { + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "gas": "0x235e3", + "gasUsed": "0x3570", + "input": "0x23b872dd00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631000000000000000000000000cfa9a297a406a48d1137172c18de04c944b47ba90000000000000000000000000000000000000000000000148bae7bf8d10c0000", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001", + "to": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "type": "CALL", + "value": "0x0" + }, + { + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "gas": "0x1f6d5", + "gasUsed": "0x9d5", + "input": "0x0902f1ac", + "output": "0x00000000000000000000000000000000000000000000001424866bef1008b536000000000000000000000000000000000000000000000a64d64815d57af8b5950000000000000000000000000000000000000000000000000000000061e05fd9", + "to": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "type": "STATICCALL" + }, + { + "calls": [ + { + "from": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "gas": "0x1afb2", + "gasUsed": "0x323e", + "input": "0xa9059cbb000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "type": "CALL", + "value": "0x0" + }, + { + "from": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "gas": "0x17bbe", + "gasUsed": "0x216", + "input": "0x70a08231000000000000000000000000cfa9a297a406a48d1137172c18de04c944b47ba9", + "output": "0x000000000000000000000000000000000000000000000013fd21b90b485563a2", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "type": "STATICCALL" + }, + { + "from": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "gas": "0x17809", + "gasUsed": "0x1d4", + "input": "0x70a08231000000000000000000000000cfa9a297a406a48d1137172c18de04c944b47ba9", + "output": "0x000000000000000000000000000000000000000000000a7961f691ce4c04b595", + "to": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "type": "STATICCALL" + } + ], + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "gas": "0x1eb38", + "gasUsed": "0xbbbc", + "input": "0x022c0d9f0000000000000000000000000000000000000000000000002764b2e3c7b351940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000", + "output": "0x", + "to": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "type": "CALL", + "value": "0x0" + }, + { + "calls": [ + { + "from": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "gas": "0x8fc", + "gasUsed": "0x37", + "input": "0x", + "output": "0x", + "to": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "type": "CALL", + "value": "0x2764b2e3c7b35194" + } + ], + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "gas": "0x13185", + "gasUsed": "0x23eb", + "input": "0x2e1a7d4d0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "output": "0x", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "type": "CALL", + "value": "0x0" + }, + { + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "gas": "0xf407", + "gasUsed": "0x28", + "input": "0x", + "output": "0x", + "to": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "type": "CALL", + "value": "0x2764b2e3c7b35194" + } + ], + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "gas": "0x24712", + "gasUsed": "0x15011", + "input": "0xd9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000148bae7bf8d10c0000000000000000000000000000000000000000000000000000263628672fca195e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb0000000000000000000000000000000000000000000000aa1645433861e06818", + "output": "0x0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "to": "0xf9b30557afcf76ea82c04015d80057fa2147dfa9", + "type": "DELEGATECALL" + } + ], + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "gas": "0x2661d", + "gasUsed": "0x1668b", + "input": "0xd9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000148bae7bf8d10c0000000000000000000000000000000000000000000000000000263628672fca195e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb0000000000000000000000000000000000000000000000aa1645433861e06818", + "output": "0x0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "to": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "type": "CALL", + "value": "0x0" + }, + { + "calls": [ + { + "from": "0xf326e4de8f66a0bdc0970b79e0924e33c79f1915", + "gas": "0xc9ea", + "gasUsed": "0x5d", + "input": "0x", + "output": "0x", + "to": "0x34cfac646f301356faa8b21e94227e3583fe3f5f", + "type": "DELEGATECALL" + } + ], + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "gas": "0xdfcd", + "gasUsed": "0x1336", + "input": "0x", + "output": "0x", + "to": "0xf326e4de8f66a0bdc0970b79e0924e33c79f1915", + "type": "CALL", + "value": "0x583db9ac4eb064" + }, + { + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "gas": "0xcad8", + "gasUsed": "0x1d4", + "input": "0x70a0823100000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631", + "output": "0x0000000000000000000000000000000000000000000000000000000000000000", + "to": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "type": "STATICCALL" + }, + { + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "gas": "0xad04", + "gasUsed": "0x0", + "input": "0x", + "output": "0x", + "to": "0xc409134827440024347e27b2826dfd3d42a2967b", + "type": "CALL", + "value": "0x270c752a1b64a130" + } + ], + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "gas": "0x28e65", + "gasUsed": "0x1df58", + "input": "0x92f5f037000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000148bae7bf8d10c000000000000000000000000000000000000000000000000000025e0905e9a924031000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000583db9ac4eb064000000000000000000000000f326e4de8f66a0bdc0970b79e0924e33c79f191500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000128d9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000148bae7bf8d10c0000000000000000000000000000000000000000000000000000263628672fca195e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb0000000000000000000000000000000000000000000000aa1645433861e06818000000000000000000000000000000000000000000000000", + "output": "0x", + "to": "0x3d1d55c23dfc759c5ae48500ca88ddf477b3c9e5", + "type": "DELEGATECALL" + } + ], + "from": "0x881d40237659c251811cec9c364ef91dc08d300c", + "gas": "0x2ad4e", + "gasUsed": "0x1f465", + "input": "0xe35473350000000000000000000000003d1d55c23dfc759c5ae48500ca88ddf477b3c9e50000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000028492f5f037000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000148bae7bf8d10c000000000000000000000000000000000000000000000000000025e0905e9a924031000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000583db9ac4eb064000000000000000000000000f326e4de8f66a0bdc0970b79e0924e33c79f191500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000128d9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000148bae7bf8d10c0000000000000000000000000000000000000000000000000000263628672fca195e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb0000000000000000000000000000000000000000000000aa1645433861e0681800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "output": "0x", + "to": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "type": "CALL", + "value": "0x0" + } + ], + "from": "0xc409134827440024347e27b2826dfd3d42a2967b", + "gas": "0x39ecb", + "gasUsed": "0x2e214", + "input": "0x5f5755290000000000000000000000000000000000000000000000000000000000000080000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b0000000000000000000000000000000000000000000000148bae7bf8d10c000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000c307846656544796e616d696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000260000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000148bae7bf8d10c000000000000000000000000000000000000000000000000000025e0905e9a924031000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000583db9ac4eb064000000000000000000000000f326e4de8f66a0bdc0970b79e0924e33c79f191500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000128d9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000148bae7bf8d10c0000000000000000000000000000000000000000000000000000263628672fca195e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb0000000000000000000000000000000000000000000000aa1645433861e06818000000000000000000000000000000000000000000000000c8", + "output": "0x", + "to": "0x881d40237659c251811cec9c364ef91dc08d300c", + "type": "CALL", + "value": "0x0" + } + } + }, + { + "transaction_identifier": { + "hash": "0xfac8149f95c20f62264991fe15dc74ca77c92ad6e4329496548277fb4d520509" + }, + "operations": [ + { + "operation_identifier": { + "index": 0 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0xF1074BB4dd7C38f067aD5b58D9f5C284dEBbD752" + }, + "amount": { + "value": "-42000000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 1 + }, + "related_operations": [ + { + "index": 0 + } + ], + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5" + }, + "amount": { + "value": "42000000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 2 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0xF1074BB4dd7C38f067aD5b58D9f5C284dEBbD752" + }, + "amount": { + "value": "-3892586638374000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 3 + }, + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0xF1074BB4dd7C38f067aD5b58D9f5C284dEBbD752" + }, + "amount": { + "value": "-106569960000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 4 + }, + "related_operations": [ + { + "index": 3 + } + ], + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0x3594567A2e8949f47a87F0E9fCFa3Ee66Bb31116" + }, + "amount": { + "value": "106569960000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + } + ], + "metadata": { + "gas_limit": "0x5208", + "gas_price": "0x2ecc889a00", + "receipt": { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": "0x0000000000000000000000000000000000000000", + "cumulativeGasUsed": "0x440cc", + "gasUsed": "0x5208", + "logs": [], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "root": "0x", + "status": "0x1", + "transactionHash": "0xfac8149f95c20f62264991fe15dc74ca77c92ad6e4329496548277fb4d520509", + "transactionIndex": "0x3", + "type": "0x2" + }, + "trace": { + "from": "0xf1074bb4dd7c38f067ad5b58d9f5c284debbd752", + "gas": "0x0", + "gasUsed": "0x0", + "input": "0x", + "output": "0x", + "to": "0x3594567a2e8949f47a87f0e9fcfa3ee66bb31116", + "type": "CALL", + "value": "0x17a9cd061871000" + } + } + }, + { + "transaction_identifier": { + "hash": "0x0a4cd36d72c2ed4767c1d228a7aa0638c3e46397f48b6b09f35ed455c851bb04" + }, + "operations": [ + { + "operation_identifier": { + "index": 0 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x3070f20f86fDa706Ac380F5060D256028a46eC29" + }, + "amount": { + "value": "-107552000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 1 + }, + "related_operations": [ + { + "index": 0 + } + ], + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5" + }, + "amount": { + "value": "107552000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 2 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x3070f20f86fDa706Ac380F5060D256028a46eC29" + }, + "amount": { + "value": "-9967987574533344", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + } + ], + "metadata": { + "gas_limit": "0xd36d", + "gas_price": "0x315c2f4800", + "receipt": { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": "0x0000000000000000000000000000000000000000", + "cumulativeGasUsed": "0x512dc", + "gasUsed": "0xd210", + "logs": [ + { + "address": "0x4104b135dbc9609fc1a9490e61369036497660c8", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "logIndex": "0xa", + "removed": false, + "topics": [ + "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", + "0x0000000000000000000000003070f20f86fda706ac380f5060d256028a46ec29", + "0x000000000000000000000000216b4b4ba9f3e719726886d34a177484278bfcae" + ], + "transactionHash": "0x0a4cd36d72c2ed4767c1d228a7aa0638c3e46397f48b6b09f35ed455c851bb04", + "transactionIndex": "0x4" + } + ], + "logsBloom": "0x00000000000000020000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000200000000000400000000000200000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000020000004000000000000000000000000010000000000000000000000000000000000000000000000000000000000000", + "root": "0x", + "status": "0x1", + "transactionHash": "0x0a4cd36d72c2ed4767c1d228a7aa0638c3e46397f48b6b09f35ed455c851bb04", + "transactionIndex": "0x4", + "type": "0x2" + }, + "trace": { + "calls": [ + { + "from": "0x4104b135dbc9609fc1a9490e61369036497660c8", + "gas": "0x600a", + "gasUsed": "0x600a", + "input": "0x095ea7b3000000000000000000000000216b4b4ba9f3e719726886d34a177484278bfcaeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001", + "to": "0x134c0591183e9c8a39250a9a04e6f8585bc8157f", + "type": "DELEGATECALL" + } + ], + "from": "0x3070f20f86fda706ac380f5060d256028a46ec29", + "gas": "0x7db5", + "gasUsed": "0x7c58", + "input": "0x095ea7b3000000000000000000000000216b4b4ba9f3e719726886d34a177484278bfcaeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001", + "to": "0x4104b135dbc9609fc1a9490e61369036497660c8", + "type": "CALL", + "value": "0x0" + } + } + }, + { + "transaction_identifier": { + "hash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c" + }, + "operations": [ + { + "operation_identifier": { + "index": 0 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x01c1EeE6d802645DcccEFd9f609765Db864188a9" + }, + "amount": { + "value": "-198012000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 1 + }, + "related_operations": [ + { + "index": 0 + } + ], + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5" + }, + "amount": { + "value": "198012000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 2 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x01c1EeE6d802645DcccEFd9f609765Db864188a9" + }, + "amount": { + "value": "-24469170331355952", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 3 + }, + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0x01c1EeE6d802645DcccEFd9f609765Db864188a9" + }, + "amount": { + "value": "-1030000000000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 4 + }, + "related_operations": [ + { + "index": 3 + } + ], + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45" + }, + "amount": { + "value": "1030000000000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 5 + }, + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45" + }, + "amount": { + "value": "-1030000000000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 6 + }, + "related_operations": [ + { + "index": 5 + } + ], + "type": "CALL", + "status": "SUCCESS", + "account": { + "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" + }, + "amount": { + "value": "1030000000000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + } + ], + "metadata": { + "gas_limit": "0x2de95", + "gas_price": "0x312a2c5a63", + "receipt": { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": "0x0000000000000000000000000000000000000000", + "cumulativeGasUsed": "0x71684", + "gasUsed": "0x203a8", + "logs": [ + { + "address": "0xdb5c3c46e28b53a39c255aa39a411dd64e5fed9c", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x000000000000000000000000000000000000000000000036952a55f298d4dffb", + "logIndex": "0xb", + "removed": false, + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x0000000000000000000000004b3d09151ad295623ac9e50967739fd437b0d892", + "0x00000000000000000000000001c1eee6d802645dcccefd9f609765db864188a9" + ], + "transactionHash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "transactionIndex": "0x5" + }, + { + "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x0000000000000000000000000000000000000000000000000e4b4b8af6a70000", + "logIndex": "0xc", + "removed": false, + "topics": [ + "0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c", + "0x00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45" + ], + "transactionHash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "transactionIndex": "0x5" + }, + { + "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x0000000000000000000000000000000000000000000000000e4b4b8af6a70000", + "logIndex": "0xd", + "removed": false, + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "0x0000000000000000000000004b3d09151ad295623ac9e50967739fd437b0d892" + ], + "transactionHash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "transactionIndex": "0x5" + }, + { + "address": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "data": "0x0000000000000000000000000000000000000000000000000e4b4b8af6a70000ffffffffffffffffffffffffffffffffffffffffffffffc96ad5aa0d672b2005000000000000000000000000000000000000001f467eb13c96e03ac0e10301320000000000000000000000000000000000000000000002d9db6e74d288c6b1030000000000000000000000000000000000000000000000000000000000010cfc", + "logIndex": "0xe", + "removed": false, + "topics": [ + "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67", + "0x00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "0x00000000000000000000000001c1eee6d802645dcccefd9f609765db864188a9" + ], + "transactionHash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "transactionIndex": "0x5" + } + ], + "logsBloom": "0x00020000000000000000040002000000000000000000000000000000000000000040000000000000000000000000000002000000080020000000080000000000000000000000000800000008000000000080000000000000000000008000002000000000000000000000000000000000000000000000000000000010000800004000000000000000000800000000000000000001000000000000000000000000000000000000000000000040008000000000000004000000000000000000000000000002000000000000000000000000000000000000400000000100000000000000200000000000000000000000080000000000000000400000000000000000", + "root": "0x", + "status": "0x1", + "transactionHash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "transactionIndex": "0x5", + "type": "0x2" + }, + "trace": { + "calls": [ + { + "calls": [ + { + "calls": [ + { + "from": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "gas": "0x1b8c2", + "gasUsed": "0x7556", + "input": "0xa9059cbb00000000000000000000000001c1eee6d802645dcccefd9f609765db864188a9000000000000000000000000000000000000000000000036952a55f298d4dffb", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001", + "to": "0xdb5c3c46e28b53a39c255aa39a411dd64e5fed9c", + "type": "CALL", + "value": "0x0" + }, + { + "from": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "gas": "0x1383e", + "gasUsed": "0x9e6", + "input": "0x70a082310000000000000000000000004b3d09151ad295623ac9e50967739fd437b0d892", + "output": "0x0000000000000000000000000000000000000000000000030c20a57fb9853b86", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "type": "STATICCALL" + }, + { + "calls": [ + { + "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "gas": "0x100a2", + "gasUsed": "0x5da6", + "input": "0xd0e30db0", + "output": "0x", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "type": "CALL", + "value": "0xe4b4b8af6a70000" + }, + { + "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "gas": "0xa2cd", + "gasUsed": "0x17ae", + "input": "0xa9059cbb0000000000000000000000004b3d09151ad295623ac9e50967739fd437b0d8920000000000000000000000000000000000000000000000000e4b4b8af6a70000", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "type": "CALL", + "value": "0x0" + } + ], + "from": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "gas": "0x12b69", + "gasUsed": "0x9e43", + "input": "0xfa461e330000000000000000000000000000000000000000000000000e4b4b8af6a70000ffffffffffffffffffffffffffffffffffffffffffffffc96ad5aa0d672b2005000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000001c1eee6d802645dcccefd9f609765db864188a9000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8db5c3c46e28b53a39c255aa39a411dd64e5fed9c000000000000000000000000000000000000000000", + "output": "0x", + "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "type": "CALL", + "value": "0x0" + }, + { + "from": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "gas": "0x8d26", + "gasUsed": "0x216", + "input": "0x70a082310000000000000000000000004b3d09151ad295623ac9e50967739fd437b0d892", + "output": "0x0000000000000000000000000000000000000000000000031a6bf10ab02c3b86", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "type": "STATICCALL" + } + ], + "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "gas": "0x24dde", + "gasUsed": "0x1cf0a", + "input": "0x128acb0800000000000000000000000001c1eee6d802645dcccefd9f609765db864188a900000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000e4b4b8af6a7000000000000000000000000000000000000000000000000000000000001000276a400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000001c1eee6d802645dcccefd9f609765db864188a9000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8db5c3c46e28b53a39c255aa39a411dd64e5fed9c000000000000000000000000000000000000000000", + "output": "0x0000000000000000000000000000000000000000000000000e4b4b8af6a70000ffffffffffffffffffffffffffffffffffffffffffffffc96ad5aa0d672b2005", + "to": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "type": "CALL", + "value": "0x0" + } + ], + "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "gas": "0x27293", + "gasUsed": "0x1ebee", + "input": "0x04e45aaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000db5c3c46e28b53a39c255aa39a411dd64e5fed9c0000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000001c1eee6d802645dcccefd9f609765db864188a90000000000000000000000000000000000000000000000000e4b4b8af6a700000000000000000000000000000000000000000000000000358d31b9c9428244180000000000000000000000000000000000000000000000000000000000000000", + "output": "0x000000000000000000000000000000000000000000000036952a55f298d4dffb", + "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "type": "DELEGATECALL" + } + ], + "from": "0x01c1eee6d802645dcccefd9f609765db864188a9", + "gas": "0x281a1", + "gasUsed": "0x1f470", + "input": "0x5ae401dc0000000000000000000000000000000000000000000000000000000061e0686600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e404e45aaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000db5c3c46e28b53a39c255aa39a411dd64e5fed9c0000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000001c1eee6d802645dcccefd9f609765db864188a90000000000000000000000000000000000000000000000000e4b4b8af6a700000000000000000000000000000000000000000000000000358d31b9c942824418000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000036952a55f298d4dffb", + "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "type": "CALL", + "value": "0xe4b4b8af6a70000" + } + } + }, + { + "transaction_identifier": { + "hash": "0x0d4a4f924858a5b19f6b931a914701d4258e73fa738da3d38eb3be1d1e862a7a" + }, + "operations": [ + { + "operation_identifier": { + "index": 0 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x85482659e7f053e95ddeA5fF4D12a766E45306d1" + }, + "amount": { + "value": "-97571000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 1 + }, + "related_operations": [ + { + "index": 0 + } + ], + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5" + }, + "amount": { + "value": "97571000000000", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + }, + { + "operation_identifier": { + "index": 2 + }, + "type": "FEE", + "status": "SUCCESS", + "account": { + "address": "0x85482659e7f053e95ddeA5fF4D12a766E45306d1" + }, + "amount": { + "value": "-18085884328228074", + "currency": { + "symbol": "ETH", + "decimals": 18 + } + } + } + ], + "metadata": { + "gas_limit": "0x23bb4", + "gas_price": "0x5889f24888", + "receipt": { + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": "0x0000000000000000000000000000000000000000", + "cumulativeGasUsed": "0x893a7", + "gasUsed": "0x17d23", + "logs": [], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "root": "0x", + "status": "0x1", + "transactionHash": "0x0d4a4f924858a5b19f6b931a914701d4258e73fa738da3d38eb3be1d1e862a7a", + "transactionIndex": "0x6", + "type": "0x2" + }, + "trace": { + "from": "0x85482659e7f053e95ddea5ff4d12a766e45306d1", + "gas": "0x1e2b4", + "gasUsed": "0x12423", + "input": "0x55f804b30000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005868747470733a2f2f70696e6e696e6766696c65732e6d7970696e6174612e636c6f75642f697066732f516d663536777a4e755567696d78364348366b66586e4c515073637236337136644d32674759716652514d4438512f0000000000000000", + "output": "0x", + "to": "0xef3666ba4c5a04d90cea2fd6dbd57c2437b4f9e4", + "type": "CALL", + "value": "0x0" + } + } + } + ] + } +} diff --git a/ethereum/testdata/block_trace_0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2.json b/ethereum/testdata/block_trace_0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2.json new file mode 100644 index 0000000..15f7649 --- /dev/null +++ b/ethereum/testdata/block_trace_0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2.json @@ -0,0 +1,380 @@ +[ + { + "result": { + "type": "CALL", + "from": "0xf60c2ea62edbfe808163751dd0d8693dcb30019c", + "to": "0x96ab1539b95acec4f9926df3f3410d059414a737", + "value": "0x6fa4defa1110000", + "gas": "0x2d710", + "gasUsed": "0x0", + "input": "0x", + "output": "0x" + } + }, + { + "result": { + "type": "CALL", + "from": "0xddfabcdc4d8ffc6d5beaf154f18b778f892a0740", + "to": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0", + "value": "0x0", + "gas": "0x37c10", + "gasUsed": "0x7e74", + "input": "0xa9059cbb0000000000000000000000003106bff140797c195c48d7af9253eb107b22c43d0000000000000000000000000000000000000000000000005b0fc500f4cf4c00", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001" + } + }, + { + "result": { + "type": "CALL", + "from": "0xc409134827440024347e27b2826dfd3d42a2967b", + "to": "0x881d40237659c251811cec9c364ef91dc08d300c", + "value": "0x0", + "gas": "0x39ecb", + "gasUsed": "0x2e214", + "input": "0x5f5755290000000000000000000000000000000000000000000000000000000000000080000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b0000000000000000000000000000000000000000000000148bae7bf8d10c000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000c307846656544796e616d696300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000260000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000148bae7bf8d10c000000000000000000000000000000000000000000000000000025e0905e9a924031000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000583db9ac4eb064000000000000000000000000f326e4de8f66a0bdc0970b79e0924e33c79f191500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000128d9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000148bae7bf8d10c0000000000000000000000000000000000000000000000000000263628672fca195e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb0000000000000000000000000000000000000000000000aa1645433861e06818000000000000000000000000000000000000000000000000c8", + "output": "0x", + "calls": [ + { + "type": "CALL", + "from": "0x881d40237659c251811cec9c364ef91dc08d300c", + "to": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "value": "0x0", + "gas": "0x363d3", + "gasUsed": "0x92cc", + "input": "0x23b872dd000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b00000000000000000000000074de5d4fcbf63e00296fd95d33236b97940166310000000000000000000000000000000000000000000000148bae7bf8d10c0000", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001" + }, + { + "type": "CALL", + "from": "0x881d40237659c251811cec9c364ef91dc08d300c", + "to": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "value": "0x0", + "gas": "0x2ad4e", + "gasUsed": "0x1f465", + "input": "0xe35473350000000000000000000000003d1d55c23dfc759c5ae48500ca88ddf477b3c9e50000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000028492f5f037000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000148bae7bf8d10c000000000000000000000000000000000000000000000000000025e0905e9a924031000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000583db9ac4eb064000000000000000000000000f326e4de8f66a0bdc0970b79e0924e33c79f191500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000128d9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000148bae7bf8d10c0000000000000000000000000000000000000000000000000000263628672fca195e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb0000000000000000000000000000000000000000000000aa1645433861e0681800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "output": "0x", + "calls": [ + { + "type": "DELEGATECALL", + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "to": "0x3d1d55c23dfc759c5ae48500ca88ddf477b3c9e5", + "gas": "0x28e65", + "gasUsed": "0x1df58", + "input": "0x92f5f037000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000148bae7bf8d10c000000000000000000000000000000000000000000000000000025e0905e9a924031000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000583db9ac4eb064000000000000000000000000f326e4de8f66a0bdc0970b79e0924e33c79f191500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000128d9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000148bae7bf8d10c0000000000000000000000000000000000000000000000000000263628672fca195e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb0000000000000000000000000000000000000000000000aa1645433861e06818000000000000000000000000000000000000000000000000", + "output": "0x", + "calls": [ + { + "type": "STATICCALL", + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "to": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "gas": "0x280b8", + "gasUsed": "0xa64", + "input": "0xdd62ed3e00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff", + "output": "0xfffffffffffffffffffffffffffffffffffffffffffff96d58be82e012e35b6b" + }, + { + "type": "CALL", + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "to": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "value": "0x0", + "gas": "0x2661d", + "gasUsed": "0x1668b", + "input": "0xd9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000148bae7bf8d10c0000000000000000000000000000000000000000000000000000263628672fca195e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb0000000000000000000000000000000000000000000000aa1645433861e06818", + "output": "0x0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "calls": [ + { + "type": "DELEGATECALL", + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "to": "0xf9b30557afcf76ea82c04015d80057fa2147dfa9", + "gas": "0x24712", + "gasUsed": "0x15011", + "input": "0xd9627aa400000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000148bae7bf8d10c0000000000000000000000000000000000000000000000000000263628672fca195e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e2311ae37502105b442bbef831e9b53c5d2e9b3b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee869584cd00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb0000000000000000000000000000000000000000000000aa1645433861e06818", + "output": "0x0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "calls": [ + { + "type": "CALL", + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "to": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "value": "0x0", + "gas": "0x235e3", + "gasUsed": "0x3570", + "input": "0x23b872dd00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631000000000000000000000000cfa9a297a406a48d1137172c18de04c944b47ba90000000000000000000000000000000000000000000000148bae7bf8d10c0000", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001" + }, + { + "type": "STATICCALL", + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "to": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "gas": "0x1f6d5", + "gasUsed": "0x9d5", + "input": "0x0902f1ac", + "output": "0x00000000000000000000000000000000000000000000001424866bef1008b536000000000000000000000000000000000000000000000a64d64815d57af8b5950000000000000000000000000000000000000000000000000000000061e05fd9" + }, + { + "type": "CALL", + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "to": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "value": "0x0", + "gas": "0x1eb38", + "gasUsed": "0xbbbc", + "input": "0x022c0d9f0000000000000000000000000000000000000000000000002764b2e3c7b351940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000", + "output": "0x", + "calls": [ + { + "type": "CALL", + "from": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "value": "0x0", + "gas": "0x1afb2", + "gasUsed": "0x323e", + "input": "0xa9059cbb000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001" + }, + { + "type": "STATICCALL", + "from": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "gas": "0x17bbe", + "gasUsed": "0x216", + "input": "0x70a08231000000000000000000000000cfa9a297a406a48d1137172c18de04c944b47ba9", + "output": "0x000000000000000000000000000000000000000000000013fd21b90b485563a2" + }, + { + "type": "STATICCALL", + "from": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "to": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "gas": "0x17809", + "gasUsed": "0x1d4", + "input": "0x70a08231000000000000000000000000cfa9a297a406a48d1137172c18de04c944b47ba9", + "output": "0x000000000000000000000000000000000000000000000a7961f691ce4c04b595" + } + ] + }, + { + "type": "CALL", + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "value": "0x0", + "gas": "0x13185", + "gasUsed": "0x23eb", + "input": "0x2e1a7d4d0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "output": "0x", + "calls": [ + { + "type": "CALL", + "from": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "to": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "value": "0x2764b2e3c7b35194", + "gas": "0x8fc", + "gasUsed": "0x37", + "input": "0x", + "output": "0x" + } + ] + }, + { + "type": "CALL", + "from": "0xdef1c0ded9bec7f1a1670819833240f027b25eff", + "to": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "value": "0x2764b2e3c7b35194", + "gas": "0xf407", + "gasUsed": "0x28", + "input": "0x", + "output": "0x" + } + ] + } + ] + }, + { + "type": "CALL", + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "to": "0xf326e4de8f66a0bdc0970b79e0924e33c79f1915", + "value": "0x583db9ac4eb064", + "gas": "0xdfcd", + "gasUsed": "0x1336", + "input": "0x", + "output": "0x", + "calls": [ + { + "type": "DELEGATECALL", + "from": "0xf326e4de8f66a0bdc0970b79e0924e33c79f1915", + "to": "0x34cfac646f301356faa8b21e94227e3583fe3f5f", + "gas": "0xc9ea", + "gasUsed": "0x5d", + "input": "0x", + "output": "0x" + } + ] + }, + { + "type": "STATICCALL", + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "to": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "gas": "0xcad8", + "gasUsed": "0x1d4", + "input": "0x70a0823100000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631", + "output": "0x0000000000000000000000000000000000000000000000000000000000000000" + }, + { + "type": "CALL", + "from": "0x74de5d4fcbf63e00296fd95d33236b9794016631", + "to": "0xc409134827440024347e27b2826dfd3d42a2967b", + "value": "0x270c752a1b64a130", + "gas": "0xad04", + "gasUsed": "0x0", + "input": "0x", + "output": "0x" + } + ] + } + ] + } + ] + } + }, + { + "result": { + "type": "CALL", + "from": "0xf1074bb4dd7c38f067ad5b58d9f5c284debbd752", + "to": "0x3594567a2e8949f47a87f0e9fcfa3ee66bb31116", + "value": "0x17a9cd061871000", + "gas": "0x0", + "gasUsed": "0x0", + "input": "0x", + "output": "0x" + } + }, + { + "result": { + "type": "CALL", + "from": "0x3070f20f86fda706ac380f5060d256028a46ec29", + "to": "0x4104b135dbc9609fc1a9490e61369036497660c8", + "value": "0x0", + "gas": "0x7db5", + "gasUsed": "0x7c58", + "input": "0x095ea7b3000000000000000000000000216b4b4ba9f3e719726886d34a177484278bfcaeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001", + "calls": [ + { + "type": "DELEGATECALL", + "from": "0x4104b135dbc9609fc1a9490e61369036497660c8", + "to": "0x134c0591183e9c8a39250a9a04e6f8585bc8157f", + "gas": "0x600a", + "gasUsed": "0x600a", + "input": "0x095ea7b3000000000000000000000000216b4b4ba9f3e719726886d34a177484278bfcaeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001" + } + ] + } + }, + { + "result": { + "type": "CALL", + "from": "0x01c1eee6d802645dcccefd9f609765db864188a9", + "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "value": "0xe4b4b8af6a70000", + "gas": "0x281a1", + "gasUsed": "0x1f470", + "input": "0x5ae401dc0000000000000000000000000000000000000000000000000000000061e0686600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000e404e45aaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000db5c3c46e28b53a39c255aa39a411dd64e5fed9c0000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000001c1eee6d802645dcccefd9f609765db864188a90000000000000000000000000000000000000000000000000e4b4b8af6a700000000000000000000000000000000000000000000000000358d31b9c942824418000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000036952a55f298d4dffb", + "calls": [ + { + "type": "DELEGATECALL", + "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "gas": "0x27293", + "gasUsed": "0x1ebee", + "input": "0x04e45aaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000db5c3c46e28b53a39c255aa39a411dd64e5fed9c0000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000001c1eee6d802645dcccefd9f609765db864188a90000000000000000000000000000000000000000000000000e4b4b8af6a700000000000000000000000000000000000000000000000000358d31b9c9428244180000000000000000000000000000000000000000000000000000000000000000", + "output": "0x000000000000000000000000000000000000000000000036952a55f298d4dffb", + "calls": [ + { + "type": "CALL", + "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "to": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "value": "0x0", + "gas": "0x24dde", + "gasUsed": "0x1cf0a", + "input": "0x128acb0800000000000000000000000001c1eee6d802645dcccefd9f609765db864188a900000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000e4b4b8af6a7000000000000000000000000000000000000000000000000000000000001000276a400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000001c1eee6d802645dcccefd9f609765db864188a9000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8db5c3c46e28b53a39c255aa39a411dd64e5fed9c000000000000000000000000000000000000000000", + "output": "0x0000000000000000000000000000000000000000000000000e4b4b8af6a70000ffffffffffffffffffffffffffffffffffffffffffffffc96ad5aa0d672b2005", + "calls": [ + { + "type": "CALL", + "from": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "to": "0xdb5c3c46e28b53a39c255aa39a411dd64e5fed9c", + "value": "0x0", + "gas": "0x1b8c2", + "gasUsed": "0x7556", + "input": "0xa9059cbb00000000000000000000000001c1eee6d802645dcccefd9f609765db864188a9000000000000000000000000000000000000000000000036952a55f298d4dffb", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001" + }, + { + "type": "STATICCALL", + "from": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "gas": "0x1383e", + "gasUsed": "0x9e6", + "input": "0x70a082310000000000000000000000004b3d09151ad295623ac9e50967739fd437b0d892", + "output": "0x0000000000000000000000000000000000000000000000030c20a57fb9853b86" + }, + { + "type": "CALL", + "from": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "value": "0x0", + "gas": "0x12b69", + "gasUsed": "0x9e43", + "input": "0xfa461e330000000000000000000000000000000000000000000000000e4b4b8af6a70000ffffffffffffffffffffffffffffffffffffffffffffffc96ad5aa0d672b2005000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000001c1eee6d802645dcccefd9f609765db864188a9000000000000000000000000000000000000000000000000000000000000002bc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000bb8db5c3c46e28b53a39c255aa39a411dd64e5fed9c000000000000000000000000000000000000000000", + "output": "0x", + "calls": [ + { + "type": "CALL", + "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "value": "0xe4b4b8af6a70000", + "gas": "0x100a2", + "gasUsed": "0x5da6", + "input": "0xd0e30db0", + "output": "0x" + }, + { + "type": "CALL", + "from": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "value": "0x0", + "gas": "0xa2cd", + "gasUsed": "0x17ae", + "input": "0xa9059cbb0000000000000000000000004b3d09151ad295623ac9e50967739fd437b0d8920000000000000000000000000000000000000000000000000e4b4b8af6a70000", + "output": "0x0000000000000000000000000000000000000000000000000000000000000001" + } + ] + }, + { + "type": "STATICCALL", + "from": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "gas": "0x8d26", + "gasUsed": "0x216", + "input": "0x70a082310000000000000000000000004b3d09151ad295623ac9e50967739fd437b0d892", + "output": "0x0000000000000000000000000000000000000000000000031a6bf10ab02c3b86" + } + ] + } + ] + } + ] + } + }, + { + "result": { + "type": "CALL", + "from": "0x85482659e7f053e95ddea5ff4d12a766e45306d1", + "to": "0xef3666ba4c5a04d90cea2fd6dbd57c2437b4f9e4", + "value": "0x0", + "gas": "0x1e2b4", + "gasUsed": "0x12423", + "input": "0x55f804b30000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005868747470733a2f2f70696e6e696e6766696c65732e6d7970696e6174612e636c6f75642f697066732f516d663536777a4e755567696d78364348366b66586e4c515073637236337136644d32674759716652514d4438512f0000000000000000", + "output": "0x" + } + } +] diff --git a/ethereum/testdata/tx_receipt_0x0a4cd36d72c2ed4767c1d228a7aa0638c3e46397f48b6b09f35ed455c851bb04.json b/ethereum/testdata/tx_receipt_0x0a4cd36d72c2ed4767c1d228a7aa0638c3e46397f48b6b09f35ed455c851bb04.json new file mode 100644 index 0000000..98b54f8 --- /dev/null +++ b/ethereum/testdata/tx_receipt_0x0a4cd36d72c2ed4767c1d228a7aa0638c3e46397f48b6b09f35ed455c851bb04.json @@ -0,0 +1,32 @@ +{ + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": null, + "cumulativeGasUsed": "0x512dc", + "effectiveGasPrice": "0x2b9f9a130e", + "from": "0x3070f20f86fda706ac380f5060d256028a46ec29", + "gasUsed": "0xd210", + "logs": [ + { + "address": "0x4104b135dbc9609fc1a9490e61369036497660c8", + "topics": [ + "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", + "0x0000000000000000000000003070f20f86fda706ac380f5060d256028a46ec29", + "0x000000000000000000000000216b4b4ba9f3e719726886d34a177484278bfcae" + ], + "data": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "blockNumber": "0xd59a22", + "transactionHash": "0x0a4cd36d72c2ed4767c1d228a7aa0638c3e46397f48b6b09f35ed455c851bb04", + "transactionIndex": "0x4", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0xa", + "removed": false + } + ], + "logsBloom": "0x00000000000000020000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000200000000000400000000000200000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000020000004000000000000000000000000010000000000000000000000000000000000000000000000000000000000000", + "status": "0x1", + "to": "0x4104b135dbc9609fc1a9490e61369036497660c8", + "transactionHash": "0x0a4cd36d72c2ed4767c1d228a7aa0638c3e46397f48b6b09f35ed455c851bb04", + "transactionIndex": "0x4", + "type": "0x2" +} diff --git a/ethereum/testdata/tx_receipt_0x0d4a4f924858a5b19f6b931a914701d4258e73fa738da3d38eb3be1d1e862a7a.json b/ethereum/testdata/tx_receipt_0x0d4a4f924858a5b19f6b931a914701d4258e73fa738da3d38eb3be1d1e862a7a.json new file mode 100644 index 0000000..9a0f747 --- /dev/null +++ b/ethereum/testdata/tx_receipt_0x0d4a4f924858a5b19f6b931a914701d4258e73fa738da3d38eb3be1d1e862a7a.json @@ -0,0 +1,16 @@ +{ + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": null, + "cumulativeGasUsed": "0x893a7", + "effectiveGasPrice": "0x2b63ff490e", + "from": "0x85482659e7f053e95ddea5ff4d12a766e45306d1", + "gasUsed": "0x17d23", + "logs": [], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "status": "0x1", + "to": "0xef3666ba4c5a04d90cea2fd6dbd57c2437b4f9e4", + "transactionHash": "0x0d4a4f924858a5b19f6b931a914701d4258e73fa738da3d38eb3be1d1e862a7a", + "transactionIndex": "0x6", + "type": "0x2" +} diff --git a/ethereum/testdata/tx_receipt_0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c.json b/ethereum/testdata/tx_receipt_0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c.json new file mode 100644 index 0000000..ca3a26a --- /dev/null +++ b/ethereum/testdata/tx_receipt_0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c.json @@ -0,0 +1,76 @@ +{ + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": null, + "cumulativeGasUsed": "0x71684", + "effectiveGasPrice": "0x2b81ccae0e", + "from": "0x01c1eee6d802645dcccefd9f609765db864188a9", + "gasUsed": "0x203a8", + "logs": [ + { + "address": "0xdb5c3c46e28b53a39c255aa39a411dd64e5fed9c", + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x0000000000000000000000004b3d09151ad295623ac9e50967739fd437b0d892", + "0x00000000000000000000000001c1eee6d802645dcccefd9f609765db864188a9" + ], + "data": "0x000000000000000000000000000000000000000000000036952a55f298d4dffb", + "blockNumber": "0xd59a22", + "transactionHash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "transactionIndex": "0x5", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0xb", + "removed": false + }, + { + "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "topics": [ + "0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c", + "0x00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45" + ], + "data": "0x0000000000000000000000000000000000000000000000000e4b4b8af6a70000", + "blockNumber": "0xd59a22", + "transactionHash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "transactionIndex": "0x5", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0xc", + "removed": false + }, + { + "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "0x0000000000000000000000004b3d09151ad295623ac9e50967739fd437b0d892" + ], + "data": "0x0000000000000000000000000000000000000000000000000e4b4b8af6a70000", + "blockNumber": "0xd59a22", + "transactionHash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "transactionIndex": "0x5", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0xd", + "removed": false + }, + { + "address": "0x4b3d09151ad295623ac9e50967739fd437b0d892", + "topics": [ + "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67", + "0x00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "0x00000000000000000000000001c1eee6d802645dcccefd9f609765db864188a9" + ], + "data": "0x0000000000000000000000000000000000000000000000000e4b4b8af6a70000ffffffffffffffffffffffffffffffffffffffffffffffc96ad5aa0d672b2005000000000000000000000000000000000000001f467eb13c96e03ac0e10301320000000000000000000000000000000000000000000002d9db6e74d288c6b1030000000000000000000000000000000000000000000000000000000000010cfc", + "blockNumber": "0xd59a22", + "transactionHash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "transactionIndex": "0x5", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0xe", + "removed": false + } + ], + "logsBloom": "0x00020000000000000000040002000000000000000000000000000000000000000040000000000000000000000000000002000000080020000000080000000000000000000000000800000008000000000080000000000000000000008000002000000000000000000000000000000000000000000000000000000010000800004000000000000000000800000000000000000001000000000000000000000000000000000000000000000040008000000000000004000000000000000000000000000002000000000000000000000000000000000000400000000100000000000000200000000000000000000000080000000000000000400000000000000000", + "status": "0x1", + "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45", + "transactionHash": "0x9ee03d5922b2a901e3fc05d8a6351165b9f211162363c790c98746ef229e395c", + "transactionIndex": "0x5", + "type": "0x2" +} diff --git a/ethereum/testdata/tx_receipt_0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f.json b/ethereum/testdata/tx_receipt_0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f.json new file mode 100644 index 0000000..dd01c94 --- /dev/null +++ b/ethereum/testdata/tx_receipt_0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f.json @@ -0,0 +1,149 @@ +{ + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": null, + "cumulativeGasUsed": "0x3eec4", + "effectiveGasPrice": "0x2b9f9a130e", + "from": "0xc409134827440024347e27b2826dfd3d42a2967b", + "gasUsed": "0x2c9c8", + "logs": [ + { + "address": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b", + "0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631" + ], + "data": "0x0000000000000000000000000000000000000000000000148bae7bf8d10c0000", + "blockNumber": "0xd59a22", + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0x1", + "removed": false + }, + { + "address": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "topics": [ + "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", + "0x000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b", + "0x000000000000000000000000881d40237659c251811cec9c364ef91dc08d300c" + ], + "data": "0xffffffffffffffffffffffffffffffffffffffffffffffcfe3a64efc2a6a7426", + "blockNumber": "0xd59a22", + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0x2", + "removed": false + }, + { + "address": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631", + "0x000000000000000000000000cfa9a297a406a48d1137172c18de04c944b47ba9" + ], + "data": "0x0000000000000000000000000000000000000000000000148bae7bf8d10c0000", + "blockNumber": "0xd59a22", + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0x3", + "removed": false + }, + { + "address": "0xe2311ae37502105b442bbef831e9b53c5d2e9b3b", + "topics": [ + "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", + "0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631", + "0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff" + ], + "data": "0xfffffffffffffffffffffffffffffffffffffffffffff958cd1006e741d75b6b", + "blockNumber": "0xd59a22", + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0x4", + "removed": false + }, + { + "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x000000000000000000000000cfa9a297a406a48d1137172c18de04c944b47ba9", + "0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff" + ], + "data": "0x0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "blockNumber": "0xd59a22", + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0x5", + "removed": false + }, + { + "address": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "topics": [ + "0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1" + ], + "data": "0x000000000000000000000000000000000000000000000013fd21b90b485563a2000000000000000000000000000000000000000000000a7961f691ce4c04b595", + "blockNumber": "0xd59a22", + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0x6", + "removed": false + }, + { + "address": "0xcfa9a297a406a48d1137172c18de04c944b47ba9", + "topics": [ + "0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822", + "0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff", + "0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff" + ], + "data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000148bae7bf8d10c00000000000000000000000000000000000000000000000000002764b2e3c7b351940000000000000000000000000000000000000000000000000000000000000000", + "blockNumber": "0xd59a22", + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0x7", + "removed": false + }, + { + "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", + "topics": [ + "0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65", + "0x000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff" + ], + "data": "0x0000000000000000000000000000000000000000000000002764b2e3c7b35194", + "blockNumber": "0xd59a22", + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0x8", + "removed": false + }, + { + "address": "0x881d40237659c251811cec9c364ef91dc08d300c", + "topics": [ + "0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d", + "0xa8dc30b66c6d4a8aac3d15925bfca09e42cac4a00c50f9949154b045088e2ac2", + "0x000000000000000000000000c409134827440024347e27b2826dfd3d42a2967b" + ], + "data": "0x", + "blockNumber": "0xd59a22", + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0x9", + "removed": false + } + ], + "logsBloom": "0x00200000000000001000000080000040000000000000000000200000000000000000010000000010000010000000000002008000080008000000000000200000000000000000002000020008000000200000000000400000200004000000000000000000004000000004000000000040000000200000040000000010000000004000000000000000000000000000000000000000000000080028004008000000020008020002000002004000080004000000000000000000000000000000000000000002000000000000000000000000000000000000001000000002000000000030200000000000000000000080000000000000000000000000000000001000", + "status": "0x1", + "to": "0x881d40237659c251811cec9c364ef91dc08d300c", + "transactionHash": "0xb240b922161bb0aeaa5ebe67e6cf77311092bd945b9582b8deba61e2ebdde74f", + "transactionIndex": "0x2", + "type": "0x2" +} diff --git a/ethereum/testdata/tx_receipt_0xef0748860f1c1ba28a5ae3ae9d2d1133940f7c8090fc862acf48de42b00ae2b5.json b/ethereum/testdata/tx_receipt_0xef0748860f1c1ba28a5ae3ae9d2d1133940f7c8090fc862acf48de42b00ae2b5.json new file mode 100644 index 0000000..b63c0d1 --- /dev/null +++ b/ethereum/testdata/tx_receipt_0xef0748860f1c1ba28a5ae3ae9d2d1133940f7c8090fc862acf48de42b00ae2b5.json @@ -0,0 +1,32 @@ +{ + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": null, + "cumulativeGasUsed": "0x124fc", + "effectiveGasPrice": "0x2b9f9a130e", + "from": "0xddfabcdc4d8ffc6d5beaf154f18b778f892a0740", + "gasUsed": "0xd2f4", + "logs": [ + { + "address": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0", + "topics": [ + "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", + "0x000000000000000000000000ddfabcdc4d8ffc6d5beaf154f18b778f892a0740", + "0x0000000000000000000000003106bff140797c195c48d7af9253eb107b22c43d" + ], + "data": "0x0000000000000000000000000000000000000000000000005b0fc500f4cf4c00", + "blockNumber": "0xd59a22", + "transactionHash": "0xef0748860f1c1ba28a5ae3ae9d2d1133940f7c8090fc862acf48de42b00ae2b5", + "transactionIndex": "0x1", + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "logIndex": "0x0", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000080000080008000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000010000000000000000002000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000040000000000002000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000", + "status": "0x1", + "to": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0", + "transactionHash": "0xef0748860f1c1ba28a5ae3ae9d2d1133940f7c8090fc862acf48de42b00ae2b5", + "transactionIndex": "0x1", + "type": "0x2" +} diff --git a/ethereum/testdata/tx_receipt_0xf121c8c07ed51b6ac2d11fe3f0892bff2221ec9168280d12581ea8ff45e71421.json b/ethereum/testdata/tx_receipt_0xf121c8c07ed51b6ac2d11fe3f0892bff2221ec9168280d12581ea8ff45e71421.json new file mode 100644 index 0000000..76e1a86 --- /dev/null +++ b/ethereum/testdata/tx_receipt_0xf121c8c07ed51b6ac2d11fe3f0892bff2221ec9168280d12581ea8ff45e71421.json @@ -0,0 +1,16 @@ +{ + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": null, + "cumulativeGasUsed": "0x5208", + "effectiveGasPrice": "0x5625b7f400", + "from": "0xf60c2ea62edbfe808163751dd0d8693dcb30019c", + "gasUsed": "0x5208", + "logs": [], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "status": "0x1", + "to": "0x96ab1539b95acec4f9926df3f3410d059414a737", + "transactionHash": "0xf121c8c07ed51b6ac2d11fe3f0892bff2221ec9168280d12581ea8ff45e71421", + "transactionIndex": "0x0", + "type": "0x0" +} diff --git a/ethereum/testdata/tx_receipt_0xfac8149f95c20f62264991fe15dc74ca77c92ad6e4329496548277fb4d520509.json b/ethereum/testdata/tx_receipt_0xfac8149f95c20f62264991fe15dc74ca77c92ad6e4329496548277fb4d520509.json new file mode 100644 index 0000000..ac877a3 --- /dev/null +++ b/ethereum/testdata/tx_receipt_0xfac8149f95c20f62264991fe15dc74ca77c92ad6e4329496548277fb4d520509.json @@ -0,0 +1,16 @@ +{ + "blockHash": "0x68985b6b06bb5c6012393145729babb983fc16c50ec5207972ddda02de02f7e2", + "blockNumber": "0xd59a22", + "contractAddress": null, + "cumulativeGasUsed": "0x440cc", + "effectiveGasPrice": "0x2b9f9a130e", + "from": "0xf1074bb4dd7c38f067ad5b58d9f5c284debbd752", + "gasUsed": "0x5208", + "logs": [], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "status": "0x1", + "to": "0x3594567a2e8949f47a87f0e9fcfa3ee66bb31116", + "transactionHash": "0xfac8149f95c20f62264991fe15dc74ca77c92ad6e4329496548277fb4d520509", + "transactionIndex": "0x3", + "type": "0x2" +}