├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── custom.md │ └── feature_request.md └── workflows │ └── codeql.yml ├── .gitignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── contracts ├── Governance.sol ├── MultiSigWallet.sol ├── QPiToken.sol ├── StableValueMechanism.sol ├── UpgradableProxy.sol ├── mainnet │ └── PiCoinStable.js └── testnet │ └── PiCoinStable.js ├── docs ├── API.md ├── architecture.md ├── code_structure.md ├── developer_guide.md ├── quantumAI_integration.md ├── security_audit.md └── user_guide.md ├── examples ├── dappExample │ ├── app.js │ ├── index.html │ └── styles.css └── walletExample │ ├── app.js │ ├── index.html │ └── styles.css ├── scripts ├── audit.js ├── deploy.js ├── generateKeys.js ├── monitor.js └── setup.js ├── src ├── constants.py ├── main │ ├── config.js │ ├── index.js │ ├── models │ │ ├── governanceModel.js │ │ ├── transactionModel.js │ │ └── userModel.js │ ├── services │ │ ├── governanceService.js │ │ ├── oracleService.js │ │ └── transactionService.js │ └── utils │ │ ├── cryptoUtils.js │ │ ├── logger.js │ │ └── mathUtils.js ├── quantum │ ├── quantumAlgorithms.js │ ├── quantumKeyDistribution.js │ ├── quantumRandomness.js │ └── quantumSecurity.js ├── quantumAI │ ├── config.js │ ├── dynamicPricing.js │ ├── index.js │ ├── marketAnalysis.js │ └── utils.js ├── services │ ├── oracleService.js │ └── transactionService.js └── tests │ ├── integration │ ├── api.test.js │ ├── endToEnd.test.js │ └── quantumAI.test.js │ └── unit │ ├── QPiToken.test.js │ ├── StableValueMechanism.test.js │ ├── dynamicPricing.test.js │ ├── governance.test.js │ ├── marketAnalysis.test.js │ └── multiSigWallet.test.js └── tools ├── analysis ├── mythril-config.json └── slither-config.yaml ├── build └── build.js ├── formatters └── .prettierrc └── linters ├── .eslintrc.json └── .solhint.json /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/custom.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/.github/ISSUE_TEMPLATE/custom.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/README.md -------------------------------------------------------------------------------- /contracts/Governance.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/contracts/Governance.sol -------------------------------------------------------------------------------- /contracts/MultiSigWallet.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/contracts/MultiSigWallet.sol -------------------------------------------------------------------------------- /contracts/QPiToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/contracts/QPiToken.sol -------------------------------------------------------------------------------- /contracts/StableValueMechanism.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/contracts/StableValueMechanism.sol -------------------------------------------------------------------------------- /contracts/UpgradableProxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/contracts/UpgradableProxy.sol -------------------------------------------------------------------------------- /contracts/mainnet/PiCoinStable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/contracts/mainnet/PiCoinStable.js -------------------------------------------------------------------------------- /contracts/testnet/PiCoinStable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/contracts/testnet/PiCoinStable.js -------------------------------------------------------------------------------- /docs/API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/docs/API.md -------------------------------------------------------------------------------- /docs/architecture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/docs/architecture.md -------------------------------------------------------------------------------- /docs/code_structure.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/docs/code_structure.md -------------------------------------------------------------------------------- /docs/developer_guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/docs/developer_guide.md -------------------------------------------------------------------------------- /docs/quantumAI_integration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/docs/quantumAI_integration.md -------------------------------------------------------------------------------- /docs/security_audit.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/docs/security_audit.md -------------------------------------------------------------------------------- /docs/user_guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/docs/user_guide.md -------------------------------------------------------------------------------- /examples/dappExample/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/examples/dappExample/app.js -------------------------------------------------------------------------------- /examples/dappExample/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/examples/dappExample/index.html -------------------------------------------------------------------------------- /examples/dappExample/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/examples/dappExample/styles.css -------------------------------------------------------------------------------- /examples/walletExample/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/examples/walletExample/app.js -------------------------------------------------------------------------------- /examples/walletExample/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/examples/walletExample/index.html -------------------------------------------------------------------------------- /examples/walletExample/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/examples/walletExample/styles.css -------------------------------------------------------------------------------- /scripts/audit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/scripts/audit.js -------------------------------------------------------------------------------- /scripts/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/scripts/deploy.js -------------------------------------------------------------------------------- /scripts/generateKeys.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/scripts/generateKeys.js -------------------------------------------------------------------------------- /scripts/monitor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/scripts/monitor.js -------------------------------------------------------------------------------- /scripts/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/scripts/setup.js -------------------------------------------------------------------------------- /src/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/constants.py -------------------------------------------------------------------------------- /src/main/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/main/config.js -------------------------------------------------------------------------------- /src/main/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/main/index.js -------------------------------------------------------------------------------- /src/main/models/governanceModel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/main/models/governanceModel.js -------------------------------------------------------------------------------- /src/main/models/transactionModel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/main/models/transactionModel.js -------------------------------------------------------------------------------- /src/main/models/userModel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/main/models/userModel.js -------------------------------------------------------------------------------- /src/main/services/governanceService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/main/services/governanceService.js -------------------------------------------------------------------------------- /src/main/services/oracleService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/main/services/oracleService.js -------------------------------------------------------------------------------- /src/main/services/transactionService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/main/services/transactionService.js -------------------------------------------------------------------------------- /src/main/utils/cryptoUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/main/utils/cryptoUtils.js -------------------------------------------------------------------------------- /src/main/utils/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/main/utils/logger.js -------------------------------------------------------------------------------- /src/main/utils/mathUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/main/utils/mathUtils.js -------------------------------------------------------------------------------- /src/quantum/quantumAlgorithms.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/quantum/quantumAlgorithms.js -------------------------------------------------------------------------------- /src/quantum/quantumKeyDistribution.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/quantum/quantumKeyDistribution.js -------------------------------------------------------------------------------- /src/quantum/quantumRandomness.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/quantum/quantumRandomness.js -------------------------------------------------------------------------------- /src/quantum/quantumSecurity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/quantum/quantumSecurity.js -------------------------------------------------------------------------------- /src/quantumAI/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/quantumAI/config.js -------------------------------------------------------------------------------- /src/quantumAI/dynamicPricing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/quantumAI/dynamicPricing.js -------------------------------------------------------------------------------- /src/quantumAI/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/quantumAI/index.js -------------------------------------------------------------------------------- /src/quantumAI/marketAnalysis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/quantumAI/marketAnalysis.js -------------------------------------------------------------------------------- /src/quantumAI/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/quantumAI/utils.js -------------------------------------------------------------------------------- /src/services/oracleService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/services/oracleService.js -------------------------------------------------------------------------------- /src/services/transactionService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/services/transactionService.js -------------------------------------------------------------------------------- /src/tests/integration/api.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/tests/integration/api.test.js -------------------------------------------------------------------------------- /src/tests/integration/endToEnd.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/tests/integration/endToEnd.test.js -------------------------------------------------------------------------------- /src/tests/integration/quantumAI.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/tests/integration/quantumAI.test.js -------------------------------------------------------------------------------- /src/tests/unit/QPiToken.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/tests/unit/QPiToken.test.js -------------------------------------------------------------------------------- /src/tests/unit/StableValueMechanism.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/tests/unit/StableValueMechanism.test.js -------------------------------------------------------------------------------- /src/tests/unit/dynamicPricing.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/tests/unit/dynamicPricing.test.js -------------------------------------------------------------------------------- /src/tests/unit/governance.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/tests/unit/governance.test.js -------------------------------------------------------------------------------- /src/tests/unit/marketAnalysis.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/tests/unit/marketAnalysis.test.js -------------------------------------------------------------------------------- /src/tests/unit/multiSigWallet.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/src/tests/unit/multiSigWallet.test.js -------------------------------------------------------------------------------- /tools/analysis/mythril-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/tools/analysis/mythril-config.json -------------------------------------------------------------------------------- /tools/analysis/slither-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/tools/analysis/slither-config.yaml -------------------------------------------------------------------------------- /tools/build/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/tools/build/build.js -------------------------------------------------------------------------------- /tools/formatters/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/tools/formatters/.prettierrc -------------------------------------------------------------------------------- /tools/linters/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/tools/linters/.eslintrc.json -------------------------------------------------------------------------------- /tools/linters/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KOSASIH/QPi-Stablecoin/HEAD/tools/linters/.solhint.json --------------------------------------------------------------------------------