Commit Graph

42 Commits

Author SHA1 Message Date
Ricardo Guilherme Schmidt 5d75325182
better describe method signatures 2018-10-03 10:57:03 -03:00
Ricardo Guilherme Schmidt c6636fe6b9
partial slashing reward, reward msgsender and reserver 2018-09-30 20:14:29 -03:00
Ricardo Guilherme Schmidt a8ec75cc04
option to prevent front running of username slashing 2018-09-30 01:44:33 -03:00
Ricardo Guilherme Schmidt a99de3333e
increase time before slashing to prevent error w/ assert 2018-09-30 01:40:35 -03:00
Ricardo Guilherme Schmidt c81f6d405e
improve consistency 2018-09-30 00:26:03 -03:00
Ricardo Guilherme Schmidt eaefa92a25
make registered usernames in older slashing rules "clearable" in ENS 2018-09-16 23:40:16 -03:00
Ricardo Guilherme Schmidt 47d9e13e8b
fix transfer events check 2018-09-06 03:49:18 -03:00
Ricardo Guilherme Schmidt 06a0181fe1
improve readability of testscript 2018-09-06 02:29:53 -03:00
Ricardo Guilherme Schmidt 30e0dcea6e
Replace magic numbers with event signature calculation (#1) 2018-09-05 19:57:41 -03:00
Ricardo Guilherme Schmidt 50db6df321
Updates 151 ENS Usernames to Embark 3.1 (#21)
* fix run error

* transfer to zero should decerease supply (burn action)

* dont increment address 0 balance

* fix warning

* Update bootstrap to Embark 3.1 (#10)

* update configs to .js

* update tests

* better test abstraction

* undo changes after test

* small fixes
2018-09-05 03:52:30 -03:00
Ricardo Guilherme Schmidt cbfdd9cc72
Removes multiple domain functionaility from project (#20)
* refactor ENSSubdomainRegistry

* Rename contract

* remove obsolete file

* typo

* Add legacy contract upgradability adaptor

* refactor Dapp to use UsernameRegistrar contract

* use reservedNames.js in usernameregistrar.spec.js

* change array of merkle roots to single merkle root

* load reserved words to deploy contract

* reorganized contract methods

* add withdraw methods for controller move excess funds & wrong ens nodes

* add deployed MerkleProof addresses

* include contract terms in the @notice of register

* approve and call fix & solidity update

* add approveAndCall support

* clear subnode owner and resolver
2018-09-04 18:49:39 -03:00
Ricardo Guilherme Schmidt 5a42a19d44 finish coverage of enssubdomainregistry 2018-08-30 09:44:22 -04:00
Ricardo Guilherme Schmidt c35a987d84 new test script for ENS Subdomain Registry 2018-08-30 09:44:22 -04:00
Ricardo Guilherme Schmidt fb3544ebee simplify unallowed chars slash cond., add new slashing cond. 2018-08-30 09:44:22 -04:00
Ricardo Guilherme Schmidt fc7a77a8e4 add test for slashing mechanism 2018-08-30 09:44:22 -04:00
Ricardo Guilherme Schmidt d8a60a8201 fix merkle tree tool to latest web3 2018-08-30 09:44:22 -04:00
Ricardo Guilherme Schmidt 725b68a69e add "empty" merkle root of unallowed chars 2018-08-30 09:44:22 -04:00
Ricardo Guilherme Schmidt b289408e03 utils,and test for merkle proof library 2018-08-30 09:44:22 -04:00
Barry Gitarts 6d48a33509 remove statusAccount from enssubdomain registry tests 2018-08-10 12:43:41 -06:00
Barry Gitarts e6428cc331 add initial elliptic curve points generation 2018-08-10 12:43:41 -06:00
Barry Gitarts 94fcf57fc5 update test for ENSSubDomainRegistry 2018-07-18 10:30:44 -04:00
Barry Gitarts ef4ff22ed5 add status contact code to register method 2018-06-08 15:35:31 -04:00
Barry Gitarts 8bcc29f35c [DO NOT MERGE] change naming of two functions in subdomain registry (#6)
* change naming of two functions in subdomain registry

* rename function calls in tests and UI
2018-06-08 15:35:31 -04:00
Ricardo Guilherme Schmidt dac59c0f55 add .domains(bytes32) test 2018-06-08 15:34:31 -04:00
Ricardo Guilherme Schmidt 576b7e35e3 use on deploy at testscripts 2018-06-08 15:31:21 -04:00
Ricardo Guilherme Schmidt a9cc073c67 small fix in testscript 2018-06-08 15:03:43 -04:00
Ricardo Guilherme Schmidt ee89f3da98 put timeout in right place 2018-06-08 15:01:23 -04:00
Ricardo Guilherme Schmidt 1cd3ea3262 update function in test 2018-06-08 15:01:23 -04:00
Ricardo Guilherme Schmidt c7bde0bfde reorganize tests + domain migration test 2018-06-08 15:01:23 -04:00
Ricardo Guilherme Schmidt b45c2967ce implement release subdomain tests 2018-06-08 15:01:23 -04:00
Ricardo Guilherme Schmidt b36821ca13 fix error 2018-06-08 14:59:29 -04:00
Ricardo Guilherme Schmidt 990fb7aace small fix 2018-06-08 14:59:29 -04:00
Ricardo Guilherme Schmidt 6fccb20963 ens subdomain registry test script 2018-06-08 14:59:29 -04:00
Ricardo Guilherme Schmidt 7020b67943 rename ens testscript 2018-06-08 14:57:48 -04:00
Ricardo Guilherme Schmidt e44f828585 ensregistry test script 2018-06-08 14:57:48 -04:00
Ricardo Guilherme Schmidt 9f97714ba5 add test to controlled, use "Contract" as generic name 2018-05-19 23:36:34 -03:00
Ricardo Guilherme Schmidt 1582881629 improve abstract erc20token test 2018-05-19 22:37:58 -03:00
Ricardo Guilherme Schmidt e63ae2af6e make erc20token test abstract 2018-05-19 17:00:16 -03:00
Ricardo Guilherme Schmidt 7936cf2f25 remove duplicated timeout 2018-05-17 12:08:00 -03:00
Ricardo Guilherme Schmidt eab0c133d1 fix tests 2018-05-13 17:54:05 -03:00
Ricardo Guilherme Schmidt b2c07c63f7 add ERC20Receiver+tests 2018-05-13 14:01:59 -03:00
Ricardo Guilherme Schmidt 0a1cbb5fff test script for testtoken and erc20token 2018-05-12 21:16:18 -03:00