rename WorkContract to Work
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s Details

This commit is contained in:
Ladd Hoffman 2024-04-28 18:11:20 -05:00
parent fe0326bf2c
commit 2c5fb00180
4 changed files with 10 additions and 10 deletions

View File

@ -3,15 +3,15 @@ pragma solidity ^0.8.24;
import "./core/DAO.sol";
import "./core/Forum.sol";
import "./WorkContract.sol";
import "./Work.sol";
import "./interfaces/IOnValidate.sol";
contract Onboarding is WorkContract, IOnValidate {
contract Onboarding is Work, IOnValidate {
constructor(
DAO dao_,
Proposals proposals_,
uint price_
) WorkContract(dao_, proposals_, price_) {}
) Work(dao_, proposals_, price_) {}
/// Accept work approval/disapproval from customer
function submitWorkApproval(

View File

@ -1,10 +1,10 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.24;
import "./WorkContract.sol";
import "./Work.sol";
import "./Rollup.sol";
abstract contract RollableWorkContract is WorkContract {
abstract contract RollableWork is Work {
Rollup immutable rollupContract;
constructor(
@ -12,7 +12,7 @@ abstract contract RollableWorkContract is WorkContract {
Proposals proposalsContract,
uint price,
Rollup rollupContract_
) WorkContract(dao, proposalsContract, price) {
) Work(dao, proposalsContract, price) {
rollupContract = rollupContract_;
}

View File

@ -7,7 +7,7 @@ import "./Availability.sol";
import "./Proposals.sol";
import "./interfaces/IOnProposalAccepted.sol";
abstract contract WorkContract is Availability, IOnProposalAccepted {
abstract contract Work is Availability, IOnProposalAccepted {
enum WorkStatus {
Requested,
EvidenceSubmitted,

View File

@ -2,13 +2,13 @@
pragma solidity ^0.8.24;
import "./core/DAO.sol";
import "./WorkContract.sol";
import "./Work.sol";
import "./Proposals.sol";
contract Work1 is WorkContract {
contract Work1 is Work {
constructor(
DAO dao_,
Proposals proposals_,
uint price_
) WorkContract(dao_, proposals_, price_) {}
) Work(dao_, proposals_, price_) {}
}