|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|