ERC-20
Overview
Max Total Supply
420,690,000,000,000 UWU
Holders
1
Total Transfers
-
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 Name:
UwuCoin
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 2000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../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() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ 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); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // 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); } } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // 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; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; interface IDexRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); } interface IDexFactory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface ILpPair { function sync() external; } // REMOVE THIS // contract TokenHandler is Ownable { // function sendTokenToOwner(address token) external onlyOwner { // if (IERC20(token).balanceOf(address(this)) > 0) { // SafeERC20.safeTransfer(IERC20(token), owner(), IERC20(token).balanceOf(address(this))); // } // } // } /** * @dev This is the UWU token. * @author null-prophet alongside some other degens */ contract UwuCoin is ERC20, Ownable { using SafeMath for uint256; uint256 public maxBuyAmt; uint256 public maxSellAmt; uint256 public maxWalletAmt; IDexRouter public immutable dexRouter; // @dev - weth address public immutable lpPair; // @dev - weth IERC20Metadata public immutable PAIREDTOKEN; bool private swapping; uint256 public swapTokensAtAmt; address public marketingAndBuybacksAddress; address public dogsbody; uint256 public tradingLiveBlock = 0; // 0 means trading is not active bool public limitsActive = true; bool public tradingLive = false; bool public swapEnabled = false; uint256 public constant FEE_DIVISOR = 10000; uint256 public buyTotalTax; uint256 public sellTotalTax; mapping(address => bool) private _isExcludedFromTax; mapping(address => bool) public _isExcludedMaxTransactionAmt; mapping(address => bool) public automatedMarketMakerPairs; event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event StartedTrading(uint ethAmount, uint tokenAmt, uint block); event RemovedLimits(); event ExcludeFromTax(address indexed account, bool isExcluded); event UpdatedMaxBuyAmt(uint256 newAmt); event UpdatedMaxSellAmt(uint256 newAmt); event UpdatedMaxWalletAmt(uint256 newAmt); event UpdatedBuyTax(uint256 newAmt); event UpdatedSellTax(uint256 newAmt); event UpdatedMarketingAndBuybacksAddress(address indexed newWallet); event UpdatedDevelopmentAddress(address indexed newWallet); event UpdatedLiquidityAddress(address indexed newWallet); event MaxTransactionExclusion(address _address, bool excluded); event OwnerForcedSwapBack(uint256 timestamp); event CaughtEarlyBuyer(address sniper); event TransferForeignToken(address token, uint256 amt); /** * @dev will use WETH as the lpPair of choice. */ constructor(address _marketingAddress) ERC20("Uwuverse.ai", "UWU") { address _dexRouter; if (block.chainid == 1 || block.chainid == 5 || block.chainid == 31337) { _dexRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; // Ethereum: Uniswap V2 } else { revert("Chain not configured"); } address newOwner = msg.sender; // can leave alone if owner is deployer. // deployer can still fix things like address but won't be able to do owner things post renounce. dogsbody = msg.sender; dexRouter = IDexRouter(_dexRouter); // paired token is WETH PAIREDTOKEN = IERC20Metadata(dexRouter.WETH()); require(PAIREDTOKEN.decimals() > 0, "Incorrect liquidity token"); // create pair lpPair = IDexFactory(dexRouter.factory()).createPair(address(this), address(PAIREDTOKEN)); setAutomatedMarketMakerPair(address(lpPair), true); // 420,690,000,000,000 uint256 totalSupply = 420690 * 1e9 * 1e18; maxBuyAmt = (totalSupply * 2) / 100; maxSellAmt = (totalSupply * 2) / 100; maxWalletAmt = (totalSupply * 2) / 100; swapTokensAtAmt = (totalSupply * 25) / 100000; buyTotalTax = 200; sellTotalTax = 400; // @dev set from constructor marketingAndBuybacksAddress = address(_marketingAddress); _excludeFromMaxTransaction(newOwner, true); _excludeFromMaxTransaction(address(this), true); _excludeFromMaxTransaction(address(dexRouter), true); _excludeFromMaxTransaction(address(0xdead), true); _excludeFromMaxTransaction(address(marketingAndBuybacksAddress), true); excludeFromTax(newOwner, true); excludeFromTax(address(this), true); excludeFromTax(address(dexRouter), true); excludeFromTax(address(0xdead), true); excludeFromTax(address(marketingAndBuybacksAddress), true); _mint(address(newOwner), totalSupply); transferOwnership(newOwner); PAIREDTOKEN.approve(address(dexRouter), type(uint256).max); _approve(address(this), address(dexRouter), type(uint256).max); } receive() external payable {} /** * @dev Throws if called by any account other than the dogsbody. */ modifier onlyDogsbody() { _checkDogsbody(); _; } /** * @dev Throws if the sender is not the dogsbody. */ function _checkDogsbody() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } function updateAllowanceForSwapping() external { PAIREDTOKEN.approve(address(dexRouter), type(uint256).max); _approve(address(this), address(dexRouter), type(uint256).max); } // @dev - you must have ETH and Tokens in place before flicking this switch function startTrading() external onlyOwner { require(!tradingLive, "Trading is already active, cannot relaunch."); uint256 ethAmount = address(this).balance; uint256 amountTokenDesired = balanceOf(address(this)); // 100% of the balance assigned to this contract require(ethAmount > 0, "Cannot start trading with no eth!"); require(amountTokenDesired > 0, "Cannot start trading with no tokens!"); dexRouter.addLiquidityETH{value: ethAmount}(address(this), amountTokenDesired, 0, 0, owner(), block.timestamp); tradingLive = true; swapEnabled = true; tradingLiveBlock = block.number; emit StartedTrading(ethAmount, amountTokenDesired, block.timestamp); } // remove limits after token is stable function removeLimits() external onlyOwner { limitsActive = false; emit RemovedLimits(); } function updateMaxBuyAmt(uint256 newNum) external onlyOwner { require(newNum >= ((totalSupply() * 1) / 100) / 1e18, "Cannot set max buy amt lower than 1%"); maxBuyAmt = newNum * (10 ** 18); emit UpdatedMaxBuyAmt(maxBuyAmt); } function updateMaxSellAmt(uint256 newNum) external onlyOwner { require(newNum >= ((totalSupply() * 1) / 100) / 1e18, "Cannot set max sell amt lower than 1%"); maxSellAmt = newNum * (10 ** 18); emit UpdatedMaxSellAmt(maxSellAmt); } function removeMaxWallet() external onlyOwner { maxWalletAmt = totalSupply(); emit UpdatedMaxWalletAmt(maxWalletAmt); } function updateSwapTokensAtAmt(uint256 newAmt) external onlyOwner { require(newAmt >= (totalSupply() * 1) / 1000000, "Swap amt cannot be lower than 0.0001% total supply."); require(newAmt <= (totalSupply() * 1) / 1000, "Swap amt cannot be higher than 0.1% total supply."); swapTokensAtAmt = newAmt; } function _excludeFromMaxTransaction(address updAds, bool isExcluded) private { _isExcludedMaxTransactionAmt[updAds] = isExcluded; emit MaxTransactionExclusion(updAds, isExcluded); } function excludeFromMaxTransaction(address updAds, bool isEx) external onlyOwner { if (!isEx) { require(updAds != lpPair, "Cannot remove uniswap pair from max txn"); } _isExcludedMaxTransactionAmt[updAds] = isEx; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != lpPair || value, "The pair cannot be removed from automatedMarketMakerPairs"); automatedMarketMakerPairs[pair] = value; _excludeFromMaxTransaction(pair, value); emit SetAutomatedMarketMakerPair(pair, value); } function updateBuyTax(uint256 _marketingAndBuybacksTax) external onlyOwner { buyTotalTax = _marketingAndBuybacksTax; require(buyTotalTax <= 700, "Must keep tax at 7% or less"); emit UpdatedBuyTax(buyTotalTax); } function updateSellTax(uint256 _marketingAndBuybacksTax) external onlyOwner { sellTotalTax = _marketingAndBuybacksTax; require(sellTotalTax <= 700, "Must keep tax at 7% or less"); emit UpdatedSellTax(sellTotalTax); } function excludeFromTax(address account, bool excluded) public onlyOwner { _isExcludedFromTax[account] = excluded; emit ExcludeFromTax(account, excluded); } function _transfer(address from, address to, uint256 amt) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amt == 0) { super._transfer(from, to, 0); return; } if (!tradingLive) { require(_isExcludedFromTax[from] || _isExcludedFromTax[to], "Trading is not active."); } if (_isExcludedFromTax[from] || _isExcludedFromTax[to] || swapping) { super._transfer(from, to, amt); return; } if (limitsActive) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !_isExcludedFromTax[from] && !_isExcludedFromTax[to] ) { if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmt[to]) { // if buy require(amt <= maxBuyAmt, "Buy transfer amt exceeds the max buy."); require(amt + balanceOf(to) <= maxWalletAmt, "Cannot Exceed max wallet"); } else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmt[from]) { // else if sell require(amt <= maxSellAmt, "Sell transfer amt exceeds the max sell."); } else if (!_isExcludedMaxTransactionAmt[to]) { // else all others require(amt + balanceOf(to) <= maxWalletAmt, "Cannot Exceed max wallet"); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmt; if (canSwap && swapEnabled && !swapping && automatedMarketMakerPairs[to]) { swapping = true; swapBack(); swapping = false; } bool takeTax = true; // if any account belongs to _isExcludedFromTax account then remove the tax if (_isExcludedFromTax[from] || _isExcludedFromTax[to]) { takeTax = false; } // only take tax on buys/sells, do not take on wallet transfers if (takeTax) { uint256 tax = 0; if (automatedMarketMakerPairs[to] && sellTotalTax > 0) { // if sell tax = (amt * sellTotalTax) / FEE_DIVISOR; } else if (automatedMarketMakerPairs[from] && buyTotalTax > 0) { // else if buy tax = (amt * buyTotalTax) / FEE_DIVISOR; } if (tax > 0) { super._transfer(from, address(this), tax); } amt -= tax; } super._transfer(from, to, amt); } function swapTokensForPAIREDTOKEN(uint256 tokenAmt, address recipient) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = dexRouter.WETH(); _approve(address(this), address(dexRouter), tokenAmt); // make the swap dexRouter.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmt, 0, // accept any amt of ETH path, address(recipient), block.timestamp ); if (PAIREDTOKEN.balanceOf(address(this)) > 0) { SafeERC20.safeTransfer(PAIREDTOKEN, recipient, PAIREDTOKEN.balanceOf(address(this))); } } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); if (contractBalance == 0) { return; } // only ever do 1% if (contractBalance > swapTokensAtAmt * 40) { contractBalance = swapTokensAtAmt * 40; } // swap and send to our marketing address... swapTokensForPAIREDTOKEN(contractBalance, marketingAndBuybacksAddress); } // @notice we can let the dogsbody address and owner call this. Will let it be called after renounciation. function setMarketingAndBuybacksAddress(address _marketingAndBuybacksAddress) external onlyDogsbody { require(_marketingAndBuybacksAddress != address(0), "address cannot be 0"); marketingAndBuybacksAddress = payable(_marketingAndBuybacksAddress); emit UpdatedMarketingAndBuybacksAddress(_marketingAndBuybacksAddress); } // @dev force Swap back if slippage issues. // @notice we can let the dogsbody address and owner call this. Will let it be called after renounciation. function forceSwapBack() external onlyDogsbody { require( balanceOf(address(this)) >= swapTokensAtAmt, "Can only swap when token amt is at or higher than restriction" ); swapping = true; swapBack(); swapping = false; emit OwnerForcedSwapBack(block.timestamp); } // @dev transfer any weird tokens to marketing address // @notice we can let the dogsbody address and owner call this. Will let it be called after renounciation. function transferForeignToken(address _token) external onlyDogsbody { require(_token != address(0), "_token address cannot be 0"); require(_token != address(this) || !tradingLive, "Can't withdraw native tokens"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); SafeERC20.safeTransfer(IERC20(_token), marketingAndBuybacksAddress, _contractBalance); emit TransferForeignToken(_token, _contractBalance); } }
{ "optimizer": { "enabled": true, "runs": 2000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"}],"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":false,"internalType":"address","name":"sniper","type":"address"}],"name":"CaughtEarlyBuyer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"MaxTransactionExclusion","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"OwnerForcedSwapBack","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":[],"name":"RemovedLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"block","type":"uint256"}],"name":"StartedTrading","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"uint256"}],"name":"TransferForeignToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedBuyTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedDevelopmentAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedLiquidityAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatedMarketingAndBuybacksAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedMaxBuyAmt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedMaxSellAmt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedMaxWalletAmt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"UpdatedSellTax","type":"event"},{"inputs":[],"name":"FEE_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAIREDTOKEN","outputs":[{"internalType":"contract IERC20Metadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalTax","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":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dogsbody","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSwapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAndBuybacksAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingAndBuybacksAddress","type":"address"}],"name":"setMarketingAndBuybacksAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"tradingLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingLiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"transferForeignToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateAllowanceForSwapping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingAndBuybacksTax","type":"uint256"}],"name":"updateBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxBuyAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxSellAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingAndBuybacksTax","type":"uint256"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmt","type":"uint256"}],"name":"updateSwapTokensAtAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e06040526000600d55600e805462ffffff191660011790553480156200002557600080fd5b5060405162003d4638038062003d46833981016040819052620000489162000a9b565b6040518060400160405280600b81526020016a55777576657273652e616960a81b8152506040518060400160405280600381526020016255575560e81b815250816003908162000099919062000b71565b506004620000a8828262000b71565b505050620000c5620000bf620005a160201b60201c565b620005a5565b60004660011480620000d75750466005145b80620000e4575046617a69145b15620001065750737a250d5630b4cf539739df2c5dacb4c659f2488d62000153565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b600c80546001600160a01b031916339081179091556001600160a01b0382166080819052604080516315ab88c960e31b8152905163ad5c4648916004808201926020929091908290030181865afa158015620001b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d9919062000a9b565b6001600160a01b031660c08190526040805163313ce56760e01b815290516000929163313ce5679160048083019260209291908290030181865afa15801562000226573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024c919062000c3d565b60ff16116200029e5760405162461bcd60e51b815260206004820152601960248201527f496e636f7272656374206c697175696469747920746f6b656e0000000000000060448201526064016200014a565b6080516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000305919062000a9b565b60c0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af115801562000357573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037d919062000a9b565b6001600160a01b031660a081905262000398906001620005f7565b6d14bddab3e51a57cff87a500000006064620003b682600262000c78565b620003c2919062000c98565b6006556064620003d482600262000c78565b620003e0919062000c98565b6007556064620003f282600262000c78565b620003fe919062000c98565b600855620186a06200041282601962000c78565b6200041e919062000c98565b600a5560c8600f55610190601055600b80546001600160a01b0319166001600160a01b0386161790556200045482600162000702565b6200046130600162000702565b6080516200047190600162000702565b6200048061dead600162000702565b600b5462000499906001600160a01b0316600162000702565b620004a682600162000765565b620004b330600162000765565b608051620004c390600162000765565b620004d261dead600162000765565b600b54620004eb906001600160a01b0316600162000765565b620004f78282620007ce565b620005028262000891565b60c05160805160405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af115801562000559573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200057f919062000cbb565b5062000597306080516000196200091060201b60201c565b5050505062000cf5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200060162000a38565b60a0516001600160a01b0316826001600160a01b0316141580620006225750805b620006965760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016200014a565b6001600160a01b0382166000908152601360205260409020805460ff1916821515179055620006c6828262000702565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b6200076f62000a38565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c910160405180910390a25050565b6001600160a01b038216620008265760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200014a565b80600260008282546200083a919062000cdf565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6200089b62000a38565b6001600160a01b038116620009025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200014a565b6200090d81620005a5565b50565b6001600160a01b038316620009745760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016200014a565b6001600160a01b038216620009d75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200014a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b0316331462000a945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200014a565b565b505050565b60006020828403121562000aae57600080fd5b81516001600160a01b038116811462000ac657600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000af857607f821691505b60208210810362000b1957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a9657600081815260208120601f850160051c8101602086101562000b485750805b601f850160051c820191505b8181101562000b695782815560010162000b54565b505050505050565b81516001600160401b0381111562000b8d5762000b8d62000acd565b62000ba58162000b9e845462000ae3565b8462000b1f565b602080601f83116001811462000bdd576000841562000bc45750858301515b600019600386901b1c1916600185901b17855562000b69565b600085815260208120601f198616915b8281101562000c0e5788860151825594840194600190910190840162000bed565b508582101562000c2d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000c5057600080fd5b815160ff8116811462000ac657600080fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000c925762000c9262000c62565b92915050565b60008262000cb657634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121562000cce57600080fd5b8151801515811462000ac657600080fd5b8082018082111562000c925762000c9262000c62565b60805160a05160c051612fd462000d726000396000818161050301528181610ae801528181612887015261291a01526000818161057701528181611140015261145901526000818161038901528181610ab801528181610b5c01528181610d07015281816126f2015281816127ab01526128000152612fd46000f3fe60806040526004361061030c5760003560e01c8063715018a61161019a578063ac1b129d116100e1578063dc07b6171161008a578063e27a55fe11610064578063e27a55fe146108c0578063e634e70a146108d6578063f2fde38b146108f657600080fd5b8063dc07b61714610845578063dc93cf701461085a578063dd62ed3e1461087a57600080fd5b8063c6a30647116100bb578063c6a30647146107df578063c78d0fa0146107ff578063dae6a9821461081557600080fd5b8063ac1b129d14610783578063b62496f514610799578063bb811508146107c957600080fd5b806395d89b41116101435780639e93ad8e1161011d5780639e93ad8e1461072d578063a457c2d714610743578063a9059cbb1461076357600080fd5b806395d89b41146106e25780639a7a23d6146106f75780639cf551831461071757600080fd5b806384d5a0f11161017457806384d5a0f114610684578063894dc39b146106a45780638da5cb5b146106c457600080fd5b8063715018a61461063a578063751039fc1461064f5780637571336a1461066457600080fd5b8063313ce5671161025e578063452ed4f1116102075780635df6e68e116101e15780635df6e68e146105ce5780636ddd1713146105e457806370a082311461060457600080fd5b8063452ed4f1146105655780634df340e41461059957806351f205e4146105b957600080fd5b80633970124c116102385780633970124c146104f15780633e0a553114610525578063436d33401461054557600080fd5b8063313ce5671461049f57806333cdacd9146104bb57806339509351146104d157600080fd5b806312185a39116102c057806323b872dd1161029a57806323b872dd146104555780632542489614610475578063293230b81461048a57600080fd5b806312185a39146103fa57806318160ddd1461041c5780631cce34ee1461043b57600080fd5b80630758d924116102f15780630758d92414610377578063095ea7b3146103ab57806311704f52146103db57600080fd5b806302f087a21461031857806306fdde031461035557600080fd5b3661031357005b600080fd5b34801561032457600080fd5b50600b54610338906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561036157600080fd5b5061036a610916565b60405161034c9190612c46565b34801561038357600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b3480156103b757600080fd5b506103cb6103c6366004612cac565b6109a8565b604051901515815260200161034c565b3480156103e757600080fd5b50600e546103cb90610100900460ff1681565b34801561040657600080fd5b5061041a610415366004612cd8565b6109c2565b005b34801561042857600080fd5b506002545b60405190815260200161034c565b34801561044757600080fd5b50600e546103cb9060ff1681565b34801561046157600080fd5b506103cb610470366004612cf1565b610a64565b34801561048157600080fd5b5061041a610a88565b34801561049657600080fd5b5061041a610b85565b3480156104ab57600080fd5b506040516012815260200161034c565b3480156104c757600080fd5b5061042d60075481565b3480156104dd57600080fd5b506103cb6104ec366004612cac565b610e6d565b3480156104fd57600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b34801561053157600080fd5b50600c54610338906001600160a01b031681565b34801561055157600080fd5b5061041a610560366004612cd8565b610eac565b34801561057157600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b3480156105a557600080fd5b5061041a6105b4366004612d32565b610f3e565b3480156105c557600080fd5b5061041a610ffe565b3480156105da57600080fd5b5061042d600f5481565b3480156105f057600080fd5b50600e546103cb9062010000900460ff1681565b34801561061057600080fd5b5061042d61061f366004612d32565b6001600160a01b031660009081526020819052604090205490565b34801561064657600080fd5b5061041a6110e2565b34801561065b57600080fd5b5061041a6110f4565b34801561067057600080fd5b5061041a61067f366004612d64565b611131565b34801561069057600080fd5b5061041a61069f366004612cd8565b611210565b3480156106b057600080fd5b5061041a6106bf366004612cd8565b611306565b3480156106d057600080fd5b506005546001600160a01b0316610338565b3480156106ee57600080fd5b5061036a611440565b34801561070357600080fd5b5061041a610712366004612d64565b61144f565b34801561072357600080fd5b5061042d600d5481565b34801561073957600080fd5b5061042d61271081565b34801561074f57600080fd5b506103cb61075e366004612cac565b611571565b34801561076f57600080fd5b506103cb61077e366004612cac565b61161b565b34801561078f57600080fd5b5061042d60065481565b3480156107a557600080fd5b506103cb6107b4366004612d32565b60136020526000908152604090205460ff1681565b3480156107d557600080fd5b5061042d60085481565b3480156107eb57600080fd5b5061041a6107fa366004612d64565b611629565b34801561080b57600080fd5b5061042d600a5481565b34801561082157600080fd5b506103cb610830366004612d32565b60126020526000908152604090205460ff1681565b34801561085157600080fd5b5061041a611690565b34801561086657600080fd5b5061041a610875366004612d32565b6116d0565b34801561088657600080fd5b5061042d610895366004612d9d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108cc57600080fd5b5061042d60105481565b3480156108e257600080fd5b5061041a6108f1366004612cd8565b61185f565b34801561090257600080fd5b5061041a610911366004612d32565b611956565b60606003805461092590612dcb565b80601f016020809104026020016040519081016040528092919081815260200182805461095190612dcb565b801561099e5780601f106109735761010080835404028352916020019161099e565b820191906000526020600020905b81548152906001019060200180831161098157829003601f168201915b5050505050905090565b6000336109b68185856119e6565b60019150505b92915050565b6109ca611b3e565b60108190556102bc811115610a265760405162461bcd60e51b815260206004820152601b60248201527f4d757374206b65657020746178206174203725206f72206c657373000000000060448201526064015b60405180910390fd5b7fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c97601054604051610a5991815260200190565b60405180910390a150565b600033610a72858285611b98565b610a7d858585611c2a565b506001949350505050565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260001960248301527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b3906044016020604051808303816000875af1158015610b31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b559190612e05565b50610b83307f00000000000000000000000000000000000000000000000000000000000000006000196119e6565b565b610b8d611b3e565b600e54610100900460ff1615610c0b5760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201527f742072656c61756e63682e0000000000000000000000000000000000000000006064820152608401610a1d565b30600090815260208190526040902054479081610c905760405162461bcd60e51b815260206004820152602160248201527f43616e6e6f742073746172742074726164696e672077697468206e6f2065746860448201527f21000000000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b60008111610d055760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f742073746172742074726164696e672077697468206e6f20746f6b60448201527f656e7321000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d719833084600080610d4c6005546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610dcc573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610df19190612e22565b5050600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff16620101001790555043600d55604080518381526020810183905242918101919091527f943d399ab30f6cd548c2ea7f02893b55d03e93df56210eac334f5613b42be773906060015b60405180910390a15050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906109b69082908690610ea7908790612e66565b6119e6565b610eb4611b3e565b600f8190556102bc811115610f0b5760405162461bcd60e51b815260206004820152601b60248201527f4d757374206b65657020746178206174203725206f72206c65737300000000006044820152606401610a1d565b7f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece0508600f54604051610a5991815260200190565b610f46611b3e565b6001600160a01b038116610f9c5760405162461bcd60e51b815260206004820152601360248201527f616464726573732063616e6e6f742062652030000000000000000000000000006044820152606401610a1d565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f98d93069b62252296364a3e2b9a117e40ba5777b0097b6be97ca3a4845321f2e90600090a250565b611006611b3e565b600a5430600090815260208190526040902054101561108d5760405162461bcd60e51b815260206004820152603d60248201527f43616e206f6e6c792073776170207768656e20746f6b656e20616d742069732060448201527f6174206f7220686967686572207468616e207265737472696374696f6e0000006064820152608401610a1d565b6009805460ff191660011790556110a2612310565b6009805460ff191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb32906020015b60405180910390a1565b6110ea611b3e565b610b836000612368565b6110fc611b3e565b600e805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b611139611b3e565b806111e5577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036111e55760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201527f6d61782074786e000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b611218611b3e565b670de0b6b3a7640000606461122c60025490565b611237906001612e79565b6112419190612e90565b61124b9190612e90565b8110156112bf5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d61782062757920616d74206c6f7765722074686160448201527f6e203125000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6112d181670de0b6b3a7640000612e79565b60068190556040519081527fbd0f1740caf821f78178ca26f0481f035268c600b91408a9a82dfb3a80b79a2990602001610a59565b61130e611b3e565b620f424061131b60025490565b611326906001612e79565b6113309190612e90565b8110156113a55760405162461bcd60e51b815260206004820152603360248201527f5377617020616d742063616e6e6f74206265206c6f776572207468616e20302e60448201527f303030312520746f74616c20737570706c792e000000000000000000000000006064820152608401610a1d565b6103e86113b160025490565b6113bc906001612e79565b6113c69190612e90565b81111561143b5760405162461bcd60e51b815260206004820152603160248201527f5377617020616d742063616e6e6f7420626520686967686572207468616e203060448201527f2e312520746f74616c20737570706c792e0000000000000000000000000000006064820152608401610a1d565b600a55565b60606004805461092590612dcb565b611457611b3e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415806114955750805b6115075760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a1d565b6001600160a01b0382166000908152601360205260409020805460ff191682151517905561153582826123d2565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561160e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610a1d565b610a7d82868684036119e6565b6000336109b6818585611c2a565b611631611b3e565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c910160405180910390a25050565b611698611b3e565b60025460088190556040519081527f5c2c6bbd255d68d22e47fbc0e1cbb9e5c5c2892d91144941f6b7f61d3b1c8a55906020016110d8565b6116d8611b3e565b6001600160a01b03811661172e5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a1d565b6001600160a01b0381163014158061174e5750600e54610100900460ff16155b61179a5760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e73000000006044820152606401610a1d565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156117e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118059190612eb2565b600b549091506118209083906001600160a01b03168361242e565b604080516001600160a01b0384168152602081018390527fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e4389101610e61565b611867611b3e565b670de0b6b3a7640000606461187b60025490565b611886906001612e79565b6118909190612e90565b61189a9190612e90565b81101561190f5760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420736574206d61782073656c6c20616d74206c6f77657220746860448201527f616e2031250000000000000000000000000000000000000000000000000000006064820152608401610a1d565b61192181670de0b6b3a7640000612e79565b60078190556040519081527fda3f4fd2455d333278e3d4e42bf292b30da257f729437c6264f483617cbf73f790602001610a59565b61195e611b3e565b6001600160a01b0381166119da5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a1d565b6119e381612368565b50565b6001600160a01b038316611a615760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b038216611add5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611c245781811015611c175760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a1d565b611c2484848484036119e6565b50505050565b6001600160a01b038316611ca65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b038216611d225760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b80600003611d3b57611d36838360006124ae565b505050565b600e54610100900460ff16611dd5576001600160a01b03831660009081526011602052604090205460ff1680611d8957506001600160a01b03821660009081526011602052604090205460ff165b611dd55760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e000000000000000000006044820152606401610a1d565b6001600160a01b03831660009081526011602052604090205460ff1680611e1457506001600160a01b03821660009081526011602052604090205460ff165b80611e21575060095460ff165b15611e3157611d368383836124ae565b600e5460ff161561216b576005546001600160a01b03848116911614801590611e6857506005546001600160a01b03838116911614155b8015611e7c57506001600160a01b03821615155b8015611e9357506001600160a01b03821661dead14155b8015611eb857506001600160a01b03831660009081526011602052604090205460ff16155b8015611edd57506001600160a01b03821660009081526011602052604090205460ff16155b1561216b576001600160a01b03831660009081526013602052604090205460ff168015611f2357506001600160a01b03821660009081526012602052604090205460ff16155b1561201957600654811115611fa05760405162461bcd60e51b815260206004820152602560248201527f427579207472616e7366657220616d74206578636565647320746865206d617860448201527f206275792e0000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6008546001600160a01b038316600090815260208190526040902054611fc69083612e66565b11156120145760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420457863656564206d61782077616c6c657400000000000000006044820152606401610a1d565b61216b565b6001600160a01b03821660009081526013602052604090205460ff16801561205a57506001600160a01b03831660009081526012602052604090205460ff16155b156120d7576007548111156120145760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d74206578636565647320746865206d6160448201527f782073656c6c2e000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b03821660009081526012602052604090205460ff1661216b576008546001600160a01b03831660009081526020819052604090205461211d9083612e66565b111561216b5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420457863656564206d61782077616c6c657400000000000000006044820152606401610a1d565b30600090815260208190526040902054600a54811080159081906121975750600e5462010000900460ff165b80156121a6575060095460ff16155b80156121ca57506001600160a01b03841660009081526013602052604090205460ff165b156121ef576009805460ff191660011790556121e4612310565b6009805460ff191690555b6001600160a01b03851660009081526011602052604090205460019060ff168061223157506001600160a01b03851660009081526011602052604090205460ff165b1561223a575060005b80156122fd576001600160a01b03851660009081526013602052604081205460ff16801561226a57506000601054115b1561229157612710601054866122809190612e79565b61228a9190612e90565b90506122de565b6001600160a01b03871660009081526013602052604090205460ff1680156122bb57506000600f54115b156122de57612710600f54866122d19190612e79565b6122db9190612e90565b90505b80156122ef576122ef8730836124ae565b6122f98186612ecb565b9450505b6123088686866124ae565b505050505050565b306000908152602081905260408120549081900361232b5750565b600a54612339906028612e79565b81111561235157600a5461234e906028612e79565b90505b600b546119e39082906001600160a01b031661269b565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd67469101610e61565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611d36908490612996565b6001600160a01b03831661252a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b0382166125a65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b038316600090815260208190526040902054818110156126355760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611c24565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106126d0576126d0612ede565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561274e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127729190612ef4565b8160018151811061278557612785612ede565b60200260200101906001600160a01b031690816001600160a01b0316815250506127d0307f0000000000000000000000000000000000000000000000000000000000000000856119e6565b6040517f5c11d7950000000000000000000000000000000000000000000000000000000081526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690635c11d7959061283e908690600090869088904290600401612f11565b600060405180830381600087803b15801561285857600080fd5b505af115801561286c573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a0823190602401602060405180830381865afa1580156128d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128fb9190612eb2565b1115611d36576040516370a0823160e01b8152306004820152611d36907f00000000000000000000000000000000000000000000000000000000000000009084906001600160a01b038316906370a0823190602401602060405180830381865afa15801561296d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129919190612eb2565b61242e565b60006129eb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a7b9092919063ffffffff16565b805190915015611d365780806020019051810190612a099190612e05565b611d365760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610a1d565b6060612a8a8484600085612a92565b949350505050565b606082471015612b0a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610a1d565b600080866001600160a01b03168587604051612b269190612f82565b60006040518083038185875af1925050503d8060008114612b63576040519150601f19603f3d011682016040523d82523d6000602084013e612b68565b606091505b5091509150612b7987838387612b84565b979650505050505050565b60608315612bf3578251600003612bec576001600160a01b0385163b612bec5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a1d565b5081612a8a565b612a8a8383815115612c085781518083602001fd5b8060405162461bcd60e51b8152600401610a1d9190612c46565b60005b83811015612c3d578181015183820152602001612c25565b50506000910152565b6020815260008251806020840152612c65816040850160208701612c22565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6001600160a01b03811681146119e357600080fd5b60008060408385031215612cbf57600080fd5b8235612cca81612c97565b946020939093013593505050565b600060208284031215612cea57600080fd5b5035919050565b600080600060608486031215612d0657600080fd5b8335612d1181612c97565b92506020840135612d2181612c97565b929592945050506040919091013590565b600060208284031215612d4457600080fd5b8135612d4f81612c97565b9392505050565b80151581146119e357600080fd5b60008060408385031215612d7757600080fd5b8235612d8281612c97565b91506020830135612d9281612d56565b809150509250929050565b60008060408385031215612db057600080fd5b8235612dbb81612c97565b91506020830135612d9281612c97565b600181811c90821680612ddf57607f821691505b602082108103612dff57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612e1757600080fd5b8151612d4f81612d56565b600080600060608486031215612e3757600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052601160045260246000fd5b808201808211156109bc576109bc612e50565b80820281158282048414176109bc576109bc612e50565b600082612ead57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612ec457600080fd5b5051919050565b818103818111156109bc576109bc612e50565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612f0657600080fd5b8151612d4f81612c97565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612f615784516001600160a01b031683529383019391830191600101612f3c565b50506001600160a01b03969096166060850152505050608001529392505050565b60008251612f94818460208701612c22565b919091019291505056fea2646970667358221220ee0c851592412ad34199ed791fac7987a0953fa6c2ea1a7b0ebf3fe6c42eda1a64736f6c6343000811003300000000000000000000000011f04c243d210429fe0e53d19ed7db7b77b82d79
Deployed Bytecode
0x60806040526004361061030c5760003560e01c8063715018a61161019a578063ac1b129d116100e1578063dc07b6171161008a578063e27a55fe11610064578063e27a55fe146108c0578063e634e70a146108d6578063f2fde38b146108f657600080fd5b8063dc07b61714610845578063dc93cf701461085a578063dd62ed3e1461087a57600080fd5b8063c6a30647116100bb578063c6a30647146107df578063c78d0fa0146107ff578063dae6a9821461081557600080fd5b8063ac1b129d14610783578063b62496f514610799578063bb811508146107c957600080fd5b806395d89b41116101435780639e93ad8e1161011d5780639e93ad8e1461072d578063a457c2d714610743578063a9059cbb1461076357600080fd5b806395d89b41146106e25780639a7a23d6146106f75780639cf551831461071757600080fd5b806384d5a0f11161017457806384d5a0f114610684578063894dc39b146106a45780638da5cb5b146106c457600080fd5b8063715018a61461063a578063751039fc1461064f5780637571336a1461066457600080fd5b8063313ce5671161025e578063452ed4f1116102075780635df6e68e116101e15780635df6e68e146105ce5780636ddd1713146105e457806370a082311461060457600080fd5b8063452ed4f1146105655780634df340e41461059957806351f205e4146105b957600080fd5b80633970124c116102385780633970124c146104f15780633e0a553114610525578063436d33401461054557600080fd5b8063313ce5671461049f57806333cdacd9146104bb57806339509351146104d157600080fd5b806312185a39116102c057806323b872dd1161029a57806323b872dd146104555780632542489614610475578063293230b81461048a57600080fd5b806312185a39146103fa57806318160ddd1461041c5780631cce34ee1461043b57600080fd5b80630758d924116102f15780630758d92414610377578063095ea7b3146103ab57806311704f52146103db57600080fd5b806302f087a21461031857806306fdde031461035557600080fd5b3661031357005b600080fd5b34801561032457600080fd5b50600b54610338906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561036157600080fd5b5061036a610916565b60405161034c9190612c46565b34801561038357600080fd5b506103387f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156103b757600080fd5b506103cb6103c6366004612cac565b6109a8565b604051901515815260200161034c565b3480156103e757600080fd5b50600e546103cb90610100900460ff1681565b34801561040657600080fd5b5061041a610415366004612cd8565b6109c2565b005b34801561042857600080fd5b506002545b60405190815260200161034c565b34801561044757600080fd5b50600e546103cb9060ff1681565b34801561046157600080fd5b506103cb610470366004612cf1565b610a64565b34801561048157600080fd5b5061041a610a88565b34801561049657600080fd5b5061041a610b85565b3480156104ab57600080fd5b506040516012815260200161034c565b3480156104c757600080fd5b5061042d60075481565b3480156104dd57600080fd5b506103cb6104ec366004612cac565b610e6d565b3480156104fd57600080fd5b506103387f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b34801561053157600080fd5b50600c54610338906001600160a01b031681565b34801561055157600080fd5b5061041a610560366004612cd8565b610eac565b34801561057157600080fd5b506103387f0000000000000000000000006adb11c77570e6aa1793c89cd67d6c9eef37263481565b3480156105a557600080fd5b5061041a6105b4366004612d32565b610f3e565b3480156105c557600080fd5b5061041a610ffe565b3480156105da57600080fd5b5061042d600f5481565b3480156105f057600080fd5b50600e546103cb9062010000900460ff1681565b34801561061057600080fd5b5061042d61061f366004612d32565b6001600160a01b031660009081526020819052604090205490565b34801561064657600080fd5b5061041a6110e2565b34801561065b57600080fd5b5061041a6110f4565b34801561067057600080fd5b5061041a61067f366004612d64565b611131565b34801561069057600080fd5b5061041a61069f366004612cd8565b611210565b3480156106b057600080fd5b5061041a6106bf366004612cd8565b611306565b3480156106d057600080fd5b506005546001600160a01b0316610338565b3480156106ee57600080fd5b5061036a611440565b34801561070357600080fd5b5061041a610712366004612d64565b61144f565b34801561072357600080fd5b5061042d600d5481565b34801561073957600080fd5b5061042d61271081565b34801561074f57600080fd5b506103cb61075e366004612cac565b611571565b34801561076f57600080fd5b506103cb61077e366004612cac565b61161b565b34801561078f57600080fd5b5061042d60065481565b3480156107a557600080fd5b506103cb6107b4366004612d32565b60136020526000908152604090205460ff1681565b3480156107d557600080fd5b5061042d60085481565b3480156107eb57600080fd5b5061041a6107fa366004612d64565b611629565b34801561080b57600080fd5b5061042d600a5481565b34801561082157600080fd5b506103cb610830366004612d32565b60126020526000908152604090205460ff1681565b34801561085157600080fd5b5061041a611690565b34801561086657600080fd5b5061041a610875366004612d32565b6116d0565b34801561088657600080fd5b5061042d610895366004612d9d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108cc57600080fd5b5061042d60105481565b3480156108e257600080fd5b5061041a6108f1366004612cd8565b61185f565b34801561090257600080fd5b5061041a610911366004612d32565b611956565b60606003805461092590612dcb565b80601f016020809104026020016040519081016040528092919081815260200182805461095190612dcb565b801561099e5780601f106109735761010080835404028352916020019161099e565b820191906000526020600020905b81548152906001019060200180831161098157829003601f168201915b5050505050905090565b6000336109b68185856119e6565b60019150505b92915050565b6109ca611b3e565b60108190556102bc811115610a265760405162461bcd60e51b815260206004820152601b60248201527f4d757374206b65657020746178206174203725206f72206c657373000000000060448201526064015b60405180910390fd5b7fa02824f65350567bc405e202b741e7ca6274004a9feeb44149df72b8bd599c97601054604051610a5991815260200190565b60405180910390a150565b600033610a72858285611b98565b610a7d858585611c2a565b506001949350505050565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8116600483015260001960248301527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2169063095ea7b3906044016020604051808303816000875af1158015610b31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b559190612e05565b50610b83307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6000196119e6565b565b610b8d611b3e565b600e54610100900460ff1615610c0b5760405162461bcd60e51b815260206004820152602b60248201527f54726164696e6720697320616c7265616479206163746976652c2063616e6e6f60448201527f742072656c61756e63682e0000000000000000000000000000000000000000006064820152608401610a1d565b30600090815260208190526040902054479081610c905760405162461bcd60e51b815260206004820152602160248201527f43616e6e6f742073746172742074726164696e672077697468206e6f2065746860448201527f21000000000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b60008111610d055760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f742073746172742074726164696e672077697468206e6f20746f6b60448201527f656e7321000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d719833084600080610d4c6005546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610dcc573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610df19190612e22565b5050600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff16620101001790555043600d55604080518381526020810183905242918101919091527f943d399ab30f6cd548c2ea7f02893b55d03e93df56210eac334f5613b42be773906060015b60405180910390a15050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906109b69082908690610ea7908790612e66565b6119e6565b610eb4611b3e565b600f8190556102bc811115610f0b5760405162461bcd60e51b815260206004820152601b60248201527f4d757374206b65657020746178206174203725206f72206c65737300000000006044820152606401610a1d565b7f5380a61520019ce8270d583f62f1b2b9f4f4372e1acaaf708f4865cecece0508600f54604051610a5991815260200190565b610f46611b3e565b6001600160a01b038116610f9c5760405162461bcd60e51b815260206004820152601360248201527f616464726573732063616e6e6f742062652030000000000000000000000000006044820152606401610a1d565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f98d93069b62252296364a3e2b9a117e40ba5777b0097b6be97ca3a4845321f2e90600090a250565b611006611b3e565b600a5430600090815260208190526040902054101561108d5760405162461bcd60e51b815260206004820152603d60248201527f43616e206f6e6c792073776170207768656e20746f6b656e20616d742069732060448201527f6174206f7220686967686572207468616e207265737472696374696f6e0000006064820152608401610a1d565b6009805460ff191660011790556110a2612310565b6009805460ff191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb32906020015b60405180910390a1565b6110ea611b3e565b610b836000612368565b6110fc611b3e565b600e805460ff191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c90600090a1565b611139611b3e565b806111e5577f0000000000000000000000006adb11c77570e6aa1793c89cd67d6c9eef3726346001600160a01b0316826001600160a01b0316036111e55760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060448201527f6d61782074786e000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b611218611b3e565b670de0b6b3a7640000606461122c60025490565b611237906001612e79565b6112419190612e90565b61124b9190612e90565b8110156112bf5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d61782062757920616d74206c6f7765722074686160448201527f6e203125000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6112d181670de0b6b3a7640000612e79565b60068190556040519081527fbd0f1740caf821f78178ca26f0481f035268c600b91408a9a82dfb3a80b79a2990602001610a59565b61130e611b3e565b620f424061131b60025490565b611326906001612e79565b6113309190612e90565b8110156113a55760405162461bcd60e51b815260206004820152603360248201527f5377617020616d742063616e6e6f74206265206c6f776572207468616e20302e60448201527f303030312520746f74616c20737570706c792e000000000000000000000000006064820152608401610a1d565b6103e86113b160025490565b6113bc906001612e79565b6113c69190612e90565b81111561143b5760405162461bcd60e51b815260206004820152603160248201527f5377617020616d742063616e6e6f7420626520686967686572207468616e203060448201527f2e312520746f74616c20737570706c792e0000000000000000000000000000006064820152608401610a1d565b600a55565b60606004805461092590612dcb565b611457611b3e565b7f0000000000000000000000006adb11c77570e6aa1793c89cd67d6c9eef3726346001600160a01b0316826001600160a01b03161415806114955750805b6115075760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610a1d565b6001600160a01b0382166000908152601360205260409020805460ff191682151517905561153582826123d2565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561160e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610a1d565b610a7d82868684036119e6565b6000336109b6818585611c2a565b611631611b3e565b6001600160a01b038216600081815260116020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c910160405180910390a25050565b611698611b3e565b60025460088190556040519081527f5c2c6bbd255d68d22e47fbc0e1cbb9e5c5c2892d91144941f6b7f61d3b1c8a55906020016110d8565b6116d8611b3e565b6001600160a01b03811661172e5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610a1d565b6001600160a01b0381163014158061174e5750600e54610100900460ff16155b61179a5760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e73000000006044820152606401610a1d565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156117e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118059190612eb2565b600b549091506118209083906001600160a01b03168361242e565b604080516001600160a01b0384168152602081018390527fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e4389101610e61565b611867611b3e565b670de0b6b3a7640000606461187b60025490565b611886906001612e79565b6118909190612e90565b61189a9190612e90565b81101561190f5760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420736574206d61782073656c6c20616d74206c6f77657220746860448201527f616e2031250000000000000000000000000000000000000000000000000000006064820152608401610a1d565b61192181670de0b6b3a7640000612e79565b60078190556040519081527fda3f4fd2455d333278e3d4e42bf292b30da257f729437c6264f483617cbf73f790602001610a59565b61195e611b3e565b6001600160a01b0381166119da5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a1d565b6119e381612368565b50565b6001600160a01b038316611a615760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b038216611add5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610b835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1d565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611c245781811015611c175760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a1d565b611c2484848484036119e6565b50505050565b6001600160a01b038316611ca65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b038216611d225760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b80600003611d3b57611d36838360006124ae565b505050565b600e54610100900460ff16611dd5576001600160a01b03831660009081526011602052604090205460ff1680611d8957506001600160a01b03821660009081526011602052604090205460ff165b611dd55760405162461bcd60e51b815260206004820152601660248201527f54726164696e67206973206e6f74206163746976652e000000000000000000006044820152606401610a1d565b6001600160a01b03831660009081526011602052604090205460ff1680611e1457506001600160a01b03821660009081526011602052604090205460ff165b80611e21575060095460ff165b15611e3157611d368383836124ae565b600e5460ff161561216b576005546001600160a01b03848116911614801590611e6857506005546001600160a01b03838116911614155b8015611e7c57506001600160a01b03821615155b8015611e9357506001600160a01b03821661dead14155b8015611eb857506001600160a01b03831660009081526011602052604090205460ff16155b8015611edd57506001600160a01b03821660009081526011602052604090205460ff16155b1561216b576001600160a01b03831660009081526013602052604090205460ff168015611f2357506001600160a01b03821660009081526012602052604090205460ff16155b1561201957600654811115611fa05760405162461bcd60e51b815260206004820152602560248201527f427579207472616e7366657220616d74206578636565647320746865206d617860448201527f206275792e0000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6008546001600160a01b038316600090815260208190526040902054611fc69083612e66565b11156120145760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420457863656564206d61782077616c6c657400000000000000006044820152606401610a1d565b61216b565b6001600160a01b03821660009081526013602052604090205460ff16801561205a57506001600160a01b03831660009081526012602052604090205460ff16155b156120d7576007548111156120145760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d74206578636565647320746865206d6160448201527f782073656c6c2e000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b03821660009081526012602052604090205460ff1661216b576008546001600160a01b03831660009081526020819052604090205461211d9083612e66565b111561216b5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f7420457863656564206d61782077616c6c657400000000000000006044820152606401610a1d565b30600090815260208190526040902054600a54811080159081906121975750600e5462010000900460ff165b80156121a6575060095460ff16155b80156121ca57506001600160a01b03841660009081526013602052604090205460ff165b156121ef576009805460ff191660011790556121e4612310565b6009805460ff191690555b6001600160a01b03851660009081526011602052604090205460019060ff168061223157506001600160a01b03851660009081526011602052604090205460ff165b1561223a575060005b80156122fd576001600160a01b03851660009081526013602052604081205460ff16801561226a57506000601054115b1561229157612710601054866122809190612e79565b61228a9190612e90565b90506122de565b6001600160a01b03871660009081526013602052604090205460ff1680156122bb57506000600f54115b156122de57612710600f54866122d19190612e79565b6122db9190612e90565b90505b80156122ef576122ef8730836124ae565b6122f98186612ecb565b9450505b6123088686866124ae565b505050505050565b306000908152602081905260408120549081900361232b5750565b600a54612339906028612e79565b81111561235157600a5461234e906028612e79565b90505b600b546119e39082906001600160a01b031661269b565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260126020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd67469101610e61565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052611d36908490612996565b6001600160a01b03831661252a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b0382166125a65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b038316600090815260208190526040902054818110156126355760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611c24565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106126d0576126d0612ede565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561274e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127729190612ef4565b8160018151811061278557612785612ede565b60200260200101906001600160a01b031690816001600160a01b0316815250506127d0307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d856119e6565b6040517f5c11d7950000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1690635c11d7959061283e908690600090869088904290600401612f11565b600060405180830381600087803b15801561285857600080fd5b505af115801561286c573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031691506370a0823190602401602060405180830381865afa1580156128d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128fb9190612eb2565b1115611d36576040516370a0823160e01b8152306004820152611d36907f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc29084906001600160a01b038316906370a0823190602401602060405180830381865afa15801561296d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129919190612eb2565b61242e565b60006129eb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a7b9092919063ffffffff16565b805190915015611d365780806020019051810190612a099190612e05565b611d365760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610a1d565b6060612a8a8484600085612a92565b949350505050565b606082471015612b0a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610a1d565b600080866001600160a01b03168587604051612b269190612f82565b60006040518083038185875af1925050503d8060008114612b63576040519150601f19603f3d011682016040523d82523d6000602084013e612b68565b606091505b5091509150612b7987838387612b84565b979650505050505050565b60608315612bf3578251600003612bec576001600160a01b0385163b612bec5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a1d565b5081612a8a565b612a8a8383815115612c085781518083602001fd5b8060405162461bcd60e51b8152600401610a1d9190612c46565b60005b83811015612c3d578181015183820152602001612c25565b50506000910152565b6020815260008251806020840152612c65816040850160208701612c22565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6001600160a01b03811681146119e357600080fd5b60008060408385031215612cbf57600080fd5b8235612cca81612c97565b946020939093013593505050565b600060208284031215612cea57600080fd5b5035919050565b600080600060608486031215612d0657600080fd5b8335612d1181612c97565b92506020840135612d2181612c97565b929592945050506040919091013590565b600060208284031215612d4457600080fd5b8135612d4f81612c97565b9392505050565b80151581146119e357600080fd5b60008060408385031215612d7757600080fd5b8235612d8281612c97565b91506020830135612d9281612d56565b809150509250929050565b60008060408385031215612db057600080fd5b8235612dbb81612c97565b91506020830135612d9281612c97565b600181811c90821680612ddf57607f821691505b602082108103612dff57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612e1757600080fd5b8151612d4f81612d56565b600080600060608486031215612e3757600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052601160045260246000fd5b808201808211156109bc576109bc612e50565b80820281158282048414176109bc576109bc612e50565b600082612ead57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612ec457600080fd5b5051919050565b818103818111156109bc576109bc612e50565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612f0657600080fd5b8151612d4f81612c97565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612f615784516001600160a01b031683529383019391830191600101612f3c565b50506001600160a01b03969096166060850152505050608001529392505050565b60008251612f94818460208701612c22565b919091019291505056fea2646970667358221220ee0c851592412ad34199ed791fac7987a0953fa6c2ea1a7b0ebf3fe6c42eda1a64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000011f04c243d210429fe0e53d19ed7db7b77b82d79
-----Decoded View---------------
Arg [0] : _marketingAddress (address): 0x11f04C243D210429fe0E53d19ED7DB7B77B82D79
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000011f04c243d210429fe0e53d19ed7db7b77b82d79
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.