ERC-20
Overview
Max Total Supply
420 s7WMM
Holders
38
Market
Price
$0.00 @ 0.000000 S
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
3.999815476251978184 s7WMMValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
This contract contains unverified libraries: LibSilo
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
RebasingReflectionToken
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 777 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.8.9; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import { Address } from "@openzeppelin/contracts/utils/Address.sol"; import { IUniswapV2Router } from "./IUniswapV2Router.sol"; import { IUniswapV2Factory } from "./IUniswapV2Factory.sol"; import { IUniswapV2Pair } from "./IUniswapV2Pair.sol"; import { IWrappedToken } from "./IWrappedToken.sol"; uint256 constant N = 7; contract Silo { using SafeERC20 for IERC20; constructor(address[N] memory _rewardTokens) { for (uint256 _i = 0; _i < N; _i++) { IERC20(_rewardTokens[_i]).safeApprove(msg.sender, type(uint256).max); } } } library LibSilo { function createSilo(address[N] memory _rewardTokens) public returns (address _silo) { return address(new Silo(_rewardTokens)); } } contract RebasingReflectionToken is Ownable, ERC20 { using Address for address; using Address for address payable; using SafeERC20 for IERC20; struct AccountInfo { bool exists; // existence flag bool excludeFromRewards; // whether or not receive rewards uint256 activeBalance; // 0 or user's balance uint256[N] rewardDebt; // base for reward distribution uint256[N] unclaimedReward; // reward balance available for claim uint256[N] minimumRewardBalanceToClaim; // minimum unclaimed balance to auto claim } address constant FURNACE = 0x000000000000000000000000000000000000dEaD; address constant INTERNAL_ADDRESS = address(1); // used internally to record pending rebase balances uint256 constant BUY_FEE = 6e16; // 6% uint256 constant SELL_FEE = 9e16; // 9% uint256 constant DEFAULT_LAUNCH_TIME = 1742911200; // Mar 25 2025 9:00:00 AM CST address public burnToken = 0x3Ad2234eBFED9dEEfab94B9719aEbc07f8510D47; // Daddy bool private bypass_ = false; // internal flag to bypass all token logic bool private inswap_ = false; // internal flag to bypass additional token transfer logic address public router; // router V2 address[N] public pairs; // n pairs liquidity pool adddresses address[][N] public paths; // routes from WMM to reward tokens uint256 public launchTime = DEFAULT_LAUNCH_TIME; // timestamp when the trading starts uint256 public totalActiveSupply = 0; // sum of active balances for all 7WMM holders address[N] public rewardTokens; // n reward tokens uint256[N] public buybackPercents; // buyback percentage of each token address public wrappedToken; // WETH uint256[N] public rewardBalance = [0, 0, 0, 0, 0, 0, 0]; // reward balance uint256[N] public accRewardPerShare = [0, 0, 0, 0, 0, 0, 0]; // accumulated reward per share (double precision) uint256 public minimumFeeBalanceToBuyback = 10000; // need to be more than just dust bool public pairsLaunched = false; address public silo; // holds reward balances address[] public accountIndex; // list of all accounts that ever received WMM mapping(address => AccountInfo) public accountInfo; // account attributes function accountIndexLength() external view returns (uint256 _length) { return accountIndex.length; } function accountRewardInfo(address _account, uint256 _i) external view returns (uint256 _rewardDebt, uint256 _unclaimedReward, uint256 _minimumRewardBalanceToClaim) { AccountInfo storage _accountInfo = accountInfo[_account]; return (_accountInfo.rewardDebt[_i], _accountInfo.unclaimedReward[_i], _accountInfo.minimumRewardBalanceToClaim[_i]); } constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) { } function initialize(uint256 _supply, address[N] memory _rewardTokens, address _router, address _wrappedToken, uint256[N] memory _buybackPercents, address _owner) external { require(router == address(0), "already initialized"); router = _router; wrappedToken = _wrappedToken; silo = LibSilo.createSilo(_rewardTokens); _approve(address(this), _router, type(uint256).max); _mint(_owner, _supply); } function launchPairs(address[N] memory _rewardTokens, uint256[N] memory _buybackPercents) external onlyOwner { require(!pairsLaunched, "pairs already launched"); address _factory = IUniswapV2Router(router).factory(); uint256 _totalBuybackPercent = 0; for (uint256 _i = 0; _i < N; _i++) { address _rewardToken = _rewardTokens[_i]; uint256 _buybackPercent = _buybackPercents[_i]; address _pair = IUniswapV2Factory(_factory).createPair(_rewardToken, address(this)); address[] memory _path = new address[](2); _path[0] = address(this); _path[1] = _rewardToken; pairs[_i] = _pair; paths[_i] = _path; rewardTokens[_i] = _rewardToken; buybackPercents[_i] = _buybackPercent; _totalBuybackPercent += _buybackPercent; } require(_totalBuybackPercent <= 100e16, "invalid percentages"); pairsLaunched = true; } function updateLaunchTime(uint256 _launchTime) external onlyOwner { require(_launchTime > block.timestamp, "invalid time"); launchTime = _launchTime; emit UpdateLaunchTime(_launchTime); } function updateMinimumFeeBalanceToBuyback(uint256 _minimumFeeBalanceToBuyback) external onlyOwner { minimumFeeBalanceToBuyback = _minimumFeeBalanceToBuyback; emit UpdateMinimumFeeBalanceToBuyback(_minimumFeeBalanceToBuyback); } function updateMinimumRewardBalanceToClaim(uint256[N] memory _minimumRewardBalanceToClaim) external { AccountInfo storage _accountInfo = accountInfo[msg.sender]; _accountInfo.minimumRewardBalanceToClaim = _minimumRewardBalanceToClaim; emit UpdateMinimumRewardBalanceToClaim(_minimumRewardBalanceToClaim); } function updateExcludeFromRewards(address _account, bool _excludeFromRewards) external onlyOwner { _updateAccount(_account); AccountInfo storage _accountInfo = accountInfo[_account]; _accountInfo.excludeFromRewards = _excludeFromRewards; _postUpdateAccount(_account); emit UpdateExcludeFromRewards(_account, _excludeFromRewards); } function updateExcludeFromRewards(bool _excludeFromRewards) external { _updateAccount(msg.sender); AccountInfo storage _accountInfo = accountInfo[msg.sender]; _accountInfo.excludeFromRewards = _excludeFromRewards; _postUpdateAccount(msg.sender); emit UpdateExcludeFromRewards(msg.sender, _excludeFromRewards); } function _updateAccount(address _account) internal { AccountInfo storage _accountInfo = accountInfo[_account]; if (!_accountInfo.exists) { accountIndex.push(_account); _accountInfo.exists = true; _accountInfo.excludeFromRewards = _account == FURNACE || _account.isContract(); _accountInfo.activeBalance = 0; _accountInfo.rewardDebt = [0, 0, 0, 0, 0, 0, 0]; _accountInfo.unclaimedReward = [0, 0, 0, 0, 0, 0, 0]; _accountInfo.minimumRewardBalanceToClaim = [1, 1, 1, 1, 1, 1, 1]; return; } uint256 _activeBalance = _accountInfo.activeBalance; if (_activeBalance > 0) { for (uint256 _i = 0; _i < N; _i++) { uint256 _rewardDebt = _activeBalance * accRewardPerShare[_i] / 1e36; if (_rewardDebt > _accountInfo.rewardDebt[_i]) { uint256 _rewardAmount = _rewardDebt - _accountInfo.rewardDebt[_i]; _accountInfo.unclaimedReward[_i] += _rewardAmount; _accountInfo.rewardDebt[_i] = _rewardDebt; } } } for (uint256 _i = 0; _i < N; _i++) { uint256 _unclaimedReward = _accountInfo.unclaimedReward[_i]; if (_unclaimedReward >= _accountInfo.minimumRewardBalanceToClaim[_i]) { _accountInfo.unclaimedReward[_i] = 0; rewardBalance[_i] -= _unclaimedReward; address _rewardToken = rewardTokens[_i]; if (_rewardToken != wrappedToken) { IERC20(_rewardToken).safeTransferFrom(silo, _account, _unclaimedReward); } else { IERC20(_rewardToken).safeTransferFrom(silo, address(this), _unclaimedReward); IWrappedToken(_rewardToken).withdraw(_unclaimedReward); payable(_account).sendValue(_unclaimedReward); } } } } function _postUpdateAccount(address _account) internal { AccountInfo storage _accountInfo = accountInfo[_account]; uint256 _oldActiveBalance = _accountInfo.activeBalance; uint256 _newActiveBalance = _accountInfo.excludeFromRewards ? 0 : balanceOf(_account); if (_newActiveBalance != _oldActiveBalance) { _accountInfo.activeBalance = _newActiveBalance; for (uint256 _i = 0; _i < N; _i++) { _accountInfo.rewardDebt[_i] = _newActiveBalance * accRewardPerShare[_i] / 1e36; } totalActiveSupply -= _oldActiveBalance; totalActiveSupply += _newActiveBalance; } } function _transfer(address _from, address _to, uint256 _amount) internal override { if (bypass_) { // internal transfer super._transfer(_from, _to, _amount); return; } if (inswap_) { // fee selling transfer super._transfer(_from, _to, _amount); return; } bool _buying = false; bool _selling = false; for (uint256 _i = 0; _i < N; _i++) { _buying = _buying || _from == pairs[_i]; _selling = _selling || _to == pairs[_i]; } if (_buying || _selling) { // buy/sell bool _restricted = block.timestamp < launchTime && (_buying ? _to : _from) != owner(); require(!_restricted, "unavailable"); // If the sender is not the owner then fee applies uint256 _feeAmount = (_buying ? _to : _from) != owner() ? _amount * (_buying ? BUY_FEE : SELL_FEE) / 100e16 : 0; super._transfer(_from, _to, _amount - _feeAmount); super._transfer(_from, address(this), _feeAmount); return; } // regular transfer super._transfer(_from, _to, _amount); // piggyback buyback operation uint256 _balance = balanceOf(address(this)); if (_balance >= minimumFeeBalanceToBuyback) { inswap_ = true; _approve(address(this), router, _balance); for (uint256 _i = 0; _i < N; _i ++) { uint256 _swapAmount = _balance * buybackPercents[_i] / 100e16; // If the buy back token is the burn token, send it to the furnace if(paths[_i][1] == burnToken) { IUniswapV2Router(router).swapExactTokensForTokens(_swapAmount, 0, paths[_i], FURNACE, block.timestamp); } else { IUniswapV2Router(router).swapExactTokensForTokens(_swapAmount, 0, paths[_i], silo, block.timestamp); } IUniswapV2Pair(pairs[_i]).sync(); } inswap_ = false; if (totalActiveSupply > 0) { for (uint256 _i = 0; _i < N; _i++) { uint256 _rewardBalance = IERC20(rewardTokens[_i]).balanceOf(silo); uint256 _rewardAmount = _rewardBalance - rewardBalance[_i]; if (_rewardAmount > 0) { rewardBalance[_i] = _rewardBalance; accRewardPerShare[_i] += _rewardAmount * 1e36 / totalActiveSupply; } } } } } function _beforeTokenTransfer(address _from, address _to, uint256 _amount) internal override { if (bypass_) return; if (_from != address(0)) { _updateAccount(_from); } if (_to != address(0)) { require(_to != INTERNAL_ADDRESS, "invalid address"); _updateAccount(_to); } _amount; // silences warning } function _afterTokenTransfer(address _from, address _to, uint256 _amount) internal override { if (bypass_) return; if (_from != address(0)) { _postUpdateAccount(_from); } if (_to != address(0)) { _postUpdateAccount(_to); } _amount; // silences warning } receive() external payable {} event UpdateLaunchTime(uint256 _launchTime); event UpdateMinimumFeeBalanceToBuyback(uint256 _minimumFeeBalanceToBuyback); event UpdateMinimumRewardBalanceToClaim(uint256[N] _minimumRewardBalanceToClaim); event UpdateExcludeFromRewards(address indexed _account, bool indexed _excludeFromRewards); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, 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; _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; } _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 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.0 (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 v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.8.9; interface IUniswapV2Factory { function getPair(address _tokenA, address _tokenB) external view returns (address _pair); function createPair(address _tokenA, address _tokenB) external returns (address _pair); }
// SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.8.9; interface IUniswapV2Pair { function sync() external; }
// SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.8.9; interface IUniswapV2Router { function factory() external view returns (address _factory); function swapExactTokensForTokens( uint256 _amountIn, uint256 _amountOutMin, address[] calldata _path, address _to, uint256 _deadline ) external returns (uint256[] memory _amounts); function swapExactTokensForETH( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); }
// SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.8.9; interface IWrappedToken { function deposit() external payable; function transfer(address to, uint256 value) external returns (bool); function withdraw(uint256) external; function approve(address spender, uint256 value) external returns (bool); }
{ "optimizer": { "enabled": true, "runs": 777 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": { "contracts/RebasingReflectionToken.sol": { "LibSilo": "0x2582df1a0cfca281e8ba817b42bccda6e300bd1f" } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_account","type":"address"},{"indexed":true,"internalType":"bool","name":"_excludeFromRewards","type":"bool"}],"name":"UpdateExcludeFromRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_launchTime","type":"uint256"}],"name":"UpdateLaunchTime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_minimumFeeBalanceToBuyback","type":"uint256"}],"name":"UpdateMinimumFeeBalanceToBuyback","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[7]","name":"_minimumRewardBalanceToClaim","type":"uint256[7]"}],"name":"UpdateMinimumRewardBalanceToClaim","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"accRewardPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"accountIndex","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accountIndexLength","outputs":[{"internalType":"uint256","name":"_length","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"accountInfo","outputs":[{"internalType":"bool","name":"exists","type":"bool"},{"internalType":"bool","name":"excludeFromRewards","type":"bool"},{"internalType":"uint256","name":"activeBalance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_i","type":"uint256"}],"name":"accountRewardInfo","outputs":[{"internalType":"uint256","name":"_rewardDebt","type":"uint256"},{"internalType":"uint256","name":"_unclaimedReward","type":"uint256"},{"internalType":"uint256","name":"_minimumRewardBalanceToClaim","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"buybackPercents","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"uint256","name":"_supply","type":"uint256"},{"internalType":"address[7]","name":"_rewardTokens","type":"address[7]"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_wrappedToken","type":"address"},{"internalType":"uint256[7]","name":"_buybackPercents","type":"uint256[7]"},{"internalType":"address","name":"_owner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[7]","name":"_rewardTokens","type":"address[7]"},{"internalType":"uint256[7]","name":"_buybackPercents","type":"uint256[7]"}],"name":"launchPairs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumFeeBalanceToBuyback","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pairs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairsLaunched","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"paths","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewardTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"silo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalActiveSupply","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_excludeFromRewards","type":"bool"}],"name":"updateExcludeFromRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_excludeFromRewards","type":"bool"}],"name":"updateExcludeFromRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_launchTime","type":"uint256"}],"name":"updateLaunchTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumFeeBalanceToBuyback","type":"uint256"}],"name":"updateMinimumFeeBalanceToBuyback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[7]","name":"_minimumRewardBalanceToClaim","type":"uint256[7]"}],"name":"updateMinimumRewardBalanceToClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wrappedToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600680546001600160b01b031916733ad2234ebfed9deefab94b9719aebc07f8510d471790556367e2b6e060165560006017819055610160604052608081815260a082905260c082905260e082905261010082905261012082905261014091909152620000719060279060076200018f565b506040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152620000bb90602e9060076200018f565b506127106035556036805460ff19169055348015620000d957600080fd5b50604051620034e5380380620034e5833981016040819052620000fc9162000338565b818162000109336200013f565b81516200011e906004906020850190620001d7565b50805162000134906005906020840190620001d7565b5050505050620003df565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8260078101928215620001c5579160200282015b82811115620001c5578251829060ff16905591602001919060010190620001a3565b50620001d392915062000254565b5090565b828054620001e590620003a2565b90600052602060002090601f016020900481019282620002095760008555620001c5565b82601f106200022457805160ff1916838001178555620001c5565b82800160010185558215620001c5579182015b82811115620001c557825182559160200191906001019062000237565b5b80821115620001d3576000815560010162000255565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200029357600080fd5b81516001600160401b0380821115620002b057620002b06200026b565b604051601f8301601f19908116603f01168101908282118183101715620002db57620002db6200026b565b81604052838152602092508683858801011115620002f857600080fd5b600091505b838210156200031c5785820183015181830184015290820190620002fd565b838211156200032e5760008385830101525b9695505050505050565b600080604083850312156200034c57600080fd5b82516001600160401b03808211156200036457600080fd5b620003728683870162000281565b935060208501519150808211156200038957600080fd5b50620003988582860162000281565b9150509250929050565b600181811c90821680620003b757607f821691505b60208210811415620003d957634e487b7160e01b600052602260045260246000fd5b50919050565b6130f680620003ef6000396000f3fe6080604052600436106102a45760003560e01c8063790ca4131161016e578063b91ac788116100cb578063eb3beb291161007f578063f417a3cc11610064578063f417a3cc146107af578063f887ea40146107cf578063faa0a264146107ef57600080fd5b8063eb3beb291461076a578063f2fde38b1461078f57600080fd5b8063c6c53efb116100b0578063c6c53efb146106c9578063dd62ed3e146106e9578063e10de16d1461072f57600080fd5b8063b91ac78814610689578063c194efbf146106a957600080fd5b8063996c6cc311610122578063a7310b5811610107578063a7310b58146105eb578063a9059cbb14610649578063aa348a271461066957600080fd5b8063996c6cc3146105ab578063a457c2d7146105cb57600080fd5b806386e3ff751161015357806386e3ff75146105585780638da5cb5b1461057857806395d89b411461059657600080fd5b8063790ca413146105225780637bb7bed11461053857600080fd5b806336f9825f1161021c57806354d3c142116101d057806370a08231116101b557806370a08231146104c1578063715018a6146104f7578063720692641461050c57600080fd5b806354d3c1421461048b57806368027e43146104a157600080fd5b80633d0c1b33116102015780633d0c1b331461043657806341632d33146104565780634e9ed5a41461046b57600080fd5b806336f9825f146103de578063395093511461041657600080fd5b806318160ddd1161027357806323b872dd1161025857806323b872dd146103825780632662c4c7146103a2578063313ce567146103c257600080fd5b806318160ddd146103435780631eadf4b11461036257600080fd5b8063031fb30d146102b057806306fdde03146102df5780630873ee2d14610301578063095ea7b31461032357600080fd5b366102ab57005b600080fd5b3480156102bc57600080fd5b506036546102ca9060ff1681565b60405190151581526020015b60405180910390f35b3480156102eb57600080fd5b506102f461080f565b6040516102d69190612a66565b34801561030d57600080fd5b5061032161031c366004612bbc565b6108a1565b005b34801561032f57600080fd5b506102ca61033e366004612c38565b6109fb565b34801561034f57600080fd5b506003545b6040519081526020016102d6565b34801561036e57600080fd5b5061035461037d366004612c64565b610a11565b34801561038e57600080fd5b506102ca61039d366004612c7d565b610a28565b3480156103ae57600080fd5b506103216103bd366004612c64565b610ae9565b3480156103ce57600080fd5b50604051601281526020016102d6565b3480156103ea57600080fd5b506103fe6103f9366004612c64565b610b7f565b6040516001600160a01b0390911681526020016102d6565b34801561042257600080fd5b506102ca610431366004612c38565b610ba9565b34801561044257600080fd5b50610321610451366004612ccc565b610be5565b34801561046257600080fd5b50603754610354565b34801561047757600080fd5b50610321610486366004612ce9565b610c4b565b34801561049757600080fd5b5061035460355481565b3480156104ad57600080fd5b506103216104bc366004612c64565b611001565b3480156104cd57600080fd5b506103546104dc366004612d1f565b6001600160a01b031660009081526001602052604090205490565b34801561050357600080fd5b506103216110df565b34801561051857600080fd5b5061035460175481565b34801561052e57600080fd5b5061035460165481565b34801561054457600080fd5b506103fe610553366004612c64565b611145565b34801561056457600080fd5b50610354610573366004612c64565b611165565b34801561058457600080fd5b506000546001600160a01b03166103fe565b3480156105a257600080fd5b506102f4611175565b3480156105b757600080fd5b506026546103fe906001600160a01b031681565b3480156105d757600080fd5b506102ca6105e6366004612c38565b611184565b3480156105f757600080fd5b5061062c610606366004612d1f565b6038602052600090815260409020805460019091015460ff808316926101009004169083565b6040805193151584529115156020840152908201526060016102d6565b34801561065557600080fd5b506102ca610664366004612c38565b61121d565b34801561067557600080fd5b50610321610684366004612d3c565b61122a565b34801561069557600080fd5b506103fe6106a4366004612c64565b6112fc565b3480156106b557600080fd5b506103546106c4366004612c64565b61130c565b3480156106d557600080fd5b506103fe6106e4366004612d75565b61131c565b3480156106f557600080fd5b50610354610704366004612d97565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561073b57600080fd5b5061074f61074a366004612c38565b611357565b604080519384526020840192909252908201526060016102d6565b34801561077657600080fd5b506036546103fe9061010090046001600160a01b031681565b34801561079b57600080fd5b506103216107aa366004612d1f565b6113c6565b3480156107bb57600080fd5b506103216107ca366004612dc5565b6114a8565b3480156107db57600080fd5b506007546103fe906001600160a01b031681565b3480156107fb57600080fd5b506006546103fe906001600160a01b031681565b60606004805461081e90612de1565b80601f016020809104026020016040519081016040528092919081815260200182805461084a90612de1565b80156108975780601f1061086c57610100808354040283529160200191610897565b820191906000526020600020905b81548152906001019060200180831161087a57829003601f168201915b5050505050905090565b6007546001600160a01b0316156108ff5760405162461bcd60e51b815260206004820152601360248201527f616c726561647920696e697469616c697a65640000000000000000000000000060448201526064015b60405180910390fd5b600780546001600160a01b038087166001600160a01b031992831617909255602680549286169290911691909117905560405163aae1cb1960e01b8152732582df1a0cfca281e8ba817b42bccda6e300bd1f9063aae1cb1990610966908890600401612e1c565b60206040518083038186803b15801561097e57600080fd5b505af4158015610992573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b69190612e56565b603660016101000a8154816001600160a01b0302191690836001600160a01b031602179055506109e93085600019611502565b6109f38187611626565b505050505050565b6000610a08338484611502565b50600192915050565b601f8160078110610a2157600080fd5b0154905081565b6000610a3584848461171d565b6001600160a01b038416600090815260026020908152604080832033845290915290205482811015610acf5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084016108f6565b610adc8533858403611502565b60019150505b9392505050565b6000546001600160a01b03163314610b435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b60358190556040518181527f8475c50d200e3af42f6bc18cbe68c1ea33f79dcfa922709417dc17145272dfbd906020015b60405180910390a150565b60378181548110610b8f57600080fd5b6000918252602090912001546001600160a01b0316905081565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091610a08918590610be0908690612e89565b611502565b610bee33611d31565b336000818152603860205260409020805461ff0019166101008415150217815590610c1890612130565b6040518215159033907fb1cd70b5f24f9374334ff863d259f00be85610779ef78a46cefc3a6df258f00d90600090a35050565b6000546001600160a01b03163314610ca55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b60365460ff1615610cf85760405162461bcd60e51b815260206004820152601660248201527f706169727320616c7265616479206c61756e636865640000000000000000000060448201526064016108f6565b6007546040805163c45a015560e01b815290516000926001600160a01b03169163c45a0155916004808301926020929190829003018186803b158015610d3d57600080fd5b505afa158015610d51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d759190612e56565b90506000805b6007811015610f95576000858260078110610d9857610d98612ea1565b602002015190506000858360078110610db357610db3612ea1565b60200201516040516364e329cb60e11b81526001600160a01b03848116600483015230602483015291925060009187169063c9c6539690604401602060405180830381600087803b158015610e0757600080fd5b505af1158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f9190612e56565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110610e7957610e79612ea1565b60200260200101906001600160a01b031690816001600160a01b0316815250508381600181518110610ead57610ead612ea1565b60200260200101906001600160a01b031690816001600160a01b0316815250508160088660078110610ee157610ee1612ea1565b0180546001600160a01b0319166001600160a01b039290921691909117905580600f8660078110610f1457610f14612ea1565b019080519060200190610f2892919061295f565b508360188660078110610f3d57610f3d612ea1565b0180546001600160a01b0319166001600160a01b039290921691909117905582601f8660078110610f7057610f70612ea1565b0155610f7c8387612e89565b9550505050508080610f8d90612eb7565b915050610d7b565b50670de0b6b3a7640000811115610fee5760405162461bcd60e51b815260206004820152601360248201527f696e76616c69642070657263656e74616765730000000000000000000000000060448201526064016108f6565b50506036805460ff191660011790555050565b6000546001600160a01b0316331461105b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b4281116110aa5760405162461bcd60e51b815260206004820152600c60248201527f696e76616c69642074696d65000000000000000000000000000000000000000060448201526064016108f6565b60168190556040518181527f8141e666fef1d3f81eadd5bb465403f51873cfcd9c37722c56b70a733d981fc290602001610b74565b6000546001600160a01b031633146111395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b6111436000612235565b565b6018816007811061115557600080fd5b01546001600160a01b0316905081565b60278160078110610a2157600080fd5b60606005805461081e90612de1565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156112065760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108f6565b6112133385858403611502565b5060019392505050565b6000610a0833848461171d565b6000546001600160a01b031633146112845760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b61128d82611d31565b6001600160a01b0382166000908152603860205260409020805461ff001916610100831515021781556112bf83612130565b604051821515906001600160a01b038516907fb1cd70b5f24f9374334ff863d259f00be85610779ef78a46cefc3a6df258f00d90600090a3505050565b6008816007811061115557600080fd5b602e8160078110610a2157600080fd5b600f826007811061132c57600080fd5b01818154811061133b57600080fd5b6000918252602090912001546001600160a01b03169150829050565b6001600160a01b03821660009081526038602052604081208190819060028101856007811061138857611388612ea1565b015481600901866007811061139f5761139f612ea1565b01548260100187600781106113b6576113b6612ea1565b0154935093509350509250925092565b6000546001600160a01b031633146114205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b6001600160a01b03811661149c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108f6565b6114a581612235565b50565b3360009081526038602052604090206114c6601082018360076129c4565b507f2ed4b5b3fc9a9f16b391cbbae37c48421d6ed7e6834cd8d1247885690eb7d5b9826040516114f69190612ed2565b60405180910390a15050565b6001600160a01b0383166115645760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108f6565b6001600160a01b0382166115c55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108f6565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03821661167c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108f6565b61168860008383612285565b806003600082825461169a9190612e89565b90915550506001600160a01b038216600090815260016020526040812080548392906116c7908490612e89565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361171960008383612326565b5050565b600654600160a01b900460ff161561173f5761173a83838361236d565b505050565b600654600160a81b900460ff161561175c5761173a83838361236d565b60008060005b60078110156117d757828061179657506008816007811061178557611785612ea1565b01546001600160a01b038781169116145b925081806117c35750600881600781106117b2576117b2612ea1565b01546001600160a01b038681169116145b9150806117cf81612eb7565b915050611762565b5081806117e15750805b156118fc5760006016544210801561181957506000546001600160a01b03168361180b578661180d565b855b6001600160a01b031614155b905080156118695760405162461bcd60e51b815260206004820152600b60248201527f756e617661696c61626c6500000000000000000000000000000000000000000060448201526064016108f6565b600080546001600160a01b0316846118815787611883565b865b6001600160a01b031614156118995760006118d2565b670de0b6b3a7640000846118b55767013fbe85edc900006118be565b66d529ae9e8600005b6118c89087612efa565b6118d29190612f19565b90506118e887876118e38489612f3b565b61236d565b6118f387308361236d565b50505050505050565b61190785858561236d565b3060009081526001602052604090205460355481106109f3576006805460ff60a81b1916600160a81b17905560075461194b9030906001600160a01b031683611502565b60005b6007811015611bd2576000670de0b6b3a7640000601f836007811061197557611975612ea1565b01546119819085612efa565b61198b9190612f19565b6006549091506001600160a01b0316600f83600781106119ad576119ad612ea1565b016001815481106119c0576119c0612ea1565b6000918252602090912001546001600160a01b03161415611a8857600780546001600160a01b0316906338ed1739908390600090600f9087908110611a0757611a07612ea1565b0161dead426040518663ffffffff1660e01b8152600401611a2c959493929190612f52565b600060405180830381600087803b158015611a4657600080fd5b505af1158015611a5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a829190810190612fc8565b50611b44565b600780546001600160a01b0316906338ed1739908390600090600f9087908110611ab457611ab4612ea1565b01603660019054906101000a90046001600160a01b0316426040518663ffffffff1660e01b8152600401611aec959493929190612f52565b600060405180830381600087803b158015611b0657600080fd5b505af1158015611b1a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b429190810190612fc8565b505b60088260078110611b5757611b57612ea1565b0160009054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ba657600080fd5b505af1158015611bba573d6000803e3d6000fd5b50505050508080611bca90612eb7565b91505061194e565b506006805460ff60a81b19169055601754156109f35760005b60078110156118f357600060188260078110611c0957611c09612ea1565b01546036546040516370a0823160e01b81526001600160a01b03610100909204821660048201529116906370a082319060240160206040518083038186803b158015611c5457600080fd5b505afa158015611c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8c919061306e565b9050600060278360078110611ca357611ca3612ea1565b0154611caf9083612f3b565b90508015611d1c578160278460078110611ccb57611ccb612ea1565b0155601754611ce9826ec097ce7bc90715b34b9f1000000000612efa565b611cf39190612f19565b602e8460078110611d0657611d06612ea1565b016000828254611d169190612e89565b90915550505b50508080611d2990612eb7565b915050611beb565b6001600160a01b0381166000908152603860205260409020805460ff16611ebb5760378054600180820183556000929092527f42a7b7dd785cd69714a189dffb3fd7d7174edc9ece837694ce50f7078f7c31ae0180546001600160a01b0319166001600160a01b038516908117909155825460ff1916909117825561dead1480611dc457506001600160a01b0382163b15155b81549015156101000261ff00199091161781556000600182018190556040805160e08101825282815260208101839052908101829052606081018290526080810182905260a0810182905260c0810191909152611e2790600283019060076129f2565b506040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152611e7190600983019060076129f2565b506040805160e081018252600180825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915261173a90601083019060076129f2565b60018101548015611fad5760005b6007811015611fab5760006ec097ce7bc90715b34b9f1000000000602e8360078110611ef757611ef7612ea1565b0154611f039085612efa565b611f0d9190612f19565b9050836002018260078110611f2457611f24612ea1565b0154811115611f98576000846002018360078110611f4457611f44612ea1565b0154611f509083612f3b565b905080856009018460078110611f6857611f68612ea1565b016000828254611f789190612e89565b90915550829050600286018460078110611f9457611f94612ea1565b0155505b5080611fa381612eb7565b915050611ec9565b505b60005b600781101561212a576000836009018260078110611fd057611fd0612ea1565b01549050836010018260078110611fe957611fe9612ea1565b0154811061211757600084600901836007811061200857612008612ea1565b0155806027836007811061201e5761201e612ea1565b01600082825461202e9190612f3b565b90915550600090506018836007811061204957612049612ea1565b01546026546001600160a01b03918216925016811461208757603654612082906001600160a01b03838116916101009004168885612563565b612115565b6036546120a7906001600160a01b03838116916101009004163085612563565b604051632e1a7d4d60e01b8152600481018390526001600160a01b03821690632e1a7d4d90602401600060405180830381600087803b1580156120e957600080fd5b505af11580156120fd573d6000803e3d6000fd5b50612115925050506001600160a01b038716836125d2565b505b508061212281612eb7565b915050611fb0565b50505050565b6001600160a01b03811660009081526038602052604081206001810154815491929091610100900460ff1661217d576001600160a01b038416600090815260016020526040902054612180565b60005b905081811461212a576001830181905560005b60078110156121fe576ec097ce7bc90715b34b9f1000000000602e82600781106121bf576121bf612ea1565b01546121cb9084612efa565b6121d59190612f19565b8460020182600781106121ea576121ea612ea1565b0155806121f681612eb7565b915050612193565b5081601760008282546122119190612f3b565b92505081905550806017600082825461222a9190612e89565b909155505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600654600160a01b900460ff161561229c57505050565b6001600160a01b038316156122b4576122b483611d31565b6001600160a01b0382161561173a576001600160a01b0382166001141561231d5760405162461bcd60e51b815260206004820152600f60248201527f696e76616c69642061646472657373000000000000000000000000000000000060448201526064016108f6565b61173a82611d31565b600654600160a01b900460ff161561233d57505050565b6001600160a01b038316156123555761235583612130565b6001600160a01b0382161561173a5761173a82612130565b6001600160a01b0383166123d15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108f6565b6001600160a01b0382166124335760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108f6565b61243e838383612285565b6001600160a01b038316600090815260016020526040902054818110156124cd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016108f6565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290612504908490612e89565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161255091815260200190565b60405180910390a361212a848484612326565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166323b872dd60e01b17905261212a9085906126eb565b804710156126225760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108f6565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461266f576040519150601f19603f3d011682016040523d82523d6000602084013e612674565b606091505b505090508061173a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108f6565b6000612740826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127d09092919063ffffffff16565b80519091501561173a578080602001905181019061275e9190613087565b61173a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016108f6565b60606127df84846000856127e7565b949350505050565b60608247101561285f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016108f6565b843b6128ad5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108f6565b600080866001600160a01b031685876040516128c991906130a4565b60006040518083038185875af1925050503d8060008114612906576040519150601f19603f3d011682016040523d82523d6000602084013e61290b565b606091505b509150915061291b828286612926565b979650505050505050565b60608315612935575081610ae2565b8251156129455782518084602001fd5b8160405162461bcd60e51b81526004016108f69190612a66565b8280548282559060005260206000209081019282156129b4579160200282015b828111156129b457825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061297f565b506129c0929150612a25565b5090565b82600781019282156129b4579160200282015b828111156129b45782518255916020019190600101906129d7565b82600781019282156129b4579160200282015b828111156129b4578251829060ff16905591602001919060010190612a05565b5b808211156129c05760008155600101612a26565b60005b83811015612a55578181015183820152602001612a3d565b8381111561212a5750506000910152565b6020815260008251806020840152612a85816040850160208701612a3a565b601f01601f19169190910160400192915050565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff81118282101715612ad257612ad2612a99565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612b0157612b01612a99565b604052919050565b6001600160a01b03811681146114a557600080fd5b600082601f830112612b2f57600080fd5b612b37612aaf565b8060e0840185811115612b4957600080fd5b845b81811015612b6c578035612b5e81612b09565b845260209384019301612b4b565b509095945050505050565b600082601f830112612b8857600080fd5b612b90612aaf565b8060e0840185811115612ba257600080fd5b845b81811015612b6c578035845260209384019301612ba4565b6000806000806000806102408789031215612bd657600080fd5b86359550612be78860208901612b1e565b9450610100870135612bf881612b09565b9350610120870135612c0981612b09565b9250612c19886101408901612b77565b9150610220870135612c2a81612b09565b809150509295509295509295565b60008060408385031215612c4b57600080fd5b8235612c5681612b09565b946020939093013593505050565b600060208284031215612c7657600080fd5b5035919050565b600080600060608486031215612c9257600080fd5b8335612c9d81612b09565b92506020840135612cad81612b09565b929592945050506040919091013590565b80151581146114a557600080fd5b600060208284031215612cde57600080fd5b8135610ae281612cbe565b6000806101c08385031215612cfd57600080fd5b612d078484612b1e565b9150612d168460e08501612b77565b90509250929050565b600060208284031215612d3157600080fd5b8135610ae281612b09565b60008060408385031215612d4f57600080fd5b8235612d5a81612b09565b91506020830135612d6a81612cbe565b809150509250929050565b60008060408385031215612d8857600080fd5b50508035926020909101359150565b60008060408385031215612daa57600080fd5b8235612db581612b09565b91506020830135612d6a81612b09565b600060e08284031215612dd757600080fd5b610ae28383612b77565b600181811c90821680612df557607f821691505b60208210811415612e1657634e487b7160e01b600052602260045260246000fd5b50919050565b60e08101818360005b6007811015612e4d5781516001600160a01b0316835260209283019290910190600101612e25565b50505092915050565b600060208284031215612e6857600080fd5b8151610ae281612b09565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e9c57612e9c612e73565b500190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612ecb57612ecb612e73565b5060010190565b60e08101818360005b6007811015612e4d578151835260209283019290910190600101612edb565b6000816000190483118215151615612f1457612f14612e73565b500290565b600082612f3657634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612f4d57612f4d612e73565b500390565b600060a082018783526020878185015260a0604085015281875480845260c0860191508860005282600020935060005b81811015612fa75784546001600160a01b031683526001948501949284019201612f82565b50506001600160a01b03969096166060850152505050608001529392505050565b60006020808385031215612fdb57600080fd5b825167ffffffffffffffff80821115612ff357600080fd5b818501915085601f83011261300757600080fd5b81518181111561301957613019612a99565b8060051b915061302a848301612ad8565b818152918301840191848101908884111561304457600080fd5b938501935b8385101561306257845182529385019390850190613049565b98975050505050505050565b60006020828403121561308057600080fd5b5051919050565b60006020828403121561309957600080fd5b8151610ae281612cbe565b600082516130b6818460208701612a3a565b919091019291505056fea26469706673582212208c276b60084ccd83252ef592fbdd5b260513cefc98a88c592850294e317a7b6764736f6c63430008090033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000012372d576179204d6972726f72204d6f6e6579000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057337574d4d000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102a45760003560e01c8063790ca4131161016e578063b91ac788116100cb578063eb3beb291161007f578063f417a3cc11610064578063f417a3cc146107af578063f887ea40146107cf578063faa0a264146107ef57600080fd5b8063eb3beb291461076a578063f2fde38b1461078f57600080fd5b8063c6c53efb116100b0578063c6c53efb146106c9578063dd62ed3e146106e9578063e10de16d1461072f57600080fd5b8063b91ac78814610689578063c194efbf146106a957600080fd5b8063996c6cc311610122578063a7310b5811610107578063a7310b58146105eb578063a9059cbb14610649578063aa348a271461066957600080fd5b8063996c6cc3146105ab578063a457c2d7146105cb57600080fd5b806386e3ff751161015357806386e3ff75146105585780638da5cb5b1461057857806395d89b411461059657600080fd5b8063790ca413146105225780637bb7bed11461053857600080fd5b806336f9825f1161021c57806354d3c142116101d057806370a08231116101b557806370a08231146104c1578063715018a6146104f7578063720692641461050c57600080fd5b806354d3c1421461048b57806368027e43146104a157600080fd5b80633d0c1b33116102015780633d0c1b331461043657806341632d33146104565780634e9ed5a41461046b57600080fd5b806336f9825f146103de578063395093511461041657600080fd5b806318160ddd1161027357806323b872dd1161025857806323b872dd146103825780632662c4c7146103a2578063313ce567146103c257600080fd5b806318160ddd146103435780631eadf4b11461036257600080fd5b8063031fb30d146102b057806306fdde03146102df5780630873ee2d14610301578063095ea7b31461032357600080fd5b366102ab57005b600080fd5b3480156102bc57600080fd5b506036546102ca9060ff1681565b60405190151581526020015b60405180910390f35b3480156102eb57600080fd5b506102f461080f565b6040516102d69190612a66565b34801561030d57600080fd5b5061032161031c366004612bbc565b6108a1565b005b34801561032f57600080fd5b506102ca61033e366004612c38565b6109fb565b34801561034f57600080fd5b506003545b6040519081526020016102d6565b34801561036e57600080fd5b5061035461037d366004612c64565b610a11565b34801561038e57600080fd5b506102ca61039d366004612c7d565b610a28565b3480156103ae57600080fd5b506103216103bd366004612c64565b610ae9565b3480156103ce57600080fd5b50604051601281526020016102d6565b3480156103ea57600080fd5b506103fe6103f9366004612c64565b610b7f565b6040516001600160a01b0390911681526020016102d6565b34801561042257600080fd5b506102ca610431366004612c38565b610ba9565b34801561044257600080fd5b50610321610451366004612ccc565b610be5565b34801561046257600080fd5b50603754610354565b34801561047757600080fd5b50610321610486366004612ce9565b610c4b565b34801561049757600080fd5b5061035460355481565b3480156104ad57600080fd5b506103216104bc366004612c64565b611001565b3480156104cd57600080fd5b506103546104dc366004612d1f565b6001600160a01b031660009081526001602052604090205490565b34801561050357600080fd5b506103216110df565b34801561051857600080fd5b5061035460175481565b34801561052e57600080fd5b5061035460165481565b34801561054457600080fd5b506103fe610553366004612c64565b611145565b34801561056457600080fd5b50610354610573366004612c64565b611165565b34801561058457600080fd5b506000546001600160a01b03166103fe565b3480156105a257600080fd5b506102f4611175565b3480156105b757600080fd5b506026546103fe906001600160a01b031681565b3480156105d757600080fd5b506102ca6105e6366004612c38565b611184565b3480156105f757600080fd5b5061062c610606366004612d1f565b6038602052600090815260409020805460019091015460ff808316926101009004169083565b6040805193151584529115156020840152908201526060016102d6565b34801561065557600080fd5b506102ca610664366004612c38565b61121d565b34801561067557600080fd5b50610321610684366004612d3c565b61122a565b34801561069557600080fd5b506103fe6106a4366004612c64565b6112fc565b3480156106b557600080fd5b506103546106c4366004612c64565b61130c565b3480156106d557600080fd5b506103fe6106e4366004612d75565b61131c565b3480156106f557600080fd5b50610354610704366004612d97565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561073b57600080fd5b5061074f61074a366004612c38565b611357565b604080519384526020840192909252908201526060016102d6565b34801561077657600080fd5b506036546103fe9061010090046001600160a01b031681565b34801561079b57600080fd5b506103216107aa366004612d1f565b6113c6565b3480156107bb57600080fd5b506103216107ca366004612dc5565b6114a8565b3480156107db57600080fd5b506007546103fe906001600160a01b031681565b3480156107fb57600080fd5b506006546103fe906001600160a01b031681565b60606004805461081e90612de1565b80601f016020809104026020016040519081016040528092919081815260200182805461084a90612de1565b80156108975780601f1061086c57610100808354040283529160200191610897565b820191906000526020600020905b81548152906001019060200180831161087a57829003601f168201915b5050505050905090565b6007546001600160a01b0316156108ff5760405162461bcd60e51b815260206004820152601360248201527f616c726561647920696e697469616c697a65640000000000000000000000000060448201526064015b60405180910390fd5b600780546001600160a01b038087166001600160a01b031992831617909255602680549286169290911691909117905560405163aae1cb1960e01b8152732582df1a0cfca281e8ba817b42bccda6e300bd1f9063aae1cb1990610966908890600401612e1c565b60206040518083038186803b15801561097e57600080fd5b505af4158015610992573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b69190612e56565b603660016101000a8154816001600160a01b0302191690836001600160a01b031602179055506109e93085600019611502565b6109f38187611626565b505050505050565b6000610a08338484611502565b50600192915050565b601f8160078110610a2157600080fd5b0154905081565b6000610a3584848461171d565b6001600160a01b038416600090815260026020908152604080832033845290915290205482811015610acf5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084016108f6565b610adc8533858403611502565b60019150505b9392505050565b6000546001600160a01b03163314610b435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b60358190556040518181527f8475c50d200e3af42f6bc18cbe68c1ea33f79dcfa922709417dc17145272dfbd906020015b60405180910390a150565b60378181548110610b8f57600080fd5b6000918252602090912001546001600160a01b0316905081565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091610a08918590610be0908690612e89565b611502565b610bee33611d31565b336000818152603860205260409020805461ff0019166101008415150217815590610c1890612130565b6040518215159033907fb1cd70b5f24f9374334ff863d259f00be85610779ef78a46cefc3a6df258f00d90600090a35050565b6000546001600160a01b03163314610ca55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b60365460ff1615610cf85760405162461bcd60e51b815260206004820152601660248201527f706169727320616c7265616479206c61756e636865640000000000000000000060448201526064016108f6565b6007546040805163c45a015560e01b815290516000926001600160a01b03169163c45a0155916004808301926020929190829003018186803b158015610d3d57600080fd5b505afa158015610d51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d759190612e56565b90506000805b6007811015610f95576000858260078110610d9857610d98612ea1565b602002015190506000858360078110610db357610db3612ea1565b60200201516040516364e329cb60e11b81526001600160a01b03848116600483015230602483015291925060009187169063c9c6539690604401602060405180830381600087803b158015610e0757600080fd5b505af1158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f9190612e56565b60408051600280825260608201835292935060009290916020830190803683370190505090503081600081518110610e7957610e79612ea1565b60200260200101906001600160a01b031690816001600160a01b0316815250508381600181518110610ead57610ead612ea1565b60200260200101906001600160a01b031690816001600160a01b0316815250508160088660078110610ee157610ee1612ea1565b0180546001600160a01b0319166001600160a01b039290921691909117905580600f8660078110610f1457610f14612ea1565b019080519060200190610f2892919061295f565b508360188660078110610f3d57610f3d612ea1565b0180546001600160a01b0319166001600160a01b039290921691909117905582601f8660078110610f7057610f70612ea1565b0155610f7c8387612e89565b9550505050508080610f8d90612eb7565b915050610d7b565b50670de0b6b3a7640000811115610fee5760405162461bcd60e51b815260206004820152601360248201527f696e76616c69642070657263656e74616765730000000000000000000000000060448201526064016108f6565b50506036805460ff191660011790555050565b6000546001600160a01b0316331461105b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b4281116110aa5760405162461bcd60e51b815260206004820152600c60248201527f696e76616c69642074696d65000000000000000000000000000000000000000060448201526064016108f6565b60168190556040518181527f8141e666fef1d3f81eadd5bb465403f51873cfcd9c37722c56b70a733d981fc290602001610b74565b6000546001600160a01b031633146111395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b6111436000612235565b565b6018816007811061115557600080fd5b01546001600160a01b0316905081565b60278160078110610a2157600080fd5b60606005805461081e90612de1565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156112065760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108f6565b6112133385858403611502565b5060019392505050565b6000610a0833848461171d565b6000546001600160a01b031633146112845760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b61128d82611d31565b6001600160a01b0382166000908152603860205260409020805461ff001916610100831515021781556112bf83612130565b604051821515906001600160a01b038516907fb1cd70b5f24f9374334ff863d259f00be85610779ef78a46cefc3a6df258f00d90600090a3505050565b6008816007811061115557600080fd5b602e8160078110610a2157600080fd5b600f826007811061132c57600080fd5b01818154811061133b57600080fd5b6000918252602090912001546001600160a01b03169150829050565b6001600160a01b03821660009081526038602052604081208190819060028101856007811061138857611388612ea1565b015481600901866007811061139f5761139f612ea1565b01548260100187600781106113b6576113b6612ea1565b0154935093509350509250925092565b6000546001600160a01b031633146114205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f6565b6001600160a01b03811661149c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108f6565b6114a581612235565b50565b3360009081526038602052604090206114c6601082018360076129c4565b507f2ed4b5b3fc9a9f16b391cbbae37c48421d6ed7e6834cd8d1247885690eb7d5b9826040516114f69190612ed2565b60405180910390a15050565b6001600160a01b0383166115645760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108f6565b6001600160a01b0382166115c55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108f6565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03821661167c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108f6565b61168860008383612285565b806003600082825461169a9190612e89565b90915550506001600160a01b038216600090815260016020526040812080548392906116c7908490612e89565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361171960008383612326565b5050565b600654600160a01b900460ff161561173f5761173a83838361236d565b505050565b600654600160a81b900460ff161561175c5761173a83838361236d565b60008060005b60078110156117d757828061179657506008816007811061178557611785612ea1565b01546001600160a01b038781169116145b925081806117c35750600881600781106117b2576117b2612ea1565b01546001600160a01b038681169116145b9150806117cf81612eb7565b915050611762565b5081806117e15750805b156118fc5760006016544210801561181957506000546001600160a01b03168361180b578661180d565b855b6001600160a01b031614155b905080156118695760405162461bcd60e51b815260206004820152600b60248201527f756e617661696c61626c6500000000000000000000000000000000000000000060448201526064016108f6565b600080546001600160a01b0316846118815787611883565b865b6001600160a01b031614156118995760006118d2565b670de0b6b3a7640000846118b55767013fbe85edc900006118be565b66d529ae9e8600005b6118c89087612efa565b6118d29190612f19565b90506118e887876118e38489612f3b565b61236d565b6118f387308361236d565b50505050505050565b61190785858561236d565b3060009081526001602052604090205460355481106109f3576006805460ff60a81b1916600160a81b17905560075461194b9030906001600160a01b031683611502565b60005b6007811015611bd2576000670de0b6b3a7640000601f836007811061197557611975612ea1565b01546119819085612efa565b61198b9190612f19565b6006549091506001600160a01b0316600f83600781106119ad576119ad612ea1565b016001815481106119c0576119c0612ea1565b6000918252602090912001546001600160a01b03161415611a8857600780546001600160a01b0316906338ed1739908390600090600f9087908110611a0757611a07612ea1565b0161dead426040518663ffffffff1660e01b8152600401611a2c959493929190612f52565b600060405180830381600087803b158015611a4657600080fd5b505af1158015611a5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a829190810190612fc8565b50611b44565b600780546001600160a01b0316906338ed1739908390600090600f9087908110611ab457611ab4612ea1565b01603660019054906101000a90046001600160a01b0316426040518663ffffffff1660e01b8152600401611aec959493929190612f52565b600060405180830381600087803b158015611b0657600080fd5b505af1158015611b1a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b429190810190612fc8565b505b60088260078110611b5757611b57612ea1565b0160009054906101000a90046001600160a01b03166001600160a01b031663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611ba657600080fd5b505af1158015611bba573d6000803e3d6000fd5b50505050508080611bca90612eb7565b91505061194e565b506006805460ff60a81b19169055601754156109f35760005b60078110156118f357600060188260078110611c0957611c09612ea1565b01546036546040516370a0823160e01b81526001600160a01b03610100909204821660048201529116906370a082319060240160206040518083038186803b158015611c5457600080fd5b505afa158015611c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8c919061306e565b9050600060278360078110611ca357611ca3612ea1565b0154611caf9083612f3b565b90508015611d1c578160278460078110611ccb57611ccb612ea1565b0155601754611ce9826ec097ce7bc90715b34b9f1000000000612efa565b611cf39190612f19565b602e8460078110611d0657611d06612ea1565b016000828254611d169190612e89565b90915550505b50508080611d2990612eb7565b915050611beb565b6001600160a01b0381166000908152603860205260409020805460ff16611ebb5760378054600180820183556000929092527f42a7b7dd785cd69714a189dffb3fd7d7174edc9ece837694ce50f7078f7c31ae0180546001600160a01b0319166001600160a01b038516908117909155825460ff1916909117825561dead1480611dc457506001600160a01b0382163b15155b81549015156101000261ff00199091161781556000600182018190556040805160e08101825282815260208101839052908101829052606081018290526080810182905260a0810182905260c0810191909152611e2790600283019060076129f2565b506040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152611e7190600983019060076129f2565b506040805160e081018252600180825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915261173a90601083019060076129f2565b60018101548015611fad5760005b6007811015611fab5760006ec097ce7bc90715b34b9f1000000000602e8360078110611ef757611ef7612ea1565b0154611f039085612efa565b611f0d9190612f19565b9050836002018260078110611f2457611f24612ea1565b0154811115611f98576000846002018360078110611f4457611f44612ea1565b0154611f509083612f3b565b905080856009018460078110611f6857611f68612ea1565b016000828254611f789190612e89565b90915550829050600286018460078110611f9457611f94612ea1565b0155505b5080611fa381612eb7565b915050611ec9565b505b60005b600781101561212a576000836009018260078110611fd057611fd0612ea1565b01549050836010018260078110611fe957611fe9612ea1565b0154811061211757600084600901836007811061200857612008612ea1565b0155806027836007811061201e5761201e612ea1565b01600082825461202e9190612f3b565b90915550600090506018836007811061204957612049612ea1565b01546026546001600160a01b03918216925016811461208757603654612082906001600160a01b03838116916101009004168885612563565b612115565b6036546120a7906001600160a01b03838116916101009004163085612563565b604051632e1a7d4d60e01b8152600481018390526001600160a01b03821690632e1a7d4d90602401600060405180830381600087803b1580156120e957600080fd5b505af11580156120fd573d6000803e3d6000fd5b50612115925050506001600160a01b038716836125d2565b505b508061212281612eb7565b915050611fb0565b50505050565b6001600160a01b03811660009081526038602052604081206001810154815491929091610100900460ff1661217d576001600160a01b038416600090815260016020526040902054612180565b60005b905081811461212a576001830181905560005b60078110156121fe576ec097ce7bc90715b34b9f1000000000602e82600781106121bf576121bf612ea1565b01546121cb9084612efa565b6121d59190612f19565b8460020182600781106121ea576121ea612ea1565b0155806121f681612eb7565b915050612193565b5081601760008282546122119190612f3b565b92505081905550806017600082825461222a9190612e89565b909155505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600654600160a01b900460ff161561229c57505050565b6001600160a01b038316156122b4576122b483611d31565b6001600160a01b0382161561173a576001600160a01b0382166001141561231d5760405162461bcd60e51b815260206004820152600f60248201527f696e76616c69642061646472657373000000000000000000000000000000000060448201526064016108f6565b61173a82611d31565b600654600160a01b900460ff161561233d57505050565b6001600160a01b038316156123555761235583612130565b6001600160a01b0382161561173a5761173a82612130565b6001600160a01b0383166123d15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108f6565b6001600160a01b0382166124335760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108f6565b61243e838383612285565b6001600160a01b038316600090815260016020526040902054818110156124cd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016108f6565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290612504908490612e89565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161255091815260200190565b60405180910390a361212a848484612326565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166323b872dd60e01b17905261212a9085906126eb565b804710156126225760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108f6565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461266f576040519150601f19603f3d011682016040523d82523d6000602084013e612674565b606091505b505090508061173a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108f6565b6000612740826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127d09092919063ffffffff16565b80519091501561173a578080602001905181019061275e9190613087565b61173a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016108f6565b60606127df84846000856127e7565b949350505050565b60608247101561285f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016108f6565b843b6128ad5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108f6565b600080866001600160a01b031685876040516128c991906130a4565b60006040518083038185875af1925050503d8060008114612906576040519150601f19603f3d011682016040523d82523d6000602084013e61290b565b606091505b509150915061291b828286612926565b979650505050505050565b60608315612935575081610ae2565b8251156129455782518084602001fd5b8160405162461bcd60e51b81526004016108f69190612a66565b8280548282559060005260206000209081019282156129b4579160200282015b828111156129b457825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061297f565b506129c0929150612a25565b5090565b82600781019282156129b4579160200282015b828111156129b45782518255916020019190600101906129d7565b82600781019282156129b4579160200282015b828111156129b4578251829060ff16905591602001919060010190612a05565b5b808211156129c05760008155600101612a26565b60005b83811015612a55578181015183820152602001612a3d565b8381111561212a5750506000910152565b6020815260008251806020840152612a85816040850160208701612a3a565b601f01601f19169190910160400192915050565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff81118282101715612ad257612ad2612a99565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612b0157612b01612a99565b604052919050565b6001600160a01b03811681146114a557600080fd5b600082601f830112612b2f57600080fd5b612b37612aaf565b8060e0840185811115612b4957600080fd5b845b81811015612b6c578035612b5e81612b09565b845260209384019301612b4b565b509095945050505050565b600082601f830112612b8857600080fd5b612b90612aaf565b8060e0840185811115612ba257600080fd5b845b81811015612b6c578035845260209384019301612ba4565b6000806000806000806102408789031215612bd657600080fd5b86359550612be78860208901612b1e565b9450610100870135612bf881612b09565b9350610120870135612c0981612b09565b9250612c19886101408901612b77565b9150610220870135612c2a81612b09565b809150509295509295509295565b60008060408385031215612c4b57600080fd5b8235612c5681612b09565b946020939093013593505050565b600060208284031215612c7657600080fd5b5035919050565b600080600060608486031215612c9257600080fd5b8335612c9d81612b09565b92506020840135612cad81612b09565b929592945050506040919091013590565b80151581146114a557600080fd5b600060208284031215612cde57600080fd5b8135610ae281612cbe565b6000806101c08385031215612cfd57600080fd5b612d078484612b1e565b9150612d168460e08501612b77565b90509250929050565b600060208284031215612d3157600080fd5b8135610ae281612b09565b60008060408385031215612d4f57600080fd5b8235612d5a81612b09565b91506020830135612d6a81612cbe565b809150509250929050565b60008060408385031215612d8857600080fd5b50508035926020909101359150565b60008060408385031215612daa57600080fd5b8235612db581612b09565b91506020830135612d6a81612b09565b600060e08284031215612dd757600080fd5b610ae28383612b77565b600181811c90821680612df557607f821691505b60208210811415612e1657634e487b7160e01b600052602260045260246000fd5b50919050565b60e08101818360005b6007811015612e4d5781516001600160a01b0316835260209283019290910190600101612e25565b50505092915050565b600060208284031215612e6857600080fd5b8151610ae281612b09565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e9c57612e9c612e73565b500190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612ecb57612ecb612e73565b5060010190565b60e08101818360005b6007811015612e4d578151835260209283019290910190600101612edb565b6000816000190483118215151615612f1457612f14612e73565b500290565b600082612f3657634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612f4d57612f4d612e73565b500390565b600060a082018783526020878185015260a0604085015281875480845260c0860191508860005282600020935060005b81811015612fa75784546001600160a01b031683526001948501949284019201612f82565b50506001600160a01b03969096166060850152505050608001529392505050565b60006020808385031215612fdb57600080fd5b825167ffffffffffffffff80821115612ff357600080fd5b818501915085601f83011261300757600080fd5b81518181111561301957613019612a99565b8060051b915061302a848301612ad8565b818152918301840191848101908884111561304457600080fd5b938501935b8385101561306257845182529385019390850190613049565b98975050505050505050565b60006020828403121561308057600080fd5b5051919050565b60006020828403121561309957600080fd5b8151610ae281612cbe565b600082516130b6818460208701612a3a565b919091019291505056fea26469706673582212208c276b60084ccd83252ef592fbdd5b260513cefc98a88c592850294e317a7b6764736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000012372d576179204d6972726f72204d6f6e6579000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057337574d4d000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): 7-Way Mirror Money
Arg [1] : _symbol (string): s7WMM
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 372d576179204d6972726f72204d6f6e65790000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 7337574d4d000000000000000000000000000000000000000000000000000000
[ 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.