8000 GitHub - akerems/BNBLaunchPad: My patika.dev project on BNB Test Network. · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

About

My patika.dev project on BNB Test Network.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

BNBLaunchPad | my patika.dev project on BNB testnet.

Contract Address: 0xd0d4563d10fb1e591767d007f25fed981c51e0e2

My test process 1

  • createProject(Patika,1,1):
    I create a project called Patika
    I want to collect 1 BNB in total to fund the project
    The last parameter means I want my funding to end in 1 hours

  • fundProject(1):
    I funded the project with id 1, my msg value was 1 BNB.
    If it was more than 1 BNB, thanks to the conditions in my fundproject function it would refund the exceeded amount
    The parameter isFunded of project with id 1 became true, because it reached the goal amount.

  • withdrawFunds(1):
    I withdrawed the 1st project's funds to the owner wallet.
    The parameter isWithdrawn of project with id 1 became true;
    0: address: creator 0x39eCEc85DF8e2D63456436443Ded27e305184208
    1: string: projectName Patika
    2: uint256: goalAmount 1
    3: uint256: raisedAmount 1
    4: uint256: deadline 1687011228
    5: bool: isFunded true
    6: bool: isWithdrawn true

  • getContribution(1):
    uint256: 1
    it shows the msg.sender's contribution to the project with id 1.

  • getContributionByAddress(1,0x39eCEc85DF8e2D63456436443Ded27e305184208):
    uint256: 1
    it shows the contributions by addresses.

About

My patika.dev project on BNB Test Network.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0