|
|
@ -1205,6 +1205,7 @@ defmodule BlockScoutWeb.API.V2.SmartContractControllerTest do |
|
|
|
|
|
|
|
|
|
|
|
assert [ |
|
|
|
assert [ |
|
|
|
%{ |
|
|
|
%{ |
|
|
|
|
|
|
|
"method_id" => "49ba1b49", |
|
|
|
"type" => "function", |
|
|
|
"type" => "function", |
|
|
|
"stateMutability" => "nonpayable", |
|
|
|
"stateMutability" => "nonpayable", |
|
|
|
"outputs" => [], |
|
|
|
"outputs" => [], |
|
|
@ -1271,7 +1272,8 @@ defmodule BlockScoutWeb.API.V2.SmartContractControllerTest do |
|
|
|
"stateMutability" => "nonpayable", |
|
|
|
"stateMutability" => "nonpayable", |
|
|
|
"outputs" => [], |
|
|
|
"outputs" => [], |
|
|
|
"name" => "disableWhitelist", |
|
|
|
"name" => "disableWhitelist", |
|
|
|
"inputs" => [%{"type" => "bool", "name" => "disable", "internalType" => "bool"}] |
|
|
|
"inputs" => [%{"type" => "bool", "name" => "disable", "internalType" => "bool"}], |
|
|
|
|
|
|
|
"method_id" => "49ba1b49" |
|
|
|
} |
|
|
|
} |
|
|
|
] == response |
|
|
|
] == response |
|
|
|
end |
|
|
|
end |
|
|
@ -1912,7 +1914,8 @@ defmodule BlockScoutWeb.API.V2.SmartContractControllerTest do |
|
|
|
"stateMutability" => "nonpayable", |
|
|
|
"stateMutability" => "nonpayable", |
|
|
|
"outputs" => [], |
|
|
|
"outputs" => [], |
|
|
|
"name" => "disableWhitelist", |
|
|
|
"name" => "disableWhitelist", |
|
|
|
"inputs" => [%{"type" => "bool", "name" => "disable", "internalType" => "bool"}] |
|
|
|
"inputs" => [%{"type" => "bool", "name" => "disable", "internalType" => "bool"}], |
|
|
|
|
|
|
|
"method_id" => "49ba1b49" |
|
|
|
} |
|
|
|
} |
|
|
|
] == response |
|
|
|
] == response |
|
|
|
end |
|
|
|
end |
|
|
|