Skip to main content
grasp.study
Back to course
Log in
Get started
Someone wanted to learn this too, so Grasp built them a personal learning path.
Create your own
Blockchain for Tokenized Money
ยท
Module 9
Implementing a Security Token
1
ERC-20 Security Tokens with AccessControl
Build a security token contract that inherits from ERC-20 and uses `AccessControl`.
2
Implementing Allowlist-Based Transfer Restrictions
Override the `_beforeTokenTransfer` hook to enforce transfer restrictions based on the allowlist.
3
Account Freeze/Unfreeze Function Development
Implement a function to allow a compliance administrator to freeze and unfreeze specific accounts.
4
Forced Token Transfer for Admins
Implement a forced transfer function for an administrator to move tokens for legal or recovery purposes.
5
Dividend Distribution with Pull-Over-Push for Enhanced Security
Design a dividend distribution model using the pull-over-push pattern to enhance security.
6
Secure Dividend Management with ReentrancyGuard
Implement `depositDividends` and `withdrawDividends` functions, secured with `ReentrancyGuard`.
Previous module
Security Token Design and Compliance
Next module
Testing the Security Token