pull/2225/head
Ayrat Badykov 6 years ago
parent 4f8dceed1c
commit 680c28866c
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 5
      apps/explorer/lib/explorer/smart_contract/verifier/constructor_arguments.ex

@ -22,7 +22,10 @@ defmodule Explorer.SmartContract.Verifier.ConstructorArguments do
end
# Solidity >= 0.5.9; https://github.com/ethereum/solidity/blob/aa4ee3a1559ebc0354926af962efb3fcc7dc15bd/docs/metadata.rst
defp extract_contrstructor_arguments("a265627a7a72305820" <> <<_::binary-size(64)>> <> "64736f6c6343" <> <<_::binary-size(6)>> <> "0032" <> constructor_arguments) do
defp extract_constructor_arguments(
"a265627a7a72305820" <>
<<_::binary-size(64)>> <> "64736f6c6343" <> <<_::binary-size(6)>> <> "0032" <> constructor_arguments
) do
constructor_arguments
end

Loading…
Cancel
Save