Move DAO contract to core/
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s
Details
This commit is contained in:
parent
a54cc86dba
commit
758f4fe7bd
|
@ -1,7 +1,7 @@
|
|||
// SPDX-License-Identifier: Unlicense
|
||||
pragma solidity ^0.8.24;
|
||||
|
||||
import "./DAO.sol";
|
||||
import "./core/DAO.sol";
|
||||
import "./core/Forum.sol";
|
||||
import "./WorkContract.sol";
|
||||
import "./interfaces/IOnValidate.sol";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// SPDX-License-Identifier: Unlicense
|
||||
pragma solidity ^0.8.24;
|
||||
|
||||
import "./DAO.sol";
|
||||
import "./core/DAO.sol";
|
||||
import "./interfaces/IOnValidate.sol";
|
||||
import "./interfaces/IOnProposalAccepted.sol";
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// SPDX-License-Identifier: Unlicense
|
||||
pragma solidity ^0.8.24;
|
||||
|
||||
import "./DAO.sol";
|
||||
import "./core/DAO.sol";
|
||||
import "./WorkContract.sol";
|
||||
import "./Proposals.sol";
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
// SPDX-License-Identifier: Unlicense
|
||||
pragma solidity ^0.8.24;
|
||||
|
||||
import "./DAO.sol";
|
||||
import "./Proposals.sol";
|
||||
import "./core/DAO.sol";
|
||||
import "./core/Forum.sol";
|
||||
import "./Proposals.sol";
|
||||
import "./interfaces/IAcceptAvailability.sol";
|
||||
import "./interfaces/IOnProposalAccepted.sol";
|
||||
import "hardhat/console.sol";
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
pragma solidity ^0.8.24;
|
||||
|
||||
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
||||
import "./core/Reputation.sol";
|
||||
import "./core/ValidationPools.sol";
|
||||
import "./core/Forum.sol";
|
||||
import "./interfaces/IAcceptAvailability.sol";
|
||||
import "./Reputation.sol";
|
||||
import "./ValidationPools.sol";
|
||||
import "./Forum.sol";
|
||||
import "../interfaces/IAcceptAvailability.sol";
|
||||
import "hardhat/console.sol";
|
||||
|
||||
// TODO: consider dynamically constructing contract instances rather than merging at build time
|
||||
contract DAO is Reputation, Forum, ValidationPools {
|
||||
/// Transfer REP to a contract, and call that contract's receiveTransfer method
|
||||
/// Authorize a contract to transfer REP, and call that contract's receiveTransfer method
|
||||
function stakeAvailability(
|
||||
address to,
|
||||
uint256 value,
|
Loading…
Reference in New Issue