mirror of
git://holbrook.no/eth-accounts-index
synced 2026-05-24 04:56:18 +02:00
Add writer interface declaration
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user