UNPKG

@etherisc/terraguard-poc-contracts

Version:

Etherisc's smart contracts for the terraguard poc

26 lines (18 loc) 869 B
![Build](https://github.com/etherisc/gif-sandbox/actions/workflows/build.yml/badge.svg) [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![](https://dcbadge.vercel.app/api/server/cVsgakVG4R?style=flat)](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() ```