Expand description
This module contains arguments and functions to interact with the Winning Probability contract for a privileged account. It can set the global minimum winning probability and read the current global minimum winning probability. Some sample commands:
- Set winning probability:
hopli win-prob set \
--network anvil-localhost \
--contracts-root "../ethereum/contracts" \
--winning-probability 0.5 \
--private-key ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \
--provider-url "http://localhost:8545"
- Get winning probability:
hopli win-prob get \
--network anvil-localhost \
--contracts-root "../ethereum/contracts" \
--provider-url "http://localhost:8545"
Enumsยง
- WinProb
Subcommands - CLI arguments for
hopli win-prob