@etherisc/terraguard-poc-contracts
Version:
Etherisc's smart contracts for the terraguard poc
26 lines (18 loc) • 869 B
Markdown

[](https://opensource.org/licenses/Apache-2.0)
[](https://discord.gg/Qb6ZjgE8)
# Quantectum PoC
Open Brownie console
```bash
brownie console
```
Deploy and run on local Ganache
```python
from scripts.deploy_terra import help
help()
from scripts.deploy_terra import all_in_1, verify_deploy, create_bundle, create_policy, help
(customer, customer2, product, oracle, riskpool, riskpoolWallet, investor, usdc, instance, instanceService, ins
tanceOperator, bundleId, processId, d) = all_in_1(deploy_all=True)
application = instanceService.getApplication(processId).dict()
product.decodeApplicationParameterFromData(application['data']).dict()
```