├── .circleci └── config.yml ├── .gitignore ├── LICENSE.txt ├── README.md ├── contracts ├── Migrations.sol ├── RegulatedToken.sol ├── RegulatorService.sol ├── ServiceRegistry.sol ├── TestRegulatedToken.sol ├── TestRegulatorService.sol └── TokenRegulatorService.sol ├── docs └── images │ ├── component_diagram.png │ ├── permissions.png │ └── upgradability.png ├── migrations ├── 1_initial_migration.js ├── 2_deploy_contracts.js └── 3_deploy_test_tokens.js ├── package.json ├── scripts └── mint_test_tokens.js ├── test ├── RegulatedToken.js ├── ServiceRegistry.js ├── TestRegulatedToken.js ├── TestRegulatorService.js ├── TokenRegulatorService.js ├── helpers.js └── helpers │ ├── MockRegulatedToken.sol │ └── MockRegulatorService.sol ├── truffle.js └── yarn.lock /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | *.log 4 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/README.md -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /contracts/RegulatedToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/contracts/RegulatedToken.sol -------------------------------------------------------------------------------- /contracts/RegulatorService.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/contracts/RegulatorService.sol -------------------------------------------------------------------------------- /contracts/ServiceRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/contracts/ServiceRegistry.sol -------------------------------------------------------------------------------- /contracts/TestRegulatedToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/contracts/TestRegulatedToken.sol -------------------------------------------------------------------------------- /contracts/TestRegulatorService.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/contracts/TestRegulatorService.sol -------------------------------------------------------------------------------- /contracts/TokenRegulatorService.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/contracts/TokenRegulatorService.sol -------------------------------------------------------------------------------- /docs/images/component_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/docs/images/component_diagram.png -------------------------------------------------------------------------------- /docs/images/permissions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/docs/images/permissions.png -------------------------------------------------------------------------------- /docs/images/upgradability.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/docs/images/upgradability.png -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/2_deploy_contracts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/migrations/2_deploy_contracts.js -------------------------------------------------------------------------------- /migrations/3_deploy_test_tokens.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/migrations/3_deploy_test_tokens.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/package.json -------------------------------------------------------------------------------- /scripts/mint_test_tokens.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/scripts/mint_test_tokens.js -------------------------------------------------------------------------------- /test/RegulatedToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/test/RegulatedToken.js -------------------------------------------------------------------------------- /test/ServiceRegistry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/test/ServiceRegistry.js -------------------------------------------------------------------------------- /test/TestRegulatedToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/test/TestRegulatedToken.js -------------------------------------------------------------------------------- /test/TestRegulatorService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/test/TestRegulatorService.js -------------------------------------------------------------------------------- /test/TokenRegulatorService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/test/TokenRegulatorService.js -------------------------------------------------------------------------------- /test/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/test/helpers.js -------------------------------------------------------------------------------- /test/helpers/MockRegulatedToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/test/helpers/MockRegulatedToken.sol -------------------------------------------------------------------------------- /test/helpers/MockRegulatorService.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/test/helpers/MockRegulatorService.sol -------------------------------------------------------------------------------- /truffle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/truffle.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harborhq/r-token/HEAD/yarn.lock --------------------------------------------------------------------------------