Skip to content

Simple Restricted Funds Distribution Token (ERC-1404 + ERC-2222)

License

Notifications You must be signed in to change notification settings

lexDAO/Security-Token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

Security Token Codebase

Simple Restricted Funds Distribution Token (ERC-1404 + ERC-2222)

Mainnet Factory Deployment 🏭 Fee: 0.001 ETH (input into top payable field on etherscan)

How to use whitelisting

Whitelists are made up of series of addresses.

To create a whitelist, assign a series of addresses with a whitelist number.

function addToWhitelist(address[] memory addressToAdd, uint8 whitelist) public onlyAdministrator {

To add more addresses to the whitelist, call function with new addresses alongside the specified whitelist name.

With every new whitelist number is a new set of addresses.

How to control whitelist interactions

function updateOutboundWhitelistEnabled(uint8 sourceWhitelist, uint8 destinationWhitelist, bool newEnabledValue) public onlyAdministrator {

Call this function to enable/disable the directional interaction of various addresses from certain assigned whitelists.

About

Simple Restricted Funds Distribution Token (ERC-1404 + ERC-2222)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published