From ea6d068555e3532eb65e71af36cd2116212ee0db Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Tue, 9 Apr 2024 05:50:46 -0500 Subject: [PATCH] comments --- ethereum/contracts/DAO.sol | 3 --- ethereum/contracts/core/Forum.sol | 1 + ethereum/contracts/core/Reputation.sol | 3 +++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ethereum/contracts/DAO.sol b/ethereum/contracts/DAO.sol index 92dd9f6..eab3222 100644 --- a/ethereum/contracts/DAO.sol +++ b/ethereum/contracts/DAO.sol @@ -9,9 +9,6 @@ import "./interfaces/IAcceptAvailability.sol"; import "hardhat/console.sol"; -/// This contract must manage validation pools and reputation, -/// because otherwise there's no way to enforce appropriate permissions on -/// transfer of value between reputation NFTs. contract DAO is Reputation, Forum, ValidationPools { /// Transfer REP to a contract, and call that contract's receiveTransfer method function stakeAvailability( diff --git a/ethereum/contracts/core/Forum.sol b/ethereum/contracts/core/Forum.sol index fff1d80..f281bb0 100644 --- a/ethereum/contracts/core/Forum.sol +++ b/ethereum/contracts/core/Forum.sol @@ -6,6 +6,7 @@ struct Post { address sender; address author; string contentId; + // TODO: citations } contract Forum { diff --git a/ethereum/contracts/core/Reputation.sol b/ethereum/contracts/core/Reputation.sol index 1167844..40d7c7a 100644 --- a/ethereum/contracts/core/Reputation.sol +++ b/ethereum/contracts/core/Reputation.sol @@ -8,3 +8,6 @@ contract Reputation is ERC20("Reputation", "REP") { return 9; } } + +// TODO: try implementing as ERC721 +// If that doesn't work, try writing from scratch