This repo provides truffle based tests which carry out different attacks on the commonly used contracts and libraries in the Space
- Ensure you have Truffle installed
- Run testrpc or any other ethereum node
- Run
truffle test
from the repo directory
-
- Addition:: -1 Added to 0 (overflow) : Should fail Addition - Minus:
-
- Allocate Tokens :: Should fail to allocate Negative value tokens (Underflow):
- Allocate Tokens :: Should Fail to allocate new value without updating allocation to 0:
- Allocate Tokens :: Should fail to raise allocation by Negative value (possibly underflow):
- Allocate Tokens :: Should fail to reduce allocation by Negative value:
To contribute, kindly create an issue to indicate what you would be working on, then create a PR once code is ready.
Buy me a Coffe or a Beer
Ethereum: 0x965D1C9987BD2c34e151E63d60AFf8E9dB6b1561