This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.8.2 <0.9.0; | |
import "hardhat/console.sol"; | |
contract FundDecentralize { | |
/*================= STRUCT =====================*/ | |
struct Member { | |
string name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
// compiler version must be greater than or equal to 0.8.17 and less than 0.9.0 | |
pragma solidity ^0.8.17; | |
contract MoneyFund { | |
struct Participant { | |
string fullName; | |
int piority; | |
uint joinedDate; |