Feature Tip: Add private address tag to any address under My Name Tag !
Announcement: LeadRex has migrated to a new token contract. The new token can be found here.
ERC-20
Old Contract
Overview
Max Total Supply
135,900,000 LDXT
Holders
1,447 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
LeadRexToken
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-11-15 */ pragma solidity 0.4.25; library SafeMath { function mul(uint256 _a, uint256 _b) internal pure returns (uint256) { if (_a == 0) { return 0; } uint256 c = _a * _b; require(c / _a == _b); return c; } function div(uint256 _a, uint256 _b) internal pure returns (uint256) { require(_b > 0); uint256 c = _a / _b; return c; } function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { require(_b <= _a); uint256 c = _a - _b; return c; } function add(uint256 _a, uint256 _b) internal pure returns (uint256) { uint256 c = _a + _b; require(c >= _a); return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); event Transfer( address indexed from, address indexed to, uint256 value ); event Approval( address indexed owner, address indexed spender, uint256 value ); } contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; uint256 private _totalSupply; function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } function allowance( address owner, address spender ) public view returns (uint256) { return _allowed[owner][spender]; } function transfer(address to, uint256 value) public returns (bool) { _transfer(msg.sender, to, value); return true; } function approve(address spender, uint256 value) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } function transferFrom( address from, address to, uint256 value ) public returns (bool) { _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value); _transfer(from, to, value); return true; } function increaseAllowance( address spender, uint256 addedValue ) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = ( _allowed[msg.sender][spender].add(addedValue)); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } function decreaseAllowance( address spender, uint256 subtractedValue ) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = ( _allowed[msg.sender][spender].sub(subtractedValue)); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } function _mint(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); } function _burn(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } function _burnFrom(address account, uint256 value) internal { _allowed[account][msg.sender] = _allowed[account][msg.sender].sub( value); _burn(account, value); } } contract ERC20Burnable is ERC20 { function burn(uint256 value) public { _burn(msg.sender, value); } function burnFrom(address from, uint256 value) public { _burnFrom(from, value); } } contract LeadRexToken is ERC20Burnable { string private _name = "LeadRex Token"; string private _symbol = "LDXT"; uint8 private _decimals = 18; uint256 constant INITIAL_SUPPLY = 135900000 * (10 ** 18); constructor() public { _mint(0x710258Fc97E85910F1b1B219a72A8e794ca7E5C8, INITIAL_SUPPLY); } function name() public view returns(string) { return _name; } function symbol() public view returns(string) { return _symbol; } function decimals() public view returns(uint8) { return _decimals; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
60c0604052600d60808190527f4c65616452657820546f6b656e0000000000000000000000000000000000000060a090815261003e91600391906101a4565b506040805180820190915260048082527f4c44585400000000000000000000000000000000000000000000000000000000602090920191825261008191816101a4565b506005805460ff1916601217905534801561009b57600080fd5b506100ce73710258fc97e85910f1b1b219a72a8e794ca7e5c86a7069f1c314fcf2918000006401000000006100d3810204565b61023f565b600160a060020a03821615156100e857600080fd5b600254610102908264010000000061075561018b82021704565b600255600160a060020a038216600090815260208190526040902054610135908264010000000061075561018b82021704565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008282018381101561019d57600080fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101e557805160ff1916838001178555610212565b82800160010185558215610212579182015b828111156102125782518255916020019190600101906101f7565b5061021e929150610222565b5090565b61023c91905b8082111561021e5760008155600101610228565b90565b6108a58061024e6000396000f3006080604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461018b57806323b872dd146101b2578063313ce567146101dc578063395093511461020757806342966c681461022b57806370a082311461024557806379cc67901461026657806395d89b411461028a578063a457c2d71461029f578063a9059cbb146102c3578063dd62ed3e146102e7575b600080fd5b3480156100d557600080fd5b506100de61030e565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610118578181015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015f57600080fd5b50610177600160a060020a03600435166024356103a4565b604080519115158252519081900360200190f35b34801561019757600080fd5b506101a0610422565b60408051918252519081900360200190f35b3480156101be57600080fd5b50610177600160a060020a0360043581169060243516604435610428565b3480156101e857600080fd5b506101f1610495565b6040805160ff9092168252519081900360200190f35b34801561021357600080fd5b50610177600160a060020a036004351660243561049e565b34801561023757600080fd5b5061024360043561054e565b005b34801561025157600080fd5b506101a0600160a060020a036004351661055b565b34801561027257600080fd5b50610243600160a060020a0360043516602435610576565b34801561029657600080fd5b506100de610584565b3480156102ab57600080fd5b50610177600160a060020a03600435166024356105e5565b3480156102cf57600080fd5b50610177600160a060020a0360043516602435610630565b3480156102f357600080fd5b506101a0600160a060020a0360043581169060243516610646565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561039a5780601f1061036f5761010080835404028352916020019161039a565b820191906000526020600020905b81548152906001019060200180831161037d57829003601f168201915b5050505050905090565b6000600160a060020a03831615156103bb57600080fd5b336000818152600160209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60025490565b600160a060020a038316600090815260016020908152604080832033845290915281205461045c908363ffffffff61067116565b600160a060020a038516600090815260016020908152604080832033845290915290205561048b848484610688565b5060019392505050565b60055460ff1690565b6000600160a060020a03831615156104b557600080fd5b336000908152600160209081526040808320600160a060020a03871684529091529020546104e9908363ffffffff61075516565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b610558338261076e565b50565b600160a060020a031660009081526020819052604090205490565b6105808282610817565b5050565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561039a5780601f1061036f5761010080835404028352916020019161039a565b6000600160a060020a03831615156105fc57600080fd5b336000908152600160209081526040808320600160a060020a03871684529091529020546104e9908363ffffffff61067116565b600061063d338484610688565b50600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b6000808383111561068157600080fd5b5050900390565b600160a060020a038216151561069d57600080fd5b600160a060020a0383166000908152602081905260409020546106c6908263ffffffff61067116565b600160a060020a0380851660009081526020819052604080822093909355908416815220546106fb908263ffffffff61075516565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561076757600080fd5b9392505050565b600160a060020a038216151561078357600080fd5b600254610796908263ffffffff61067116565b600255600160a060020a0382166000908152602081905260409020546107c2908263ffffffff61067116565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a038216600090815260016020908152604080832033845290915290205461084b908263ffffffff61067116565b600160a060020a0383166000908152600160209081526040808320338452909152902055610580828261076e5600a165627a7a72305820a033afe8c16c9d19e8bb6c039cc7b1a1691639dd31ae2417b9f6595f6a6918b10029
Deployed Bytecode
0x6080604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461018b57806323b872dd146101b2578063313ce567146101dc578063395093511461020757806342966c681461022b57806370a082311461024557806379cc67901461026657806395d89b411461028a578063a457c2d71461029f578063a9059cbb146102c3578063dd62ed3e146102e7575b600080fd5b3480156100d557600080fd5b506100de61030e565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610118578181015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015f57600080fd5b50610177600160a060020a03600435166024356103a4565b604080519115158252519081900360200190f35b34801561019757600080fd5b506101a0610422565b60408051918252519081900360200190f35b3480156101be57600080fd5b50610177600160a060020a0360043581169060243516604435610428565b3480156101e857600080fd5b506101f1610495565b6040805160ff9092168252519081900360200190f35b34801561021357600080fd5b50610177600160a060020a036004351660243561049e565b34801561023757600080fd5b5061024360043561054e565b005b34801561025157600080fd5b506101a0600160a060020a036004351661055b565b34801561027257600080fd5b50610243600160a060020a0360043516602435610576565b34801561029657600080fd5b506100de610584565b3480156102ab57600080fd5b50610177600160a060020a03600435166024356105e5565b3480156102cf57600080fd5b50610177600160a060020a0360043516602435610630565b3480156102f357600080fd5b506101a0600160a060020a0360043581169060243516610646565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561039a5780601f1061036f5761010080835404028352916020019161039a565b820191906000526020600020905b81548152906001019060200180831161037d57829003601f168201915b5050505050905090565b6000600160a060020a03831615156103bb57600080fd5b336000818152600160209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60025490565b600160a060020a038316600090815260016020908152604080832033845290915281205461045c908363ffffffff61067116565b600160a060020a038516600090815260016020908152604080832033845290915290205561048b848484610688565b5060019392505050565b60055460ff1690565b6000600160a060020a03831615156104b557600080fd5b336000908152600160209081526040808320600160a060020a03871684529091529020546104e9908363ffffffff61075516565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b610558338261076e565b50565b600160a060020a031660009081526020819052604090205490565b6105808282610817565b5050565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561039a5780601f1061036f5761010080835404028352916020019161039a565b6000600160a060020a03831615156105fc57600080fd5b336000908152600160209081526040808320600160a060020a03871684529091529020546104e9908363ffffffff61067116565b600061063d338484610688565b50600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b6000808383111561068157600080fd5b5050900390565b600160a060020a038216151561069d57600080fd5b600160a060020a0383166000908152602081905260409020546106c6908263ffffffff61067116565b600160a060020a0380851660009081526020819052604080822093909355908416815220546106fb908263ffffffff61075516565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561076757600080fd5b9392505050565b600160a060020a038216151561078357600080fd5b600254610796908263ffffffff61067116565b600255600160a060020a0382166000908152602081905260409020546107c2908263ffffffff61067116565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a038216600090815260016020908152604080832033845290915290205461084b908263ffffffff61067116565b600160a060020a0383166000908152600160209081526040808320338452909152902055610580828261076e5600a165627a7a72305820a033afe8c16c9d19e8bb6c039cc7b1a1691639dd31ae2417b9f6595f6a6918b10029
Swarm Source
bzzr://a033afe8c16c9d19e8bb6c039cc7b1a1691639dd31ae2417b9f6595f6a6918b1
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.