Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 5 from a total of 5 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Grant Role | 19141377 | 151 days ago | IN | 0 ETH | 0.00174526 | ||||
Grant Role | 19141377 | 151 days ago | IN | 0 ETH | 0.00174526 | ||||
Set Staking Toke... | 19141377 | 151 days ago | IN | 0 ETH | 0.00156141 | ||||
Set Reward Token | 19141376 | 151 days ago | IN | 0 ETH | 0.00155105 | ||||
0x60806040 | 19141374 | 151 days ago | IN | Create: LPStaking | 0 ETH | 0.08272761 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
LPStaking
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.21; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract LPStaking is ReentrancyGuard, AccessControl { bytes32 public constant DISTRIBUTER_ROLE = keccak256("DISTRIBUTER_ROLE"); IERC20 public stakingToken; IERC20 public rewardToken; uint256 public totalDistributed; uint256 public totalStaked; uint256 public magnifiedPerShare; uint256 internal constant magnitude = 2 ** 128; uint256 public constant LOCK_TIME = 2 days; mapping(address => uint256) public staked; mapping(address => uint256) public claimed; mapping(address => uint256) public magnifiedCorrections; mapping(address => uint256) public lastStakeTime; event Staked(address indexed user, uint256 amount); event AddLiquidAndStake( address indexed user, uint256 amount0, uint256 amount1, uint256 liquidity ); event UnStake(address indexed user, uint256 amount); event UnStakeAndRemoveLP( address indexed user, uint256 amount0, uint256 amount1 ); event Claimed(address indexed user, uint256 amount); event Distributed(uint256 amount); constructor() { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); } function stake(uint256 _amount) external nonReentrant { require(_amount > 0, "Cannot stake 0"); stakingToken.transferFrom(_msgSender(), address(this), _amount); _claim(_msgSender()); staked[_msgSender()] += _amount; totalStaked += _amount; magnifiedCorrections[_msgSender()] -= (magnifiedPerShare * _amount); emit Staked(_msgSender(), _amount); } function addliquidAndStake( uint256 _amountToken, uint256 _amountETH, uint256 _minAmountToken, uint256 _minAmountETH ) external payable nonReentrant { require(_amountToken > 0 || _amountETH > 0, "Cannot stake 0"); require(_amountETH == msg.value, "Invalid ETH amount"); rewardToken.transferFrom(_msgSender(), address(this), _amountToken); IUniswapV2Router02 v2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); rewardToken.approve(address(v2Router), _amountToken); (uint amountToken, uint amountETH, uint256 liquidity) = v2Router .addLiquidityETH{value: _amountETH}( address(rewardToken), _amountToken, _minAmountToken, _minAmountETH, address(this), block.timestamp ); if (amountToken < _amountToken) { rewardToken.transfer(_msgSender(), _amountToken - amountToken); } if (amountETH < _amountETH) { (bool _sent, ) = payable(_msgSender()).call{ value: _amountETH - amountETH }(""); require(_sent); } _claim(_msgSender()); staked[_msgSender()] += liquidity; totalStaked += liquidity; unchecked { magnifiedCorrections[_msgSender()] -= (magnifiedPerShare * liquidity); } emit AddLiquidAndStake( _msgSender(), _amountToken, _amountETH, liquidity ); } function unStake() external nonReentrant { require(staked[_msgSender()] > 0, "Cannot withdraw 0"); require( block.timestamp > lastStakeTime[_msgSender()] + LOCK_TIME, "Locked for 1 day after staking" ); _claim(_msgSender()); totalStaked -= staked[_msgSender()]; unchecked { magnifiedCorrections[_msgSender()] += (magnifiedPerShare * staked[_msgSender()]); } stakingToken.transfer(_msgSender(), staked[_msgSender()]); staked[_msgSender()] = 0; emit UnStake(_msgSender(), staked[_msgSender()]); } function unStakeAndRemoveLP( uint256 _minAmount0, uint256 _minAmount1 ) external nonReentrant { require(staked[_msgSender()] > 0, "Cannot withdraw 0"); require( block.timestamp > lastStakeTime[_msgSender()] + LOCK_TIME, "Locked for 1 day after staking" ); _claim(_msgSender()); uint256 amount = staked[_msgSender()]; staked[_msgSender()] = 0; totalStaked -= staked[_msgSender()]; unchecked { magnifiedCorrections[_msgSender()] += (magnifiedPerShare * amount); } IUniswapV2Router02 v2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); stakingToken.approve(address(v2Router), amount); v2Router.removeLiquidityETHSupportingFeeOnTransferTokens( address(rewardToken), amount, _minAmount0, _minAmount1, _msgSender(), block.timestamp ); emit UnStakeAndRemoveLP(_msgSender(), _minAmount0, _minAmount1); } function claim() external nonReentrant { uint256 claimable = claimableOf(_msgSender()); require(claimable > 0, "Nothing to claim"); _claim(_msgSender()); } function _claim(address _user) internal { lastStakeTime[_user] = block.timestamp; uint256 claimable = claimableOf(_user); if (claimable > 0) { claimed[_user] += claimable; rewardToken.transfer(_user, claimable); } emit Claimed(_user, claimable); } function claimableOf(address _owner) public view returns (uint256) { return accumulativeOf(_owner) - claimed[_owner]; } function accumulativeOf(address _owner) public view returns (uint256) { unchecked { return ((magnifiedPerShare * staked[_owner]) + magnifiedCorrections[_owner]) / magnitude; } } function depositReward(uint256 amount) external onlyRole(DISTRIBUTER_ROLE) { if (totalStaked > 0) { totalDistributed += amount; unchecked { magnifiedPerShare = magnifiedPerShare + ((amount * magnitude) / totalStaked); } emit Distributed(amount); } } function setStakingToken( address _token ) external onlyRole(DEFAULT_ADMIN_ROLE) { stakingToken = IERC20(_token); } function setRewardToken( address _token ) external onlyRole(DEFAULT_ADMIN_ROLE) { rewardToken = IERC20(_token); } function rescueETH() external onlyRole(DEFAULT_ADMIN_ROLE) { (bool _sent, ) = payable(_msgSender()).call{ value: address(this).balance }(""); require(_sent); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @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. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; import "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"AddLiquidAndStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Distributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UnStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"UnStakeAndRemoveLP","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DISTRIBUTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LOCK_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"accumulativeOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountToken","type":"uint256"},{"internalType":"uint256","name":"_amountETH","type":"uint256"},{"internalType":"uint256","name":"_minAmountToken","type":"uint256"},{"internalType":"uint256","name":"_minAmountETH","type":"uint256"}],"name":"addliquidAndStake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"claimableOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastStakeTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"magnifiedCorrections","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"magnifiedPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"setRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"setStakingToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"staked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minAmount0","type":"uint256"},{"internalType":"uint256","name":"_minAmount1","type":"uint256"}],"name":"unStakeAndRemoveLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801562000010575f80fd5b5060015f819055506200003b5f801b6200002f6200004160201b60201c565b6200004860201b60201c565b620001ad565b5f33905090565b6200005a82826200005e60201b60201c565b5050565b6200007082826200014960201b60201c565b62000145576001805f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550620000ea6200004160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b5f60015f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b61302e80620001bb5f395ff3fe6080604052600436106101c5575f3560e01c80637bb1ca19116100f6578063a694fc3a11610094578063ef15f81111610063578063ef15f81114610620578063efca2eed1461065c578063f10e00d614610686578063f7c618c1146106b0576101cc565b8063a694fc3a1461056c578063a8d6eb2214610594578063c884ef83146105bc578063d547741f146105f8576101cc565b80638aee8127116100d05780638aee8127146104a257806391d14854146104ca57806398807d8414610506578063a217fddf14610542576101cc565b80637bb1ca1914610400578063817b1cd21461043c5780638903ab9d14610466576101cc565b806336568abe116101635780636115078c1161013d5780636115078c1461035a578063700060d81461038457806372f702f3146103c057806373cf575a146103ea576101cc565b806336568abe146102f2578063413d9c3a1461031a5780634e71d92d14610344576101cc565b80631e9b12ef1161019f5780631e9b12ef1461025057806320800a0014610278578063248a9ca31461028e5780632f2ff15d146102ca576101cc565b806301ffc9a7146101d057806307a2937e1461020c5780631e2720ff14610228576101cc565b366101cc57005b5f80fd5b3480156101db575f80fd5b506101f660048036038101906101f191906123d1565b6106da565b6040516102039190612416565b60405180910390f35b61022660048036038101906102219190612462565b610753565b005b348015610233575f80fd5b5061024e600480360381019061024991906124c6565b610c7a565b005b34801561025b575f80fd5b506102766004803603810190610271919061254b565b610d32565b005b348015610283575f80fd5b5061028c610d82565b005b348015610299575f80fd5b506102b460048036038101906102af91906125a9565b610e0a565b6040516102c191906125e3565b60405180910390f35b3480156102d5575f80fd5b506102f060048036038101906102eb91906125fc565b610e27565b005b3480156102fd575f80fd5b50610318600480360381019061031391906125fc565b610e48565b005b348015610325575f80fd5b5061032e610ecb565b60405161033b9190612649565b60405180910390f35b34801561034f575f80fd5b50610358610ed2565b005b348015610365575f80fd5b5061036e610f4a565b60405161037b9190612649565b60405180910390f35b34801561038f575f80fd5b506103aa60048036038101906103a5919061254b565b610f50565b6040516103b79190612649565b60405180910390f35b3480156103cb575f80fd5b506103d4610f65565b6040516103e191906126bd565b60405180910390f35b3480156103f5575f80fd5b506103fe610f8a565b005b34801561040b575f80fd5b506104266004803603810190610421919061254b565b611385565b6040516104339190612649565b60405180910390f35b348015610447575f80fd5b5061045061139a565b60405161045d9190612649565b60405180910390f35b348015610471575f80fd5b5061048c6004803603810190610487919061254b565b6113a0565b6040516104999190612649565b60405180910390f35b3480156104ad575f80fd5b506104c860048036038101906104c3919061254b565b6113f9565b005b3480156104d5575f80fd5b506104f060048036038101906104eb91906125fc565b611449565b6040516104fd9190612416565b60405180910390f35b348015610511575f80fd5b5061052c6004803603810190610527919061254b565b6114ad565b6040516105399190612649565b60405180910390f35b34801561054d575f80fd5b506105566114c2565b60405161056391906125e3565b60405180910390f35b348015610577575f80fd5b50610592600480360381019061058d91906124c6565b6114c8565b005b34801561059f575f80fd5b506105ba60048036038101906105b591906126d6565b611701565b005b3480156105c7575f80fd5b506105e260048036038101906105dd919061254b565b611b3b565b6040516105ef9190612649565b60405180910390f35b348015610603575f80fd5b5061061e600480360381019061061991906125fc565b611b50565b005b34801561062b575f80fd5b506106466004803603810190610641919061254b565b611b71565b6040516106539190612649565b60405180910390f35b348015610667575f80fd5b50610670611c1b565b60405161067d9190612649565b60405180910390f35b348015610691575f80fd5b5061069a611c21565b6040516106a791906125e3565b60405180910390f35b3480156106bb575f80fd5b506106c4611c45565b6040516106d191906126bd565b60405180910390f35b5f7f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061074c575061074b82611c6a565b5b9050919050565b61075b611cd3565b5f84118061076857505f83115b6107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079e9061276e565b60405180910390fd5b3483146107e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e0906127d6565b60405180910390fd5b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd61082e611d20565b30876040518463ffffffff1660e01b815260040161084e93929190612803565b6020604051808303815f875af115801561086a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088e9190612862565b505f737a250d5630b4cf539739df2c5dacb4c659f2488d905060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b382876040518363ffffffff1660e01b815260040161090392919061288d565b6020604051808303815f875af115801561091f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109439190612862565b505f805f8373ffffffffffffffffffffffffffffffffffffffff1663f305d7198860035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168b8a8a30426040518863ffffffff1660e01b81526004016109ac969594939291906128b4565b60606040518083038185885af11580156109c8573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906109ed9190612927565b92509250925087831015610aab5760035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610a40611d20565b858b610a4c91906129a4565b6040518363ffffffff1660e01b8152600401610a6992919061288d565b6020604051808303815f875af1158015610a85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa99190612862565b505b86821015610b38575f610abc611d20565b73ffffffffffffffffffffffffffffffffffffffff168389610ade91906129a4565b604051610aea90612a04565b5f6040518083038185875af1925050503d805f8114610b24576040519150601f19603f3d011682016040523d82523d5f602084013e610b29565b606091505b5050905080610b36575f80fd5b505b610b48610b43611d20565b611d27565b8060075f610b54611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610b9b9190612a18565b925050819055508060055f828254610bb39190612a18565b92505081905550806006540260095f610bca611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540392505081905550610c17611d20565b73ffffffffffffffffffffffffffffffffffffffff167ffc3e4e0b1d80d83b78327559742403b8cfa1a81811e1e1f8518584749b347c8c898984604051610c6093929190612a4b565b60405180910390a250505050610c74611ec0565b50505050565b7f09630fffc1c31ed9c8dd68f6e39219ed189b07ff9a25e1efc743b828f69d555e610ca481611ec9565b5f6005541115610d2e578160045f828254610cbf9190612a18565b92505081905550600554700100000000000000000000000000000000830281610ceb57610cea612a80565b5b04600654016006819055507fddc9c30275a04c48091f24199f9c405765de34d979d6847f5b9798a57232d2e582604051610d259190612649565b60405180910390a15b5050565b5f801b610d3e81611ec9565b8160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f801b610d8e81611ec9565b5f610d97611d20565b73ffffffffffffffffffffffffffffffffffffffff1647604051610dba90612a04565b5f6040518083038185875af1925050503d805f8114610df4576040519150601f19603f3d011682016040523d82523d5f602084013e610df9565b606091505b5050905080610e06575f80fd5b5050565b5f60015f8381526020019081526020015f20600101549050919050565b610e3082610e0a565b610e3981611ec9565b610e438383611edd565b505050565b610e50611d20565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb490612b1d565b60405180910390fd5b610ec78282611fb7565b5050565b6202a30081565b610eda611cd3565b5f610eeb610ee6611d20565b6113a0565b90505f8111610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690612b85565b60405180910390fd5b610f3f610f3a611d20565b611d27565b50610f48611ec0565b565b60065481565b6009602052805f5260405f205f915090505481565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f92611cd3565b5f60075f610f9e611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205411611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90612bed565b60405180910390fd5b6202a300600a5f611027611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461106b9190612a18565b42116110ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a390612c55565b60405180910390fd5b6110bc6110b7611d20565b611d27565b60075f6110c7611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205460055f82825461111191906129a4565b9250508190555060075f611123611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546006540260095f61116c611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6111f6611d20565b60075f611201611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546040518363ffffffff1660e01b815260040161125892919061288d565b6020604051808303815f875af1158015611274573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112989190612862565b505f60075f6112a5611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055506112ea611d20565b73ffffffffffffffffffffffffffffffffffffffff167fb24546d975e2628748efc9aced80665e0fad66272033e5c0ea25fd3afac9979560075f61132c611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546040516113739190612649565b60405180910390a2611383611ec0565b565b600a602052805f5260405f205f915090505481565b60055481565b5f60085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546113e883611b71565b6113f291906129a4565b9050919050565b5f801b61140581611ec9565b8160035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f60015f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6007602052805f5260405f205f915090505481565b5f801b81565b6114d0611cd3565b5f8111611512576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115099061276e565b60405180910390fd5b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd611557611d20565b30846040518463ffffffff1660e01b815260040161157793929190612803565b6020604051808303815f875af1158015611593573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b79190612862565b506115c86115c3611d20565b611d27565b8060075f6115d4611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461161b9190612a18565b925050819055508060055f8282546116339190612a18565b92505081905550806006546116489190612c73565b60095f611653611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461169a91906129a4565b925050819055506116a9611d20565b73ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040516116ee9190612649565b60405180910390a26116fe611ec0565b50565b611709611cd3565b5f60075f611715611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541161178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178690612bed565b60405180910390fd5b6202a300600a5f61179e611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546117e29190612a18565b4211611823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181a90612c55565b60405180910390fd5b61183361182e611d20565b611d27565b5f60075f61183f611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f60075f611887611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555060075f6118cf611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205460055f82825461191991906129a4565b92505081905550806006540260095f611930611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f737a250d5630b4cf539739df2c5dacb4c659f2488d905060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b382846040518363ffffffff1660e01b81526004016119e992919061288d565b6020604051808303815f875af1158015611a05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a299190612862565b508073ffffffffffffffffffffffffffffffffffffffff1663af2979eb60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16848787611a73611d20565b426040518763ffffffff1660e01b8152600401611a95969594939291906128b4565b6020604051808303815f875af1158015611ab1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ad59190612cb4565b50611ade611d20565b73ffffffffffffffffffffffffffffffffffffffff167f0de8e6720dc3e3ff468230711e05ca1c37cc7383824d21afea5950db2264219d8585604051611b25929190612cdf565b60405180910390a25050611b37611ec0565b5050565b6008602052805f5260405f205f915090505481565b611b5982610e0a565b611b6281611ec9565b611b6c8383611fb7565b505050565b5f70010000000000000000000000000000000060095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205460075f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054600654020181611c1357611c12612a80565b5b049050919050565b60045481565b7f09630fffc1c31ed9c8dd68f6e39219ed189b07ff9a25e1efc743b828f69d555e81565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60025f5403611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e90612d50565b60405180910390fd5b60025f81905550565b5f33905090565b42600a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505f611d73826113a0565b90505f811115611e6e578060085f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254611dc99190612a18565b9250508190555060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401611e2c92919061288d565b6020604051808303815f875af1158015611e48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6c9190612862565b505b8173ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a82604051611eb49190612649565b60405180910390a25050565b60015f81905550565b611eda81611ed5611d20565b612092565b50565b611ee78282611449565b611fb3576001805f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550611f58611d20565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611fc18282611449565b1561208e575f60015f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550612033611d20565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b61209c8282611449565b612112576120a981612116565b6120b6835f1c6020612143565b6040516020016120c7929190612e6e565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121099190612eef565b60405180910390fd5b5050565b606061213c8273ffffffffffffffffffffffffffffffffffffffff16601460ff16612143565b9050919050565b60605f60028360026121559190612c73565b61215f9190612a18565b67ffffffffffffffff81111561217857612177612f0f565b5b6040519080825280601f01601f1916602001820160405280156121aa5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000815f815181106121e1576121e0612f3c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061224457612243612f3c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505f60018460026122829190612c73565b61228c9190612a18565b90505b600181111561232b577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106122ce576122cd612f3c565b5b1a60f81b8282815181106122e5576122e4612f3c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600485901c94508061232490612f69565b905061228f565b505f841461236e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236590612fda565b60405180910390fd5b8091505092915050565b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6123b08161237c565b81146123ba575f80fd5b50565b5f813590506123cb816123a7565b92915050565b5f602082840312156123e6576123e5612378565b5b5f6123f3848285016123bd565b91505092915050565b5f8115159050919050565b612410816123fc565b82525050565b5f6020820190506124295f830184612407565b92915050565b5f819050919050565b6124418161242f565b811461244b575f80fd5b50565b5f8135905061245c81612438565b92915050565b5f805f806080858703121561247a57612479612378565b5b5f6124878782880161244e565b94505060206124988782880161244e565b93505060406124a98782880161244e565b92505060606124ba8782880161244e565b91505092959194509250565b5f602082840312156124db576124da612378565b5b5f6124e88482850161244e565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61251a826124f1565b9050919050565b61252a81612510565b8114612534575f80fd5b50565b5f8135905061254581612521565b92915050565b5f602082840312156125605761255f612378565b5b5f61256d84828501612537565b91505092915050565b5f819050919050565b61258881612576565b8114612592575f80fd5b50565b5f813590506125a38161257f565b92915050565b5f602082840312156125be576125bd612378565b5b5f6125cb84828501612595565b91505092915050565b6125dd81612576565b82525050565b5f6020820190506125f65f8301846125d4565b92915050565b5f806040838503121561261257612611612378565b5b5f61261f85828601612595565b925050602061263085828601612537565b9150509250929050565b6126438161242f565b82525050565b5f60208201905061265c5f83018461263a565b92915050565b5f819050919050565b5f61268561268061267b846124f1565b612662565b6124f1565b9050919050565b5f6126968261266b565b9050919050565b5f6126a78261268c565b9050919050565b6126b78161269d565b82525050565b5f6020820190506126d05f8301846126ae565b92915050565b5f80604083850312156126ec576126eb612378565b5b5f6126f98582860161244e565b925050602061270a8582860161244e565b9150509250929050565b5f82825260208201905092915050565b7f43616e6e6f74207374616b6520300000000000000000000000000000000000005f82015250565b5f612758600e83612714565b915061276382612724565b602082019050919050565b5f6020820190508181035f8301526127858161274c565b9050919050565b7f496e76616c69642045544820616d6f756e7400000000000000000000000000005f82015250565b5f6127c0601283612714565b91506127cb8261278c565b602082019050919050565b5f6020820190508181035f8301526127ed816127b4565b9050919050565b6127fd81612510565b82525050565b5f6060820190506128165f8301866127f4565b61282360208301856127f4565b612830604083018461263a565b949350505050565b612841816123fc565b811461284b575f80fd5b50565b5f8151905061285c81612838565b92915050565b5f6020828403121561287757612876612378565b5b5f6128848482850161284e565b91505092915050565b5f6040820190506128a05f8301856127f4565b6128ad602083018461263a565b9392505050565b5f60c0820190506128c75f8301896127f4565b6128d4602083018861263a565b6128e1604083018761263a565b6128ee606083018661263a565b6128fb60808301856127f4565b61290860a083018461263a565b979650505050505050565b5f8151905061292181612438565b92915050565b5f805f6060848603121561293e5761293d612378565b5b5f61294b86828701612913565b935050602061295c86828701612913565b925050604061296d86828701612913565b9150509250925092565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6129ae8261242f565b91506129b98361242f565b92508282039050818111156129d1576129d0612977565b5b92915050565b5f81905092915050565b50565b5f6129ef5f836129d7565b91506129fa826129e1565b5f82019050919050565b5f612a0e826129e4565b9150819050919050565b5f612a228261242f565b9150612a2d8361242f565b9250828201905080821115612a4557612a44612977565b5b92915050565b5f606082019050612a5e5f83018661263a565b612a6b602083018561263a565b612a78604083018461263a565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e63655f8201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b5f612b07602f83612714565b9150612b1282612aad565b604082019050919050565b5f6020820190508181035f830152612b3481612afb565b9050919050565b7f4e6f7468696e6720746f20636c61696d000000000000000000000000000000005f82015250565b5f612b6f601083612714565b9150612b7a82612b3b565b602082019050919050565b5f6020820190508181035f830152612b9c81612b63565b9050919050565b7f43616e6e6f7420776974686472617720300000000000000000000000000000005f82015250565b5f612bd7601183612714565b9150612be282612ba3565b602082019050919050565b5f6020820190508181035f830152612c0481612bcb565b9050919050565b7f4c6f636b656420666f72203120646179206166746572207374616b696e6700005f82015250565b5f612c3f601e83612714565b9150612c4a82612c0b565b602082019050919050565b5f6020820190508181035f830152612c6c81612c33565b9050919050565b5f612c7d8261242f565b9150612c888361242f565b9250828202612c968161242f565b91508282048414831517612cad57612cac612977565b5b5092915050565b5f60208284031215612cc957612cc8612378565b5b5f612cd684828501612913565b91505092915050565b5f604082019050612cf25f83018561263a565b612cff602083018461263a565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f612d3a601f83612714565b9150612d4582612d06565b602082019050919050565b5f6020820190508181035f830152612d6781612d2e565b9050919050565b5f81905092915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000005f82015250565b5f612dac601783612d6e565b9150612db782612d78565b601782019050919050565b5f81519050919050565b5f5b83811015612de9578082015181840152602081019050612dce565b5f8484015250505050565b5f612dfe82612dc2565b612e088185612d6e565b9350612e18818560208601612dcc565b80840191505092915050565b7f206973206d697373696e6720726f6c65200000000000000000000000000000005f82015250565b5f612e58601183612d6e565b9150612e6382612e24565b601182019050919050565b5f612e7882612da0565b9150612e848285612df4565b9150612e8f82612e4c565b9150612e9b8284612df4565b91508190509392505050565b5f601f19601f8301169050919050565b5f612ec182612dc2565b612ecb8185612714565b9350612edb818560208601612dcc565b612ee481612ea7565b840191505092915050565b5f6020820190508181035f830152612f078184612eb7565b905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f612f738261242f565b91505f8203612f8557612f84612977565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e745f82015250565b5f612fc4602083612714565b9150612fcf82612f90565b602082019050919050565b5f6020820190508181035f830152612ff181612fb8565b905091905056fea264697066735822122057a3ac6f20c2a427a121a5b69bad204b77892ef9245631281744f4bf9a02ad8164736f6c63430008150033
Deployed Bytecode
0x6080604052600436106101c5575f3560e01c80637bb1ca19116100f6578063a694fc3a11610094578063ef15f81111610063578063ef15f81114610620578063efca2eed1461065c578063f10e00d614610686578063f7c618c1146106b0576101cc565b8063a694fc3a1461056c578063a8d6eb2214610594578063c884ef83146105bc578063d547741f146105f8576101cc565b80638aee8127116100d05780638aee8127146104a257806391d14854146104ca57806398807d8414610506578063a217fddf14610542576101cc565b80637bb1ca1914610400578063817b1cd21461043c5780638903ab9d14610466576101cc565b806336568abe116101635780636115078c1161013d5780636115078c1461035a578063700060d81461038457806372f702f3146103c057806373cf575a146103ea576101cc565b806336568abe146102f2578063413d9c3a1461031a5780634e71d92d14610344576101cc565b80631e9b12ef1161019f5780631e9b12ef1461025057806320800a0014610278578063248a9ca31461028e5780632f2ff15d146102ca576101cc565b806301ffc9a7146101d057806307a2937e1461020c5780631e2720ff14610228576101cc565b366101cc57005b5f80fd5b3480156101db575f80fd5b506101f660048036038101906101f191906123d1565b6106da565b6040516102039190612416565b60405180910390f35b61022660048036038101906102219190612462565b610753565b005b348015610233575f80fd5b5061024e600480360381019061024991906124c6565b610c7a565b005b34801561025b575f80fd5b506102766004803603810190610271919061254b565b610d32565b005b348015610283575f80fd5b5061028c610d82565b005b348015610299575f80fd5b506102b460048036038101906102af91906125a9565b610e0a565b6040516102c191906125e3565b60405180910390f35b3480156102d5575f80fd5b506102f060048036038101906102eb91906125fc565b610e27565b005b3480156102fd575f80fd5b50610318600480360381019061031391906125fc565b610e48565b005b348015610325575f80fd5b5061032e610ecb565b60405161033b9190612649565b60405180910390f35b34801561034f575f80fd5b50610358610ed2565b005b348015610365575f80fd5b5061036e610f4a565b60405161037b9190612649565b60405180910390f35b34801561038f575f80fd5b506103aa60048036038101906103a5919061254b565b610f50565b6040516103b79190612649565b60405180910390f35b3480156103cb575f80fd5b506103d4610f65565b6040516103e191906126bd565b60405180910390f35b3480156103f5575f80fd5b506103fe610f8a565b005b34801561040b575f80fd5b506104266004803603810190610421919061254b565b611385565b6040516104339190612649565b60405180910390f35b348015610447575f80fd5b5061045061139a565b60405161045d9190612649565b60405180910390f35b348015610471575f80fd5b5061048c6004803603810190610487919061254b565b6113a0565b6040516104999190612649565b60405180910390f35b3480156104ad575f80fd5b506104c860048036038101906104c3919061254b565b6113f9565b005b3480156104d5575f80fd5b506104f060048036038101906104eb91906125fc565b611449565b6040516104fd9190612416565b60405180910390f35b348015610511575f80fd5b5061052c6004803603810190610527919061254b565b6114ad565b6040516105399190612649565b60405180910390f35b34801561054d575f80fd5b506105566114c2565b60405161056391906125e3565b60405180910390f35b348015610577575f80fd5b50610592600480360381019061058d91906124c6565b6114c8565b005b34801561059f575f80fd5b506105ba60048036038101906105b591906126d6565b611701565b005b3480156105c7575f80fd5b506105e260048036038101906105dd919061254b565b611b3b565b6040516105ef9190612649565b60405180910390f35b348015610603575f80fd5b5061061e600480360381019061061991906125fc565b611b50565b005b34801561062b575f80fd5b506106466004803603810190610641919061254b565b611b71565b6040516106539190612649565b60405180910390f35b348015610667575f80fd5b50610670611c1b565b60405161067d9190612649565b60405180910390f35b348015610691575f80fd5b5061069a611c21565b6040516106a791906125e3565b60405180910390f35b3480156106bb575f80fd5b506106c4611c45565b6040516106d191906126bd565b60405180910390f35b5f7f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061074c575061074b82611c6a565b5b9050919050565b61075b611cd3565b5f84118061076857505f83115b6107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079e9061276e565b60405180910390fd5b3483146107e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e0906127d6565b60405180910390fd5b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd61082e611d20565b30876040518463ffffffff1660e01b815260040161084e93929190612803565b6020604051808303815f875af115801561086a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088e9190612862565b505f737a250d5630b4cf539739df2c5dacb4c659f2488d905060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b382876040518363ffffffff1660e01b815260040161090392919061288d565b6020604051808303815f875af115801561091f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109439190612862565b505f805f8373ffffffffffffffffffffffffffffffffffffffff1663f305d7198860035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168b8a8a30426040518863ffffffff1660e01b81526004016109ac969594939291906128b4565b60606040518083038185885af11580156109c8573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906109ed9190612927565b92509250925087831015610aab5760035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610a40611d20565b858b610a4c91906129a4565b6040518363ffffffff1660e01b8152600401610a6992919061288d565b6020604051808303815f875af1158015610a85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa99190612862565b505b86821015610b38575f610abc611d20565b73ffffffffffffffffffffffffffffffffffffffff168389610ade91906129a4565b604051610aea90612a04565b5f6040518083038185875af1925050503d805f8114610b24576040519150601f19603f3d011682016040523d82523d5f602084013e610b29565b606091505b5050905080610b36575f80fd5b505b610b48610b43611d20565b611d27565b8060075f610b54611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610b9b9190612a18565b925050819055508060055f828254610bb39190612a18565b92505081905550806006540260095f610bca611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540392505081905550610c17611d20565b73ffffffffffffffffffffffffffffffffffffffff167ffc3e4e0b1d80d83b78327559742403b8cfa1a81811e1e1f8518584749b347c8c898984604051610c6093929190612a4b565b60405180910390a250505050610c74611ec0565b50505050565b7f09630fffc1c31ed9c8dd68f6e39219ed189b07ff9a25e1efc743b828f69d555e610ca481611ec9565b5f6005541115610d2e578160045f828254610cbf9190612a18565b92505081905550600554700100000000000000000000000000000000830281610ceb57610cea612a80565b5b04600654016006819055507fddc9c30275a04c48091f24199f9c405765de34d979d6847f5b9798a57232d2e582604051610d259190612649565b60405180910390a15b5050565b5f801b610d3e81611ec9565b8160025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f801b610d8e81611ec9565b5f610d97611d20565b73ffffffffffffffffffffffffffffffffffffffff1647604051610dba90612a04565b5f6040518083038185875af1925050503d805f8114610df4576040519150601f19603f3d011682016040523d82523d5f602084013e610df9565b606091505b5050905080610e06575f80fd5b5050565b5f60015f8381526020019081526020015f20600101549050919050565b610e3082610e0a565b610e3981611ec9565b610e438383611edd565b505050565b610e50611d20565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb490612b1d565b60405180910390fd5b610ec78282611fb7565b5050565b6202a30081565b610eda611cd3565b5f610eeb610ee6611d20565b6113a0565b90505f8111610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690612b85565b60405180910390fd5b610f3f610f3a611d20565b611d27565b50610f48611ec0565b565b60065481565b6009602052805f5260405f205f915090505481565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f92611cd3565b5f60075f610f9e611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205411611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f90612bed565b60405180910390fd5b6202a300600a5f611027611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461106b9190612a18565b42116110ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a390612c55565b60405180910390fd5b6110bc6110b7611d20565b611d27565b60075f6110c7611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205460055f82825461111191906129a4565b9250508190555060075f611123611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546006540260095f61116c611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6111f6611d20565b60075f611201611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546040518363ffffffff1660e01b815260040161125892919061288d565b6020604051808303815f875af1158015611274573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112989190612862565b505f60075f6112a5611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055506112ea611d20565b73ffffffffffffffffffffffffffffffffffffffff167fb24546d975e2628748efc9aced80665e0fad66272033e5c0ea25fd3afac9979560075f61132c611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546040516113739190612649565b60405180910390a2611383611ec0565b565b600a602052805f5260405f205f915090505481565b60055481565b5f60085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546113e883611b71565b6113f291906129a4565b9050919050565b5f801b61140581611ec9565b8160035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f60015f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6007602052805f5260405f205f915090505481565b5f801b81565b6114d0611cd3565b5f8111611512576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115099061276e565b60405180910390fd5b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd611557611d20565b30846040518463ffffffff1660e01b815260040161157793929190612803565b6020604051808303815f875af1158015611593573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b79190612862565b506115c86115c3611d20565b611d27565b8060075f6115d4611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461161b9190612a18565b925050819055508060055f8282546116339190612a18565b92505081905550806006546116489190612c73565b60095f611653611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461169a91906129a4565b925050819055506116a9611d20565b73ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040516116ee9190612649565b60405180910390a26116fe611ec0565b50565b611709611cd3565b5f60075f611715611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541161178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178690612bed565b60405180910390fd5b6202a300600a5f61179e611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546117e29190612a18565b4211611823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181a90612c55565b60405180910390fd5b61183361182e611d20565b611d27565b5f60075f61183f611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505f60075f611887611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555060075f6118cf611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205460055f82825461191991906129a4565b92505081905550806006540260095f611930611d20565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f737a250d5630b4cf539739df2c5dacb4c659f2488d905060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b382846040518363ffffffff1660e01b81526004016119e992919061288d565b6020604051808303815f875af1158015611a05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a299190612862565b508073ffffffffffffffffffffffffffffffffffffffff1663af2979eb60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16848787611a73611d20565b426040518763ffffffff1660e01b8152600401611a95969594939291906128b4565b6020604051808303815f875af1158015611ab1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ad59190612cb4565b50611ade611d20565b73ffffffffffffffffffffffffffffffffffffffff167f0de8e6720dc3e3ff468230711e05ca1c37cc7383824d21afea5950db2264219d8585604051611b25929190612cdf565b60405180910390a25050611b37611ec0565b5050565b6008602052805f5260405f205f915090505481565b611b5982610e0a565b611b6281611ec9565b611b6c8383611fb7565b505050565b5f70010000000000000000000000000000000060095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205460075f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054600654020181611c1357611c12612a80565b5b049050919050565b60045481565b7f09630fffc1c31ed9c8dd68f6e39219ed189b07ff9a25e1efc743b828f69d555e81565b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60025f5403611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e90612d50565b60405180910390fd5b60025f81905550565b5f33905090565b42600a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505f611d73826113a0565b90505f811115611e6e578060085f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254611dc99190612a18565b9250508190555060035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401611e2c92919061288d565b6020604051808303815f875af1158015611e48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6c9190612862565b505b8173ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a82604051611eb49190612649565b60405180910390a25050565b60015f81905550565b611eda81611ed5611d20565b612092565b50565b611ee78282611449565b611fb3576001805f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550611f58611d20565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611fc18282611449565b1561208e575f60015f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550612033611d20565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b61209c8282611449565b612112576120a981612116565b6120b6835f1c6020612143565b6040516020016120c7929190612e6e565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121099190612eef565b60405180910390fd5b5050565b606061213c8273ffffffffffffffffffffffffffffffffffffffff16601460ff16612143565b9050919050565b60605f60028360026121559190612c73565b61215f9190612a18565b67ffffffffffffffff81111561217857612177612f0f565b5b6040519080825280601f01601f1916602001820160405280156121aa5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000815f815181106121e1576121e0612f3c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061224457612243612f3c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a9053505f60018460026122829190612c73565b61228c9190612a18565b90505b600181111561232b577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106122ce576122cd612f3c565b5b1a60f81b8282815181106122e5576122e4612f3c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600485901c94508061232490612f69565b905061228f565b505f841461236e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236590612fda565b60405180910390fd5b8091505092915050565b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6123b08161237c565b81146123ba575f80fd5b50565b5f813590506123cb816123a7565b92915050565b5f602082840312156123e6576123e5612378565b5b5f6123f3848285016123bd565b91505092915050565b5f8115159050919050565b612410816123fc565b82525050565b5f6020820190506124295f830184612407565b92915050565b5f819050919050565b6124418161242f565b811461244b575f80fd5b50565b5f8135905061245c81612438565b92915050565b5f805f806080858703121561247a57612479612378565b5b5f6124878782880161244e565b94505060206124988782880161244e565b93505060406124a98782880161244e565b92505060606124ba8782880161244e565b91505092959194509250565b5f602082840312156124db576124da612378565b5b5f6124e88482850161244e565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61251a826124f1565b9050919050565b61252a81612510565b8114612534575f80fd5b50565b5f8135905061254581612521565b92915050565b5f602082840312156125605761255f612378565b5b5f61256d84828501612537565b91505092915050565b5f819050919050565b61258881612576565b8114612592575f80fd5b50565b5f813590506125a38161257f565b92915050565b5f602082840312156125be576125bd612378565b5b5f6125cb84828501612595565b91505092915050565b6125dd81612576565b82525050565b5f6020820190506125f65f8301846125d4565b92915050565b5f806040838503121561261257612611612378565b5b5f61261f85828601612595565b925050602061263085828601612537565b9150509250929050565b6126438161242f565b82525050565b5f60208201905061265c5f83018461263a565b92915050565b5f819050919050565b5f61268561268061267b846124f1565b612662565b6124f1565b9050919050565b5f6126968261266b565b9050919050565b5f6126a78261268c565b9050919050565b6126b78161269d565b82525050565b5f6020820190506126d05f8301846126ae565b92915050565b5f80604083850312156126ec576126eb612378565b5b5f6126f98582860161244e565b925050602061270a8582860161244e565b9150509250929050565b5f82825260208201905092915050565b7f43616e6e6f74207374616b6520300000000000000000000000000000000000005f82015250565b5f612758600e83612714565b915061276382612724565b602082019050919050565b5f6020820190508181035f8301526127858161274c565b9050919050565b7f496e76616c69642045544820616d6f756e7400000000000000000000000000005f82015250565b5f6127c0601283612714565b91506127cb8261278c565b602082019050919050565b5f6020820190508181035f8301526127ed816127b4565b9050919050565b6127fd81612510565b82525050565b5f6060820190506128165f8301866127f4565b61282360208301856127f4565b612830604083018461263a565b949350505050565b612841816123fc565b811461284b575f80fd5b50565b5f8151905061285c81612838565b92915050565b5f6020828403121561287757612876612378565b5b5f6128848482850161284e565b91505092915050565b5f6040820190506128a05f8301856127f4565b6128ad602083018461263a565b9392505050565b5f60c0820190506128c75f8301896127f4565b6128d4602083018861263a565b6128e1604083018761263a565b6128ee606083018661263a565b6128fb60808301856127f4565b61290860a083018461263a565b979650505050505050565b5f8151905061292181612438565b92915050565b5f805f6060848603121561293e5761293d612378565b5b5f61294b86828701612913565b935050602061295c86828701612913565b925050604061296d86828701612913565b9150509250925092565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6129ae8261242f565b91506129b98361242f565b92508282039050818111156129d1576129d0612977565b5b92915050565b5f81905092915050565b50565b5f6129ef5f836129d7565b91506129fa826129e1565b5f82019050919050565b5f612a0e826129e4565b9150819050919050565b5f612a228261242f565b9150612a2d8361242f565b9250828201905080821115612a4557612a44612977565b5b92915050565b5f606082019050612a5e5f83018661263a565b612a6b602083018561263a565b612a78604083018461263a565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e63655f8201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b5f612b07602f83612714565b9150612b1282612aad565b604082019050919050565b5f6020820190508181035f830152612b3481612afb565b9050919050565b7f4e6f7468696e6720746f20636c61696d000000000000000000000000000000005f82015250565b5f612b6f601083612714565b9150612b7a82612b3b565b602082019050919050565b5f6020820190508181035f830152612b9c81612b63565b9050919050565b7f43616e6e6f7420776974686472617720300000000000000000000000000000005f82015250565b5f612bd7601183612714565b9150612be282612ba3565b602082019050919050565b5f6020820190508181035f830152612c0481612bcb565b9050919050565b7f4c6f636b656420666f72203120646179206166746572207374616b696e6700005f82015250565b5f612c3f601e83612714565b9150612c4a82612c0b565b602082019050919050565b5f6020820190508181035f830152612c6c81612c33565b9050919050565b5f612c7d8261242f565b9150612c888361242f565b9250828202612c968161242f565b91508282048414831517612cad57612cac612977565b5b5092915050565b5f60208284031215612cc957612cc8612378565b5b5f612cd684828501612913565b91505092915050565b5f604082019050612cf25f83018561263a565b612cff602083018461263a565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f612d3a601f83612714565b9150612d4582612d06565b602082019050919050565b5f6020820190508181035f830152612d6781612d2e565b9050919050565b5f81905092915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000005f82015250565b5f612dac601783612d6e565b9150612db782612d78565b601782019050919050565b5f81519050919050565b5f5b83811015612de9578082015181840152602081019050612dce565b5f8484015250505050565b5f612dfe82612dc2565b612e088185612d6e565b9350612e18818560208601612dcc565b80840191505092915050565b7f206973206d697373696e6720726f6c65200000000000000000000000000000005f82015250565b5f612e58601183612d6e565b9150612e6382612e24565b601182019050919050565b5f612e7882612da0565b9150612e848285612df4565b9150612e8f82612e4c565b9150612e9b8284612df4565b91508190509392505050565b5f601f19601f8301169050919050565b5f612ec182612dc2565b612ecb8185612714565b9350612edb818560208601612dcc565b612ee481612ea7565b840191505092915050565b5f6020820190508181035f830152612f078184612eb7565b905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f612f738261242f565b91505f8203612f8557612f84612977565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e745f82015250565b5f612fc4602083612714565b9150612fcf82612f90565b602082019050919050565b5f6020820190508181035f830152612ff181612fb8565b905091905056fea264697066735822122057a3ac6f20c2a427a121a5b69bad204b77892ef9245631281744f4bf9a02ad8164736f6c63430008150033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.