2018-06-22 14:13:01 +02:00
|
|
|
<html>
|
2018-07-07 00:55:30 +02:00
|
|
|
<head>
|
|
|
|
<title>E2E Test Dapp</title>
|
|
|
|
</head>
|
2018-06-22 14:13:01 +02:00
|
|
|
<body>
|
2018-07-07 00:55:30 +02:00
|
|
|
<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>
|
2018-07-24 19:24:13 +02:00
|
|
|
<div id="contractStatus" style="display: flex; font-size: 1rem;">
|
2018-08-14 17:04:39 +02:00
|
|
|
Not clicked
|
2018-07-24 19:24:13 +02:00
|
|
|
</div>
|
2018-07-07 00:55:30 +02:00
|
|
|
</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>
|
2019-05-14 20:14:07 +02:00
|
|
|
<button id="transferTokensWithoutGas">Transfer Tokens Without Gas</button>
|
|
|
|
<button id="approveTokensWithoutGas">Approve Tokens Without Gas</button>
|
2018-07-07 00:55:30 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-09-10 02:31:34 +02:00
|
|
|
<div style="display: flex; flex-flow: column;">
|
|
|
|
<div>Network: <div id="network"></div></div>
|
|
|
|
<div>ChainId: <div id="chainId"></div></div>
|
|
|
|
<div>Accounts: <div id="accounts"></div></div>
|
|
|
|
<div style="display: flex;">
|
|
|
|
</div>
|
2019-11-14 14:52:34 +01:00
|
|
|
<div style="display: flex; flex-flow: column;">
|
|
|
|
<div style="display: flex; font-size: 1.25rem;">Sign Typed Data</div>
|
|
|
|
<div style="display: flex;">
|
|
|
|
<button id="signTypedData">Sign</button>
|
|
|
|
<div>Sign Typed Data Result: <div id="signTypedDataResult"></div></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-07 00:55:30 +02:00
|
|
|
|
2018-06-22 14:13:01 +02:00
|
|
|
<script src="contract.js"></script>
|
2018-07-07 00:55:30 +02:00
|
|
|
</body>
|
|
|
|
|
2018-06-22 14:13:01 +02:00
|
|
|
</html>
|