|
|
|
@ -98,7 +98,8 @@ defmodule Explorer.Token.MetadataRetrieverTest do |
|
|
|
|
end |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
assert [ |
|
|
|
|
assert {:ok, |
|
|
|
|
[ |
|
|
|
|
%{ |
|
|
|
|
name: "Bancor", |
|
|
|
|
symbol: "BNT", |
|
|
|
@ -111,7 +112,7 @@ defmodule Explorer.Token.MetadataRetrieverTest do |
|
|
|
|
total_supply: 1_000_000_000_000_000_000, |
|
|
|
|
decimals: 18 |
|
|
|
|
} |
|
|
|
|
] = MetadataRetriever.get_functions_of([token.contract_address_hash, token.contract_address_hash]) |
|
|
|
|
]} = MetadataRetriever.get_functions_of([token.contract_address_hash, token.contract_address_hash]) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
test "returns only the functions that were read without error" do |
|
|
|
|