Skip to content

Commit 6d67d5c

Browse files
authored
Merge pull request #15 from darcys22/versioning
add versioning to contracts
2 parents a254f7b + 2fa8533 commit 6d67d5c

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed

contracts/RewardRatePool.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
1212
contract RewardRatePool is Initializable, Ownable2StepUpgradeable {
1313
using SafeERC20 for IERC20;
1414

15+
uint256 public constant VERSION = 1;
16+
1517
// solhint-disable-next-line var-name-mixedcase
1618
IERC20 public SESH;
1719

contracts/SESH.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import "./libraries/Shared.sol";
1212
* @notice The SESH utility token with Arbitrum Custom Gateway support
1313
*/
1414
contract SESH is ICustomToken, ERC20, ERC20Permit, Shared {
15+
uint256 public constant VERSION = 1;
16+
1517
address public immutable gateway;
1618
address public immutable router;
1719
bool private shouldRegisterGateway;

contracts/SESHL2.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import "./libraries/arbitrum-bridge/IArbToken.sol";
1010
* @notice L2 representation of the SESH token, bridged from L1
1111
*/
1212
contract SESHL2 is Initializable, ERC20Upgradeable, IArbToken {
13+
14+
uint256 public constant VERSION = 1;
15+
1316
address public l2Gateway;
1417
address public l1Address;
1518

contracts/ServiceNodeContributionFactory.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol";
88
import "@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol";
99

1010
contract ServiceNodeContributionFactory is Initializable, Ownable2StepUpgradeable, PausableUpgradeable, IServiceNodeContributionFactory {
11+
12+
uint256 public constant VERSION = 1;
13+
1114
IServiceNodeRewards public stakingRewardsContract;
1215

1316
/// Tracks the contribution contracts that have been deployed from this

contracts/ServiceNodeRewards.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
1414
/// @title Service Node Rewards Contract
1515
/// @notice This contract manages the rewards and public keys for service nodes.
1616
contract ServiceNodeRewards is Initializable, Ownable2StepUpgradeable, PausableUpgradeable, IServiceNodeRewards {
17+
18+
uint256 public constant VERSION = 1;
19+
1720
using SafeERC20 for IERC20;
1821

1922
bool public isStarted;

0 commit comments

Comments
 (0)