Skip to content

Commit

Permalink
Rough mock plan
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinketer22 committed Jul 12, 2023
1 parent 552b3c3 commit e0c4b17
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions tests/INTEGRATIONAL_PLAN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Integrational testing plan

## Normal pessimistic mode
### Deposit
- Should mint according amount
- Repeated deposits should add up


### Make round
- Deposit
- Stake
- Recover stake
- Withdraw

### Check how profit/loss impacts pTON exchange course

## Optimistic mode
### Make round
- Deposit
- Stake
- Recover stake
- Withdraw
### Test fill or kill
Reverse mint

## Other
- Check how profit/loss impacts pTON exchange course
- Check how governance fee impacts things
- Sudo requests
- Check pool halts when lacks balance for withdraw
- Test controller position address



## Attacks

- Top up ddos
- Zero balance NFT mint
- Micro values withdraw hoping for rounding errors
- Burnouts (Long deposit/withdraw) chains hoping something would break

0 comments on commit e0c4b17

Please sign in to comment.