|
|
|
@ -439,6 +439,7 @@ defmodule Explorer.Etherscan do |
|
|
|
|
from_address_hash |
|
|
|
|
to_address_hash |
|
|
|
|
amount |
|
|
|
|
amounts |
|
|
|
|
)a |
|
|
|
|
|
|
|
|
|
defp list_token_transfers(address_hash, contract_address_hash, block_height, options) do |
|
|
|
@ -453,7 +454,7 @@ defmodule Explorer.Etherscan do |
|
|
|
|
offset: ^offset(options), |
|
|
|
|
select: |
|
|
|
|
merge(map(tt, ^@token_transfer_fields), %{ |
|
|
|
|
token_id: tt.token_id, |
|
|
|
|
token_ids: tt.token_ids, |
|
|
|
|
token_name: tkn.name, |
|
|
|
|
token_symbol: tkn.symbol, |
|
|
|
|
token_decimals: tkn.decimals, |
|
|
|
@ -479,6 +480,7 @@ defmodule Explorer.Etherscan do |
|
|
|
|
from_address_hash: tt.from_address_hash, |
|
|
|
|
to_address_hash: tt.to_address_hash, |
|
|
|
|
amount: tt.amount, |
|
|
|
|
amounts: tt.amounts, |
|
|
|
|
transaction_nonce: t.nonce, |
|
|
|
|
transaction_index: t.index, |
|
|
|
|
transaction_gas: t.gas, |
|
|
|
@ -490,7 +492,7 @@ defmodule Explorer.Etherscan do |
|
|
|
|
block_number: b.number, |
|
|
|
|
block_timestamp: b.timestamp, |
|
|
|
|
confirmations: fragment("? - ?", ^block_height, t.block_number), |
|
|
|
|
token_id: tt.token_id, |
|
|
|
|
token_ids: tt.token_ids, |
|
|
|
|
token_name: tt.token_name, |
|
|
|
|
token_symbol: tt.token_symbol, |
|
|
|
|
token_decimals: tt.token_decimals, |
|
|
|
|