zellic-audit
Initial commit
f998fcd
raw
history blame
791 Bytes
// 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];}
}