Minor updates

This commit is contained in:
Shriya Tyagi 2023-04-24 01:08:00 +04:00
parent 266d626224
commit f9d01d53f9
5 changed files with 6 additions and 8 deletions

View File

@ -1,6 +1,5 @@
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pragma solidity ^0.7.6; pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;
contract Events { contract Events {
event LogRewardsClaimed( event LogRewardsClaimed(

View File

@ -1,6 +1,5 @@
//SPDX-License-Identifier: MIT //SPDX-License-Identifier: MIT
pragma solidity ^0.7.0; pragma solidity ^0.7.0;
pragma abicoder v2;
import { TokenInterface } from "../../../common/interfaces.sol"; import { TokenInterface } from "../../../common/interfaces.sol";
import { DSMath } from "../../../common/math.sol"; import { DSMath } from "../../../common/math.sol";

View File

@ -1,6 +1,6 @@
//SPDX-License-Identifier: MIT //SPDX-License-Identifier: MIT
pragma solidity ^0.7.0; pragma solidity ^0.7.0;
pragma abicoder v2; pragma experimental ABIEncoderV2;
struct UserCollateral { struct UserCollateral {
uint128 balance; uint128 balance;

View File

@ -3,7 +3,7 @@ pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2; pragma experimental ABIEncoderV2;
/** /**
* @title Compound. * @title Compound Polygon.
* @dev Rewards. * @dev Rewards.
*/ */
@ -64,5 +64,5 @@ abstract contract CompoundV3RewardsResolver is Events, Helpers {
} }
contract ConnectV2CompoundV3PolygonRewards is CompoundV3RewardsResolver { contract ConnectV2CompoundV3PolygonRewards is CompoundV3RewardsResolver {
string public name = "CompoundV3-Polygon-Rewards-v1.0"; string public constant name = "CompoundV3-Polygon-Rewards-v1.0";
} }

View File

@ -3,7 +3,7 @@ pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2; pragma experimental ABIEncoderV2;
/** /**
* @title Compound III * @title Compound III Polygon.
* @dev Lending & Borrowing. * @dev Lending & Borrowing.
*/ */
@ -928,5 +928,5 @@ abstract contract CompoundV3Contract is Events, Helpers {
} }
contract ConnectV2CompoundV3Polygon is CompoundV3Contract { contract ConnectV2CompoundV3Polygon is CompoundV3Contract {
string public name = "CompoundV3-Polygon-v1.0"; string public constant name = "CompoundV3-Polygon-v1.0";
} }