aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/beta/contract-test/index.html
blob: 0d422ef201b4ed1ad3684df30b90ed2502d95737 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html>
<head>
  <title>E2E Test Dapp</title>
</head>
<body>
  <div style="display: flex; flex-flow: column;">
    <div style="display: flex; font-size: 1.25rem;">Contract</div>
    <div style="display: flex;">
      <button id="deployButton">Deploy Contract</button>
      <button id="depositButton">Deposit</button>
      <button id="withdrawButton">Withdraw</button>
    </div>
    <div id="contractStatus" style="display: flex; font-size: 1rem;">
      Not clicked
    </div>
  </div>
  <div style="display: flex; flex-flow: column;">
    <div style="display: flex; font-size: 1.25rem;">Send eth</div>
    <div style="display: flex;">
      <button id="sendButton">Send</button>
    </div>
  </div>
  <div style="display: flex; flex-flow: column;">
    <div style="display: flex; font-size: 1.25rem;">Send tokens</div>
    <div id="tokenAddress"></div>
    <div style="display: flex;">
      <button id="createToken">Create Token</button>
      <button id="transferTokens">Transfer Tokens</button>
      <button id="approveTokens">Approve Tokens</button>
    </div>
  </div>

<script src="contract.js"></script>
</body>

</html>