Add writer interface declaration

This commit is contained in:
nolash
2021-10-24 15:25:33 +02:00
parent c630627e98
commit 74f436cef7

View File

@@ -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;
}
}