public ContractInfo(TestApi.SmartContract sc) { Address = Base58Encoding.Encode(sc.Address); SourceCode = ConvUtils.FormatSrc(sc.SourceCode); HashState = sc.HashState; ByteCodeLen = sc.ByteCode.Length; Deployer = Base58Encoding.Encode(sc.Deployer); }
public ContractInfo(SmartContract sc) { Address = sc.Address; SourceCode = ConvUtils.FormatSrc(sc.SourceCode); HashState = sc.HashState; Method = sc.Method; Params = string.Join(", ", sc.Params); ByteCodeLen = sc.ByteCode.Length; }