Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update integration doc for changed contract events #699

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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