mirror of
git://holbrook.no/eth-accounts-index
synced 2024-12-22 12:27:31 +01:00
Add writer interface declaration
This commit is contained in:
parent
c630627e98
commit
74f436cef7
@ -6,7 +6,6 @@ contract CustodialAccountIndex {
|
||||
|
||||
address[] entries;
|
||||
mapping(address => uint256) entryIndex;
|
||||
uint256 count;
|
||||
mapping(address => bool) writers;
|
||||
address public owner;
|
||||
address newOwner;
|
||||
@ -88,6 +87,9 @@ contract CustodialAccountIndex {
|
||||
if (_sum == 0x37a47be4) { // OwnedAccepter
|
||||
return true;
|
||||
}
|
||||
if (_sum == 0x80c84bd6) { // Writer
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user