Skip to content

Commit

Permalink
Add fixed contract deployment result
Browse files Browse the repository at this point in the history
  • Loading branch information
GTC6244 committed Dec 29, 2023
1 parent af87251 commit c85e0f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions NodeView/Pages/Explorer/StakingHistory.razor
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@

System.Text.StringBuilder sb = new System.Text.StringBuilder();
try {

if (function_input == "0x60806040") {
return ("Contract Deployment", "");
}

Nethereum.ABI.Model.FunctionABI function = contractBuilder.GetFunctionAbiBySignature(function_input);
List<Nethereum.ABI.FunctionEncoding.ParameterOutput> data = function.DecodeInputDataToDefault(input);
foreach (var item in data)
Expand Down

0 comments on commit c85e0f9

Please sign in to comment.