Skip to content

Commit 19469d1

Browse files
pumpedlunchgitbook-bot
authored andcommitted
GITBOOK-209: change request with no subject merged in GitBook
1 parent 0eb7d4c commit 19469d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

developers/managedoptimisticoraclev2/proposing-programmatically.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ When a new request is created on ManagedOptimisticOracleV2 it will default to th
2020
#### Proposing on ManagedOptimisticOracleV2
2121

2222
Proposing on ManagedOptimisticOracleV2 can be done by calling the same [`proposePrice`](https://github.com/UMAprotocol/managed-oracle/blob/fc03083eca91c880efa8918c6d9532af9362f00d/src/optimistic-oracle-v2/implementation/OptimisticOracleV2.sol#L382) or [`proposePriceFor`](https://github.com/UMAprotocol/managed-oracle/blob/fc03083eca91c880efa8918c6d9532af9362f00d/src/optimistic-oracle-v2/implementation/ManagedOptimisticOracleV2.sol#L327) functions with the same arguments as proposing on OptimisticOracleV2. Proposal transactions from addresses that are not whitelisted will revert with the following error messages, `"Sender not whitelisted"` or, `"Proposer not whitelisted"`.
23+
24+
#### Listening for ManagedOptimisticOracleV2 Events
25+
26+
The emitted events that are relevant to oracle participants (`RequestPrice, ProposePrice and DisputePrice, SettlePrice`) are unchanged from the OptimisticOracleV2 contract. These events can be queried via RPCs or by using our [deployed subgraph](https://github.com/UMAprotocol/subgraphs/blob/master/README.md#managed-optimistic-oracle-v2-events-and-calls) that indexes ManagedOptimisticOracleV2 events.

0 commit comments

Comments
 (0)