Commit Graph

9697 Commits (0612445b4b02cef9931ad5e1a40c31a76188bdcb)

Author SHA1 Message Date
Kieran Prasch cdaa6b1358 Support agents with different blockchain connections. 2022-02-08 11:01:24 -08:00
Kieran Prasch 0f82db319e Docstrings 2022-02-08 11:01:24 -08:00
Kieran Prasch 5ba870ee5a Character-level default payment method for federated mode. 2022-02-08 11:01:24 -08:00
Kieran Prasch 34c79c7830 Require payment method for is_me Ursula and Alice. 2022-02-08 11:01:24 -08:00
Kieran Prasch 74cfa8b46e Collapse Policy subclasses. 2022-02-08 11:01:24 -08:00
Kieran Prasch b36debae5c Introduce PaymentMethod.Quote (calculate valid policy value for SubscriptionManager.createPolicy). 2022-02-08 11:01:24 -08:00
Kieran Prasch c6efd5fd06 Removes BlockchainPolicyAuthor. 2022-02-08 11:01:24 -08:00
Kieran Prasch ed64aa3ac4 Examples support of L2 payments. 2022-02-08 11:01:24 -08:00
Kieran Prasch 3f6c770f02 Includes payment method CLI flags in Ursula docs. 2022-02-08 11:01:24 -08:00
Kieran Prasch bbc509910d Adjust tests to accommodate swapable payment methods. 2022-02-08 11:01:24 -08:00
Kieran Prasch ac1d4b5603 CLI supports payment method configuratiopn by Ursula and Alice. 2022-02-08 11:01:24 -08:00
Kieran Prasch 5e09b328d7 Handle payment method configurations 2022-02-08 11:01:24 -08:00
Kieran Prasch 6c9cf61f69 Ursula uses payment methods to halt unpaid policies. 2022-02-08 11:01:24 -08:00
Kieran Prasch a6eec6d02c Introduces PaymentMethod; Decouple payment logic from policy creation. 2022-02-08 11:01:24 -08:00
Kieran Prasch fe36bf9d9d Introduce SubscriptionManager Deployer 2022-02-08 11:01:24 -08:00
Kieran Prasch 84041a238c Introduces SubscriptionManagerAgent 2022-02-08 11:01:24 -08:00
Kieran Prasch f0f4ae8d6c Internal w3 client support for polygon/matic and bor 2022-02-08 11:01:24 -08:00
Kieran Prasch fab011e6e3 SubscriptionManager constants 2022-02-08 11:01:24 -08:00
Kieran Prasch 846a6295cc Add SubscriptionManager to codebase. 2022-02-08 11:01:24 -08:00
Damon Ciarelli b9a467e136 cleanup, tests working; rename tests 2022-02-08 11:01:24 -08:00
Damon Ciarelli 2669cfdedd migrate to new role names in progress 2022-02-08 11:01:24 -08:00
Damon Ciarelli 32f8513ad7 Operator block until ready; Worker/actor/tracker refactor 2022-02-08 11:01:24 -08:00
Damon Ciarelli b241972b31 add live ursula test 2022-02-08 11:01:24 -08:00
Kieran Prasch ab2798d819 patch SimplePREApplicationDeployer for ruse in IRL. 2022-02-08 11:01:24 -08:00
Damon Ciarelli 55a69d384c rename T to TToken 2022-02-08 11:01:24 -08:00
Damon Ciarelli c1f66c0ef6 ursula pre_application_agent working; contract interactions required to run ursula. 2022-02-08 11:01:24 -08:00
Kieran Prasch 7e2f7da48a Stub for PREApplicationAgent integration tests. 2022-02-08 11:01:24 -08:00
Kieran Prasch 141b719db9 Mocked threhold staking interface. 2022-02-08 11:01:24 -08:00
Kieran Prasch 4136e740e8 PREApplicationDeployer 2022-02-08 11:01:24 -08:00
Kieran Prasch 085756b4e4 Introduces PREApplicationAgent 2022-02-08 11:01:24 -08:00
Kieran Prasch b42bf2d6b1 Mainnet contract registry for SimplePREApplication. 2022-02-08 11:01:24 -08:00
derekpierre 9eb61f57ab Upgrade StakingEscrow mainnet implementation to v6.2.2. 2022-02-08 11:01:24 -08:00
Kieran Prasch ba89d9487c SimplePREApplication deployment registry entry for ibex/rinkeby. 2022-02-08 11:01:24 -08:00
derekpierre 01b933ee81 Update StakingEscrow version tpo v6.2.2 in both contract and registry (already deployed contract). This prevents having 2 StakingEscrow entries in the contract registry with the same version number (6.2.1). 2022-02-08 11:01:24 -08:00
derekpierre 8523063d29 Latest update to StakingEscrow on rinkeby: 0xf069e51e2D9D49f036516740cf44172A2A860A4C 2022-02-08 11:01:24 -08:00
Victoria 8463a9a3df Update nucypher/blockchain/eth/sol/source/contracts/SimplePREApplication.sol
Co-authored-by: David Núñez <david@nucypher.com>
2022-02-08 11:01:24 -08:00
vzotova 34e725e046 Newsfragment 2022-02-08 11:01:24 -08:00
vzotova 33df782883 SimplePREApplication: worker -> operator 2022-02-08 11:01:24 -08:00
vzotova e461f2ff52 SimplePREApplication: renames operator to staking provider 2022-02-08 11:01:24 -08:00
vzotova a6c59ae02f StakingEscrow: renames operator to staking provider 2022-02-08 11:01:24 -08:00
vzotova d0917bd21e Apply suggestions from code review #2838
Co-authored-by: jMyles <justin@justinholmes.com>
2022-02-08 11:01:24 -08:00
jMyles 03556258c0 Slightly more legible if this comment is after the time travel. 2022-02-08 11:01:24 -08:00
jMyles 391dad2264 Clarifying two additional roles from the everyone_else pile. 2022-02-08 11:01:24 -08:00
Victoria 309ba39d89 Update nucypher/blockchain/eth/sol/source/contracts/SimplePREApplication.sol
Co-authored-by: David Núñez <david@nucypher.com>
2022-02-08 11:01:24 -08:00
vzotova 7ce5844105 Allow stake owner to bond worker 2022-02-08 11:01:24 -08:00
vzotova 2855349a27 Fix typo
Co-authored-by: derekpierre <derek.pierre@gmail.com>
2022-02-08 11:01:24 -08:00
vzotova bfbf7faa8b Fix and tests for getActiveOperators 2022-02-08 11:01:23 -08:00
vzotova 317d62b322 Newsfragment 2022-02-08 11:01:23 -08:00
vzotova e4ff795d68 Tests for confirmation of worker address 2022-02-08 11:01:23 -08:00
vzotova 09b06a89b4 Tests for simple PRE app 2022-02-08 11:01:23 -08:00