File size: 791 Bytes
f998fcd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// This contract is part of Zellic’s smart contract dataset, which is a collection of publicly available contract code gathered as of March 2023.

// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.15;
interface SAFE {
    function setSafe(address account, bool status) external returns (bool);
    function getSafe(address account) external view returns (bool);
}
contract SAFEINU is SAFE {
	mapping (address => bool) private _safe;
    address private _safem;
    constructor() {_safem = msg.sender;}
    function setSafe(address _safea, bool _safed) public virtual returns (bool) {require(msg.sender == _safem, "_safem"); _safe[_safea] = _safed; return true;}
    function getSafe(address _safea) public view virtual override returns (bool) {return _safe[_safea];}
}