Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
900,317,700.20518759765177315 YANG
Holders
96
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Yang
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 /** Web: https://orygyn.fi/ Whitepaper: https://orygyn.fi/whitepaper X: https://x.com/orygynfi TG: http://t.me/orygyncommunity */ pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/IStaking.sol"; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SafeCast.sol) // This file was procedurally generated from scripts/generate/templates/SafeCast.js. pragma solidity ^0.8.2; library SafeCast { function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive require( value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256" ); return int256(value); } } pragma solidity ^0.8.2; abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } pragma solidity ^0.8.2; contract Staking is ReentrancyGuard, Ownable { using SafeCast for uint256; using SafeCast for int256; uint256 public tokensForSwap; mapping(address => uint256) public totalTokensStaked; mapping(address => uint256) summedRewardPerShare; mapping(address => uint256) cumulativeDistributedRewards; uint256 public withdrawalFeePercentage; uint256 constant percentageScalingFactor = 100; uint256 public lockPeriod; uint128 public constant PRIZE_AMPLIFICATION_RATIO = type(uint128).max; struct StakeRecord { address token; uint256 amount; uint128 unstakeTime; } mapping(address => StakeRecord[]) public userStakes; mapping(address => mapping(address => int256)) public userPointsModification; mapping(address => mapping(address => uint256)) public userPayoutRewards; mapping(address => mapping(address => uint256)) public userDepositedStakes; mapping(uint8 => address) public stakeTokens; mapping(address => uint256) public rewardPerBlock; mapping(address => uint256) public lastDistributionBlock; event Deposited(uint256 amount, address depositor); event Withdrawn(address depositor, uint256 amount); event WithdrawFeeUpdated(uint8 amount); event TradingEnabled(bool); constructor() { lockPeriod = 7 days; withdrawalFeePercentage = 2; } function _stake( uint256 _amount, address _account, address stakeToken ) internal { userStakes[_account].push( StakeRecord({ token: stakeToken, amount: _amount, unstakeTime: uint128(block.timestamp + lockPeriod) }) ); userDepositedStakes[stakeToken][_account] += _amount; rewardPointsAdjustment(stakeToken, _account, -int256(_amount)); totalTokensStaked[stakeToken] += _amount; emit Deposited(_amount, _account); } function _unstake(uint256 id) internal { StakeRecord memory userStakeInfo = userStakes[msg.sender][id]; if (id >= userStakes[msg.sender].length) { revert("Invalid Id"); } uint256 unStakeAmount = userStakeInfo.amount; userDepositedStakes[userStakeInfo.token][msg.sender] -= unStakeAmount; rewardPointsAdjustment( userStakeInfo.token, msg.sender, int256(unStakeAmount) ); totalTokensStaked[userStakeInfo.token] -= unStakeAmount ; if (block.timestamp < userStakeInfo.unstakeTime) { uint256 unstakeFee = (unStakeAmount * withdrawalFeePercentage) / percentageScalingFactor; if(unstakeFee > 0) { require(IERC20(userStakeInfo.token).transfer(owner(), unstakeFee),"Transfer failed"); unStakeAmount -= unstakeFee; } } require(IERC20(userStakeInfo.token).transfer(msg.sender, unStakeAmount),"Transfer failed"); if (id < userStakes[msg.sender].length - 1) { userStakes[msg.sender][id] = userStakes[msg.sender][ userStakes[msg.sender].length - 1 ]; } userStakes[msg.sender].pop(); emit Withdrawn(msg.sender, userStakeInfo.amount); } function setWithdrawFeeRate(uint8 newWithdrawFeeRate) external onlyOwner { if (newWithdrawFeeRate > 10) { revert("Invalid Fee"); } withdrawalFeePercentage = newWithdrawFeeRate; emit WithdrawFeeUpdated(newWithdrawFeeRate); } function rewardsAvailableForRedemption(address _token, address _account) public view returns (uint256) { return rewardsAccumulationOf(_token, _account) - userPayoutRewards[_token][_account]; } function rewardsAcquiredBy(address _token, address account) public view returns (uint256) { return userPayoutRewards[_token][account]; } function rewardsAccumulationOf(address _token, address _account) public view returns (uint256) { return ((summedRewardPerShare[_token] * userDepositedStakes[_token][_account]).toInt256() + userPointsModification[_token][_account]).toUint256() / PRIZE_AMPLIFICATION_RATIO; } function updateRewardsInfoForStakers(address _token, uint256 _amountForDistribution) internal { require(totalTokensStaked[_token] != 0, "zero supply"); if (_amountForDistribution > 0) { summedRewardPerShare[_token] = summedRewardPerShare[_token] + ((_amountForDistribution * PRIZE_AMPLIFICATION_RATIO) / totalTokensStaked[_token]); } } function rewardClaimPreparation( address _token, address rewardClaimBeneficiary ) internal returns (uint256) { uint256 redeemableShare = rewardsAvailableForRedemption( _token, rewardClaimBeneficiary ); if (redeemableShare > 0) { userPayoutRewards[_token][rewardClaimBeneficiary] = userPayoutRewards[_token][rewardClaimBeneficiary] + redeemableShare; } return redeemableShare; } function rewardPointsAdjustment( address _token, address account, int256 adjustedShares ) internal { userPointsModification[_token][account] = userPointsModification[_token][account] + (adjustedShares * int256(summedRewardPerShare[_token])); } function getStakeHistory(address user) public view returns (StakeRecord[] memory) { return userStakes[user]; } } contract Yang is ERC20, Ownable, IStaking, Staking { IUniswapV2Router02 public uniswapV2Router; address public immutable uniswapV2Pair; address public immutable routerCA; bool private swapping; address public devWallet; uint256 public maxTxAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 public buyDevFee = 2; uint256 public sellDevFee = 2; uint256 public constant MAX_SUPPLY = 1_000_000_000 * 1e18; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); constructor() ERC20("Yang - Orygyn Finance", "YANG") { routerCA = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(routerCA); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); uint256 initialSupply = 400_000_000 * 1e18; maxTxAmount = 8_000_000 * 1e18; // 2% max txn of intial supply maxWallet = 8_000_000 * 1e18; // 2% max wallet of intial supply swapTokensAtAmount = (initialSupply * 2) / 1000; // 0.2% swap wallet devWallet = address(0x722eFe2eCe7d36Ef00fb8af866A47E0449770172); buyDevFee = 21; sellDevFee = 21; // exclude from payang fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); _mint(msg.sender, initialSupply); } receive() external payable {} function startTrading() external onlyOwner { require(!tradingActive, "Trading Live Already"); tradingActive = true; swapEnabled = true; emit TradingEnabled(true); } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function updateBuyFees(uint256 _devFee) external onlyOwner { buyDevFee = _devFee; require(buyDevFee <= 2,"Invalid tax"); } function updateSellFees(uint256 _devFee) external onlyOwner { sellDevFee = _devFee; require(sellDevFee <= 2,"Invalid tax"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[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"); if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } //when buy if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTxAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTxAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && from != owner() && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && automatedMarketMakerPairs[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (automatedMarketMakerPairs[to] && sellDevFee > 0) { fees = (amount * sellDevFee)/100; tokensForSwap += fees; } // on buy else if (automatedMarketMakerPairs[from] && buyDevFee > 0) { fees = (amount * buyDevFee)/100; tokensForSwap += fees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function stake(uint8 _tokenId, uint256 _amount) external nonReentrant { require(_tokenId < 2, "Invalid token"); address stakeToken = stakeTokens[_tokenId]; IERC20(stakeToken).transferFrom(msg.sender, address(this), _amount); _stake(_amount, msg.sender, stakeToken); address _token = stakeTokens[_tokenId]; disperseRewards(_token); } function unstake(uint256 id) external nonReentrant { _unstake(id); } function claim(uint8 _tokenId) public { require(_tokenId < 2, "Invalid token"); address _token = stakeTokens[_tokenId]; disperseRewards(_token); uint256 reward = rewardClaimPreparation(_token, msg.sender); if (reward > 1) { mintRewards(msg.sender, reward); cumulativeDistributedRewards[_token] += reward; } } function compounding( uint256 _amount, address _account, uint8 _tokenId ) external { require(msg.sender == stakeTokens[0], "Not allowed"); address stakeToken = stakeTokens[_tokenId]; _stake(_amount, _account, stakeToken); } function disperseRewards(address _token) public { uint256 totalBlocks = block.number - lastDistributionBlock[_token]; uint256 rewardPool = totalBlocks * rewardPerBlock[_token]; if(totalSupply() + rewardPool <= MAX_SUPPLY){ updateRewardsInfoForStakers(_token, rewardPool); } } function compoundRewards(uint8 _tokenId) public { require(_tokenId < 2, "Invalid token"); address _token = stakeTokens[_tokenId]; disperseRewards(_token); uint256 reward = rewardClaimPreparation(_token, msg.sender); if (reward > 1) { mintRewards(stakeTokens[0], reward); cumulativeDistributedRewards[_token] += reward; IStaking(stakeTokens[0]).compounding(reward, msg.sender, _tokenId); } } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, devWallet, block.timestamp ); } function swapBack() private { uint256 totalTokensToSwap = tokensForSwap; if (totalTokensToSwap == 0) { return; } if (totalTokensToSwap > swapTokensAtAmount * 10) { totalTokensToSwap = swapTokensAtAmount * 10; } swapTokensForEth(totalTokensToSwap); tokensForSwap -= totalTokensToSwap; } function burn(uint256 amount) external { require(amount > 0,"Zero amount"); _burn(msg.sender, amount); } function setConfig(address oneToken, address twoLP, uint256 tokenRPB, uint256 lpRPB) external onlyOwner { stakeTokens[0] = oneToken; stakeTokens[1] = twoLP; lastDistributionBlock[oneToken] = block.number; lastDistributionBlock[twoLP] = block.number; rewardPerBlock[oneToken] = tokenRPB; rewardPerBlock[twoLP] = lpRPB; _approve(address(this), oneToken, type(uint256).max); } function mintRewards(address _receiver, uint256 _amount) private { require(totalSupply() + _amount <= MAX_SUPPLY, "Max supply reached"); super._mint(_receiver, _amount); } function withdrawAllEther() external { uint256 balance = address(this).balance; if(balance > 0){ (bool success, ) = devWallet.call{value: balance}(""); require(success, "Transfer failed"); } } }
// 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 (last updated v4.9.4) (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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; interface IStaking { function stake(uint8 tokenId, uint256 amount) external; function unstake(uint256 id) external; function compounding(uint256 _amount, address _account,uint8 stakeToken) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "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":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"depositor","type":"address"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"","type":"bool"}],"name":"TradingEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"amount","type":"uint8"}],"name":"WithdrawFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"depositor","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRIZE_AMPLIFICATION_RATIO","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_tokenId","type":"uint8"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_tokenId","type":"uint8"}],"name":"compoundRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint8","name":"_tokenId","type":"uint8"}],"name":"compounding","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":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"disperseRewards","outputs":[],"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":"user","type":"address"}],"name":"getStakeHistory","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint128","name":"unstakeTime","type":"uint128"}],"internalType":"struct Staking.StakeRecord[]","name":"","type":"tuple[]"}],"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":[{"internalType":"address","name":"","type":"address"}],"name":"lastDistributionBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_account","type":"address"}],"name":"rewardsAccumulationOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"rewardsAcquiredBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_account","type":"address"}],"name":"rewardsAvailableForRedemption","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"routerCA","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"oneToken","type":"address"},{"internalType":"address","name":"twoLP","type":"address"},{"internalType":"uint256","name":"tokenRPB","type":"uint256"},{"internalType":"uint256","name":"lpRPB","type":"uint256"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newWithdrawFeeRate","type":"uint8"}],"name":"setWithdrawFeeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_tokenId","type":"uint8"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"stakeTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"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":"tokensForSwap","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":"","type":"address"}],"name":"totalTokensStaked","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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"userDepositedStakes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"userPayoutRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"userPointsModification","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userStakes","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint128","name":"unstakeTime","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAllEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalFeePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526019805462ffffff191660011790556002601a819055601b553480156200002a57600080fd5b506040518060400160405280601581526020017f59616e67202d204f727967796e2046696e616e636500000000000000000000008152506040518060400160405280600481526020016359414e4760e01b8152506001600081905550816004908162000097919062000699565b506005620000a6828262000699565b505050620000c3620000bd6200038160201b60201c565b62000385565b62093a80600c556002600b55737a250d5630b4cf539739df2c5dacb4c659f2488d60a0819052620000f6816001620003d7565b601480546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000150573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000176919062000765565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ea919062000765565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000238573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025e919062000765565b6001600160a01b0316608081905262000279906001620003d7565b608051620002899060016200040c565b6a069e10de76676d0800000060168190556018556b014adf4b7320334b900000006103e8620002ba826002620007ad565b620002c69190620007cd565b601755601580546001600160a01b03191673722efe2ece7d36ef00fb8af866a47e0449770172178155601a819055601b55620003166200030e6006546001600160a01b031690565b600162000460565b6200032330600162000460565b6200033261dead600162000460565b62000351620003496006546001600160a01b031690565b6001620003d7565b6200035e306001620003d7565b6200036d61dead6001620003d7565b620003793382620004c9565b505062000806565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620003e162000592565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6001600160a01b0382166000818152601e6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6200046a62000592565b6001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005255760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060036000828254620005399190620007f0565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6006546001600160a01b03163314620005ee5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200051c565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200062057607f821691505b6020821081036200064157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005f057600081815260208120601f850160051c81016020861015620006705750805b601f850160051c820191505b8181101562000691578281556001016200067c565b505050505050565b81516001600160401b03811115620006b557620006b5620005f5565b620006cd81620006c684546200060b565b8462000647565b602080601f831160018114620007055760008415620006ec5750858301515b600019600386901b1c1916600185901b17855562000691565b600085815260208120601f198616915b82811015620007365788860151825594840194600190910190840162000715565b5085821015620007555787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200077857600080fd5b81516001600160a01b03811681146200079057600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620007c757620007c762000797565b92915050565b600082620007eb57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620007c757620007c762000797565b60805160a0516134f86200082c60003960006107540152600061068001526134f86000f3fe6080604052600436106103bc5760003560e01c80637571336a116101f2578063a995c3531161010d578063dc943fc1116100a0578063eba4c3331161006f578063eba4c33314610c42578063ecff84df14610c62578063f2fde38b14610c82578063f8b45b0514610ca257600080fd5b8063dc943fc114610bb4578063dd62ed3e14610bec578063dd752e5514610c0c578063e2f4560514610c2c57600080fd5b8063b62496f5116100dc578063b62496f514610b25578063bbc0c74214610b55578063c024666814610b74578063cd848c2914610b9457600080fd5b8063a995c35314610a6a578063a9b66fdb14610a8a578063afed4d2014610ab7578063b5d5b5fa14610ad757600080fd5b8063924de9b7116101855780639c3b4fdc116101545780639c3b4fdc146109fe578063a0d82dc514610a14578063a457c2d714610a2a578063a9059cbb14610a4a57600080fd5b8063924de9b7146109895780639258b71f146109a957806395d4063f146109c957806395d89b41146109e957600080fd5b806383907168116101c157806383907168146108fd5780638c0b5e22146109355780638da5cb5b1461094b5780638ea5220f1461096957600080fd5b80637571336a1461084e5780637795a9521461086e57806378922c8f146108a157806383586339146108b757600080fd5b806337a7a5bc116102e25780634fbee1931161027557806370a082311161024457806370a08231146107ce578063715018a61461080457806371fc468814610819578063751039fc1461083957600080fd5b80634fbee19314610709578063534c09061461074257806359508262146107765780636ddd1713146107ae57600080fd5b806349bd5a5e116102b157806349bd5a5e1461066e5780634a110ece146106a25780634a62bb65146106cf5780634d92dd38146106e957600080fd5b806337a7a5bc146105f857806339509351146106185780633fd8b02f1461063857806342966c681461064e57600080fd5b80631ecd7d6e1161035a5780632e17de78116103295780632e17de7814610587578063313ce567146105a757806331c91117146105c357806332cb6b0c146105d857600080fd5b80631ecd7d6e1461050d5780632185c5a81461052357806323b872dd14610550578063293230b81461057057600080fd5b80630cb5503b116103965780630cb5503b1461046d57806310d5de53146104a85780631694505e146104d857806318160ddd146104f857600080fd5b806305c907fd146103c857806306fdde031461041b578063095ea7b31461043d57600080fd5b366103c357005b600080fd5b3480156103d457600080fd5b506103fe6103e3366004612f12565b6011602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561042757600080fd5b50610430610cb8565b6040516104129190612f2d565b34801561044957600080fd5b5061045d610458366004612f90565b610d4a565b6040519015158152602001610412565b34801561047957600080fd5b5061049a610488366004612fbc565b60126020526000908152604090205481565b604051908152602001610412565b3480156104b457600080fd5b5061045d6104c3366004612fbc565b601d6020526000908152604090205460ff1681565b3480156104e457600080fd5b506014546103fe906001600160a01b031681565b34801561050457600080fd5b5060035461049a565b34801561051957600080fd5b5061049a60075481565b34801561052f57600080fd5b5061049a61053e366004612fbc565b60086020526000908152604090205481565b34801561055c57600080fd5b5061045d61056b366004612fd9565b610d64565b34801561057c57600080fd5b50610585610d88565b005b34801561059357600080fd5b506105856105a236600461301a565b610e2b565b3480156105b357600080fd5b5060405160128152602001610412565b3480156105cf57600080fd5b50610585610e49565b3480156105e457600080fd5b5061049a6b033b2e3c9fd0803ce800000081565b34801561060457600080fd5b50610585610613366004613033565b610ec7565b34801561062457600080fd5b5061045d610633366004612f90565b610f52565b34801561064457600080fd5b5061049a600c5481565b34801561065a57600080fd5b5061058561066936600461301a565b610f74565b34801561067a57600080fd5b506103fe7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106ae57600080fd5b5061049a6106bd366004612fbc565b60136020526000908152604090205481565b3480156106db57600080fd5b5060195461045d9060ff1681565b3480156106f557600080fd5b5061049a610704366004613071565b610fbc565b34801561071557600080fd5b5061045d610724366004612fbc565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561074e57600080fd5b506103fe7f000000000000000000000000000000000000000000000000000000000000000081565b34801561078257600080fd5b5061049a610791366004613071565b600e60209081526000928352604080842090915290825290205481565b3480156107ba57600080fd5b5060195461045d9062010000900460ff1681565b3480156107da57600080fd5b5061049a6107e9366004612fbc565b6001600160a01b031660009081526001602052604090205490565b34801561081057600080fd5b50610585611045565b34801561082557600080fd5b5061058561083436600461301a565b611059565b34801561084557600080fd5b5061045d6110a5565b34801561085a57600080fd5b506105856108693660046130b8565b6110bf565b34801561087a57600080fd5b506108896001600160801b0381565b6040516001600160801b039091168152602001610412565b3480156108ad57600080fd5b5061049a600b5481565b3480156108c357600080fd5b5061049a6108d2366004613071565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b34801561090957600080fd5b5061049a610918366004613071565b600f60209081526000928352604080842090915290825290205481565b34801561094157600080fd5b5061049a60165481565b34801561095757600080fd5b506006546001600160a01b03166103fe565b34801561097557600080fd5b506015546103fe906001600160a01b031681565b34801561099557600080fd5b506105856109a43660046130e6565b6110f2565b3480156109b557600080fd5b506105856109c4366004613103565b611116565b3480156109d557600080fd5b506105856109e4366004612f12565b6111b8565b3480156109f557600080fd5b50610430611254565b348015610a0a57600080fd5b5061049a601a5481565b348015610a2057600080fd5b5061049a601b5481565b348015610a3657600080fd5b5061045d610a45366004612f90565b611263565b348015610a5657600080fd5b5061045d610a65366004612f90565b6112de565b348015610a7657600080fd5b5061049a610a85366004613071565b6112ec565b348015610a9657600080fd5b50610aaa610aa5366004612fbc565b611328565b6040516104129190613149565b348015610ac357600080fd5b50610585610ad2366004612f12565b6113c9565b348015610ae357600080fd5b50610af7610af2366004612f90565b611452565b604080516001600160a01b03909416845260208401929092526001600160801b031690820152606001610412565b348015610b3157600080fd5b5061045d610b40366004612fbc565b601e6020526000908152604090205460ff1681565b348015610b6157600080fd5b5060195461045d90610100900460ff1681565b348015610b8057600080fd5b50610585610b8f3660046130b8565b6114a7565b348015610ba057600080fd5b50610585610baf366004612fbc565b61150e565b348015610bc057600080fd5b5061049a610bcf366004613071565b601060209081526000928352604080842090915290825290205481565b348015610bf857600080fd5b5061049a610c07366004613071565b61158a565b348015610c1857600080fd5b50610585610c273660046131b4565b6115b5565b348015610c3857600080fd5b5061049a60175481565b348015610c4e57600080fd5b50610585610c5d36600461301a565b6116ab565b348015610c6e57600080fd5b50610585610c7d366004612f12565b6116f7565b348015610c8e57600080fd5b50610585610c9d366004612fbc565b611837565b348015610cae57600080fd5b5061049a60185481565b606060048054610cc7906131d0565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf3906131d0565b8015610d405780601f10610d1557610100808354040283529160200191610d40565b820191906000526020600020905b815481529060010190602001808311610d2357829003601f168201915b5050505050905090565b600033610d588185856118ad565b60019150505b92915050565b600033610d728582856119d1565b610d7d858585611a45565b506001949350505050565b610d90612077565b601954610100900460ff1615610de45760405162461bcd60e51b815260206004820152601460248201527354726164696e67204c69766520416c726561647960601b60448201526064015b60405180910390fd5b6019805462ffff00191662010100179055604051600181527fbeda7dca7bc1b3e80b871f4818129ec73b771581f803d553aeb3484098e5f65a9060200160405180910390a1565b610e336120d1565b610e3c8161212a565b610e466001600055565b50565b478015610e46576015546040516000916001600160a01b03169083908381818185875af1925050503d8060008114610e9d576040519150601f19603f3d011682016040523d82523d6000602084013e610ea2565b606091505b5050905080610ec35760405162461bcd60e51b8152600401610ddb9061320a565b5050565b6000805260116020526000805160206134a3833981519152546001600160a01b03163314610f255760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610ddb565b60ff81166000908152601160205260409020546001600160a01b0316610f4c84848361256e565b50505050565b600033610d58818585610f65838361158a565b610f6f9190613249565b6118ad565b60008111610fb25760405162461bcd60e51b815260206004820152600b60248201526a16995c9bc8185b5bdd5b9d60aa1b6044820152606401610ddb565b610e4633826126da565b6001600160a01b038083166000818152600e60209081526040808320948616808452948252808320548484526010835281842095845294825280832054938352600990915281205490926001600160801b039261103492611025916110209161325c565b61280e565b61102f9190613273565b61287c565b61103e919061329b565b9392505050565b61104d612077565b61105760006128ce565b565b611061612077565b601a8190556002811115610e465760405162461bcd60e51b815260206004820152600b60248201526a092dcecc2d8d2c840e8c2f60ab1b6044820152606401610ddb565b60006110af612077565b506019805460ff19169055600190565b6110c7612077565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6110fa612077565b60198054911515620100000262ff000019909216919091179055565b61111e612077565b6000805160206134a383398151915280546001600160a01b038087166001600160a01b031992831681179093557f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b552805491871691909216811790915560008281526013602090815260408083204390819055848452818420559382526012905282812085905590815220819055610f4c30856000196118ad565b60028160ff16106111db5760405162461bcd60e51b8152600401610ddb906132bd565b60ff81166000908152601160205260409020546001600160a01b03166112008161150e565b600061120c8233612920565b9050600181111561124f576112213382612993565b6001600160a01b0382166000908152600a602052604081208054839290611249908490613249565b90915550505b505050565b606060058054610cc7906131d0565b60003381611271828661158a565b9050838110156112d15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ddb565b610d7d82868684036118ad565b600033610d58818585611a45565b6001600160a01b038083166000908152600f6020908152604080832093851683529290529081205461131e8484610fbc565b61103e91906132e4565b6001600160a01b0381166000908152600d60209081526040808320805482518185028101850190935280835260609492939192909184015b828210156113be576000848152602090819020604080516060810182526003860290920180546001600160a01b03168352600180820154848601526002909101546001600160801b0316918301919091529083529092019101611360565b505050509050919050565b6113d1612077565b600a8160ff1611156114135760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642046656560a81b6044820152606401610ddb565b60ff8116600b8190556040519081527fb378f123322f0d2f25f55327da675116f5978272115b2214e1614973261ce5cc9060200160405180910390a150565b600d602052816000526040600020818154811061146e57600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b0390911693509091506001600160801b031683565b6114af612077565b6001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03811660009081526013602052604081205461153190436132e4565b6001600160a01b03831660009081526012602052604081205491925090611558908361325c565b90506b033b2e3c9fd0803ce80000008161157160035490565b61157b9190613249565b1161124f5761124f8382612a01565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6115bd6120d1565b60028260ff16106115e05760405162461bcd60e51b8152600401610ddb906132bd565b60ff8216600090815260116020526040908190205490516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b039091169081906323b872dd906064016020604051808303816000875af115801561164a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166e91906132f7565b5061167a82338361256e565b60ff83166000908152601160205260409020546001600160a01b031661169f8161150e565b5050610ec36001600055565b6116b3612077565b601b8190556002811115610e465760405162461bcd60e51b815260206004820152600b60248201526a092dcecc2d8d2c840e8c2f60ab1b6044820152606401610ddb565b60028160ff161061171a5760405162461bcd60e51b8152600401610ddb906132bd565b60ff81166000908152601160205260409020546001600160a01b031661173f8161150e565b600061174b8233612920565b9050600181111561124f576000805260116020526000805160206134a383398151915254611782906001600160a01b031682612993565b6001600160a01b0382166000908152600a6020526040812080548392906117aa908490613249565b90915550506000805260116020526000805160206134a383398151915254604051630de9e96f60e21b81526004810183905233602482015260ff851660448201526001600160a01b03909116906337a7a5bc90606401600060405180830381600087803b15801561181a57600080fd5b505af115801561182e573d6000803e3d6000fd5b50505050505050565b61183f612077565b6001600160a01b0381166118a45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ddb565b610e46816128ce565b6001600160a01b03831661190f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ddb565b6001600160a01b0382166119705760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ddb565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006119dd848461158a565b90506000198114610f4c5781811015611a385760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ddb565b610f4c84848484036118ad565b6001600160a01b038316611a6b5760405162461bcd60e51b8152600401610ddb90613314565b6001600160a01b038216611a915760405162461bcd60e51b8152600401610ddb90613359565b80600003611aa55761124f83836000612ad0565b60195460ff1615611e07576006546001600160a01b03848116911614801590611adc57506006546001600160a01b03838116911614155b8015611af357506001600160a01b03821661dead14155b8015611b095750601454600160a01b900460ff16155b15611e0757601954610100900460ff16611ba1576001600160a01b0383166000908152601c602052604090205460ff1680611b5c57506001600160a01b0382166000908152601c602052604090205460ff165b611ba15760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610ddb565b6001600160a01b0383166000908152601e602052604090205460ff168015611be257506001600160a01b0382166000908152601d602052604090205460ff16155b15611cc657601654811115611c575760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610ddb565b6018546001600160a01b038316600090815260016020526040902054611c7d9083613249565b1115611cc15760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ddb565b611e07565b6001600160a01b0382166000908152601e602052604090205460ff168015611d0757506001600160a01b0383166000908152601d602052604090205460ff16155b15611d7d57601654811115611cc15760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610ddb565b6001600160a01b0382166000908152601d602052604090205460ff16611e07576018546001600160a01b038316600090815260016020526040902054611dc39083613249565b1115611e075760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ddb565b3060009081526001602052604090205460175481108015908190611e3957506006546001600160a01b03868116911614155b8015611e4d575060195462010000900460ff165b8015611e635750601454600160a01b900460ff16155b8015611e8857506001600160a01b0385166000908152601e602052604090205460ff16155b8015611ead57506001600160a01b0385166000908152601c602052604090205460ff16155b8015611ed257506001600160a01b0384166000908152601c602052604090205460ff16155b8015611ef657506001600160a01b0384166000908152601e602052604090205460ff165b15611f24576014805460ff60a01b1916600160a01b179055611f16612c01565b6014805460ff60a01b191690555b6014546001600160a01b0386166000908152601c602052604090205460ff600160a01b909204821615911680611f7257506001600160a01b0385166000908152601c602052604090205460ff165b15611f7b575060005b6000811561206c576001600160a01b0386166000908152601e602052604090205460ff168015611fad57506000601b54115b15611feb576064601b5486611fc2919061325c565b611fcc919061329b565b90508060076000828254611fe09190613249565b9091555061204e9050565b6001600160a01b0387166000908152601e602052604090205460ff16801561201557506000601a54115b1561204e576064601a548661202a919061325c565b612034919061329b565b905080600760008282546120489190613249565b90915550505b801561205f5761205f873083612ad0565b61206981866132e4565b94505b61182e878787612ad0565b6006546001600160a01b031633146110575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ddb565b6002600054036121235760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ddb565b6002600055565b336000908152600d6020526040812080548390811061214b5761214b61339c565b6000918252602080832060408051606081018252600390940290910180546001600160a01b03168452600181015484840152600201546001600160801b031683820152338452600d9091529091205490915082106121d85760405162461bcd60e51b815260206004820152600a602482015269125b9d985b1a5908125960b21b6044820152606401610ddb565b60208082015182516001600160a01b031660009081526010835260408082203383529093529182208054919283926122119084906132e4565b90915550508151612223903383612c59565b81516001600160a01b03166000908152600860205260408120805483929061224c9084906132e4565b909155505060408201516001600160801b03164210156123485760006064600b5483612278919061325c565b612282919061329b565b905080156123465782516001600160a01b031663a9059cbb6122ac6006546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156122f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231d91906132f7565b6123395760405162461bcd60e51b8152600401610ddb9061320a565b61234381836132e4565b91505b505b815160405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015612398573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123bc91906132f7565b6123d85760405162461bcd60e51b8152600401610ddb9061320a565b336000908152600d60205260409020546123f4906001906132e4565b8310156124cb57336000908152600d602052604090208054612418906001906132e4565b815481106124285761242861339c565b9060005260206000209060030201600d6000336001600160a01b03166001600160a01b03168152602001908152602001600020848154811061246c5761246c61339c565b60009182526020909120825460039092020180546001600160a01b0319166001600160a01b0390921691909117815560018083015490820155600291820154910180546001600160801b0319166001600160801b039092169190911790555b336000908152600d602052604090208054806124e9576124e96133b2565b600082815260208082206003600019949094019384020180546001600160a01b03191681556001810192909255600290910180546001600160801b031916905591558281015160408051338152928301919091527f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d591015b60405180910390a1505050565b600d6000836001600160a01b03166001600160a01b031681526020019081526020016000206040518060600160405280836001600160a01b03168152602001858152602001600c54426125c19190613249565b6001600160801b0390811690915282546001808201855560009485526020808620855160039094020180546001600160a01b0319166001600160a01b039485161781558582015192810192909255604094850151600290920180546001600160801b03191692909416919091179092558481168452601082528284209086168452905281208054859290612656908490613249565b9091555061266f9050818361266a866133c8565b612c59565b6001600160a01b03811660009081526008602052604081208054859290612697908490613249565b9091555050604080518481526001600160a01b03841660208201527f21d3f238b5a9e25ffc48b8320bc1d58882b1d90d0b4fcc7ba9707e3aebfedf169101612561565b6001600160a01b03821661273a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610ddb565b6001600160a01b038216600090815260016020526040902054818110156127ae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610ddb565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60006001600160ff1b038211156128785760405162461bcd60e51b815260206004820152602860248201527f53616665436173743a2076616c756520646f65736e27742066697420696e2061604482015267371034b73a191a9b60c11b6064820152608401610ddb565b5090565b6000808212156128785760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f7369746976656044820152606401610ddb565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008061292d84846112ec565b9050801561103e576001600160a01b038085166000908152600f6020908152604080832093871683529290522054612966908290613249565b6001600160a01b038086166000908152600f60209081526040808320938816835292905220559392505050565b6b033b2e3c9fd0803ce8000000816129aa60035490565b6129b49190613249565b11156129f75760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610ddb565b610ec38282612cdd565b6001600160a01b0382166000908152600860205260408120549003612a565760405162461bcd60e51b815260206004820152600b60248201526a7a65726f20737570706c7960a81b6044820152606401610ddb565b8015610ec3576001600160a01b038216600090815260086020526040902054612a866001600160801b038361325c565b612a90919061329b565b6001600160a01b038316600090815260096020526040902054612ab39190613249565b6001600160a01b0383166000908152600960205260409020555050565b6001600160a01b038316612af65760405162461bcd60e51b8152600401610ddb90613314565b6001600160a01b038216612b1c5760405162461bcd60e51b8152600401610ddb90613359565b6001600160a01b03831660009081526001602052604090205481811015612b945760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ddb565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612bf49086815260200190565b60405180910390a3610f4c565b6007546000819003612c105750565b601754612c1e90600a61325c565b811115612c3657601754612c3390600a61325c565b90505b612c3f81612d9e565b8060076000828254612c5191906132e4565b909155505050565b6001600160a01b038316600090815260096020526040902054612c7c90826133e4565b6001600160a01b038085166000908152600e6020908152604080832093871683529290522054612cac9190613273565b6001600160a01b039384166000908152600e6020908152604080832095909616825293909352929091209190915550565b6001600160a01b038216612d335760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610ddb565b8060036000828254612d459190613249565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612dd357612dd361339c565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612e2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e509190613414565b81600181518110612e6357612e6361339c565b6001600160a01b039283166020918202929092010152601454612e8991309116846118ad565b60145460155460405163791ac94760e01b81526001600160a01b039283169263791ac94792612ec692879260009288929116904290600401613431565b600060405180830381600087803b158015612ee057600080fd5b505af1158015612ef4573d6000803e3d6000fd5b505050505050565b803560ff81168114612f0d57600080fd5b919050565b600060208284031215612f2457600080fd5b61103e82612efc565b600060208083528351808285015260005b81811015612f5a57858101830151858201604001528201612f3e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e4657600080fd5b60008060408385031215612fa357600080fd5b8235612fae81612f7b565b946020939093013593505050565b600060208284031215612fce57600080fd5b813561103e81612f7b565b600080600060608486031215612fee57600080fd5b8335612ff981612f7b565b9250602084013561300981612f7b565b929592945050506040919091013590565b60006020828403121561302c57600080fd5b5035919050565b60008060006060848603121561304857600080fd5b83359250602084013561305a81612f7b565b915061306860408501612efc565b90509250925092565b6000806040838503121561308457600080fd5b823561308f81612f7b565b9150602083013561309f81612f7b565b809150509250929050565b8015158114610e4657600080fd5b600080604083850312156130cb57600080fd5b82356130d681612f7b565b9150602083013561309f816130aa565b6000602082840312156130f857600080fd5b813561103e816130aa565b6000806000806080858703121561311957600080fd5b843561312481612f7b565b9350602085013561313481612f7b565b93969395505050506040820135916060013590565b602080825282518282018190526000919060409081850190868401855b828110156131a757815180516001600160a01b0316855286810151878601528501516001600160801b03168585015260609093019290850190600101613166565b5091979650505050505050565b600080604083850312156131c757600080fd5b612fae83612efc565b600181811c908216806131e457607f821691505b60208210810361320457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600f908201526e151c985b9cd9995c8819985a5b1959608a1b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610d5e57610d5e613233565b8082028115828204841417610d5e57610d5e613233565b808201828112600083128015821682158216171561329357613293613233565b505092915050565b6000826132b857634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600d908201526c24b73b30b634b2103a37b5b2b760991b604082015260600190565b81810381811115610d5e57610d5e613233565b60006020828403121561330957600080fd5b815161103e816130aa565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6000600160ff1b82016133dd576133dd613233565b5060000390565b80820260008212600160ff1b8414161561340057613400613233565b8181058314821517610d5e57610d5e613233565b60006020828403121561342657600080fd5b815161103e81612f7b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156134815784516001600160a01b03168352938301939183019160010161345c565b50506001600160a01b0396909616606085015250505060800152939250505056fe4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b7a26469706673582212209c1dc9019b092dfd8b557f237aeca89993e91b96910e2b3762702d7019eb906664736f6c63430008110033
Deployed Bytecode
0x6080604052600436106103bc5760003560e01c80637571336a116101f2578063a995c3531161010d578063dc943fc1116100a0578063eba4c3331161006f578063eba4c33314610c42578063ecff84df14610c62578063f2fde38b14610c82578063f8b45b0514610ca257600080fd5b8063dc943fc114610bb4578063dd62ed3e14610bec578063dd752e5514610c0c578063e2f4560514610c2c57600080fd5b8063b62496f5116100dc578063b62496f514610b25578063bbc0c74214610b55578063c024666814610b74578063cd848c2914610b9457600080fd5b8063a995c35314610a6a578063a9b66fdb14610a8a578063afed4d2014610ab7578063b5d5b5fa14610ad757600080fd5b8063924de9b7116101855780639c3b4fdc116101545780639c3b4fdc146109fe578063a0d82dc514610a14578063a457c2d714610a2a578063a9059cbb14610a4a57600080fd5b8063924de9b7146109895780639258b71f146109a957806395d4063f146109c957806395d89b41146109e957600080fd5b806383907168116101c157806383907168146108fd5780638c0b5e22146109355780638da5cb5b1461094b5780638ea5220f1461096957600080fd5b80637571336a1461084e5780637795a9521461086e57806378922c8f146108a157806383586339146108b757600080fd5b806337a7a5bc116102e25780634fbee1931161027557806370a082311161024457806370a08231146107ce578063715018a61461080457806371fc468814610819578063751039fc1461083957600080fd5b80634fbee19314610709578063534c09061461074257806359508262146107765780636ddd1713146107ae57600080fd5b806349bd5a5e116102b157806349bd5a5e1461066e5780634a110ece146106a25780634a62bb65146106cf5780634d92dd38146106e957600080fd5b806337a7a5bc146105f857806339509351146106185780633fd8b02f1461063857806342966c681461064e57600080fd5b80631ecd7d6e1161035a5780632e17de78116103295780632e17de7814610587578063313ce567146105a757806331c91117146105c357806332cb6b0c146105d857600080fd5b80631ecd7d6e1461050d5780632185c5a81461052357806323b872dd14610550578063293230b81461057057600080fd5b80630cb5503b116103965780630cb5503b1461046d57806310d5de53146104a85780631694505e146104d857806318160ddd146104f857600080fd5b806305c907fd146103c857806306fdde031461041b578063095ea7b31461043d57600080fd5b366103c357005b600080fd5b3480156103d457600080fd5b506103fe6103e3366004612f12565b6011602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561042757600080fd5b50610430610cb8565b6040516104129190612f2d565b34801561044957600080fd5b5061045d610458366004612f90565b610d4a565b6040519015158152602001610412565b34801561047957600080fd5b5061049a610488366004612fbc565b60126020526000908152604090205481565b604051908152602001610412565b3480156104b457600080fd5b5061045d6104c3366004612fbc565b601d6020526000908152604090205460ff1681565b3480156104e457600080fd5b506014546103fe906001600160a01b031681565b34801561050457600080fd5b5060035461049a565b34801561051957600080fd5b5061049a60075481565b34801561052f57600080fd5b5061049a61053e366004612fbc565b60086020526000908152604090205481565b34801561055c57600080fd5b5061045d61056b366004612fd9565b610d64565b34801561057c57600080fd5b50610585610d88565b005b34801561059357600080fd5b506105856105a236600461301a565b610e2b565b3480156105b357600080fd5b5060405160128152602001610412565b3480156105cf57600080fd5b50610585610e49565b3480156105e457600080fd5b5061049a6b033b2e3c9fd0803ce800000081565b34801561060457600080fd5b50610585610613366004613033565b610ec7565b34801561062457600080fd5b5061045d610633366004612f90565b610f52565b34801561064457600080fd5b5061049a600c5481565b34801561065a57600080fd5b5061058561066936600461301a565b610f74565b34801561067a57600080fd5b506103fe7f000000000000000000000000f0a56e7f63e686a312f968e4c03749bf8c71c3a881565b3480156106ae57600080fd5b5061049a6106bd366004612fbc565b60136020526000908152604090205481565b3480156106db57600080fd5b5060195461045d9060ff1681565b3480156106f557600080fd5b5061049a610704366004613071565b610fbc565b34801561071557600080fd5b5061045d610724366004612fbc565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561074e57600080fd5b506103fe7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561078257600080fd5b5061049a610791366004613071565b600e60209081526000928352604080842090915290825290205481565b3480156107ba57600080fd5b5060195461045d9062010000900460ff1681565b3480156107da57600080fd5b5061049a6107e9366004612fbc565b6001600160a01b031660009081526001602052604090205490565b34801561081057600080fd5b50610585611045565b34801561082557600080fd5b5061058561083436600461301a565b611059565b34801561084557600080fd5b5061045d6110a5565b34801561085a57600080fd5b506105856108693660046130b8565b6110bf565b34801561087a57600080fd5b506108896001600160801b0381565b6040516001600160801b039091168152602001610412565b3480156108ad57600080fd5b5061049a600b5481565b3480156108c357600080fd5b5061049a6108d2366004613071565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b34801561090957600080fd5b5061049a610918366004613071565b600f60209081526000928352604080842090915290825290205481565b34801561094157600080fd5b5061049a60165481565b34801561095757600080fd5b506006546001600160a01b03166103fe565b34801561097557600080fd5b506015546103fe906001600160a01b031681565b34801561099557600080fd5b506105856109a43660046130e6565b6110f2565b3480156109b557600080fd5b506105856109c4366004613103565b611116565b3480156109d557600080fd5b506105856109e4366004612f12565b6111b8565b3480156109f557600080fd5b50610430611254565b348015610a0a57600080fd5b5061049a601a5481565b348015610a2057600080fd5b5061049a601b5481565b348015610a3657600080fd5b5061045d610a45366004612f90565b611263565b348015610a5657600080fd5b5061045d610a65366004612f90565b6112de565b348015610a7657600080fd5b5061049a610a85366004613071565b6112ec565b348015610a9657600080fd5b50610aaa610aa5366004612fbc565b611328565b6040516104129190613149565b348015610ac357600080fd5b50610585610ad2366004612f12565b6113c9565b348015610ae357600080fd5b50610af7610af2366004612f90565b611452565b604080516001600160a01b03909416845260208401929092526001600160801b031690820152606001610412565b348015610b3157600080fd5b5061045d610b40366004612fbc565b601e6020526000908152604090205460ff1681565b348015610b6157600080fd5b5060195461045d90610100900460ff1681565b348015610b8057600080fd5b50610585610b8f3660046130b8565b6114a7565b348015610ba057600080fd5b50610585610baf366004612fbc565b61150e565b348015610bc057600080fd5b5061049a610bcf366004613071565b601060209081526000928352604080842090915290825290205481565b348015610bf857600080fd5b5061049a610c07366004613071565b61158a565b348015610c1857600080fd5b50610585610c273660046131b4565b6115b5565b348015610c3857600080fd5b5061049a60175481565b348015610c4e57600080fd5b50610585610c5d36600461301a565b6116ab565b348015610c6e57600080fd5b50610585610c7d366004612f12565b6116f7565b348015610c8e57600080fd5b50610585610c9d366004612fbc565b611837565b348015610cae57600080fd5b5061049a60185481565b606060048054610cc7906131d0565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf3906131d0565b8015610d405780601f10610d1557610100808354040283529160200191610d40565b820191906000526020600020905b815481529060010190602001808311610d2357829003601f168201915b5050505050905090565b600033610d588185856118ad565b60019150505b92915050565b600033610d728582856119d1565b610d7d858585611a45565b506001949350505050565b610d90612077565b601954610100900460ff1615610de45760405162461bcd60e51b815260206004820152601460248201527354726164696e67204c69766520416c726561647960601b60448201526064015b60405180910390fd5b6019805462ffff00191662010100179055604051600181527fbeda7dca7bc1b3e80b871f4818129ec73b771581f803d553aeb3484098e5f65a9060200160405180910390a1565b610e336120d1565b610e3c8161212a565b610e466001600055565b50565b478015610e46576015546040516000916001600160a01b03169083908381818185875af1925050503d8060008114610e9d576040519150601f19603f3d011682016040523d82523d6000602084013e610ea2565b606091505b5050905080610ec35760405162461bcd60e51b8152600401610ddb9061320a565b5050565b6000805260116020526000805160206134a3833981519152546001600160a01b03163314610f255760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610ddb565b60ff81166000908152601160205260409020546001600160a01b0316610f4c84848361256e565b50505050565b600033610d58818585610f65838361158a565b610f6f9190613249565b6118ad565b60008111610fb25760405162461bcd60e51b815260206004820152600b60248201526a16995c9bc8185b5bdd5b9d60aa1b6044820152606401610ddb565b610e4633826126da565b6001600160a01b038083166000818152600e60209081526040808320948616808452948252808320548484526010835281842095845294825280832054938352600990915281205490926001600160801b039261103492611025916110209161325c565b61280e565b61102f9190613273565b61287c565b61103e919061329b565b9392505050565b61104d612077565b61105760006128ce565b565b611061612077565b601a8190556002811115610e465760405162461bcd60e51b815260206004820152600b60248201526a092dcecc2d8d2c840e8c2f60ab1b6044820152606401610ddb565b60006110af612077565b506019805460ff19169055600190565b6110c7612077565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6110fa612077565b60198054911515620100000262ff000019909216919091179055565b61111e612077565b6000805160206134a383398151915280546001600160a01b038087166001600160a01b031992831681179093557f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b552805491871691909216811790915560008281526013602090815260408083204390819055848452818420559382526012905282812085905590815220819055610f4c30856000196118ad565b60028160ff16106111db5760405162461bcd60e51b8152600401610ddb906132bd565b60ff81166000908152601160205260409020546001600160a01b03166112008161150e565b600061120c8233612920565b9050600181111561124f576112213382612993565b6001600160a01b0382166000908152600a602052604081208054839290611249908490613249565b90915550505b505050565b606060058054610cc7906131d0565b60003381611271828661158a565b9050838110156112d15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ddb565b610d7d82868684036118ad565b600033610d58818585611a45565b6001600160a01b038083166000908152600f6020908152604080832093851683529290529081205461131e8484610fbc565b61103e91906132e4565b6001600160a01b0381166000908152600d60209081526040808320805482518185028101850190935280835260609492939192909184015b828210156113be576000848152602090819020604080516060810182526003860290920180546001600160a01b03168352600180820154848601526002909101546001600160801b0316918301919091529083529092019101611360565b505050509050919050565b6113d1612077565b600a8160ff1611156114135760405162461bcd60e51b815260206004820152600b60248201526a496e76616c69642046656560a81b6044820152606401610ddb565b60ff8116600b8190556040519081527fb378f123322f0d2f25f55327da675116f5978272115b2214e1614973261ce5cc9060200160405180910390a150565b600d602052816000526040600020818154811061146e57600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b0390911693509091506001600160801b031683565b6114af612077565b6001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03811660009081526013602052604081205461153190436132e4565b6001600160a01b03831660009081526012602052604081205491925090611558908361325c565b90506b033b2e3c9fd0803ce80000008161157160035490565b61157b9190613249565b1161124f5761124f8382612a01565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6115bd6120d1565b60028260ff16106115e05760405162461bcd60e51b8152600401610ddb906132bd565b60ff8216600090815260116020526040908190205490516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b039091169081906323b872dd906064016020604051808303816000875af115801561164a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166e91906132f7565b5061167a82338361256e565b60ff83166000908152601160205260409020546001600160a01b031661169f8161150e565b5050610ec36001600055565b6116b3612077565b601b8190556002811115610e465760405162461bcd60e51b815260206004820152600b60248201526a092dcecc2d8d2c840e8c2f60ab1b6044820152606401610ddb565b60028160ff161061171a5760405162461bcd60e51b8152600401610ddb906132bd565b60ff81166000908152601160205260409020546001600160a01b031661173f8161150e565b600061174b8233612920565b9050600181111561124f576000805260116020526000805160206134a383398151915254611782906001600160a01b031682612993565b6001600160a01b0382166000908152600a6020526040812080548392906117aa908490613249565b90915550506000805260116020526000805160206134a383398151915254604051630de9e96f60e21b81526004810183905233602482015260ff851660448201526001600160a01b03909116906337a7a5bc90606401600060405180830381600087803b15801561181a57600080fd5b505af115801561182e573d6000803e3d6000fd5b50505050505050565b61183f612077565b6001600160a01b0381166118a45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ddb565b610e46816128ce565b6001600160a01b03831661190f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ddb565b6001600160a01b0382166119705760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ddb565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006119dd848461158a565b90506000198114610f4c5781811015611a385760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ddb565b610f4c84848484036118ad565b6001600160a01b038316611a6b5760405162461bcd60e51b8152600401610ddb90613314565b6001600160a01b038216611a915760405162461bcd60e51b8152600401610ddb90613359565b80600003611aa55761124f83836000612ad0565b60195460ff1615611e07576006546001600160a01b03848116911614801590611adc57506006546001600160a01b03838116911614155b8015611af357506001600160a01b03821661dead14155b8015611b095750601454600160a01b900460ff16155b15611e0757601954610100900460ff16611ba1576001600160a01b0383166000908152601c602052604090205460ff1680611b5c57506001600160a01b0382166000908152601c602052604090205460ff165b611ba15760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610ddb565b6001600160a01b0383166000908152601e602052604090205460ff168015611be257506001600160a01b0382166000908152601d602052604090205460ff16155b15611cc657601654811115611c575760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610ddb565b6018546001600160a01b038316600090815260016020526040902054611c7d9083613249565b1115611cc15760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ddb565b611e07565b6001600160a01b0382166000908152601e602052604090205460ff168015611d0757506001600160a01b0383166000908152601d602052604090205460ff16155b15611d7d57601654811115611cc15760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610ddb565b6001600160a01b0382166000908152601d602052604090205460ff16611e07576018546001600160a01b038316600090815260016020526040902054611dc39083613249565b1115611e075760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610ddb565b3060009081526001602052604090205460175481108015908190611e3957506006546001600160a01b03868116911614155b8015611e4d575060195462010000900460ff165b8015611e635750601454600160a01b900460ff16155b8015611e8857506001600160a01b0385166000908152601e602052604090205460ff16155b8015611ead57506001600160a01b0385166000908152601c602052604090205460ff16155b8015611ed257506001600160a01b0384166000908152601c602052604090205460ff16155b8015611ef657506001600160a01b0384166000908152601e602052604090205460ff165b15611f24576014805460ff60a01b1916600160a01b179055611f16612c01565b6014805460ff60a01b191690555b6014546001600160a01b0386166000908152601c602052604090205460ff600160a01b909204821615911680611f7257506001600160a01b0385166000908152601c602052604090205460ff165b15611f7b575060005b6000811561206c576001600160a01b0386166000908152601e602052604090205460ff168015611fad57506000601b54115b15611feb576064601b5486611fc2919061325c565b611fcc919061329b565b90508060076000828254611fe09190613249565b9091555061204e9050565b6001600160a01b0387166000908152601e602052604090205460ff16801561201557506000601a54115b1561204e576064601a548661202a919061325c565b612034919061329b565b905080600760008282546120489190613249565b90915550505b801561205f5761205f873083612ad0565b61206981866132e4565b94505b61182e878787612ad0565b6006546001600160a01b031633146110575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ddb565b6002600054036121235760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ddb565b6002600055565b336000908152600d6020526040812080548390811061214b5761214b61339c565b6000918252602080832060408051606081018252600390940290910180546001600160a01b03168452600181015484840152600201546001600160801b031683820152338452600d9091529091205490915082106121d85760405162461bcd60e51b815260206004820152600a602482015269125b9d985b1a5908125960b21b6044820152606401610ddb565b60208082015182516001600160a01b031660009081526010835260408082203383529093529182208054919283926122119084906132e4565b90915550508151612223903383612c59565b81516001600160a01b03166000908152600860205260408120805483929061224c9084906132e4565b909155505060408201516001600160801b03164210156123485760006064600b5483612278919061325c565b612282919061329b565b905080156123465782516001600160a01b031663a9059cbb6122ac6006546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156122f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231d91906132f7565b6123395760405162461bcd60e51b8152600401610ddb9061320a565b61234381836132e4565b91505b505b815160405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015612398573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123bc91906132f7565b6123d85760405162461bcd60e51b8152600401610ddb9061320a565b336000908152600d60205260409020546123f4906001906132e4565b8310156124cb57336000908152600d602052604090208054612418906001906132e4565b815481106124285761242861339c565b9060005260206000209060030201600d6000336001600160a01b03166001600160a01b03168152602001908152602001600020848154811061246c5761246c61339c565b60009182526020909120825460039092020180546001600160a01b0319166001600160a01b0390921691909117815560018083015490820155600291820154910180546001600160801b0319166001600160801b039092169190911790555b336000908152600d602052604090208054806124e9576124e96133b2565b600082815260208082206003600019949094019384020180546001600160a01b03191681556001810192909255600290910180546001600160801b031916905591558281015160408051338152928301919091527f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d591015b60405180910390a1505050565b600d6000836001600160a01b03166001600160a01b031681526020019081526020016000206040518060600160405280836001600160a01b03168152602001858152602001600c54426125c19190613249565b6001600160801b0390811690915282546001808201855560009485526020808620855160039094020180546001600160a01b0319166001600160a01b039485161781558582015192810192909255604094850151600290920180546001600160801b03191692909416919091179092558481168452601082528284209086168452905281208054859290612656908490613249565b9091555061266f9050818361266a866133c8565b612c59565b6001600160a01b03811660009081526008602052604081208054859290612697908490613249565b9091555050604080518481526001600160a01b03841660208201527f21d3f238b5a9e25ffc48b8320bc1d58882b1d90d0b4fcc7ba9707e3aebfedf169101612561565b6001600160a01b03821661273a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610ddb565b6001600160a01b038216600090815260016020526040902054818110156127ae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610ddb565b6001600160a01b03831660008181526001602090815260408083208686039055600380548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b60006001600160ff1b038211156128785760405162461bcd60e51b815260206004820152602860248201527f53616665436173743a2076616c756520646f65736e27742066697420696e2061604482015267371034b73a191a9b60c11b6064820152608401610ddb565b5090565b6000808212156128785760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f7369746976656044820152606401610ddb565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008061292d84846112ec565b9050801561103e576001600160a01b038085166000908152600f6020908152604080832093871683529290522054612966908290613249565b6001600160a01b038086166000908152600f60209081526040808320938816835292905220559392505050565b6b033b2e3c9fd0803ce8000000816129aa60035490565b6129b49190613249565b11156129f75760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610ddb565b610ec38282612cdd565b6001600160a01b0382166000908152600860205260408120549003612a565760405162461bcd60e51b815260206004820152600b60248201526a7a65726f20737570706c7960a81b6044820152606401610ddb565b8015610ec3576001600160a01b038216600090815260086020526040902054612a866001600160801b038361325c565b612a90919061329b565b6001600160a01b038316600090815260096020526040902054612ab39190613249565b6001600160a01b0383166000908152600960205260409020555050565b6001600160a01b038316612af65760405162461bcd60e51b8152600401610ddb90613314565b6001600160a01b038216612b1c5760405162461bcd60e51b8152600401610ddb90613359565b6001600160a01b03831660009081526001602052604090205481811015612b945760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ddb565b6001600160a01b0380851660008181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612bf49086815260200190565b60405180910390a3610f4c565b6007546000819003612c105750565b601754612c1e90600a61325c565b811115612c3657601754612c3390600a61325c565b90505b612c3f81612d9e565b8060076000828254612c5191906132e4565b909155505050565b6001600160a01b038316600090815260096020526040902054612c7c90826133e4565b6001600160a01b038085166000908152600e6020908152604080832093871683529290522054612cac9190613273565b6001600160a01b039384166000908152600e6020908152604080832095909616825293909352929091209190915550565b6001600160a01b038216612d335760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610ddb565b8060036000828254612d459190613249565b90915550506001600160a01b0382166000818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612dd357612dd361339c565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612e2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e509190613414565b81600181518110612e6357612e6361339c565b6001600160a01b039283166020918202929092010152601454612e8991309116846118ad565b60145460155460405163791ac94760e01b81526001600160a01b039283169263791ac94792612ec692879260009288929116904290600401613431565b600060405180830381600087803b158015612ee057600080fd5b505af1158015612ef4573d6000803e3d6000fd5b505050505050565b803560ff81168114612f0d57600080fd5b919050565b600060208284031215612f2457600080fd5b61103e82612efc565b600060208083528351808285015260005b81811015612f5a57858101830151858201604001528201612f3e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e4657600080fd5b60008060408385031215612fa357600080fd5b8235612fae81612f7b565b946020939093013593505050565b600060208284031215612fce57600080fd5b813561103e81612f7b565b600080600060608486031215612fee57600080fd5b8335612ff981612f7b565b9250602084013561300981612f7b565b929592945050506040919091013590565b60006020828403121561302c57600080fd5b5035919050565b60008060006060848603121561304857600080fd5b83359250602084013561305a81612f7b565b915061306860408501612efc565b90509250925092565b6000806040838503121561308457600080fd5b823561308f81612f7b565b9150602083013561309f81612f7b565b809150509250929050565b8015158114610e4657600080fd5b600080604083850312156130cb57600080fd5b82356130d681612f7b565b9150602083013561309f816130aa565b6000602082840312156130f857600080fd5b813561103e816130aa565b6000806000806080858703121561311957600080fd5b843561312481612f7b565b9350602085013561313481612f7b565b93969395505050506040820135916060013590565b602080825282518282018190526000919060409081850190868401855b828110156131a757815180516001600160a01b0316855286810151878601528501516001600160801b03168585015260609093019290850190600101613166565b5091979650505050505050565b600080604083850312156131c757600080fd5b612fae83612efc565b600181811c908216806131e457607f821691505b60208210810361320457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600f908201526e151c985b9cd9995c8819985a5b1959608a1b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610d5e57610d5e613233565b8082028115828204841417610d5e57610d5e613233565b808201828112600083128015821682158216171561329357613293613233565b505092915050565b6000826132b857634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600d908201526c24b73b30b634b2103a37b5b2b760991b604082015260600190565b81810381811115610d5e57610d5e613233565b60006020828403121561330957600080fd5b815161103e816130aa565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6000600160ff1b82016133dd576133dd613233565b5060000390565b80820260008212600160ff1b8414161561340057613400613233565b8181058314821517610d5e57610d5e613233565b60006020828403121561342657600080fd5b815161103e81612f7b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156134815784516001600160a01b03168352938301939183019160010161345c565b50506001600160a01b0396909616606085015250505060800152939250505056fe4ad3b33220dddc71b994a52d72c06b10862965f7d926534c05c00fb7e819e7b7a26469706673582212209c1dc9019b092dfd8b557f237aeca89993e91b96910e2b3762702d7019eb906664736f6c63430008110033
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.