eth-accounts-index

Accounts index evm contract tooling with permissioned writes
Log | Files | Refs

commit 74f436cef70106d03de5d86c905e60c632d3316f
parent c630627e9823867165286441caa8f41e7f743e91
Author: nolash <dev@holbrook.no>
Date:   Sun, 24 Oct 2021 15:25:33 +0200

Add writer interface declaration

Diffstat:
Msolidity/AccountsIndex.sol | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/solidity/AccountsIndex.sol b/solidity/AccountsIndex.sol @@ -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; } }