Go to file
Roman Storm 5f9ce40fe3 updated testnet deployment 2017-11-09 21:36:15 -08:00
build/contracts init 2017-11-09 18:16:40 -08:00
contracts init 2017-11-09 18:16:40 -08:00
migrations init 2017-11-09 18:16:40 -08:00
mochawesome-report fix auto-deploy 2017-11-09 20:52:39 -08:00
scripts add scripts 2017-11-09 18:33:03 -08:00
test fix exception msg 2017-11-09 20:31:37 -08:00
.ethgas.js fix auto-deploy 2017-11-09 20:52:39 -08:00
.gitignore init 2017-11-09 18:16:40 -08:00
.python-version add travis 2017-11-09 18:22:19 -08:00
.solcover.js fix solcoverage 2017-11-09 20:47:23 -08:00
.soliumignore add travis 2017-11-09 18:22:19 -08:00
.travis.yml fix auto-deploy 2017-11-09 21:04:04 -08:00
README.md updated testnet deployment 2017-11-09 21:36:15 -08:00
package-lock.json fix auto-deploy 2017-11-09 20:52:39 -08:00
package.json fix auto-deploy 2017-11-09 20:52:39 -08:00
truffle-config.js init 2017-11-09 18:16:40 -08:00
truffle.js add coverage network to truffle.js 2017-11-09 20:41:25 -08:00

README.md

Oracles Presale Contract

Build Status Coverage Status

Full Test Report

·------------------------------------------------------------------------|-----------------------------------·
│                                  Gas                                   ·  Block limit: 17592186044415 gas  │
··········································|······························|····································
│  Methods                                ·          1 gwei/gas          ·          320.09 usd/eth           │
···················|······················|·········|··········|·········|················|···················
│  Contract        ·  Method              ·  Min    ·  Max     ·  Avg    ·  # calls       ·  usd (avg)       │
···················|······················|·········|··········|·········|················|···················
│  PresaleOracles  ·  blacklistInvestor   ·  19691  ·   23538  ·  21615  ·             2  ·            0.01  │
···················|······················|·········|··········|·········|················|···················
│  PresaleOracles  ·  buy                 ·      -  ·       -  ·      -  ·             0  ·               -  │
···················|······················|·········|··········|·········|················|···················
│  PresaleOracles  ·  claimTokens         ·      -  ·       -  ·      -  ·             0  ·               -  │
···················|······················|·········|··········|·········|················|···················
│  PresaleOracles  ·  initialize          ·  23128  ·  125421  ·  46650  ·             9  ·            0.01  │
···················|······················|·········|··········|·········|················|···················
│  PresaleOracles  ·  Presale             ·      -  ·       -  ·      -  ·             0  ·               -  │
···················|······················|·········|··········|·········|················|···················
│  PresaleOracles  ·  transferOwnership   ·      -  ·       -  ·      -  ·             0  ·               -  │
···················|······················|·········|··········|·········|················|···················
│  PresaleOracles  ·  whitelistInvestor   ·  23428  ·   64377  ·  57552  ·             6  ·            0.02  │
···················|······················|·········|··········|·········|················|···················
│  PresaleOracles  ·  whitelistInvestors  ·  23688  ·  119866  ·  87807  ·             3  ·            0.03  │
·------------------|----------------------|---------|----------|---------|----------------|------------------·

  22 passing (3m)

#Testnet deployment

Contract Deployment: https://kovan.etherscan.io/address/0x19001af36808e4c573a237bfc58ce282616f05b3#code

Called Initialize by Owner with params: "1510291574","1610291574","100000000000000000000","0x0039f22efb07a647557c7c5d17854cfd6d489ef3" https://kovan.etherscan.io/tx/0xd83f75af7f8ebb02c6f79cd8a6e57ce619311b65f41ec618936558de3c116af9

Called whitelist with params: 0x0039f22efb07a647557c7c5d17854cfd6d489ef3 https://kovan.etherscan.io/tx/0x9781564e4365a35fc64694a777268de04bd21066126f6341f7eb3678fb820889

Called fallback with 0 ether: (expected error) https://kovan.etherscan.io/tx/0x84abaa77a9f8b42799c00348a4d439db0af9b67ab45d252e7885b768e7ca9930

Called fallback with 0.03 ether: https://kovan.etherscan.io/tx/0xdc32fa666a60fe8aa590d8fc7538b9e70852a2ae62750b7c0687d46e263d18ac Verified forwarded funds as internal transaction: https://kovan.etherscan.io/address/0x19001af36808e4c573a237bfc58ce282616f05b3#internaltx

Called blacklist by owner with params: 0x0039f22efb07a647557c7c5d17854cfd6d489ef3 https://kovan.etherscan.io/tx/0xe17dfeabd9bc2f7adc28ec3b83c4bf011e1864066c02ef689cbcbee4d9aeef51

Called fallback by non-whitelisted investor (expected an error) with 0.3 ether: https://kovan.etherscan.io/tx/0x391c1e4d838876e38e4631279a3c9856cc08e5ecedd2a4d0fae6990e127af432