autobahn.xbr._eip712_channel_close
Module Contents¶
Functions¶
|
|
|
|
|
Recover the signer address the given EIP712 signature was signed with. |
- autobahn.xbr._eip712_channel_close._create_eip712_channel_close(chainId: int, verifyingContract: bytes, closeAt: int, marketId: bytes, channelId: bytes, channelSeq: int, balance: int, isFinal: bool) dict [source]¶
- Parameters
chainId –
verifyingContract –
marketId –
channelId –
channelSeq –
balance –
isFinal –
- Returns
- autobahn.xbr._eip712_channel_close.sign_eip712_channel_close(eth_privkey: bytes, chainId: int, verifyingContract: bytes, closeAt: int, marketId: bytes, channelId: bytes, channelSeq: int, balance: int, isFinal: bool) bytes [source]¶
- autobahn.xbr._eip712_channel_close.recover_eip712_channel_close(chainId: int, verifyingContract: bytes, closeAt: int, marketId: bytes, channelId: bytes, channelSeq: int, balance: int, isFinal: bool, signature: bytes) bytes [source]¶
Recover the signer address the given EIP712 signature was signed with.
- Returns
The (computed) signer address the signature was signed with.
- Return type