Feature Tip: Add private address tag to any address under My Name Tag !
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-11 */ 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 _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
Contract ABI
API[{"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":[],"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
6080604052612588806100136000396000f3fe608060405234801561001057600080fd5b5060043610610222576000357c01000000000000000000000000000000000000000000000000000000009004806383f5596711610137578063ae40de10116100ca578063c4d66de811610099578063c4d66de8146109be578063d19a5509146109e4578063d1ecfc6814610a1f578063dd62ed3e14610a45578063f2fde38b14610a7357610222565b8063ae40de101461095a578063b51383d514610962578063c125c86114610988578063c32a69e3146109b657610222565b806395d89b411161010657806395d89b41146108f25780639df66eb7146108fa578063a457c2d714610902578063a9059cbb1461092e57610222565b806383f55967146107f55780638da5cb5b146108235780638dcc773e146108475780638f32d59b146108ea57610222565b806342966c68116101ba57806365c6934b1161018957806365c6934b14610515578063672434821461067457806370a082311461079b578063715018a6146107c157806379cc6790146107c957610222565b806342966c68146104ba5780634cc0bddb146104d75780634cccf2b714610505578063518688951461050d57610222565b806318160ddd116101f657806318160ddd1461043257806323b872dd1461043a578063313ce56714610470578063395093511461048e57610222565b8062314be01461022757806306fdde0314610241578063095ea7b3146102be5780631624f6c6146102fe575b600080fd5b61022f610a99565b60408051918252519081900360200190f35b610249610aa0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028357818101518382015260200161026b565b50505050905090810190601f1680156102b05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ea600480360360408110156102d457600080fd5b50600160a060020a038135169060200135610b37565b604080519115158252519081900360200190f35b6104306004803603606081101561031457600080fd5b81019060208101813564010000000081111561032f57600080fd5b82018360208201111561034157600080fd5b8035906020019184600183028401116401000000008311171561036357600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156103b657600080fd5b8201836020820111156103c857600080fd5b803590602001918460018302840111640100000000831117156103ea57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff169150610b559050565b005b61022f610c34565b6102ea6004803603606081101561045057600080fd5b50600160a060020a03813581169160208101359091169060400135610c3a565b610478610d2e565b6040805160ff9092168252519081900360200190f35b6102ea600480360360408110156104a457600080fd5b50600160a060020a038135169060200135610d37565b610430600480360360208110156104d057600080fd5b5035610d90565b610430600480360360408110156104ed57600080fd5b50600160a060020a0381351690602001351515610da4565b6102ea610e1a565b61022f610e3c565b610430600480360361012081101561052c57600080fd5b81019060208101813564010000000081111561054757600080fd5b82018360208201111561055957600080fd5b8035906020019184600183028401116401000000008311171561057b57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156105ce57600080fd5b8201836020820111156105e057600080fd5b8035906020019184600183028401116401000000008311171561060257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505060ff83351693505050602081013590604081013590606081013590608081013590600160a060020a0360a082013581169160c0013516610e43565b6104306004803603604081101561068a57600080fd5b8101906020810181356401000000008111156106a557600080fd5b8201836020820111156106b757600080fd5b803590602001918460208302840111640100000000831117156106d957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561072957600080fd5b82018360208201111561073b57600080fd5b8035906020019184602083028401116401000000008311171561075d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610f8f945050505050565b61022f600480360360208110156107b157600080fd5b5035600160a060020a0316611143565b61043061115e565b610430600480360360408110156107df57600080fd5b50600160a060020a0381351690602001356111ff565b6104306004803603604081101561080b57600080fd5b50600160a060020a0381351690602001351515611209565b61082b61127f565b60408051600160a060020a039092168252519081900360200190f35b6104306004803603602081101561085d57600080fd5b81019060208101813564010000000081111561087857600080fd5b82018360208201111561088a57600080fd5b803590602001918460208302840111640100000000831117156108ac57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061128e945050505050565b6102ea611331565b610249611357565b61022f6113b8565b6102ea6004803603604081101561091857600080fd5b50600160a060020a0381351690602001356113bf565b6102ea6004803603604081101561094457600080fd5b50600160a060020a03813516906020013561142d565b6104306114a4565b6102ea6004803603602081101561097857600080fd5b5035600160a060020a0316611526565b6104306004803603604081101561099e57600080fd5b50600160a060020a038135169060200135151561153c565b61022f6115b2565b610430600480360360208110156109d457600080fd5b5035600160a060020a03166115b9565b610a01600480360360208110156109fa57600080fd5b50356116ba565b60408051938452602084019290925282820152519081900360600190f35b6102ea60048036036020811015610a3557600080fd5b5035600160a060020a031661170d565b61022f60048036036040811015610a5b57600080fd5b50600160a060020a0381358116916020013516611723565b61043060048036036020811015610a8957600080fd5b5035600160a060020a031661174e565b6101045481565b60cd8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b820191906000526020600020905b815481529060010190602001808311610b0f57829003601f168201915b505050505090505b90565b6000610b4b610b446117a1565b84846117a5565b5060015b92915050565b600054610100900460ff1680610b6e5750610b6e611897565b80610b7c575060005460ff16155b610bba5760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612417602e913960400191505060405180910390fd5b600054610100900460ff16158015610be5576000805460ff1961ff0019909116610100171660011790555b8351610bf89060cd906020870190612269565b508251610c0c9060ce906020860190612269565b5060cf805460ff191660ff84161790558015610c2e576000805461ff00191690555b50505050565b60685490565b600160a060020a0383166000908152610109602052604081205460ff16158015610c7e5750600160a060020a0383166000908152610109602052604090205460ff16155b8015610ca45750600160a060020a038416600090815261010a602052604090205460ff16155b610cb857610cb384848461189d565b610cc3565b610cc3848484611a01565b336000908152610107602052604090205460ff1615610ce457506001610d27565b610d2133610d1c8460405180606001604052806021815260200161238f60219139610d0f8933611723565b919063ffffffff611c1116565b610b37565b50600190505b9392505050565b60cf5460ff1690565b6000610b4b610d446117a1565b84610d8b8560676000610d556117a1565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611cab16565b6117a5565b610da1610d9b6117a1565b82611d08565b50565b610dac611331565b610dee576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010a60205260409020805460ff1916911515919091179055565b6101065474010000000000000000000000000000000000000000900460ff1681565b6101035481565b600054610100900460ff1680610e5c5750610e5c611897565b80610e6a575060005460ff16155b610ea85760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612417602e913960400191505060405180910390fd5b600054610100900460ff16158015610ed3576000805460ff1961ff0019909116610100171660011790555b610edc336115b9565b610102879055610103869055610104859055610105849055610106805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03848116919091178083558116600090815261010960209081526040808320805460ff1990811660019081179092559554909416835261010790915290208054909216179055610f688a8a8a610b55565b610f7183611e07565b8015610f83576000805461ff00191690555b50505050505050505050565b610f97611331565b610fd9576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b805182511461101c5760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612501602e913960400191505060405180910390fd5b6101065474010000000000000000000000000000000000000000900460ff1615611090576040805160e560020a62461bcd02815260206004820152601260248201527f41697264726f702068617320656e6465642e0000000000000000000000000000604482015290519081900360640190fd5b60005b82518110156110d4576110cc8382815181106110ab57fe5b60200260200101518383815181106110bf57fe5b6020026020010151611eb8565b600101611093565b506acecb8f27f4200f3a0000006110e9610c34565b111561113f576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e6e6f74206973737565206d6f7265207468616e206361702e0000000000604482015290519081900360640190fd5b5050565b600160a060020a031660009081526066602052604090205490565b611166611331565b6111a8576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b603354604051600091600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36033805473ffffffffffffffffffffffffffffffffffffffff19169055565b61113f8282611f50565b611211611331565b611253576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010860205260409020805460ff1916911515919091179055565b603354600160a060020a031690565b611296611331565b6112d8576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b60005b815181101561113f57600161010860008484815181106112f757fe5b602090810291909101810151600160a060020a03168252810191909152604001600020805460ff19169115159190911790556001016112db565b603354600090600160a060020a03166113486117a1565b600160a060020a031614905090565b60ce8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b6101025481565b6000610b4b6113cc6117a1565b84610d8b8560405180606001604052806025815260200161252f60259139606760006113f66117a1565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611c1116565b336000908152610109602052604081205460ff161580156114685750600160a060020a0383166000908152610109602052604090205460ff16155b8015611485575033600090815261010a602052604090205460ff16155b6114995761149433848461189d565b610b4b565b610b4b338484611a01565b6114ac611331565b6114ee576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b610106805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b61010a6020526000908152604090205460ff1681565b611544611331565b611586576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010960205260409020805460ff1916911515919091179055565b6101055481565b600054610100900460ff16806115d257506115d2611897565b806115e0575060005460ff16155b61161e5760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612417602e913960400191505060405180910390fd5b600054610100900460ff16158015611649576000805460ff1961ff0019909116610100171660011790555b6033805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384811691909117918290556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3801561113f576000805461ff00191690555050565b60008060006116d56101025485611fcb90919063ffffffff16565b92506116ed6101035485611fcb90919063ffffffff16565b91506117056101045485611fcb90919063ffffffff16565b929491935050565b6101096020526000908152604090205460ff1681565b600160a060020a03918216600090815260676020908152604080832093909416825291909152205490565b611756611331565b611798576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b610da181611e07565b3390565b600160a060020a0383166117ed5760405160e560020a62461bcd0281526004018080602001828103825260248152602001806124af6024913960400191505060405180910390fd5b600160a060020a0382166118355760405160e560020a62461bcd02815260040180806020018281038252602281526020018061236d6022913960400191505060405180910390fd5b600160a060020a03808416600081815260676020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b303b1590565b600160a060020a0383166118e55760405160e560020a62461bcd02815260040180806020018281038252602581526020018061248a6025913960400191505060405180910390fd5b600160a060020a03821661192d5760405160e560020a62461bcd0281526004018080602001828103825260238152602001806123026023913960400191505060405180910390fd5b611970816040518060600160405280602681526020016123b060269139600160a060020a038616600090815260666020526040902054919063ffffffff611c1116565b600160a060020a0380851660009081526066602052604080822093909355908416815220546119a5908263ffffffff611cab16565b600160a060020a0380841660008181526066602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600160a060020a038316611a495760405160e560020a62461bcd02815260040180806020018281038252602581526020018061248a6025913960400191505060405180910390fd5b600160a060020a038216611a915760405160e560020a62461bcd0281526004018080602001828103825260238152602001806123026023913960400191505060405180910390fd5b6000806000611a9f846116ba565b919450925090506000611aca82611abe8581898963ffffffff611ffc16565b9063ffffffff611ffc16565b61010654909150611af5908890600160a060020a0316611af0878663ffffffff611cab16565b61189d565b611aff8784611d08565b611b0a87878361189d565b61010654604080517f8cb3c661000000000000000000000000000000000000000000000000000000008152600481018790529051600160a060020a0390921691638cb3c6619160248082019260009290919082900301818387803b158015611b7157600080fd5b505af1158015611b85573d6000803e3d6000fd5b505061010654604080517fa80a96f0000000000000000000000000000000000000000000000000000000008152600481018790529051600160a060020a03909216935063a80a96f0925060248082019260009290919082900301818387803b158015611bf057600080fd5b505af1158015611c04573d6000803e3d6000fd5b5050505050505050505050565b60008184841115611ca35760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c68578181015183820152602001611c50565b50505050905090810190601f168015611c955780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610d27576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600160a060020a038216611d505760405160e560020a62461bcd0281526004018080602001828103825260218152602001806124696021913960400191505060405180910390fd5b611d938160405180606001604052806022815260200161232560229139600160a060020a038516600090815260666020526040902054919063ffffffff611c1116565b600160a060020a038316600090815260666020526040902055606854611dbf908263ffffffff611ffc16565b606855604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a038116611e4f5760405160e560020a62461bcd0281526004018080602001828103825260268152602001806123476026913960400191505060405180910390fd5b603354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36033805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b611ec182611143565b15611f005760405160e560020a62461bcd02815260040180806020018281038252602e8152602001806124d3602e913960400191505060405180910390fd5b600160a060020a0382166000908152610108602052604090205460ff1615611f4657611f4182611f3c610105548461203e90919063ffffffff16565b612073565b61113f565b61113f8282612073565b611f5a8282611d08565b61113f82611f666117a1565b610d8b8460405180606001604052806024815260200161244560249139600160a060020a038816600090815260676020526040812090611fa46117a1565b600160a060020a03168152602081019190915260400160002054919063ffffffff611c1116565b600082611fda57506000610b4f565b610d27612710611ff0858563ffffffff61216816565b9063ffffffff6121c416565b6000610d2783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c11565b60008261204d57506000610b4f565b81612059575081610b4f565b610d276120668484611fcb565b849063ffffffff611cab16565b600160a060020a0382166120d1576040805160e560020a62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6068546120e4908263ffffffff611cab16565b606855600160a060020a038216600090815260666020526040902054612110908263ffffffff611cab16565b600160a060020a03831660008181526066602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008261217757506000610b4f565b8282028284828161218457fe5b0414610d275760405160e560020a62461bcd0281526004018080602001828103825260218152602001806123d66021913960400191505060405180910390fd5b6000610d2783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836122535760405160e560020a62461bcd028152602060048201818152835160248401528351909283926044909101919085019080838360008315611c68578181015183820152602001611c50565b50600083858161225f57fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106122aa57805160ff19168380011785556122d7565b828001600101855582156122d7579182015b828111156122d75782518255916020019190600101906122bc565b506122e39291506122e7565b5090565b610b3491905b808211156122e357600081556001016122ed56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735265636569766572206d757374206e6f742068617665206265656e2061697264726f7070656420746f6b656e732e4d75737420686176652073616d65206e756d626572206f662061646472657373657320617320616d6f756e74732e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820304da08c7529bff14b1113797b2e71d00d37328793a41b68b31503bfdb585c1d64736f6c63430005100032
Deployed Bytecode
0x608060405234801561001057600080fd5b5060043610610222576000357c01000000000000000000000000000000000000000000000000000000009004806383f5596711610137578063ae40de10116100ca578063c4d66de811610099578063c4d66de8146109be578063d19a5509146109e4578063d1ecfc6814610a1f578063dd62ed3e14610a45578063f2fde38b14610a7357610222565b8063ae40de101461095a578063b51383d514610962578063c125c86114610988578063c32a69e3146109b657610222565b806395d89b411161010657806395d89b41146108f25780639df66eb7146108fa578063a457c2d714610902578063a9059cbb1461092e57610222565b806383f55967146107f55780638da5cb5b146108235780638dcc773e146108475780638f32d59b146108ea57610222565b806342966c68116101ba57806365c6934b1161018957806365c6934b14610515578063672434821461067457806370a082311461079b578063715018a6146107c157806379cc6790146107c957610222565b806342966c68146104ba5780634cc0bddb146104d75780634cccf2b714610505578063518688951461050d57610222565b806318160ddd116101f657806318160ddd1461043257806323b872dd1461043a578063313ce56714610470578063395093511461048e57610222565b8062314be01461022757806306fdde0314610241578063095ea7b3146102be5780631624f6c6146102fe575b600080fd5b61022f610a99565b60408051918252519081900360200190f35b610249610aa0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028357818101518382015260200161026b565b50505050905090810190601f1680156102b05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ea600480360360408110156102d457600080fd5b50600160a060020a038135169060200135610b37565b604080519115158252519081900360200190f35b6104306004803603606081101561031457600080fd5b81019060208101813564010000000081111561032f57600080fd5b82018360208201111561034157600080fd5b8035906020019184600183028401116401000000008311171561036357600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156103b657600080fd5b8201836020820111156103c857600080fd5b803590602001918460018302840111640100000000831117156103ea57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff169150610b559050565b005b61022f610c34565b6102ea6004803603606081101561045057600080fd5b50600160a060020a03813581169160208101359091169060400135610c3a565b610478610d2e565b6040805160ff9092168252519081900360200190f35b6102ea600480360360408110156104a457600080fd5b50600160a060020a038135169060200135610d37565b610430600480360360208110156104d057600080fd5b5035610d90565b610430600480360360408110156104ed57600080fd5b50600160a060020a0381351690602001351515610da4565b6102ea610e1a565b61022f610e3c565b610430600480360361012081101561052c57600080fd5b81019060208101813564010000000081111561054757600080fd5b82018360208201111561055957600080fd5b8035906020019184600183028401116401000000008311171561057b57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156105ce57600080fd5b8201836020820111156105e057600080fd5b8035906020019184600183028401116401000000008311171561060257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505060ff83351693505050602081013590604081013590606081013590608081013590600160a060020a0360a082013581169160c0013516610e43565b6104306004803603604081101561068a57600080fd5b8101906020810181356401000000008111156106a557600080fd5b8201836020820111156106b757600080fd5b803590602001918460208302840111640100000000831117156106d957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561072957600080fd5b82018360208201111561073b57600080fd5b8035906020019184602083028401116401000000008311171561075d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610f8f945050505050565b61022f600480360360208110156107b157600080fd5b5035600160a060020a0316611143565b61043061115e565b610430600480360360408110156107df57600080fd5b50600160a060020a0381351690602001356111ff565b6104306004803603604081101561080b57600080fd5b50600160a060020a0381351690602001351515611209565b61082b61127f565b60408051600160a060020a039092168252519081900360200190f35b6104306004803603602081101561085d57600080fd5b81019060208101813564010000000081111561087857600080fd5b82018360208201111561088a57600080fd5b803590602001918460208302840111640100000000831117156108ac57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061128e945050505050565b6102ea611331565b610249611357565b61022f6113b8565b6102ea6004803603604081101561091857600080fd5b50600160a060020a0381351690602001356113bf565b6102ea6004803603604081101561094457600080fd5b50600160a060020a03813516906020013561142d565b6104306114a4565b6102ea6004803603602081101561097857600080fd5b5035600160a060020a0316611526565b6104306004803603604081101561099e57600080fd5b50600160a060020a038135169060200135151561153c565b61022f6115b2565b610430600480360360208110156109d457600080fd5b5035600160a060020a03166115b9565b610a01600480360360208110156109fa57600080fd5b50356116ba565b60408051938452602084019290925282820152519081900360600190f35b6102ea60048036036020811015610a3557600080fd5b5035600160a060020a031661170d565b61022f60048036036040811015610a5b57600080fd5b50600160a060020a0381358116916020013516611723565b61043060048036036020811015610a8957600080fd5b5035600160a060020a031661174e565b6101045481565b60cd8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b820191906000526020600020905b815481529060010190602001808311610b0f57829003601f168201915b505050505090505b90565b6000610b4b610b446117a1565b84846117a5565b5060015b92915050565b600054610100900460ff1680610b6e5750610b6e611897565b80610b7c575060005460ff16155b610bba5760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612417602e913960400191505060405180910390fd5b600054610100900460ff16158015610be5576000805460ff1961ff0019909116610100171660011790555b8351610bf89060cd906020870190612269565b508251610c0c9060ce906020860190612269565b5060cf805460ff191660ff84161790558015610c2e576000805461ff00191690555b50505050565b60685490565b600160a060020a0383166000908152610109602052604081205460ff16158015610c7e5750600160a060020a0383166000908152610109602052604090205460ff16155b8015610ca45750600160a060020a038416600090815261010a602052604090205460ff16155b610cb857610cb384848461189d565b610cc3565b610cc3848484611a01565b336000908152610107602052604090205460ff1615610ce457506001610d27565b610d2133610d1c8460405180606001604052806021815260200161238f60219139610d0f8933611723565b919063ffffffff611c1116565b610b37565b50600190505b9392505050565b60cf5460ff1690565b6000610b4b610d446117a1565b84610d8b8560676000610d556117a1565b600160a060020a03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611cab16565b6117a5565b610da1610d9b6117a1565b82611d08565b50565b610dac611331565b610dee576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010a60205260409020805460ff1916911515919091179055565b6101065474010000000000000000000000000000000000000000900460ff1681565b6101035481565b600054610100900460ff1680610e5c5750610e5c611897565b80610e6a575060005460ff16155b610ea85760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612417602e913960400191505060405180910390fd5b600054610100900460ff16158015610ed3576000805460ff1961ff0019909116610100171660011790555b610edc336115b9565b610102879055610103869055610104859055610105849055610106805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03848116919091178083558116600090815261010960209081526040808320805460ff1990811660019081179092559554909416835261010790915290208054909216179055610f688a8a8a610b55565b610f7183611e07565b8015610f83576000805461ff00191690555b50505050505050505050565b610f97611331565b610fd9576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b805182511461101c5760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612501602e913960400191505060405180910390fd5b6101065474010000000000000000000000000000000000000000900460ff1615611090576040805160e560020a62461bcd02815260206004820152601260248201527f41697264726f702068617320656e6465642e0000000000000000000000000000604482015290519081900360640190fd5b60005b82518110156110d4576110cc8382815181106110ab57fe5b60200260200101518383815181106110bf57fe5b6020026020010151611eb8565b600101611093565b506acecb8f27f4200f3a0000006110e9610c34565b111561113f576040805160e560020a62461bcd02815260206004820152601b60248201527f43616e6e6f74206973737565206d6f7265207468616e206361702e0000000000604482015290519081900360640190fd5b5050565b600160a060020a031660009081526066602052604090205490565b611166611331565b6111a8576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b603354604051600091600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36033805473ffffffffffffffffffffffffffffffffffffffff19169055565b61113f8282611f50565b611211611331565b611253576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010860205260409020805460ff1916911515919091179055565b603354600160a060020a031690565b611296611331565b6112d8576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b60005b815181101561113f57600161010860008484815181106112f757fe5b602090810291909101810151600160a060020a03168252810191909152604001600020805460ff19169115159190911790556001016112db565b603354600090600160a060020a03166113486117a1565b600160a060020a031614905090565b60ce8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b2c5780601f10610b0157610100808354040283529160200191610b2c565b6101025481565b6000610b4b6113cc6117a1565b84610d8b8560405180606001604052806025815260200161252f60259139606760006113f66117a1565b600160a060020a03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611c1116565b336000908152610109602052604081205460ff161580156114685750600160a060020a0383166000908152610109602052604090205460ff16155b8015611485575033600090815261010a602052604090205460ff16155b6114995761149433848461189d565b610b4b565b610b4b338484611a01565b6114ac611331565b6114ee576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b610106805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b61010a6020526000908152604090205460ff1681565b611544611331565b611586576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b600160a060020a0391909116600090815261010960205260409020805460ff1916911515919091179055565b6101055481565b600054610100900460ff16806115d257506115d2611897565b806115e0575060005460ff16155b61161e5760405160e560020a62461bcd02815260040180806020018281038252602e815260200180612417602e913960400191505060405180910390fd5b600054610100900460ff16158015611649576000805460ff1961ff0019909116610100171660011790555b6033805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384811691909117918290556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3801561113f576000805461ff00191690555050565b60008060006116d56101025485611fcb90919063ffffffff16565b92506116ed6101035485611fcb90919063ffffffff16565b91506117056101045485611fcb90919063ffffffff16565b929491935050565b6101096020526000908152604090205460ff1681565b600160a060020a03918216600090815260676020908152604080832093909416825291909152205490565b611756611331565b611798576040805160e560020a62461bcd02815260206004820181905260248201526000805160206123f7833981519152604482015290519081900360640190fd5b610da181611e07565b3390565b600160a060020a0383166117ed5760405160e560020a62461bcd0281526004018080602001828103825260248152602001806124af6024913960400191505060405180910390fd5b600160a060020a0382166118355760405160e560020a62461bcd02815260040180806020018281038252602281526020018061236d6022913960400191505060405180910390fd5b600160a060020a03808416600081815260676020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b303b1590565b600160a060020a0383166118e55760405160e560020a62461bcd02815260040180806020018281038252602581526020018061248a6025913960400191505060405180910390fd5b600160a060020a03821661192d5760405160e560020a62461bcd0281526004018080602001828103825260238152602001806123026023913960400191505060405180910390fd5b611970816040518060600160405280602681526020016123b060269139600160a060020a038616600090815260666020526040902054919063ffffffff611c1116565b600160a060020a0380851660009081526066602052604080822093909355908416815220546119a5908263ffffffff611cab16565b600160a060020a0380841660008181526066602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600160a060020a038316611a495760405160e560020a62461bcd02815260040180806020018281038252602581526020018061248a6025913960400191505060405180910390fd5b600160a060020a038216611a915760405160e560020a62461bcd0281526004018080602001828103825260238152602001806123026023913960400191505060405180910390fd5b6000806000611a9f846116ba565b919450925090506000611aca82611abe8581898963ffffffff611ffc16565b9063ffffffff611ffc16565b61010654909150611af5908890600160a060020a0316611af0878663ffffffff611cab16565b61189d565b611aff8784611d08565b611b0a87878361189d565b61010654604080517f8cb3c661000000000000000000000000000000000000000000000000000000008152600481018790529051600160a060020a0390921691638cb3c6619160248082019260009290919082900301818387803b158015611b7157600080fd5b505af1158015611b85573d6000803e3d6000fd5b505061010654604080517fa80a96f0000000000000000000000000000000000000000000000000000000008152600481018790529051600160a060020a03909216935063a80a96f0925060248082019260009290919082900301818387803b158015611bf057600080fd5b505af1158015611c04573d6000803e3d6000fd5b5050505050505050505050565b60008184841115611ca35760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c68578181015183820152602001611c50565b50505050905090810190601f168015611c955780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610d27576040805160e560020a62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600160a060020a038216611d505760405160e560020a62461bcd0281526004018080602001828103825260218152602001806124696021913960400191505060405180910390fd5b611d938160405180606001604052806022815260200161232560229139600160a060020a038516600090815260666020526040902054919063ffffffff611c1116565b600160a060020a038316600090815260666020526040902055606854611dbf908263ffffffff611ffc16565b606855604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a038116611e4f5760405160e560020a62461bcd0281526004018080602001828103825260268152602001806123476026913960400191505060405180910390fd5b603354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36033805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b611ec182611143565b15611f005760405160e560020a62461bcd02815260040180806020018281038252602e8152602001806124d3602e913960400191505060405180910390fd5b600160a060020a0382166000908152610108602052604090205460ff1615611f4657611f4182611f3c610105548461203e90919063ffffffff16565b612073565b61113f565b61113f8282612073565b611f5a8282611d08565b61113f82611f666117a1565b610d8b8460405180606001604052806024815260200161244560249139600160a060020a038816600090815260676020526040812090611fa46117a1565b600160a060020a03168152602081019190915260400160002054919063ffffffff611c1116565b600082611fda57506000610b4f565b610d27612710611ff0858563ffffffff61216816565b9063ffffffff6121c416565b6000610d2783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c11565b60008261204d57506000610b4f565b81612059575081610b4f565b610d276120668484611fcb565b849063ffffffff611cab16565b600160a060020a0382166120d1576040805160e560020a62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6068546120e4908263ffffffff611cab16565b606855600160a060020a038216600090815260666020526040902054612110908263ffffffff611cab16565b600160a060020a03831660008181526066602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008261217757506000610b4f565b8282028284828161218457fe5b0414610d275760405160e560020a62461bcd0281526004018080602001828103825260218152602001806123d66021913960400191505060405180910390fd5b6000610d2783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836122535760405160e560020a62461bcd028152602060048201818152835160248401528351909283926044909101919085019080838360008315611c68578181015183820152602001611c50565b50600083858161225f57fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106122aa57805160ff19168380011785556122d7565b828001600101855582156122d7579182015b828111156122d75782518255916020019190600101906122bc565b506122e39291506122e7565b5090565b610b3491905b808211156122e357600081556001016122ed56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735265636569766572206d757374206e6f742068617665206265656e2061697264726f7070656420746f6b656e732e4d75737420686176652073616d65206e756d626572206f662061646472657373657320617320616d6f756e74732e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820304da08c7529bff14b1113797b2e71d00d37328793a41b68b31503bfdb585c1d64736f6c63430005100032
Deployed Bytecode Sourcemap
36818:4663:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36818:4663:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37016:17;;;:::i;:::-;;;;;;;;;;;;;;;;21024: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;21024:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13909:152;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13909:152:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;20768:186;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20768:186:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;20768:186:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;20768: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;20768:186:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;20768:186:0;;;;;;;;-1:-1:-1;20768:186:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;20768:186:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;20768: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;20768:186:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;20768:186:0;;-1:-1:-1;;;20768:186:0;;;;;-1:-1:-1;20768:186:0;;-1:-1:-1;20768:186:0:i;:::-;;12930:91;;;:::i;38934:581::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38934:581:0;;;;;;;;;;;;;;;;;:::i;21876:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15246:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15246:210:0;;;;;;;;:::i;20078:83::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20078:83:0;;:::i;38211:137::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38211:137:0;;;;;;;;;;:::i;37108:29::-;;;:::i;36991:18::-;;;:::i;37364:710::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;37364:710:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;37364:710:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;37364: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;37364:710:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;37364:710:0;;;;;;;;-1:-1:-1;37364:710:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;37364:710:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;37364: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;37364:710:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;37364:710:0;;-1:-1:-1;;37364:710:0;;;;;-1:-1:-1;;;37364:710:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37364:710:0;;;;;;;;;;;;:::i;39861:453::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39861:453:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;39861:453:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39861: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;39861:453:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39861:453:0;;;;;;;;-1:-1:-1;39861:453:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;39861:453:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39861: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;39861:453:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39861:453:0;;-1:-1:-1;39861:453:0;;-1:-1:-1;;;;;39861:453:0:i;13084:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13084:110:0;-1:-1:-1;;;;;13084:110:0;;:::i;23686:140::-;;;:::i;20223:103::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20223:103:0;;;;;;;;:::i;39523:121::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;39523:121:0;;;;;;;;;;:::i;22873:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22873:79:0;;;;;;;;;;;;;;39652:201;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39652:201:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;39652:201:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;39652: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;39652:201:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;39652:201:0;;-1:-1:-1;39652:201:0;;-1:-1:-1;;;;;39652:201:0:i;23239:94::-;;;:::i;21226:87::-;;;:::i;36967:17::-;;;:::i;15959:261::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15959:261:0;;;;;;;;:::i;38611:315::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38611:315:0;;;;;;;;:::i;40322:90::-;;;:::i;37306:49::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37306:49:0;-1:-1:-1;;;;;37306:49:0;;:::i;38082:121::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38082:121:0;;;;;;;;;;:::i;37040:19::-;;;:::i;22647:145::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22647:145:0;-1:-1:-1;;;;;22647:145:0;;:::i;38356:247::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38356:247:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;37256:41;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37256:41:0;-1:-1:-1;;;;;37256:41:0;;:::i;13628:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13628:134:0;;;;;;;;;;:::i;23981:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23981:109:0;-1:-1:-1;;;;;23981:109:0;;:::i;37016:17::-;;;;:::o;21024:83::-;21094:5;21087:12;;;;;;;;-1:-1:-1;;21087:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21061:13;;21087:12;;21094:5;;21087:12;;21094:5;21087:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21024:83;;:::o;13909:152::-;13975:4;13992:39;14001:12;:10;:12::i;:::-;14015:7;14024:6;13992:8;:39::i;:::-;-1:-1:-1;14049:4:0;13909:152;;;;;:::o;20768: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;20876:12;;;;:5;;:12;;;;;:::i;:::-;-1:-1:-1;20899:16:0;;;;:7;;:16;;;;;:::i;:::-;-1:-1:-1;20926:9:0;:20;;-1:-1:-1;;20926:20:0;;;;;;;1296:57;;;;1340:5;1325:20;;-1:-1:-1;;1325:20:0;;;1296:57;20768:186;;;;:::o;12930:91::-;13001:12;;12930:91;:::o;38934:581::-;-1:-1:-1;;;;;39039:17:0;;39020:4;39039:17;;;:9;:17;;;;;;;;39038:18;:43;;;;-1:-1:-1;;;;;;39061:20:0;;;;;;:9;:20;;;;;;;;39060:21;39038:43;:73;;;;-1:-1:-1;;;;;;39086:25:0;;;;;;:17;:25;;;;;;;;39085:26;39038:73;39037:186;;39187:36;39197:6;39205:9;39216:6;39187:9;:36::i;:::-;39037:186;;;39128:43;39145:6;39153:9;39164:6;39128:16;:43::i;:::-;39255:10;39238:28;;;;:16;:28;;;;;;;;39234:45;;;-1:-1:-1;39275:4:0;39268:11;;39234:45;39290:195;39322:10;39347:127;39430:6;39347:127;;;;;;;;;;;;;;;;;:78;39375:6;39400:10;39347:9;:78::i;:::-;:82;:127;;:82;:127;:::i;:::-;39290:7;:195::i;:::-;;39503:4;39496:11;;38934:581;;;;;;:::o;21876:83::-;21942:9;;;;21876:83;:::o;15246:210::-;15326:4;15343:83;15352:12;:10;:12::i;:::-;15366:7;15375:50;15414:10;15375:11;:25;15387:12;:10;:12::i;:::-;-1:-1:-1;;;;;15375:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;15375:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;:::-;15343:8;:83::i;20078:::-;20126:27;20132:12;:10;:12::i;:::-;20146:6;20126:5;:27::i;:::-;20078:83;:::o;38211:137::-;23085:9;:7;:9::i;:::-;23077:54;;;;;-1:-1:-1;;;;;23077:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23077:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;38305:26:0;;;;;;;;:17;:26;;;;;:35;;-1:-1:-1;;38305:35:0;;;;;;;;;;38211:137::o;37108:29::-;;;;;;;;;:::o;36991:18::-;;;;:::o;37364: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;37603:30;37622:10;37603:18;:30::i;:::-;37646:5;:14;;;37671:6;:16;;;37698:5;:14;;;37723:7;:18;;;37754:11;:26;;-1:-1:-1;;37754:26:0;-1:-1:-1;;;;;37754:26:0;;;;;;;;;;37811:11;;-1:-1:-1;37793:31:0;;;:9;:31;;;;;;;;:38;;-1:-1:-1;;37793:38:0;;;-1:-1:-1;37793:38:0;;;;;;37867:11;;;;;37842:38;;:16;:38;;;;;:45;;;;;;;;37900:48;37925:4;37931:6;37939:8;37900:24;:48::i;:::-;38040:26;38059:6;38040:18;:26::i;:::-;1300:14;1296:57;;;1340:5;1325:20;;-1:-1:-1;;1325:20:0;;;1296:57;37364:710;;;;;;;;;;:::o;39861:453::-;23085:9;:7;:9::i;:::-;23077:54;;;;;-1:-1:-1;;;;;23077:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23077:54:0;;;;;;;;;;;;;;;39985:7;:14;39965:9;:16;:34;39957:93;;;;-1:-1:-1;;;;;39957:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40070:17;;;;;;;40069:18;40061:49;;;;;-1:-1:-1;;;;;40061:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40126:6;40121:103;40140:9;:16;40136:1;:20;40121:103;;;40178:34;40187:9;40197:1;40187:12;;;;;;;;;;;;;;40201:7;40209:1;40201:10;;;;;;;;;;;;;;40178:8;:34::i;:::-;40158:3;;40121:103;;;;40259:15;40242:13;:11;:13::i;:::-;:32;;40234:72;;;;;-1:-1:-1;;;;;40234:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39861:453;;:::o;13084:110::-;-1:-1:-1;;;;;13168:18:0;13141:7;13168:18;;;:9;:18;;;;;;;13084:110::o;23686:140::-;23085:9;:7;:9::i;:::-;23077:54;;;;;-1:-1:-1;;;;;23077:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23077:54:0;;;;;;;;;;;;;;;23769:6;;23748:40;;23785:1;;-1:-1:-1;;;;;23769:6:0;;23748:40;;23785:1;;23748:40;23799:6;:19;;-1:-1:-1;;23799:19:0;;;23686:140::o;20223:103::-;20292:26;20302:7;20311:6;20292:9;:26::i;39523:121::-;23085:9;:7;:9::i;:::-;23077:54;;;;;-1:-1:-1;;;;;23077:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23077:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;39606:24:0;;;;;;;;:14;:24;;;;;:30;;-1:-1:-1;;39606:30:0;;;;;;;;;;39523:121::o;22873:79::-;22938:6;;-1:-1:-1;;;;;22938:6:0;22873:79;:::o;39652:201::-;23085:9;:7;:9::i;:::-;23077:54;;;;;-1:-1:-1;;;;;23077:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23077:54:0;;;;;;;;;;;;;;;39747:6;39742:104;39761:9;:16;39757:1;:20;39742:104;;;39830:4;39799:14;:28;39814:9;39824:1;39814:12;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39799:28:0;;;;;;;;;;;-1:-1:-1;39799:28:0;:35;;-1:-1:-1;;39799:35:0;;;;;;;;;;-1:-1:-1;39779:3:0;39742:104;;23239:94;23319:6;;23279:4;;-1:-1:-1;;;;;23319:6:0;23303:12;:10;:12::i;:::-;-1:-1:-1;;;;;23303:22:0;;23296:29;;23239:94;:::o;21226:87::-;21298:7;21291:14;;;;;;;;-1:-1:-1;;21291:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21265:13;;21291:14;;21298:7;;21291:14;;21298:7;21291:14;;;;;;;;;;;;;;;;;;;;;;;;36967:17;;;;:::o;15959:261::-;16044:4;16061:129;16070:12;:10;:12::i;:::-;16084:7;16093:96;16132:15;16093:96;;;;;;;;;;;;;;;;;:11;:25;16105:12;:10;:12::i;:::-;-1:-1:-1;;;;;16093:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;16093:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;38611:315::-;38706:10;38677:4;38696:21;;;:9;:21;;;;;;;;38695:22;:47;;;;-1:-1:-1;;;;;;38722:20:0;;;;;;:9;:20;;;;;;;;38721:21;38695:47;:81;;;;-1:-1:-1;38765:10:0;38747:29;;;;:17;:29;;;;;;;;38746:30;38695:81;38694:202;;38856:40;38866:10;38878:9;38889:6;38856:9;:40::i;:::-;38694:202;;;38793:47;38810:10;38822:9;38833:6;38793:16;:47::i;40322:90::-;23085:9;:7;:9::i;:::-;23077:54;;;;;-1:-1:-1;;;;;23077:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23077:54:0;;;;;;;;;;;;;;;40380:17;:24;;-1:-1:-1;;40380:24:0;;;;;40322:90::o;37306:49::-;;;;;;;;;;;;;;;:::o;38082:121::-;23085:9;:7;:9::i;:::-;23077:54;;;;;-1:-1:-1;;;;;23077:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23077:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;38168:18:0;;;;;;;;:9;:18;;;;;:27;;-1:-1:-1;;38168:27:0;;;;;;;;;;38082:121::o;37040:19::-;;;;:::o;22647: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;22713:6;:15;;-1:-1:-1;;22713:15:0;-1:-1:-1;;;;;22713:15:0;;;;;;;;;;;22744:40;;22777:6;;;-1:-1:-1;;22744:40:0;;-1:-1:-1;;22744:40:0;1300:14;1296:57;;;1340:5;1325:20;;-1:-1:-1;;1325:20:0;;;22647:145;;:::o;38356:247::-;38408:8;38418:9;38429:13;38461:18;38473:5;;38461;:11;;:18;;;;:::i;:::-;38455:24;;38497:19;38509:6;;38497:5;:11;;:19;;;;:::i;:::-;38490:26;;38538:18;38550:5;;38538;:11;;:18;;;;:::i;:::-;38356:247;;;;-1:-1:-1;;38356:247:0:o;37256:41::-;;;;;;;;;;;;;;;:::o;13628:134::-;-1:-1:-1;;;;;13727:18:0;;;13700:7;13727:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;13628:134::o;23981:109::-;23085:9;:7;:9::i;:::-;23077:54;;;;;-1:-1:-1;;;;;23077:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23077:54:0;;;;;;;;;;;;;;;24054:28;24073:8;24054:18;:28::i;2868:98::-;2948:10;2868:98;:::o;18890:338::-;-1:-1:-1;;;;;18984:19:0;;18976:68;;;;-1:-1:-1;;;;;18976:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19063:21:0;;19055:68;;;;-1:-1:-1;;;;;19055:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19136:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;19188:32;;;;;;;;;;;;;;;;;18890:338;;;:::o;1447:508::-;1864:4;1910:17;1942:7;1447:508;:::o;16710:471::-;-1:-1:-1;;;;;16808:20:0;;16800:70;;;;-1:-1:-1;;;;;16800:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16889:23:0;;16881:71;;;;-1:-1:-1;;;;;16881:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16985;17007:6;16985:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16985:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;16965:17:0;;;;;;;:9;:17;;;;;;:91;;;;17090:20;;;;;;;:32;;17115:6;17090:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;17067:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;17138:35;;;;;;;17067:20;;17138:35;;;;;;;;;;;;;16710:471;;;:::o;40749:729::-;-1:-1:-1;;;;;40851:20:0;;40843:70;;;;-1:-1:-1;;;;;40843:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40932:23:0;;40924:71;;;;-1:-1:-1;;;;;40924:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41009:14;41025:15;41042:19;41065:17;41075:6;41065:9;:17::i;:::-;41008:74;;-1:-1:-1;41008:74:0;-1:-1:-1;41008:74:0;-1:-1:-1;41093:21:0;41117:57;41008:74;41117:37;41008:74;41117:37;:6;41008:74;41117:21;:10;:21;:::i;:::-;:25;:37;:25;:37;:::i;:57::-;41213:11;;41093:81;;-1:-1:-1;41187:70:0;;41197:6;;-1:-1:-1;;;;;41213:11:0;41227:29;:9;41241:14;41227:29;:13;:29;:::i;:::-;41187:9;:70::i;:::-;41268:25;41274:6;41282:10;41268:5;:25::i;:::-;41304:46;41314:6;41322:9;41333:16;41304:9;:46::i;:::-;41361:11;;:44;;;;;;;;;;;;;;-1:-1:-1;;;;;41361:11:0;;;;:33;;:44;;;;;:11;;:44;;;;;;;;:11;;:44;;;5:2:-1;;;;30:1;27;20:12;5:2;41361:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;41416:11:0;;:54;;;;;;;;;;;;;;-1:-1:-1;;;;;41416:11:0;;;;-1:-1:-1;41416:38:0;;-1:-1:-1;41416:54:0;;;;;:11;;:54;;;;;;;;:11;;:54;;;5:2:-1;;;;30:1;27;20:12;5:2;41416:54:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;41416:54:0;;;;40749:729;;;;;;;:::o;7765:192::-;7851:7;7887:12;7879:6;;;;7871:29;;;;-1:-1:-1;;;;;7871: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;7871:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7923:5:0;;;7765:192::o;6836:181::-;6894:7;6926:5;;;6950:6;;;;6942:46;;;;;-1:-1:-1;;;;;6942:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18102:348;-1:-1:-1;;;;;18178:21:0;;18170:67;;;;-1:-1:-1;;;;;18170:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18271:68;18294:6;18271:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18271:18:0;;;;;;:9;:18;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;18250:18:0;;;;;;:9;:18;;;;;:89;18365:12;;:24;;18382:6;18365:24;:16;:24;:::i;:::-;18350:12;:39;18405:37;;;;;;;;18431:1;;-1:-1:-1;;;;;18405:37:0;;;;;;;;;;;;18102:348;;:::o;24196:229::-;-1:-1:-1;;;;;24270:22:0;;24262:73;;;;-1:-1:-1;;;;;24262:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24372:6;;24351:38;;-1:-1:-1;;;;;24351:38:0;;;;24372:6;;24351:38;;24372:6;;24351:38;24400:6;:17;;-1:-1:-1;;24400:17:0;-1:-1:-1;;;;;24400:17:0;;;;;;;;;;24196:229::o;40420:321::-;40497:19;40507:8;40497:9;:19::i;:::-;:24;40489:83;;;;-1:-1:-1;;;;;40489:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40587:24:0;;;;;;:14;:24;;;;;;;;40583:151;;;40628:38;40634:8;40644:21;40657:7;;40644:6;:12;;:21;;;;:::i;:::-;40628:5;:38::i;:::-;40583:151;;;40699:23;40705:8;40715:6;40699:5;:23::i;19414:232::-;19486:22;19492:7;19501:6;19486:5;:22::i;:::-;19519:119;19528:7;19537:12;:10;:12::i;:::-;19551:86;19590:6;19551:86;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19551:20:0;;;;;;:11;:20;;;;;;19572:12;:10;:12::i;:::-;-1:-1:-1;;;;;19551:34:0;;;;;;;;;;;;-1:-1:-1;19551:34:0;;;:86;;:38;:86;:::i;24582:151::-;24639:4;24660:8;24656:22;;-1:-1:-1;24677:1:0;24670:8;;24656:22;24696:29;24568:5;24696:11;:3;24704:2;24696:11;:7;:11;:::i;:::-;:15;:29;:15;:29;:::i;7292:136::-;7350:7;7377:43;7381:1;7384;7377:43;;;;;;;;;;;;;;;;;:3;:43::i;24741:179::-;24798:4;24819:8;24815:22;;-1:-1:-1;24836:1:0;24829:8;;24815:22;24852:7;24848:23;;-1:-1:-1;24868:3:0;24861:10;;24848:23;24889;24897:14;24903:3;24908:2;24897:5;:14::i;:::-;24889:3;;:23;:7;:23;:::i;17462:308::-;-1:-1:-1;;;;;17538:21:0;;17530:65;;;;;-1:-1:-1;;;;;17530:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17623:12;;:24;;17640:6;17623:24;:16;:24;:::i;:::-;17608:12;:39;-1:-1:-1;;;;;17679:18:0;;;;;;:9;:18;;;;;;:30;;17702:6;17679:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;17658:18:0;;;;;;:9;:18;;;;;;;;:51;;;;17725:37;;;;;;;17658:18;;;;17725:37;;;;;;;;;;17462:308;;:::o;8208:471::-;8266:7;8511:6;8507:47;;-1:-1:-1;8541:1:0;8534:8;;8507:47;8578:5;;;8582:1;8578;:5;:1;8602:5;;;;;:10;8594:56;;;;-1:-1:-1;;;;;8594:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9147:132;9205:7;9232:39;9236:1;9239;9232:39;;;;;;;;;;;;;;;;;9895:7;9997:12;9990:5;9982:28;;;;-1:-1:-1;;;;;9982:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;9982:28:0;;10021:9;10037:1;10033;:5;;;;;;;9809:345;-1:-1:-1;;;;;9809:345:0:o;36818:4663::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36818:4663:0;;;-1:-1:-1;36818:4663:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://304da08c7529bff14b1113797b2e71d00d37328793a41b68b31503bfdb585c1d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
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.