minor fixes

This commit is contained in:
bhavik-m 2022-02-15 22:12:44 +05:30
parent eaa49c0c69
commit 0a6c140d94

View File

@ -1,8 +1,8 @@
pragma solidity ^0.7.0; pragma solidity ^0.7.0;
/** /**
* @title WETH. * @title WFTM.
* @dev Wrap and Unwrap WETH. * @dev Wrap and Unwrap WFTM.
*/ */
import { DSMath } from "../../common/math.sol"; import { DSMath } from "../../common/math.sol";
@ -13,11 +13,11 @@ import { Helpers } from "./helpers.sol";
abstract contract Resolver is Events, DSMath, Basic, Helpers { abstract contract Resolver is Events, DSMath, Basic, Helpers {
/** /**
* @dev Deposit ETH into WETH. * @dev Deposit FTM into WFTM.
* @notice Wrap ETH into WETH * @notice Wrap FTM into WFTM
* @param amt The amount of ETH to deposit. (For max: `uint256(-1)`) * @param amt The amount of FTM to deposit. (For max: `uint256(-1)`)
* @param getId ID to retrieve amt. * @param getId ID to retrieve amt.
* @param setId ID stores the amount of ETH deposited. * @param setId ID stores the amount of FTM deposited.
*/ */
function deposit( function deposit(
uint256 amt, uint256 amt,
@ -36,11 +36,11 @@ abstract contract Resolver is Events, DSMath, Basic, Helpers {
} }
/** /**
* @dev Withdraw ETH from WETH from Smart Account * @dev Withdraw FTM from WFTM from Smart Account
* @notice Unwrap ETH from WETH * @notice Unwrap FTM from WFTM
* @param amt The amount of weth to withdraw. (For max: `uint256(-1)`) * @param amt The amount of wFTM to withdraw. (For max: `uint256(-1)`)
* @param getId ID to retrieve amt. * @param getId ID to retrieve amt.
* @param setId ID stores the amount of ETH withdrawn. * @param setId ID stores the amount of FTM withdrawn.
*/ */
function withdraw( function withdraw(
uint amt, uint amt,
@ -60,6 +60,6 @@ abstract contract Resolver is Events, DSMath, Basic, Helpers {
} }
} }
contract ConnectV2WETHArbitrum is Resolver { contract ConnectV2WFTMFantom is Resolver {
string constant public name = "WETH-v1.0"; string constant public name = "WFTM-v1.0";
} }