0.0.2-0b66c16 • Published 11 months ago

@etherisc/terraguard-poc-contracts v0.0.2-0b66c16

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
11 months ago

Build License npm.io

Terraguard PoC

Open Brownie console

brownie console

Deploy and run on local Ganache

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()