ETH Price: $3,204.99 (-1.80%)

Token

Five currency (WXB)
 

Overview

Max Total Supply

100,000,000,000 WXB

Holders

1,598

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,250 WXB

Value
$0.00
0xd4239c5c2759efe9fe82efc50ab89fdcb15f677b
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WXB

Compiler Version
v0.4.26+commit.4563c3fc

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-02-19
*/

pragma solidity ^0.4.26;

interface ERC20 {
function transferFrom(address _from, address _to, uint256 _value)
external returns (bool);
function transfer(address _to, uint256 _value)
external returns (bool);
function balanceOf(address _owner)
external constant returns (uint256);
function allowance(address _owner, address _spender)
external returns (uint256);
function approve(address _spender, uint256 _value)
external returns (bool);
event Approval(address indexed _owner, address indexed _spender, uint256  _val);
event Transfer(address indexed _from, address indexed _to, uint256 _val);
}

contract WXB is ERC20 {
uint256 public totalSupply;
uint public decimals;
string public symbol;
string public name;
mapping (address => mapping (address => uint256)) approach;
mapping (address => uint256) holders;

constructor() public {
    name = "Five currency";
    symbol = "WXB";
    decimals = 18;
    totalSupply =  100000 * 10000 * 100 * 10**uint(decimals);
    holders[msg.sender] = totalSupply;
}

function () public {
revert();
}

function balanceOf(address _own)
public view returns (uint256) {
return holders[_own];
}

function transfer(address _to, uint256 _val)
public returns (bool) {
require(holders[msg.sender] >= _val);
require(msg.sender != _to);
assert(_val <= holders[msg.sender]);
holders[msg.sender] = holders[msg.sender] - _val;
holders[_to] = holders[_to] + _val;
assert(holders[_to] >= _val);
emit Transfer(msg.sender, _to, _val);
return true;
}

function transferFrom(address _from, address _to, uint256 _val)
public returns (bool) {
require(holders[_from] >= _val);
require(approach[_from][msg.sender] >= _val);
assert(_val <= holders[_from]);
holders[_from] = holders[_from] - _val;
assert(_val <= approach[_from][msg.sender]);
approach[_from][msg.sender] = approach[_from][msg.sender] - _val;
holders[_to] = holders[_to] + _val;
assert(holders[_to] >= _val);
emit Transfer(_from, _to, _val);
return true;
}

function approve(address _spender, uint256 _val)
public returns (bool) {
require(holders[msg.sender] >= _val);
approach[msg.sender][_spender] = _val;
emit Approval(msg.sender, _spender, _val);
return true;
}

function allowance(address _owner, address _spender)
public view returns (uint256) {
return approach[_owner][_spender];
}
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_val","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_val","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_own","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_val","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_val","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_val","type":"uint256"}],"name":"Transfer","type":"event"}]

608060405234801561001057600080fd5b5060408051808201909152600d8082527f466976652063757272656e6379000000000000000000000000000000000000006020909201918252610055916003916100c5565b506040805180820190915260038082527f5758420000000000000000000000000000000000000000000000000000000000602090920191825261009a916002916100c5565b5060126001556c01431e0fae6d7217caa0000000600081815533815260056020526040902055610160565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010657805160ff1916838001178555610133565b82800160010185558215610133579182015b82811115610133578251825591602001919060010190610118565b5061013f929150610143565b5090565b61015d91905b8082111561013f5760008155600101610149565b90565b6106518061016f6000396000f3006080604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100aa578063095ea7b31461013457806318160ddd1461016c57806323b872dd14610193578063313ce567146101bd57806370a08231146101d257806395d89b41146101f3578063a9059cbb14610208578063dd62ed3e1461022c575b3480156100a457600080fd5b50600080fd5b3480156100b657600080fd5b506100bf610253565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f95781810151838201526020016100e1565b50505050905090810190601f1680156101265780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014057600080fd5b50610158600160a060020a03600435166024356102e1565b604080519115158252519081900360200190f35b34801561017857600080fd5b50610181610364565b60408051918252519081900360200190f35b34801561019f57600080fd5b50610158600160a060020a036004358116906024351660443561036a565b3480156101c957600080fd5b506101816104b7565b3480156101de57600080fd5b50610181600160a060020a03600435166104bd565b3480156101ff57600080fd5b506100bf6104d8565b34801561021457600080fd5b50610158600160a060020a0360043516602435610530565b34801561023857600080fd5b50610181600160a060020a03600435811690602435166105fa565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102d95780601f106102ae576101008083540402835291602001916102d9565b820191906000526020600020905b8154815290600101906020018083116102bc57829003601f168201915b505050505081565b336000908152600560205260408120548211156102fd57600080fd5b336000818152600460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60005481565b600160a060020a03831660009081526005602052604081205482111561038f57600080fd5b600160a060020a03841660009081526004602090815260408083203384529091529020548211156103bf57600080fd5b600160a060020a0384166000908152600560205260409020548211156103e157fe5b600160a060020a0384166000908152600560209081526040808320805486900390556004825280832033845290915290205482111561041c57fe5b600160a060020a03808516600090815260046020908152604080832033845282528083208054879003905592861682526005905220805483019081905582111561046257fe5b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35060019392505050565b60015481565b600160a060020a031660009081526005602052604090205490565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102d95780601f106102ae576101008083540402835291602001916102d9565b3360009081526005602052604081205482111561054c57600080fd5b33600160a060020a038416141561056257600080fd5b3360009081526005602052604090205482111561057b57fe5b3360009081526005602052604080822080548590039055600160a060020a0385168252902080548301908190558211156105b157fe5b604080518381529051600160a060020a0385169133917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b600160a060020a039182166000908152600460209081526040808320939094168252919091522054905600a165627a7a723058204e9806f95f79a4ffa40bfc3145ab063ce32a68eb53604a480ef89c24335001690029

Deployed Bytecode

0x6080604052600436106100985763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100aa578063095ea7b31461013457806318160ddd1461016c57806323b872dd14610193578063313ce567146101bd57806370a08231146101d257806395d89b41146101f3578063a9059cbb14610208578063dd62ed3e1461022c575b3480156100a457600080fd5b50600080fd5b3480156100b657600080fd5b506100bf610253565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f95781810151838201526020016100e1565b50505050905090810190601f1680156101265780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014057600080fd5b50610158600160a060020a03600435166024356102e1565b604080519115158252519081900360200190f35b34801561017857600080fd5b50610181610364565b60408051918252519081900360200190f35b34801561019f57600080fd5b50610158600160a060020a036004358116906024351660443561036a565b3480156101c957600080fd5b506101816104b7565b3480156101de57600080fd5b50610181600160a060020a03600435166104bd565b3480156101ff57600080fd5b506100bf6104d8565b34801561021457600080fd5b50610158600160a060020a0360043516602435610530565b34801561023857600080fd5b50610181600160a060020a03600435811690602435166105fa565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102d95780601f106102ae576101008083540402835291602001916102d9565b820191906000526020600020905b8154815290600101906020018083116102bc57829003601f168201915b505050505081565b336000908152600560205260408120548211156102fd57600080fd5b336000818152600460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60005481565b600160a060020a03831660009081526005602052604081205482111561038f57600080fd5b600160a060020a03841660009081526004602090815260408083203384529091529020548211156103bf57600080fd5b600160a060020a0384166000908152600560205260409020548211156103e157fe5b600160a060020a0384166000908152600560209081526040808320805486900390556004825280832033845290915290205482111561041c57fe5b600160a060020a03808516600090815260046020908152604080832033845282528083208054879003905592861682526005905220805483019081905582111561046257fe5b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35060019392505050565b60015481565b600160a060020a031660009081526005602052604090205490565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102d95780601f106102ae576101008083540402835291602001916102d9565b3360009081526005602052604081205482111561054c57600080fd5b33600160a060020a038416141561056257600080fd5b3360009081526005602052604090205482111561057b57fe5b3360009081526005602052604080822080548590039055600160a060020a0385168252902080548301908190558211156105b157fe5b604080518381529051600160a060020a0385169133917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b600160a060020a039182166000908152600460209081526040808320939094168252919091522054905600a165627a7a723058204e9806f95f79a4ffa40bfc3145ab063ce32a68eb53604a480ef89c24335001690029

Deployed Bytecode Sourcemap

611:1735:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;611:1735:0;1058:8;;;711:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;711:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;711:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2002:213;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2002:213:0;-1:-1:-1;;;;;2002:213:0;;;;;;;;;;;;;;;;;;;;;;;;;636:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;636:26:0;;;;;;;;;;;;;;;;;;;;1523:475;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1523:475:0;-1:-1:-1;;;;;1523:475:0;;;;;;;;;;;;665:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;665:20:0;;;;1074:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1074:91:0;-1:-1:-1;;;;;1074:91:0;;;;;688:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;688:20:0;;;;1169:350;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1169:350:0;-1:-1:-1;;;;;1169:350:0;;;;;;;2219:124;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2219:124:0;-1:-1:-1;;;;;2219:124:0;;;;;;;;;;711:18;;;;;;;;;;;;;;;-1:-1:-1;;711:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2002:213::-;2093:10;2068:4;2085:19;;;:7;:19;;;;;;:27;-1:-1:-1;2085:27:0;2077:36;;;;;;2125:10;2116:20;;;;:8;:20;;;;;;;;-1:-1:-1;;;;;2116:30:0;;;;;;;;;;;;:37;;;2161:36;;;;;;;2116:30;;2125:10;2161:36;;;;;;;;;;;-1:-1:-1;2207:4:0;2002:213;;;;:::o;636:26::-;;;;:::o;1523:475::-;-1:-1:-1;;;;;1621:14:0;;1604:4;1621:14;;;:7;:14;;;;;;:22;-1:-1:-1;1621:22:0;1613:31;;;;;;-1:-1:-1;;;;;1655:15:0;;;;;;:8;:15;;;;;;;;1671:10;1655:27;;;;;;;;:35;-1:-1:-1;1655:35:0;1647:44;;;;;;-1:-1:-1;;;;;1709:14:0;;;;;;:7;:14;;;;;;1701:22;;;1694:30;;;;-1:-1:-1;;;;;1744:14:0;;;;;;:7;:14;;;;;;;;;;:21;;;1727:38;;1783:8;:15;;;;;1799:10;1783:27;;;;;;;;1775:35;;;1768:43;;;;-1:-1:-1;;;;;1844:15:0;;;;;;;:8;:15;;;;;;;;1860:10;1844:27;;;;;;;;;:34;;;1814:64;;1896:12;;;;;:7;:12;;;;;:19;;1881:34;;;;1925:20;-1:-1:-1;1925:20:0;1918:28;;;;1970:3;-1:-1:-1;;;;;1954:26:0;1963:5;-1:-1:-1;;;;;1954:26:0;;1975:4;1954:26;;;;;;;;;;;;;;;;;;-1:-1:-1;1990:4:0;1523:475;;;;;:::o;665:20::-;;;;:::o;1074:91::-;-1:-1:-1;;;;;1148:13:0;1129:7;1148:13;;;:7;:13;;;;;;;1074:91::o;688:20::-;;;;;;;;;;;;;;-1:-1:-1;;688:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1169:350;1256:10;1231:4;1248:19;;;:7;:19;;;;;;:27;-1:-1:-1;1248:27:0;1240:36;;;;;;1287:10;-1:-1:-1;;;;;1287:17:0;;;;1279:26;;;;;;1331:10;1323:19;;;;:7;:19;;;;;;1315:27;;;1308:35;;;;1376:10;1368:19;;;;:7;:19;;;;;;;;:26;;;1346:48;;-1:-1:-1;;;;;1412:12:0;;;;;;;;:19;;1397:34;;;;1441:20;-1:-1:-1;1441:20:0;1434:28;;;;1470:31;;;;;;;;-1:-1:-1;;;;;1470:31:0;;;1479:10;;1470:31;;;;;;;;;-1:-1:-1;1511:4:0;1169:350;;;;:::o;2219:124::-;-1:-1:-1;;;;;2313:16:0;;;2294:7;2313:16;;;:8;:16;;;;;;;;:26;;;;;;;;;;;;;2219:124::o

Swarm Source

bzzr://4e9806f95f79a4ffa40bfc3145ab063ce32a68eb53604a480ef89c2433500169
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.