Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
_8BitToken
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 /* ─────────────────────────────────────────────────────────── ─██████████████─██████████████───██████████─██████████████─ ─██░░░░░░░░░░██─██░░░░░░░░░░██───██░░░░░░██─██░░░░░░░░░░██─ ─██░░██████░░██─██░░██████░░██───████░░████─██████░░██████─ ─██░░██──██░░██─██░░██──██░░██─────██░░██───────██░░██───── ─██░░██████░░██─██░░██████░░████───██░░██───────██░░██───── ─██░░░░░░░░░░██─██░░░░░░░░░░░░██───██░░██───────██░░██───── ─██░░██████░░██─██░░████████░░██───██░░██───────██░░██───── ─██░░██──██░░██─██░░██────██░░██───██░░██───────██░░██───── ─██░░██████░░██─██░░████████░░██─████░░████─────██░░██───── ─██░░░░░░░░░░██─██░░░░░░░░░░░░██─██░░░░░░██─────██░░██───── ─██████████████─████████████████─██████████─────██████───── ─────────────────────────────────────────────────────────── */ import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; pragma solidity ^0.8.17; interface DexFactory { function createPair( address tokenA, address tokenB ) external returns (address pair); } interface DexRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract _8BitToken is ERC20, Ownable { struct Tax { uint256 marketingTax; uint256 DevelopmentTax; } uint256 private _totalSupply = 0; //Router DexRouter public immutable uniswapRouter; address public immutable pairAddress; //Taxes Tax public buyTaxes = Tax(3, 2); Tax public sellTaxes = Tax(3, 2); uint256 public totalBuyFees = 5; uint256 public totalSellFees = 5; //Whitelisting from taxes/maxwallet/txlimit/etc mapping(address => bool) private whitelisted; //Swapping uint256 public swapTokensAtAmount = _totalSupply / 10000; //after 0.001% of total supply, swap them bool public swapAndLiquifyEnabled = true; bool public isSwapping = false; //Wallets address public marketingWallet = 0x7bA6E2fF8888BF229E7A70C1DC519BeE5612d0Fb; address public DevelopmentWallet = 0x0d32047C93116ad5684B8Dae76cdaA89b97831A8; address public bridgeContract; //set bridge wallet //Events event marketingWalletChanged(address indexed _trWallet); event BuyFeesUpdated(uint256 indexed _trFee); event SellFeesUpdated(uint256 indexed _trFee); event TransferFeesUpdated(uint256 indexed _trFee); event SwapThresholdUpdated(uint256 indexed _newThreshold); event InternalSwapStatusUpdated(bool indexed _status); event Whitelist(address indexed _target, bool indexed _status); event BridgeWalletUpdated(address indexed _bridge, bool indexed _status); constructor() ERC20("8Bit Chain", "w8Bit") { address newOwner = msg.sender; uniswapRouter = DexRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); pairAddress = DexFactory(uniswapRouter.factory()).createPair( address(this), uniswapRouter.WETH() ); whitelisted[msg.sender] = true; whitelisted[address(uniswapRouter)] = true; whitelisted[address(this)] = true; whitelisted[newOwner] = true; _mint(newOwner, _totalSupply); _approve(address(this), address(this), ~uint256(0)); transferOwnership(newOwner); } function setMrketingWallet(address _newMarketing) external onlyOwner { require( _newMarketing != address(0), "8bit : can not set marketing to dead wallet" ); marketingWallet = _newMarketing; } function setDevelopmentWallet(address _newDevelopment) external onlyOwner { require( _newDevelopment != address(0), "8bit : can not set Development to dead wallet" ); DevelopmentWallet = _newDevelopment; } function setBridgeContract(address _newBridge) external onlyOwner { require( _newBridge != address(0), "8bit : can not set Development to dead wallet" ); _approve(address(this), _newBridge, ~uint256(0)); bridgeContract = _newBridge; } function setBuyTaxes( uint256 _marketingTax, uint256 _DevelopmentTax ) external onlyOwner { buyTaxes.marketingTax = _marketingTax; buyTaxes.DevelopmentTax = _DevelopmentTax; totalBuyFees = _marketingTax + _DevelopmentTax; require( _marketingTax + _DevelopmentTax <= 10, "8bit : can not set buy fees higher than 10" ); } function setSellTaxes( uint256 _marketingTax, uint256 _DevelopmentTax ) external onlyOwner { sellTaxes.marketingTax = _marketingTax; sellTaxes.DevelopmentTax = _DevelopmentTax; totalSellFees = _marketingTax + _DevelopmentTax; require( _marketingTax + _DevelopmentTax <= 10, "8bit : can not set buy fees higher than 10%" ); } function setSwapTokensAtAmount(uint256 _newAmount) external onlyOwner { require( _newAmount > 0 && _newAmount <= (_totalSupply * 1) / 100, "8bit : minimum swap amount must be greater than 0 and less than 1% of total supply!" ); swapTokensAtAmount = _newAmount; emit SwapThresholdUpdated(swapTokensAtAmount); } function toggleSwapping() external onlyOwner { swapAndLiquifyEnabled = (swapAndLiquifyEnabled) ? false : true; } function setWhitelistStatus( address _wallet, bool _status ) external onlyOwner { whitelisted[_wallet] = _status; emit Whitelist(_wallet, _status); } function checkWhitelist(address _wallet) external view returns (bool) { return whitelisted[_wallet]; } // this function is reponsible for managing tax, if _from or _to is whitelisted, we simply return _amount and skip all the limitations function _takeTax( address _from, address _to, uint256 _amount ) internal returns (uint256) { if (whitelisted[_from] || whitelisted[_to]) { return _amount; } uint256 totalTax = 0; if (_to == pairAddress) { totalTax = totalSellFees; } else if (_from == pairAddress) { totalTax = totalBuyFees; } uint256 tax = 0; if (totalTax > 0) { tax = (_amount * totalTax) / 100; super._transfer(_from, address(this), tax); } return (_amount - tax); } function _transfer( address _from, address _to, uint256 _amount ) internal virtual override { require(_from != address(0), "transfer from address zero"); require(_to != address(0), "transfer to address zero"); uint256 toTransfer = _takeTax(_from, _to, _amount); bool canSwap = balanceOf(address(this)) >= swapTokensAtAmount; if ( swapAndLiquifyEnabled && pairAddress == _to && canSwap && !whitelisted[_from] && !whitelisted[_to] && !isSwapping ) { isSwapping = true; internalSwap(); isSwapping = false; } super._transfer(_from, _to, toTransfer); } function internalSwap() internal { uint256 taxAmount = balanceOf(address(this)); if (taxAmount == 0) { return; } swapToETH(taxAmount); uint256 received = address(this).balance; uint256 totalShares = totalBuyFees + totalSellFees; if (totalShares == 0 || received == 0) return; uint256 totalMarketingFee = buyTaxes.marketingTax + sellTaxes.marketingTax; uint256 totalDevelopmentFee = buyTaxes.DevelopmentTax + sellTaxes.DevelopmentTax; if (totalMarketingFee > 0) { //ignoring success, we dont need it, if an error happened we dont want an external contract to affect our trades (bool success, ) = marketingWallet.call{ value: (totalMarketingFee * received) / totalShares }(""); } if (totalDevelopmentFee > 0) { //ignoring success, we dont need it, if an error happened we dont want an external contract to affect our trades (bool success, ) = DevelopmentWallet.call{ value: address(this).balance }(""); } } function swapToETH(uint256 _amount) internal { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapRouter.WETH(); _approve(address(this), address(uniswapRouter), _amount); uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( _amount, 0, path, address(this), block.timestamp ); } function mint(address to, uint256 amount) public { require(msg.sender == bridgeContract, "8bit : only bridge"); _mint(to, amount); require( _totalSupply <= 140_000_000 ether, "8bit : max supply is 140_000_000" ); } function burn(address from, uint256 amount) public { require(msg.sender == bridgeContract, "8bit : only bridge"); require( allowance(from, msg.sender) >= amount, "8bit : not enough allowance for bridge action" ); _burn(from, amount); } function withdrawStuckETH() external onlyOwner { (bool success, ) = address(msg.sender).call{ value: address(this).balance }(""); require(success, "transferring ETH failed"); } function withdrawStuckTokens(address ERC20_token) external onlyOwner { bool success = IERC20(ERC20_token).transfer( msg.sender, IERC20(ERC20_token).balanceOf(address(this)) ); require(success, "trasfering tokens failed!"); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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.9.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]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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}. * * 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 default value returned by this function, unless * it's 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/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.9.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 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.9.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; } } }
{ "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":[],"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":"_bridge","type":"address"},{"indexed":true,"internalType":"bool","name":"_status","type":"bool"}],"name":"BridgeWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_trFee","type":"uint256"}],"name":"BuyFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"_status","type":"bool"}],"name":"InternalSwapStatusUpdated","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":"uint256","name":"_trFee","type":"uint256"}],"name":"SellFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_newThreshold","type":"uint256"}],"name":"SwapThresholdUpdated","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":true,"internalType":"uint256","name":"_trFee","type":"uint256"}],"name":"TransferFeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_target","type":"address"},{"indexed":true,"internalType":"bool","name":"_status","type":"bool"}],"name":"Whitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_trWallet","type":"address"}],"name":"marketingWalletChanged","type":"event"},{"inputs":[],"name":"DevelopmentWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridgeContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyTaxes","outputs":[{"internalType":"uint256","name":"marketingTax","type":"uint256"},{"internalType":"uint256","name":"DevelopmentTax","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"checkWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"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":"isSwapping","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"pairAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTaxes","outputs":[{"internalType":"uint256","name":"marketingTax","type":"uint256"},{"internalType":"uint256","name":"DevelopmentTax","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newBridge","type":"address"}],"name":"setBridgeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingTax","type":"uint256"},{"internalType":"uint256","name":"_DevelopmentTax","type":"uint256"}],"name":"setBuyTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newDevelopment","type":"address"}],"name":"setDevelopmentWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newMarketing","type":"address"}],"name":"setMrketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingTax","type":"uint256"},{"internalType":"uint256","name":"_DevelopmentTax","type":"uint256"}],"name":"setSellTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setWhitelistStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"toggleSwapping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalBuyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":"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":"uniswapRouter","outputs":[{"internalType":"contract DexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"ERC20_token","type":"address"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60006006819055600360c0819052600260e081905260078290556008819055610140604052610100829052610120819052600991909155600a556005600b819055600c556200005290612710906200064d565b600e55600f8054757ba6e2ff8888bf229e7a70c1dc519bee5612d0fb00016001600160b01b0319909116179055601080546001600160a01b031916730d32047c93116ad5684b8dae76cdaa89b97831a8179055348015620000b257600080fd5b506040518060400160405280600a8152602001691c2134ba1021b430b4b760b11b815250604051806040016040528060058152602001641dce109a5d60da1b815250816003908162000105919062000714565b50600462000114828262000714565b505050620001316200012b6200032660201b60201c565b6200032a565b737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b8152905133929163c45a01559160048083019260209291908290030181865afa15801562000189573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001af9190620007e0565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002259190620007e0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000273573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002999190620007e0565b6001600160a01b0390811660a052336000908152600d60205260408082208054600160ff1991821681179092556080518516845282842080548216831790553084528284208054821683179055938516835291208054909216179055600654620003059082906200037c565b62000314308060001962000443565b6200031f816200056b565b506200083a565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003d85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620003ec919062000812565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038316620004a75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620003cf565b6001600160a01b0382166200050a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620003cf565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b62000575620005ef565b6001600160a01b038116620005dc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620003cf565b620005e7816200032a565b50565b505050565b6005546001600160a01b031633146200064b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620003cf565b565b6000826200066b57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200069b57607f821691505b602082108103620006bc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005ea57600081815260208120601f850160051c81016020861015620006eb5750805b601f850160051c820191505b818110156200070c57828155600101620006f7565b505050505050565b81516001600160401b0381111562000730576200073062000670565b620007488162000741845462000686565b84620006c2565b602080601f831160018114620007805760008415620007675750858301515b600019600386901b1c1916600185901b1785556200070c565b600085815260208120601f198616915b82811015620007b15788860151825594840194600190910190840162000790565b5085821015620007d05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620007f357600080fd5b81516001600160a01b03811681146200080b57600080fd5b9392505050565b808201808211156200083457634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05161236b6200088a6000396000818161062d0152818161168201528181611a1b0152611a5d0152600081816104f001528181611e6f01528181611f280152611f7d015261236b6000f3fe6080604052600436106102a45760003560e01c806395d89b411161016e578063b9e93700116100cb578063e2f456051161007f578063f2fde38b11610064578063f2fde38b146107ab578063f5648a4f146107cb578063f66895a3146107e057600080fd5b8063e2f4560514610780578063ef586f711461079657600080fd5b8063cd596583116100b0578063cd59658314610704578063d0a3981414610724578063dd62ed3e1461073a57600080fd5b8063b9e93700146106ce578063cb963728146106e457600080fd5b8063a8b0898211610122578063aa35822c11610107578063aa35822c1461066f578063afa4f3b21461068f578063b8863115146106af57600080fd5b8063a8b089821461061b578063a9059cbb1461064f57600080fd5b8063a11a168211610153578063a11a1682146105bb578063a457c2d7146105db578063a52782b4146105fb57600080fd5b806395d89b41146105865780639dc29fac1461059b57600080fd5b8063395093511161021c57806372ac2486116101d057806375f0a874116101b557806375f0a87414610512578063864701a5146105385780638da5cb5b1461056857600080fd5b806372ac2486146104be578063735de9f7146104de57600080fd5b80634a74bb02116102015780634a74bb021461045957806370a0823114610473578063715018a6146104a957600080fd5b8063395093511461041957806340c10f191461043957600080fd5b806318160ddd1161027357806323b872dd1161025857806323b872dd146103a557806324c0f817146103c5578063313ce567146103fd57600080fd5b806318160ddd1461034d5780631950c2181461036c57600080fd5b806306fdde03146102b0578063095ea7b3146102db5780630b26cf661461030b5780630c4242841461032d57600080fd5b366102ab57005b600080fd5b3480156102bc57600080fd5b506102c56107fb565b6040516102d29190611ff1565b60405180910390f35b3480156102e757600080fd5b506102fb6102f6366004612072565b61088d565b60405190151581526020016102d2565b34801561031757600080fd5b5061032b61032636600461209e565b6108a7565b005b34801561033957600080fd5b5061032b6103483660046120c9565b61096c565b34801561035957600080fd5b506002545b6040519081526020016102d2565b34801561037857600080fd5b506102fb61038736600461209e565b6001600160a01b03166000908152600d602052604090205460ff1690565b3480156103b157600080fd5b506102fb6103c0366004612102565b6109c8565b3480156103d157600080fd5b506010546103e5906001600160a01b031681565b6040516001600160a01b0390911681526020016102d2565b34801561040957600080fd5b50604051601281526020016102d2565b34801561042557600080fd5b506102fb610434366004612072565b6109ee565b34801561044557600080fd5b5061032b610454366004612072565b610a2d565b34801561046557600080fd5b50600f546102fb9060ff1681565b34801561047f57600080fd5b5061035e61048e36600461209e565b6001600160a01b031660009081526020819052604090205490565b3480156104b557600080fd5b5061032b610af2565b3480156104ca57600080fd5b5061032b6104d936600461209e565b610b06565b3480156104ea57600080fd5b506103e57f000000000000000000000000000000000000000000000000000000000000000081565b34801561051e57600080fd5b50600f546103e5906201000090046001600160a01b031681565b34801561054457600080fd5b50600754600854610553919082565b604080519283526020830191909152016102d2565b34801561057457600080fd5b506005546001600160a01b03166103e5565b34801561059257600080fd5b506102c5610bb9565b3480156105a757600080fd5b5061032b6105b6366004612072565b610bc8565b3480156105c757600080fd5b5061032b6105d6366004612143565b610cc5565b3480156105e757600080fd5b506102fb6105f6366004612072565b610d64565b34801561060757600080fd5b5061032b61061636600461209e565b610e19565b34801561062757600080fd5b506103e57f000000000000000000000000000000000000000000000000000000000000000081565b34801561065b57600080fd5b506102fb61066a366004612072565b610edd565b34801561067b57600080fd5b5061032b61068a366004612143565b610eeb565b34801561069b57600080fd5b5061032b6106aa366004612165565b610f8a565b3480156106bb57600080fd5b50600f546102fb90610100900460ff1681565b3480156106da57600080fd5b5061035e600b5481565b3480156106f057600080fd5b5061032b6106ff36600461209e565b611087565b34801561071057600080fd5b506011546103e5906001600160a01b031681565b34801561073057600080fd5b5061035e600c5481565b34801561074657600080fd5b5061035e61075536600461217e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561078c57600080fd5b5061035e600e5481565b3480156107a257600080fd5b5061032b6111f3565b3480156107b757600080fd5b5061032b6107c636600461209e565b611222565b3480156107d757600080fd5b5061032b6112b2565b3480156107ec57600080fd5b50600954600a54610553919082565b60606003805461080a906121ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610836906121ac565b80156108835780601f1061085857610100808354040283529160200191610883565b820191906000526020600020905b81548152906001019060200180831161086657829003601f168201915b5050505050905090565b60003361089b818585611352565b60019150505b92915050565b6108af6114ab565b6001600160a01b0381166109305760405162461bcd60e51b815260206004820152602d60248201527f38626974203a2063616e206e6f742073657420446576656c6f706d656e74207460448201527f6f20646561642077616c6c65740000000000000000000000000000000000000060648201526084015b60405180910390fd5b61093d3082600019611352565b6011805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6109746114ab565b6001600160a01b0382166000818152600d6020526040808220805460ff191685151590811790915590519092917f5a25e09a5dba33161281055e015f1279b6b10204d8f90dd56a8ce2b82322d43d91a35050565b6000336109d6858285611505565b6109e1858585611597565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061089b9082908690610a289087906121fc565b611352565b6011546001600160a01b03163314610a875760405162461bcd60e51b815260206004820152601260248201527f38626974203a206f6e6c792062726964676500000000000000000000000000006044820152606401610927565b610a91828261174d565b6a73ce27351811f40c0000006006541115610aee5760405162461bcd60e51b815260206004820181905260248201527f38626974203a206d617820737570706c79206973203134305f3030305f3030306044820152606401610927565b5050565b610afa6114ab565b610b04600061180c565b565b610b0e6114ab565b6001600160a01b038116610b8a5760405162461bcd60e51b815260206004820152602d60248201527f38626974203a2063616e206e6f742073657420446576656c6f706d656e74207460448201527f6f20646561642077616c6c6574000000000000000000000000000000000000006064820152608401610927565b6010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60606004805461080a906121ac565b6011546001600160a01b03163314610c225760405162461bcd60e51b815260206004820152601260248201527f38626974203a206f6e6c792062726964676500000000000000000000000000006044820152606401610927565b6001600160a01b0382166000908152600160209081526040808320338452909152902054811115610cbb5760405162461bcd60e51b815260206004820152602d60248201527f38626974203a206e6f7420656e6f75676820616c6c6f77616e636520666f722060448201527f62726964676520616374696f6e000000000000000000000000000000000000006064820152608401610927565b610aee828261186b565b610ccd6114ab565b6009829055600a819055610ce181836121fc565b600c55600a610cf082846121fc565b1115610aee5760405162461bcd60e51b815260206004820152602b60248201527f38626974203a2063616e206e6f7420736574206275792066656573206869676860448201527f6572207468616e203130250000000000000000000000000000000000000000006064820152608401610927565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610e015760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610927565b610e0e8286868403611352565b506001949350505050565b610e216114ab565b6001600160a01b038116610e9d5760405162461bcd60e51b815260206004820152602b60248201527f38626974203a2063616e206e6f7420736574206d61726b6574696e6720746f2060448201527f646561642077616c6c65740000000000000000000000000000000000000000006064820152608401610927565b600f80546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b60003361089b818585611597565b610ef36114ab565b60078290556008819055610f0781836121fc565b600b55600a610f1682846121fc565b1115610aee5760405162461bcd60e51b815260206004820152602a60248201527f38626974203a2063616e206e6f7420736574206275792066656573206869676860448201527f6572207468616e203130000000000000000000000000000000000000000000006064820152608401610927565b610f926114ab565b600081118015610fbc575060646006546001610fae919061220f565b610fb89190612226565b8111155b6110545760405162461bcd60e51b815260206004820152605360248201527f38626974203a206d696e696d756d207377617020616d6f756e74206d7573742060448201527f62652067726561746572207468616e203020616e64206c657373207468616e2060648201527f3125206f6620746f74616c20737570706c792100000000000000000000000000608482015260a401610927565b600e81905560405181907f18ff2fc8464635e4f668567019152095047e34d7a2ab4b97661ba4dc7fd0647690600090a250565b61108f6114ab565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b0383169063a9059cbb90339083906370a0823190602401602060405180830381865afa1580156110f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111d9190612248565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015611180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a49190612261565b905080610aee5760405162461bcd60e51b815260206004820152601960248201527f74726173666572696e6720746f6b656e73206661696c656421000000000000006044820152606401610927565b6111fb6114ab565b600f5460ff1661120c57600161120f565b60005b600f805460ff1916911515919091179055565b61122a6114ab565b6001600160a01b0381166112a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610927565b6112af8161180c565b50565b6112ba6114ab565b604051600090339047908381818185875af1925050503d80600081146112fc576040519150601f19603f3d011682016040523d82523d6000602084013e611301565b606091505b50509050806112af5760405162461bcd60e51b815260206004820152601760248201527f7472616e7366657272696e6720455448206661696c65640000000000000000006044820152606401610927565b6001600160a01b0383166113cd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b0382166114495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b03163314610b045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610927565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461159157818110156115845760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610927565b6115918484848403611352565b50505050565b6001600160a01b0383166115ed5760405162461bcd60e51b815260206004820152601a60248201527f7472616e736665722066726f6d2061646472657373207a65726f0000000000006044820152606401610927565b6001600160a01b0382166116435760405162461bcd60e51b815260206004820152601860248201527f7472616e7366657220746f2061646472657373207a65726f00000000000000006044820152606401610927565b60006116508484846119cc565b600e5430600090815260208190526040902054600f5492935010159060ff1680156116ac5750836001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316145b80156116b55750805b80156116da57506001600160a01b0385166000908152600d602052604090205460ff16155b80156116ff57506001600160a01b0384166000908152600d602052604090205460ff16155b80156117135750600f54610100900460ff16155b1561173b57600f805461ff00191661010017905561172f611ad8565b600f805461ff00191690555b611746858584611c2b565b5050505050565b6001600160a01b0382166117a35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610927565b80600260008282546117b591906121fc565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166118e75760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b038216600090815260208190526040902054818110156119765760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161149e565b6001600160a01b0383166000908152600d602052604081205460ff1680611a0b57506001600160a01b0383166000908152600d602052604090205460ff165b15611a175750806109e7565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031603611a5b5750600c54611a99565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031603611a995750600b545b60008115611ac4576064611aad838661220f565b611ab79190612226565b9050611ac4863083611c2b565b611ace818561227e565b9695505050505050565b3060009081526020819052604081205490819003611af35750565b611afc81611e18565b600c54600b544791600091611b1191906121fc565b9050801580611b1e575081155b15611b2857505050565b600954600754600091611b3a916121fc565b600a54600854919250600091611b5091906121fc565b90508115611bc857600f546000906201000090046001600160a01b031684611b78878661220f565b611b829190612226565b604051600081818185875af1925050503d8060008114611bbe576040519150601f19603f3d011682016040523d82523d6000602084013e611bc3565b606091505b505050505b8015611746576010546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611c1b576040519150601f19603f3d011682016040523d82523d6000602084013e611c20565b606091505b505050505050505050565b6001600160a01b038316611ca75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b038216611d235760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b03831660009081526020819052604090205481811015611db25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611591565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611e4d57611e4d612291565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eef91906122a7565b81600181518110611f0257611f02612291565b60200260200101906001600160a01b031690816001600160a01b031681525050611f4d307f000000000000000000000000000000000000000000000000000000000000000084611352565b6040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611fbb9085906000908690309042906004016122c4565b600060405180830381600087803b158015611fd557600080fd5b505af1158015611fe9573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561201e57858101830151858201604001528201612002565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6001600160a01b03811681146112af57600080fd5b6000806040838503121561208557600080fd5b82356120908161205d565b946020939093013593505050565b6000602082840312156120b057600080fd5b81356109e78161205d565b80151581146112af57600080fd5b600080604083850312156120dc57600080fd5b82356120e78161205d565b915060208301356120f7816120bb565b809150509250929050565b60008060006060848603121561211757600080fd5b83356121228161205d565b925060208401356121328161205d565b929592945050506040919091013590565b6000806040838503121561215657600080fd5b50508035926020909101359150565b60006020828403121561217757600080fd5b5035919050565b6000806040838503121561219157600080fd5b823561219c8161205d565b915060208301356120f78161205d565b600181811c908216806121c057607f821691505b6020821081036121e057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156108a1576108a16121e6565b80820281158282048414176108a1576108a16121e6565b60008261224357634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561225a57600080fd5b5051919050565b60006020828403121561227357600080fd5b81516109e7816120bb565b818103818111156108a1576108a16121e6565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122b957600080fd5b81516109e78161205d565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123145784516001600160a01b0316835293830193918301916001016122ef565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122078d278b4e423b950d58bc94dcad8aee6b678d4431b1ca807e88ebbcff4837f9264736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102a45760003560e01c806395d89b411161016e578063b9e93700116100cb578063e2f456051161007f578063f2fde38b11610064578063f2fde38b146107ab578063f5648a4f146107cb578063f66895a3146107e057600080fd5b8063e2f4560514610780578063ef586f711461079657600080fd5b8063cd596583116100b0578063cd59658314610704578063d0a3981414610724578063dd62ed3e1461073a57600080fd5b8063b9e93700146106ce578063cb963728146106e457600080fd5b8063a8b0898211610122578063aa35822c11610107578063aa35822c1461066f578063afa4f3b21461068f578063b8863115146106af57600080fd5b8063a8b089821461061b578063a9059cbb1461064f57600080fd5b8063a11a168211610153578063a11a1682146105bb578063a457c2d7146105db578063a52782b4146105fb57600080fd5b806395d89b41146105865780639dc29fac1461059b57600080fd5b8063395093511161021c57806372ac2486116101d057806375f0a874116101b557806375f0a87414610512578063864701a5146105385780638da5cb5b1461056857600080fd5b806372ac2486146104be578063735de9f7146104de57600080fd5b80634a74bb02116102015780634a74bb021461045957806370a0823114610473578063715018a6146104a957600080fd5b8063395093511461041957806340c10f191461043957600080fd5b806318160ddd1161027357806323b872dd1161025857806323b872dd146103a557806324c0f817146103c5578063313ce567146103fd57600080fd5b806318160ddd1461034d5780631950c2181461036c57600080fd5b806306fdde03146102b0578063095ea7b3146102db5780630b26cf661461030b5780630c4242841461032d57600080fd5b366102ab57005b600080fd5b3480156102bc57600080fd5b506102c56107fb565b6040516102d29190611ff1565b60405180910390f35b3480156102e757600080fd5b506102fb6102f6366004612072565b61088d565b60405190151581526020016102d2565b34801561031757600080fd5b5061032b61032636600461209e565b6108a7565b005b34801561033957600080fd5b5061032b6103483660046120c9565b61096c565b34801561035957600080fd5b506002545b6040519081526020016102d2565b34801561037857600080fd5b506102fb61038736600461209e565b6001600160a01b03166000908152600d602052604090205460ff1690565b3480156103b157600080fd5b506102fb6103c0366004612102565b6109c8565b3480156103d157600080fd5b506010546103e5906001600160a01b031681565b6040516001600160a01b0390911681526020016102d2565b34801561040957600080fd5b50604051601281526020016102d2565b34801561042557600080fd5b506102fb610434366004612072565b6109ee565b34801561044557600080fd5b5061032b610454366004612072565b610a2d565b34801561046557600080fd5b50600f546102fb9060ff1681565b34801561047f57600080fd5b5061035e61048e36600461209e565b6001600160a01b031660009081526020819052604090205490565b3480156104b557600080fd5b5061032b610af2565b3480156104ca57600080fd5b5061032b6104d936600461209e565b610b06565b3480156104ea57600080fd5b506103e57f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561051e57600080fd5b50600f546103e5906201000090046001600160a01b031681565b34801561054457600080fd5b50600754600854610553919082565b604080519283526020830191909152016102d2565b34801561057457600080fd5b506005546001600160a01b03166103e5565b34801561059257600080fd5b506102c5610bb9565b3480156105a757600080fd5b5061032b6105b6366004612072565b610bc8565b3480156105c757600080fd5b5061032b6105d6366004612143565b610cc5565b3480156105e757600080fd5b506102fb6105f6366004612072565b610d64565b34801561060757600080fd5b5061032b61061636600461209e565b610e19565b34801561062757600080fd5b506103e57f000000000000000000000000c59336a7b30622cbb5175104cd0eef185ee9142381565b34801561065b57600080fd5b506102fb61066a366004612072565b610edd565b34801561067b57600080fd5b5061032b61068a366004612143565b610eeb565b34801561069b57600080fd5b5061032b6106aa366004612165565b610f8a565b3480156106bb57600080fd5b50600f546102fb90610100900460ff1681565b3480156106da57600080fd5b5061035e600b5481565b3480156106f057600080fd5b5061032b6106ff36600461209e565b611087565b34801561071057600080fd5b506011546103e5906001600160a01b031681565b34801561073057600080fd5b5061035e600c5481565b34801561074657600080fd5b5061035e61075536600461217e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561078c57600080fd5b5061035e600e5481565b3480156107a257600080fd5b5061032b6111f3565b3480156107b757600080fd5b5061032b6107c636600461209e565b611222565b3480156107d757600080fd5b5061032b6112b2565b3480156107ec57600080fd5b50600954600a54610553919082565b60606003805461080a906121ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610836906121ac565b80156108835780601f1061085857610100808354040283529160200191610883565b820191906000526020600020905b81548152906001019060200180831161086657829003601f168201915b5050505050905090565b60003361089b818585611352565b60019150505b92915050565b6108af6114ab565b6001600160a01b0381166109305760405162461bcd60e51b815260206004820152602d60248201527f38626974203a2063616e206e6f742073657420446576656c6f706d656e74207460448201527f6f20646561642077616c6c65740000000000000000000000000000000000000060648201526084015b60405180910390fd5b61093d3082600019611352565b6011805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6109746114ab565b6001600160a01b0382166000818152600d6020526040808220805460ff191685151590811790915590519092917f5a25e09a5dba33161281055e015f1279b6b10204d8f90dd56a8ce2b82322d43d91a35050565b6000336109d6858285611505565b6109e1858585611597565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061089b9082908690610a289087906121fc565b611352565b6011546001600160a01b03163314610a875760405162461bcd60e51b815260206004820152601260248201527f38626974203a206f6e6c792062726964676500000000000000000000000000006044820152606401610927565b610a91828261174d565b6a73ce27351811f40c0000006006541115610aee5760405162461bcd60e51b815260206004820181905260248201527f38626974203a206d617820737570706c79206973203134305f3030305f3030306044820152606401610927565b5050565b610afa6114ab565b610b04600061180c565b565b610b0e6114ab565b6001600160a01b038116610b8a5760405162461bcd60e51b815260206004820152602d60248201527f38626974203a2063616e206e6f742073657420446576656c6f706d656e74207460448201527f6f20646561642077616c6c6574000000000000000000000000000000000000006064820152608401610927565b6010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60606004805461080a906121ac565b6011546001600160a01b03163314610c225760405162461bcd60e51b815260206004820152601260248201527f38626974203a206f6e6c792062726964676500000000000000000000000000006044820152606401610927565b6001600160a01b0382166000908152600160209081526040808320338452909152902054811115610cbb5760405162461bcd60e51b815260206004820152602d60248201527f38626974203a206e6f7420656e6f75676820616c6c6f77616e636520666f722060448201527f62726964676520616374696f6e000000000000000000000000000000000000006064820152608401610927565b610aee828261186b565b610ccd6114ab565b6009829055600a819055610ce181836121fc565b600c55600a610cf082846121fc565b1115610aee5760405162461bcd60e51b815260206004820152602b60248201527f38626974203a2063616e206e6f7420736574206275792066656573206869676860448201527f6572207468616e203130250000000000000000000000000000000000000000006064820152608401610927565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610e015760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610927565b610e0e8286868403611352565b506001949350505050565b610e216114ab565b6001600160a01b038116610e9d5760405162461bcd60e51b815260206004820152602b60248201527f38626974203a2063616e206e6f7420736574206d61726b6574696e6720746f2060448201527f646561642077616c6c65740000000000000000000000000000000000000000006064820152608401610927565b600f80546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b60003361089b818585611597565b610ef36114ab565b60078290556008819055610f0781836121fc565b600b55600a610f1682846121fc565b1115610aee5760405162461bcd60e51b815260206004820152602a60248201527f38626974203a2063616e206e6f7420736574206275792066656573206869676860448201527f6572207468616e203130000000000000000000000000000000000000000000006064820152608401610927565b610f926114ab565b600081118015610fbc575060646006546001610fae919061220f565b610fb89190612226565b8111155b6110545760405162461bcd60e51b815260206004820152605360248201527f38626974203a206d696e696d756d207377617020616d6f756e74206d7573742060448201527f62652067726561746572207468616e203020616e64206c657373207468616e2060648201527f3125206f6620746f74616c20737570706c792100000000000000000000000000608482015260a401610927565b600e81905560405181907f18ff2fc8464635e4f668567019152095047e34d7a2ab4b97661ba4dc7fd0647690600090a250565b61108f6114ab565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b0383169063a9059cbb90339083906370a0823190602401602060405180830381865afa1580156110f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111d9190612248565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015611180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a49190612261565b905080610aee5760405162461bcd60e51b815260206004820152601960248201527f74726173666572696e6720746f6b656e73206661696c656421000000000000006044820152606401610927565b6111fb6114ab565b600f5460ff1661120c57600161120f565b60005b600f805460ff1916911515919091179055565b61122a6114ab565b6001600160a01b0381166112a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610927565b6112af8161180c565b50565b6112ba6114ab565b604051600090339047908381818185875af1925050503d80600081146112fc576040519150601f19603f3d011682016040523d82523d6000602084013e611301565b606091505b50509050806112af5760405162461bcd60e51b815260206004820152601760248201527f7472616e7366657272696e6720455448206661696c65640000000000000000006044820152606401610927565b6001600160a01b0383166113cd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b0382166114495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b03163314610b045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610927565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461159157818110156115845760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610927565b6115918484848403611352565b50505050565b6001600160a01b0383166115ed5760405162461bcd60e51b815260206004820152601a60248201527f7472616e736665722066726f6d2061646472657373207a65726f0000000000006044820152606401610927565b6001600160a01b0382166116435760405162461bcd60e51b815260206004820152601860248201527f7472616e7366657220746f2061646472657373207a65726f00000000000000006044820152606401610927565b60006116508484846119cc565b600e5430600090815260208190526040902054600f5492935010159060ff1680156116ac5750836001600160a01b03167f000000000000000000000000c59336a7b30622cbb5175104cd0eef185ee914236001600160a01b0316145b80156116b55750805b80156116da57506001600160a01b0385166000908152600d602052604090205460ff16155b80156116ff57506001600160a01b0384166000908152600d602052604090205460ff16155b80156117135750600f54610100900460ff16155b1561173b57600f805461ff00191661010017905561172f611ad8565b600f805461ff00191690555b611746858584611c2b565b5050505050565b6001600160a01b0382166117a35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610927565b80600260008282546117b591906121fc565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166118e75760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b038216600090815260208190526040902054818110156119765760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161149e565b6001600160a01b0383166000908152600d602052604081205460ff1680611a0b57506001600160a01b0383166000908152600d602052604090205460ff165b15611a175750806109e7565b60007f000000000000000000000000c59336a7b30622cbb5175104cd0eef185ee914236001600160a01b0316846001600160a01b031603611a5b5750600c54611a99565b7f000000000000000000000000c59336a7b30622cbb5175104cd0eef185ee914236001600160a01b0316856001600160a01b031603611a995750600b545b60008115611ac4576064611aad838661220f565b611ab79190612226565b9050611ac4863083611c2b565b611ace818561227e565b9695505050505050565b3060009081526020819052604081205490819003611af35750565b611afc81611e18565b600c54600b544791600091611b1191906121fc565b9050801580611b1e575081155b15611b2857505050565b600954600754600091611b3a916121fc565b600a54600854919250600091611b5091906121fc565b90508115611bc857600f546000906201000090046001600160a01b031684611b78878661220f565b611b829190612226565b604051600081818185875af1925050503d8060008114611bbe576040519150601f19603f3d011682016040523d82523d6000602084013e611bc3565b606091505b505050505b8015611746576010546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611c1b576040519150601f19603f3d011682016040523d82523d6000602084013e611c20565b606091505b505050505050505050565b6001600160a01b038316611ca75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b038216611d235760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b03831660009081526020819052604090205481811015611db25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610927565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611591565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611e4d57611e4d612291565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eef91906122a7565b81600181518110611f0257611f02612291565b60200260200101906001600160a01b031690816001600160a01b031681525050611f4d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611352565b6040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611fbb9085906000908690309042906004016122c4565b600060405180830381600087803b158015611fd557600080fd5b505af1158015611fe9573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b8181101561201e57858101830151858201604001528201612002565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b6001600160a01b03811681146112af57600080fd5b6000806040838503121561208557600080fd5b82356120908161205d565b946020939093013593505050565b6000602082840312156120b057600080fd5b81356109e78161205d565b80151581146112af57600080fd5b600080604083850312156120dc57600080fd5b82356120e78161205d565b915060208301356120f7816120bb565b809150509250929050565b60008060006060848603121561211757600080fd5b83356121228161205d565b925060208401356121328161205d565b929592945050506040919091013590565b6000806040838503121561215657600080fd5b50508035926020909101359150565b60006020828403121561217757600080fd5b5035919050565b6000806040838503121561219157600080fd5b823561219c8161205d565b915060208301356120f78161205d565b600181811c908216806121c057607f821691505b6020821081036121e057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156108a1576108a16121e6565b80820281158282048414176108a1576108a16121e6565b60008261224357634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561225a57600080fd5b5051919050565b60006020828403121561227357600080fd5b81516109e7816120bb565b818103818111156108a1576108a16121e6565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122b957600080fd5b81516109e78161205d565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156123145784516001600160a01b0316835293830193918301916001016122ef565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122078d278b4e423b950d58bc94dcad8aee6b678d4431b1ca807e88ebbcff4837f9264736f6c63430008110033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.