Skip to content

Commit 902bf5f

Browse files
committed
refactor: optimized the logic of account authorization and de-authorization of accounts
1 parent b08e99f commit 902bf5f

File tree

5 files changed

+297
-194
lines changed

5 files changed

+297
-194
lines changed

example/basic-dapp/index.html

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
<button id="connect" disabled="true">Connect
5151
Wallet
5252
</button>
53-
<button id="logout" disabled="true">
54-
Logout
53+
<button id="Deauthorize" disabled="true">
54+
Deauthorize
5555
</button>
5656
<footer>
5757
<p>Address: <span id="address">N/A</span></p>
@@ -90,6 +90,22 @@
9090
Result: <span id="get_cfx_result">N/A</span>
9191
</footer>
9292
</article>
93+
94+
<article>
95+
<header>
96+
使用AnyWeb网关的合约调用示例
97+
</header>
98+
<form>
99+
<label>test</label>
100+
</form>
101+
<button id="gateway_test" disabled=
102+
"true">Gateway Test
103+
</button>
104+
<footer>
105+
Result: <span id="gateway_test_result">N/A</span>
106+
</footer>
107+
</article>
108+
93109
<article>
94110
<header>
95111
Approve (cUSDT)

0 commit comments

Comments
 (0)