|
|
|
@ -129,7 +129,7 @@ defmodule Explorer.Chain.TokenTransfer do |
|
|
|
|
query = |
|
|
|
|
from( |
|
|
|
|
tt in TokenTransfer, |
|
|
|
|
where: tt.token_contract_address_hash == ^token_address_hash and not is_nil(^tt.block_number), |
|
|
|
|
where: tt.token_contract_address_hash == ^token_address_hash and not is_nil(tt.block_number), |
|
|
|
|
preload: [{:transaction, :block}, :token, :from_address, :to_address], |
|
|
|
|
order_by: [desc: tt.block_number, desc: tt.log_index] |
|
|
|
|
) |
|
|
|
|