Skip to content

Instantly share code, notes, and snippets.

View Sobilo34's full-sized avatar
💭
I'm a Protagonist

Bilal Oyeleke - SOBIL Sobilo34

💭
I'm a Protagonist
View GitHub Profile
@Sobilo34
Sobilo34 / Interaction.ts
Created November 2, 2025 16:18
The Interaction script for the Investment contract
import { anyValue } from "@nomicfoundation/hardhat-chai-matchers/withArgs";
import {
loadFixture,
} from "@nomicfoundation/hardhat-toolbox/network-helpers";
import { expect } from "chai";
import hre from "hardhat";
describe("Invest", function () {
async function deployInvestFixture() {
const [owner, investor1, investor2] = await hre.ethers.getSigners();