More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 4,937 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Governance | 18666236 | 339 days ago | IN | 0 ETH | 0.00092705 | ||||
Exit | 16215040 | 683 days ago | IN | 0 ETH | 0.00346128 | ||||
Get Reward | 15210445 | 830 days ago | IN | 0 ETH | 0.00197159 | ||||
Withdraw | 14718232 | 911 days ago | IN | 0 ETH | 0.0168012 | ||||
Get Reward | 14596343 | 930 days ago | IN | 0 ETH | 0.00477485 | ||||
Withdraw | 14596341 | 930 days ago | IN | 0 ETH | 0.00335412 | ||||
Withdraw | 14516972 | 942 days ago | IN | 0 ETH | 0.0096775 | ||||
Get Reward | 14499613 | 945 days ago | IN | 0 ETH | 0.00813713 | ||||
Exit | 13888785 | 1040 days ago | IN | 0 ETH | 0.04134637 | ||||
Withdraw | 13822083 | 1050 days ago | IN | 0 ETH | 0.00621748 | ||||
Get Reward | 13786719 | 1055 days ago | IN | 0 ETH | 0.00801916 | ||||
Get Reward | 13251618 | 1139 days ago | IN | 0 ETH | 0.01307436 | ||||
Exit | 13236567 | 1142 days ago | IN | 0 ETH | 0.00478451 | ||||
Exit | 13182127 | 1150 days ago | IN | 0 ETH | 0.03152295 | ||||
Stake | 13098780 | 1163 days ago | IN | 0 ETH | 0.02382018 | ||||
Exit | 13024825 | 1175 days ago | IN | 0 ETH | 0.01395706 | ||||
Get Reward | 12907236 | 1193 days ago | IN | 0 ETH | 0.00141553 | ||||
Withdraw | 12889919 | 1196 days ago | IN | 0 ETH | 0.00466804 | ||||
Withdraw | 12724358 | 1222 days ago | IN | 0 ETH | 0.00622368 | ||||
Withdraw | 12700711 | 1225 days ago | IN | 0 ETH | 0.00170853 | ||||
Stake | 12665729 | 1231 days ago | IN | 0 ETH | 0.011004 | ||||
Get Reward | 12625528 | 1237 days ago | IN | 0 ETH | 0.00052187 | ||||
Withdraw | 12496309 | 1257 days ago | IN | 0 ETH | 0.00797458 | ||||
Exit | 12356159 | 1279 days ago | IN | 0 ETH | 0.01188682 | ||||
Exit | 12351499 | 1279 days ago | IN | 0 ETH | 0.00702403 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
16215040 | 683 days ago | 0 ETH | |||||
16215040 | 683 days ago | 0 ETH | |||||
16215040 | 683 days ago | 0 ETH | |||||
16215040 | 683 days ago | 0 ETH | |||||
16215040 | 683 days ago | 0 ETH | |||||
16215040 | 683 days ago | 0 ETH | |||||
16215040 | 683 days ago | 0 ETH | |||||
16215040 | 683 days ago | 0 ETH | |||||
15210445 | 830 days ago | 0 ETH | |||||
15210445 | 830 days ago | 0 ETH | |||||
15210445 | 830 days ago | 0 ETH | |||||
15210445 | 830 days ago | 0 ETH | |||||
15210445 | 830 days ago | 0 ETH | |||||
14718232 | 911 days ago | 0 ETH | |||||
14718232 | 911 days ago | 0 ETH | |||||
14718232 | 911 days ago | 0 ETH | |||||
14718232 | 911 days ago | 0 ETH | |||||
14596343 | 930 days ago | 0 ETH | |||||
14596343 | 930 days ago | 0 ETH | |||||
14596343 | 930 days ago | 0 ETH | |||||
14596343 | 930 days ago | 0 ETH | |||||
14596341 | 930 days ago | 0 ETH | |||||
14596341 | 930 days ago | 0 ETH | |||||
14596341 | 930 days ago | 0 ETH | |||||
14596341 | 930 days ago | 0 ETH |
Loading...
Loading
Contract Name:
UniswapReward
Compiler Version
v0.5.5+commit.47a71e8f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-09-16 */ /*** * ██████╗ ███████╗ ██████╗ ██████╗ * ██╔══██╗██╔════╝██╔════╝ ██╔═══██╗ * ██║ ██║█████╗ ██║ ███╗██║ ██║ * ██║ ██║██╔══╝ ██║ ██║██║ ██║ * ██████╔╝███████╗╚██████╔╝╚██████╔╝ * ╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝ * * https://dego.finance * MIT License * =========== * * Copyright (c) 2020 dego * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE */ // File: @openzeppelin/contracts/math/Math.sol pragma solidity ^0.5.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.5.0; /** * @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; } } // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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 { // 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; } } // File: @openzeppelin/contracts/ownership/Ownable.sol pragma solidity ^0.5.0; /** * @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 applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @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; } } // File: contracts/interface/IERC20.sol pragma solidity ^0.5.0; /** * @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); function mint(address account, uint amount) external; /** * @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); } // File: contracts/interface/IPlayerBook.sol pragma solidity ^0.5.0; interface IPlayerBook { function settleReward( address from,uint256 amount ) external returns (uint256); function bindRefer( address from,string calldata affCode ) external returns (bool); function hasRefer(address from) external returns(bool); } // File: contracts/interface/IPool.sol pragma solidity ^0.5.0; interface IPool { function totalSupply( ) external view returns (uint256); function balanceOf( address player ) external view returns (uint256); } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.5.5; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } // File: contracts/library/SafeERC20.sol pragma solidity ^0.5.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; bytes4 private constant SELECTOR = bytes4(keccak256(bytes('transfer(address,uint256)'))); function safeTransfer(IERC20 token, address to, uint256 value) internal { (bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(SELECTOR, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'SafeERC20: TRANSFER_FAILED'); } // function safeTransfer(IERC20 token, address to, uint256 value) internal { // callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); // } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts/library/DegoMath.sol pragma solidity ^0.5.0; library DegoMath { /** * Calculate sqrt (x) rounding down, where x is unsigned 256-bit integer * number. * * @param x unsigned 256-bit integer number * @return unsigned 128-bit integer number */ function sqrt(uint256 x) public pure returns (uint256 y) { uint256 z = (x + 1) / 2; y = x; while (z < y) { y = z; z = (x / z + z) / 2; } } } // File: contracts/library/Governance.sol pragma solidity ^0.5.0; contract Governance { address public _governance; constructor() public { _governance = tx.origin; } event GovernanceTransferred(address indexed previousOwner, address indexed newOwner); modifier onlyGovernance { require(msg.sender == _governance, "not governance"); _; } function setGovernance(address governance) public onlyGovernance { require(governance != address(0), "new governance the zero address"); emit GovernanceTransferred(_governance, governance); _governance = governance; } } // File: contracts/interface/IPowerStrategy.sol pragma solidity ^0.5.0; interface IPowerStrategy { function lpIn(address sender, uint256 amount) external; function lpOut(address sender, uint256 amount) external; function getPower(address sender) view external returns (uint256); } // File: contracts/library/LPTokenWrapper.sol pragma solidity ^0.5.0; contract LPTokenWrapper is IPool,Governance { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public _lpToken = IERC20(0x23f7D99C169dEe26b215EdF806DA8fA0706C4EcC); address public _playerBook = address(0x4cc945E7b97fED1EAD961Cd83eD622Fe48BBf3a0); uint256 private _totalSupply; mapping(address => uint256) private _balances; uint256 private _totalPower; mapping(address => uint256) private _powerBalances; address public _powerStrategy = address(0x0); function totalSupply() public view returns (uint256) { return _totalSupply; } function setPowerStragegy(address strategy) public onlyGovernance{ _powerStrategy = strategy; } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function balanceOfPower(address account) public view returns (uint256) { return _powerBalances[account]; } function totalPower() public view returns (uint256) { return _totalPower; } function stake(uint256 amount, string memory affCode) public { _totalSupply = _totalSupply.add(amount); _balances[msg.sender] = _balances[msg.sender].add(amount); if( _powerStrategy != address(0x0)){ _totalPower = _totalPower.sub(_powerBalances[msg.sender]); IPowerStrategy(_powerStrategy).lpIn(msg.sender, amount); _powerBalances[msg.sender] = IPowerStrategy(_powerStrategy).getPower(msg.sender); _totalPower = _totalPower.add(_powerBalances[msg.sender]); }else{ _totalPower = _totalSupply; _powerBalances[msg.sender] = _balances[msg.sender]; } _lpToken.safeTransferFrom(msg.sender, address(this), amount); if (!IPlayerBook(_playerBook).hasRefer(msg.sender)) { IPlayerBook(_playerBook).bindRefer(msg.sender, affCode); } } function withdraw(uint256 amount) public { require(amount > 0, "amout > 0"); _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); if( _powerStrategy != address(0x0)){ _totalPower = _totalPower.sub(_powerBalances[msg.sender]); IPowerStrategy(_powerStrategy).lpOut(msg.sender, amount); _powerBalances[msg.sender] = IPowerStrategy(_powerStrategy).getPower(msg.sender); _totalPower = _totalPower.add(_powerBalances[msg.sender]); }else{ _totalPower = _totalSupply; _powerBalances[msg.sender] = _balances[msg.sender]; } _lpToken.safeTransfer( msg.sender, amount); } } // File: contracts/reward/UniswapReward.sol pragma solidity ^0.5.0; contract UniswapReward is LPTokenWrapper{ using SafeERC20 for IERC20; IERC20 public _dego = IERC20(0x88EF27e69108B2633F8E1C184CC37940A075cC02); address public _teamWallet = 0x3D0a845C5ef9741De999FC068f70E2048A489F2b; address public _rewardPool = 0xEA6dEc98e137a87F78495a8386f7A137408f7722; uint256 public constant DURATION = 7 days; uint256 public _initReward = 2100000 * 1e18; uint256 public _startTime = now + 365 days; uint256 public _periodFinish = 0; uint256 public _rewardRate = 0; uint256 public _lastUpdateTime; uint256 public _rewardPerTokenStored; uint256 public _teamRewardRate = 500; uint256 public _poolRewardRate = 1000; uint256 public _baseRate = 10000; uint256 public _punishTime = 3 days; mapping(address => uint256) public _userRewardPerTokenPaid; mapping(address => uint256) public _rewards; mapping(address => uint256) public _lastStakedTime; bool public _hasStart = false; event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); modifier updateReward(address account) { _rewardPerTokenStored = rewardPerToken(); _lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { _rewards[account] = earned(account); _userRewardPerTokenPaid[account] = _rewardPerTokenStored; } _; } /* Fee collection for any other token */ function seize(IERC20 token, uint256 amount) external onlyGovernance{ require(token != _dego, "reward"); require(token != _lpToken, "stake"); token.safeTransfer(_governance, amount); } function setTeamRewardRate( uint256 teamRewardRate ) public onlyGovernance{ _teamRewardRate = teamRewardRate; } function setPoolRewardRate( uint256 poolRewardRate ) public onlyGovernance{ _poolRewardRate = poolRewardRate; } function setWithDrawPunishTime( uint256 punishTime ) public onlyGovernance{ _punishTime = punishTime; } function lastTimeRewardApplicable() public view returns (uint256) { return Math.min(block.timestamp, _periodFinish); } function rewardPerToken() public view returns (uint256) { if (totalPower() == 0) { return _rewardPerTokenStored; } return _rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(_lastUpdateTime) .mul(_rewardRate) .mul(1e18) .div(totalPower()) ); } function earned(address account) public view returns (uint256) { return balanceOfPower(account) .mul(rewardPerToken().sub(_userRewardPerTokenPaid[account])) .div(1e18) .add(_rewards[account]); } // stake visibility is public as overriding LPTokenWrapper's stake() function function stake(uint256 amount, string memory affCode) public updateReward(msg.sender) checkHalve checkStart { require(amount > 0, "Cannot stake 0"); super.stake(amount, affCode); _lastStakedTime[msg.sender] = now; emit Staked(msg.sender, amount); } function withdraw(uint256 amount) public updateReward(msg.sender) checkHalve checkStart { require(amount > 0, "Cannot withdraw 0"); super.withdraw(amount); emit Withdrawn(msg.sender, amount); } function exit() external { withdraw(balanceOf(msg.sender)); getReward(); } function getReward() public updateReward(msg.sender) checkHalve checkStart { uint256 reward = earned(msg.sender); if (reward > 0) { _rewards[msg.sender] = 0; uint256 fee = IPlayerBook(_playerBook).settleReward(msg.sender, reward); if(fee > 0){ _dego.safeTransfer(_playerBook, fee); } uint256 teamReward = reward.mul(_teamRewardRate).div(_baseRate); if(teamReward>0){ _dego.safeTransfer(_teamWallet, teamReward); } uint256 leftReward = reward.sub(fee).sub(teamReward); uint256 poolReward = 0; //withdraw time check if(now < (_lastStakedTime[msg.sender] + _punishTime) ){ poolReward = leftReward.mul(_poolRewardRate).div(_baseRate); } if(poolReward>0){ _dego.safeTransfer(_rewardPool, poolReward); leftReward = leftReward.sub(poolReward); } if(leftReward>0){ _dego.safeTransfer(msg.sender, leftReward ); } emit RewardPaid(msg.sender, leftReward); } } modifier checkHalve() { if (block.timestamp >= _periodFinish) { _initReward = _initReward.mul(50).div(100); _dego.mint(address(this), _initReward); _rewardRate = _initReward.div(DURATION); _periodFinish = block.timestamp.add(DURATION); emit RewardAdded(_initReward); } _; } modifier checkStart() { require(block.timestamp > _startTime, "not start"); _; } // set fix time to start reward function startReward(uint256 startTime) external onlyGovernance updateReward(address(0)) { require(_hasStart == false, "has started"); _hasStart = true; _startTime = startTime; _rewardRate = _initReward.div(DURATION); _dego.mint(address(this), _initReward); _lastUpdateTime = _startTime; _periodFinish = _startTime.add(DURATION); emit RewardAdded(_initReward); } // //for extra reward function notifyRewardAmount(uint256 reward) external onlyGovernance updateReward(address(0)) { IERC20(_dego).safeTransferFrom(msg.sender, address(this), reward); if (block.timestamp >= _periodFinish) { _rewardRate = reward.div(DURATION); } else { uint256 remaining = _periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(_rewardRate); _rewardRate = reward.add(leftover).div(DURATION); } _lastUpdateTime = block.timestamp; _periodFinish = block.timestamp.add(DURATION); emit RewardAdded(reward); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"earned","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"teamRewardRate","type":"uint256"}],"name":"setTeamRewardRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_rewardPerTokenStored","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_periodFinish","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DURATION","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_governance","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_lpToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_teamWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_poolRewardRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"_lastStakedTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"_userRewardPerTokenPaid","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_rewardRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_lastUpdateTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_dego","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"poolRewardRate","type":"uint256"}],"name":"setPoolRewardRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"_rewards","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_baseRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"punishTime","type":"uint256"}],"name":"setWithDrawPunishTime","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_punishTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"strategy","type":"address"}],"name":"setPowerStragegy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"governance","type":"address"}],"name":"setGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"balanceOfPower","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"startTime","type":"uint256"}],"name":"startReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerToken","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalPower","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_rewardPool","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_hasStart","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"},{"name":"affCode","type":"string"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"seize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_teamRewardRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_powerStrategy","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_playerBook","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_initReward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"user","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"user","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"user","type":"address"},{"indexed":false,"name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"GovernanceTransferred","type":"event"}]
Contract Creation Code
60806040527323f7d99c169dee26b215edf806da8fa0706c4ecc600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550734cc945e7b97fed1ead961cd83ed622fe48bbf3a0600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507388ef27e69108b2633f8e1c184cc37940a075cc02600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550733d0a845c5ef9741de999fc068f70e2048a489f2b600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ea6dec98e137a87f78495a8386f7a137408f7722600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506a01bcb13a657b2638800000600b556301e133804201600c556000600d556000600e556101f46011556103e86012556127106013556203f4806014556000601860006101000a81548160ff021916908315150217905550326000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506141c3806102956000396000f3fe608060405234801561001057600080fd5b50600436106102525760003560e01c80637d6dfb7e11610146578063db3ad22c116100c3578063eb9253c011610087578063eb9253c0146109d8578063ed6525c414610a26578063ee63188114610a44578063f9cff35114610a8e578063fa1acb5c14610ad8578063ffd832c114610af657610252565b8063db3ad22c1461087f578063dc7ced3d1461089d578063e45a98dd146108e7578063e7e4e1f714610909578063e9fad8ee146109ce57610252565b8063aa981e651161010a578063aa981e6514610753578063ab033ea914610797578063bb1b4269146107db578063c909f15214610833578063cd3daf9d1461086157610252565b80637d6dfb7e1461067357806380faa57d146106cb578063927b26b9146106e95780639a6b25a3146107075780639f3fbd2b1461073557610252565b80633c6b16ab116101d457806368fd25cd1161019857806368fd25cd146105675780636adafab51461058557806370a08231146105a357806374f9b464146105fb5780637b4d08121461064557610252565b80633c6b16ab146104615780633d18b9121461048f57806353364da01461049957806356728e9d146104b757806365d82b8a1461050f57610252565b80631be052891161021b5780631be05289146103375780631c2f3e3d1461035557806329d245aa1461039f5780632e1a7d4d146103e957806337e294d51461041757610252565b80628cc262146102575780630ba86f05146102af578063121544b9146102dd5780631407c664146102fb57806318160ddd14610319575b600080fd5b6102996004803603602081101561026d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b14565b6040518082815260200191505060405180910390f35b6102db600480360360208110156102c557600080fd5b8101908080359060200190929190505050610bfb565b005b6102e5610cc9565b6040518082815260200191505060405180910390f35b610303610ccf565b6040518082815260200191505060405180910390f35b610321610cd5565b6040518082815260200191505060405180910390f35b61033f610cdf565b6040518082815260200191505060405180910390f35b61035d610ce6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103a7610d0b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610415600480360360208110156103ff57600080fd5b8101908080359060200190929190505050610d31565b005b61041f6110d4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61048d6004803603602081101561047757600080fd5b81019080803590602001909291905050506110fa565b005b6104976113e1565b005b6104a1611af4565b6040518082815260200191505060405180910390f35b6104f9600480360360208110156104cd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611afa565b6040518082815260200191505060405180910390f35b6105516004803603602081101561052557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b12565b6040518082815260200191505060405180910390f35b61056f611b2a565b6040518082815260200191505060405180910390f35b61058d611b30565b6040518082815260200191505060405180910390f35b6105e5600480360360208110156105b957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b36565b6040518082815260200191505060405180910390f35b610603611b7f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106716004803603602081101561065b57600080fd5b8101908080359060200190929190505050611ba5565b005b6106b56004803603602081101561068957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c73565b6040518082815260200191505060405180910390f35b6106d3611c8b565b6040518082815260200191505060405180910390f35b6106f1611c9e565b6040518082815260200191505060405180910390f35b6107336004803603602081101561071d57600080fd5b8101908080359060200190929190505050611ca4565b005b61073d611d72565b6040518082815260200191505060405180910390f35b6107956004803603602081101561076957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d78565b005b6107d9600480360360208110156107ad57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e80565b005b61081d600480360360208110156107f157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506120a7565b6040518082815260200191505060405180910390f35b61085f6004803603602081101561084957600080fd5b81019080803590602001909291905050506120f0565b005b61086961248d565b6040518082815260200191505060405180910390f35b610887612525565b6040518082815260200191505060405180910390f35b6108a561252f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108ef612555565b604051808215151515815260200191505060405180910390f35b6109cc6004803603604081101561091f57600080fd5b81019080803590602001909291908035906020019064010000000081111561094657600080fd5b82018360208201111561095857600080fd5b8035906020019184600183028401116401000000008311171561097a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612568565b005b6109d6612951565b005b610a24600480360360408110156109ee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061296c565b005b610a2e612c0c565b6040518082815260200191505060405180910390f35b610a4c612c12565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a96612c38565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610ae0612c5e565b6040518082815260200191505060405180910390f35b610afe612c64565b6040518082815260200191505060405180910390f35b6000610bf4601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610be6670de0b6b3a7640000610bd8610bc1601560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bb361248d565b612c6a90919063ffffffff16565b610bca886120a7565b612cb490919063ffffffff16565b612d3e90919063ffffffff16565b612d8890919063ffffffff16565b9050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610cbf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b8060118190555050565b60105481565b600d5481565b6000600354905090565b62093a8081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b33610d3a61248d565b601081905550610d48611c8b565b600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515610e1757610d8d81610b14565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601054601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600d5442101515610f8857610e4b6064610e3d6032600b54612cb490919063ffffffff16565b612d3e90919063ffffffff16565b600b81905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930600b546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610efc57600080fd5b505af1158015610f10573d6000803e3d6000fd5b50505050610f2c62093a80600b54612d3e90919063ffffffff16565b600e81905550610f4862093a8042612d8890919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d600b546040518082815260200191505060405180910390a15b600c5442111515611001576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600082111515611079576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b61108282612e12565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b60006111c861248d565b6010819055506111d6611c8b565b600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415156112a55761121b81610b14565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601054601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6112f4333084600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613306909392919063ffffffff16565b600d54421015156113205761131562093a8083612d3e90919063ffffffff16565b600e81905550611383565b600061133742600d54612c6a90919063ffffffff16565b90506000611350600e5483612cb490919063ffffffff16565b905061137a62093a8061136c8387612d8890919063ffffffff16565b612d3e90919063ffffffff16565b600e8190555050505b42600f819055506113a062093a8042612d8890919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15050565b336113ea61248d565b6010819055506113f8611c8b565b600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415156114c75761143d81610b14565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601054601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600d5442101515611638576114fb60646114ed6032600b54612cb490919063ffffffff16565b612d3e90919063ffffffff16565b600b81905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930600b546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156115ac57600080fd5b505af11580156115c0573d6000803e3d6000fd5b505050506115dc62093a80600b54612d3e90919063ffffffff16565b600e819055506115f862093a8042612d8890919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d600b546040518082815260200191505060405180910390a15b600c54421115156116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006116bc33610b14565b90506000811115611af0576000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166335380a5533846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156117b757600080fd5b505af11580156117cb573d6000803e3d6000fd5b505050506040513d60208110156117e157600080fd5b81019080805190602001909291905050509050600081111561186d5761186c600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b5b600061189860135461188a60115486612cb490919063ffffffff16565b612d3e90919063ffffffff16565b9050600081111561191357611912600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b5b600061193a8261192c8587612c6a90919063ffffffff16565b612c6a90919063ffffffff16565b90506000809050601454601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054014210156119b8576119b56013546119a760125485612cb490919063ffffffff16565b612d3e90919063ffffffff16565b90505b6000811115611a4657611a30600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b611a438183612c6a90919063ffffffff16565b91505b6000821115611a9d57611a9c3383600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b5b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486836040518082815260200191505060405180910390a2505050505b5050565b60125481565b60176020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b600e5481565b600f5481565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611c69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b8060128190555050565b60166020528060005260406000206000915090505481565b6000611c9942600d5461365d565b905090565b60135481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b8060148190555050565b60145481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611e3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611f44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611fe9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f6e657720676f7665726e616e636520746865207a65726f20616464726573730081525060200191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce8060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156121b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b60006121be61248d565b6010819055506121cc611c8b565b600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151561229b5761221181610b14565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601054601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60001515601860009054906101000a900460ff161515141515612326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f686173207374617274656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6001601860006101000a81548160ff02191690831515021790555081600c8190555061236062093a80600b54612d3e90919063ffffffff16565b600e81905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930600b546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561241157600080fd5b505af1158015612425573d6000803e3d6000fd5b50505050600c54600f8190555061244a62093a80600c54612d8890919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d600b546040518082815260200191505060405180910390a15050565b600080612498612525565b14156124a8576010549050612522565b61251f61250e6124b6612525565b612500670de0b6b3a76400006124f2600e546124e4600f546124d6611c8b565b612c6a90919063ffffffff16565b612cb490919063ffffffff16565b612cb490919063ffffffff16565b612d3e90919063ffffffff16565b601054612d8890919063ffffffff16565b90505b90565b6000600554905090565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601860009054906101000a900460ff1681565b3361257161248d565b60108190555061257f611c8b565b600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151561264e576125c481610b14565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601054601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600d54421015156127bf5761268260646126746032600b54612cb490919063ffffffff16565b612d3e90919063ffffffff16565b600b81905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930600b546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561273357600080fd5b505af1158015612747573d6000803e3d6000fd5b5050505061276362093a80600b54612d3e90919063ffffffff16565b600e8190555061277f62093a8042612d8890919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d600b546040518082815260200191505060405180910390a15b600c5442111515612838576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000831115156128b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b6128ba8383613676565b42601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d846040518082815260200191505060405180910390a2505050565b61296261295d33611b36565b610d31565b61296a6113e1565b565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515612a30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515612af6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f726577617264000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515612bbc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f7374616b6500000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b612c086000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b5050565b60115481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b600b5481565b6000612cac83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613d22565b905092915050565b600080831415612cc75760009050612d38565b60008284029050828482811515612cda57fe5b04141515612d33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061414d6021913960400191505060405180910390fd5b809150505b92915050565b6000612d8083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613de4565b905092915050565b6000808284019050838110151515612e08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600081111515612e8a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f616d6f7574203e2030000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b612e9f81600354612c6a90919063ffffffff16565b600381905550612ef781600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612c6a90919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561322957612fe6600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600554612c6a90919063ffffffff16565b600581905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d961455133836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561309557600080fd5b505af11580156130a9573d6000803e3d6000fd5b50505050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635dd9147c336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561314c57600080fd5b505afa158015613160573d6000803e3d6000fd5b505050506040513d602081101561317657600080fd5b8101908080519060200190929190505050600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061321e600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600554612d8890919063ffffffff16565b6005819055506132b6565b600354600581905550600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6133033382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b50565b613406848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613eae565b50505050565b600060608473ffffffffffffffffffffffffffffffffffffffff166040518060400160405280601981526020017f7472616e7366657228616464726573732c75696e743235362900000000000000815250805190602001208585604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310151561353b5780518252602082019150602081019050602083039250613516565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461359d576040519150601f19603f3d011682016040523d82523d6000602084013e6135a2565b606091505b50915091508180156135e257506000815114806135e157508080602001905160208110156135cf57600080fd5b81019080805190602001909291905050505b5b1515613656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f5361666545524332303a205452414e534645525f4641494c454400000000000081525060200191505060405180910390fd5b5050505050565b600081831061366c578161366e565b825b905092915050565b61368b82600354612d8890919063ffffffff16565b6003819055506136e382600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d8890919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515613a15576137d2600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600554612c6a90919063ffffffff16565b600581905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663da562a9833846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561388157600080fd5b505af1158015613895573d6000803e3d6000fd5b50505050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635dd9147c336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561393857600080fd5b505afa15801561394c573d6000803e3d6000fd5b505050506040513d602081101561396257600080fd5b8101908080519060200190929190505050600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613a0a600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600554612d8890919063ffffffff16565b600581905550613aa2565b600354600581905550600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b613af1333084600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613306909392919063ffffffff16565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a526a92b336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015613b9257600080fd5b505af1158015613ba6573d6000803e3d6000fd5b505050506040513d6020811015613bbc57600080fd5b81019080805190602001909291905050501515613d1e57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d66d140733836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613c94578082015181840152602081019050613c79565b50505050905090810190601f168015613cc15780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b158015613ce157600080fd5b505af1158015613cf5573d6000803e3d6000fd5b505050506040513d6020811015613d0b57600080fd5b8101908080519060200190929190505050505b5050565b60008383111582901515613dd1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613d96578082015181840152602081019050613d7b565b50505050905090810190601f168015613dc35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182901515613e92576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613e57578082015181840152602081019050613e3c565b50505050905090810190601f168015613e845780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385811515613ea057fe5b049050809150509392505050565b613ecd8273ffffffffffffffffffffffffffffffffffffffff16614101565b1515613f41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083101515613f925780518252602082019150602081019050602083039250613f6d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613ff4576040519150601f19603f3d011682016040523d82523d6000602084013e613ff9565b606091505b5091509150811515614073576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156140fb5780806020019051602081101561409257600080fd5b810190808051906020019092919050505015156140fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061416e602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561414357506000801b8214155b9250505091905056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a165627a7a72305820ce558296ee9a869032d9039e110fae5da079bc3d294227cc0fdfe06d5f8e253f0029
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102525760003560e01c80637d6dfb7e11610146578063db3ad22c116100c3578063eb9253c011610087578063eb9253c0146109d8578063ed6525c414610a26578063ee63188114610a44578063f9cff35114610a8e578063fa1acb5c14610ad8578063ffd832c114610af657610252565b8063db3ad22c1461087f578063dc7ced3d1461089d578063e45a98dd146108e7578063e7e4e1f714610909578063e9fad8ee146109ce57610252565b8063aa981e651161010a578063aa981e6514610753578063ab033ea914610797578063bb1b4269146107db578063c909f15214610833578063cd3daf9d1461086157610252565b80637d6dfb7e1461067357806380faa57d146106cb578063927b26b9146106e95780639a6b25a3146107075780639f3fbd2b1461073557610252565b80633c6b16ab116101d457806368fd25cd1161019857806368fd25cd146105675780636adafab51461058557806370a08231146105a357806374f9b464146105fb5780637b4d08121461064557610252565b80633c6b16ab146104615780633d18b9121461048f57806353364da01461049957806356728e9d146104b757806365d82b8a1461050f57610252565b80631be052891161021b5780631be05289146103375780631c2f3e3d1461035557806329d245aa1461039f5780632e1a7d4d146103e957806337e294d51461041757610252565b80628cc262146102575780630ba86f05146102af578063121544b9146102dd5780631407c664146102fb57806318160ddd14610319575b600080fd5b6102996004803603602081101561026d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b14565b6040518082815260200191505060405180910390f35b6102db600480360360208110156102c557600080fd5b8101908080359060200190929190505050610bfb565b005b6102e5610cc9565b6040518082815260200191505060405180910390f35b610303610ccf565b6040518082815260200191505060405180910390f35b610321610cd5565b6040518082815260200191505060405180910390f35b61033f610cdf565b6040518082815260200191505060405180910390f35b61035d610ce6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103a7610d0b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610415600480360360208110156103ff57600080fd5b8101908080359060200190929190505050610d31565b005b61041f6110d4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61048d6004803603602081101561047757600080fd5b81019080803590602001909291905050506110fa565b005b6104976113e1565b005b6104a1611af4565b6040518082815260200191505060405180910390f35b6104f9600480360360208110156104cd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611afa565b6040518082815260200191505060405180910390f35b6105516004803603602081101561052557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b12565b6040518082815260200191505060405180910390f35b61056f611b2a565b6040518082815260200191505060405180910390f35b61058d611b30565b6040518082815260200191505060405180910390f35b6105e5600480360360208110156105b957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b36565b6040518082815260200191505060405180910390f35b610603611b7f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106716004803603602081101561065b57600080fd5b8101908080359060200190929190505050611ba5565b005b6106b56004803603602081101561068957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c73565b6040518082815260200191505060405180910390f35b6106d3611c8b565b6040518082815260200191505060405180910390f35b6106f1611c9e565b6040518082815260200191505060405180910390f35b6107336004803603602081101561071d57600080fd5b8101908080359060200190929190505050611ca4565b005b61073d611d72565b6040518082815260200191505060405180910390f35b6107956004803603602081101561076957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d78565b005b6107d9600480360360208110156107ad57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611e80565b005b61081d600480360360208110156107f157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506120a7565b6040518082815260200191505060405180910390f35b61085f6004803603602081101561084957600080fd5b81019080803590602001909291905050506120f0565b005b61086961248d565b6040518082815260200191505060405180910390f35b610887612525565b6040518082815260200191505060405180910390f35b6108a561252f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108ef612555565b604051808215151515815260200191505060405180910390f35b6109cc6004803603604081101561091f57600080fd5b81019080803590602001909291908035906020019064010000000081111561094657600080fd5b82018360208201111561095857600080fd5b8035906020019184600183028401116401000000008311171561097a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612568565b005b6109d6612951565b005b610a24600480360360408110156109ee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061296c565b005b610a2e612c0c565b6040518082815260200191505060405180910390f35b610a4c612c12565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a96612c38565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610ae0612c5e565b6040518082815260200191505060405180910390f35b610afe612c64565b6040518082815260200191505060405180910390f35b6000610bf4601660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610be6670de0b6b3a7640000610bd8610bc1601560008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610bb361248d565b612c6a90919063ffffffff16565b610bca886120a7565b612cb490919063ffffffff16565b612d3e90919063ffffffff16565b612d8890919063ffffffff16565b9050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610cbf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b8060118190555050565b60105481565b600d5481565b6000600354905090565b62093a8081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b33610d3a61248d565b601081905550610d48611c8b565b600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515610e1757610d8d81610b14565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601054601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600d5442101515610f8857610e4b6064610e3d6032600b54612cb490919063ffffffff16565b612d3e90919063ffffffff16565b600b81905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930600b546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610efc57600080fd5b505af1158015610f10573d6000803e3d6000fd5b50505050610f2c62093a80600b54612d3e90919063ffffffff16565b600e81905550610f4862093a8042612d8890919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d600b546040518082815260200191505060405180910390a15b600c5442111515611001576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600082111515611079576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b61108282612e12565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156111be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b60006111c861248d565b6010819055506111d6611c8b565b600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415156112a55761121b81610b14565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601054601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6112f4333084600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613306909392919063ffffffff16565b600d54421015156113205761131562093a8083612d3e90919063ffffffff16565b600e81905550611383565b600061133742600d54612c6a90919063ffffffff16565b90506000611350600e5483612cb490919063ffffffff16565b905061137a62093a8061136c8387612d8890919063ffffffff16565b612d3e90919063ffffffff16565b600e8190555050505b42600f819055506113a062093a8042612d8890919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15050565b336113ea61248d565b6010819055506113f8611c8b565b600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415156114c75761143d81610b14565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601054601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600d5442101515611638576114fb60646114ed6032600b54612cb490919063ffffffff16565b612d3e90919063ffffffff16565b600b81905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930600b546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156115ac57600080fd5b505af11580156115c0573d6000803e3d6000fd5b505050506115dc62093a80600b54612d3e90919063ffffffff16565b600e819055506115f862093a8042612d8890919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d600b546040518082815260200191505060405180910390a15b600c54421115156116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006116bc33610b14565b90506000811115611af0576000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166335380a5533846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156117b757600080fd5b505af11580156117cb573d6000803e3d6000fd5b505050506040513d60208110156117e157600080fd5b81019080805190602001909291905050509050600081111561186d5761186c600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b5b600061189860135461188a60115486612cb490919063ffffffff16565b612d3e90919063ffffffff16565b9050600081111561191357611912600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b5b600061193a8261192c8587612c6a90919063ffffffff16565b612c6a90919063ffffffff16565b90506000809050601454601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054014210156119b8576119b56013546119a760125485612cb490919063ffffffff16565b612d3e90919063ffffffff16565b90505b6000811115611a4657611a30600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b611a438183612c6a90919063ffffffff16565b91505b6000821115611a9d57611a9c3383600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b5b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486836040518082815260200191505060405180910390a2505050505b5050565b60125481565b60176020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b600e5481565b600f5481565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611c69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b8060128190555050565b60166020528060005260406000206000915090505481565b6000611c9942600d5461365d565b905090565b60135481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611d68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b8060148190555050565b60145481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611e3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611f44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515611fe9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f6e657720676f7665726e616e636520746865207a65726f20616464726573730081525060200191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce8060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156121b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b60006121be61248d565b6010819055506121cc611c8b565b600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151561229b5761221181610b14565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601054601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60001515601860009054906101000a900460ff161515141515612326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f686173207374617274656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6001601860006101000a81548160ff02191690831515021790555081600c8190555061236062093a80600b54612d3e90919063ffffffff16565b600e81905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930600b546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561241157600080fd5b505af1158015612425573d6000803e3d6000fd5b50505050600c54600f8190555061244a62093a80600c54612d8890919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d600b546040518082815260200191505060405180910390a15050565b600080612498612525565b14156124a8576010549050612522565b61251f61250e6124b6612525565b612500670de0b6b3a76400006124f2600e546124e4600f546124d6611c8b565b612c6a90919063ffffffff16565b612cb490919063ffffffff16565b612cb490919063ffffffff16565b612d3e90919063ffffffff16565b601054612d8890919063ffffffff16565b90505b90565b6000600554905090565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601860009054906101000a900460ff1681565b3361257161248d565b60108190555061257f611c8b565b600f81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151561264e576125c481610b14565b601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601054601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600d54421015156127bf5761268260646126746032600b54612cb490919063ffffffff16565b612d3e90919063ffffffff16565b600b81905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930600b546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561273357600080fd5b505af1158015612747573d6000803e3d6000fd5b5050505061276362093a80600b54612d3e90919063ffffffff16565b600e8190555061277f62093a8042612d8890919063ffffffff16565b600d819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d600b546040518082815260200191505060405180910390a15b600c5442111515612838576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000831115156128b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b6128ba8383613676565b42601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d846040518082815260200191505060405180910390a2505050565b61296261295d33611b36565b610d31565b61296a6113e1565b565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515612a30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f7420676f7665726e616e636500000000000000000000000000000000000081525060200191505060405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515612af6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f726577617264000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515612bbc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f7374616b6500000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b612c086000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b5050565b60115481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b600b5481565b6000612cac83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613d22565b905092915050565b600080831415612cc75760009050612d38565b60008284029050828482811515612cda57fe5b04141515612d33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061414d6021913960400191505060405180910390fd5b809150505b92915050565b6000612d8083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613de4565b905092915050565b6000808284019050838110151515612e08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600081111515612e8a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f616d6f7574203e2030000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b612e9f81600354612c6a90919063ffffffff16565b600381905550612ef781600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612c6a90919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561322957612fe6600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600554612c6a90919063ffffffff16565b600581905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d961455133836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561309557600080fd5b505af11580156130a9573d6000803e3d6000fd5b50505050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635dd9147c336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561314c57600080fd5b505afa158015613160573d6000803e3d6000fd5b505050506040513d602081101561317657600080fd5b8101908080519060200190929190505050600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061321e600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600554612d8890919063ffffffff16565b6005819055506132b6565b600354600581905550600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6133033382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661340c9092919063ffffffff16565b50565b613406848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613eae565b50505050565b600060608473ffffffffffffffffffffffffffffffffffffffff166040518060400160405280601981526020017f7472616e7366657228616464726573732c75696e743235362900000000000000815250805190602001208585604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b60208310151561353b5780518252602082019150602081019050602083039250613516565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461359d576040519150601f19603f3d011682016040523d82523d6000602084013e6135a2565b606091505b50915091508180156135e257506000815114806135e157508080602001905160208110156135cf57600080fd5b81019080805190602001909291905050505b5b1515613656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f5361666545524332303a205452414e534645525f4641494c454400000000000081525060200191505060405180910390fd5b5050505050565b600081831061366c578161366e565b825b905092915050565b61368b82600354612d8890919063ffffffff16565b6003819055506136e382600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612d8890919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515613a15576137d2600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600554612c6a90919063ffffffff16565b600581905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663da562a9833846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561388157600080fd5b505af1158015613895573d6000803e3d6000fd5b50505050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635dd9147c336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561393857600080fd5b505afa15801561394c573d6000803e3d6000fd5b505050506040513d602081101561396257600080fd5b8101908080519060200190929190505050600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613a0a600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600554612d8890919063ffffffff16565b600581905550613aa2565b600354600581905550600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b613af1333084600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613306909392919063ffffffff16565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a526a92b336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015613b9257600080fd5b505af1158015613ba6573d6000803e3d6000fd5b505050506040513d6020811015613bbc57600080fd5b81019080805190602001909291905050501515613d1e57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d66d140733836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613c94578082015181840152602081019050613c79565b50505050905090810190601f168015613cc15780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b158015613ce157600080fd5b505af1158015613cf5573d6000803e3d6000fd5b505050506040513d6020811015613d0b57600080fd5b8101908080519060200190929190505050505b5050565b60008383111582901515613dd1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613d96578082015181840152602081019050613d7b565b50505050905090810190601f168015613dc35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182901515613e92576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613e57578082015181840152602081019050613e3c565b50505050905090810190601f168015613e845780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385811515613ea057fe5b049050809150509392505050565b613ecd8273ffffffffffffffffffffffffffffffffffffffff16614101565b1515613f41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083101515613f925780518252602082019150602081019050602083039250613f6d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613ff4576040519150601f19603f3d011682016040523d82523d6000602084013e613ff9565b606091505b5091509150811515614073576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156140fb5780806020019051602081101561409257600080fd5b810190808051906020019092919050505015156140fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061416e602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561414357506000801b8214155b9250505091905056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a165627a7a72305820ce558296ee9a869032d9039e110fae5da079bc3d294227cc0fdfe06d5f8e253f0029
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
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.