@@ -409,7 +409,7 @@ contract Depot is SelfDestructible, Pausable {
409
409
* @param guaranteedEtherRate The ether exchange rate which must be honored or the call will revert.
410
410
* @param guaranteedSynthetixRate The synthetix exchange rate which must be honored or the call will revert.
411
411
*/
412
- function exchangeEtherForSynthetixAtRate (uint guaranteedEtherRate , uint guaranteedSynthetixRate )
412
+ function exchangeEtherForSNXAtRate (uint guaranteedEtherRate , uint guaranteedSynthetixRate )
413
413
public
414
414
payable
415
415
pricesNotStale
@@ -428,7 +428,7 @@ contract Depot is SelfDestructible, Pausable {
428
428
* @notice Exchange sUSD for SNX
429
429
* @param synthAmount The amount of synths the user wishes to exchange.
430
430
*/
431
- function exchangeSynthsForSynthetix (uint synthAmount )
431
+ function exchangeSynthsForSNX (uint synthAmount )
432
432
public
433
433
pricesNotStale
434
434
notPaused
@@ -458,7 +458,7 @@ contract Depot is SelfDestructible, Pausable {
458
458
* @param synthAmount The amount of synths the user wishes to exchange.
459
459
* @param guaranteedRate A rate (synthetix price) the caller wishes to insist upon.
460
460
*/
461
- function exchangeSynthsForSynthetixAtRate (uint synthAmount , uint guaranteedRate )
461
+ function exchangeSynthsForSNXAtRate (uint synthAmount , uint guaranteedRate )
462
462
public
463
463
pricesNotStale
464
464
notPaused
@@ -468,7 +468,7 @@ contract Depot is SelfDestructible, Pausable {
468
468
{
469
469
require (guaranteedRate == usdToSnxPrice, "Guaranteed rate would not be received " );
470
470
471
- return exchangeSynthsForSynthetix (synthAmount);
471
+ return exchangeSynthsForSNX (synthAmount);
472
472
}
473
473
474
474
/**
0 commit comments