From 1fdf3ba5b43435d1ba8eca7f5a369cc96496ad62 Mon Sep 17 00:00:00 2001 From: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com> Date: Wed, 9 Sep 2020 18:44:34 +0800 Subject: [PATCH] EIP-2266: change status from draft to last call (#2958) * fix https://github.com/ethereum/EIPs/pull/2308#issuecomment-689422758 * grammar improvements --- EIPS/eip-2266.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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.