cec claim

This commit is contained in:
yuyongdong 2024-09-06 13:38:41 +08:00
parent efbda5e2a0
commit 75a3064dc9
2 changed files with 5 additions and 2 deletions

View File

@ -370,6 +370,8 @@ export class BlockChain {
/**
* CEC Claim登录
*/
async ClaimLogin() {}
async ClaimChangLogout() {
await this.eoaWallet.logout()
}
}

View File

@ -494,8 +494,9 @@ const connectWallet = async () => {
}
//
const disconnectWallet = () => {
const disconnectWallet = async () => {
console.log('------')
await new BlockChain().market.ClaimChangLogout()
}
//