ERC-20
Overview
Max Total Supply
100,000,000 PEGA
Holders
76
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.00000000000938372 PEGAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PEGA
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // TG: https://t.me/tokenpega // X: https://x.com/tokenpega 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; } } /** * @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); } } /** * @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); } // 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; } } } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); 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 addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( 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 swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } /** * @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); } /** * @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 {} } contract PEGA is ERC20, Ownable { using SafeMath for uint256; address public uniswapV2Pair; bool public tradingActive = false; IUniswapV2Router02 public uniswapV2Router; address private routerAddress; bool private swapping; address public feesWallet; uint256 public swapTokensAtAmount; uint256 public swapMinimum; bool public swapEnabled = true; mapping(address => bool) public excludedFromMaxTx; uint256 public maxTxAmount; uint256 public maxWalletAmount; bool public limitsEnabled = true; bool public antiContractDumpEnabled = true; mapping(uint256 => uint256) private _swapBlocks; bool public blacklistDisabled = false; mapping(address => bool) public blacklistedWallets; uint256 public buyFees; uint256 public buyDevFee; uint256 public buyLiquidityFee; uint256 public sellFees; uint256 public sellDevFee; uint256 public sellLiquidityFee; uint256 private tokensForMarketing; uint256 private tokensForLiquidity; mapping(address => bool) private _excludedFromFees; mapping(address => bool) public ammPairs; constructor() ERC20("A Pepe with Maga Hat", "PEGA") { uint256 totalSupply = 100000000 * 1e18; routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( routerAddress ); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); ammPairs[uniswapV2Pair] = true; uint256 _buyMarketingFee = 30; uint256 _buyLiquidityFee = 0; uint256 _sellMarketingFee = 30; uint256 _sellLiquidityFee = 0; swapTokensAtAmount = (totalSupply * 5) / 1000; swapMinimum = (totalSupply * 5) / 1000; buyDevFee = _buyMarketingFee; buyLiquidityFee = _buyLiquidityFee; sellDevFee = _sellMarketingFee; sellLiquidityFee = _sellLiquidityFee; buyFees = buyDevFee + buyLiquidityFee; sellFees = sellDevFee + sellLiquidityFee; feesWallet = address(0xd2D405B0D196ab91D9C36e3Eb4492A2a48F8F8f1); excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); limitsEnabled = true; maxTxAmount = 1000000 * 1e18; maxWalletAmount = 1000000 * 1e18; excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); excludeFromMaxTransaction(address(_uniswapV2Router), true); excludeFromMaxTransaction(address(uniswapV2Pair), true); _mint(msg.sender, totalSupply); } receive() external payable {} function startTrading() public onlyOwner { tradingActive = true; } function changeSwapBackRestriction(bool newVal) public onlyOwner { antiContractDumpEnabled = newVal; } function disableLimits() external onlyOwner returns (bool) { limitsEnabled = false; return true; } function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 4) / 100, "Swap amount cannot be higher than 4% total supply." ); swapTokensAtAmount = newAmount; return true; } function setSwapMinimum(uint256 newAmount) external onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 4) / 100, "Swap amount cannot be higher than 4% total supply." ); swapMinimum = newAmount; return true; } function setSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function setMaxTxAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 1000) / 1e18 ); maxTxAmount = newNum * (10 ** 18); } function setMaxWalletAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 1000) / 1e18 ); maxWalletAmount = newNum * (10 ** 18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { excludedFromMaxTx[updAds] = isEx; } function setBuyFees( uint256 _marketingFee, uint256 _liquidityFee ) external onlyOwner { buyDevFee = _marketingFee; buyLiquidityFee = _liquidityFee; buyFees = buyDevFee + buyLiquidityFee; require(buyFees <= 20); } function setSellFees( uint256 _marketingFee, uint256 _liquidityFee ) external onlyOwner { sellDevFee = _marketingFee; sellLiquidityFee = _liquidityFee; sellFees = sellDevFee + sellLiquidityFee; require(sellFees <= 60); } function excludeFromFees(address account, bool excluded) public onlyOwner { _excludedFromFees[account] = excluded; } function addAMMPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAMMPair(pair, value); } function _setAMMPair(address pair, bool value) private { ammPairs[pair] = value; } function setFeesWallet(address _wallet) external onlyOwner { feesWallet = _wallet; } function isExcludedFromFees(address account) public view returns (bool) { return _excludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(!blacklistedWallets[from], "Blacklisted"); if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsEnabled) { if ( from != owner() && to != owner() && !swapping && to != address(0) && to != address(0xdead) ) { if (!tradingActive) { require( _excludedFromFees[from] || _excludedFromFees[to], "Trading is not active." ); } if ( ammPairs[from] && !excludedFromMaxTx[to] ) { require( amount <= maxTxAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWalletAmount, "Max wallet exceeded" ); } else if ( ammPairs[to] && !excludedFromMaxTx[from] ) { require( amount <= maxTxAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!excludedFromMaxTx[to]) { require( amount + balanceOf(to) <= maxWalletAmount, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapMinimum; if ( canSwap && swapEnabled && !swapping && !ammPairs[from] && !_excludedFromFees[from] && !_excludedFromFees[to] ) { swapping = true; swapBack(amount); swapping = false; } bool takeFee = !swapping; if (_excludedFromFees[from] || _excludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { if (ammPairs[to] && sellFees > 0) { fees = amount.mul(sellFees).div(100); tokensForLiquidity += (fees * sellLiquidityFee) / sellFees; tokensForMarketing += (fees * sellDevFee) / sellFees; } else if (ammPairs[from] && buyFees > 0) { fees = amount.mul(buyFees).div(100); tokensForLiquidity += (fees * buyLiquidityFee) / buyFees; tokensForMarketing += (fees * buyDevFee) / buyFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function blacklist(address _address, bool _isBlacklisting) external onlyOwner { require(!blacklistDisabled); require(_address != address(uniswapV2Pair)); require(_address != address(routerAddress)); blacklistedWallets[_address] = _isBlacklisting; } function renounceBlacklistAbility() public onlyOwner { blacklistDisabled = true; } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, 0, feesWallet, block.timestamp ); } function swapBack(uint256 amount) private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForLiquidity + tokensForMarketing; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } uint256 amountToSwap = swapTokensAtAmount; _swapBlocks[block.number]++; if (antiContractDumpEnabled) { if(_swapBlocks[block.number] >= 2) { return; } } if (contractBalance > amountToSwap) { contractBalance = amountToSwap; } uint256 liquidityTokens = (contractBalance * tokensForLiquidity) / totalTokensToSwap / 2; uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div( totalTokensToSwap ); uint256 ethForLiquidity = ethBalance - ethForMarketing; tokensForLiquidity = 0; tokensForMarketing = 0; if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); } (success,) = address(feesWallet).call{ value: address(this).balance }(""); } function withdrawTokens() external { require(owner() == _msgSender() || feesWallet == _msgSender(), "Caller is not the owner or marketing wallet"); super._transfer(address(this), address(feesWallet), balanceOf(address(this))); } function swapTokens() public onlyOwner { bool success; swapTokensForEth(balanceOf(address(this))); (success,) = address(feesWallet).call{value: address(this).balance}(""); } function sendEth() external { bool success; (success,) = address(feesWallet).call{value: address(this).balance}(""); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"addAMMPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ammPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiContractDumpEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isBlacklisting","type":"bool"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blacklistDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklistedWallets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"newVal","type":"bool"}],"name":"changeSwapBackRestriction","outputs":[],"stateMutability":"nonpayable","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":"disableLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"excludedFromMaxTx","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feesWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","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":"renounceBlacklistAbility","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sendEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"setBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"setFeesWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"setSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setSwapMinimum","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"swapMinimum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","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":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526006805460ff60a01b19169055600c805460ff199081166001179091556010805461ffff19166101011790556012805490911690553480156200004657600080fd5b506040518060400160405280601481526020017f4120506570652077697468204d61676120486174000000000000000000000000815250604051806040016040528060048152602001635045474160e01b8152508160039081620000ab9190620006a1565b506004620000ba8282620006a1565b505050620000d7620000d16200041360201b60201c565b62000417565b60088054737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0319918216811790925560078054909116821790556040805163c45a015560e01b815290516a52b7d2dcc80cd2e40000009291829163c45a0155916004808201926020929091908290030181865afa15801562000158573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017e91906200076d565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f291906200076d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000240573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026691906200076d565b600680546001600160a01b0319166001600160a01b039290921691821790556000908152601d60205260408120805460ff19166001179055601e9081816103e8620002b3876005620007b5565b620002bf9190620007d5565b600a556103e8620002d2876005620007b5565b620002de9190620007d5565b600b556015849055601683905560188290556019819055620003018385620007f8565b601455601954601854620003169190620007f8565b601755600980546001600160a01b03191673d2d405b0d196ab91d9c36e3eb4492a2a48f8f8f11790556200035e620003566005546001600160a01b031690565b600162000469565b6200036b30600162000469565b6200037a61dead600162000469565b6010805460ff1916600117905569d3c21bcecceda1000000600e819055600f55620003b9620003b16005546001600160a01b031690565b60016200049e565b620003c63060016200049e565b620003d561dead60016200049e565b620003e28560016200049e565b600654620003fb906001600160a01b031660016200049e565b620004073387620004d3565b5050505050506200080e565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620004736200059a565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b620004a86200059a565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6001600160a01b0382166200052f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620005439190620007f8565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620005f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000526565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200062857607f821691505b6020821081036200064957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005f857600081815260208120601f850160051c81016020861015620006785750805b601f850160051c820191505b81811015620006995782815560010162000684565b505050505050565b81516001600160401b03811115620006bd57620006bd620005fd565b620006d581620006ce845462000613565b846200064f565b602080601f8311600181146200070d5760008415620006f45750858301515b600019600386901b1c1916600185901b17855562000699565b600085815260208120601f198616915b828110156200073e578886015182559484019460019091019084016200071d565b50858210156200075d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200078057600080fd5b81516001600160a01b03811681146200079857600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620007cf57620007cf6200079f565b92915050565b600082620007f357634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620007cf57620007cf6200079f565b6124f8806200081e6000396000f3fe6080604052600436106103545760003560e01c806395d89b41116101c6578063c0246668116100f7578063e4748b9e11610095578063f2fde38b1161006f578063f2fde38b14610988578063f6374342146109a8578063f8821a62146109be578063f928364c146109d457600080fd5b8063e4748b9e1461093c578063ec28438a14610952578063f11a24d31461097257600080fd5b8063dd62ed3e116100d1578063dd62ed3e146108d0578063e01af92c146108f0578063e0f3ccf514610910578063e2f456051461092657600080fd5b8063c02466681461087b578063c20c43bf1461089b578063c4530d72146108bb57600080fd5b8063a457c2d711610164578063aa4bde281161013e578063aa4bde2814610804578063afa4f3b21461081a578063b2d8f2081461083a578063bbc0c7421461085a57600080fd5b8063a457c2d714610794578063a72905a2146107b4578063a9059cbb146107e457600080fd5b80639fd8234e116101a05780639fd8234e14610725578063a0d82dc514610745578063a2d83c421461075b578063a2edb2c31461077a57600080fd5b806395d89b41146106da57806395f8788c146106ef5780639c3b4fdc1461070f57600080fd5b8063418eeb29116102a0578063715018a61161023e5780637e44d2cc116102185780637e44d2cc146106715780638c0b5e22146106915780638d8f2adb146106a75780638da5cb5b146106bc57600080fd5b8063715018a61461062757806373d002241461063c5780637571336a1461065157600080fd5b80634fbee1931161027a5780634fbee1931461058457806354f9c98c146105bd5780636ddd1713146105ed57806370a082311461060757600080fd5b8063418eeb291461052457806343d4f92b1461054457806349bd5a5e1461056457600080fd5b806327a14fc21161030d578063313ce567116102e7578063313ce567146104ae5780633582ad23146104ca57806339509351146104e4578063404e51291461050457600080fd5b806327a14fc214610449578063293230b8146104695780632b5ba3b91461047e57600080fd5b806306e99fef1461036057806306fdde0314610377578063095ea7b3146103a25780631694505e146103d257806318160ddd1461040a57806323b872dd1461042957600080fd5b3661035b57005b600080fd5b34801561036c57600080fd5b506103756109e9565b005b34801561038357600080fd5b5061038c610a47565b6040516103999190612038565b60405180910390f35b3480156103ae57600080fd5b506103c26103bd36600461209b565b610ad9565b6040519015158152602001610399565b3480156103de57600080fd5b506007546103f2906001600160a01b031681565b6040516001600160a01b039091168152602001610399565b34801561041657600080fd5b506002545b604051908152602001610399565b34801561043557600080fd5b506103c26104443660046120c7565b610af3565b34801561045557600080fd5b50610375610464366004612108565b610b17565b34801561047557600080fd5b50610375610b77565b34801561048a57600080fd5b506103c2610499366004612121565b60136020526000908152604090205460ff1681565b3480156104ba57600080fd5b5060405160128152602001610399565b3480156104d657600080fd5b506010546103c29060ff1681565b3480156104f057600080fd5b506103c26104ff36600461209b565b610b94565b34801561051057600080fd5b5061037561051f36600461214e565b610bb6565b34801561053057600080fd5b506103c261053f366004612108565b610c2f565b34801561055057600080fd5b5061037561055f366004612121565b610cd0565b34801561057057600080fd5b506006546103f2906001600160a01b031681565b34801561059057600080fd5b506103c261059f366004612121565b6001600160a01b03166000908152601c602052604090205460ff1690565b3480156105c957600080fd5b506103c26105d8366004612121565b600d6020526000908152604090205460ff1681565b3480156105f957600080fd5b50600c546103c29060ff1681565b34801561061357600080fd5b5061041b610622366004612121565b610cfa565b34801561063357600080fd5b50610375610d15565b34801561064857600080fd5b50610375610d29565b34801561065d57600080fd5b5061037561066c36600461214e565b610d5d565b34801561067d57600080fd5b506009546103f2906001600160a01b031681565b34801561069d57600080fd5b5061041b600e5481565b3480156106b357600080fd5b50610375610d90565b3480156106c857600080fd5b506005546001600160a01b03166103f2565b3480156106e657600080fd5b5061038c610e33565b3480156106fb57600080fd5b5061037561070a36600461214e565b610e42565b34801561071b57600080fd5b5061041b60155481565b34801561073157600080fd5b50610375610740366004612183565b610efa565b34801561075157600080fd5b5061041b60185481565b34801561076757600080fd5b506010546103c290610100900460ff1681565b34801561078657600080fd5b506012546103c29060ff1681565b3480156107a057600080fd5b506103c26107af36600461209b565b610f28565b3480156107c057600080fd5b506103c26107cf366004612121565b601d6020526000908152604090205460ff1681565b3480156107f057600080fd5b506103c26107ff36600461209b565b610fa3565b34801561081057600080fd5b5061041b600f5481565b34801561082657600080fd5b506103c2610835366004612108565b610fb1565b34801561084657600080fd5b50610375610855366004612183565b611044565b34801561086657600080fd5b506006546103c290600160a01b900460ff1681565b34801561088757600080fd5b5061037561089636600461214e565b611070565b3480156108a757600080fd5b506103756108b63660046121a5565b6110a3565b3480156108c757600080fd5b506103756110c5565b3480156108dc57600080fd5b5061041b6108eb3660046121c0565b6110dc565b3480156108fc57600080fd5b5061037561090b3660046121a5565b611107565b34801561091c57600080fd5b5061041b60175481565b34801561093257600080fd5b5061041b600a5481565b34801561094857600080fd5b5061041b60145481565b34801561095e57600080fd5b5061037561096d366004612108565b611122565b34801561097e57600080fd5b5061041b60165481565b34801561099457600080fd5b506103756109a3366004612121565b611182565b3480156109b457600080fd5b5061041b60195481565b3480156109ca57600080fd5b5061041b600b5481565b3480156109e057600080fd5b506103c26111fb565b6009546040516000916001600160a01b03169047905b60006040518083038185875af1925050503d8060008114610a3c576040519150601f19603f3d011682016040523d82523d6000602084013e610a41565b606091505b50505050565b606060038054610a56906121f9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a82906121f9565b8015610acf5780601f10610aa457610100808354040283529160200191610acf565b820191906000526020600020905b815481529060010190602001808311610ab257829003601f168201915b5050505050905090565b600033610ae7818585611215565b60019150505b92915050565b600033610b01858285611339565b610b0c8585856113ad565b506001949350505050565b610b1f611a8f565b670de0b6b3a76400006103e8610b3460025490565b610b3f906001612249565b610b499190612260565b610b539190612260565b811015610b5f57600080fd5b610b7181670de0b6b3a7640000612249565b600f5550565b610b7f611a8f565b6006805460ff60a01b1916600160a01b179055565b600033610ae7818585610ba783836110dc565b610bb19190612282565b611215565b610bbe611a8f565b60125460ff1615610bce57600080fd5b6006546001600160a01b0390811690831603610be957600080fd5b6008546001600160a01b0390811690831603610c0457600080fd5b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6000610c39611a8f565b620186a0610c4660025490565b610c51906001612249565b610c5b9190612260565b821015610c835760405162461bcd60e51b8152600401610c7a90612295565b60405180910390fd5b6064610c8e60025490565b610c99906004612249565b610ca39190612260565b821115610cc25760405162461bcd60e51b8152600401610c7a906122ea565b50600b81905560015b919050565b610cd8611a8f565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526020819052604090205490565b610d1d611a8f565b610d276000611ae9565b565b610d31611a8f565b6000610d44610d3f30610cfa565b611b3b565b6009546040516001600160a01b039091169047906109ff565b610d65611a8f565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331480610db357506009546001600160a01b031633145b610e135760405162461bcd60e51b815260206004820152602b60248201527f43616c6c6572206973206e6f7420746865206f776e6572206f72206d61726b6560448201526a1d1a5b99c81dd85b1b195d60aa1b6064820152608401610c7a565b600954610d279030906001600160a01b0316610e2e82610cfa565b611c95565b606060048054610a56906121f9565b610e4a611a8f565b6006546001600160a01b0390811690831603610ece5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c7a565b6001600160a01b0382166000908152601d60205260409020805460ff19168215151790555050565b5050565b610f02611a8f565b60188290556019819055610f168183612282565b6017819055603c1015610ef657600080fd5b60003381610f3682866110dc565b905083811015610f965760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c7a565b610b0c8286868403611215565b600033610ae78185856113ad565b6000610fbb611a8f565b620186a0610fc860025490565b610fd3906001612249565b610fdd9190612260565b821015610ffc5760405162461bcd60e51b8152600401610c7a90612295565b606461100760025490565b611012906004612249565b61101c9190612260565b82111561103b5760405162461bcd60e51b8152600401610c7a906122ea565b50600a55600190565b61104c611a8f565b601582905560168190556110608183612282565b60148181551015610ef657600080fd5b611078611a8f565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6110ab611a8f565b601080549115156101000261ff0019909216919091179055565b6110cd611a8f565b6012805460ff19166001179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61110f611a8f565b600c805460ff1916911515919091179055565b61112a611a8f565b670de0b6b3a76400006103e861113f60025490565b61114a906001612249565b6111549190612260565b61115e9190612260565b81101561116a57600080fd5b61117c81670de0b6b3a7640000612249565b600e5550565b61118a611a8f565b6001600160a01b0381166111ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c7a565b6111f881611ae9565b50565b6000611205611a8f565b506010805460ff19169055600190565b6001600160a01b0383166112775760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c7a565b6001600160a01b0382166112d85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c7a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061134584846110dc565b90506000198114610a4157818110156113a05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c7a565b610a418484848403611215565b6001600160a01b0383166113d35760405162461bcd60e51b8152600401610c7a9061233c565b6001600160a01b0382166113f95760405162461bcd60e51b8152600401610c7a90612381565b6001600160a01b03831660009081526013602052604090205460ff16156114505760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b6044820152606401610c7a565b806000036114695761146483836000611c95565b505050565b60105460ff16156117c1576005546001600160a01b038481169116148015906114a057506005546001600160a01b03838116911614155b80156114b65750600854600160a01b900460ff16155b80156114ca57506001600160a01b03821615155b80156114e157506001600160a01b03821661dead14155b156117c157600654600160a01b900460ff1661157b576001600160a01b0383166000908152601c602052604090205460ff168061153657506001600160a01b0382166000908152601c602052604090205460ff165b61157b5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610c7a565b6001600160a01b0383166000908152601d602052604090205460ff1680156115bc57506001600160a01b0382166000908152600d602052604090205460ff16155b1561169057600e548111156116315760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610c7a565b600f5461163d83610cfa565b6116479083612282565b111561168b5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c7a565b6117c1565b6001600160a01b0382166000908152601d602052604090205460ff1680156116d157506001600160a01b0383166000908152600d602052604090205460ff16155b1561174757600e5481111561168b5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610c7a565b6001600160a01b0382166000908152600d602052604090205460ff166117c157600f5461177383610cfa565b61177d9083612282565b11156117c15760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c7a565b60006117cc30610cfa565b600b54909150811080159081906117e55750600c5460ff165b80156117fb5750600854600160a01b900460ff16155b801561182057506001600160a01b0385166000908152601d602052604090205460ff16155b801561184557506001600160a01b0385166000908152601c602052604090205460ff16155b801561186a57506001600160a01b0384166000908152601c602052604090205460ff16155b15611899576008805460ff60a01b1916600160a01b17905561188b83611dbf565b6008805460ff60a01b191690555b6008546001600160a01b0386166000908152601c602052604090205460ff600160a01b9092048216159116806118e757506001600160a01b0385166000908152601c602052604090205460ff165b156118f0575060005b60008115611a7b576001600160a01b0386166000908152601d602052604090205460ff16801561192257506000601754115b156119b057611947606461194160175488611f5990919063ffffffff16565b90611f6c565b90506017546019548261195a9190612249565b6119649190612260565b601b60008282546119759190612282565b909155505060175460185461198a9083612249565b6119949190612260565b601a60008282546119a59190612282565b90915550611a5d9050565b6001600160a01b0387166000908152601d602052604090205460ff1680156119da57506000601454115b15611a5d576119f9606461194160145488611f5990919063ffffffff16565b905060145460165482611a0c9190612249565b611a169190612260565b601b6000828254611a279190612282565b9091555050601454601554611a3c9083612249565b611a469190612260565b601a6000828254611a579190612282565b90915550505b8015611a6e57611a6e873083611c95565b611a7881866123c4565b94505b611a86878787611c95565b50505050505050565b6005546001600160a01b03163314610d275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c7a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b7057611b706123d7565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bed91906123ed565b81600181518110611c0057611c006123d7565b6001600160a01b039283166020918202929092010152600754611c269130911684611215565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611c5f90859060009086903090429060040161240a565b600060405180830381600087803b158015611c7957600080fd5b505af1158015611c8d573d6000803e3d6000fd5b505050505050565b6001600160a01b038316611cbb5760405162461bcd60e51b8152600401610c7a9061233c565b6001600160a01b038216611ce15760405162461bcd60e51b8152600401610c7a90612381565b6001600160a01b03831660009081526020819052604090205481811015611d595760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c7a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a41565b6000611dca30610cfa565b90506000601a54601b54611dde9190612282565b90506000821580611ded575081155b15611df85750505050565b600a54436000908152601160205260408120805491611e168361247b565b9091555050601054610100900460ff1615611e495743600090815260116020526040902054600211611e49575050505050565b80841115611e55578093505b6000600284601b5487611e689190612249565b611e729190612260565b611e7c9190612260565b90506000611e8a8683611f78565b905047611e9682611b3b565b6000611ea24783611f78565b90506000611ebf88611941601a5485611f5990919063ffffffff16565b90506000611ecd82846123c4565b6000601b819055601a5590508515801590611ee85750600081115b15611ef757611ef78682611f84565b6009546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611f44576040519150601f19603f3d011682016040523d82523d6000602084013e611f49565b606091505b5050505050505050505050505050565b6000611f658284612249565b9392505050565b6000611f658284612260565b6000611f6582846123c4565b600754611f9c9030906001600160a01b031684611215565b60075460095460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af115801561200c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906120319190612494565b5050505050565b600060208083528351808285015260005b8181101561206557858101830151858201604001528201612049565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146111f857600080fd5b600080604083850312156120ae57600080fd5b82356120b981612086565b946020939093013593505050565b6000806000606084860312156120dc57600080fd5b83356120e781612086565b925060208401356120f781612086565b929592945050506040919091013590565b60006020828403121561211a57600080fd5b5035919050565b60006020828403121561213357600080fd5b8135611f6581612086565b80358015158114610ccb57600080fd5b6000806040838503121561216157600080fd5b823561216c81612086565b915061217a6020840161213e565b90509250929050565b6000806040838503121561219657600080fd5b50508035926020909101359150565b6000602082840312156121b757600080fd5b611f658261213e565b600080604083850312156121d357600080fd5b82356121de81612086565b915060208301356121ee81612086565b809150509250929050565b600181811c9082168061220d57607f821691505b60208210810361222d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610aed57610aed612233565b60008261227d57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610aed57610aed612233565b60208082526035908201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60408201527410181718181892903a37ba30b61039bab838363c9760591b606082015260800190565b60208082526032908201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160408201527137101a12903a37ba30b61039bab838363c9760711b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610aed57610aed612233565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156123ff57600080fd5b8151611f6581612086565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561245a5784516001600160a01b031683529383019391830191600101612435565b50506001600160a01b03969096166060850152505050608001529392505050565b60006001820161248d5761248d612233565b5060010190565b6000806000606084860312156124a957600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220cc7234e5ee66745f66216277c423ed0091477f28d8912f883506ad0930be119e64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106103545760003560e01c806395d89b41116101c6578063c0246668116100f7578063e4748b9e11610095578063f2fde38b1161006f578063f2fde38b14610988578063f6374342146109a8578063f8821a62146109be578063f928364c146109d457600080fd5b8063e4748b9e1461093c578063ec28438a14610952578063f11a24d31461097257600080fd5b8063dd62ed3e116100d1578063dd62ed3e146108d0578063e01af92c146108f0578063e0f3ccf514610910578063e2f456051461092657600080fd5b8063c02466681461087b578063c20c43bf1461089b578063c4530d72146108bb57600080fd5b8063a457c2d711610164578063aa4bde281161013e578063aa4bde2814610804578063afa4f3b21461081a578063b2d8f2081461083a578063bbc0c7421461085a57600080fd5b8063a457c2d714610794578063a72905a2146107b4578063a9059cbb146107e457600080fd5b80639fd8234e116101a05780639fd8234e14610725578063a0d82dc514610745578063a2d83c421461075b578063a2edb2c31461077a57600080fd5b806395d89b41146106da57806395f8788c146106ef5780639c3b4fdc1461070f57600080fd5b8063418eeb29116102a0578063715018a61161023e5780637e44d2cc116102185780637e44d2cc146106715780638c0b5e22146106915780638d8f2adb146106a75780638da5cb5b146106bc57600080fd5b8063715018a61461062757806373d002241461063c5780637571336a1461065157600080fd5b80634fbee1931161027a5780634fbee1931461058457806354f9c98c146105bd5780636ddd1713146105ed57806370a082311461060757600080fd5b8063418eeb291461052457806343d4f92b1461054457806349bd5a5e1461056457600080fd5b806327a14fc21161030d578063313ce567116102e7578063313ce567146104ae5780633582ad23146104ca57806339509351146104e4578063404e51291461050457600080fd5b806327a14fc214610449578063293230b8146104695780632b5ba3b91461047e57600080fd5b806306e99fef1461036057806306fdde0314610377578063095ea7b3146103a25780631694505e146103d257806318160ddd1461040a57806323b872dd1461042957600080fd5b3661035b57005b600080fd5b34801561036c57600080fd5b506103756109e9565b005b34801561038357600080fd5b5061038c610a47565b6040516103999190612038565b60405180910390f35b3480156103ae57600080fd5b506103c26103bd36600461209b565b610ad9565b6040519015158152602001610399565b3480156103de57600080fd5b506007546103f2906001600160a01b031681565b6040516001600160a01b039091168152602001610399565b34801561041657600080fd5b506002545b604051908152602001610399565b34801561043557600080fd5b506103c26104443660046120c7565b610af3565b34801561045557600080fd5b50610375610464366004612108565b610b17565b34801561047557600080fd5b50610375610b77565b34801561048a57600080fd5b506103c2610499366004612121565b60136020526000908152604090205460ff1681565b3480156104ba57600080fd5b5060405160128152602001610399565b3480156104d657600080fd5b506010546103c29060ff1681565b3480156104f057600080fd5b506103c26104ff36600461209b565b610b94565b34801561051057600080fd5b5061037561051f36600461214e565b610bb6565b34801561053057600080fd5b506103c261053f366004612108565b610c2f565b34801561055057600080fd5b5061037561055f366004612121565b610cd0565b34801561057057600080fd5b506006546103f2906001600160a01b031681565b34801561059057600080fd5b506103c261059f366004612121565b6001600160a01b03166000908152601c602052604090205460ff1690565b3480156105c957600080fd5b506103c26105d8366004612121565b600d6020526000908152604090205460ff1681565b3480156105f957600080fd5b50600c546103c29060ff1681565b34801561061357600080fd5b5061041b610622366004612121565b610cfa565b34801561063357600080fd5b50610375610d15565b34801561064857600080fd5b50610375610d29565b34801561065d57600080fd5b5061037561066c36600461214e565b610d5d565b34801561067d57600080fd5b506009546103f2906001600160a01b031681565b34801561069d57600080fd5b5061041b600e5481565b3480156106b357600080fd5b50610375610d90565b3480156106c857600080fd5b506005546001600160a01b03166103f2565b3480156106e657600080fd5b5061038c610e33565b3480156106fb57600080fd5b5061037561070a36600461214e565b610e42565b34801561071b57600080fd5b5061041b60155481565b34801561073157600080fd5b50610375610740366004612183565b610efa565b34801561075157600080fd5b5061041b60185481565b34801561076757600080fd5b506010546103c290610100900460ff1681565b34801561078657600080fd5b506012546103c29060ff1681565b3480156107a057600080fd5b506103c26107af36600461209b565b610f28565b3480156107c057600080fd5b506103c26107cf366004612121565b601d6020526000908152604090205460ff1681565b3480156107f057600080fd5b506103c26107ff36600461209b565b610fa3565b34801561081057600080fd5b5061041b600f5481565b34801561082657600080fd5b506103c2610835366004612108565b610fb1565b34801561084657600080fd5b50610375610855366004612183565b611044565b34801561086657600080fd5b506006546103c290600160a01b900460ff1681565b34801561088757600080fd5b5061037561089636600461214e565b611070565b3480156108a757600080fd5b506103756108b63660046121a5565b6110a3565b3480156108c757600080fd5b506103756110c5565b3480156108dc57600080fd5b5061041b6108eb3660046121c0565b6110dc565b3480156108fc57600080fd5b5061037561090b3660046121a5565b611107565b34801561091c57600080fd5b5061041b60175481565b34801561093257600080fd5b5061041b600a5481565b34801561094857600080fd5b5061041b60145481565b34801561095e57600080fd5b5061037561096d366004612108565b611122565b34801561097e57600080fd5b5061041b60165481565b34801561099457600080fd5b506103756109a3366004612121565b611182565b3480156109b457600080fd5b5061041b60195481565b3480156109ca57600080fd5b5061041b600b5481565b3480156109e057600080fd5b506103c26111fb565b6009546040516000916001600160a01b03169047905b60006040518083038185875af1925050503d8060008114610a3c576040519150601f19603f3d011682016040523d82523d6000602084013e610a41565b606091505b50505050565b606060038054610a56906121f9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a82906121f9565b8015610acf5780601f10610aa457610100808354040283529160200191610acf565b820191906000526020600020905b815481529060010190602001808311610ab257829003601f168201915b5050505050905090565b600033610ae7818585611215565b60019150505b92915050565b600033610b01858285611339565b610b0c8585856113ad565b506001949350505050565b610b1f611a8f565b670de0b6b3a76400006103e8610b3460025490565b610b3f906001612249565b610b499190612260565b610b539190612260565b811015610b5f57600080fd5b610b7181670de0b6b3a7640000612249565b600f5550565b610b7f611a8f565b6006805460ff60a01b1916600160a01b179055565b600033610ae7818585610ba783836110dc565b610bb19190612282565b611215565b610bbe611a8f565b60125460ff1615610bce57600080fd5b6006546001600160a01b0390811690831603610be957600080fd5b6008546001600160a01b0390811690831603610c0457600080fd5b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6000610c39611a8f565b620186a0610c4660025490565b610c51906001612249565b610c5b9190612260565b821015610c835760405162461bcd60e51b8152600401610c7a90612295565b60405180910390fd5b6064610c8e60025490565b610c99906004612249565b610ca39190612260565b821115610cc25760405162461bcd60e51b8152600401610c7a906122ea565b50600b81905560015b919050565b610cd8611a8f565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526020819052604090205490565b610d1d611a8f565b610d276000611ae9565b565b610d31611a8f565b6000610d44610d3f30610cfa565b611b3b565b6009546040516001600160a01b039091169047906109ff565b610d65611a8f565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6005546001600160a01b0316331480610db357506009546001600160a01b031633145b610e135760405162461bcd60e51b815260206004820152602b60248201527f43616c6c6572206973206e6f7420746865206f776e6572206f72206d61726b6560448201526a1d1a5b99c81dd85b1b195d60aa1b6064820152608401610c7a565b600954610d279030906001600160a01b0316610e2e82610cfa565b611c95565b606060048054610a56906121f9565b610e4a611a8f565b6006546001600160a01b0390811690831603610ece5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610c7a565b6001600160a01b0382166000908152601d60205260409020805460ff19168215151790555050565b5050565b610f02611a8f565b60188290556019819055610f168183612282565b6017819055603c1015610ef657600080fd5b60003381610f3682866110dc565b905083811015610f965760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c7a565b610b0c8286868403611215565b600033610ae78185856113ad565b6000610fbb611a8f565b620186a0610fc860025490565b610fd3906001612249565b610fdd9190612260565b821015610ffc5760405162461bcd60e51b8152600401610c7a90612295565b606461100760025490565b611012906004612249565b61101c9190612260565b82111561103b5760405162461bcd60e51b8152600401610c7a906122ea565b50600a55600190565b61104c611a8f565b601582905560168190556110608183612282565b60148181551015610ef657600080fd5b611078611a8f565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6110ab611a8f565b601080549115156101000261ff0019909216919091179055565b6110cd611a8f565b6012805460ff19166001179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61110f611a8f565b600c805460ff1916911515919091179055565b61112a611a8f565b670de0b6b3a76400006103e861113f60025490565b61114a906001612249565b6111549190612260565b61115e9190612260565b81101561116a57600080fd5b61117c81670de0b6b3a7640000612249565b600e5550565b61118a611a8f565b6001600160a01b0381166111ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c7a565b6111f881611ae9565b50565b6000611205611a8f565b506010805460ff19169055600190565b6001600160a01b0383166112775760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c7a565b6001600160a01b0382166112d85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c7a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061134584846110dc565b90506000198114610a4157818110156113a05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c7a565b610a418484848403611215565b6001600160a01b0383166113d35760405162461bcd60e51b8152600401610c7a9061233c565b6001600160a01b0382166113f95760405162461bcd60e51b8152600401610c7a90612381565b6001600160a01b03831660009081526013602052604090205460ff16156114505760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b6044820152606401610c7a565b806000036114695761146483836000611c95565b505050565b60105460ff16156117c1576005546001600160a01b038481169116148015906114a057506005546001600160a01b03838116911614155b80156114b65750600854600160a01b900460ff16155b80156114ca57506001600160a01b03821615155b80156114e157506001600160a01b03821661dead14155b156117c157600654600160a01b900460ff1661157b576001600160a01b0383166000908152601c602052604090205460ff168061153657506001600160a01b0382166000908152601c602052604090205460ff165b61157b5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610c7a565b6001600160a01b0383166000908152601d602052604090205460ff1680156115bc57506001600160a01b0382166000908152600d602052604090205460ff16155b1561169057600e548111156116315760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610c7a565b600f5461163d83610cfa565b6116479083612282565b111561168b5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c7a565b6117c1565b6001600160a01b0382166000908152601d602052604090205460ff1680156116d157506001600160a01b0383166000908152600d602052604090205460ff16155b1561174757600e5481111561168b5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610c7a565b6001600160a01b0382166000908152600d602052604090205460ff166117c157600f5461177383610cfa565b61177d9083612282565b11156117c15760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c7a565b60006117cc30610cfa565b600b54909150811080159081906117e55750600c5460ff165b80156117fb5750600854600160a01b900460ff16155b801561182057506001600160a01b0385166000908152601d602052604090205460ff16155b801561184557506001600160a01b0385166000908152601c602052604090205460ff16155b801561186a57506001600160a01b0384166000908152601c602052604090205460ff16155b15611899576008805460ff60a01b1916600160a01b17905561188b83611dbf565b6008805460ff60a01b191690555b6008546001600160a01b0386166000908152601c602052604090205460ff600160a01b9092048216159116806118e757506001600160a01b0385166000908152601c602052604090205460ff165b156118f0575060005b60008115611a7b576001600160a01b0386166000908152601d602052604090205460ff16801561192257506000601754115b156119b057611947606461194160175488611f5990919063ffffffff16565b90611f6c565b90506017546019548261195a9190612249565b6119649190612260565b601b60008282546119759190612282565b909155505060175460185461198a9083612249565b6119949190612260565b601a60008282546119a59190612282565b90915550611a5d9050565b6001600160a01b0387166000908152601d602052604090205460ff1680156119da57506000601454115b15611a5d576119f9606461194160145488611f5990919063ffffffff16565b905060145460165482611a0c9190612249565b611a169190612260565b601b6000828254611a279190612282565b9091555050601454601554611a3c9083612249565b611a469190612260565b601a6000828254611a579190612282565b90915550505b8015611a6e57611a6e873083611c95565b611a7881866123c4565b94505b611a86878787611c95565b50505050505050565b6005546001600160a01b03163314610d275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c7a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b7057611b706123d7565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bed91906123ed565b81600181518110611c0057611c006123d7565b6001600160a01b039283166020918202929092010152600754611c269130911684611215565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac94790611c5f90859060009086903090429060040161240a565b600060405180830381600087803b158015611c7957600080fd5b505af1158015611c8d573d6000803e3d6000fd5b505050505050565b6001600160a01b038316611cbb5760405162461bcd60e51b8152600401610c7a9061233c565b6001600160a01b038216611ce15760405162461bcd60e51b8152600401610c7a90612381565b6001600160a01b03831660009081526020819052604090205481811015611d595760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c7a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a41565b6000611dca30610cfa565b90506000601a54601b54611dde9190612282565b90506000821580611ded575081155b15611df85750505050565b600a54436000908152601160205260408120805491611e168361247b565b9091555050601054610100900460ff1615611e495743600090815260116020526040902054600211611e49575050505050565b80841115611e55578093505b6000600284601b5487611e689190612249565b611e729190612260565b611e7c9190612260565b90506000611e8a8683611f78565b905047611e9682611b3b565b6000611ea24783611f78565b90506000611ebf88611941601a5485611f5990919063ffffffff16565b90506000611ecd82846123c4565b6000601b819055601a5590508515801590611ee85750600081115b15611ef757611ef78682611f84565b6009546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611f44576040519150601f19603f3d011682016040523d82523d6000602084013e611f49565b606091505b5050505050505050505050505050565b6000611f658284612249565b9392505050565b6000611f658284612260565b6000611f6582846123c4565b600754611f9c9030906001600160a01b031684611215565b60075460095460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af115801561200c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906120319190612494565b5050505050565b600060208083528351808285015260005b8181101561206557858101830151858201604001528201612049565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146111f857600080fd5b600080604083850312156120ae57600080fd5b82356120b981612086565b946020939093013593505050565b6000806000606084860312156120dc57600080fd5b83356120e781612086565b925060208401356120f781612086565b929592945050506040919091013590565b60006020828403121561211a57600080fd5b5035919050565b60006020828403121561213357600080fd5b8135611f6581612086565b80358015158114610ccb57600080fd5b6000806040838503121561216157600080fd5b823561216c81612086565b915061217a6020840161213e565b90509250929050565b6000806040838503121561219657600080fd5b50508035926020909101359150565b6000602082840312156121b757600080fd5b611f658261213e565b600080604083850312156121d357600080fd5b82356121de81612086565b915060208301356121ee81612086565b809150509250929050565b600181811c9082168061220d57607f821691505b60208210810361222d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610aed57610aed612233565b60008261227d57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610aed57610aed612233565b60208082526035908201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60408201527410181718181892903a37ba30b61039bab838363c9760591b606082015260800190565b60208082526032908201527f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160408201527137101a12903a37ba30b61039bab838363c9760711b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610aed57610aed612233565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156123ff57600080fd5b8151611f6581612086565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561245a5784516001600160a01b031683529383019391830191600101612435565b50506001600160a01b03969096166060850152505050608001529392505050565b60006001820161248d5761248d612233565b5060010190565b6000806000606084860312156124a957600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220cc7234e5ee66745f66216277c423ed0091477f28d8912f883506ad0930be119e64736f6c63430008110033
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.