├── .circleci └── config.yml ├── .gitignore ├── .soliumignore ├── .soliumrc.json ├── AUDIT.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.txt ├── README.md ├── artifacts ├── README.md ├── compiled │ └── v1 │ │ ├── AddressUtils.json │ │ ├── CvcEscrow.json │ │ ├── CvcEscrowInterface.json │ │ ├── CvcMigrator.json │ │ ├── CvcOntology.json │ │ ├── CvcOntologyInterface.json │ │ ├── CvcPricing.json │ │ ├── CvcPricingInterface.json │ │ ├── CvcProxy.json │ │ ├── CvcToken.json │ │ ├── CvcValidatorRegistry.json │ │ ├── CvcValidatorRegistryInterface.json │ │ ├── ERC20.json │ │ ├── ERC20Basic.json │ │ ├── EternalStorage.json │ │ ├── ImplementationStorage.json │ │ ├── Initializable.json │ │ ├── Migrations.json │ │ ├── Ownable.json │ │ ├── Pausable.json │ │ ├── SafeMath.json │ │ ├── StandardToken.json │ │ ├── UpgradeAgent.json │ │ └── UpgradeableToken.json └── deployed │ └── .gitkeep ├── audit-ci.json ├── constants.js ├── contracts ├── Migrations.sol ├── README.md ├── escrow │ ├── CvcEscrow.sol │ └── CvcEscrowInterface.sol ├── idv │ ├── CvcValidatorRegistry.sol │ └── CvcValidatorRegistryInterface.sol ├── ontology │ ├── CvcOntology.sol │ └── CvcOntologyInterface.sol ├── pricing │ ├── CvcPricing.sol │ └── CvcPricingInterface.sol └── upgradeability │ ├── CvcMigrator.sol │ ├── CvcProxy.sol │ ├── EternalStorage.sol │ ├── ImplementationStorage.sol │ ├── Initializable.sol │ ├── Ownable.sol │ └── Pausable.sol ├── docker-compose.yml ├── migrations ├── 1_initial_migration.js ├── 2_deploy_contracts_v1.js ├── 3_mint_cvc_tokens.js ├── 4_default_ontology_records.js ├── 5_default_prices.js ├── README.md └── utils │ ├── compiledContractHelper.js │ ├── deployedContractHelper.js │ └── index.js ├── package.json ├── scripts ├── downloadArtifacts.sh ├── uploadArtifacts.sh └── withTunnel.sh ├── test ├── TestCvcEscrow.js ├── TestCvcMigrator.js ├── TestCvcOntology.js ├── TestCvcPricing.js ├── TestCvcProxy.js ├── TestCvcValidatorRegistry.js ├── helpers │ └── encodeCall.js └── stubs │ ├── ClashingImplementation.sol │ ├── DummyImplementation.sol │ ├── OntologyAccessor.sol │ ├── Ownable.sol │ ├── PricingAccessor.sol │ ├── TestProxyImplementationV0.sol │ └── TestProxyImplementationV1.sol └── truffle.js /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/.gitignore -------------------------------------------------------------------------------- /.soliumignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.soliumrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/.soliumrc.json -------------------------------------------------------------------------------- /AUDIT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/AUDIT.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/README.md -------------------------------------------------------------------------------- /artifacts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/README.md -------------------------------------------------------------------------------- /artifacts/compiled/v1/AddressUtils.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/AddressUtils.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/CvcEscrow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/CvcEscrow.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/CvcEscrowInterface.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/CvcEscrowInterface.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/CvcMigrator.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/CvcMigrator.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/CvcOntology.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/CvcOntology.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/CvcOntologyInterface.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/CvcOntologyInterface.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/CvcPricing.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/CvcPricing.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/CvcPricingInterface.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/CvcPricingInterface.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/CvcProxy.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/CvcProxy.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/CvcToken.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/CvcToken.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/CvcValidatorRegistry.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/CvcValidatorRegistry.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/CvcValidatorRegistryInterface.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/CvcValidatorRegistryInterface.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/ERC20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/ERC20.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/ERC20Basic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/ERC20Basic.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/EternalStorage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/EternalStorage.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/ImplementationStorage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/ImplementationStorage.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/Initializable.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/Initializable.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/Migrations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/Migrations.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/Ownable.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/Ownable.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/Pausable.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/Pausable.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/SafeMath.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/SafeMath.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/StandardToken.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/StandardToken.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/UpgradeAgent.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/UpgradeAgent.json -------------------------------------------------------------------------------- /artifacts/compiled/v1/UpgradeableToken.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/artifacts/compiled/v1/UpgradeableToken.json -------------------------------------------------------------------------------- /artifacts/deployed/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /audit-ci.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/audit-ci.json -------------------------------------------------------------------------------- /constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/constants.js -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /contracts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/README.md -------------------------------------------------------------------------------- /contracts/escrow/CvcEscrow.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/escrow/CvcEscrow.sol -------------------------------------------------------------------------------- /contracts/escrow/CvcEscrowInterface.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/escrow/CvcEscrowInterface.sol -------------------------------------------------------------------------------- /contracts/idv/CvcValidatorRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/idv/CvcValidatorRegistry.sol -------------------------------------------------------------------------------- /contracts/idv/CvcValidatorRegistryInterface.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/idv/CvcValidatorRegistryInterface.sol -------------------------------------------------------------------------------- /contracts/ontology/CvcOntology.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/ontology/CvcOntology.sol -------------------------------------------------------------------------------- /contracts/ontology/CvcOntologyInterface.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/ontology/CvcOntologyInterface.sol -------------------------------------------------------------------------------- /contracts/pricing/CvcPricing.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/pricing/CvcPricing.sol -------------------------------------------------------------------------------- /contracts/pricing/CvcPricingInterface.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/pricing/CvcPricingInterface.sol -------------------------------------------------------------------------------- /contracts/upgradeability/CvcMigrator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/upgradeability/CvcMigrator.sol -------------------------------------------------------------------------------- /contracts/upgradeability/CvcProxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/upgradeability/CvcProxy.sol -------------------------------------------------------------------------------- /contracts/upgradeability/EternalStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/upgradeability/EternalStorage.sol -------------------------------------------------------------------------------- /contracts/upgradeability/ImplementationStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/upgradeability/ImplementationStorage.sol -------------------------------------------------------------------------------- /contracts/upgradeability/Initializable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/upgradeability/Initializable.sol -------------------------------------------------------------------------------- /contracts/upgradeability/Ownable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/upgradeability/Ownable.sol -------------------------------------------------------------------------------- /contracts/upgradeability/Pausable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/contracts/upgradeability/Pausable.sol -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/2_deploy_contracts_v1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/migrations/2_deploy_contracts_v1.js -------------------------------------------------------------------------------- /migrations/3_mint_cvc_tokens.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/migrations/3_mint_cvc_tokens.js -------------------------------------------------------------------------------- /migrations/4_default_ontology_records.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/migrations/4_default_ontology_records.js -------------------------------------------------------------------------------- /migrations/5_default_prices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/migrations/5_default_prices.js -------------------------------------------------------------------------------- /migrations/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/migrations/README.md -------------------------------------------------------------------------------- /migrations/utils/compiledContractHelper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/migrations/utils/compiledContractHelper.js -------------------------------------------------------------------------------- /migrations/utils/deployedContractHelper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/migrations/utils/deployedContractHelper.js -------------------------------------------------------------------------------- /migrations/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/migrations/utils/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/package.json -------------------------------------------------------------------------------- /scripts/downloadArtifacts.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/scripts/downloadArtifacts.sh -------------------------------------------------------------------------------- /scripts/uploadArtifacts.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/scripts/uploadArtifacts.sh -------------------------------------------------------------------------------- /scripts/withTunnel.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/scripts/withTunnel.sh -------------------------------------------------------------------------------- /test/TestCvcEscrow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/TestCvcEscrow.js -------------------------------------------------------------------------------- /test/TestCvcMigrator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/TestCvcMigrator.js -------------------------------------------------------------------------------- /test/TestCvcOntology.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/TestCvcOntology.js -------------------------------------------------------------------------------- /test/TestCvcPricing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/TestCvcPricing.js -------------------------------------------------------------------------------- /test/TestCvcProxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/TestCvcProxy.js -------------------------------------------------------------------------------- /test/TestCvcValidatorRegistry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/TestCvcValidatorRegistry.js -------------------------------------------------------------------------------- /test/helpers/encodeCall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/helpers/encodeCall.js -------------------------------------------------------------------------------- /test/stubs/ClashingImplementation.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/stubs/ClashingImplementation.sol -------------------------------------------------------------------------------- /test/stubs/DummyImplementation.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/stubs/DummyImplementation.sol -------------------------------------------------------------------------------- /test/stubs/OntologyAccessor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/stubs/OntologyAccessor.sol -------------------------------------------------------------------------------- /test/stubs/Ownable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/stubs/Ownable.sol -------------------------------------------------------------------------------- /test/stubs/PricingAccessor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/stubs/PricingAccessor.sol -------------------------------------------------------------------------------- /test/stubs/TestProxyImplementationV0.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/stubs/TestProxyImplementationV0.sol -------------------------------------------------------------------------------- /test/stubs/TestProxyImplementationV1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/test/stubs/TestProxyImplementationV1.sol -------------------------------------------------------------------------------- /truffle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/identity-com/smart-contracts/HEAD/truffle.js --------------------------------------------------------------------------------