From 705c52b47820dfec0977ebf8de76c770d5df46ed Mon Sep 17 00:00:00 2001 From: six <51x@keemail.me> Date: Fri, 25 Aug 2023 09:34:13 +0200 Subject: [PATCH] Actualize it --- README.md | 28 +++++++++++++++++----------- contracts/Hall_of_Fame.sol | 4 ++-- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 6205b75..d7b319e 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,23 @@ -# DCTF Beta +# DCTF v0.1 -Decentralized CTF engine, used by CCTF +The first decentralized CTF engine, used by CCTF -Testnet deployment on Moonbase Alpha: https://moonbase.moonscan.io/address/0x919f68cc35ce5d49a45c94dc44e7bf444f9a7531 +Testnet deployment on Moonbase Alpha: https://moonbase.moonscan.io/address/0x70f0cec3c99103113d96ed8ad82ae6a8d9a735a0#code + +Testnet Hall of Fame on Moonbase Alpha: https://moonbase.moonscan.io/address/0xb70780843be242474025f185bf26dddadfc27f43#code + +Main team contributors: six, Silur, Anonz team, Metafaka team, BMEta team +Hackathon contributors: SI, username, Anon, GuyFromUniversity, ZK + +### Short-term ToDo + +- Finish the Vault +- Finish the Hall of Fame with multi-management DAO style setup (approval needed for valid flag?) +- Architect the topology, research best way so all features work together +- Check and fix FE - contract integration, partially done, we need remote removals +- Add FE missing functions +- Re-architect in a way we don't need to redeploy -Contributors: six, Silur, Anonz team, Metafaka team, BMEta team # Workshop at HITB 2023 @@ -23,10 +36,3 @@ We will go through a fast intro to Web3 and how to hack DCTF. Anyone present at This is a free flow workshop. Six can explain these you in 20 mins, but vibes will tell how long you stay and hack. For generating the ECDSA signatures and message hashes, use: https://git.hsbp.org/six/eth_keygen/src/branch/master/ethkeygen.py - -### Short-term ToDo - -- [ ] Update ABI -- [ ] Check and fix FE - contract integration -- [ ] Add FE missing functions -- [ ] Re-architect in a way we don't need to redeploy \ No newline at end of file diff --git a/contracts/Hall_of_Fame.sol b/contracts/Hall_of_Fame.sol index 20ed906..be43daa 100644 --- a/contracts/Hall_of_Fame.sol +++ b/contracts/Hall_of_Fame.sol @@ -37,14 +37,14 @@ modifier only_famman { } Player[] public players; - function addContributor(string memory _name, string memory _skills) external { + function addContributor(string memory _name, string memory _skills) external only_famman { contributor_count = contributor_count+1; contributors.push(Contributor(contributor_count, _name, _skills, block.timestamp)); } // There is no remove, once someone contributed it is safu. - function addPlayer(string memory _name, string memory _skills, string memory _team_name) external { + function addPlayer(string memory _name, string memory _skills, string memory _team_name) external only_famman { player_count = player_count+1; players.push(Player(contributor_count, _name, _skills, _team_name, block.timestamp)); }