diff --git a/EIPS/eip-2266.md b/EIPS/eip-2266.md index 46af7bfc..8a2a37be 100644 --- a/EIPS/eip-2266.md +++ b/EIPS/eip-2266.md @@ -3,7 +3,7 @@ eip: 2266 title: Atomic Swap-based American Call Option Contract Standard author: Runchao Han , Haoyu Lin , Jiangshan Yu discussions-to: https://github.com/ethereum/EIPs/issues/2266 -status: Draft +status: Last Call type: Standards Track category: ERC created: 2019-08-17 @@ -224,6 +224,12 @@ event PremiumRefunded(uint256 refundTimestamp, bytes32 secretHash, address refun + Premium is refundable for the initiator only if the initiator initiates but the participant does not participate in the swap at all. +## Security Considerations + ++ The `initiateTimestamp` should cover the whole swap process. ++ The participant should never participate before the premium has been deposited. + + ## Backwards Compatibility This proposal is fully backward compatible. Functionalities of existing standards will not be affected by this proposal, as it only provides additional features to them.