Skip to content
New issue

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

[Typo] 31. ERC20 问题 #657

Closed
XdpCs opened this issue Mar 10, 2024 · 2 comments · Fixed by #658
Closed

[Typo] 31. ERC20 问题 #657

XdpCs opened this issue Mar 10, 2024 · 2 comments · Fixed by #658

Comments

@XdpCs
Copy link
Contributor

XdpCs commented Mar 10, 2024

image

是否需要加一个 授权转账额度 对应alllowance function
是否需要加一个 授权 对应approve function
ref: https://eips.ethereum.org/EIPS/eip-20

@XdpCs XdpCs changed the title [Typo] 31. ERC20 缺少allowance说明 [Typo] 31. ERC20 问题 Mar 10, 2024
@XdpCs
Copy link
Contributor Author

XdpCs commented Mar 10, 2024

image

这些函数的修饰方式 应该是public 是否是复制错误成了ierc20.sol的修饰方式

ref: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol, https://eips.ethereum.org/EIPS/eip-20

@XdpCs XdpCs mentioned this issue Mar 10, 2024
4 tasks
@XdpCs
Copy link
Contributor Author

XdpCs commented Mar 10, 2024

image

markdown 语法问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant