Ricardo Guilherme Schmidt
0e98139632
pause and resume gas meterings
2023-09-26 02:47:46 -03:00
Ricardo Guilherme Schmidt
678a35589c
removed createCloneToken functionality
2023-09-26 02:29:57 -03:00
Ricardo Guilherme Schmidt
e715502da1
Check for reentrancy double spend on onTransfer ( #29 )
...
* chore: add missing trailing slash in remapping
This was not causing any compilation issues, but the solidity language
server gets confused by this and complains about incorrect import
statements otherwise.
* TokenController interactions after balance updates
This test demonstrates that all transfer methods are vulnerable to
callback reentrancy attacks if the controller of the `MiniMeToken` is
malicious.
---------
Co-authored-by: r4bbit <445106+0x-r4bbit@users.noreply.github.com>
2023-09-22 20:25:23 +02:00
r4bbit
fe4146bccb
cleanup: remove unused javascript tests
...
These have been ported to foundry tests.
2023-09-19 09:57:50 -03:00
r4bbit
5386b09f55
tests: port existing JS tests to foundry tests ( #9 )
2023-09-12 17:08:59 +02:00
Jordi Baylina
5665bd4e9a
Full refactor of the tests to use await method
2017-10-21 09:10:44 +02:00
Jordi Baylina
d8983286f2
Fix Create and destroy tokens in cloned tokens
2017-07-30 10:41:34 +02:00
Jordi Baylina
68627576ca
Fix race condition and allow to clone a token in the future
2017-05-18 10:16:43 +02:00
Jordi Baylina
4c367d1ba4
Keep the parent history when you clone a token
2017-05-03 15:22:42 +02:00
Jordi Baylina
31bce217fb
deps
2017-02-12 14:00:40 +01:00
Jordi Baylina
3a7b72a50b
Fix missed edition of the contract
2017-02-10 08:38:42 +01:00
Jordi Baylina
72437eabc6
test
2017-02-10 08:33:42 +01:00
Jordi Baylina
c86e6db09b
Refactor to ECMA6 (babel) and JS class added
2017-02-10 07:24:56 +01:00
Jordi Baylina
7cdae6b451
Updated to new solc version
2017-02-09 07:35:01 +01:00
Jordi Baylina
3c48c46b01
Controller interface change and fix in create clone
2016-12-11 19:45:19 +01:00
Jordi Baylina
126a6a1dbf
Fix race condition on approve
2016-12-11 18:37:52 +01:00
Jordi Baylina
5e8a0fdfa2
Tests corrected and ->
2016-11-13 06:49:15 +01:00
Jordi Baylina
3a9ef00cc5
Child -> Cloned
2016-11-11 18:43:07 +01:00
Jordi Baylina
ddd1df5f9e
Copied token from future recopistory
2016-11-08 14:12:24 +01:00