More Info
Private Name Tags
ContractCreator:
Latest 25 from a total of 96,247 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Mass Update Pool... | 77794472 | 8 days ago | IN | 0 FTM | 0.06356047 | ||||
Harvest All | 77794119 | 8 days ago | IN | 0 FTM | 0.02748839 | ||||
Mass Update Pool... | 77793912 | 8 days ago | IN | 0 FTM | 0.06383164 | ||||
Withdraw All | 76998639 | 20 days ago | IN | 0 FTM | 0.00376846 | ||||
Withdraw All | 76998560 | 20 days ago | IN | 0 FTM | 0.00785431 | ||||
Withdraw All | 76998553 | 20 days ago | IN | 0 FTM | 0.00383122 | ||||
Withdraw All | 76998309 | 20 days ago | IN | 0 FTM | 0.00551012 | ||||
Withdraw All | 76998294 | 20 days ago | IN | 0 FTM | 0.00399481 | ||||
Withdraw All | 76998260 | 20 days ago | IN | 0 FTM | 0.00400308 | ||||
Withdraw All | 76998252 | 20 days ago | IN | 0 FTM | 0.00400955 | ||||
Emergency Withdr... | 54064899 | 433 days ago | IN | 0 FTM | 0.01229634 | ||||
Emergency Withdr... | 54064896 | 433 days ago | IN | 0 FTM | 0.01229634 | ||||
Emergency Withdr... | 54064893 | 433 days ago | IN | 0 FTM | 0.01229634 | ||||
Emergency Withdr... | 54064884 | 433 days ago | IN | 0 FTM | 0.01229634 | ||||
Deposit | 54064870 | 433 days ago | IN | 0 FTM | 0.00804718 | ||||
Deposit | 54064859 | 433 days ago | IN | 0 FTM | 0.00804718 | ||||
Deposit | 54064854 | 433 days ago | IN | 0 FTM | 0.00804718 | ||||
Emergency Withdr... | 54064848 | 433 days ago | IN | 0 FTM | 0.01229634 | ||||
Emergency Withdr... | 54064843 | 433 days ago | IN | 0 FTM | 0.01080237 | ||||
Emergency Withdr... | 54064843 | 433 days ago | IN | 0 FTM | 0.00989022 | ||||
Withdraw | 54064798 | 433 days ago | IN | 0 FTM | 0.01084314 | ||||
Withdraw | 54064778 | 433 days ago | IN | 0 FTM | 0.01180704 | ||||
Deposit | 53886827 | 437 days ago | IN | 0 FTM | 0.01265841 | ||||
Deposit | 53885959 | 437 days ago | IN | 0 FTM | 0.00760464 | ||||
Deposit | 53885341 | 437 days ago | IN | 0 FTM | 0.00434568 |
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
6660263 | 1046 days ago | Contract Creation | 0 FTM |
Loading...
Loading
Contract Name:
MasterChef
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at ftmscan.com on 2021-05-17 */ // File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* ███████╗██████╗ █████╗ ███╗ ██╗██╗ ██╗███████╗███╗ ██╗███████╗████████╗███████╗██╗███╗ ██╗ ██╔════╝██╔══██╗██╔══██╗████╗ ██║██║ ██╔╝██╔════╝████╗ ██║██╔════╝╚══██╔══╝██╔════╝██║████╗ ██║ █████╗ ██████╔╝███████║██╔██╗ ██║█████╔╝ █████╗ ██╔██╗ ██║███████╗ ██║ █████╗ ██║██╔██╗ ██║ ██╔══╝ ██╔══██╗██╔══██║██║╚██╗██║██╔═██╗ ██╔══╝ ██║╚██╗██║╚════██║ ██║ ██╔══╝ ██║██║╚██╗██║ ██║ ██║ ██║██║ ██║██║ ╚████║██║ ██╗███████╗██║ ╚████║███████║ ██║ ███████╗██║██║ ╚████║ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚══════╝╚═╝╚═╝ ╚═══╝ Website: https://frankenstein.finance/ twitter: https://twitter.com/FrankenDefi */ /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.6.0 <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 GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/utils/ReentrancyGuard.sol pragma solidity >=0.6.0 <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 () internal { _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 make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: contracts/interfaces/IStrategy.sol pragma solidity 0.6.12; /* ███████╗██████╗ █████╗ ███╗ ██╗██╗ ██╗███████╗███╗ ██╗███████╗████████╗███████╗██╗███╗ ██╗ ██╔════╝██╔══██╗██╔══██╗████╗ ██║██║ ██╔╝██╔════╝████╗ ██║██╔════╝╚══██╔══╝██╔════╝██║████╗ ██║ █████╗ ██████╔╝███████║██╔██╗ ██║█████╔╝ █████╗ ██╔██╗ ██║███████╗ ██║ █████╗ ██║██╔██╗ ██║ ██╔══╝ ██╔══██╗██╔══██║██║╚██╗██║██╔═██╗ ██╔══╝ ██║╚██╗██║╚════██║ ██║ ██╔══╝ ██║██║╚██╗██║ ██║ ██║ ██║██║ ██║██║ ╚████║██║ ██╗███████╗██║ ╚████║███████║ ██║ ███████╗██║██║ ╚████║ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚══════╝╚═╝╚═╝ ╚═══╝ Website: https://frankenstein.finance/ twitter: https://twitter.com/FrankenDefi */ interface IStrategy { // Total want tokens managed by strategy function wantLockedTotal() external view returns (uint256); // Sum of all shares of users to wantLockedTotal function sharesTotal() external view returns (uint256); // Main want token compounding function function earn() external; // Transfer want tokens autoFarm -> strategy function deposit(address _userAddress, uint256 _wantAmt) external returns (uint256); // Transfer want tokens strategy -> autoFarm function withdraw(address _userAddress, uint256 _wantAmt) external returns (uint256); function inCaseTokensGetStuck( address _token, uint256 _amount, address _to ) external; } // File: contracts/interfaces/IReferrals.sol pragma solidity ^0.6.12; /* ███████╗██████╗ █████╗ ███╗ ██╗██╗ ██╗███████╗███╗ ██╗███████╗████████╗███████╗██╗███╗ ██╗ ██╔════╝██╔══██╗██╔══██╗████╗ ██║██║ ██╔╝██╔════╝████╗ ██║██╔════╝╚══██╔══╝██╔════╝██║████╗ ██║ █████╗ ██████╔╝███████║██╔██╗ ██║█████╔╝ █████╗ ██╔██╗ ██║███████╗ ██║ █████╗ ██║██╔██╗ ██║ ██╔══╝ ██╔══██╗██╔══██║██║╚██╗██║██╔═██╗ ██╔══╝ ██║╚██╗██║╚════██║ ██║ ██╔══╝ ██║██║╚██╗██║ ██║ ██║ ██║██║ ██║██║ ╚████║██║ ██╗███████╗██║ ╚████║███████║ ██║ ███████╗██║██║ ╚████║ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚══════╝╚═╝╚═╝ ╚═══╝ Website: https://frankenstein.finance/ twitter: https://twitter.com/FrankenDefi */ interface IReferrals { function updateEarn(address _member, uint256 _amount) external; function getListReferrals(address _member) external view returns (address[] memory); function getSponsor(address account) external view returns (address); function isMember(address _user) external view returns (bool); function addMember(address _member, address _parent) external; function membersList(uint256 id) external view returns (address); } // File: contracts/interfaces/IHelp.sol pragma solidity ^0.6.12; interface IHelp { function Bytecode_0_0_2() external view returns (bool); } // File: contracts/MasterChef.sol pragma solidity 0.6.12; /* ███████╗██████╗ █████╗ ███╗ ██╗██╗ ██╗███████╗███╗ ██╗███████╗████████╗███████╗██╗███╗ ██╗ ██╔════╝██╔══██╗██╔══██╗████╗ ██║██║ ██╔╝██╔════╝████╗ ██║██╔════╝╚══██╔══╝██╔════╝██║████╗ ██║ █████╗ ██████╔╝███████║██╔██╗ ██║█████╔╝ █████╗ ██╔██╗ ██║███████╗ ██║ █████╗ ██║██╔██╗ ██║ ██╔══╝ ██╔══██╗██╔══██║██║╚██╗██║██╔═██╗ ██╔══╝ ██║╚██╗██║╚════██║ ██║ ██╔══╝ ██║██║╚██╗██║ ██║ ██║ ██║██║ ██║██║ ╚████║██║ ██╗███████╗██║ ╚████║███████║ ██║ ███████╗██║██║ ╚████║ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚══════╝╚═╝╚═╝ ╚═══╝ Website: https://frankenstein.finance/ twitter: https://twitter.com/FrankenDefi */ // Mint abstract contract NativeToken is ERC20 { function mint(address _to, uint256 _amount) public virtual; } contract MasterChef is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 shares; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // We do some fancy math here. Basically, any point in time, the amount of AUTO // entitled to a user but is pending to be distributed is: // // amount = user.shares / sharesTotal * wantLockedTotal // pending reward = (amount * pool.accNATIVEPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws want tokens to a pool. Here's what happens: // 1. The pool's `accNATIVEPerShare` (and `lastRewardBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } struct PoolInfo { IERC20 want; // Address of the want token. uint256 allocPoint; // How many allocation points assigned to this pool. NATIVE to distribute per block. uint256 lastRewardBlock; // Last block number that NATIVE distribution occurs. uint256 accNATIVEPerShare; // Accumulated NATIVE per share, times 1e12. See below. address strat; // Strategy address that will auto compound want tokens } // Token address address public NATIVE; // LotteryNFT address address public lottery; // Referrals Interface IReferrals public referrals; // Owner reward per block: 10% uint256 public ownerNATIVEReward = 1000; // Lottery reward per block: 1% uint256 public lotteryNATIVEReward = 100; // Referrals reward per block: 0.25% uint256 percReferrals = 25; // NATIVE tokens created per block uint256 public NATIVEPerBlock; // Native total supply: 2 mil = 2000000e18 uint256 public NATIVEMaxSupply = 2000000e18; // Approx Monday, 17 May 2021 19:00:00 uint256 public startTime = 1621278000; // Counter StartTime uint256 public startTimeCount = 0; /*For BSC*/ // Natives per block: (0.190496575342466 - owner 10% - lottery 1% - referrals 0.25%) uint256 public NATIVEPerBlockBSC = 171232876712329000; /*For FTM*/ // Natives per block: (0.063498858447488 - owner 10% - lottery 1% - referrals 0.25%) uint256 public NATIVEPerBlockFTM = 57077625570776330; PoolInfo[] public poolInfo; // Info of each pool. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Info of each user that stakes LP tokens. uint256 public totalAllocPoint = 0; // Total allocation points. Must be the sum of all allocation points in all pools. event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw( address indexed user, uint256 indexed pid, uint256 amount ); constructor(address _lottery, address _token, IReferrals _referrals, uint _type) public { NATIVE = _token; lottery = _lottery; referrals = _referrals; if(_type == 0){ NATIVEPerBlock = NATIVEPerBlockBSC; } else { NATIVEPerBlock = NATIVEPerBlockFTM; } } function poolLength() external view returns (uint256) { return poolInfo.length; } // Add a new lp to the pool. Can only be called by the owner. // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do. (Only if want tokens are stored here.) function add( uint256 _allocPoint, IERC20 _want, bool _withUpdate, address _strat ) public onlyOwner { if (_withUpdate) { massUpdatePools(); } uint256 lastRewardBlock = block.number; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolInfo.push( PoolInfo({ want: _want, allocPoint: _allocPoint, lastRewardBlock: lastRewardBlock, accNATIVEPerShare: 0, strat: _strat }) ); } // Update the given pool's NATIVE allocation point. Can only be called by the owner. function set( uint256 _pid, uint256 _allocPoint, bool _withUpdate ) public onlyOwner { if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add( _allocPoint ); poolInfo[_pid].allocPoint = _allocPoint; } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) { if (IERC20(NATIVE).totalSupply() >= NATIVEMaxSupply) { return 0; } return _to.sub(_from); } // View function to see pending AUTO on frontend. function pendingNATIVE(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accNATIVEPerShare = pool.accNATIVEPerShare; uint256 sharesTotal = IStrategy(pool.strat).sharesTotal(); if (block.number > pool.lastRewardBlock && sharesTotal != 0) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 NATIVEReward = multiplier.mul(NATIVEPerBlock).mul(pool.allocPoint).div(totalAllocPoint); accNATIVEPerShare = accNATIVEPerShare.add(NATIVEReward.mul(1e12).div(sharesTotal)); } return user.shares.mul(accNATIVEPerShare).div(1e12).sub(user.rewardDebt); } // View function to see staked Want tokens on frontend. function stakedWantTokens(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 sharesTotal = IStrategy(pool.strat).sharesTotal(); uint256 wantLockedTotal = IStrategy(poolInfo[_pid].strat).wantLockedTotal(); if (sharesTotal == 0) { return 0; } return user.shares.mul(wantLockedTotal).div(sharesTotal); } // View the function to see the tokens bet on the strategy. function getWantLockedTotal(uint256 _pid) external view returns (uint256) { return IStrategy(poolInfo[_pid].strat).wantLockedTotal(); } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } uint256 sharesTotal = IStrategy(pool.strat).sharesTotal(); if (sharesTotal == 0) { pool.lastRewardBlock = block.number; return; } uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); if (multiplier <= 0) { return; } uint256 NATIVEReward = multiplier.mul(NATIVEPerBlock).mul(pool.allocPoint).div( totalAllocPoint ); NativeToken(NATIVE).mint( owner(), NATIVEReward.mul(ownerNATIVEReward).div(10000) ); NativeToken(NATIVE).mint( lottery, NATIVEReward.mul(lotteryNATIVEReward).div(10000) ); NativeToken(NATIVE).mint(address(this), NATIVEReward); pool.accNATIVEPerShare = pool.accNATIVEPerShare.add( NATIVEReward.mul(1e12).div(sharesTotal) ); pool.lastRewardBlock = block.number; } // function to harvest all pools function harvestAll() public nonReentrant { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { PoolInfo storage pool = poolInfo[pid]; UserInfo storage user = userInfo[pid][msg.sender]; if (user.shares > 0) { updatePool(pid); uint256 pending = user.shares.mul(pool.accNATIVEPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { safeNATIVETransfer(msg.sender, pending); uint256 _amountSponsor = pending.mul(percReferrals).div(10000); NativeToken(NATIVE).mint(referrals.getSponsor(msg.sender), _amountSponsor); referrals.updateEarn(referrals.getSponsor(msg.sender), _amountSponsor); } user.rewardDebt = user.shares.mul(pool.accNATIVEPerShare).div(1e12); } } } // Want tokens moved from user -> AUTOFarm (AUTO allocation) -> Strat (compounding) function deposit(uint256 _pid, uint256 _wantAmt, address _sponsor) public nonReentrant { require(block.timestamp > startTime, "!startTime"); if(referrals.isMember(msg.sender) == false){ if(referrals.isMember(_sponsor) == false){ _sponsor = referrals.membersList(0); } referrals.addMember(msg.sender, _sponsor); } updatePool(_pid); PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; if (user.shares > 0) { uint256 pending = user.shares.mul(pool.accNATIVEPerShare).div(1e12).sub( user.rewardDebt ); if (pending > 0) { safeNATIVETransfer(msg.sender, pending); uint256 _amountSponsor = pending.mul(percReferrals).div(10000); NativeToken(NATIVE).mint(referrals.getSponsor(msg.sender), _amountSponsor); referrals.updateEarn(referrals.getSponsor(msg.sender), _amountSponsor); } } if (_wantAmt > 0) { pool.want.safeTransferFrom( address(msg.sender), address(this), _wantAmt ); pool.want.safeIncreaseAllowance(pool.strat, _wantAmt); uint256 sharesAdded = IStrategy(poolInfo[_pid].strat).deposit(msg.sender, _wantAmt); user.shares = user.shares.add(sharesAdded); } user.rewardDebt = user.shares.mul(pool.accNATIVEPerShare).div(1e12); emit Deposit(msg.sender, _pid, _wantAmt); } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _wantAmt) public nonReentrant { updatePool(_pid); PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 wantLockedTotal = IStrategy(poolInfo[_pid].strat).wantLockedTotal(); uint256 sharesTotal = IStrategy(poolInfo[_pid].strat).sharesTotal(); require(user.shares > 0, "user.shares is 0"); require(sharesTotal > 0, "sharesTotal is 0"); // Withdraw pending AUTO uint256 pending = user.shares.mul(pool.accNATIVEPerShare).div(1e12).sub( user.rewardDebt ); if (pending > 0) { safeNATIVETransfer(msg.sender, pending); uint256 _amountSponsor = pending.mul(percReferrals).div(10000); NativeToken(NATIVE).mint(referrals.getSponsor(msg.sender), _amountSponsor); referrals.updateEarn(referrals.getSponsor(msg.sender), _amountSponsor); } // Withdraw want tokens uint256 amount = user.shares.mul(wantLockedTotal).div(sharesTotal); if (_wantAmt > amount) { _wantAmt = amount; } if (_wantAmt > 0) { uint256 sharesRemoved = IStrategy(poolInfo[_pid].strat).withdraw(msg.sender, _wantAmt); if (sharesRemoved > user.shares) { user.shares = 0; } else { user.shares = user.shares.sub(sharesRemoved); } uint256 wantBal = IERC20(pool.want).balanceOf(address(this)); if (wantBal < _wantAmt) { _wantAmt = wantBal; } pool.want.safeTransfer(address(msg.sender), _wantAmt); } user.rewardDebt = user.shares.mul(pool.accNATIVEPerShare).div(1e12); emit Withdraw(msg.sender, _pid, _wantAmt); } function withdrawAll(uint256 _pid) public nonReentrant { withdraw(_pid, uint256(-1)); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 wantLockedTotal = IStrategy(poolInfo[_pid].strat).wantLockedTotal(); uint256 sharesTotal = IStrategy(poolInfo[_pid].strat).sharesTotal(); uint256 amount = user.shares.mul(wantLockedTotal).div(sharesTotal); IStrategy(poolInfo[_pid].strat).withdraw(msg.sender, amount); pool.want.safeTransfer(address(msg.sender), amount); emit EmergencyWithdraw(msg.sender, _pid, amount); user.shares = 0; user.rewardDebt = 0; } // Safe AUTO transfer function, just in case if rounding error causes pool to not have enough function safeNATIVETransfer(address _to, uint256 _NATIVEAmt) internal { uint256 NATIVEBal = IERC20(NATIVE).balanceOf(address(this)); if (_NATIVEAmt > NATIVEBal) { IERC20(NATIVE).transfer(_to, NATIVEBal); } else { IERC20(NATIVE).transfer(_to, _NATIVEAmt); } } function inCaseTokensGetStuck(address _token, uint256 _amount) public onlyOwner { require(_token != NATIVE, "!safe"); IERC20(_token).safeTransfer(msg.sender, _amount); } function inCaseOfRequiringChangeOfInitialDate(uint256 _newDate) public onlyOwner { require(startTimeCount == 0, "!inCaseOfRequiringChangeOfInitialDate"); startTime = _newDate; startTimeCount = 1; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_lottery","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"contract IReferrals","name":"_referrals","type":"address"},{"internalType":"uint256","name":"_type","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"NATIVE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NATIVEMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NATIVEPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NATIVEPerBlockBSC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NATIVEPerBlockFTM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_want","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"address","name":"_strat","type":"address"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"},{"internalType":"address","name":"_sponsor","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"getWantLockedTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvestAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newDate","type":"uint256"}],"name":"inCaseOfRequiringChangeOfInitialDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lottery","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lotteryNATIVEReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerNATIVEReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingNATIVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"want","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accNATIVEPerShare","type":"uint256"},{"internalType":"address","name":"strat","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referrals","outputs":[{"internalType":"contract IReferrals","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"stakedWantTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTimeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526103e8600555606460065560196007556a01a784379d99db420000006009556360a2bd30600a556000600b556702605764e64e7f28600c5566cac7cc4cc4d50a600d5560006010553480156200005957600080fd5b506040516200301038038062003010833981810160405260808110156200007f57600080fd5b50805160208201516040830151606090930151919290916000620000a262000150565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600280546001600160a01b038086166001600160a01b031992831617909255600380548784169083161790556004805492851692909116919091179055806200013f57600c5460085562000146565b600d546008555b5050505062000154565b3390565b612eac80620001646000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80638da5cb5b1161011a5780639d4476b1116100ad578063ba13a5721161007c578063ba13a57214610510578063c6d758cb14610518578063d3dc753914610544578063f2fde38b1461054c578063f85c0b7414610572576101fb565b80639d4476b1146104db578063a0cf0aea146104e3578063a9e03ed4146104eb578063b1241b6614610508576101fb565b806393f1a40b116100e957806393f1a40b14610454578063958e2d311461049957806397ba9de9146104b65780639892a825146104be576101fb565b80638da5cb5b146103d35780638dbb1e3a146103f75780638dbdbe6d1461041a5780638ed955b91461044c576101fb565b80635312ea8e116101925780636675f30f116101615780636675f30f1461038f578063715018a61461039757806378e979251461039f5780637b84daec146103a7576101fb565b80635312ea8e146103015780635f70edcf1461031e578063630b5ba11461035c57806364482f7914610364576101fb565b806317caf6f1116101ce57806317caf6f1146102af5780633dc1eb7d146102b7578063441a3e70146102bf57806351eb05a6146102e4576101fb565b806305d8ae1514610200578063081e3eda1461021a5780630c5df13d146102225780631526fe271461024e575b600080fd5b61020861057a565b60408051918252519081900360200190f35b610208610580565b6102086004803603604081101561023857600080fd5b50803590602001356001600160a01b0316610586565b61026b6004803603602081101561026457600080fd5b50356106f7565b60405180866001600160a01b03168152602001858152602001848152602001838152602001826001600160a01b031681526020019550505050505060405180910390f35b610208610742565b610208610748565b6102e2600480360360408110156102d557600080fd5b508035906020013561074e565b005b6102e2600480360360208110156102fa57600080fd5b5035610dc0565b6102e26004803603602081101561031757600080fd5b5035611098565b6102e26004803603608081101561033457600080fd5b508035906001600160a01b03602082013581169160408101351515916060909101351661136c565b6102e2611518565b6102e26004803603606081101561037a57600080fd5b5080359060208101359060400135151561153b565b610208611616565b6102e261161c565b6102086116c8565b610208600480360360408110156103bd57600080fd5b50803590602001356001600160a01b03166116ce565b6103db61183e565b604080516001600160a01b039092168252519081900360200190f35b6102086004803603604081101561040d57600080fd5b508035906020013561184d565b6102e26004803603606081101561043057600080fd5b50803590602081013590604001356001600160a01b03166118e0565b6102e2611f2f565b6104806004803603604081101561046a57600080fd5b50803590602001356001600160a01b0316612234565b6040805192835260208301919091528051918290030190f35b6102e2600480360360208110156104af57600080fd5b5035612258565b6102086122b6565b610208600480360360208110156104d457600080fd5b50356122bc565b61020861235a565b6103db612360565b6102e26004803603602081101561050157600080fd5b503561236f565b61020861241a565b6103db612420565b6102e26004803603604081101561052e57600080fd5b506001600160a01b03813516906020013561242f565b6103db6124f0565b6102e26004803603602081101561056257600080fd5b50356001600160a01b03166124ff565b610208612601565b600c5481565b600e5490565b600080600e848154811061059657fe5b60009182526020808320878452600f825260408085206001600160a01b03898116875290845281862060059590950290920160038101546004808301548451632251caaf60e11b8152945193995096979196919591909416936344a3955e93808201939190829003018186803b15801561060f57600080fd5b505afa158015610623573d6000803e3d6000fd5b505050506040513d602081101561063957600080fd5b505160028501549091504311801561065057508015155b156106bc57600061066585600201544361184d565b90506000610698601054610692886001015461068c6008548761260790919063ffffffff16565b90612607565b90612660565b90506106b76106b0846106928464e8d4a51000612607565b85906126c7565b935050505b6106ea83600101546106e464e8d4a5100061069286886000015461260790919063ffffffff16565b90612721565b9450505050505b92915050565b600e818154811061070457fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0393841695509193909290911685565b60105481565b600d5481565b60026001541415610794576040805162461bcd60e51b815260206004820152601f6024820152600080516020612d7b833981519152604482015290519081900360640190fd5b60026001556107a282610dc0565b6000600e83815481106107b157fe5b60009182526020808320868452600f82526040808520338652909252908320600e8054600590940290920194509291869081106107ea57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b15801561084757600080fd5b505afa15801561085b573d6000803e3d6000fd5b505050506040513d602081101561087157600080fd5b5051600e80549192506000918790811061088757fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108e457600080fd5b505afa1580156108f8573d6000803e3d6000fd5b505050506040513d602081101561090e57600080fd5b50518354909150610959576040805162461bcd60e51b815260206004820152601060248201526f0757365722e73686172657320697320360841b604482015290519081900360640190fd5b600081116109a1576040805162461bcd60e51b815260206004820152601060248201526f0736861726573546f74616c20697320360841b604482015290519081900360640190fd5b60006109cf84600101546106e464e8d4a510006106928960030154896000015461260790919063ffffffff16565b90508015610bd2576109e1338261277e565b60006109fe6127106106926007548561260790919063ffffffff16565b600254600480546040805163743fc74560e01b81523393810193909352519394506001600160a01b03928316936340c10f19939091169163743fc745916024808301926020929190829003018186803b158015610a5a57600080fd5b505afa158015610a6e573d6000803e3d6000fd5b505050506040513d6020811015610a8457600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b158015610ad357600080fd5b505af1158015610ae7573d6000803e3d6000fd5b5050600480546040805163743fc74560e01b81523393810193909352516001600160a01b03909116935063b8b58e039250839163743fc745916024808301926020929190829003018186803b158015610b3f57600080fd5b505afa158015610b53573d6000803e3d6000fd5b505050506040513d6020811015610b6957600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b158015610bb857600080fd5b505af1158015610bcc573d6000803e3d6000fd5b50505050505b8354600090610be79084906106929087612607565b905080871115610bf5578096505b8615610d5b576000600e8981548110610c0a57fe5b6000918252602080832060046005909302018201546040805163f3fef3a360e01b81523394810194909452602484018d9052516001600160a01b039091169363f3fef3a3936044808201949392918390030190829087803b158015610c6e57600080fd5b505af1158015610c82573d6000803e3d6000fd5b505050506040513d6020811015610c9857600080fd5b50518654909150811115610caf5760008655610cbe565b8554610cbb9082612721565b86555b8654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d0857600080fd5b505afa158015610d1c573d6000803e3d6000fd5b505050506040513d6020811015610d3257600080fd5b5051905088811015610d42578098505b8754610d58906001600160a01b0316338b61290f565b50505b60038601548554610d769164e8d4a510009161069291612607565b6001860155604080518881529051899133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505060018055505050505050565b6000600e8281548110610dcf57fe5b9060005260206000209060050201905080600201544311610df05750611095565b60008160040160009054906101000a90046001600160a01b03166001600160a01b03166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4257600080fd5b505afa158015610e56573d6000803e3d6000fd5b505050506040513d6020811015610e6c57600080fd5b5051905080610e82575043600290910155611095565b6000610e9283600201544361184d565b905060008111610ea457505050611095565b6000610ec9601054610692866001015461068c6008548761260790919063ffffffff16565b6002549091506001600160a01b03166340c10f19610ee561183e565b610f006127106106926005548761260790919063ffffffff16565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610f4657600080fd5b505af1158015610f5a573d6000803e3d6000fd5b50506002546003546006546001600160a01b0392831694506340c10f199350911690610f8f9061271090610692908790612607565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610fd557600080fd5b505af1158015610fe9573d6000803e3d6000fd5b5050600254604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b15801561104057600080fd5b505af1158015611054573d6000803e3d6000fd5b505050506110826110778461069264e8d4a510008561260790919063ffffffff16565b6003860154906126c7565b6003850155505043600290920191909155505b50565b600260015414156110de576040805162461bcd60e51b815260206004820152601f6024820152600080516020612d7b833981519152604482015290519081900360640190fd5b60026001819055506000600e82815481106110f557fe5b60009182526020808320858452600f82526040808520338652909252908320600e80546005909402909201945092918590811061112e57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b15801561118b57600080fd5b505afa15801561119f573d6000803e3d6000fd5b505050506040513d60208110156111b557600080fd5b5051600e8054919250600091869081106111cb57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561122857600080fd5b505afa15801561123c573d6000803e3d6000fd5b505050506040513d602081101561125257600080fd5b5051835490915060009061126c9083906106929086612607565b9050600e868154811061127b57fe5b6000918252602080832060046005909302018201546040805163f3fef3a360e01b8152339481019490945260248401869052516001600160a01b039091169363f3fef3a3936044808201949392918390030190829087803b1580156112df57600080fd5b505af11580156112f3573d6000803e3d6000fd5b505050506040513d602081101561130957600080fd5b50508454611321906001600160a01b0316338361290f565b604080518281529051879133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a3505060008083556001928301555080555050565b611374612961565b6001600160a01b031661138561183e565b6001600160a01b0316146113ce576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b81156113dc576113dc611518565b60105443906113eb90866126c7565b6010556040805160a0810182526001600160a01b0395861681526020810196875290810191825260006060820181815293861660808301908152600e80546001810182559252915160059091027fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd810180549288166001600160a01b031993841617905596517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe88015591517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3ff87015591517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c40086015590517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c401909401805494909316931692909217905550565b600e5460005b818110156115375761152f81610dc0565b60010161151e565b5050565b611543612961565b6001600160a01b031661155461183e565b6001600160a01b03161461159d576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b80156115ab576115ab611518565b6115e8826115e2600e86815481106115bf57fe5b90600052602060002090600502016001015460105461272190919063ffffffff16565b906126c7565b60108190555081600e84815481106115fc57fe5b906000526020600020906005020160010181905550505050565b60055481565b611624612961565b6001600160a01b031661163561183e565b6001600160a01b03161461167e576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600a5481565b600080600e84815481106116de57fe5b60009182526020808320878452600f825260408085206001600160a01b03808a16875290845281862060046005909602909301858101548351632251caaf60e11b8152935191985093969593909116936344a3955e9383810193919291829003018186803b15801561174f57600080fd5b505afa158015611763573d6000803e3d6000fd5b505050506040513d602081101561177957600080fd5b5051600e80549192506000918890811061178f57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b1580156117ec57600080fd5b505afa158015611800573d6000803e3d6000fd5b505050506040513d602081101561181657600080fd5b505190508161182c5760009450505050506106f1565b82546106ea9083906106929084612607565b6000546001600160a01b031690565b600954600254604080516318160ddd60e01b81529051600093926001600160a01b0316916318160ddd916004808301926020929190829003018186803b15801561189657600080fd5b505afa1580156118aa573d6000803e3d6000fd5b505050506040513d60208110156118c057600080fd5b5051106118cf575060006106f1565b6118d98284612721565b9392505050565b60026001541415611926576040805162461bcd60e51b815260206004820152601f6024820152600080516020612d7b833981519152604482015290519081900360640190fd5b6002600155600a54421161196e576040805162461bcd60e51b815260206004820152600a60248201526921737461727454696d6560b01b604482015290519081900360640190fd5b600480546040805163288c314960e21b81523393810193909352516001600160a01b039091169163a230c524916024808301926020929190829003018186803b1580156119ba57600080fd5b505afa1580156119ce573d6000803e3d6000fd5b505050506040513d60208110156119e457600080fd5b5051611b6657600460009054906101000a90046001600160a01b03166001600160a01b031663a230c524826040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611a4c57600080fd5b505afa158015611a60573d6000803e3d6000fd5b505050506040513d6020811015611a7657600080fd5b5051611af85760048054604080516313b8ad3160e01b8152600093810193909352516001600160a01b03909116916313b8ad31916024808301926020929190829003018186803b158015611ac957600080fd5b505afa158015611add573d6000803e3d6000fd5b505050506040513d6020811015611af357600080fd5b505190505b6004805460408051639d58b15d60e01b815233938101939093526001600160a01b0384811660248501529051911691639d58b15d91604480830192600092919082900301818387803b158015611b4d57600080fd5b505af1158015611b61573d6000803e3d6000fd5b505050505b611b6f83610dc0565b6000600e8481548110611b7e57fe5b60009182526020808320878452600f82526040808520338652909252922080546005909202909201925015611de0576000611bdb82600101546106e464e8d4a510006106928760030154876000015461260790919063ffffffff16565b90508015611dde57611bed338261277e565b6000611c0a6127106106926007548561260790919063ffffffff16565b600254600480546040805163743fc74560e01b81523393810193909352519394506001600160a01b03928316936340c10f19939091169163743fc745916024808301926020929190829003018186803b158015611c6657600080fd5b505afa158015611c7a573d6000803e3d6000fd5b505050506040513d6020811015611c9057600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b158015611cdf57600080fd5b505af1158015611cf3573d6000803e3d6000fd5b5050600480546040805163743fc74560e01b81523393810193909352516001600160a01b03909116935063b8b58e039250839163743fc745916024808301926020929190829003018186803b158015611d4b57600080fd5b505afa158015611d5f573d6000803e3d6000fd5b505050506040513d6020811015611d7557600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b158015611dc457600080fd5b505af1158015611dd8573d6000803e3d6000fd5b50505050505b505b8315611ecd578154611dfd906001600160a01b0316333087612965565b60048201548254611e1b916001600160a01b039182169116866129c5565b6000600e8681548110611e2a57fe5b600091825260208083206004600590930201820154604080516311f9fbc960e21b81523394810194909452602484018a9052516001600160a01b03909116936347e7ef24936044808201949392918390030190829087803b158015611e8e57600080fd5b505af1158015611ea2573d6000803e3d6000fd5b505050506040513d6020811015611eb857600080fd5b50518254909150611ec990826126c7565b8255505b60038201548154611ee89164e8d4a510009161069291612607565b6001820155604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505060018055505050565b60026001541415611f75576040805162461bcd60e51b815260206004820152601f6024820152600080516020612d7b833981519152604482015290519081900360640190fd5b6002600155600e5460005b8181101561222c576000600e8281548110611f9757fe5b60009182526020808320858452600f8252604080852033865290925292208054600590920290920192501561222257611fcf83610dc0565b6000611ffd82600101546106e464e8d4a510006106928760030154876000015461260790919063ffffffff16565b905080156122005761200f338261277e565b600061202c6127106106926007548561260790919063ffffffff16565b600254600480546040805163743fc74560e01b81523393810193909352519394506001600160a01b03928316936340c10f19939091169163743fc745916024808301926020929190829003018186803b15801561208857600080fd5b505afa15801561209c573d6000803e3d6000fd5b505050506040513d60208110156120b257600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b15801561210157600080fd5b505af1158015612115573d6000803e3d6000fd5b5050600480546040805163743fc74560e01b81523393810193909352516001600160a01b03909116935063b8b58e039250839163743fc745916024808301926020929190829003018186803b15801561216d57600080fd5b505afa158015612181573d6000803e3d6000fd5b505050506040513d602081101561219757600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b1580156121e657600080fd5b505af11580156121fa573d6000803e3d6000fd5b50505050505b6003830154825461221b9164e8d4a510009161069291612607565b6001830155505b5050600101611f80565b505060018055565b600f6020908152600092835260408084209091529082529020805460019091015482565b6002600154141561229e576040805162461bcd60e51b815260206004820152601f6024820152600080516020612d7b833981519152604482015290519081900360640190fd5b60026001556122af8160001961074e565b5060018055565b60065481565b6000600e82815481106122cb57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b15801561232857600080fd5b505afa15801561233c573d6000803e3d6000fd5b505050506040513d602081101561235257600080fd5b505192915050565b60095481565b6002546001600160a01b031681565b612377612961565b6001600160a01b031661238861183e565b6001600160a01b0316146123d1576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b600b54156124105760405162461bcd60e51b8152600401808060200182810382526025815260200180612e286025913960400191505060405180910390fd5b600a556001600b55565b600b5481565b6003546001600160a01b031681565b612437612961565b6001600160a01b031661244861183e565b6001600160a01b031614612491576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b6002546001600160a01b03838116911614156124dc576040805162461bcd60e51b8152602060048201526005602482015264217361666560d81b604482015290519081900360640190fd5b6115376001600160a01b038316338361290f565b6004546001600160a01b031681565b612507612961565b6001600160a01b031661251861183e565b6001600160a01b031614612561576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b6001600160a01b0381166125a65760405162461bcd60e51b8152600401808060200182810382526026815260200180612d9b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60085481565b600082612616575060006106f1565b8282028284828161262357fe5b04146118d95760405162461bcd60e51b8152600401808060200182810382526021815260200180612de76021913960400191505060405180910390fd5b60008082116126b6576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816126bf57fe5b049392505050565b6000828201838110156118d9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082821115612778576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156127c957600080fd5b505afa1580156127dd573d6000803e3d6000fd5b505050506040513d60208110156127f357600080fd5b5051905080821115612887576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561285557600080fd5b505af1158015612869573d6000803e3d6000fd5b505050506040513d602081101561287f57600080fd5b5061290a9050565b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156128dd57600080fd5b505af11580156128f1573d6000803e3d6000fd5b505050506040513d602081101561290757600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261290a908490612aac565b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526129bf908590612aac565b50505050565b6000612a5b82856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b158015612a2957600080fd5b505afa158015612a3d573d6000803e3d6000fd5b505050506040513d6020811015612a5357600080fd5b5051906126c7565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790529091506129bf9085905b6060612b01826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b5d9092919063ffffffff16565b80519091501561290a57808060200190516020811015612b2057600080fd5b505161290a5760405162461bcd60e51b815260040180806020018281038252602a815260200180612e4d602a913960400191505060405180910390fd5b6060612b6c8484600085612b74565b949350505050565b606082471015612bb55760405162461bcd60e51b8152600401808060200182810382526026815260200180612dc16026913960400191505060405180910390fd5b612bbe85612cd0565b612c0f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612c4e5780518252601f199092019160209182019101612c2f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612cb0576040519150601f19603f3d011682016040523d82523d6000602084013e612cb5565b606091505b5091509150612cc5828286612cd6565b979650505050505050565b3b151590565b60608315612ce55750816118d9565b825115612cf55782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612d3f578181015183820152602001612d27565b50505050905090810190601f168015612d6c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657221696e436173654f66526571756972696e674368616e67654f66496e697469616c446174655361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220d243ea0c19936c353096f540366df629bf0942d538fb38ed687532d3dcfc8d4964736f6c634300060c003300000000000000000000000006ddda25cd5a553f68b2cd399dc18fa3a6d4f099000000000000000000000000eb86b05cfee3e48db9a44275701ed099462c8ba000000000000000000000000021f5520db4e44843bf8cba9b3e4930353894c4ae0000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80638da5cb5b1161011a5780639d4476b1116100ad578063ba13a5721161007c578063ba13a57214610510578063c6d758cb14610518578063d3dc753914610544578063f2fde38b1461054c578063f85c0b7414610572576101fb565b80639d4476b1146104db578063a0cf0aea146104e3578063a9e03ed4146104eb578063b1241b6614610508576101fb565b806393f1a40b116100e957806393f1a40b14610454578063958e2d311461049957806397ba9de9146104b65780639892a825146104be576101fb565b80638da5cb5b146103d35780638dbb1e3a146103f75780638dbdbe6d1461041a5780638ed955b91461044c576101fb565b80635312ea8e116101925780636675f30f116101615780636675f30f1461038f578063715018a61461039757806378e979251461039f5780637b84daec146103a7576101fb565b80635312ea8e146103015780635f70edcf1461031e578063630b5ba11461035c57806364482f7914610364576101fb565b806317caf6f1116101ce57806317caf6f1146102af5780633dc1eb7d146102b7578063441a3e70146102bf57806351eb05a6146102e4576101fb565b806305d8ae1514610200578063081e3eda1461021a5780630c5df13d146102225780631526fe271461024e575b600080fd5b61020861057a565b60408051918252519081900360200190f35b610208610580565b6102086004803603604081101561023857600080fd5b50803590602001356001600160a01b0316610586565b61026b6004803603602081101561026457600080fd5b50356106f7565b60405180866001600160a01b03168152602001858152602001848152602001838152602001826001600160a01b031681526020019550505050505060405180910390f35b610208610742565b610208610748565b6102e2600480360360408110156102d557600080fd5b508035906020013561074e565b005b6102e2600480360360208110156102fa57600080fd5b5035610dc0565b6102e26004803603602081101561031757600080fd5b5035611098565b6102e26004803603608081101561033457600080fd5b508035906001600160a01b03602082013581169160408101351515916060909101351661136c565b6102e2611518565b6102e26004803603606081101561037a57600080fd5b5080359060208101359060400135151561153b565b610208611616565b6102e261161c565b6102086116c8565b610208600480360360408110156103bd57600080fd5b50803590602001356001600160a01b03166116ce565b6103db61183e565b604080516001600160a01b039092168252519081900360200190f35b6102086004803603604081101561040d57600080fd5b508035906020013561184d565b6102e26004803603606081101561043057600080fd5b50803590602081013590604001356001600160a01b03166118e0565b6102e2611f2f565b6104806004803603604081101561046a57600080fd5b50803590602001356001600160a01b0316612234565b6040805192835260208301919091528051918290030190f35b6102e2600480360360208110156104af57600080fd5b5035612258565b6102086122b6565b610208600480360360208110156104d457600080fd5b50356122bc565b61020861235a565b6103db612360565b6102e26004803603602081101561050157600080fd5b503561236f565b61020861241a565b6103db612420565b6102e26004803603604081101561052e57600080fd5b506001600160a01b03813516906020013561242f565b6103db6124f0565b6102e26004803603602081101561056257600080fd5b50356001600160a01b03166124ff565b610208612601565b600c5481565b600e5490565b600080600e848154811061059657fe5b60009182526020808320878452600f825260408085206001600160a01b03898116875290845281862060059590950290920160038101546004808301548451632251caaf60e11b8152945193995096979196919591909416936344a3955e93808201939190829003018186803b15801561060f57600080fd5b505afa158015610623573d6000803e3d6000fd5b505050506040513d602081101561063957600080fd5b505160028501549091504311801561065057508015155b156106bc57600061066585600201544361184d565b90506000610698601054610692886001015461068c6008548761260790919063ffffffff16565b90612607565b90612660565b90506106b76106b0846106928464e8d4a51000612607565b85906126c7565b935050505b6106ea83600101546106e464e8d4a5100061069286886000015461260790919063ffffffff16565b90612721565b9450505050505b92915050565b600e818154811061070457fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0393841695509193909290911685565b60105481565b600d5481565b60026001541415610794576040805162461bcd60e51b815260206004820152601f6024820152600080516020612d7b833981519152604482015290519081900360640190fd5b60026001556107a282610dc0565b6000600e83815481106107b157fe5b60009182526020808320868452600f82526040808520338652909252908320600e8054600590940290920194509291869081106107ea57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b15801561084757600080fd5b505afa15801561085b573d6000803e3d6000fd5b505050506040513d602081101561087157600080fd5b5051600e80549192506000918790811061088757fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108e457600080fd5b505afa1580156108f8573d6000803e3d6000fd5b505050506040513d602081101561090e57600080fd5b50518354909150610959576040805162461bcd60e51b815260206004820152601060248201526f0757365722e73686172657320697320360841b604482015290519081900360640190fd5b600081116109a1576040805162461bcd60e51b815260206004820152601060248201526f0736861726573546f74616c20697320360841b604482015290519081900360640190fd5b60006109cf84600101546106e464e8d4a510006106928960030154896000015461260790919063ffffffff16565b90508015610bd2576109e1338261277e565b60006109fe6127106106926007548561260790919063ffffffff16565b600254600480546040805163743fc74560e01b81523393810193909352519394506001600160a01b03928316936340c10f19939091169163743fc745916024808301926020929190829003018186803b158015610a5a57600080fd5b505afa158015610a6e573d6000803e3d6000fd5b505050506040513d6020811015610a8457600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b158015610ad357600080fd5b505af1158015610ae7573d6000803e3d6000fd5b5050600480546040805163743fc74560e01b81523393810193909352516001600160a01b03909116935063b8b58e039250839163743fc745916024808301926020929190829003018186803b158015610b3f57600080fd5b505afa158015610b53573d6000803e3d6000fd5b505050506040513d6020811015610b6957600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b158015610bb857600080fd5b505af1158015610bcc573d6000803e3d6000fd5b50505050505b8354600090610be79084906106929087612607565b905080871115610bf5578096505b8615610d5b576000600e8981548110610c0a57fe5b6000918252602080832060046005909302018201546040805163f3fef3a360e01b81523394810194909452602484018d9052516001600160a01b039091169363f3fef3a3936044808201949392918390030190829087803b158015610c6e57600080fd5b505af1158015610c82573d6000803e3d6000fd5b505050506040513d6020811015610c9857600080fd5b50518654909150811115610caf5760008655610cbe565b8554610cbb9082612721565b86555b8654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d0857600080fd5b505afa158015610d1c573d6000803e3d6000fd5b505050506040513d6020811015610d3257600080fd5b5051905088811015610d42578098505b8754610d58906001600160a01b0316338b61290f565b50505b60038601548554610d769164e8d4a510009161069291612607565b6001860155604080518881529051899133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505060018055505050505050565b6000600e8281548110610dcf57fe5b9060005260206000209060050201905080600201544311610df05750611095565b60008160040160009054906101000a90046001600160a01b03166001600160a01b03166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e4257600080fd5b505afa158015610e56573d6000803e3d6000fd5b505050506040513d6020811015610e6c57600080fd5b5051905080610e82575043600290910155611095565b6000610e9283600201544361184d565b905060008111610ea457505050611095565b6000610ec9601054610692866001015461068c6008548761260790919063ffffffff16565b6002549091506001600160a01b03166340c10f19610ee561183e565b610f006127106106926005548761260790919063ffffffff16565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610f4657600080fd5b505af1158015610f5a573d6000803e3d6000fd5b50506002546003546006546001600160a01b0392831694506340c10f199350911690610f8f9061271090610692908790612607565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610fd557600080fd5b505af1158015610fe9573d6000803e3d6000fd5b5050600254604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b15801561104057600080fd5b505af1158015611054573d6000803e3d6000fd5b505050506110826110778461069264e8d4a510008561260790919063ffffffff16565b6003860154906126c7565b6003850155505043600290920191909155505b50565b600260015414156110de576040805162461bcd60e51b815260206004820152601f6024820152600080516020612d7b833981519152604482015290519081900360640190fd5b60026001819055506000600e82815481106110f557fe5b60009182526020808320858452600f82526040808520338652909252908320600e80546005909402909201945092918590811061112e57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b15801561118b57600080fd5b505afa15801561119f573d6000803e3d6000fd5b505050506040513d60208110156111b557600080fd5b5051600e8054919250600091869081106111cb57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561122857600080fd5b505afa15801561123c573d6000803e3d6000fd5b505050506040513d602081101561125257600080fd5b5051835490915060009061126c9083906106929086612607565b9050600e868154811061127b57fe5b6000918252602080832060046005909302018201546040805163f3fef3a360e01b8152339481019490945260248401869052516001600160a01b039091169363f3fef3a3936044808201949392918390030190829087803b1580156112df57600080fd5b505af11580156112f3573d6000803e3d6000fd5b505050506040513d602081101561130957600080fd5b50508454611321906001600160a01b0316338361290f565b604080518281529051879133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a3505060008083556001928301555080555050565b611374612961565b6001600160a01b031661138561183e565b6001600160a01b0316146113ce576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b81156113dc576113dc611518565b60105443906113eb90866126c7565b6010556040805160a0810182526001600160a01b0395861681526020810196875290810191825260006060820181815293861660808301908152600e80546001810182559252915160059091027fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd810180549288166001600160a01b031993841617905596517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fe88015591517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3ff87015591517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c40086015590517fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c401909401805494909316931692909217905550565b600e5460005b818110156115375761152f81610dc0565b60010161151e565b5050565b611543612961565b6001600160a01b031661155461183e565b6001600160a01b03161461159d576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b80156115ab576115ab611518565b6115e8826115e2600e86815481106115bf57fe5b90600052602060002090600502016001015460105461272190919063ffffffff16565b906126c7565b60108190555081600e84815481106115fc57fe5b906000526020600020906005020160010181905550505050565b60055481565b611624612961565b6001600160a01b031661163561183e565b6001600160a01b03161461167e576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600a5481565b600080600e84815481106116de57fe5b60009182526020808320878452600f825260408085206001600160a01b03808a16875290845281862060046005909602909301858101548351632251caaf60e11b8152935191985093969593909116936344a3955e9383810193919291829003018186803b15801561174f57600080fd5b505afa158015611763573d6000803e3d6000fd5b505050506040513d602081101561177957600080fd5b5051600e80549192506000918890811061178f57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b1580156117ec57600080fd5b505afa158015611800573d6000803e3d6000fd5b505050506040513d602081101561181657600080fd5b505190508161182c5760009450505050506106f1565b82546106ea9083906106929084612607565b6000546001600160a01b031690565b600954600254604080516318160ddd60e01b81529051600093926001600160a01b0316916318160ddd916004808301926020929190829003018186803b15801561189657600080fd5b505afa1580156118aa573d6000803e3d6000fd5b505050506040513d60208110156118c057600080fd5b5051106118cf575060006106f1565b6118d98284612721565b9392505050565b60026001541415611926576040805162461bcd60e51b815260206004820152601f6024820152600080516020612d7b833981519152604482015290519081900360640190fd5b6002600155600a54421161196e576040805162461bcd60e51b815260206004820152600a60248201526921737461727454696d6560b01b604482015290519081900360640190fd5b600480546040805163288c314960e21b81523393810193909352516001600160a01b039091169163a230c524916024808301926020929190829003018186803b1580156119ba57600080fd5b505afa1580156119ce573d6000803e3d6000fd5b505050506040513d60208110156119e457600080fd5b5051611b6657600460009054906101000a90046001600160a01b03166001600160a01b031663a230c524826040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611a4c57600080fd5b505afa158015611a60573d6000803e3d6000fd5b505050506040513d6020811015611a7657600080fd5b5051611af85760048054604080516313b8ad3160e01b8152600093810193909352516001600160a01b03909116916313b8ad31916024808301926020929190829003018186803b158015611ac957600080fd5b505afa158015611add573d6000803e3d6000fd5b505050506040513d6020811015611af357600080fd5b505190505b6004805460408051639d58b15d60e01b815233938101939093526001600160a01b0384811660248501529051911691639d58b15d91604480830192600092919082900301818387803b158015611b4d57600080fd5b505af1158015611b61573d6000803e3d6000fd5b505050505b611b6f83610dc0565b6000600e8481548110611b7e57fe5b60009182526020808320878452600f82526040808520338652909252922080546005909202909201925015611de0576000611bdb82600101546106e464e8d4a510006106928760030154876000015461260790919063ffffffff16565b90508015611dde57611bed338261277e565b6000611c0a6127106106926007548561260790919063ffffffff16565b600254600480546040805163743fc74560e01b81523393810193909352519394506001600160a01b03928316936340c10f19939091169163743fc745916024808301926020929190829003018186803b158015611c6657600080fd5b505afa158015611c7a573d6000803e3d6000fd5b505050506040513d6020811015611c9057600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b158015611cdf57600080fd5b505af1158015611cf3573d6000803e3d6000fd5b5050600480546040805163743fc74560e01b81523393810193909352516001600160a01b03909116935063b8b58e039250839163743fc745916024808301926020929190829003018186803b158015611d4b57600080fd5b505afa158015611d5f573d6000803e3d6000fd5b505050506040513d6020811015611d7557600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b158015611dc457600080fd5b505af1158015611dd8573d6000803e3d6000fd5b50505050505b505b8315611ecd578154611dfd906001600160a01b0316333087612965565b60048201548254611e1b916001600160a01b039182169116866129c5565b6000600e8681548110611e2a57fe5b600091825260208083206004600590930201820154604080516311f9fbc960e21b81523394810194909452602484018a9052516001600160a01b03909116936347e7ef24936044808201949392918390030190829087803b158015611e8e57600080fd5b505af1158015611ea2573d6000803e3d6000fd5b505050506040513d6020811015611eb857600080fd5b50518254909150611ec990826126c7565b8255505b60038201548154611ee89164e8d4a510009161069291612607565b6001820155604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505060018055505050565b60026001541415611f75576040805162461bcd60e51b815260206004820152601f6024820152600080516020612d7b833981519152604482015290519081900360640190fd5b6002600155600e5460005b8181101561222c576000600e8281548110611f9757fe5b60009182526020808320858452600f8252604080852033865290925292208054600590920290920192501561222257611fcf83610dc0565b6000611ffd82600101546106e464e8d4a510006106928760030154876000015461260790919063ffffffff16565b905080156122005761200f338261277e565b600061202c6127106106926007548561260790919063ffffffff16565b600254600480546040805163743fc74560e01b81523393810193909352519394506001600160a01b03928316936340c10f19939091169163743fc745916024808301926020929190829003018186803b15801561208857600080fd5b505afa15801561209c573d6000803e3d6000fd5b505050506040513d60208110156120b257600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b15801561210157600080fd5b505af1158015612115573d6000803e3d6000fd5b5050600480546040805163743fc74560e01b81523393810193909352516001600160a01b03909116935063b8b58e039250839163743fc745916024808301926020929190829003018186803b15801561216d57600080fd5b505afa158015612181573d6000803e3d6000fd5b505050506040513d602081101561219757600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820185905251604480830192600092919082900301818387803b1580156121e657600080fd5b505af11580156121fa573d6000803e3d6000fd5b50505050505b6003830154825461221b9164e8d4a510009161069291612607565b6001830155505b5050600101611f80565b505060018055565b600f6020908152600092835260408084209091529082529020805460019091015482565b6002600154141561229e576040805162461bcd60e51b815260206004820152601f6024820152600080516020612d7b833981519152604482015290519081900360640190fd5b60026001556122af8160001961074e565b5060018055565b60065481565b6000600e82815481106122cb57fe5b906000526020600020906005020160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b15801561232857600080fd5b505afa15801561233c573d6000803e3d6000fd5b505050506040513d602081101561235257600080fd5b505192915050565b60095481565b6002546001600160a01b031681565b612377612961565b6001600160a01b031661238861183e565b6001600160a01b0316146123d1576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b600b54156124105760405162461bcd60e51b8152600401808060200182810382526025815260200180612e286025913960400191505060405180910390fd5b600a556001600b55565b600b5481565b6003546001600160a01b031681565b612437612961565b6001600160a01b031661244861183e565b6001600160a01b031614612491576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b6002546001600160a01b03838116911614156124dc576040805162461bcd60e51b8152602060048201526005602482015264217361666560d81b604482015290519081900360640190fd5b6115376001600160a01b038316338361290f565b6004546001600160a01b031681565b612507612961565b6001600160a01b031661251861183e565b6001600160a01b031614612561576040805162461bcd60e51b81526020600482018190526024820152600080516020612e08833981519152604482015290519081900360640190fd5b6001600160a01b0381166125a65760405162461bcd60e51b8152600401808060200182810382526026815260200180612d9b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60085481565b600082612616575060006106f1565b8282028284828161262357fe5b04146118d95760405162461bcd60e51b8152600401808060200182810382526021815260200180612de76021913960400191505060405180910390fd5b60008082116126b6576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816126bf57fe5b049392505050565b6000828201838110156118d9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082821115612778576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156127c957600080fd5b505afa1580156127dd573d6000803e3d6000fd5b505050506040513d60208110156127f357600080fd5b5051905080821115612887576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561285557600080fd5b505af1158015612869573d6000803e3d6000fd5b505050506040513d602081101561287f57600080fd5b5061290a9050565b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156128dd57600080fd5b505af11580156128f1573d6000803e3d6000fd5b505050506040513d602081101561290757600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261290a908490612aac565b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526129bf908590612aac565b50505050565b6000612a5b82856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b158015612a2957600080fd5b505afa158015612a3d573d6000803e3d6000fd5b505050506040513d6020811015612a5357600080fd5b5051906126c7565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790529091506129bf9085905b6060612b01826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b5d9092919063ffffffff16565b80519091501561290a57808060200190516020811015612b2057600080fd5b505161290a5760405162461bcd60e51b815260040180806020018281038252602a815260200180612e4d602a913960400191505060405180910390fd5b6060612b6c8484600085612b74565b949350505050565b606082471015612bb55760405162461bcd60e51b8152600401808060200182810382526026815260200180612dc16026913960400191505060405180910390fd5b612bbe85612cd0565b612c0f576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612c4e5780518252601f199092019160209182019101612c2f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612cb0576040519150601f19603f3d011682016040523d82523d6000602084013e612cb5565b606091505b5091509150612cc5828286612cd6565b979650505050505050565b3b151590565b60608315612ce55750816118d9565b825115612cf55782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612d3f578181015183820152602001612d27565b50505050905090810190601f168015612d6c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657221696e436173654f66526571756972696e674368616e67654f66496e697469616c446174655361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220d243ea0c19936c353096f540366df629bf0942d538fb38ed687532d3dcfc8d4964736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000006ddda25cd5a553f68b2cd399dc18fa3a6d4f099000000000000000000000000eb86b05cfee3e48db9a44275701ed099462c8ba000000000000000000000000021f5520db4e44843bf8cba9b3e4930353894c4ae0000000000000000000000000000000000000000000000000000000000000001
-----Decoded View---------------
Arg [0] : _lottery (address): 0x06dDDa25CD5A553f68b2CD399Dc18fA3a6D4f099
Arg [1] : _token (address): 0xeb86B05cFEE3e48DB9a44275701Ed099462c8ba0
Arg [2] : _referrals (address): 0x21F5520dB4e44843bf8cba9b3E4930353894C4ae
Arg [3] : _type (uint256): 1
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000006ddda25cd5a553f68b2cd399dc18fa3a6d4f099
Arg [1] : 000000000000000000000000eb86b05cfee3e48db9a44275701ed099462c8ba0
Arg [2] : 00000000000000000000000021f5520db4e44843bf8cba9b3e4930353894c4ae
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode Sourcemap
48063:14899:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50377:53;;;:::i;:::-;;;;;;;;;;;;;;;;51531:95;;;:::i;53284:816::-;;;;;;;;;;;;;;;;-1:-1:-1;53284:816:0;;;;;;-1:-1:-1;;;;;53284:816:0;;:::i;50607:26::-;;;;;;;;;;;;;;;;-1:-1:-1;50607:26:0;;:::i;:::-;;;;;-1:-1:-1;;;;;50607:26:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50607:26:0;;;;;;;;;;;;;;;;;;;50777:34;;;:::i;50546:52::-;;;:::i;59268:1916::-;;;;;;;;;;;;;;;;-1:-1:-1;59268:1916:0;;;;;;;:::i;:::-;;55284:1167;;;;;;;;;;;;;;;;-1:-1:-1;55284:1167:0;;:::i;61364:674::-;;;;;;;;;;;;;;;;-1:-1:-1;61364:674:0;;:::i;51834:600::-;;;;;;;;;;;;;;;;-1:-1:-1;51834:600:0;;;-1:-1:-1;;;;;51834:600:0;;;;;;;;;;;;;;;;;;;;;:::i;55028:180::-;;;:::i;52532:362::-;;;;;;;;;;;;;;;;-1:-1:-1;52532:362:0;;;;;;;;;;;;;;:::i;49731:39::-;;;:::i;26614:148::-;;;:::i;50154:37::-;;;:::i;54169:522::-;;;;;;;;;;;;;;;;-1:-1:-1;54169:522:0;;;;;;-1:-1:-1;;;;;54169:522:0;;:::i;25963:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;25963:87:0;;;;;;;;;;;;;;52970:251;;;;;;;;;;;;;;;;-1:-1:-1;52970:251:0;;;;;;;:::i;57538:1678::-;;;;;;;;;;;;;;;;-1:-1:-1;57538:1678:0;;;;;;;;;;;-1:-1:-1;;;;;57538:1678:0;;:::i;56497:944::-;;;:::i;50662:64::-;;;;;;;;;;;;;;;;-1:-1:-1;50662:64:0;;;;;;-1:-1:-1;;;;;50662:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;61192:101;;;;;;;;;;;;;;;;-1:-1:-1;61192:101:0;;:::i;49814:40::-;;;:::i;54764:181::-;;;;;;;;;;;;;;;;-1:-1:-1;54764:181:0;;:::i;50060:43::-;;;:::i;49549:21::-;;;:::i;62701:252::-;;;;;;;;;;;;;;;;-1:-1:-1;62701:252:0;;:::i;50224:33::-;;;:::i;49604:22::-;;;:::i;62478:215::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;62478:215:0;;;;;;;;:::i;49661:27::-;;;:::i;26917:244::-;;;;;;;;;;;;;;;;-1:-1:-1;26917:244:0;-1:-1:-1;;;;;26917:244:0;;:::i;49976:29::-;;;:::i;50377:53::-;;;;:::o;51531:95::-;51603:8;:15;51531:95;:::o;53284:816::-;53386:7;53411:21;53435:8;53444:4;53435:14;;;;;;;;;;;;;;;;53484;;;:8;:14;;;;;;-1:-1:-1;;;;;53484:21:0;;;;;;;;;;;53435:14;;;;;;;;53544:22;;;;53609:10;;;;;53599:35;;-1:-1:-1;;;53599:35:0;;;;53435:14;;-1:-1:-1;53484:21:0;;53544:22;;53435:14;;53609:10;;;;;53599:33;;:35;;;;;;;;;;;53609:10;53599:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53599:35:0;53664:20;;;;53599:35;;-1:-1:-1;53649:12:0;:35;:55;;;;-1:-1:-1;53688:16:0;;;53649:55;53645:365;;;53721:18;53742:49;53756:4;:20;;;53778:12;53742:13;:49::i;:::-;53721:70;;53806:20;53829:72;53885:15;;53829:51;53864:4;:15;;;53829:30;53844:14;;53829:10;:14;;:30;;;;:::i;:::-;:34;;:51::i;:::-;:55;;:72::i;:::-;53806:95;-1:-1:-1;53936:62:0;53958:39;53985:11;53958:22;53806:95;53975:4;53958:16;:22::i;:39::-;53936:17;;:21;:62::i;:::-;53916:82;;53645:365;;;54027:65;54076:4;:15;;;54027:44;54066:4;54027:34;54043:17;54027:4;:11;;;:15;;:34;;;;:::i;:44::-;:48;;:65::i;:::-;54020:72;;;;;;53284:816;;;;;:::o;50607:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50607:26:0;;;;-1:-1:-1;50607:26:0;;;;;;;;:::o;50777:34::-;;;;:::o;50546:52::-;;;;:::o;59268:1916::-;28920:1;29526:7;;:19;;29518:63;;;;;-1:-1:-1;;;29518:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;29518:63:0;;;;;;;;;;;;;;;28920:1;29659:7;:18;59349:16:::1;59360:4:::0;59349:10:::1;:16::i;:::-;59378:21;59402:8;59411:4;59402:14;;;;;;;;;::::0;;;::::1;::::0;;;59451;;;:8:::1;:14:::0;;;;;;59466:10:::1;59451:26:::0;;;;;;;;59526:8:::1;:14:::0;;59402::::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;59451:26:0;59402:14;59460:4;;59526:14;::::1;;;;;;;;;;;;;;;:20;;;;;;;;;;-1:-1:-1::0;;;;;59526:20:0::1;-1:-1:-1::0;;;;;59516:47:0::1;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;59516:49:0;59608:8:::1;:14:::0;;59516:49;;-1:-1:-1;59576:19:0::1;::::0;59617:4;;59608:14;::::1;;;;;;;;;;;;;;;:20;;;;;;;;;;-1:-1:-1::0;;;;;59608:20:0::1;-1:-1:-1::0;;;;;59598:43:0::1;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;59598:45:0;59664:11;;59598:45;;-1:-1:-1;59656:44:0::1;;;::::0;;-1:-1:-1;;;59656:44:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;59656:44:0;;;;;;;;;;;;;::::1;;59733:1;59719:11;:15;59711:44;;;::::0;;-1:-1:-1;;;59711:44:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;59711:44:0;;;;;;;;;;;;;::::1;;59802:15;59833:102;59905:4;:15;;;59833:49;59877:4;59833:39;59849:4;:22;;;59833:4;:11;;;:15;;:39;;;;:::i;:102::-;59802:133:::0;-1:-1:-1;59950:11:0;;59946:334:::1;;59978:39;59997:10;60009:7;59978:18;:39::i;:::-;60032:22;60057:37;60088:5;60057:26;60069:13;;60057:7;:11;;:26;;;;:::i;:37::-;60121:6;::::0;60134:9:::1;::::0;;:32:::1;::::0;;-1:-1:-1;;;60134:32:0;;60155:10:::1;60134:32:::0;;::::1;::::0;;;;;60032:62;;-1:-1:-1;;;;;;60121:6:0;;::::1;::::0;60109:24:::1;::::0;60134:9;;::::1;::::0;:20:::1;::::0;:32;;;;;::::1;::::0;;;;;;;;:9;:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;60134:32:0;60109:74:::1;::::0;;-1:-1:-1;;;;;;60109:74:0::1;::::0;;;;;;-1:-1:-1;;;;;60109:74:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;-1:-1:-1;;60109:74:0;;;;;;;-1:-1:-1;60109:74:0;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;60198:9:0::1;::::0;;60219:32:::1;::::0;;-1:-1:-1;;;60219:32:0;;60240:10:::1;60219:32:::0;;::::1;::::0;;;;;-1:-1:-1;;;;;60198:9:0;;::::1;::::0;-1:-1:-1;60198:20:0::1;::::0;-1:-1:-1;60198:9:0;;60219:20:::1;::::0;:32;;;;;::::1;::::0;;;;;;;;60198:9;60219:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;60219:32:0;60198:70:::1;::::0;;-1:-1:-1;;;;;;60198:70:0::1;::::0;;;;;;-1:-1:-1;;;;;60198:70:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;-1:-1:-1;;60198:70:0;;;;;;;-1:-1:-1;60198:70:0;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;59946:334;;60342:11:::0;;60325:14:::1;::::0;60342:49:::1;::::0;60379:11;;60342:32:::1;::::0;60358:15;60342::::1;:32::i;:49::-;60325:66;;60417:6;60406:8;:17;60402:67;;;60451:6;60440:17;;60402:67;60483:12:::0;;60479:568:::1;;60512:21;60563:8;60572:4;60563:14;;;;;;;;;::::0;;;::::1;::::0;;;:20:::1;:14;::::0;;::::1;;:20:::0;::::1;::::0;60553:62:::1;::::0;;-1:-1:-1;;;60553:62:0;;60594:10:::1;60553:62:::0;;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;60563:20:0;;::::1;::::0;60553:40:::1;::::0;:62;;;;;60563:14;60553:62;;;;;;;;;60563:20;60553:62;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;60553:62:0;60652:11;;60553:62;;-1:-1:-1;60636:27:0;::::1;60632:168;;;60698:1;60684:15:::0;;60632:168:::1;;;60754:11:::0;;:30:::1;::::0;60770:13;60754:15:::1;:30::i;:::-;60740:44:::0;;60632:168:::1;60841:9:::0;;60834:42:::1;::::0;;-1:-1:-1;;;60834:42:0;;60870:4:::1;60834:42;::::0;::::1;::::0;;;60816:15:::1;::::0;-1:-1:-1;;;;;60841:9:0::1;::::0;60834:27:::1;::::0;:42;;;;;::::1;::::0;;;;;;;;60841:9;60834:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;60834:42:0;;-1:-1:-1;60895:18:0;;::::1;60891:77;;;60945:7;60934:18;;60891:77;60982:9:::0;;:53:::1;::::0;-1:-1:-1;;;;;60982:9:0::1;61013:10;61026:8:::0;60982:22:::1;:53::i;:::-;60479:568;;;61091:22;::::0;::::1;::::0;61075:11;;:49:::1;::::0;61119:4:::1;::::0;61075:39:::1;::::0;:15:::1;:39::i;:49::-;61057:15;::::0;::::1;:67:::0;61140:36:::1;::::0;;;;;;;61161:4;;61149:10:::1;::::0;61140:36:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;28876:1:0;29838:22;;-1:-1:-1;;;;;;59268:1916:0:o;55284:1167::-;55336:21;55360:8;55369:4;55360:14;;;;;;;;;;;;;;;;;;55336:38;;55405:4;:20;;;55389:12;:36;55385:75;;55442:7;;;55385:75;55470:19;55502:4;:10;;;;;;;;;;-1:-1:-1;;;;;55502:10:0;-1:-1:-1;;;;;55492:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55492:35:0;;-1:-1:-1;55542:16:0;55538:105;;-1:-1:-1;55598:12:0;55575:20;;;;:35;55625:7;;55538:105;55653:18;55674:49;55688:4;:20;;;55710:12;55674:13;:49::i;:::-;55653:70;;55752:1;55738:10;:15;55734:54;;55770:7;;;;;55734:54;55798:20;55834:104;55908:15;;55834:51;55869:4;:15;;;55834:30;55849:14;;55834:10;:14;;:30;;;;:::i;:104::-;55963:6;;55798:140;;-1:-1:-1;;;;;;55963:6:0;55951:24;55990:7;:5;:7::i;:::-;56012:46;56052:5;56012:35;56029:17;;56012:12;:16;;:35;;;;:::i;:46::-;55951:118;;;;;;;;;;;;;-1:-1:-1;;;;;55951:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;56094:6:0;;56121:7;;56160:19;;-1:-1:-1;;;;;56094:6:0;;;;-1:-1:-1;56082:24:0;;-1:-1:-1;56121:7:0;;;56143:48;;56185:5;;56143:37;;:12;;:16;:37::i;:48::-;56082:120;;;;;;;;;;;;;-1:-1:-1;;;;;56082:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;56227:6:0;;56215:53;;;-1:-1:-1;;;56215:53:0;;56248:4;56215:53;;;;;;;;;;;;-1:-1:-1;;;;;56227:6:0;;;;-1:-1:-1;56215:24:0;;-1:-1:-1;56215:53:0;;;;;56227:6;;56215:53;;;;;;;;56227:6;;56215:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56306:91;56347:39;56374:11;56347:22;56364:4;56347:12;:16;;:22;;;;:::i;:39::-;56306:22;;;;;:26;:91::i;:::-;56281:22;;;:116;-1:-1:-1;;56431:12:0;56408:20;;;;:35;;;;-1:-1:-1;55284:1167:0;;:::o;61364:674::-;28920:1;29526:7;;:19;;29518:63;;;;;-1:-1:-1;;;29518:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;29518:63:0;;;;;;;;;;;;;;;28920:1;29659:7;:18;;;;61436:21:::1;61460:8;61469:4;61460:14;;;;;;;;;::::0;;;::::1;::::0;;;61509;;;:8:::1;:14:::0;;;;;;61524:10:::1;61509:26:::0;;;;;;;;61584:8:::1;:14:::0;;61460::::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;61509:26:0;61460:14;61518:4;;61584:14;::::1;;;;;;;;;;;;;;;:20;;;;;;;;;;-1:-1:-1::0;;;;;61584:20:0::1;-1:-1:-1::0;;;;;61574:47:0::1;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;61574:49:0;61666:8:::1;:14:::0;;61574:49;;-1:-1:-1;61634:19:0::1;::::0;61675:4;;61666:14;::::1;;;;;;;;;;;;;;;:20;;;;;;;;;;-1:-1:-1::0;;;;;61666:20:0::1;-1:-1:-1::0;;;;;61656:43:0::1;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;61656:45:0;61729:11;;61656:45;;-1:-1:-1;61712:14:0::1;::::0;61729:49:::1;::::0;61656:45;;61729:32:::1;::::0;61745:15;61729::::1;:32::i;:49::-;61712:66;;61801:8;61810:4;61801:14;;;;;;;;;::::0;;;::::1;::::0;;;:20:::1;:14;::::0;;::::1;;:20:::0;::::1;::::0;61791:60:::1;::::0;;-1:-1:-1;;;61791:60:0;;61832:10:::1;61791:60:::0;;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;61801:20:0;;::::1;::::0;61791:40:::1;::::0;:60;;;;;61801:14;61791:60;;;;;;;;;61801:20;61791:60;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;61864:9:0;;:51:::1;::::0;-1:-1:-1;;;;;61864:9:0::1;61895:10;61908:6:::0;61864:22:::1;:51::i;:::-;61931:43;::::0;;;;;;;61961:4;;61949:10:::1;::::0;61931:43:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;61999:1:0::1;61985:15:::0;;;62011::::1;::::0;;::::1;:19:::0;-1:-1:-1;29838:22:0;;-1:-1:-1;;61364:674:0:o;51834:600::-;26194:12;:10;:12::i;:::-;-1:-1:-1;;;;;26183:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26183:23:0;;26175:68;;;;;-1:-1:-1;;;26175:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26175:68:0;;;;;;;;;;;;;;;51991:11:::1;51987:61;;;52019:17;:15;:17::i;:::-;52125:15;::::0;52084:12:::1;::::0;52125:32:::1;::::0;52145:11;52125:19:::1;:32::i;:::-;52107:15;:50:::0;52196:219:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;52196:219:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;52196:219:0;;;;;;;;::::1;::::0;;;;;;52168:8:::1;:258:::0;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;-1:-1:-1::0;;;;;;52168:258:0;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;-1:-1:-1;51834:600:0:o;55028:180::-;55090:8;:15;55073:14;55116:85;55144:6;55138:3;:12;55116:85;;;55174:15;55185:3;55174:10;:15::i;:::-;55152:5;;55116:85;;;;55028:180;:::o;52532:362::-;26194:12;:10;:12::i;:::-;-1:-1:-1;;;;;26183:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26183:23:0;;26175:68;;;;;-1:-1:-1;;;26175:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26175:68:0;;;;;;;;;;;;;;;52664:11:::1;52660:61;;;52692:17;:15;:17::i;:::-;52749:87;52814:11;52749:46;52769:8;52778:4;52769:14;;;;;;;;;;;;;;;;;;:25;;;52749:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:87::i;:::-;52731:15;:105;;;;52875:11;52847:8;52856:4;52847:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;52532:362:::0;;;:::o;49731:39::-;;;;:::o;26614:148::-;26194:12;:10;:12::i;:::-;-1:-1:-1;;;;;26183:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26183:23:0;;26175:68;;;;;-1:-1:-1;;;26175:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26175:68:0;;;;;;;;;;;;;;;26721:1:::1;26705:6:::0;;26684:40:::1;::::0;-1:-1:-1;;;;;26705:6:0;;::::1;::::0;26684:40:::1;::::0;26721:1;;26684:40:::1;26752:1;26735:19:::0;;-1:-1:-1;;;;;;26735:19:0::1;::::0;;26614:148::o;50154:37::-;;;;:::o;54169:522::-;54274:7;54299:21;54323:8;54332:4;54323:14;;;;;;;;;;;;;;;;54372;;;:8;:14;;;;;;-1:-1:-1;;;;;54372:21:0;;;;;;;;;;;54438:10;54323:14;;;;;;;54438:10;;;;54428:35;;-1:-1:-1;;;54428:35:0;;;;54323:14;;-1:-1:-1;54372:21:0;;54323:14;54438:10;;;;;54428:33;;:35;;;;54323:14;;54428:35;;;;;;54438:10;54428:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54428:35:0;54510:8;:14;;54428:35;;-1:-1:-1;54474:23:0;;54519:4;;54510:14;;;;;;;;;;;;;;;;:20;;;;;;;;;;-1:-1:-1;;;;;54510:20:0;-1:-1:-1;;;;;54500:47:0;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54500:49:0;;-1:-1:-1;54564:16:0;54560:57;;54604:1;54597:8;;;;;;;;54560:57;54634:11;;:49;;54671:11;;54634:32;;54650:15;54634;:32::i;25963:87::-;26009:7;26036:6;-1:-1:-1;;;;;26036:6:0;25963:87;:::o;52970:251::-;53130:15;;53105:6;;53098:28;;;-1:-1:-1;;;53098:28:0;;;;53069:7;;53130:15;-1:-1:-1;;;;;53105:6:0;;53098:26;;:28;;;;;;;;;;;;;;53105:6;53098:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53098:28:0;:47;53094:88;;-1:-1:-1;53169:1:0;53162:8;;53094:88;53199:14;:3;53207:5;53199:7;:14::i;:::-;53192:21;52970:251;-1:-1:-1;;;52970:251:0:o;57538:1678::-;28920:1;29526:7;;:19;;29518:63;;;;;-1:-1:-1;;;29518:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;29518:63:0;;;;;;;;;;;;;;;28920:1;29659:7;:18;57662:9:::1;::::0;57644:15:::1;:27;57636:50;;;::::0;;-1:-1:-1;;;57636:50:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;57636:50:0;;;;;;;;;;;;;::::1;;57700:9;::::0;;:30:::1;::::0;;-1:-1:-1;;;57700:30:0;;57719:10:::1;57700:30:::0;;::::1;::::0;;;;;-1:-1:-1;;;;;57700:9:0;;::::1;::::0;:18:::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:9;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;57700:30:0;57697:236:::1;;57758:9;;;;;;;;;-1:-1:-1::0;;;;;57758:9:0::1;-1:-1:-1::0;;;;;57758:18:0::1;;57777:8;57758:28;;;;;;;;;;;;;-1:-1:-1::0;;;;;57758:28:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;57758:28:0;57755:111:::1;;57826:9;::::0;;:24:::1;::::0;;-1:-1:-1;;;57826:24:0;;:9:::1;:24:::0;;::::1;::::0;;;;;-1:-1:-1;;;;;57826:9:0;;::::1;::::0;:21:::1;::::0;:24;;;;;::::1;::::0;;;;;;;;:9;:24;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;57826:24:0;;-1:-1:-1;57755:111:0::1;57880:9;::::0;;:41:::1;::::0;;-1:-1:-1;;;57880:41:0;;57900:10:::1;57880:41:::0;;::::1;::::0;;;;-1:-1:-1;;;;;57880:41:0;;::::1;::::0;;;;;;:9;::::1;::::0;:19:::1;::::0;:41;;;;;:9:::1;::::0;:41;;;;;;;:9;;:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;57697:236;57945:16;57956:4;57945:10;:16::i;:::-;57972:21;57996:8;58005:4;57996:14;;;;;;;;;::::0;;;::::1;::::0;;;58045;;;:8:::1;:14:::0;;;;;;58060:10:::1;58045:26:::0;;;;;;;58088:11;;57996:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;58088:15:0;58084:561:::1;;58120:15;58155:110;58231:4;:15;;;58155:49;58199:4;58155:39;58171:4;:22;;;58155:4;:11;;;:15;;:39;;;;:::i;:110::-;58120:145:::0;-1:-1:-1;58284:11:0;;58280:354:::1;;58316:39;58335:10;58347:7;58316:18;:39::i;:::-;58374:22;58399:37;58430:5;58399:26;58411:13;;58399:7;:11;;:26;;;;:::i;:37::-;58467:6;::::0;58480:9:::1;::::0;;:32:::1;::::0;;-1:-1:-1;;;58480:32:0;;58501:10:::1;58480:32:::0;;::::1;::::0;;;;;58374:62;;-1:-1:-1;;;;;;58467:6:0;;::::1;::::0;58455:24:::1;::::0;58480:9;;::::1;::::0;:20:::1;::::0;:32;;;;;::::1;::::0;;;;;;;;:9;:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;58480:32:0;58455:74:::1;::::0;;-1:-1:-1;;;;;;58455:74:0::1;::::0;;;;;;-1:-1:-1;;;;;58455:74:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;-1:-1:-1;;58455:74:0;;;;;;;-1:-1:-1;58455:74:0;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;58548:9:0::1;::::0;;58569:32:::1;::::0;;-1:-1:-1;;;58569:32:0;;58590:10:::1;58569:32:::0;;::::1;::::0;;;;;-1:-1:-1;;;;;58548:9:0;;::::1;::::0;-1:-1:-1;58548:20:0::1;::::0;-1:-1:-1;58548:9:0;;58569:20:::1;::::0;:32;;;;;::::1;::::0;;;;;;;;58548:9;58569:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;58569:32:0;58548:70:::1;::::0;;-1:-1:-1;;;;;;58548:70:0::1;::::0;;;;;;-1:-1:-1;;;;;58548:70:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;-1:-1:-1;;58548:70:0;;;;;;;-1:-1:-1;58548:70:0;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;58280:354;;58084:561;;58659:12:::0;;58655:425:::1;;58688:9:::0;;:138:::1;::::0;-1:-1:-1;;;;;58688:9:0::1;58741:10;58779:4;58803:8:::0;58688:26:::1;:138::i;:::-;58875:10;::::0;::::1;::::0;58843:9;;:53:::1;::::0;-1:-1:-1;;;;;58843:9:0;;::::1;::::0;58875:10:::1;58887:8:::0;58843:31:::1;:53::i;:::-;58911:19;58960:8;58969:4;58960:14;;;;;;;;;::::0;;;::::1;::::0;;;:20:::1;:14;::::0;;::::1;;:20:::0;::::1;::::0;58950:61:::1;::::0;;-1:-1:-1;;;58950:61:0;;58990:10:::1;58950:61:::0;;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;58960:20:0;;::::1;::::0;58950:39:::1;::::0;:61;;;;;58960:14;58950:61;;;;;;;;;58960:20;58950:61;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;58950:61:0;59040:11;;58950:61;;-1:-1:-1;59040:28:0::1;::::0;58950:61;59040:15:::1;:28::i;:::-;59026:42:::0;;-1:-1:-1;58655:425:0::1;59124:22;::::0;::::1;::::0;59108:11;;:49:::1;::::0;59152:4:::1;::::0;59108:39:::1;::::0;:15:::1;:39::i;:49::-;59090:15;::::0;::::1;:67:::0;59173:35:::1;::::0;;;;;;;59193:4;;59181:10:::1;::::0;59173:35:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;28876:1:0;29838:22;;-1:-1:-1;;;57538:1678:0:o;56497:944::-;28920:1;29526:7;;:19;;29518:63;;;;;-1:-1:-1;;;29518:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;29518:63:0;;;;;;;;;;;;;;;28920:1;29659:7;:18;56567:8:::1;:15:::0;56550:14:::1;56593:841;56621:6;56615:3;:12;56593:841;;;56651:21;56675:8;56684:3;56675:13;;;;;;;;;::::0;;;::::1;::::0;;;56727;;;:8:::1;:13:::0;;;;;;56741:10:::1;56727:25:::0;;;;;;;56771:11;;56675:13:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;56771:15:0;56767:656:::1;;56807:15;56818:3;56807:10;:15::i;:::-;56841;56859:70;56913:4;:15;;;56859:49;56903:4;56859:39;56875:4;:22;;;56859:4;:11;;;:15;;:39;;;;:::i;:70::-;56841:88:::0;-1:-1:-1;56952:11:0;;56948:374:::1;;56988:39;57007:10;57019:7;56988:18;:39::i;:::-;57050:22;57075:37;57106:5;57075:26;57087:13;;57075:7;:11;;:26;;;;:::i;:37::-;57147:6;::::0;57160:9:::1;::::0;;:32:::1;::::0;;-1:-1:-1;;;57160:32:0;;57181:10:::1;57160:32:::0;;::::1;::::0;;;;;57050:62;;-1:-1:-1;;;;;;57147:6:0;;::::1;::::0;57135:24:::1;::::0;57160:9;;::::1;::::0;:20:::1;::::0;:32;;;;;::::1;::::0;;;;;;;;:9;:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;57160:32:0;57135:74:::1;::::0;;-1:-1:-1;;;;;;57135:74:0::1;::::0;;;;;;-1:-1:-1;;;;;57135:74:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;-1:-1:-1;;57135:74:0;;;;;;;-1:-1:-1;57135:74:0;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;57232:9:0::1;::::0;;57253:32:::1;::::0;;-1:-1:-1;;;57253:32:0;;57274:10:::1;57253:32:::0;;::::1;::::0;;;;;-1:-1:-1;;;;;57232:9:0;;::::1;::::0;-1:-1:-1;57232:20:0::1;::::0;-1:-1:-1;57232:9:0;;57253:20:::1;::::0;:32;;;;;::::1;::::0;;;;;;;;57232:9;57253:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;57253:32:0;57232:70:::1;::::0;;-1:-1:-1;;;;;;57232:70:0::1;::::0;;;;;;-1:-1:-1;;;;;57232:70:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;-1:-1:-1;;57232:70:0;;;;;;;-1:-1:-1;57232:70:0;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;56948:374;;57374:22;::::0;::::1;::::0;57358:11;;:49:::1;::::0;57402:4:::1;::::0;57358:39:::1;::::0;:15:::1;:39::i;:49::-;57340:15;::::0;::::1;:67:::0;-1:-1:-1;56767:656:0::1;-1:-1:-1::0;;56629:5:0::1;;56593:841;;;-1:-1:-1::0;;28876:1:0;29838:22;;56497:944::o;50662:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;61192:101::-;28920:1;29526:7;;:19;;29518:63;;;;;-1:-1:-1;;;29518:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;29518:63:0;;;;;;;;;;;;;;;28920:1;29659:7;:18;61258:27:::1;61267:4:::0;-1:-1:-1;;61258:8:0::1;:27::i;:::-;-1:-1:-1::0;28876:1:0;29838:22;;61192:101::o;49814:40::-;;;;:::o;54764:181::-;54856:7;54898:8;54907:4;54898:14;;;;;;;;;;;;;;;;;;:20;;;;;;;;;;-1:-1:-1;;;;;54898:20:0;-1:-1:-1;;;;;54888:47:0;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54888:49:0;;54764:181;-1:-1:-1;;54764:181:0:o;50060:43::-;;;;:::o;49549:21::-;;;-1:-1:-1;;;;;49549:21:0;;:::o;62701:252::-;26194:12;:10;:12::i;:::-;-1:-1:-1;;;;;26183:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26183:23:0;;26175:68;;;;;-1:-1:-1;;;26175:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26175:68:0;;;;;;;;;;;;;;;62824:14:::1;::::0;:19;62816:69:::1;;;;-1:-1:-1::0;;;62816:69:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62896:9;:20:::0;62944:1:::1;62927:14;:18:::0;62701:252::o;50224:33::-;;;;:::o;49604:22::-;;;-1:-1:-1;;;;;49604:22:0;;:::o;62478:215::-;26194:12;:10;:12::i;:::-;-1:-1:-1;;;;;26183:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26183:23:0;;26175:68;;;;;-1:-1:-1;;;26175:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26175:68:0;;;;;;;;;;;;;;;62610:6:::1;::::0;-1:-1:-1;;;;;62600:16:0;;::::1;62610:6:::0;::::1;62600:16;;62592:34;;;::::0;;-1:-1:-1;;;62592:34:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;62592:34:0;;;;;;;;;;;;;::::1;;62637:48;-1:-1:-1::0;;;;;62637:27:0;::::1;62665:10;62677:7:::0;62637:27:::1;:48::i;49661:27::-:0;;;-1:-1:-1;;;;;49661:27:0;;:::o;26917:244::-;26194:12;:10;:12::i;:::-;-1:-1:-1;;;;;26183:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;26183:23:0;;26175:68;;;;;-1:-1:-1;;;26175:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26175:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;27006:22:0;::::1;26998:73;;;;-1:-1:-1::0;;;26998:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27108:6;::::0;;27087:38:::1;::::0;-1:-1:-1;;;;;27087:38:0;;::::1;::::0;27108:6;::::1;::::0;27087:38:::1;::::0;::::1;27136:6;:17:::0;;-1:-1:-1;;;;;;27136:17:0::1;-1:-1:-1::0;;;;;27136:17:0;;;::::1;::::0;;;::::1;::::0;;26917:244::o;49976:29::-;;;;:::o;5491:220::-;5549:7;5573:6;5569:20;;-1:-1:-1;5588:1:0;5581:8;;5569:20;5612:5;;;5616:1;5612;:5;:1;5636:5;;;;;:10;5628:56;;;;-1:-1:-1;;;5628:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6189:153;6247:7;6279:1;6275;:5;6267:44;;;;;-1:-1:-1;;;6267:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6333:1;6329;:5;;;;;;;6189:153;-1:-1:-1;;;6189:153:0:o;4612:179::-;4670:7;4702:5;;;4726:6;;;;4718:46;;;;;-1:-1:-1;;;4718:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;5074:158;5132:7;5165:1;5160;:6;;5152:49;;;;;-1:-1:-1;;;5152:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5219:5:0;;;5074:158::o;62145:325::-;62253:6;;62246:39;;;-1:-1:-1;;;62246:39:0;;62279:4;62246:39;;;;;;62226:17;;-1:-1:-1;;;;;62253:6:0;;62246:24;;:39;;;;;;;;;;;;;;62253:6;62246:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62246:39:0;;-1:-1:-1;62300:22:0;;;62296:167;;;62346:6;;62339:39;;;-1:-1:-1;;;62339:39:0;;-1:-1:-1;;;;;62339:39:0;;;;;;;;;;;;;;;62346:6;;;;;62339:23;;:39;;;;;;;;;;;;;;62346:6;;62339:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62296:167:0;;-1:-1:-1;62296:167:0;;62418:6;;62411:40;;;-1:-1:-1;;;62411:40:0;;-1:-1:-1;;;;;62411:40:0;;;;;;;;;;;;;;;62418:6;;;;;62411:23;;:40;;;;;;;;;;;;;;62418:6;;62411:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62296:167:0;62145:325;;;:::o;20789:177::-;20899:58;;;-1:-1:-1;;;;;20899:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20899:58:0;-1:-1:-1;;;20899:58:0;;;20872:86;;20892:5;;20872:19;:86::i;24498:106::-;24586:10;24498:106;:::o;20974:205::-;21102:68;;;-1:-1:-1;;;;;21102:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21102:68:0;-1:-1:-1;;;21102:68:0;;;21075:96;;21095:5;;21075:19;:96::i;:::-;20974:205;;;;:::o;22078:286::-;22175:20;22198:50;22242:5;22198;-1:-1:-1;;;;;22198:15:0;;22222:4;22229:7;22198:39;;;;;;;;;;;;;-1:-1:-1;;;;;22198:39:0;;;;;;-1:-1:-1;;;;;22198:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22198:39:0;;:43;:50::i;:::-;22286:69;;;-1:-1:-1;;;;;22286:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22286:69:0;-1:-1:-1;;;22286:69:0;;;22175:73;;-1:-1:-1;22259:97:0;;22279:5;;23094:761;23518:23;23544:69;23572:4;23544:69;;;;;;;;;;;;;;;;;23552:5;-1:-1:-1;;;;;23544:27:0;;;:69;;;;;:::i;:::-;23628:17;;23518:95;;-1:-1:-1;23628:21:0;23624:224;;23770:10;23759:30;;;;;;;;;;;;;;;-1:-1:-1;23759:30:0;23751:85;;;;-1:-1:-1;;;23751:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15782:195;15885:12;15917:52;15939:6;15947:4;15953:1;15956:12;15917:21;:52::i;:::-;15910:59;15782:195;-1:-1:-1;;;;15782:195:0:o;16834:530::-;16961:12;17019:5;16994:21;:30;;16986:81;;;;-1:-1:-1;;;16986:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17086:18;17097:6;17086:10;:18::i;:::-;17078:60;;;;;-1:-1:-1;;;17078:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17212:12;17226:23;17253:6;-1:-1:-1;;;;;17253:11:0;17273:5;17281:4;17253:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17253:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17211:75;;;;17304:52;17322:7;17331:10;17343:12;17304:17;:52::i;:::-;17297:59;16834:530;-1:-1:-1;;;;;;;16834:530:0:o;12864:422::-;13231:20;13270:8;;;12864:422::o;19374:742::-;19489:12;19518:7;19514:595;;;-1:-1:-1;19549:10:0;19542:17;;19514:595;19663:17;;:21;19659:439;;19926:10;19920:17;19987:15;19974:10;19970:2;19966:19;19959:44;19874:148;20069:12;20062:20;;-1:-1:-1;;;20062:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://d243ea0c19936c353096f540366df629bf0942d538fb38ed687532d3dcfc8d49
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 24 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
FTM | 100.00% | $0.000702 | 667,766.3222 | $468.65 |
[ Download: CSV Export ]
[ 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.