Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
new: tests WIP
  • Loading branch information
Denis Ermolin
Denis Ermolin committed Aug 26, 2021
commit 2fc9ce26a5b9712e84a9df1cd00f47246a288fac
14 changes: 14 additions & 0 deletions test/helpers/deployer.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,20 @@ class Deployer {
stakeManager.contract.methods.updateCheckpointRewardParams(val1, val2, val3).encodeABI()
)
}

stakeManager.setBidCooldown = (cooldown) => {
return governance.update(
stakeManager.address,
stakeManager.contract.methods.setBidCooldown(cooldown).encodeABI()
)
}

stakeManager.setMinBidStakeFraction = (fraction) => {
return governance.update(
stakeManager.address,
stakeManager.contract.methods.setMinBidStakeFraction(fraction).encodeABI()
)
}
}

async deployStakeManager(wallets) {
Expand Down
Loading