pilot ready release candidate for single product deployments.
What's Changed
- add workflow to run code coverage on demand by @doerfli in #16
- add unique processId creation in PolicyController, adapt+amend tests by @matthiaszimmermann in #17
- add test to verify fix for defunding bug by @matthiaszimmermann in #18
- explicitly disable multiple collateralization for single policy (for now) by @matthiaszimmermann in #19
- move getRequiredRole from Component to ComponentController by @matthiaszimmermann in #20
- Feature/move riskpool bookkeeping to core module by @matthiaszimmermann in #22
- add documentation for processPremium by @doerfli in #24
- Remove unnecessary return values in TreasuryModule and others by @doerfli in #26
- Allow to create product on same riskpool only when token match by @doerfli in #23
- let PolicyFlowState represent the global state of a process (metadata… by @matthiaszimmermann in #27
- Remove explict allowance checks in treasury by @doerfli in #25
- add require for payment amount to be > 0 by @matthiaszimmermann in #30
- remove unnecessary modifier by @matthiaszimmermann in #31
- fix role creation, add test cases by @matthiaszimmermann in #29
- Add new modifier to check if productId belongs to component by @doerfli in #21
- Parallel test execution by @doerfli in #34
- Feature/ayii product complete deploy by @matthiaszimmermann in #35
- Feature/simplify interaction with deployed artefacts by @matthiaszimmermann in #37
- Feature/suspendable treasury by @matthiaszimmermann in #38
- add subsidy payments for premiums via collectPremium by @matthiaszimmermann in #40
- Improved bundle allocation for BasicRiskpool by @doerfli in #36
- make AyiiOracle dynamically configurable by @matthiaszimmermann in #42
- Fix use of max number of components in registry by @doerfli in #44
- Code cleanup by @doerfli in #45
- Validate QueryController.request parameters by @doerfli in #47
- add actions for event validation by @doerfli in #48
- Feature/replace chainlink operator with own test implementation by @matthiaszimmermann in #49
- Feature/add erc20 safe transfer from by @matthiaszimmermann in #46
- make oracle requests cancellable, add test, rename QueryController in… by @matthiaszimmermann in #51
- Feature/solhint by @doerfli in #52
- rename tokens to totalSupply by @doerfli in #55
- call _safeMint at the end of the function by @doerfli in #54
- Feature/replace idset with oz enumerableset by @matthiaszimmermann in #56
- Bugfix/process policies for risk by @doerfli in #58
- Fix closing of declined claims by @doerfli in #57
- Additional checks in BundleController by @doerfli in #59
- disallow premium collection for closed policies by @matthiaszimmermann in #60
- add checks to prevent claims/payouts larger than sum insured by @matthiaszimmermann in #64
- Add separate method for underwriting by @doerfli in #63
- Refactor _contractNames to use EnumberableSet by @doerfli in #62
- Guards treasury functions by @doerfli in #61
- Additional checks when registering component by @doerfli in #65
- Always check component type using ComponentController by @doerfli in #66
- add fee spec validations to treasury by @matthiaszimmermann in #67
- Update openzeppelin version and remove unused solidity by @doerfli in #68
- Fixed assignment of policyFlow to product on approval by @doerfli in #69
- Validations for PolicyController by @doerfli in #70
- Feature/add adjust risk to ayii product by @matthiaszimmermann in #71
- Feature/treasury module validation by @doerfli in #72
- Feature/expose process policy in ayii product by @matthiaszimmermann in #73
Full Changelog: 2.0.0-staging-o...2.0.0-rc.1