5 大佬们求助前端与智能合约交互时报错Uncaught Error: Invalid number of arguments to Solidity function是怎么回事呐

inpage.js:1 Uncaught Error: Invalid number of arguments to Solidity function at Object.InvalidNumberOfSolidityArgs (inpage.js:1) at u.validateArgs (inpage.js:1) at u.toPayload (inpage.js:1) at u.sendTransaction (inpage.js:1) at setVal (index.html:231) at HTMLButtonElement.onclick (index.html:38) InvalidNumberOfSolidityArgs @ inpage.js:1 u.validateArgs @ inpage.js:1 u.toPayload @ inpage.js:1 u.sendTransaction @ inpage.js:1 setVal @ index.html:231 onclick @ index.html:38

请先 登录 后评论

1 个回答

Alan
请先 登录 后评论
  • 1 关注
  • 0 收藏,2832 浏览
  • Ljx 提出于 2021-05-21 14:31