You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uintprivate constant MIN_CANCEL_DEPOSIT =3000000000000000000; // 3 eth
15
15
uintprivate constant CANCEL_TRANSFER_TIMEOUT =3600; // 1 hour in seconds
16
-
uintprivate constant CANCEL_MINT_TIMEOUT =907200; // 1.5 weeks in seconds
16
+
uintprivate constant CANCEL_MINT_TIMEOUT =1814400; // 3 weeks in seconds
17
17
// Variables set by constructor
18
18
19
19
// Contract to trust for tx included in a syscoin block verification.
@@ -163,9 +163,9 @@ contract SyscoinERC20Manager is Initializable {
163
163
// ensure msg.sender is same as tokenFreezerAddress
164
164
// we don't have to do this but we do it anyway so someone can't accidentily cancel a transfer they did not make
165
165
require(msg.sender== bridgeTransfer.tokenFreezerAddress, "#SyscoinERC20Manager cancelTransferRequest(): Only msg.sender is allowed to cancel");
166
-
// if freezeBurnERC20 was called less than 1.5 weeks ago then return error
167
-
// 0.5 week buffer since only 1 week of blocks are allowed to pass before cannot mint on sys
168
-
require((block.timestamp- bridgeTransfer.timestamp) >(net == Network.MAINNET?CANCEL_MINT_TIMEOUT: 36000), "#SyscoinERC20Manager cancelTransferRequest(): Transfer must be at least 1.5 week old");
166
+
// if freezeBurnERC20 was called less than 3 weeks ago then return error
167
+
// 0.5 week buffer since only 2.5 week of blocks are allowed to pass before cannot mint on sys
168
+
require((block.timestamp- bridgeTransfer.timestamp) > CANCEL_MINT_TIMEOUT, "#SyscoinERC20Manager cancelTransferRequest(): Transfer must be at least 3 week old");
0 commit comments