Skip to content

Commit

Permalink
docs: update integration docs for changed contract events
Browse files Browse the repository at this point in the history
  • Loading branch information
pgebal committed Aug 27, 2020
1 parent b158bb8 commit 37daf57
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions plasma_framework/docs/integration-docs/integration-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,8 @@ Following are lists of events from `PaymentExitGame` contract:
```
event ExitStarted(
address indexed owner,
uint160 exitId
uint160 exitId,
uint256 utxoPos
);
```
- A standard exit is successfully challenged:
Expand Down Expand Up @@ -1100,7 +1101,10 @@ This section describes the events for an in-flight exit.
```
event InFlightExitStarted(
address indexed initiator,
bytes32 indexed txHash
bytes32 indexed txHash,
bytes inFlightTx,
uint256[] inputUtxosPos,
bytes[] inFlightTxWitnesses
);
```
- An input has been piggybacked on an in-flight exit:
Expand All @@ -1124,7 +1128,11 @@ This section describes the events for an in-flight exit.
event InFlightExitChallenged(
address indexed challenger,
bytes32 indexed txHash,
uint256 challengeTxPosition
uint256 challengeTxPosition,
uint16 inFlightTxInputIndex,
bytes challengeTx,
uint16 challengeTxInputIndex,
bytes challengeTxWitness
);
```
- An in-flight exit has been proved canonical in response to a non-canonical challenge:
Expand Down

0 comments on commit 37daf57

Please sign in to comment.