Saferoot

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x322bc6e9 at 18022961
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots

No balances found for "Saferoot"

No transactions found for "Saferoot"


Functions
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 useraddress backupaddress service)
(user=0x0000000000000000000000000000000000000000, backup=0x0000000000000000000000000000000000000000, service=0x0000000000000000000000000000000000000000)
currentSafeguardKey(view returns (uint256)
0
Read-only
decodeKeyAddress(bytes32 _keypure returns (address)
decodeKeyCounter(bytes32 _keypure returns (uint256)
decodeKeyTokenType(bytes32 _keypure returns (uint256)
encodeKey(address _addruint8 _tokenTypeuint256 _counterpure returns (bytes32)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
keyToTokenIDMapping(bytes32view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addSafeguard(struct SafeguardEntry[] _ercEntries
grantRole(bytes32 roleaddress account
initialize(address _serviceaddress _useraddress _backup
initializeAndAddSafeguard(address _serviceaddress _useraddress _backupstruct SafeguardEntry[] _ercEntries
initiateSafeguard(bytes32[] _safeguardKeys
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBackupWallet(address _backup
withdrawERC20(address _tokenAddress
withdrawERC721(address _tokenAddressuint256 tokenId
Events
BackupUpdated(address indexed walletAddress
ERC1155SafeguardAdded(bytes32 key
ERC20SafeguardAdded(bytes32 key
ERC721SafeguardAdded(bytes32 key
Initialized(uint8 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SafeguardInitiated(bytes32 key
TransferSkip(bytes32 keyuint256 indexed tokenType
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InvalidContractAddress(
InvalidTokenID(
InvalidTokenType(
NotService(address caller
NotUser(address caller
SafeguardDoesNotExist(
ZeroAddress(