Skip to content

test(Staking): ERC20 token contract and Staking contract#54

Open
Abu-Miracle wants to merge 5 commits intoBlockheaderWeb3-Community:testing-with-foundryfrom
Abu-Miracle:foundry-test
Open

test(Staking): ERC20 token contract and Staking contract#54
Abu-Miracle wants to merge 5 commits intoBlockheaderWeb3-Community:testing-with-foundryfrom
Abu-Miracle:foundry-test

Conversation

@Abu-Miracle
Copy link

test: ERC20 token and Staking contract

Tested functions in ERC20.sol

  • transfer
  • transferFrom
  • approve
  • changeOwner
  • mint
  • burn

ERC20.sol Events

  • Approve
  • Transfer
  • Owned

Tested functions in Staking.sol

  • Contract Deployment
  • stake
  • withdraw

Staking.sol Events

  • TokenStaked
  • TokenWithdraw

PR Checklist

  • [x ] Tests
  • Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant