Commit Graph

123 Commits (0e5c192f01514cf496adf751950855e360e1cb90)

Author SHA1 Message Date
jMyles 0e5c192f01 [KMS-ETH]- PopulusContract -=> Contract 2018-04-08 20:50:20 -07:00
Kieran Prasch 3ff14b6446 [KMS-ETH]- Moves test utilities to nkms_eth, code reorg, cleanup, and documentation updates. 2018-04-02 10:23:16 -07:00
Kieran Prasch 3876a26248 [KMS-ETH]- Miner high-level staking method; API updates from code review, makes blockchain public, refactors some naming conventions and fixes datetime.utcnow. 2018-04-01 19:49:45 -07:00
Kieran Prasch 1d8ed68ad3 [KMS-ETH]- Merge remote-tracking branch 'upstream/master' into python_api 2018-03-31 15:08:56 -07:00
szotov d6fe379518 [KMS-ETH]- Added methods to withdraw reward in UserEscrow contract 2018-03-30 14:45:58 +03:00
Kieran Prasch 445cc2c06a [KMS-ETH]- API updates for test / utilities. Wraps wait for receipt to present a public waiting method. 2018-03-29 09:51:47 -07:00
Kieran Prasch 3cf142bfcf [KMS-ETH]- Post-merge cleanup with @szotov's contract changes and client update. 2018-03-29 09:49:41 -07:00
Kieran Prasch e8f44e611e [KMS-ETH]- Extracts policies module, API updates, further collapse contract wrapper logic up inheritance tree. Enhances docstrings. 2018-03-29 09:49:41 -07:00
Kieran Prasch 84f9454436 [KMS-ETH]- Fixed high gas consumption in PolicyManager; Deprecate token module. 2018-03-29 09:48:12 -07:00
Kieran Prasch 816383e4e1 [KMS-ETH]- Refines naming for Miner and Token config classes, uses config classes as mixins. 2018-03-28 10:49:05 -07:00
Kieran Prasch 9a4c4ad135 [KMS-ETH]- Payment model and client methods updates; Additional shared base class methods for contract agents and deployers 2018-03-28 10:49:05 -07:00
Kieran Prasch d12572546c [KMS-ETH]- Actor, Contract, and Deployer subclasses for publishing and interfacing ethereum contracts. 2018-03-28 10:47:21 -07:00
Kieran Prasch f274b3cb4c [KMS-ETH]- Miner and Token config classes for contract deployers 2018-03-27 17:17:15 -07:00
Kieran Prasch 18feef64ec [KMS-ETH]- Introduce agent language internally. 2018-03-27 17:14:21 -07:00
Kieran Prasch 0fb07715c4 [KMS-ETH]- Agents hold reference to the deployers they represent; Condense contract base classes with shared methods beween agents. 2018-03-27 17:12:14 -07:00
Kieran Prasch 38f5da13fc [KMS-ETH]- Deployer subclass module for publishing smart contracts to a blockchain network; Cleanup names and imports post-reorg. 2018-03-27 17:09:22 -07:00
Kieran Prasch d538f5d745 [KMS-ETH]- Actor and Contract subclasses, for client interaction and KMS integration via Mixin. 2018-03-27 17:04:49 -07:00
Kieran Prasch 1e2d277d59 [KMS-ETH]- Rename Escrow to MinerEscrow. 2018-03-27 14:32:38 -07:00
Kieran Prasch ed1f99b011 [KMS-ETH]- Policy author can "make arrangement", and balance method. Privatize contract references. Updates tests to match newer Miner and Escrow API (with fewer requirements). 2018-03-27 14:32:22 -07:00
Kieran Prasch ea32e07282 [KMS-ETH]- Reduces number of injected objects to instantiate contract wrapper types, Fixes miner withdraw bug. 2018-03-27 14:31:13 -07:00
Kieran Prasch 5cce0407a1 [KMS-ETH]- Policy and PolicyManager classes for alice/ursula client. reward collection via policy. Better names for transaction hashes. 2018-03-27 14:28:39 -07:00
Kieran Prasch e33b6e8154 [KMS-ETH]- Enhances the singleton pattern for blockchain, adding a way to retrieve the instance. 2018-03-27 14:27:42 -07:00
Kieran Prasch 2e74fc000a [KMS-ETH]- Moves transient chain class to new test utils module. Renames DHT keys to Miner ID, and small bug fixes. 2018-03-27 14:27:22 -07:00
szotov 0abd5ce739 [KMS-ETH]- Fixed PolicyManager to work with Dispatcher, added some tests 2018-03-27 16:22:20 +03:00
szotov e7d48a505e [KMS-ETH]- Added MinersEscrow upgrading tests 2018-03-24 19:07:20 +03:00
szotov 852198b0aa [KMS-ETH]- Issuer and MinersEscrow were inherited from Upgradeable, refactored MinersEscrow to fit the max bytecode size 2018-03-24 13:47:30 +03:00
szotov c01531b459 [KMS-ETH]- Added PolicyManger upgrading tests 2018-03-20 13:17:04 +03:00
szotov 270ab83565 [KMS-ETH]- Merge branch 'master' into upgradeable-contracts 2018-03-17 18:23:33 +03:00
szotov 08c5310a2c [KMS-ETH]- Added handling multiple nodes in one policy 2018-03-16 21:44:20 +03:00
szotov 459bdd7c27 [KMS-ETH]- Fixed high gas consumption in PolicyManager 2018-03-10 16:04:11 +03:00
szotov acb6741170 [KMS-ETH]- Added verifyState and finishUpgrade methods to PolicyManager 2018-03-07 11:31:55 +03:00
szotov e648143d9c [KMS-ETH]- Added events for contracts and tests for them 2018-03-06 13:14:26 +03:00
szotov dec362fda7 [KMS-ETH]- Fixed bugs and tests with 32 bytes miner id 2018-03-02 20:49:42 +03:00
szotov 67366ce685 [KMS-ETH]- Merge remote-tracking branch 'remotes/origin/master' into timePeriod
Fixed conflicts in scripts/estimate_gas_tester.py
2018-03-02 20:10:49 +03:00
szotov fc5ad0d03f [KMS-ETH]- Forgotten contracts 2018-03-02 15:19:57 +03:00
szotov 164b4e1c77 [KMS-ETH]- Updated zeppelin-solidity libraries, updated solidity code for v0.4.20, fixed small bugs 2018-03-02 15:17:25 +03:00
Kieran Prasch 1d0efeabef [KMS-ETH]- Code review updates with @jMyles; Additional commentary. 2018-03-01 21:16:36 -08:00
Kieran Prasch 5874a43d37 [KMS-ETH]- Resolves conflict by moving and renaming installation scripts. 2018-03-01 19:02:38 -08:00
szotov d8996c37ef [KMS-ETH]- Fixed error with solc v0.4.20 2018-02-28 17:15:04 +03:00
Kieran Prasch a22c4f14b0 [KMS-ETH]- Responds to request for changes: Deprecates threadlocal blockchains, better docstrings and names. 2018-02-27 19:10:53 -08:00
Kieran Prasch 4a71c70b45 [KMS-ETH]- Moves populus config logic to external module and class. 2018-02-27 19:10:10 -08:00
Kieran Prasch bc74ac3f33 [KMS-ETH]- Rollback solidity version. 2018-02-27 19:09:15 -08:00
szotov d611a07690 [KMS-ETH]- Changed payment by ETH in PolicyManager, DHT key was renamed to miner id 2018-02-27 15:50:41 +03:00
Kieran Prasch a1da20d9f3 [KMS-ETH]- Adds get_swarm method to fetch all miners with an iterator via smart contracts calls. 2018-02-26 19:12:24 -08:00
Kieran Prasch 7f58536a2b [KMS-ETH]- Merge commit '43a781c9ba955cd8404efddd3a19302374b0af13' into python_api_dev 2018-02-25 12:01:34 -08:00
Kieran Prasch 110b071ca2 [KMS-ETH]- Miner methods for DHT management and miner/escrow balance. Names some transaction hashes. 2018-02-24 21:50:06 -08:00
Kieran Prasch a63bea7091 [KMS-ETH]- Update python crypto entity mining coefficients. 2018-02-24 15:58:12 -08:00
Kieran Prasch 3608b27024 [KMS-ETH]- Reintroduce class based python interface, post-rebase. 2018-02-24 15:57:04 -08:00
Kieran Prasch 1bbe6d0f8e [KMS-ETH]- Miner class and methods, imagined as an Ursula mixin class. 2018-02-24 12:51:40 -08:00
Kieran Prasch 56bc161ad1 [KMS-ETH]- Escrow in-memory miner tracking logic. 2018-02-24 12:50:55 -08:00