( stakingAddress: string, smardexTokenAddress: string, )
| 424 | } |
| 425 | |
| 426 | export 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 | |
| 437 | export async function deployStaking(smardexTokenAddress: string, farmingAddress: string): Promise<Staking> { |
| 438 | const contractStaking = await ethers.getContractFactory("Staking", {}); |
no outgoing calls
no test coverage detected