Last active
July 4, 2019 00:30
-
-
Save tomclose/1086f13cc8da6291adb5260e14ca123f to your computer and use it in GitHub Desktop.
Nitro State Format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Field | Data type | Definition / Explanation | |
---|---|---|---|
ChainID | unit256 | e.g. ropsten / mainnet | |
Participants | address[] | participant addresses in signing order | |
ChannelNonce | uint256 | chosen by the participants to uniquely identify the channel | |
TurnNum | uint256 | turn number | |
DefaultOutcome | [address, uint256][] | payouts if the channel is finalized in this state | |
isFinal | boolean | used to allow instant withdrawals when channel is closed collaboratively | |
AppDefinition | address | on-chain address of library defining custom application rules | |
AppData | bytes | application-specific data | |
Signature | [uint8, bytes32, bytes32] | ECDSA signature of commitment (v, r, s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment