Ricardo Guilherme Schmidt
67c561dc4a
better suited err msg
2018-10-15 14:57:26 -04:00
Ricardo Guilherme Schmidt
5f3ef8842c
add eraseNode tool
2018-10-15 14:57:26 -04:00
Ricardo Guilherme Schmidt
7cc9448207
allow usernames starting with 0x and non hex chars
2018-10-15 14:57:26 -04:00
Ricardo Guilherme Schmidt
c4686a9c39
require caller to know new registry address
2018-10-15 14:57:26 -04:00
Ricardo Guilherme Schmidt
95f3e53081
require all slash commit-reveal
2018-10-15 14:57:26 -04:00
Barry G
3181e0f120
Revert breaking changes ( #33 )
...
* Revert "deploy updated username registrar to ropsten"
This reverts commit cdbc253d8d
.
* change getReleaseTime to getExpirationTime
2018-10-03 14:38:52 -03:00
Ricardo Guilherme Schmidt
c6636fe6b9
partial slashing reward, reward msgsender and reserver
2018-09-30 20:14:29 -03:00
Ricardo Guilherme Schmidt
a1fe1f02e7
prevent gas errors with low level call
2018-09-30 01:58:02 -03:00
Ricardo Guilherme Schmidt
fbd0e3a9a2
refactor release to check effects interactions
2018-09-30 01:57:18 -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
bc239bad70
prevent reentracy from registerUser to slashUsername
2018-09-30 00:44:23 -03:00
Ricardo Guilherme Schmidt
c81f6d405e
improve consistency
2018-09-30 00:26:03 -03:00
Ricardo Guilherme Schmidt
4614f1a128
grammar fix
2018-09-29 23:32:42 -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
8a182ea235
remove legacy abi
2018-09-13 18:40:24 -03:00
Ricardo Guilherme Schmidt
d7dad9af75
fix legacy contract support
2018-09-13 12:44:08 -03:00
Ricardo Guilherme Schmidt
a37440c75e
sanity check on constructor arguments
2018-09-13 11:08:20 -03:00
Barry Gitarts
b3b407b9dd
update ENS interface to match ENSregistry
2018-09-13 08:20:39 -04:00
Ricardo Guilherme Schmidt
16d84233fc
remove restriction on moveRegistry to avoid loss of ens name
2018-09-06 16:45:33 -03:00
Ricardo Guilherme Schmidt
043156cc56
prevent moveAccount to self contract.
2018-09-06 16:38:24 -03:00
Ricardo Guilherme Schmidt
aacd113255
improve natspec, reoder private function to bottom of file
2018-09-06 02:14:40 -03:00
Ricardo Guilherme Schmidt
6145ac2da7
supress warning in low level call
2018-09-05 22:18:37 -03:00
Ricardo Guilherme Schmidt
e43f8e5228
Contracts maintaince
2018-09-05 22:05:38 -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
ef33af9ea5
slashing condition subdomain "like address" hardened
2018-08-30 09:44:22 -04:00
Ricardo Guilherme Schmidt
adfde1c0e0
changed events and renamed funds owner to account owner
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
81aa4a4004
small logic fix
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
Ricardo Guilherme Schmidt
180cdc3215
small typos
2018-08-30 09:44:22 -04:00
Ricardo Guilherme Schmidt
ef4934417b
add unallowed chars slashing mechanism
2018-08-30 09:44:22 -04:00
Ricardo Guilherme Schmidt
6065b0cf65
allow move account directly to last version
2018-08-24 04:40:38 -03:00
Ricardo Guilherme Schmidt
51819d06ec
fix (new) warnings
2018-08-24 04:39:32 -03:00
Barry Gitarts
2db113a390
update PublicResolver contract to support multihash
2018-08-23 11:34:42 -04:00
Barry Gitarts
66e12a1258
change release function to ensure block time is greater than release
...
change releaseDelay to using days as years is deprecated in solidity
2018-08-17 18:09:18 -04:00
Barry Gitarts
516ea30fe6
Revert "add sendwithapproval method"
...
This reverts commit 1ea3b8b149
.
2018-08-15 11:14:13 -04:00
Barry Gitarts
1ea3b8b149
add sendwithapproval method
...
use send with approval
2018-08-15 11:12:31 -04:00
Barry Gitarts
7c8b4eda72
updated TestToken to include approveAndCall like SNT contract
2018-08-14 15:30:26 -04:00
Barry Gitarts
6d48a33509
remove statusAccount from enssubdomain registry tests
2018-08-10 12:43:41 -06:00
Barry Gitarts
10500ac171
add expiration time for given domain
2018-06-19 10:12:49 -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
Barry Gitarts
6b2e95edea
add message for failed assert in function addDomain
2018-06-08 15:10:23 -04:00
Ricardo Guilherme Schmidt
ac252e2a83
simplify move account + get creation time view
2018-06-08 15:01:23 -04:00
Ricardo Guilherme Schmidt
2bf684acca
add modifier and reorganize functions
2018-06-08 15:01:23 -04:00
Ricardo Guilherme Schmidt
a659db086d
rename BackupOwner -> FundsOwner and add event for it
2018-06-08 15:01:23 -04:00
Ricardo Guilherme Schmidt
db2d429674
natspec fix
2018-06-08 15:01:23 -04:00
Ricardo Guilherme Schmidt
c4e6a396e8
better protect user funds by backup owner
2018-06-08 15:01:23 -04:00
Ricardo Guilherme Schmidt
8de66fe108
fix in release time check
2018-06-08 14:59:29 -04:00