autobahn.xbr._eip712_channel_open
Module Contents¶
Functions¶
|
|
|
|
|
Recover the signer address the given EIP712 signature was signed with. |
- autobahn.xbr._eip712_channel_open._create_eip712_channel_open(chainId: int, verifyingContract: bytes, ctype: int, openedAt: int, marketId: bytes, channelId: bytes, actor: bytes, delegate: bytes, marketmaker: bytes, recipient: bytes, amount: int) dict [source]¶
- Parameters
chainId –
verifyingContract –
ctype –
openedAt –
marketId –
channelId –
actor –
delegate –
marketmaker –
recipient –
amount –
- Returns
- autobahn.xbr._eip712_channel_open.sign_eip712_channel_open(eth_privkey: bytes, chainId: int, verifyingContract: bytes, ctype: int, openedAt: int, marketId: bytes, channelId: bytes, actor: bytes, delegate: bytes, marketmaker: bytes, recipient: bytes, amount: int) bytes [source]¶
- autobahn.xbr._eip712_channel_open.recover_eip712_channel_open(chainId: int, verifyingContract: bytes, ctype: int, openedAt: int, marketId: bytes, channelId: bytes, actor: bytes, delegate: bytes, marketmaker: bytes, recipient: bytes, amount: int, 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