|
|
@ -64,12 +64,12 @@ defmodule BlockScoutWeb.Router do |
|
|
|
|
|
|
|
|
|
|
|
post("/contract_verifications", BlockScoutWeb.AddressContractVerificationController, :create) |
|
|
|
post("/contract_verifications", BlockScoutWeb.AddressContractVerificationController, :create) |
|
|
|
end |
|
|
|
end |
|
|
|
else |
|
|
|
end |
|
|
|
scope "/verify_smart_contract" do |
|
|
|
|
|
|
|
pipe_through(:api) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
post("/contract_verifications", BlockScoutWeb.AddressContractVerificationController, :create) |
|
|
|
scope "/verify_smart_contract" do |
|
|
|
end |
|
|
|
pipe_through(:api) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
post("/contract_verifications", BlockScoutWeb.AddressContractVerificationController, :create) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
if Application.get_env(:block_scout_web, WebRouter)[:enabled] do |
|
|
|
if Application.get_env(:block_scout_web, WebRouter)[:enabled] do |
|
|
|