mirror of
https://github.com/status-im/contracts.git
synced 2025-02-24 04:28:51 +00:00
- Can call constant/view/pure functions - Shows form fields for send methods - Shows parameters for contract functions - Able to see contract sourcecode - Able to see accounts
52 lines
1.9 KiB
HTML
52 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Embark - SimpleStorage Demo</title>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js"></script>
|
|
<script src="js/dapp.js"></script>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
</head>
|
|
<body class="container-fluid">
|
|
<h1>IdentityFactory <small>contract</small></h1>
|
|
<p>Press F12 to open the dev console</p>
|
|
<p>Remix: <a href="https://remix.ethereum.org">http://remix.ethereum.org</a></p>
|
|
|
|
<ul class="nav nav-tabs" role="tablist" id="myTabs">
|
|
<li role="presentation" class="active"><a href="#deploy" role="tab" data-toggle="tab">Instance</a></li>
|
|
<li role="presentation"><a href="#functions" role="tab" data-toggle="tab">Functions</a></li>
|
|
<li role="presentation"><a href="#contract" role="tab" data-toggle="tab">Contract</a></li>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<div role="tabpanel" class="tab-pane active" id="deploy">
|
|
<h2>Deployment / Utils</h2>
|
|
<h3>Get Accounts</h3>
|
|
<div class="scenario">
|
|
<div id="getAccounts" class="code">
|
|
await web3.eth.getAccounts(); <button>⏎</button>
|
|
</div>
|
|
<p class="note"><tt>accounts</tt> variable is available in the console now</p>
|
|
</div>
|
|
<div id="deploymentContainer">
|
|
|
|
</div>
|
|
<h3>Available instances:</h3>
|
|
<ul>
|
|
<li>0x00</li>
|
|
<li>0x00</li>
|
|
<li>0x00</li>
|
|
</ul>
|
|
</div>
|
|
<div role="tabpanel" class="tab-pane" id="functions">
|
|
<h2>Functions</h2>
|
|
</div>
|
|
<div role="tabpanel" class="tab-pane" id="contract">
|
|
<h3 id="filename"></h3>
|
|
<small id="url"></small>
|
|
<pre><code id="sourcecode" data-language="js"></code></pre>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|