Skip to content

Commit 178c324

Browse files
authored
improve: add rate model store on kovan (#126)
Signed-off-by: Matt Rice <matthewcrice32@gmail.com>
1 parent 3f37bed commit 178c324

File tree

3 files changed

+460
-0
lines changed

3 files changed

+460
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// This import is needed to override the definition of the HardhatRuntimeEnvironment type.
2+
import "hardhat-deploy";
3+
import { HardhatRuntimeEnvironment } from "hardhat/types/runtime";
4+
5+
const func = async function (hre: HardhatRuntimeEnvironment) {
6+
const { deployments, getNamedAccounts } = hre;
7+
const { deploy } = deployments;
8+
9+
const { deployer } = await getNamedAccounts();
10+
11+
await deploy("RateModelStore", {
12+
from: deployer,
13+
log: true,
14+
skipIfAlreadyDeployed: true,
15+
});
16+
};
17+
18+
module.exports = func;
19+
func.tags = ["RateModelStore", "mainnet"];

0 commit comments

Comments
 (0)