Commit Graph

123 Commits (0e5c192f01514cf496adf751950855e360e1cb90)

Author SHA1 Message Date
Kieran R Prasch a68221a87c [KMS-ETH]- Updates example scripts, code reorg. 2018-02-24 12:49:58 -08:00
Kieran R Prasch 511812d2ed [KMS-ETH]- Fixes ursula selection; modifies wait_time blockchain method and it's test. 2018-02-24 12:48:04 -08:00
Kieran R Prasch 81c3ab00a6 [KMS-ETH]- Type hints, additional methods to cryptoentities, Smart contract testing. 2018-02-24 12:47:13 -08:00
Kieran R Prasch a147bcc39f [KMS-ETH]- Adds wait_time and unlock methods to blockchain, modifies tests to follow. 2018-02-24 12:46:19 -08:00
Kieran R Prasch fc70e9009d [KMS-ETH]- Methods for python crypto-entities, policy contract tests. 2018-02-24 12:45:49 -08:00
Kieran R Prasch b2ce78ecf4 [KMS-ETH]- Blockchain remains open; deprecates context manager usage for blockchain instances. 2018-02-24 12:45:19 -08:00
Kieran R Prasch 32660a6108 [KMS-ETH]- Adds populus project test, additional readability adjustments. 2018-02-24 12:44:55 -08:00
Kieran R Prasch 875814c614 [KMS-ETH]- Fixtures for class based API, unit tests, and smart contract tests from @szotov, code reorg. 2018-02-24 12:44:10 -08:00
Kieran R Prasch 8eb301a598 [KMS-ETH]- Creates Miner class. 2018-02-24 12:38:13 -08:00
Kieran R Prasch 0b9a54b267 [KMS-ETH]- Threadlocal blockchain class to interface with populus and local chains. 2018-02-24 12:37:39 -08:00
Kieran R Prasch 3287d86993 [KMS-ETH]- Ports deps to pipenv: system deps, pipenv, and solc install run from bash installer. 2018-02-24 12:35:48 -08:00
szotov b6c02cfdbb [KMS-ETH]- Added function for miners iteration 2018-02-24 15:45:21 +03:00
szotov ae15b4ac35 [KMS-ETH]- Added DHT key publishing 2018-02-22 17:18:57 +03:00
szotov 9643667c11 [KMS-ETH]- Enhanced Government and Dispatcher contracts, added some tests for Government contract, updated README.MD for proxy 2018-02-21 19:33:21 +03:00
szotov f84a341201 [KMS-ETH]- Tests for government contract 2018-02-20 19:04:58 +03:00
szotov c4bd2d061a [KMS-ETH]- Added contract for upgrade management 2018-02-16 19:30:15 +03:00
szotov 43cd5e6706 [KMS-ETH]- Added escrow for vesting 2018-02-14 18:14:34 +03:00
szotov aad1173ae2 [KMS-ETH]- Renamed some contracts 2018-02-13 13:53:33 +03:00
szotov e3d74c79b5 [KMS-ETH]- Added max allowed locked tokens 2018-02-09 20:46:26 +03:00
szotov 923446ad25 [KMS-ETH]- Small changes in pre-deposit 2018-02-09 12:20:45 +03:00
szotov 79bc630fa6 [KMS-ETH]- Added pre-deposit method 2018-02-08 18:50:05 +03:00
szotov 0f240fd072 [KMS-ETH]- Added min value for locking 2018-02-08 13:44:16 +03:00
szotov f46d678897 [KMS-ETH]- Removed MineableToken, simplified minting 2018-02-07 20:04:41 +03:00
szotov 2d5ba21b01 [KMS-ETH]- Fixed small bug in mint method 2018-02-05 20:52:59 +03:00
szotov 10dbd77cfd [KMS-ETH]- Gas equalization for mint method 2018-02-03 12:23:45 +03:00
szotov e6dcbb70b8 [KMS-ETH]- Fixed bug in calculating inflation 2018-02-02 20:26:53 +03:00
szotov 940f317103 [KMS-ETH]- Decreased gas consumption in mint method 2018-02-01 19:09:01 +03:00
szotov 65073ee473 [KMS-ETH]- Added tests for policy manager 2018-01-31 20:04:17 +03:00
szotov 8beffcbaa7 [KMS-ETH]- Updated policy manager contract 2018-01-27 16:05:19 +03:00
szotov 0e625a6550 [KMS-ETH]- Added draft of policy contract 2018-01-22 19:09:59 +03:00
szotov 7d64ec8f79 [KMS-ETH]- Changed period in blocks to period in hours, small changes in mining reward 2018-01-19 17:27:09 +03:00
szotov 2c8263f941 [KMS-ETH]- Fixed file paths in UPDATE.MD 2018-01-16 19:54:17 +03:00
szotov 3d53c9be3f [KMS-ETH]- Added ways of update 2018-01-16 19:52:10 +03:00
szotov 567f17db0d [KMS-ETH]- Added reward for long locking 2018-01-13 20:38:11 +03:00
szotov 1e8ee747bf [KMS-ETH]- Changed locking logic, Miner contract prepared for new parameter 2018-01-12 19:52:17 +03:00
szotov 14c0cb99a0 [KMS-ETH]- Added release rate recalculating 2018-01-10 15:06:51 +03:00
szotov b208d4de7b [KMS-ETH]- Updated WalletManager logic to Escrow, added optimize option to compilation 2018-01-09 13:55:46 +03:00
szotov 270f630db9 [KMS-ETH]- Fixed bugs in calculating locked tokens, added unlocking rate 2018-01-06 19:28:03 +03:00
szotov 4f7af1eb9d [KMS-ETH]- Added calculating locked tokens in future period for findCumSum method 2018-01-04 20:16:28 +03:00
szotov de026cb04e [KMS-ETH]- Updated WalletManager logic to Escrow, disabled tests for WalletManager (too big contract) 2018-01-03 18:12:29 +03:00
szotov 537af8fcc2 [KMS-ETH]- Fixed getLockedTokens method for future periods 2018-01-02 20:36:49 +03:00
szotov fb116beef0 [KMS-ETH]- Fixed increasing lock 2018-01-02 18:14:50 +03:00
szotov 41906af98a [KMS-ETH]- Changed locking by blocks to locking by periods 2017-12-28 21:52:24 +03:00
szotov 5ba52a8689 [KMS-ETH]- Added saving locked tokens for confirmed periods 2017-12-26 21:12:17 +03:00
szotov bc6a293170 [KMS-ETH]- WalletManager updated to Escrow 2017-12-26 14:12:39 +03:00
szotov 8b82ad01ce [KMS-ETH]- Added using periods in findCumSum and getAllLockedTokens method 2017-12-25 21:09:54 +03:00
szotov 26482b4ed4 [KMS-ETH]- Changed confirming activity method 2017-12-25 19:08:27 +03:00
szotov 70920cc458 [KMS-ETH]- Added checking for struct in Upgradeable and Dispatcher 2017-12-22 17:56:53 +03:00
szotov dc31b6b49c [KMS-ETH]- Added checking for arrays and mapping in Upgradeable and Dispatcher 2017-12-21 20:26:19 +03:00
szotov 63a3f9dc95 [KMS-ETH]- Merge remote-tracking branch 'remotes/origin/master' into lib 2017-12-19 18:05:23 +03:00
szotov e0e058321c [KMS-ETH]- Refactor KMS token, increased decimals places 2017-12-19 17:57:14 +03:00
Michael Egorov b022b20009 [KMS-ETH]- Remove kwarg incompatible with new populus 2017-12-18 23:47:28 -08:00
szotov c5550d064b [KMS-ETH]- Changed mining formula, added activity confirmation 2017-12-11 19:46:37 +03:00
Michael Egorov 221e90c9c5 [KMS-ETH]- Mining works 2017-12-02 18:44:48 -08:00
szotov 98d01b3e19 [KMS-ETH]- Added rollback method to Dispatcher 2017-11-28 15:24:47 +03:00
Michael Egorov eadd57eb95 [KMS-ETH]- List of n ursulas to give kfrags to 2017-11-26 16:59:25 -08:00
Michael Egorov 13da7d3c65 [KMS-ETH]- Re-arrange functions related to the escrow 2017-11-25 23:38:07 -08:00
Michael Egorov 3f7444faa8 [KMS-ETH]- lock money in mining escrow 2017-11-25 15:03:20 -08:00
Michael Egorov 67003ef51b [KMS-ETH]- Create mining escrow 2017-11-25 14:11:16 -08:00
szotov 5ca1a5bea9 [KMS-ETH]- Added Upgradeable base contract 2017-11-24 20:28:42 +03:00
szotov fff9c77d11 [KMS-ETH]- Reorganized test contracts 2017-11-24 13:11:40 +03:00
szotov 6ce978a774 [KMS-ETH]- Added README.MD for dispatcher 2017-11-23 20:05:15 +03:00
szotov dc9e23e7fe [KMS-ETH]- Added dispatcher contract for using in upgrading contracts 2017-11-22 20:23:01 +03:00
Michael Egorov 0fba71e215 [KMS-ETH]- Save registrat.json in .local/... config directory 2017-11-19 18:41:14 -08:00
Michael Egorov d54fad14bc [KMS-ETH]- Modules to work with a token 2017-11-18 20:40:09 -08:00
Michael Egorov 4a418cbed2 [KMS-ETH]- Change constant in the conftest 2017-11-18 14:53:46 -08:00
szotov ff07719599 [KMS-ETH]- Merge branch 'multi-personal' into lib
Conflicts:
	contracts/EscrowV2.sol
	tests/test_escrow_v2.py
2017-11-17 12:06:39 +03:00
Michael Egorov 666a00b871 [KMS-ETH]- Boilerplate: which functions to implement 2017-11-16 23:55:14 -08:00
Michael Egorov 74dd1d67c3 [KMS-ETH]- Common functions to connect to local ethereum node or testrpc-py 2017-11-16 23:44:11 -08:00
Michael Egorov 7b998f9bbc [KMS-ETH]- All the tests pass 2017-11-15 18:21:45 -08:00
Michael Egorov f84193c9fb [KMS-ETH]- Changing references 2017-11-15 17:51:16 -08:00
Michael Egorov 3722f477c0 [KMS-ETH]- Empty modules 2017-11-14 19:29:12 -08:00
Michael Egorov 75f277a842 [KMS-ETH]- Wrapping Solidity contracts into python package_data 2017-11-14 15:27:20 -08:00