Skip to content
Permalink
Browse files

Improvements after Zeppelin Solutions audit

  • Loading branch information
kornel-kedzierski committed Jan 8, 2018
1 parent 75edd65 commit c02c083173fee08fb6e8e20ff854e5fbbbe9ed55
Showing with 12,855 additions and 150 deletions.
  1. +2 −0 .gitignore
  2. +9 −0 .solcover.js
  3. +17 −0 README.md
  4. +4,427 −0 build/contracts/MerchantSubscription.json
  5. +821 −0 build/contracts/Migrations.json
  6. +1,347 −0 build/contracts/SafeMath.json
  7. +89 −0 contracts/MerchantSubscription.sol
  8. +23 −0 contracts/Migrations.sol
  9. +1 −0 coverage.json
  10. +213 −0 coverage/base.css
  11. +332 −0 coverage/contracts/MerchantSubscription.sol.html
  12. +93 −0 coverage/contracts/index.html
  13. +93 −0 coverage/index.html
  14. +213 −0 coverage/lcov-report/base.css
  15. +332 −0 coverage/lcov-report/contracts/MerchantSubscription.sol.html
  16. +93 −0 coverage/lcov-report/contracts/index.html
  17. +93 −0 coverage/lcov-report/index.html
  18. +1 −0 coverage/lcov-report/prettify.css
  19. +1 −0 coverage/lcov-report/prettify.js
  20. BIN coverage/lcov-report/sort-arrow-sprite.png
  21. +158 −0 coverage/lcov-report/sorter.js
  22. +56 −0 coverage/lcov.info
  23. +1 −0 coverage/prettify.css
  24. +1 −0 coverage/prettify.js
  25. BIN coverage/sort-arrow-sprite.png
  26. +158 −0 coverage/sorter.js
  27. +0 −150 merchant_subscription/MerchantSubscription.sol
  28. +5 −0 migrations/1_initial_migration.js
  29. +33 −0 migrations/2_deploy_merchant_subscription.js
  30. +3,967 −0 package-lock.json
  31. +32 −0 package.json
  32. +51 −0 test/merchant_subscription/activate.js
  33. +31 −0 test/merchant_subscription/close.js
  34. +28 −0 test/merchant_subscription/init.js
  35. +57 −0 test/merchant_subscription/payment.js
  36. +61 −0 test/merchant_subscription/withdrawal.js
  37. +16 −0 truffle.js
@@ -1 +1,3 @@
.idea
node_modules

@@ -0,0 +1,9 @@
module.exports = {
port: 7545,
//testrpcOptions: '-p 6545 -u 0x54fd80d6ae7584d8e9a19fe1df43f04e5282cc43',
//testCommand: 'mocha --timeout 5000',
//norpc: true,
//dir: './secretDirectory',
copyPackages: ['zeppelin-solidity'],
//skipFiles: ['Routers/EtherRouter.sol']
};
@@ -0,0 +1,17 @@
# Coinfix.io smart contracts


## Setup

- Install truffle test framework
``npm i -g truffle``

- Install and run ganache from: http://truffleframework.com/ganache

- Run tests
``npm t``

- Generate code coverage report
``Close ganache!!!``
``npm run coverage``

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit c02c083

Please sign in to comment.
You can’t perform that action at this time.