Saferoot
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
Balances ($0.00)
No balances found for "Saferoot"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Saferoot"
ABI
ABI objects
Getter at block 20935165
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
SERVICE_ROLE() view returns (bytes32)
0xd8a7a79547af723ee3e12b59a480111268d8969c634e1a34a144d2c8b91d635b
USER_ROLE() view returns (bytes32)
0x14823911f2da1b49f045a0929a60b8c1f2a7fc8c06c7284ca3e8ab4e193a08c8
addresses() view returns (address user, address backup, address service)
(user=0x0000000000000000000000000000000000000000, backup=0x0000000000000000000000000000000000000000, service=0x0000000000000000000000000000000000000000)
currentSafeguardKey() view returns (uint256)
0
Read-only
decodeKeyAddress(bytes32 _key) pure returns (address)
decodeKeyCounter(bytes32 _key) pure returns (uint256)
decodeKeyTokenType(bytes32 _key) pure returns (uint256)
encodeKey(address _addr, uint8 _tokenType, uint256 _counter) pure returns (bytes32)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
keyToTokenIDMapping(bytes32) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addSafeguard(struct SafeguardEntry[] _ercEntries)
grantRole(bytes32 role, address account)
initialize(address _service, address _user, address _backup)
initializeAndAddSafeguard(address _service, address _user, address _backup, struct SafeguardEntry[] _ercEntries)
initiateSafeguard(bytes32[] _safeguardKeys)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setBackupWallet(address _backup)
withdrawERC20(address _tokenAddress)
withdrawERC721(address _tokenAddress, uint256 tokenId)
BackupUpdated(address indexed walletAddress)
ERC1155SafeguardAdded(bytes32 key)
ERC20SafeguardAdded(bytes32 key)
ERC721SafeguardAdded(bytes32 key)
Initialized(uint8 version)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SafeguardInitiated(bytes32 key)
TransferSkip(bytes32 key, uint256 indexed tokenType)
constructor()
This contract contains no fallback and receive objects.
InvalidContractAddress()
InvalidTokenID()
InvalidTokenType()
NotService(address caller)
NotUser(address caller)
SafeguardDoesNotExist()
ZeroAddress()