ERC-7573 Conditional-upon-Transfer-Decryption for DvP
A Protocol for Secure Delivery-versus-Payment across two Blockchains
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| ILockingContract | 0x565cc6b5 |
| IDecryptionContractWithKeyGeneration | 0xeca75ea1 |
Functions this standard introduces (11)
0x14cd28f7 | cancelTransfer(uint256,int256,address,address,bytes,bytes,bytes) | |
0x59caecb5 | cancelTransfer(uint256) | |
0xdedd6f29 | completeLock(uint256) | |
0x47f48b5c | confirmTransfer(uint256,int256,address,address,bytes,bytes,bytes) | |
0xf1c64baa | getInceptionContext(uint256) | view |
0xa3876e3e | getInceptionKeyMaterial(uint256) | view |
0xbee67b35 | inceptTransfer(uint256,int256,address,address,bytes,address) | |
0xd391cd4f | inceptTransfer(uint256,int256,address,address,bytes,bytes,bytes) | |
0xc0406e5b | releaseKey(uint256,bytes) | |
0x7f91094a | transferAndDecrypt(uint256) | |
0xd6f4a851 | transferWithKey(uint256,bytes) |
Inherited (1)
0xff3572bb | onInceptionCompleted(uint256) | IDECRYPTIONCONTRACTINCEPTIONCALLBACK |
Events (6)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0x56e98e2b1e9c0f252e3eab9d288774f4683dfc522194c5acc670c35594afd785 | TransferIncepted(uint256,int256,address,address,bytes,bytes,bytes) | |
0x17cfce3a2fabd452f2186411d47e179f3451278f038c617e2bbe058df780f8cc | TransferConfirmed(uint256,int256,address,address,bytes,bytes,bytes) | |
0x726ca29b824ac540272a3ffa4bb935bc6e3ba655786c518b64f67ea6cadb0b8b | TokenClaimed(uint256,bytes) | |
0x51ac4ceb0fd1f5a4c9e14a45a5752b8b50feb2d6df7ee13a0107bb935a321403 | TokenReclaimed(uint256,bytes) | |
0xc1a52360f3cec4442cfbf1d942bdf7de7c35e8f793a7168d2541ebd5df1d47c3 | TransferKeyRequested(address,uint256,bytes) | |
0xbbb8eee481e941905aa70814a90c555f03e9ea97f6c391aae6b9b482dd5b53d9 | TransferKeyReleased(address,uint256,bool,bytes) |
What the specification covers
Compare with
Parsed from the canonical specification · discussion