We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// 3. 用staticCall尝试调用transfer转账10000 DAI,msg.sender为测试钱包地址,交易将失败 console.log("\n3. 用staticCall尝试调用transfer转账1 DAI,msg.sender为测试钱包地址") const tx2 = await contractDAI.transfer.staticCall("vitalik.eth", ethers.parseEther("10000"), {from: address}) console.log(交易会成功吗?:, tx)
交易会成功吗?:
console.log中的tx应该为tx2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
// 3. 用staticCall尝试调用transfer转账10000 DAI,msg.sender为测试钱包地址,交易将失败
console.log("\n3. 用staticCall尝试调用transfer转账1 DAI,msg.sender为测试钱包地址")
const tx2 = await contractDAI.transfer.staticCall("vitalik.eth", ethers.parseEther("10000"), {from: address})
console.log(
交易会成功吗?:
, tx)console.log中的tx应该为tx2
The text was updated successfully, but these errors were encountered: