MCPcopy Create free account
hub / github.com/SmarDex-Dev/smart-contracts / deployCheckBlockTest

Function deployCheckBlockTest

test/deployers.ts:426–435  ·  view source on GitHub ↗
(
  stakingAddress: string,
  smardexTokenAddress: string,
)

Source from the content-addressed store, hash-verified

424}
425
426export async function deployCheckBlockTest(
427 stakingAddress: string,
428 smardexTokenAddress: string,
429): Promise<CheckBlockTest> {
430 const factory = await ethers.getContractFactory("CheckBlockTest", {});
431 const checkBlockTest = await factory.deploy(stakingAddress, smardexTokenAddress);
432 await checkBlockTest.deployed();
433
434 return checkBlockTest;
435}
436
437export async function deployStaking(smardexTokenAddress: string, farmingAddress: string): Promise<Staking> {
438 const contractStaking = await ethers.getContractFactory("Staking", {});

Callers 1

unitFixtureStakingFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected