Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Commit

Permalink
Change name
Browse files Browse the repository at this point in the history
  • Loading branch information
Somnath B committed Sep 20, 2022
1 parent 38128f3 commit 1c864bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./Structs.sol";
import "./Enums.sol";

contract SimpleEmployment {
contract SimpleGigPact {

event LogPaymentMade(uint value, address payer);
event LogPaymentWithdrawn(uint value, address payee);
Expand Down
4 changes: 2 additions & 2 deletions test/SimpleEmployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function setSigners() {

// async function deployPact(args: [any, string, string, string, any]){
async function deployPact(args: [pactName: string, employee: string, employer: string, paySchedule: string, payAmount: any]) {
let pactFactory = await ethers.getContractFactory("SimpleEmployment")
let pactFactory = await ethers.getContractFactory("SimpleGigPact")
return pactFactory.deploy(...args)
}

Expand Down Expand Up @@ -56,7 +56,7 @@ async function deployToDisputePact(suggestedAmt: BigNumberish) {

const [testDeploy, testSigning, testPactions, testdispute] = [false, false, true, false]

describe("SimpleEmployment", function () {
describe("SimpleGigPact", function () {

this.beforeAll(async () => {
await setSigners()
Expand Down

0 comments on commit 1c864bf

Please sign in to comment.