-
| At first I select 'account_1' to deploy this contract, and then "fund" 1e+18 Wei  by 'account_1'; after that I switch to "account_2" and "fund" 1e+18 Wei again. 
 | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            cromewar
          
      
      
        Aug 26, 2022 
      
    
    Replies: 1 comment 2 replies
-
| Hello @frank0532 
 I hope this info might help. | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
      Answer selected by
        frank0532
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Hello @frank0532
Fundmewhich keeps the amount funded, so neither the account 1 or 2 have that funds.Fundmeso if 10 accounts send funds, the one using the withdraw function, will get all the funds (of the 10 accounts).Here you have to take something in consideration, we suppose the creator of the crowdfunding campaign is the same one who deploys the contract, so all the funds are withdraw to the account_1 (as is the owner of the contract).
But let's suppose the person creating the contract is not the same as the one requesting the funding, well there are a lot of solu…