|
@@ -50,22 +50,20 @@
|
|
|
<input id="bytecode" size="100" @bind="bytecode" name="bytecode" type="text" placeholder="Transaction address" @bind:event="oninput">
|
|
|
<br />
|
|
|
</p>*@
|
|
|
- <p>
|
|
|
- <select>
|
|
|
- @if (Blockchain.newData)
|
|
|
- {
|
|
|
- @if (Blockchain.loaded.Count > 0)
|
|
|
- {
|
|
|
- @foreach (var c in Blockchain.loaded[0].contracts.Values)
|
|
|
- {
|
|
|
+<p>
|
|
|
+ <select>
|
|
|
+ @if (Blockchain.loaded.Count > 0)
|
|
|
+ {
|
|
|
+ @foreach (var c in Blockchain.loaded[0].contracts.Values)
|
|
|
+ {
|
|
|
<option>
|
|
|
Bytecode: @c.ByteCode
|
|
|
</option>
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
- </select>
|
|
|
- </p>
|
|
|
+ }
|
|
|
+ </select>
|
|
|
+ @Blockchain.newData
|
|
|
+</p>
|
|
|
<p>@result</p>
|
|
|
|
|
|
@code
|