Skip to content

Commit 740a71e

Browse files
Fix methods names
1 parent 29761c6 commit 740a71e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

contracts/staking/token/TokenPoolsManager.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ contract TokenPoolsManager is AccessControl{
109109
pool.setLimitsConfig(params);
110110
}
111111

112-
function deactivateDoubleSidePool(string memory _pool) public onlyRole(DEFAULT_ADMIN_ROLE) {
112+
function deactivateLimitedTokenPool(string memory _pool) public onlyRole(DEFAULT_ADMIN_ROLE) {
113113
require(depositedPools[_pool] != address(0), "Pool does not exist");
114114
LimitedTokenPool pool = LimitedTokenPool(depositedPools[_pool]);
115115
pool.deactivate();
116116
emit DepositedPoolDeactivated(_pool);
117117
}
118118

119-
function activateDoubleSidePool(string memory _pool) public onlyRole(DEFAULT_ADMIN_ROLE) {
119+
function activateLimitedTokenPool(string memory _pool) public onlyRole(DEFAULT_ADMIN_ROLE) {
120120
require(depositedPools[_pool] != address(0), "Pool does not exist");
121121
LimitedTokenPool pool = LimitedTokenPool(depositedPools[_pool]);
122122
pool.activate();

test/staking/token/TokenPoolsManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ describe("PoolsManager", function () {
207207

208208
const proxyPool = new ethers.Contract(poolAddress, LimitedTokenPoolJson.abi, owner);
209209
expect(await proxyPool.active()).to.equal(true);
210-
await poolsManager.deactivateDoubleSidePool("TestDepositedPool");
210+
await poolsManager.deactivateLimitedTokenPool("TestDepositedPool");
211211
expect(await proxyPool.active()).to.equal(false);
212-
await poolsManager.activateDoubleSidePool("TestDepositedPool");
212+
await poolsManager.activateLimitedTokenPool("TestDepositedPool");
213213
expect(await proxyPool.active()).to.equal(true);
214214
});
215215

0 commit comments

Comments
 (0)