Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MoonTokenV2
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-07-19 */ pragma solidity 0.5.16; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer functions must be manually * invoked. This applies both to deploying an Initializable contract, as well * as extending an Initializable contract via inheritance. * WARNING: When used with inheritance, manual care must be taken to not invoke * a parent initializer twice, or ensure that all initializers are idempotent, * because this is not dealt with automatically as with constructors. */ contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private initializing; /** * @dev Modifier to use in the initializer function of a contract. */ modifier initializer() { require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized"); bool isTopLevelCall = !initializing; if (isTopLevelCall) { initializing = true; initialized = true; } _; if (isTopLevelCall) { initializing = false; } } /// @dev Returns true if and only if the function is running in the constructor function isConstructor() private view returns (bool) { // extcodesize checks the size of the code stored in an address, and // address returns the current address. Since the code is still not // deployed when running a constructor, any checks on its code size will // yield zero, making it an effective way to detect if a contract is // under construction or not. address self = address(this); uint256 cs; assembly { cs := extcodesize(self) } return cs == 0; } // Reserved storage space to allow for layout changes in the future. uint256[50] private ______gap; } /* * @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 GSN 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. */ contract Context is Initializable { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ 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); } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @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 {ERC20Mintable}. * * 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 guidelines: functions revert instead * of 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 Initializable, Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view 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 returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public 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 returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); 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 returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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 returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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 { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(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 * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(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 { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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 { 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 Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance")); } uint256[50] private ______gap; } /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ contract ERC20Burnable is Initializable, Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public { _burn(_msgSender(), amount); } /** * @dev See {ERC20-_burnFrom}. */ function burnFrom(address account, uint256 amount) public { _burnFrom(account, amount); } uint256[50] private ______gap; } /** * @dev Optional functions from the ERC20 standard. */ contract ERC20Detailed is Initializable, IERC20 { string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of * these values are immutable: they can only be set once during * construction. */ function initialize(string memory name, string memory symbol, uint8 decimals) public initializer { _name = name; _symbol = symbol; _decimals = decimals; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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. * * 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 returns (uint8) { return _decimals; } uint256[50] private ______gap; } /** * @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. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be aplied to your functions to restrict their use to * the owner. */ contract Ownable is Initializable, Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function initialize(address sender) public initializer { _owner = sender; emit OwnershipTransferred(address(0), _owner); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _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 onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = 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 onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } uint256[50] private ______gap; } library BasisPoints { using SafeMath for uint; uint constant private BASIS_POINTS = 10000; function mulBP(uint amt, uint bp) internal pure returns (uint) { if (amt == 0) return 0; return amt.mul(bp).div(BASIS_POINTS); } function addBP(uint amt, uint bp) internal pure returns (uint) { if (amt == 0) return 0; if (bp == 0) return amt; return amt.add(mulBP(amt, bp)); } function subBP(uint amt, uint bp) internal pure returns (uint) { if (amt == 0) return 0; if (bp == 0) return amt; return amt.sub(mulBP(amt, bp)); } } /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev Give an account access to this role. */ function add(Role storage role, address account) internal { require(!has(role, account), "Roles: account already has role"); role.bearer[account] = true; } /** * @dev Remove an account's access to this role. */ function remove(Role storage role, address account) internal { require(has(role, account), "Roles: account does not have role"); role.bearer[account] = false; } /** * @dev Check if an account has this role. * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0), "Roles: account is the zero address"); return role.bearer[account]; } } contract PoolManagerRole is Initializable { using Roles for Roles.Role; event PoolManagerAdded(address indexed account); event PoolManagerRemoved(address indexed account); Roles.Role private _poolManagers; function initialize(address sender) public initializer { if (!isPoolManager(sender)) { _addPoolManager(sender); } } modifier onlyPoolManager() { require(isPoolManager(msg.sender), "PoolManagerRole: caller does not have the PoolManager role"); _; } function isPoolManager(address account) public view returns (bool) { return _poolManagers.has(account); } function addPoolManager(address account) public onlyPoolManager { _addPoolManager(account); } function renouncePoolManager() public { _removePoolManager(msg.sender); } function _addPoolManager(address account) internal { _poolManagers.add(account); emit PoolManagerAdded(account); } function _removePoolManager(address account) internal { _poolManagers.remove(account); emit PoolManagerRemoved(account); } uint256[50] private ______gap; } contract MoonStaking is Initializable, PoolManagerRole, Ownable { using BasisPoints for uint; using SafeMath for uint; uint256 constant internal DISTRIBUTION_MULTIPLIER = 2 ** 64; uint public taxBP; uint public burnBP; uint public refBP; uint public referralPayoutBP; MoonTokenV2 private moonToken; mapping(address => uint) public stakeValue; mapping(address => int) private stakerPayouts; mapping(address => address) public stakerRefferers; mapping(address => uint) public referralPayouts; uint public referralPoolReserved; uint public referralPool; uint public startTime; uint public totalDistributions; uint public totalStaked; uint public totalStakers; uint private profitPerShare; uint private emptyStakeTokens; //These are tokens given to the contract when there are no stakers. event OnDistribute(address sender, uint amountSent); event OnReferralDistribute(address sender, uint amount); event OnStake(address sender, uint amount, address refferer); event OnUnstake(address sender, uint amount, uint taxTokens, uint burnTokens, uint referralTokens); event OnReinvest(address sender, uint amount); event OnWithdraw(address sender, uint amount); event OnReferralClaim(address sender, uint amount); event OnReferralExcessClaim(address sender, uint amount); modifier onlyMoonToken { require(msg.sender == address(moonToken), "Can only be called by MoonTokenV2 contract."); _; } modifier whenStakingActive { require(now > startTime, "Staking not yet started."); _; } function initialize( uint _startTime, uint _taxBP, uint _burnBP, uint _refBP, uint _referralPayoutBP, address _owner, address[] memory _poolManagers, MoonTokenV2 _moonToken ) public initializer { Ownable.initialize(msg.sender); startTime = _startTime; moonToken = _moonToken; taxBP = _taxBP; burnBP = _burnBP; refBP = _refBP; referralPayoutBP = _referralPayoutBP; PoolManagerRole.initialize(address(this)); _removePoolManager(address(this)); for (uint256 i = 0; i < _poolManagers.length; ++i) { _addPoolManager(_poolManagers[i]); } //Due to issue in oz testing suite, the msg.sender might not be owner _transferOwnership(_owner); } function stake(uint amount) public whenStakingActive { if (stakerRefferers[msg.sender] != address(0x0)) { stakeWithReferrer(amount, stakerRefferers[msg.sender]); } else { stakeWithReferrer(amount, address(0x0)); } } function stakeWithReferrer(uint amount, address referrer) public whenStakingActive { require(amount >= 10000e18, "Must stake at least 10000 MOON."); require(moonToken.balanceOf(msg.sender) >= amount, "Cannot stake more MOON than you hold unstaked."); if (stakerRefferers[msg.sender] != address(0x0)) { referrer = stakerRefferers[msg.sender]; //User cannot change their referrer. } if (referrer != address(0x0)) { //NOTE: The referral pool gets refreshed from all tx. //So at certain points, may be low/empty. //In which case rewards will need to wait to be pulled. uint referralAmount = amount.mulBP(refBP); referralPayouts[referrer] = referralPayouts[referrer].add(referralAmount); referralPoolReserved = referralPoolReserved.add(referralAmount); } if (stakeValue[msg.sender] == 0) totalStakers = totalStakers.add(1); _addStake(amount); require(moonToken.transferFrom(msg.sender, address(this), amount), "Stake failed due to failed transfer."); emit OnStake(msg.sender, amount, referrer); } function unstake(uint amount) public whenStakingActive { require(amount >= 1e18, "Must unstake at least one MOON."); require(stakeValue[msg.sender] >= amount, "Cannot unstake more MOON than you have staked."); (uint taxTokens, uint burnTokens, uint referralTokens) = taxAmount(amount); uint earnings = amount.sub(taxTokens).sub(burnTokens).sub(referralTokens); if (stakeValue[msg.sender] == amount) totalStakers = totalStakers.sub(1); totalStaked = totalStaked.sub(amount); stakeValue[msg.sender] = stakeValue[msg.sender].sub(amount); uint payout = profitPerShare.mul(amount).add(taxTokens.mul(DISTRIBUTION_MULTIPLIER)); stakerPayouts[msg.sender] = stakerPayouts[msg.sender] - uintToInt(payout); _increaseProfitPerShare(taxTokens); moonToken.burn(burnTokens); referralPool.add(referralTokens); emit OnReferralDistribute(msg.sender, amount); require(moonToken.transferFrom(address(this), msg.sender, earnings), "Unstake failed due to failed transfer."); emit OnUnstake(msg.sender, amount, taxTokens, burnTokens, referralTokens); } function withdraw(uint amount) public whenStakingActive { require(dividendsOf(msg.sender) >= amount, "Cannot withdraw more dividends than you have earned."); stakerPayouts[msg.sender] = stakerPayouts[msg.sender] + uintToInt(amount.mul(DISTRIBUTION_MULTIPLIER)); moonToken.transfer(msg.sender, amount); emit OnWithdraw(msg.sender, amount); } function reinvest(uint amount) public whenStakingActive { require(dividendsOf(msg.sender) >= amount, "Cannot reinvest more dividends than you have earned."); uint payout = amount.mul(DISTRIBUTION_MULTIPLIER); stakerPayouts[msg.sender] = stakerPayouts[msg.sender] + uintToInt(payout); _addStake(amount); emit OnReinvest(msg.sender, amount); } function distribute(uint amount) public { require(moonToken.balanceOf(msg.sender) >= amount, "Cannot distribute more MOON than you hold unstaked."); totalDistributions = totalDistributions.add(amount); _increaseProfitPerShare(amount); require( moonToken.transferFrom(msg.sender, address(this), amount), "Distribution failed due to failed transfer." ); emit OnDistribute(msg.sender, amount); } function claimReferralRewards() public { uint amount = referralPayouts[msg.sender]; require(amount != 0, "Must have referral rewards to claim."); require(amount < referralPool, "Not enough tokens in pool. Wait for a refresh."); referralPoolReserved = referralPoolReserved.sub(amount); referralPool = referralPool.sub(amount); referralPayouts[msg.sender] = 0; moonToken.transfer(msg.sender, amount); emit OnReferralClaim(msg.sender, amount); } function claimExcessFromReferralPool(uint amount) public onlyPoolManager { require(amount <= referralPool.sub(referralPoolReserved), "Amount is greater than excess."); referralPool = referralPool.sub(amount); moonToken.transfer(msg.sender, amount); emit OnReferralExcessClaim(msg.sender, amount); } function handleTaxDistribution(uint amount) public onlyMoonToken { totalDistributions = totalDistributions.add(amount); _increaseProfitPerShare(amount); emit OnDistribute(msg.sender, amount); } function handleReferralDistribution(uint amount) public onlyMoonToken { referralPool = referralPool.add(amount); emit OnReferralDistribute(msg.sender, amount); } function increaseReferralPool(uint amount) public onlyOwner { referralPool = referralPool.add(amount); } function setStartTime(uint val) public onlyOwner { startTime = val; } function dividendsOf(address staker) public view returns (uint) { return uint(uintToInt(profitPerShare.mul(stakeValue[staker])) - stakerPayouts[staker]) .div(DISTRIBUTION_MULTIPLIER); } function taxAmount(uint value) public view returns (uint tax, uint burn, uint referral) { tax = value.mulBP(taxBP); burn = value.mulBP(burnBP); referral = value.mulBP(refBP); return (tax, burn, referral); } function uintToInt(uint val) internal pure returns (int) { if (val >= uint(-1).div(2)) { require(false, "Overflow. Cannot convert uint to int."); } else { return int(val); } } function _addStake(uint amount) internal { totalStaked = totalStaked.add(amount); stakeValue[msg.sender] = stakeValue[msg.sender].add(amount); uint payout = profitPerShare.mul(amount); stakerPayouts[msg.sender] = stakerPayouts[msg.sender] + uintToInt(payout); } function _increaseProfitPerShare(uint amount) internal { if (totalStaked != 0) { if (emptyStakeTokens != 0) { amount = amount.add(emptyStakeTokens); emptyStakeTokens = 0; } profitPerShare = profitPerShare.add(amount.mul(DISTRIBUTION_MULTIPLIER).div(totalStaked)); } else { emptyStakeTokens = emptyStakeTokens.add(amount); } } } contract MoonTokenV2 is Initializable, Ownable, ERC20Burnable, ERC20Detailed { using BasisPoints for uint; using SafeMath for uint; uint public taxBP; uint public burnBP; uint public refBP; uint public bonusBP; MoonStaking private moonStaking; bool public isAirdropComplete; mapping(address => bool) private trustedContracts; mapping(address => bool) private bonusWhitelist; mapping(address => bool) public taxExempt; mapping(address => bool) public fromOnlyTaxExempt; function initialize( string memory name, string memory symbol, uint8 decimals, uint _taxBP, uint _burnBP, uint _refBP, uint _bonusBP, address _owner, MoonStaking _moonStaking ) public initializer { Ownable.initialize(msg.sender); taxBP = _taxBP; burnBP = _burnBP; refBP = _refBP; bonusBP = _bonusBP; moonStaking = _moonStaking; taxExempt[address(moonStaking)] = true; trustedContracts[address(moonStaking)] = true; ERC20Detailed.initialize(name, symbol, decimals); //Due to issue in oz testing suite, the msg.sender might not be owner _transferOwnership(_owner); } function setTaxExemptStatus(address account, bool status) public onlyOwner { taxExempt[account] = status; } function setFromOnlyTaxExemptStatus(address account, bool status) public onlyOwner { fromOnlyTaxExempt[account] = status; } function taxAmount(uint value) public view returns (uint tax, uint burn, uint referral) { tax = value.mulBP(taxBP); burn = value.mulBP(burnBP); referral = value.mulBP(refBP); return (tax, burn, referral); } function transfer(address recipient, uint amount) public returns (bool) { (!taxExempt[msg.sender] && !taxExempt[recipient] && !fromOnlyTaxExempt[msg.sender]) ? _transferWithTax(msg.sender, recipient, amount) : _transfer(msg.sender, recipient, amount); return true; } function transferFrom(address sender, address recipient, uint amount) public returns (bool) { (!taxExempt[sender] && !taxExempt[recipient] && !fromOnlyTaxExempt[sender]) ? _transferWithTax(sender, recipient, amount) : _transfer(sender, recipient, amount); if (trustedContracts[msg.sender]) return true; approve ( msg.sender, allowance( sender, msg.sender ).sub(amount, "Transfer amount exceeds allowance") ); return true; } function setBonusWhitelist(address receiver, bool val) public onlyOwner { bonusWhitelist[receiver] = val; } function grantBonusWhitelistMulti(address[] memory receivers) public onlyOwner { for (uint i=0; i < receivers.length; i++) { bonusWhitelist[receivers[i]] = true; } } function airdrop(address[] memory receivers, uint[] memory amounts) public onlyOwner { require(receivers.length == amounts.length, "Must have same number of addresses as amounts."); require(!isAirdropComplete, "Airdrop has ended."); for (uint i=0; i < receivers.length; i++) { _airdrop(receivers[i], amounts[i]); } require(totalSupply() <= 250000000 ether, "Cannot issue more than cap."); } function setAirdropComplete() public onlyOwner { isAirdropComplete = true; } function returnIncorrectlyDepositedTokens(IERC20 token, uint amount, address to) public onlyOwner { require(token.balanceOf(address(this)) >= amount, "Not enough tokens"); token.transfer(to, amount); } function _airdrop(address receiver, uint amount) internal { require(balanceOf(receiver) == 0, "Receiver must not have been airdropped tokens."); if (bonusWhitelist[receiver]) { _mint(receiver, amount.addBP(bonusBP)); } else { _mint(receiver, amount); } } function _transferWithTax(address sender, address recipient, uint amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); (uint taxTokens, uint burnTokens, uint referralTokens) = taxAmount(amount); uint tokensToTransfer = amount.sub(taxTokens).sub(burnTokens).sub(referralTokens); _transfer(sender, address(moonStaking), taxTokens.add(referralTokens)); _burn(sender, burnTokens); _transfer(sender, recipient, tokensToTransfer); moonStaking.handleTaxDistribution(taxTokens); moonStaking.handleReferralDistribution(referralTokens); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"},{"constant":false,"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bonusBP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"burnBP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"fromOnlyTaxExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"grantBonusWhitelistMulti","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"_taxBP","type":"uint256"},{"internalType":"uint256","name":"_burnBP","type":"uint256"},{"internalType":"uint256","name":"_refBP","type":"uint256"},{"internalType":"uint256","name":"_bonusBP","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"contract MoonStaking","name":"_moonStaking","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isAirdropComplete","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"refBP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"returnIncorrectlyDepositedTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"setAirdropComplete","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"bool","name":"val","type":"bool"}],"name":"setBonusWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setFromOnlyTaxExemptStatus","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setTaxExemptStatus","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"taxAmount","outputs":[{"internalType":"uint256","name":"tax","type":"uint256"},{"internalType":"uint256","name":"burn","type":"uint256"},{"internalType":"uint256","name":"referral","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"taxBP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526127a4806100136000396000f3fe608060405234801561001057600080fd5b506004361061022d576000357c01000000000000000000000000000000000000000000000000000000009004806383f5596711610142578063ae40de10116100ca578063c4d66de811610099578063c4d66de8146109ff578063d19a550914610a25578063d1ecfc6814610a60578063dd62ed3e14610a86578063f2fde38b14610ab45761022d565b8063ae40de101461099b578063b51383d5146109a3578063c125c861146109c9578063c32a69e3146109f75761022d565b806395d89b411161011157806395d89b41146108fd578063983a57a1146109055780639df66eb71461093b578063a457c2d714610943578063a9059cbb1461096f5761022d565b806383f55967146108005780638da5cb5b1461082e5780638dcc773e146108525780638f32d59b146108f55761022d565b806342966c68116101c557806365c6934b1161019457806365c6934b14610520578063672434821461067f57806370a08231146107a6578063715018a6146107cc57806379cc6790146107d45761022d565b806342966c68146104c55780634cc0bddb146104e25780634cccf2b71461051057806351868895146105185761022d565b806318160ddd1161020157806318160ddd1461043d57806323b872dd14610445578063313ce5671461047b57806339509351146104995761022d565b8062314be01461023257806306fdde031461024c578063095ea7b3146102c95780631624f6c614610309575b600080fd5b61023a610ada565b60408051918252519081900360200190f35b610254610ae1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028e578181015183820152602001610276565b50505050905090810190601f1680156102bb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102f5600480360360408110156102df57600080fd5b50600160a060020a038135169060200135610b78565b604080519115158252519081900360200190f35b61043b6004803603606081101561031f57600080fd5b81019060208101813564010000000081111561033a57600080fd5b82018360208201111561034c57600080fd5b8035906020019184600183028401116401000000008311171561036e57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156103c157600080fd5b8201836020820111156103d357600080fd5b803590602001918460018302840111640100000000831117156103f557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff169150610b969050565b005b61023a610c75565b6102f56004803603606081101561045b57600080fd5b50600160a060020a03813581169160208101359091169060400135610c7b565b610483610d6f565b6040805160ff9092168252519081900360200190f35b6102f5600480360360408110156104af57600080fd5b50600160a060020a038135169060200135610d78565b61043b600480360360208110156104db57600080fd5b5035610dd1565b61043b600480360360408110156104f857600080fd5b50600160a060020a0381351690602001351515610de5565b6102f5610e5b565b61023a610e7d565b61043b600480360361012081101561053757600080fd5b81019060208101813564010000000081111561055257600080fd5b82018360208201111561056457600080fd5b8035906020019184600183028401116401000000008311171561058657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156105d957600080fd5b8201836020820111156105eb57600080fd5b8035906020019184600183028401116401000000008311171561060d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505060ff83351693505050602081013590604081013590606081013590608081013590600160a060020a0360a082013581169160c0013516610e84565b61043b6004803603604081101561069557600080fd5b8101906020810181356401000000008111156106b057600080fd5b8201836020820111156106c257600080fd5b803590602001918460208302840111640100000000831117156106e457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561073457600080fd5b82018360208201111561074657600080fd5b8035906020019184602083028401116401000000008311171561076857600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610fd0945050505050565b61023a600480360360208110156107bc57600080fd5b5035600160a060020a0316611184565b61043b61119f565b61043b600480360360408110156107ea57600080fd5b50600160a060020a038135169060200135611240565b61043b6004803603604081101561081657600080fd5b50600160a060020a038135169060200135151561124a565b6108366112c0565b60408051600160a060020a039092168252519081900360200190f35b61043b6004803603602081101561086857600080fd5b81019060208101813564010000000081111561088357600080fd5b82018360208201111561089557600080fd5b803590602001918460208302840111640100000000831117156108b757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506112cf945050505050565b6102f5611372565b610254611398565b61043b6004803603606081101561091b57600080fd5b50600160a060020a038135811691602081013591604090910135166113f9565b61023a6115d4565b6102f56004803603604081101561095957600080fd5b50600160a060020a0381351690602001356115db565b6102f56004803603604081101561098557600080fd5b50600160a060020a038135169060200135611649565b61043b6116c0565b6102f5600480360360208110156109b957600080fd5b5035600160a060020a0316611742565b61043b600480360360408110156109df57600080fd5b50600160a060020a0381351690602001351515611758565b61023a6117ce565b61043b60048036036020811015610a1557600080fd5b5035600160a060020a03166117d5565b610a4260048036036020811015610a3b57600080fd5b50356118d6565b60408051938452602084019290925282820152519081900360600190f35b6102f560048036036020811015610a7657600080fd5b5035600160a060020a0316611929565b61023a60048036036040811015610a9c57600080fd5b50600160a060020a038135811691602001351661193f565b61043b60048036036020811015610aca57600080fd5b5035600160a060020a031661196a565b6101045481565b60cd8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b6d5780601f10610b4257610100808354040283529160200191610b6d565b820191906000526020600020905b815481529060010190602001808311610b5057829003601f168201915b505050505090505b90565b6000610b8c610b856119bd565b84846119c1565b5060015b92915050565b600054610100900460ff1680610baf5750610baf611ab3565b80610bbd575060005460ff16155b610bfb5760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612633602e913960400191505060405180910390fd5b600054610100900460ff16158015610c26576000805460ff1961ff0019909116610100171660011790555b8351610c399060cd906020870190612485565b508251610c4d9060ce906020860190612485565b5060cf805460ff191660ff84161790558015610c6f576000805461ff00191690555b50505050565b60685490565b600160a060020a0383166000908152610109602052604081205460ff16158015610cbf5750600160a060020a0383166000908152610109602052604090205460ff16155b8015610ce55750600160a060020a038416600090815261010a602052604090205460ff16155b610cf957610cf4848484611ab9565b610d04565b610d04848484611c1d565b336000908152610107602052604090205460ff1615610d2557506001610d68565b610d6233610d5d846040518060600160405280602181526020016125ab60219139610d50893361193f565b919063ffffffff611e2d16565b610b78565b50600190505b9392505050565b60cf5460ff1690565b6000610b8c610d856119bd565b84610dcc8560676000610d966119bd565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611ec716565b6119c1565b610de2610ddc6119bd565b82611f24565b50565b610ded611372565b610e2f576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010a60205260409020805460ff1916911515919091179055565b6101065474010000000000000000000000000000000000000000900460ff1681565b6101035481565b600054610100900460ff1680610e9d5750610e9d611ab3565b80610eab575060005460ff16155b610ee95760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612633602e913960400191505060405180910390fd5b600054610100900460ff16158015610f14576000805460ff1961ff0019909116610100171660011790555b610f1d336117d5565b610102879055610103869055610104859055610105849055610106805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03848116919091178083558116600090815261010960209081526040808320805460ff1990811660019081179092559554909416835261010790915290208054909216179055610fa98a8a8a610b96565b610fb283612023565b8015610fc4576000805461ff00191690555b50505050505050505050565b610fd8611372565b61101a576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b805182511461105d5760405160e560020a62461bcd02815260040180806020018281038252602e81526020018061271d602e913960400191505060405180910390fd5b6101065474010000000000000000000000000000000000000000900460ff16156110d1576040805160e560020a62461bcd02815260206004820152601260248201527f41697264726f702068617320656e6465642e0000000000000000000000000000604482015290519081900360640190fd5b60005b82518110156111155761110d8382815181106110ec57fe5b602002602001015183838151811061110057fe5b60200260200101516120d4565b6001016110d4565b506acecb8f27f4200f3a00000061112a610c75565b1115611180576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e6e6f74206973737565206d6f7265207468616e206361702e0000000000604482015290519081900360640190fd5b5050565b600160a060020a031660009081526066602052604090205490565b6111a7611372565b6111e9576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b603354604051600091600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36033805473ffffffffffffffffffffffffffffffffffffffff19169055565b611180828261216c565b611252611372565b611294576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010860205260409020805460ff1916911515919091179055565b603354600160a060020a031690565b6112d7611372565b611319576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b60005b8151811015611180576001610108600084848151811061133857fe5b602090810291909101810151600160a060020a03168252810191909152604001600020805460ff191691151591909117905560010161131c565b603354600090600160a060020a03166113896119bd565b600160a060020a031614905090565b60ce8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b6d5780601f10610b4257610100808354040283529160200191610b6d565b611401611372565b611443576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518391600160a060020a038616916370a0823191602480820192602092909190829003018186803b1580156114a557600080fd5b505afa1580156114b9573d6000803e3d6000fd5b505050506040513d60208110156114cf57600080fd5b50511015611527576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f7420656e6f75676820746f6b656e73000000000000000000000000000000604482015290519081900360640190fd5b82600160a060020a031663a9059cbb82846040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b1580156115a357600080fd5b505af11580156115b7573d6000803e3d6000fd5b505050506040513d60208110156115cd57600080fd5b5050505050565b6101025481565b6000610b8c6115e86119bd565b84610dcc8560405180606001604052806025815260200161274b60259139606760006116126119bd565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611e2d16565b336000908152610109602052604081205460ff161580156116845750600160a060020a0383166000908152610109602052604090205460ff16155b80156116a1575033600090815261010a602052604090205460ff16155b6116b5576116b0338484611ab9565b610b8c565b610b8c338484611c1d565b6116c8611372565b61170a576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b610106805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b61010a6020526000908152604090205460ff1681565b611760611372565b6117a2576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010960205260409020805460ff1916911515919091179055565b6101055481565b600054610100900460ff16806117ee57506117ee611ab3565b806117fc575060005460ff16155b61183a5760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612633602e913960400191505060405180910390fd5b600054610100900460ff16158015611865576000805460ff1961ff0019909116610100171660011790555b6033805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384811691909117918290556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38015611180576000805461ff00191690555050565b60008060006118f161010254856121e790919063ffffffff16565b925061190961010354856121e790919063ffffffff16565b915061192161010454856121e790919063ffffffff16565b929491935050565b6101096020526000908152604090205460ff1681565b600160a060020a03918216600090815260676020908152604080832093909416825291909152205490565b611972611372565b6119b4576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b610de281612023565b3390565b600160a060020a038316611a095760405160e560020a62461bcd0281526004018080602001828103825260248152602001806126cb6024913960400191505060405180910390fd5b600160a060020a038216611a515760405160e560020a62461bcd0281526004018080602001828103825260228152602001806125896022913960400191505060405180910390fd5b600160a060020a03808416600081815260676020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b303b1590565b600160a060020a038316611b015760405160e560020a62461bcd0281526004018080602001828103825260258152602001806126a66025913960400191505060405180910390fd5b600160a060020a038216611b495760405160e560020a62461bcd02815260040180806020018281038252602381526020018061251e6023913960400191505060405180910390fd5b611b8c816040518060600160405280602681526020016125cc60269139600160a060020a038616600090815260666020526040902054919063ffffffff611e2d16565b600160a060020a038085166000908152606660205260408082209390935590841681522054611bc1908263ffffffff611ec716565b600160a060020a0380841660008181526066602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600160a060020a038316611c655760405160e560020a62461bcd0281526004018080602001828103825260258152602001806126a66025913960400191505060405180910390fd5b600160a060020a038216611cad5760405160e560020a62461bcd02815260040180806020018281038252602381526020018061251e6023913960400191505060405180910390fd5b6000806000611cbb846118d6565b919450925090506000611ce682611cda8581898963ffffffff61221816565b9063ffffffff61221816565b61010654909150611d11908890600160a060020a0316611d0c878663ffffffff611ec716565b611ab9565b611d1b8784611f24565b611d26878783611ab9565b61010654604080517f8cb3c661000000000000000000000000000000000000000000000000000000008152600481018790529051600160a060020a0390921691638cb3c6619160248082019260009290919082900301818387803b158015611d8d57600080fd5b505af1158015611da1573d6000803e3d6000fd5b505061010654604080517fa80a96f0000000000000000000000000000000000000000000000000000000008152600481018790529051600160a060020a03909216935063a80a96f0925060248082019260009290919082900301818387803b158015611e0c57600080fd5b505af1158015611e20573d6000803e3d6000fd5b5050505050505050505050565b60008184841115611ebf5760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e84578181015183820152602001611e6c565b50505050905090810190601f168015611eb15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610d68576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600160a060020a038216611f6c5760405160e560020a62461bcd0281526004018080602001828103825260218152602001806126856021913960400191505060405180910390fd5b611faf8160405180606001604052806022815260200161254160229139600160a060020a038516600090815260666020526040902054919063ffffffff611e2d16565b600160a060020a038316600090815260666020526040902055606854611fdb908263ffffffff61221816565b606855604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a03811661206b5760405160e560020a62461bcd0281526004018080602001828103825260268152602001806125636026913960400191505060405180910390fd5b603354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36033805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6120dd82611184565b1561211c5760405160e560020a62461bcd02815260040180806020018281038252602e8152602001806126ef602e913960400191505060405180910390fd5b600160a060020a0382166000908152610108602052604090205460ff16156121625761215d82612158610105548461225a90919063ffffffff16565b61228f565b611180565b611180828261228f565b6121768282611f24565b611180826121826119bd565b610dcc8460405180606001604052806024815260200161266160249139600160a060020a0388166000908152606760205260408120906121c06119bd565b600160a060020a03168152602081019190915260400160002054919063ffffffff611e2d16565b6000826121f657506000610b90565b610d6861271061220c858563ffffffff61238416565b9063ffffffff6123e016565b6000610d6883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e2d565b60008261226957506000610b90565b81612275575081610b90565b610d6861228284846121e7565b849063ffffffff611ec716565b600160a060020a0382166122ed576040805160e560020a62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b606854612300908263ffffffff611ec716565b606855600160a060020a03821660009081526066602052604090205461232c908263ffffffff611ec716565b600160a060020a03831660008181526066602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008261239357506000610b90565b828202828482816123a057fe5b0414610d685760405160e560020a62461bcd0281526004018080602001828103825260218152602001806125f26021913960400191505060405180910390fd5b6000610d6883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506000818361246f5760405160e560020a62461bcd028152602060048201818152835160248401528351909283926044909101919085019080838360008315611e84578181015183820152602001611e6c565b50600083858161247b57fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106124c657805160ff19168380011785556124f3565b828001600101855582156124f3579182015b828111156124f35782518255916020019190600101906124d8565b506124ff929150612503565b5090565b610b7591905b808211156124ff576000815560010161250956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735265636569766572206d757374206e6f742068617665206265656e2061697264726f7070656420746f6b656e732e4d75737420686176652073616d65206e756d626572206f662061646472657373657320617320616d6f756e74732e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820cd0b8500fb5614812af46fa34112126938019018bb319204d98e850d13e6ce9364736f6c63430005100032
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061022d576000357c01000000000000000000000000000000000000000000000000000000009004806383f5596711610142578063ae40de10116100ca578063c4d66de811610099578063c4d66de8146109ff578063d19a550914610a25578063d1ecfc6814610a60578063dd62ed3e14610a86578063f2fde38b14610ab45761022d565b8063ae40de101461099b578063b51383d5146109a3578063c125c861146109c9578063c32a69e3146109f75761022d565b806395d89b411161011157806395d89b41146108fd578063983a57a1146109055780639df66eb71461093b578063a457c2d714610943578063a9059cbb1461096f5761022d565b806383f55967146108005780638da5cb5b1461082e5780638dcc773e146108525780638f32d59b146108f55761022d565b806342966c68116101c557806365c6934b1161019457806365c6934b14610520578063672434821461067f57806370a08231146107a6578063715018a6146107cc57806379cc6790146107d45761022d565b806342966c68146104c55780634cc0bddb146104e25780634cccf2b71461051057806351868895146105185761022d565b806318160ddd1161020157806318160ddd1461043d57806323b872dd14610445578063313ce5671461047b57806339509351146104995761022d565b8062314be01461023257806306fdde031461024c578063095ea7b3146102c95780631624f6c614610309575b600080fd5b61023a610ada565b60408051918252519081900360200190f35b610254610ae1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028e578181015183820152602001610276565b50505050905090810190601f1680156102bb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102f5600480360360408110156102df57600080fd5b50600160a060020a038135169060200135610b78565b604080519115158252519081900360200190f35b61043b6004803603606081101561031f57600080fd5b81019060208101813564010000000081111561033a57600080fd5b82018360208201111561034c57600080fd5b8035906020019184600183028401116401000000008311171561036e57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156103c157600080fd5b8201836020820111156103d357600080fd5b803590602001918460018302840111640100000000831117156103f557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff169150610b969050565b005b61023a610c75565b6102f56004803603606081101561045b57600080fd5b50600160a060020a03813581169160208101359091169060400135610c7b565b610483610d6f565b6040805160ff9092168252519081900360200190f35b6102f5600480360360408110156104af57600080fd5b50600160a060020a038135169060200135610d78565b61043b600480360360208110156104db57600080fd5b5035610dd1565b61043b600480360360408110156104f857600080fd5b50600160a060020a0381351690602001351515610de5565b6102f5610e5b565b61023a610e7d565b61043b600480360361012081101561053757600080fd5b81019060208101813564010000000081111561055257600080fd5b82018360208201111561056457600080fd5b8035906020019184600183028401116401000000008311171561058657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156105d957600080fd5b8201836020820111156105eb57600080fd5b8035906020019184600183028401116401000000008311171561060d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505060ff83351693505050602081013590604081013590606081013590608081013590600160a060020a0360a082013581169160c0013516610e84565b61043b6004803603604081101561069557600080fd5b8101906020810181356401000000008111156106b057600080fd5b8201836020820111156106c257600080fd5b803590602001918460208302840111640100000000831117156106e457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561073457600080fd5b82018360208201111561074657600080fd5b8035906020019184602083028401116401000000008311171561076857600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610fd0945050505050565b61023a600480360360208110156107bc57600080fd5b5035600160a060020a0316611184565b61043b61119f565b61043b600480360360408110156107ea57600080fd5b50600160a060020a038135169060200135611240565b61043b6004803603604081101561081657600080fd5b50600160a060020a038135169060200135151561124a565b6108366112c0565b60408051600160a060020a039092168252519081900360200190f35b61043b6004803603602081101561086857600080fd5b81019060208101813564010000000081111561088357600080fd5b82018360208201111561089557600080fd5b803590602001918460208302840111640100000000831117156108b757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506112cf945050505050565b6102f5611372565b610254611398565b61043b6004803603606081101561091b57600080fd5b50600160a060020a038135811691602081013591604090910135166113f9565b61023a6115d4565b6102f56004803603604081101561095957600080fd5b50600160a060020a0381351690602001356115db565b6102f56004803603604081101561098557600080fd5b50600160a060020a038135169060200135611649565b61043b6116c0565b6102f5600480360360208110156109b957600080fd5b5035600160a060020a0316611742565b61043b600480360360408110156109df57600080fd5b50600160a060020a0381351690602001351515611758565b61023a6117ce565b61043b60048036036020811015610a1557600080fd5b5035600160a060020a03166117d5565b610a4260048036036020811015610a3b57600080fd5b50356118d6565b60408051938452602084019290925282820152519081900360600190f35b6102f560048036036020811015610a7657600080fd5b5035600160a060020a0316611929565b61023a60048036036040811015610a9c57600080fd5b50600160a060020a038135811691602001351661193f565b61043b60048036036020811015610aca57600080fd5b5035600160a060020a031661196a565b6101045481565b60cd8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b6d5780601f10610b4257610100808354040283529160200191610b6d565b820191906000526020600020905b815481529060010190602001808311610b5057829003601f168201915b505050505090505b90565b6000610b8c610b856119bd565b84846119c1565b5060015b92915050565b600054610100900460ff1680610baf5750610baf611ab3565b80610bbd575060005460ff16155b610bfb5760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612633602e913960400191505060405180910390fd5b600054610100900460ff16158015610c26576000805460ff1961ff0019909116610100171660011790555b8351610c399060cd906020870190612485565b508251610c4d9060ce906020860190612485565b5060cf805460ff191660ff84161790558015610c6f576000805461ff00191690555b50505050565b60685490565b600160a060020a0383166000908152610109602052604081205460ff16158015610cbf5750600160a060020a0383166000908152610109602052604090205460ff16155b8015610ce55750600160a060020a038416600090815261010a602052604090205460ff16155b610cf957610cf4848484611ab9565b610d04565b610d04848484611c1d565b336000908152610107602052604090205460ff1615610d2557506001610d68565b610d6233610d5d846040518060600160405280602181526020016125ab60219139610d50893361193f565b919063ffffffff611e2d16565b610b78565b50600190505b9392505050565b60cf5460ff1690565b6000610b8c610d856119bd565b84610dcc8560676000610d966119bd565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611ec716565b6119c1565b610de2610ddc6119bd565b82611f24565b50565b610ded611372565b610e2f576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010a60205260409020805460ff1916911515919091179055565b6101065474010000000000000000000000000000000000000000900460ff1681565b6101035481565b600054610100900460ff1680610e9d5750610e9d611ab3565b80610eab575060005460ff16155b610ee95760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612633602e913960400191505060405180910390fd5b600054610100900460ff16158015610f14576000805460ff1961ff0019909116610100171660011790555b610f1d336117d5565b610102879055610103869055610104859055610105849055610106805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03848116919091178083558116600090815261010960209081526040808320805460ff1990811660019081179092559554909416835261010790915290208054909216179055610fa98a8a8a610b96565b610fb283612023565b8015610fc4576000805461ff00191690555b50505050505050505050565b610fd8611372565b61101a576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b805182511461105d5760405160e560020a62461bcd02815260040180806020018281038252602e81526020018061271d602e913960400191505060405180910390fd5b6101065474010000000000000000000000000000000000000000900460ff16156110d1576040805160e560020a62461bcd02815260206004820152601260248201527f41697264726f702068617320656e6465642e0000000000000000000000000000604482015290519081900360640190fd5b60005b82518110156111155761110d8382815181106110ec57fe5b602002602001015183838151811061110057fe5b60200260200101516120d4565b6001016110d4565b506acecb8f27f4200f3a00000061112a610c75565b1115611180576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e6e6f74206973737565206d6f7265207468616e206361702e0000000000604482015290519081900360640190fd5b5050565b600160a060020a031660009081526066602052604090205490565b6111a7611372565b6111e9576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b603354604051600091600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36033805473ffffffffffffffffffffffffffffffffffffffff19169055565b611180828261216c565b611252611372565b611294576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010860205260409020805460ff1916911515919091179055565b603354600160a060020a031690565b6112d7611372565b611319576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b60005b8151811015611180576001610108600084848151811061133857fe5b602090810291909101810151600160a060020a03168252810191909152604001600020805460ff191691151591909117905560010161131c565b603354600090600160a060020a03166113896119bd565b600160a060020a031614905090565b60ce8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b6d5780601f10610b4257610100808354040283529160200191610b6d565b611401611372565b611443576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518391600160a060020a038616916370a0823191602480820192602092909190829003018186803b1580156114a557600080fd5b505afa1580156114b9573d6000803e3d6000fd5b505050506040513d60208110156114cf57600080fd5b50511015611527576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f7420656e6f75676820746f6b656e73000000000000000000000000000000604482015290519081900360640190fd5b82600160a060020a031663a9059cbb82846040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b1580156115a357600080fd5b505af11580156115b7573d6000803e3d6000fd5b505050506040513d60208110156115cd57600080fd5b5050505050565b6101025481565b6000610b8c6115e86119bd565b84610dcc8560405180606001604052806025815260200161274b60259139606760006116126119bd565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611e2d16565b336000908152610109602052604081205460ff161580156116845750600160a060020a0383166000908152610109602052604090205460ff16155b80156116a1575033600090815261010a602052604090205460ff16155b6116b5576116b0338484611ab9565b610b8c565b610b8c338484611c1d565b6116c8611372565b61170a576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b610106805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b61010a6020526000908152604090205460ff1681565b611760611372565b6117a2576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010960205260409020805460ff1916911515919091179055565b6101055481565b600054610100900460ff16806117ee57506117ee611ab3565b806117fc575060005460ff16155b61183a5760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612633602e913960400191505060405180910390fd5b600054610100900460ff16158015611865576000805460ff1961ff0019909116610100171660011790555b6033805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384811691909117918290556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38015611180576000805461ff00191690555050565b60008060006118f161010254856121e790919063ffffffff16565b925061190961010354856121e790919063ffffffff16565b915061192161010454856121e790919063ffffffff16565b929491935050565b6101096020526000908152604090205460ff1681565b600160a060020a03918216600090815260676020908152604080832093909416825291909152205490565b611972611372565b6119b4576040805160e560020a62461bcd0281526020600482018190526024820152600080516020612613833981519152604482015290519081900360640190fd5b610de281612023565b3390565b600160a060020a038316611a095760405160e560020a62461bcd0281526004018080602001828103825260248152602001806126cb6024913960400191505060405180910390fd5b600160a060020a038216611a515760405160e560020a62461bcd0281526004018080602001828103825260228152602001806125896022913960400191505060405180910390fd5b600160a060020a03808416600081815260676020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b303b1590565b600160a060020a038316611b015760405160e560020a62461bcd0281526004018080602001828103825260258152602001806126a66025913960400191505060405180910390fd5b600160a060020a038216611b495760405160e560020a62461bcd02815260040180806020018281038252602381526020018061251e6023913960400191505060405180910390fd5b611b8c816040518060600160405280602681526020016125cc60269139600160a060020a038616600090815260666020526040902054919063ffffffff611e2d16565b600160a060020a038085166000908152606660205260408082209390935590841681522054611bc1908263ffffffff611ec716565b600160a060020a0380841660008181526066602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600160a060020a038316611c655760405160e560020a62461bcd0281526004018080602001828103825260258152602001806126a66025913960400191505060405180910390fd5b600160a060020a038216611cad5760405160e560020a62461bcd02815260040180806020018281038252602381526020018061251e6023913960400191505060405180910390fd5b6000806000611cbb846118d6565b919450925090506000611ce682611cda8581898963ffffffff61221816565b9063ffffffff61221816565b61010654909150611d11908890600160a060020a0316611d0c878663ffffffff611ec716565b611ab9565b611d1b8784611f24565b611d26878783611ab9565b61010654604080517f8cb3c661000000000000000000000000000000000000000000000000000000008152600481018790529051600160a060020a0390921691638cb3c6619160248082019260009290919082900301818387803b158015611d8d57600080fd5b505af1158015611da1573d6000803e3d6000fd5b505061010654604080517fa80a96f0000000000000000000000000000000000000000000000000000000008152600481018790529051600160a060020a03909216935063a80a96f0925060248082019260009290919082900301818387803b158015611e0c57600080fd5b505af1158015611e20573d6000803e3d6000fd5b5050505050505050505050565b60008184841115611ebf5760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e84578181015183820152602001611e6c565b50505050905090810190601f168015611eb15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610d68576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600160a060020a038216611f6c5760405160e560020a62461bcd0281526004018080602001828103825260218152602001806126856021913960400191505060405180910390fd5b611faf8160405180606001604052806022815260200161254160229139600160a060020a038516600090815260666020526040902054919063ffffffff611e2d16565b600160a060020a038316600090815260666020526040902055606854611fdb908263ffffffff61221816565b606855604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a03811661206b5760405160e560020a62461bcd0281526004018080602001828103825260268152602001806125636026913960400191505060405180910390fd5b603354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36033805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6120dd82611184565b1561211c5760405160e560020a62461bcd02815260040180806020018281038252602e8152602001806126ef602e913960400191505060405180910390fd5b600160a060020a0382166000908152610108602052604090205460ff16156121625761215d82612158610105548461225a90919063ffffffff16565b61228f565b611180565b611180828261228f565b6121768282611f24565b611180826121826119bd565b610dcc8460405180606001604052806024815260200161266160249139600160a060020a0388166000908152606760205260408120906121c06119bd565b600160a060020a03168152602081019190915260400160002054919063ffffffff611e2d16565b6000826121f657506000610b90565b610d6861271061220c858563ffffffff61238416565b9063ffffffff6123e016565b6000610d6883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e2d565b60008261226957506000610b90565b81612275575081610b90565b610d6861228284846121e7565b849063ffffffff611ec716565b600160a060020a0382166122ed576040805160e560020a62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b606854612300908263ffffffff611ec716565b606855600160a060020a03821660009081526066602052604090205461232c908263ffffffff611ec716565b600160a060020a03831660008181526066602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008261239357506000610b90565b828202828482816123a057fe5b0414610d685760405160e560020a62461bcd0281526004018080602001828103825260218152602001806125f26021913960400191505060405180910390fd5b6000610d6883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506000818361246f5760405160e560020a62461bcd028152602060048201818152835160248401528351909283926044909101919085019080838360008315611e84578181015183820152602001611e6c565b50600083858161247b57fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106124c657805160ff19168380011785556124f3565b828001600101855582156124f3579182015b828111156124f35782518255916020019190600101906124d8565b506124ff929150612503565b5090565b610b7591905b808211156124ff576000815560010161250956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735265636569766572206d757374206e6f742068617665206265656e2061697264726f7070656420746f6b656e732e4d75737420686176652073616d65206e756d626572206f662061646472657373657320617320616d6f756e74732e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820cd0b8500fb5614812af46fa34112126938019018bb319204d98e850d13e6ce9364736f6c63430005100032
Deployed Bytecode Sourcemap
36814:4895:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36814:4895:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37012:17;;;:::i;:::-;;;;;;;;;;;;;;;;21020:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;21020:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13905:152;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13905:152:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;20764:186;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20764:186:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;20764:186:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;20764:186:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;20764:186:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;20764:186:0;;;;;;;;-1:-1:-1;20764:186:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;20764:186:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;20764:186:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;20764:186:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;20764:186:0;;-1:-1:-1;;;20764:186:0;;;;;-1:-1:-1;20764:186:0;;-1:-1:-1;20764:186:0:i;:::-;;12926:91;;;:::i;38930:581::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38930:581:0;;;;;;;;;;;;;;;;;:::i;21872:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15242:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15242:210:0;;;;;;;;:::i;20074:83::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20074:83:0;;:::i;38207:137::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38207:137:0;;;;;;;;;;:::i;37104:29::-;;;:::i;36987:18::-;;;:::i;37360:710::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;37360:710:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;37360:710:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;37360:710:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;37360:710:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;37360:710:0;;;;;;;;-1:-1:-1;37360:710:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;37360:710:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;37360:710:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;37360:710:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;37360:710:0;;-1:-1:-1;;37360:710:0;;;;;-1:-1:-1;;;37360:710:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37360:710:0;;;;;;;;;;;;:::i;39857:453::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39857:453:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;39857:453:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39857:453:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;39857:453:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39857:453:0;;;;;;;;-1:-1:-1;39857:453:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;39857:453:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39857:453:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;39857:453:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39857:453:0;;-1:-1:-1;39857:453:0;;-1:-1:-1;;;;;39857:453:0:i;13080:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13080:110:0;-1:-1:-1;;;;;13080:110:0;;:::i;23682:140::-;;;:::i;20219:103::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20219:103:0;;;;;;;;:::i;39519:121::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;39519:121:0;;;;;;;;;;:::i;22869:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22869:79:0;;;;;;;;;;;;;;39648:201;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39648:201:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;39648:201:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39648:201:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;39648:201:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39648:201:0;;-1:-1:-1;39648:201:0;;-1:-1:-1;;;;;39648:201:0:i;23235:94::-;;;:::i;21222:87::-;;;:::i;40416:224::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;40416:224:0;;;;;;;;;;;;;;;;;:::i;36963:17::-;;;:::i;15955:261::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15955:261:0;;;;;;;;:::i;38607:315::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38607:315:0;;;;;;;;:::i;40318:90::-;;;:::i;37302:49::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37302:49:0;-1:-1:-1;;;;;37302:49:0;;:::i;38078:121::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38078:121:0;;;;;;;;;;:::i;37036:19::-;;;:::i;22643:145::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22643:145:0;-1:-1:-1;;;;;22643:145:0;;:::i;38352:247::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38352:247:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;37252:41;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37252:41:0;-1:-1:-1;;;;;37252:41:0;;:::i;13624:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13624:134:0;;;;;;;;;;:::i;23977:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23977:109:0;-1:-1:-1;;;;;23977:109:0;;:::i;37012:17::-;;;;:::o;21020:83::-;21090:5;21083:12;;;;;;;;-1:-1:-1;;21083:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21057:13;;21083:12;;21090:5;;21083:12;;21090:5;21083:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21020:83;;:::o;13905:152::-;13971:4;13988:39;13997:12;:10;:12::i;:::-;14011:7;14020:6;13988:8;:39::i;:::-;-1:-1:-1;14045:4:0;13905:152;;;;;:::o;20764:186::-;1046:12;;;;;;;;:31;;;1062:15;:13;:15::i;:::-;1046:47;;;-1:-1:-1;1082:11:0;;;;1081:12;1046:47;1038:106;;;;-1:-1:-1;;;;;1038:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1153:19;1176:12;;;;;;1175:13;1195:83;;;;1224:12;:19;;-1:-1:-1;;;;1224:19:0;;;;;1252:18;1239:4;1252:18;;;1195:83;20872:12;;;;:5;;:12;;;;;:::i;:::-;-1:-1:-1;20895:16:0;;;;:7;;:16;;;;;:::i;:::-;-1:-1:-1;20922:9:0;:20;;-1:-1:-1;;20922:20:0;;;;;;;1296:57;;;;1340:5;1325:20;;-1:-1:-1;;1325:20:0;;;1296:57;20764:186;;;;:::o;12926:91::-;12997:12;;12926:91;:::o;38930:581::-;-1:-1:-1;;;;;39035:17:0;;39016:4;39035:17;;;:9;:17;;;;;;;;39034:18;:43;;;;-1:-1:-1;;;;;;39057:20:0;;;;;;:9;:20;;;;;;;;39056:21;39034:43;:73;;;;-1:-1:-1;;;;;;39082:25:0;;;;;;:17;:25;;;;;;;;39081:26;39034:73;39033:186;;39183:36;39193:6;39201:9;39212:6;39183:9;:36::i;:::-;39033:186;;;39124:43;39141:6;39149:9;39160:6;39124:16;:43::i;:::-;39251:10;39234:28;;;;:16;:28;;;;;;;;39230:45;;;-1:-1:-1;39271:4:0;39264:11;;39230:45;39286:195;39318:10;39343:127;39426:6;39343:127;;;;;;;;;;;;;;;;;:78;39371:6;39396:10;39343:9;:78::i;:::-;:82;:127;;:82;:127;:::i;:::-;39286:7;:195::i;:::-;;39499:4;39492:11;;38930:581;;;;;;:::o;21872:83::-;21938:9;;;;21872:83;:::o;15242:210::-;15322:4;15339:83;15348:12;:10;:12::i;:::-;15362:7;15371:50;15410:10;15371:11;:25;15383:12;:10;:12::i;:::-;-1:-1:-1;;;;;15371:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;15371:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;:::-;15339:8;:83::i;20074:::-;20122:27;20128:12;:10;:12::i;:::-;20142:6;20122:5;:27::i;:::-;20074:83;:::o;38207:137::-;23081:9;:7;:9::i;:::-;23073:54;;;;;-1:-1:-1;;;;;23073:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23073:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;38301:26:0;;;;;;;;:17;:26;;;;;:35;;-1:-1:-1;;38301:35:0;;;;;;;;;;38207:137::o;37104:29::-;;;;;;;;;:::o;36987:18::-;;;;:::o;37360:710::-;1046:12;;;;;;;;:31;;;1062:15;:13;:15::i;:::-;1046:47;;;-1:-1:-1;1082:11:0;;;;1081:12;1046:47;1038:106;;;;-1:-1:-1;;;;;1038:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1153:19;1176:12;;;;;;1175:13;1195:83;;;;1224:12;:19;;-1:-1:-1;;;;1224:19:0;;;;;1252:18;1239:4;1252:18;;;1195:83;37599:30;37618:10;37599:18;:30::i;:::-;37642:5;:14;;;37667:6;:16;;;37694:5;:14;;;37719:7;:18;;;37750:11;:26;;-1:-1:-1;;37750:26:0;-1:-1:-1;;;;;37750:26:0;;;;;;;;;;37807:11;;-1:-1:-1;37789:31:0;;;:9;:31;;;;;;;;:38;;-1:-1:-1;;37789:38:0;;;-1:-1:-1;37789:38:0;;;;;;37863:11;;;;;37838:38;;:16;:38;;;;;:45;;;;;;;;37896:48;37921:4;37927:6;37935:8;37896:24;:48::i;:::-;38036:26;38055:6;38036:18;:26::i;:::-;1300:14;1296:57;;;1340:5;1325:20;;-1:-1:-1;;1325:20:0;;;1296:57;37360:710;;;;;;;;;;:::o;39857:453::-;23081:9;:7;:9::i;:::-;23073:54;;;;;-1:-1:-1;;;;;23073:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23073:54:0;;;;;;;;;;;;;;;39981:7;:14;39961:9;:16;:34;39953:93;;;;-1:-1:-1;;;;;39953:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40066:17;;;;;;;40065:18;40057:49;;;;;-1:-1:-1;;;;;40057:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40122:6;40117:103;40136:9;:16;40132:1;:20;40117:103;;;40174:34;40183:9;40193:1;40183:12;;;;;;;;;;;;;;40197:7;40205:1;40197:10;;;;;;;;;;;;;;40174:8;:34::i;:::-;40154:3;;40117:103;;;;40255:15;40238:13;:11;:13::i;:::-;:32;;40230:72;;;;;-1:-1:-1;;;;;40230:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39857:453;;:::o;13080:110::-;-1:-1:-1;;;;;13164:18:0;13137:7;13164:18;;;:9;:18;;;;;;;13080:110::o;23682:140::-;23081:9;:7;:9::i;:::-;23073:54;;;;;-1:-1:-1;;;;;23073:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23073:54:0;;;;;;;;;;;;;;;23765:6;;23744:40;;23781:1;;-1:-1:-1;;;;;23765:6:0;;23744:40;;23781:1;;23744:40;23795:6;:19;;-1:-1:-1;;23795:19:0;;;23682:140::o;20219:103::-;20288:26;20298:7;20307:6;20288:9;:26::i;39519:121::-;23081:9;:7;:9::i;:::-;23073:54;;;;;-1:-1:-1;;;;;23073:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23073:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;39602:24:0;;;;;;;;:14;:24;;;;;:30;;-1:-1:-1;;39602:30:0;;;;;;;;;;39519:121::o;22869:79::-;22934:6;;-1:-1:-1;;;;;22934:6:0;22869:79;:::o;39648:201::-;23081:9;:7;:9::i;:::-;23073:54;;;;;-1:-1:-1;;;;;23073:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23073:54:0;;;;;;;;;;;;;;;39743:6;39738:104;39757:9;:16;39753:1;:20;39738:104;;;39826:4;39795:14;:28;39810:9;39820:1;39810:12;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39795:28:0;;;;;;;;;;;-1:-1:-1;39795:28:0;:35;;-1:-1:-1;;39795:35:0;;;;;;;;;;-1:-1:-1;39775:3:0;39738:104;;23235:94;23315:6;;23275:4;;-1:-1:-1;;;;;23315:6:0;23299:12;:10;:12::i;:::-;-1:-1:-1;;;;;23299:22:0;;23292:29;;23235:94;:::o;21222:87::-;21294:7;21287:14;;;;;;;;-1:-1:-1;;21287:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21261:13;;21287:14;;21294:7;;21287:14;;21294:7;21287:14;;;;;;;;;;;;;;;;;;;;;;;;40416:224;23081:9;:7;:9::i;:::-;23073:54;;;;;-1:-1:-1;;;;;23073:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23073:54:0;;;;;;;;;;;;;;;40533:30;;;;;;40557:4;40533:30;;;;;;40567:6;;-1:-1:-1;;;;;40533:15:0;;;;;:30;;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;40533:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40533:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40533:30:0;:40;;40525:70;;;;;-1:-1:-1;;;;;40525:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40606:5;-1:-1:-1;;;;;40606:14:0;;40621:2;40625:6;40606:26;;;;;;;;;;;;;-1:-1:-1;;;;;40606:26:0;-1:-1:-1;;;;;40606:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40606:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40606:26:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;40416:224:0:o;36963:17::-;;;;:::o;15955:261::-;16040:4;16057:129;16066:12;:10;:12::i;:::-;16080:7;16089:96;16128:15;16089:96;;;;;;;;;;;;;;;;;:11;:25;16101:12;:10;:12::i;:::-;-1:-1:-1;;;;;16089:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;16089:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;38607:315::-;38702:10;38673:4;38692:21;;;:9;:21;;;;;;;;38691:22;:47;;;;-1:-1:-1;;;;;;38718:20:0;;;;;;:9;:20;;;;;;;;38717:21;38691:47;:81;;;;-1:-1:-1;38761:10:0;38743:29;;;;:17;:29;;;;;;;;38742:30;38691:81;38690:202;;38852:40;38862:10;38874:9;38885:6;38852:9;:40::i;:::-;38690:202;;;38789:47;38806:10;38818:9;38829:6;38789:16;:47::i;40318:90::-;23081:9;:7;:9::i;:::-;23073:54;;;;;-1:-1:-1;;;;;23073:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23073:54:0;;;;;;;;;;;;;;;40376:17;:24;;-1:-1:-1;;40376:24:0;;;;;40318:90::o;37302:49::-;;;;;;;;;;;;;;;:::o;38078:121::-;23081:9;:7;:9::i;:::-;23073:54;;;;;-1:-1:-1;;;;;23073:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23073:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;38164:18:0;;;;;;;;:9;:18;;;;;:27;;-1:-1:-1;;38164:27:0;;;;;;;;;;38078:121::o;37036:19::-;;;;:::o;22643:145::-;1046:12;;;;;;;;:31;;;1062:15;:13;:15::i;:::-;1046:47;;;-1:-1:-1;1082:11:0;;;;1081:12;1046:47;1038:106;;;;-1:-1:-1;;;;;1038:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1153:19;1176:12;;;;;;1175:13;1195:83;;;;1224:12;:19;;-1:-1:-1;;;;1224:19:0;;;;;1252:18;1239:4;1252:18;;;1195:83;22709:6;:15;;-1:-1:-1;;22709:15:0;-1:-1:-1;;;;;22709:15:0;;;;;;;;;;;22740:40;;22773:6;;;-1:-1:-1;;22740:40:0;;-1:-1:-1;;22740:40:0;1300:14;1296:57;;;1340:5;1325:20;;-1:-1:-1;;1325:20:0;;;22643:145;;:::o;38352:247::-;38404:8;38414:9;38425:13;38457:18;38469:5;;38457;:11;;:18;;;;:::i;:::-;38451:24;;38493:19;38505:6;;38493:5;:11;;:19;;;;:::i;:::-;38486:26;;38534:18;38546:5;;38534;:11;;:18;;;;:::i;:::-;38352:247;;;;-1:-1:-1;;38352:247:0:o;37252:41::-;;;;;;;;;;;;;;;:::o;13624:134::-;-1:-1:-1;;;;;13723:18:0;;;13696:7;13723:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;13624:134::o;23977:109::-;23081:9;:7;:9::i;:::-;23073:54;;;;;-1:-1:-1;;;;;23073:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23073:54:0;;;;;;;;;;;;;;;24050:28;24069:8;24050:18;:28::i;2866:98::-;2946:10;2866:98;:::o;18886:338::-;-1:-1:-1;;;;;18980:19:0;;18972:68;;;;-1:-1:-1;;;;;18972:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19059:21:0;;19051:68;;;;-1:-1:-1;;;;;19051:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19132:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;19184:32;;;;;;;;;;;;;;;;;18886:338;;;:::o;1447:508::-;1864:4;1910:17;1942:7;1447:508;:::o;16706:471::-;-1:-1:-1;;;;;16804:20:0;;16796:70;;;;-1:-1:-1;;;;;16796:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16885:23:0;;16877:71;;;;-1:-1:-1;;;;;16877:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16981;17003:6;16981:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16981:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;16961:17:0;;;;;;;:9;:17;;;;;;:91;;;;17086:20;;;;;;;:32;;17111:6;17086:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;17063:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;17134:35;;;;;;;17063:20;;17134:35;;;;;;;;;;;;;16706:471;;;:::o;40977:729::-;-1:-1:-1;;;;;41079:20:0;;41071:70;;;;-1:-1:-1;;;;;41071:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41160:23:0;;41152:71;;;;-1:-1:-1;;;;;41152:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41237:14;41253:15;41270:19;41293:17;41303:6;41293:9;:17::i;:::-;41236:74;;-1:-1:-1;41236:74:0;-1:-1:-1;41236:74:0;-1:-1:-1;41321:21:0;41345:57;41236:74;41345:37;41236:74;41345:37;:6;41236:74;41345:21;:10;:21;:::i;:::-;:25;:37;:25;:37;:::i;:57::-;41441:11;;41321:81;;-1:-1:-1;41415:70:0;;41425:6;;-1:-1:-1;;;;;41441:11:0;41455:29;:9;41469:14;41455:29;:13;:29;:::i;:::-;41415:9;:70::i;:::-;41496:25;41502:6;41510:10;41496:5;:25::i;:::-;41532:46;41542:6;41550:9;41561:16;41532:9;:46::i;:::-;41589:11;;:44;;;;;;;;;;;;;;-1:-1:-1;;;;;41589:11:0;;;;:33;;:44;;;;;:11;;:44;;;;;;;;:11;;:44;;;5:2:-1;;;;30:1;27;20:12;5:2;41589:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;41644:11:0;;:54;;;;;;;;;;;;;;-1:-1:-1;;;;;41644:11:0;;;;-1:-1:-1;41644:38:0;;-1:-1:-1;41644:54:0;;;;;:11;;:54;;;;;;;;:11;;:54;;;5:2:-1;;;;30:1;27;20:12;5:2;41644:54:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;41644:54:0;;;;40977:729;;;;;;;:::o;7761:192::-;7847:7;7883:12;7875:6;;;;7867:29;;;;-1:-1:-1;;;;;7867:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;7867:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7919:5:0;;;7761:192::o;6832:181::-;6890:7;6922:5;;;6946:6;;;;6938:46;;;;;-1:-1:-1;;;;;6938:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18098:348;-1:-1:-1;;;;;18174:21:0;;18166:67;;;;-1:-1:-1;;;;;18166:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18267:68;18290:6;18267:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18267:18:0;;;;;;:9;:18;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;18246:18:0;;;;;;:9;:18;;;;;:89;18361:12;;:24;;18378:6;18361:24;:16;:24;:::i;:::-;18346:12;:39;18401:37;;;;;;;;18427:1;;-1:-1:-1;;;;;18401:37:0;;;;;;;;;;;;18098:348;;:::o;24192:229::-;-1:-1:-1;;;;;24266:22:0;;24258:73;;;;-1:-1:-1;;;;;24258:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24368:6;;24347:38;;-1:-1:-1;;;;;24347:38:0;;;;24368:6;;24347:38;;24368:6;;24347:38;24396:6;:17;;-1:-1:-1;;24396:17:0;-1:-1:-1;;;;;24396:17:0;;;;;;;;;;24192:229::o;40648:321::-;40725:19;40735:8;40725:9;:19::i;:::-;:24;40717:83;;;;-1:-1:-1;;;;;40717:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40815:24:0;;;;;;:14;:24;;;;;;;;40811:151;;;40856:38;40862:8;40872:21;40885:7;;40872:6;:12;;:21;;;;:::i;:::-;40856:5;:38::i;:::-;40811:151;;;40927:23;40933:8;40943:6;40927:5;:23::i;19410:232::-;19482:22;19488:7;19497:6;19482:5;:22::i;:::-;19515:119;19524:7;19533:12;:10;:12::i;:::-;19547:86;19586:6;19547:86;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19547:20:0;;;;;;:11;:20;;;;;;19568:12;:10;:12::i;:::-;-1:-1:-1;;;;;19547:34:0;;;;;;;;;;;;-1:-1:-1;19547:34:0;;;:86;;:38;:86;:::i;24578:151::-;24635:4;24656:8;24652:22;;-1:-1:-1;24673:1:0;24666:8;;24652:22;24692:29;24564:5;24692:11;:3;24700:2;24692:11;:7;:11;:::i;:::-;:15;:29;:15;:29;:::i;7288:136::-;7346:7;7373:43;7377:1;7380;7373:43;;;;;;;;;;;;;;;;;:3;:43::i;24737:179::-;24794:4;24815:8;24811:22;;-1:-1:-1;24832:1:0;24825:8;;24811:22;24848:7;24844:23;;-1:-1:-1;24864:3:0;24857:10;;24844:23;24885;24893:14;24899:3;24904:2;24893:5;:14::i;:::-;24885:3;;:23;:7;:23;:::i;17458:308::-;-1:-1:-1;;;;;17534:21:0;;17526:65;;;;;-1:-1:-1;;;;;17526:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17619:12;;:24;;17636:6;17619:24;:16;:24;:::i;:::-;17604:12;:39;-1:-1:-1;;;;;17675:18:0;;;;;;:9;:18;;;;;;:30;;17698:6;17675:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;17654:18:0;;;;;;:9;:18;;;;;;;;:51;;;;17721:37;;;;;;;17654:18;;;;17721:37;;;;;;;;;;17458:308;;:::o;8204:471::-;8262:7;8507:6;8503:47;;-1:-1:-1;8537:1:0;8530:8;;8503:47;8574:5;;;8578:1;8574;:5;:1;8598:5;;;;;:10;8590:56;;;;-1:-1:-1;;;;;8590:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9143:132;9201:7;9228:39;9232:1;9235;9228:39;;;;;;;;;;;;;;;;;9891:7;9993:12;9986:5;9978:28;;;;-1:-1:-1;;;;;9978:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;9978:28:0;;10017:9;10033:1;10029;:5;;;;;;;9805:345;-1:-1:-1;;;;;9805:345:0:o;36814:4895::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36814:4895:0;;;-1:-1:-1;36814:4895:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://cd0b8500fb5614812af46fa34112126938019018bb319204d98e850d13e6ce93
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.