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