Skip to content

AtlantPlatform/atlant-tokens

Repository files navigation

ERC-1462: BaseSecurityToken

An extension to ERC-20 standard token that provides compliance with securities regulations and legal enforceability.

interface BaseSecurityToken /* is ERC-20 */ {
    // Checking functions
    function checkTransferAllowed (address from, address to, uint256 value) public view returns (byte);
    function checkTransferFromAllowed (address from, address to, uint256 value) public view returns (byte);
    function checkMintAllowed (address to, uint256 value) public view returns (byte);
    function checkBurnAllowed (address from, uint256 value) public view returns (byte);

    // Documentation functions
    function attachDocument(bytes32 _name, string _uri, bytes32 _contentHash) external;
    function lookupDocument(bytes32 _name) external view returns (string, bytes32);
}

Join the discussion!

Reference Implementation

Please refer to IBaseSecurityToken.sol and TokenPrototype.sol.

$ make lint
solhint "contracts/**/*.sol"

solium -d contracts/

No issues found.

About

Project tokens smart contracts implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •