bedrin_smart_contracts:我在以太坊智能合约中的实验-源码

上传者: 42128315 | 上传时间: 2021-09-14 17:33:06 | 文件大小: 452KB | 文件类型: ZIP
贝德林智能合约 在这里,我可以尝试以太坊合约。 概述 要求 nodeJS v10.15.0或更高版本 npm 6.4.1或更高版本 松露v5.1.48(核心:5.1.48)或更高版本 安装 npm i安装所有依赖项 建立合同 npm run build建立所有合同 运行测试 npm run test -启动所有测试 npm run test +fast没有重建合同的情况下开始测试 npm run test test/.js仅对一个文件运行测试 npm run test +fast test/.js仅对一个文件运行测试,而无需重建合同 运行覆盖 npm run coverage -检查测试覆盖的代码百分比 制作拼合合同文件 npm run flatten flatten-使用所有合同制作Flattened.sol文件 npm run flatten c

文件下载

资源详情

[{"title":"( 38 个子文件 452KB ) bedrin_smart_contracts:我在以太坊智能合约中的实验-源码","children":[{"title":"bedrin_smart_contracts-main","children":[{"title":".soliumrc.json <span style='color:#111;'> 82B </span>","children":null,"spread":false},{"title":".eslintrc <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"migrations","children":[{"title":"1_initial_migration.js <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"2_deploy_contracts.js <span style='color:#111;'> 394B </span>","children":null,"spread":false}],"spread":true},{"title":".babelrc <span style='color:#111;'> 29B </span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"bytecode_hash_generator.js <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"build.sh <span style='color:#111;'> 332B </span>","children":null,"spread":false},{"title":"deploy.sh <span style='color:#111;'> 487B </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"generate_truffle_config.sh <span style='color:#111;'> 552B </span>","children":null,"spread":false}],"spread":true},{"title":"flatten.sh <span style='color:#111;'> 566B </span>","children":null,"spread":false},{"title":"coverage.sh <span style='color:#111;'> 677B </span>","children":null,"spread":false},{"title":"test.sh <span style='color:#111;'> 543B </span>","children":null,"spread":false},{"title":"verify.sh <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"third_party_build.sh <span style='color:#111;'> 453B </span>","children":null,"spread":false}],"spread":true},{"title":"truffle-config-template.js <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"contracts","children":[{"title":"cashable","children":[{"title":"utils","children":[{"title":"FundsEvacuator.sol <span style='color:#111;'> 1014B </span>","children":null,"spread":false}],"spread":true},{"title":"CashMachine.sol <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"CashMachineFactory.sol <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"CashLib.sol <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"interfaces","children":[{"title":"ILandingPoolAddressesProvider.sol <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"IStrategy.sol <span style='color:#111;'> 87B </span>","children":null,"spread":false},{"title":"ILendingPool.sol <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"CashableAaveStrategy.sol <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"ForFlattened.sol <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"Migrations.sol <span style='color:#111;'> 457B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"utils","children":[{"title":"common.js <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"cashable","children":[{"title":"CashMachineFactory.test.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"CashMachine.test.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"CashAaveStrategy.test.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".solcover.js <span style='color:#111;'> 244B </span>","children":null,"spread":false},{"title":".prettierrc <span style='color:#111;'> 290B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":".soliumignore <span style='color:#111;'> 154B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 1.91MB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明