UNPKG

@flarenetwork/ftso_price_provider_kick_off_package

Version:

Kick of package for FTSO price providers. Includes user facing interfaces and mock contracts to test price provider pipeline.

138 lines (127 loc) 5.42 kB
{ "name": "@flarenetwork/ftso_price_provider_kick_off_package", "version": "0.2.2", "description": "Kick of package for FTSO price providers. Includes user facing interfaces and mock contracts to test price provider pipeline.", "main": "demo_package_main.js", "repository": { "type": "git", "url": "git+https://gitlab.com/flarenetwork/flare_smart_contracts.git" }, "keywords": ["flare", "flarenetwork", "songbird", "smart contracts", "defi", "price provider"], "author": "Flare SC team", "license": "MIT", "directories": {}, "files": [ "hardhat.config.ts", "hardhatSetup.config.ts", "tsconfig.json", "yarn.lock", "test-1020-accounts.json", "CHANGELOG.md", "scripts/flatten.sh", "scripts/flatten-fix.ts", "scripts/cli.js", "scripts/python_hashes.py", "deployment/scripts/deploy-mock-price-submitter.ts", "deployment/scripts/mock-price-provider.ts", "_temp_fix test/types/@openzeppelin/test-helpers.d.ts", "_temp_fix test/types/@openzeppelin/index.d.ts", "test/utils/test-helpers.ts", "test/utils/constants.ts", "test/unit/ftso/priceProviderMockContracts/priceProviderMockContracts.ts", "docs/specs/PriceProviderPseudoCode.txt", "docs/specs/PriceProvider.md", "flattened/contracts/ftso/priceProviderMockContracts/priceProviderMockContracts.sol", "contracts/ftso/priceProviderMockContracts/priceProviderMockContracts.sol", "contracts/ftso/priceProviderMockContracts/priceProviderMockFtso.sol", "contracts/genesis/interface/IFtsoGenesis.sol", "contracts/genesis/interface/IFtsoManagerGenesis.sol", "contracts/genesis/interface/IFtsoRegistryGenesis.sol", "contracts/userInterfaces/IFtso.sol", "contracts/userInterfaces/IGovernanceVotePower.sol", "contracts/userInterfaces/IVPContractEvents.sol", "contracts/userInterfaces/IVPToken.sol", "contracts/token/interface/IICleanable.sol", "contracts/token/interface/IIVPContract.sol", "contracts/token/interface/IIGovernanceVotePower.sol", "contracts/token/interface/IIVPToken.sol", "contracts/ftso/interface/IIFtso.sol", "contracts/userInterfaces/IFtsoRegistry.sol", "contracts/userInterfaces/IVoterWhitelister.sol", "contracts/userInterfaces/IPriceSubmitter.sol", "contracts/userInterfaces/IFtsoManager.sol", "contracts/governance/implementation/GovernedBase.sol", "contracts/governance/implementation/Governed.sol", "contracts/addressUpdater/implementation/AddressUpdatable.sol", "contracts/addressUpdater/interface/IIAddressUpdatable.sol" ], "scripts": { "---------TEST---SCRIPTS": "", "test": "yarn hardhat test", "----------HH-NODE--SCRIPTS": "", "hh_node": "yarn c && yarn concurrently \"yarn hardhat node > nul\" \"wait-on http://127.0.0.1:8545 && env CHAIN_CONFIG=scdev yarn --silent hardhat run ./deployment/scripts/deploy-mock-price-submitter.ts --network localhost\"", "starter": "env CHAIN_CONFIG=scdev yarn --silent hardhat run ./deployment/scripts/mock-price-provider.ts --network localhost", "---------FLATTEN---SCRIPTS": "", "flatten": "./scripts/flatten.sh contracts/ftso/priceProviderMockContracts/priceProviderMockContracts.sol", "---------COMPILE---SCRIPTS": "", "compile": "yarn hardhat compile && yarn typechain-ethers-v5 && yarn typechain-truffle-v5", "c": "yarn compile", "typechain-ethers-v5": "yarn typechain --target=ethers-v5 --out-dir typechain \"artifacts/!(build-info)/**/+([a-zA-Z0-9_]).json\" 1> nul", "typechain-truffle-v5": "yarn typechain --target=truffle-v5 --out-dir typechain-truffle \"artifacts/!(build-info)/**/+([a-zA-Z0-9_]).json\" 1> nul", "self-update": "npm update @flarenetwork/ftso_price_provider_kick_off_package --save-dev" }, "bin": { "flare-cli": "scripts/cli.js" }, "dependencies": { "@openzeppelin/contracts": "3.4.0", "@tenderly/hardhat-tenderly": "1.0.12", "@typescript-eslint/eslint-plugin": "4.28.3", "@typescript-eslint/parser": "4.28.3", "cli-progress": "3.9.0", "csv": "5.5.0", "dotenv": "8.2.0", "eslint": "7.30.0", "ethereum-tx-decoder": "3.0.0", "got": "11.8.2", "hardhat": "2.3.0", "solhint": "3.3.2", "solidity-coverage": "0.7.16" }, "devDependencies": { "@gnosis.pm/mock-contract": "4.0.0", "@nomiclabs/hardhat-ethers": "2.0.2", "@nomiclabs/hardhat-truffle5": "2.0.0", "@nomiclabs/hardhat-waffle": "2.0.1", "@nomiclabs/hardhat-web3": "2.0.0", "@openzeppelin/contracts": "3.4.0", "@openzeppelin/test-helpers": "0.5.11", "@typechain/ethers-v5": "7.0.0", "@typechain/hardhat": "2.0.1", "@typechain/truffle-v5": "5.0.0", "@typechain/web3-v1": "3.0.0", "@types/chai": "4.2.18", "@types/mocha": "8.2.2", "@types/node": "15.12.1", "chai": "4.3.4", "concurrently": "6.2.0", "ethereum-waffle": "3.3.0", "ethereumjs-wallet": "1.0.1", "ethers": "5.3.0", "hardhat-contract-sizer": "2.0.3", "hardhat-deploy": "0.7.10", "hardhat-gas-reporter": "1.0.4", "intercept-stdout": "0.1.2", "openpgp": "5.0.0", "pascal-case": "3.1.2", "random-number-csprng": "1.0.2", "ripple-lib": "1.9.7", "truffle-assertions": "0.9.2", "ts-generator": "0.1.1", "ts-node": "10.0.0", "typechain": "5.0.0", "typescript": "4.3.2", "wait-on": "5.3.0", "yarn-audit-fix": "6.2.2" } }