More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 9,867 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw All | 8110380 | 723 days ago | IN | 0 CRO | 1.25 | ||||
Withdraw All | 7184579 | 784 days ago | IN | 0 CRO | 1.25 | ||||
Withdraw All | 6843641 | 806 days ago | IN | 0 CRO | 1.25 | ||||
Withdraw All | 6566877 | 824 days ago | IN | 0 CRO | 1.25 | ||||
Withdraw | 6553566 | 825 days ago | IN | 0 CRO | 1.25 | ||||
Deposit | 6492814 | 829 days ago | IN | 0 CRO | 1.80904 | ||||
Deposit | 5673753 | 883 days ago | IN | 0 CRO | 1.58398 | ||||
Deposit | 5429642 | 899 days ago | IN | 0 CRO | 1.58398 | ||||
Deposit | 5274611 | 909 days ago | IN | 0 CRO | 1.58398 | ||||
Withdraw All | 5232559 | 912 days ago | IN | 0 CRO | 0.619265 | ||||
Deposit | 5219049 | 912 days ago | IN | 0 CRO | 2.06426 | ||||
Withdraw All | 5216511 | 913 days ago | IN | 0 CRO | 0.58568461 | ||||
Deposit | 5123683 | 919 days ago | IN | 0 CRO | 1.58398 | ||||
Deposit | 4924612 | 932 days ago | IN | 0 CRO | 1.80904 | ||||
Withdraw All | 4855749 | 936 days ago | IN | 0 CRO | 1.28249075 | ||||
Withdraw All | 4855720 | 936 days ago | IN | 0 CRO | 1.428605 | ||||
Withdraw | 4433644 | 964 days ago | IN | 0 CRO | 0.62745 | ||||
Withdraw All | 4309168 | 972 days ago | IN | 0 CRO | 1.381395 | ||||
Withdraw All | 4285630 | 974 days ago | IN | 0 CRO | 0.69619 | ||||
Withdraw All | 4180288 | 981 days ago | IN | 0 CRO | 0.53862 | ||||
Withdraw All | 4144960 | 983 days ago | IN | 0 CRO | 0.69619 | ||||
Deposit | 4144036 | 983 days ago | IN | 0 CRO | 1.56545165 | ||||
Withdraw All | 4093319 | 986 days ago | IN | 0 CRO | 0.53862 | ||||
Withdraw All | 4039261 | 990 days ago | IN | 0 CRO | 0.53281276 | ||||
Deposit | 4034112 | 990 days ago | IN | 0 CRO | 1.58398 |
Loading...
Loading
Contract Name:
IFOPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-01-08 */ // Dependency file: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT // 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; } } // Dependency file: @openzeppelin/contracts/access/Ownable.sol // pragma solidity >=0.6.0 <0.8.0; // import "@openzeppelin/contracts/utils/Context.sol"; /** * @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; } } // Dependency file: @openzeppelin/contracts/math/SafeMath.sol // pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, 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; } } // Dependency 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); } // Dependency 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); } } } } // Dependency file: @openzeppelin/contracts/token/ERC20/SafeERC20.sol // pragma solidity >=0.6.0 <0.8.0; // import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; // import "@openzeppelin/contracts/math/SafeMath.sol"; // import "@openzeppelin/contracts/utils/Address.sol"; /** * @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"); } } } // Dependency file: @openzeppelin/contracts/utils/Pausable.sol // pragma solidity >=0.6.0 <0.8.0; // import "@openzeppelin/contracts/utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // Dependency file: contracts/interfaces/IMasterChef.sol // pragma solidity 0.6.12; interface IMasterChef { function deposit(uint256 _pid, uint256 _amount) external; function withdraw(uint256 _pid, uint256 _amount) external; function enterStaking(uint256 _amount) external; function leaveStaking(uint256 _amount) external; function pendingCrona(uint256 _pid, address _user) external view returns (uint256); function userInfo(uint256 _pid, address _user) external view returns (uint256, uint256); function emergencyWithdraw(uint256 _pid) external; } // Root file: contracts/ifo/IFOPool.sol pragma solidity 0.6.12; // import "@openzeppelin/contracts/access/Ownable.sol"; // import "@openzeppelin/contracts/math/SafeMath.sol"; // import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; // import "@openzeppelin/contracts/utils/Pausable.sol"; // import "contracts/interfaces/IMasterChef.sol"; contract IFOPool is Ownable, Pausable { using SafeERC20 for IERC20; using SafeMath for uint256; struct UserInfo { uint256 shares; // number of shares for a user uint256 lastDepositedTime; // keeps track of deposited time for potential penalty uint256 cronaAtLastUserAction; // keeps track of crona deposited at the last user action uint256 lastUserActionTime; // keeps track of the last user action time } //IFO struct UserIFOInfo { // ifo valid period is current block between startblock and endblock uint256 lastActionBalance; // staked crona numbers (not include compoud crona) at last action uint256 lastValidActionBalance; // staked crona numbers in ifo valid period uint256 lastActionBlock; // last action block number uint256 lastValidActionBlock; // last action block number in ifo valid period uint256 lastAvgBalance; // average balance in ifo valid period } enum IFOActions {Deposit, Withdraw} IERC20 public immutable token; // Crona token IERC20 public immutable receiptToken; // Syrup token IMasterChef public immutable masterchef; mapping(address => UserInfo) public userInfo; //IFO mapping(address => UserIFOInfo) public userIFOInfo; uint256 public startBlock; uint256 public endBlock; uint256 public totalShares; uint256 public lastHarvestedTime; address public admin; address public treasury; uint256 public constant MAX_PERFORMANCE_FEE = 600; // 6% uint256 public constant MAX_CALL_FEE = 100; // 1% uint256 public constant MAX_WITHDRAW_FEE = 400; // 4% uint256 public constant MAX_WITHDRAW_FEE_PERIOD = 168 hours; // 7 days uint256 public performanceFee = 200; // 2% uint256 public callFee = 25; // 0.25% uint256 public withdrawFee = 10; // 0.1% uint256 public withdrawFeePeriod = 72 hours; // 3 days event Pause(); event Unpause(); event Deposit(address indexed sender, uint256 amount, uint256 shares, uint256 lastDepositedTime); event Withdraw(address indexed sender, uint256 amount, uint256 shares); event Harvest(address indexed sender, uint256 performanceFee, uint256 callFee); event UpdateEndBlock(uint256 endBlock); event ZeroFreeIFO(address indexed sender, uint256 currentBlock); event UpdateStartAndEndBlocks(uint256 startBlock, uint256 endBlock); event UpdateUserIFO(address indexed sender, uint256 lastAvgBalance, uint256 lastActionBalance, uint256 lastValidActionBalance, uint256 lastActionBlock, uint256 lastValidActionBlock); /** * @notice Constructor * @param _token: Crona token contract * @param _receiptToken: Syrup token contract * @param _masterchef: MasterChef contract * @param _admin: address of the admin * @param _treasury: address of the treasury (collects fees) * @param _startBlock: IFO start block height * @param _endBlock: IFO end block height */ constructor( IERC20 _token, IERC20 _receiptToken, IMasterChef _masterchef, address _admin, address _treasury, uint256 _startBlock, uint256 _endBlock ) public { require(block.number < _startBlock, "start block can't behind current block"); require(_startBlock < _endBlock, "end block can't behind start block"); token = _token; receiptToken = _receiptToken; masterchef = _masterchef; admin = _admin; treasury = _treasury; startBlock = _startBlock; endBlock = _endBlock; // Infinite approve IERC20(_token).safeApprove(address(_masterchef), uint256(-1)); } /** * @notice Checks if the msg.sender is the admin address */ modifier onlyAdmin() { require(msg.sender == admin, "admin: wut?"); _; } /** * @notice Checks if the msg.sender is a contract or a proxy */ modifier notContract() { require(!_isContract(msg.sender), "contract not allowed"); require(msg.sender == tx.origin, "proxy contract not allowed"); _; } /** * @notice Deposits funds into the Crona Vault * @dev Only possible when contract not paused. * @param _amount: number of tokens to deposit (in CRONA) */ function deposit(uint256 _amount) external whenNotPaused notContract { require(_amount > 0, "Nothing to deposit"); uint256 pool = balanceOf(); token.safeTransferFrom(msg.sender, address(this), _amount); uint256 currentShares = 0; if (totalShares != 0) { currentShares = (_amount.mul(totalShares)).div(pool); } else { currentShares = _amount; } require(currentShares > 0, "deposit amount is too small to allocate shares"); UserInfo storage user = userInfo[msg.sender]; user.shares = user.shares.add(currentShares); user.lastDepositedTime = block.timestamp; totalShares = totalShares.add(currentShares); user.cronaAtLastUserAction = user.shares.mul(balanceOf()).div(totalShares); user.lastUserActionTime = block.timestamp; //IFO _updateUserIFO(_amount, IFOActions.Deposit); _earn(); emit Deposit(msg.sender, _amount, currentShares, block.timestamp); } /** * @notice check IFO is avaliable * @dev This function will be called that need to calculate average balance */ function _isIFOAvailable() internal view returns(bool) { // actually block.number = startBlock is ifo available status // but the avgbalance must be zero, so we don't add this boundary return block.number > startBlock; } /** * @notice This function only be called to judge whether to update last action block. * @dev only block number between start block and end block to update last action block. */ function _isValidActionBlock() internal view returns(bool) { return block.number >= startBlock && block.number <= endBlock; } /** * @notice calculate user IFO latest avgBalance. * @dev only calculate average balance when IFO is available, other return 0. * @param _lastActionBlock: last action(deposit/withdraw) block number. * @param _lastValidActionBlock: last valid action(deposit/withdraw) block number. * @param _lastActionBalance: last valid action(deposit/withdraw) block number. * @param _lastValidActionBalance: staked crona number at last action. * @param _lastAvgBalance: last average balance. */ function _calculateAvgBalance(uint256 _lastActionBlock, uint256 _lastValidActionBlock, uint256 _lastActionBalance, uint256 _lastValidActionBalance, uint256 _lastAvgBalance) internal view returns(uint256 avgBalance) { uint256 currentBlock = block.number; //reused // (_lastActionBlock > endBlock) means lastavgbalance have updated after endblock, // subsequent action should not update lastavgbalance again if (_lastActionBlock >= endBlock){ return _lastAvgBalance; } // first time participate current ifo if (_lastValidActionBlock < startBlock){ _lastValidActionBlock = startBlock; _lastAvgBalance = 0; _lastValidActionBalance = _lastActionBalance; } currentBlock = currentBlock < endBlock ? currentBlock : endBlock; uint256 lastContribute = _lastAvgBalance.mul(_lastValidActionBlock.sub(startBlock)); uint256 currentContribute = _lastValidActionBalance.mul(currentBlock.sub(_lastValidActionBlock)); avgBalance = (lastContribute.add(currentContribute)).div(currentBlock.sub(startBlock)); } /** * @notice update userIFOInfo * @param _amount:the crona amount that need be add or sub * @param _action:IFOActions enum element */ function _updateUserIFO(uint256 _amount, IFOActions _action) internal { UserIFOInfo storage IFOInfo = userIFOInfo[msg.sender]; uint256 avgBalance = !_isIFOAvailable() ? 0 : _calculateAvgBalance(IFOInfo.lastActionBlock, IFOInfo.lastValidActionBlock, IFOInfo.lastActionBalance, IFOInfo.lastValidActionBalance, IFOInfo.lastAvgBalance); if (_action == IFOActions.Withdraw){ IFOInfo.lastActionBalance = _amount > IFOInfo.lastActionBalance ? 0 : IFOInfo.lastActionBalance.sub(_amount); }else{ IFOInfo.lastActionBalance = IFOInfo.lastActionBalance.add(_amount); } if (_isValidActionBlock()) { IFOInfo.lastValidActionBalance = IFOInfo.lastActionBalance; IFOInfo.lastValidActionBlock = block.number; } IFOInfo.lastAvgBalance = avgBalance; IFOInfo.lastActionBlock = block.number; emit UpdateUserIFO(msg.sender, IFOInfo.lastAvgBalance, IFOInfo.lastActionBalance, IFOInfo.lastValidActionBalance, IFOInfo.lastActionBlock, IFOInfo.lastValidActionBlock); } /** * @notice calculate IFO latest average balance for specific user * @param _user: user address */ function getUserCredit(address _user) external view returns(uint256 avgBalance) { UserIFOInfo storage IFOInfo = userIFOInfo[_user]; if (_isIFOAvailable()){ avgBalance = _calculateAvgBalance(IFOInfo.lastActionBlock, IFOInfo.lastValidActionBlock, IFOInfo.lastActionBalance, IFOInfo.lastValidActionBalance, IFOInfo.lastAvgBalance); }else{ avgBalance = 0; } } /** * @notice Withdraws all funds for a user */ function withdrawAll() external notContract { withdraw(userInfo[msg.sender].shares); } /** * @notice Withdraws user all funds in emergency,it's called by user not admin,the userifo status will be clear */ function emergencyWithdrawAll() external notContract { _zeroFreeIFO(); withdrawV1(userInfo[msg.sender].shares); } /** * @notice set userIFOInfo to initial state */ function _zeroFreeIFO() internal { UserIFOInfo storage IFOInfo = userIFOInfo[msg.sender]; IFOInfo.lastActionBalance = 0; IFOInfo.lastValidActionBalance = 0; IFOInfo.lastActionBlock = 0; IFOInfo.lastValidActionBlock = 0; IFOInfo.lastAvgBalance = 0; emit ZeroFreeIFO(msg.sender, block.number); } /** * @notice Withdraws from funds from the IFOPool * @param _shares: Number of shares to withdraw */ function withdraw(uint256 _shares) public notContract { UserInfo storage user = userInfo[msg.sender]; require(_shares > 0, "Nothing to withdraw"); require(_shares <= user.shares, "Withdraw amount exceeds balance"); uint256 currentAmount = (balanceOf().mul(_shares)).div(totalShares); uint256 ifoDeductAmount = currentAmount; user.shares = user.shares.sub(_shares); totalShares = totalShares.sub(_shares); uint256 bal = available(); if (bal < currentAmount) { uint256 balWithdraw = currentAmount.sub(bal); IMasterChef(masterchef).leaveStaking(balWithdraw); uint256 balAfter = available(); uint256 diff = balAfter.sub(bal); if (diff < balWithdraw) { currentAmount = bal.add(diff); } } if (block.timestamp < user.lastDepositedTime.add(withdrawFeePeriod)) { uint256 currentWithdrawFee = currentAmount.mul(withdrawFee).div(10000); token.safeTransfer(treasury, currentWithdrawFee); currentAmount = currentAmount.sub(currentWithdrawFee); } token.safeTransfer(msg.sender, currentAmount); if (user.shares > 0) { user.cronaAtLastUserAction = user.shares.mul(balanceOf()).div(totalShares); } else { user.cronaAtLastUserAction = 0; } user.lastUserActionTime = block.timestamp; //IFO _updateUserIFO(ifoDeductAmount, IFOActions.Withdraw); emit Withdraw(msg.sender, currentAmount, _shares); } /** * @notice original Withdraws implementation from funds, the logic same as Crona Vault withdraw * @notice this function visibility change to internal, call only be called by 'emergencyWithdrawAll' function * @param _shares: Number of shares to withdraw */ function withdrawV1(uint256 _shares) internal { UserInfo storage user = userInfo[msg.sender]; require(_shares > 0, "Nothing to withdraw"); require(_shares <= user.shares, "Withdraw amount exceeds balance"); uint256 currentAmount = (balanceOf().mul(_shares)).div(totalShares); user.shares = user.shares.sub(_shares); totalShares = totalShares.sub(_shares); uint256 bal = available(); if (bal < currentAmount) { uint256 balWithdraw = currentAmount.sub(bal); IMasterChef(masterchef).leaveStaking(balWithdraw); uint256 balAfter = available(); uint256 diff = balAfter.sub(bal); if (diff < balWithdraw) { currentAmount = bal.add(diff); } } if (block.timestamp < user.lastDepositedTime.add(withdrawFeePeriod)) { uint256 currentWithdrawFee = currentAmount.mul(withdrawFee).div(10000); token.safeTransfer(treasury, currentWithdrawFee); currentAmount = currentAmount.sub(currentWithdrawFee); } if (user.shares > 0) { user.cronaAtLastUserAction = user.shares.mul(balanceOf()).div(totalShares); } else { user.cronaAtLastUserAction = 0; } user.lastUserActionTime = block.timestamp; token.safeTransfer(msg.sender, currentAmount); emit Withdraw(msg.sender, currentAmount, _shares); } /** * @notice Reinvests CRONA tokens into MasterChef * @dev Only possible when contract not paused. */ function harvest() external notContract whenNotPaused { uint256 beforeBal = available(); IMasterChef(masterchef).leaveStaking(0); uint256 bal = available().sub(beforeBal); uint256 currentPerformanceFee = bal.mul(performanceFee).div(10000); token.safeTransfer(treasury, currentPerformanceFee); uint256 currentCallFee = bal.mul(callFee).div(10000); token.safeTransfer(msg.sender, currentCallFee); _earn(); lastHarvestedTime = block.timestamp; emit Harvest(msg.sender, currentPerformanceFee, currentCallFee); } /** * @notice Sets admin address * @dev Only callable by the contract owner. */ function setAdmin(address _admin) external onlyOwner { require(_admin != address(0), "Cannot be zero address"); admin = _admin; } /** * @notice Sets treasury address * @dev Only callable by the contract owner. */ function setTreasury(address _treasury) external onlyOwner { require(_treasury != address(0), "Cannot be zero address"); treasury = _treasury; } /** * @notice Sets performance fee * @dev Only callable by the contract admin. */ function setPerformanceFee(uint256 _performanceFee) external onlyAdmin { require(_performanceFee <= MAX_PERFORMANCE_FEE, "performanceFee cannot be more than MAX_PERFORMANCE_FEE"); performanceFee = _performanceFee; } /** * @notice Sets call fee * @dev Only callable by the contract admin. */ function setCallFee(uint256 _callFee) external onlyAdmin { require(_callFee <= MAX_CALL_FEE, "callFee cannot be more than MAX_CALL_FEE"); callFee = _callFee; } /** * @notice Sets withdraw fee * @dev Only callable by the contract admin. */ function setWithdrawFee(uint256 _withdrawFee) external onlyAdmin { require(_withdrawFee <= MAX_WITHDRAW_FEE, "withdrawFee cannot be more than MAX_WITHDRAW_FEE"); withdrawFee = _withdrawFee; } /** * @notice Sets withdraw fee period * @dev Only callable by the contract admin. */ function setWithdrawFeePeriod(uint256 _withdrawFeePeriod) external onlyAdmin { require( _withdrawFeePeriod <= MAX_WITHDRAW_FEE_PERIOD, "withdrawFeePeriod cannot be more than MAX_WITHDRAW_FEE_PERIOD" ); withdrawFeePeriod = _withdrawFeePeriod; } /** * @notice It allows the admin to update start and end blocks * @dev This function is only callable by owner. * @param _startBlock: the new start block * @param _endBlock: the new end block */ function updateStartAndEndBlocks(uint256 _startBlock, uint256 _endBlock) external onlyAdmin { require(block.number < _startBlock, "Pool current block must be lower than new startBlock"); require(_startBlock < _endBlock, "New startBlock must be lower than new endBlock"); startBlock = _startBlock; endBlock = _endBlock; emit UpdateStartAndEndBlocks(_startBlock, _endBlock); } /** * @notice It allows the admin to update end block * @dev This function is only callable by owner. * @param _endBlock: the new end block */ function updateEndBlock(uint256 _endBlock) external onlyAdmin { require(block.number < _endBlock, "new end block can't behind current block"); require(block.number < endBlock, "old end block can't behind current block"); endBlock = _endBlock; emit UpdateEndBlock(_endBlock); } /** * @notice Withdraws from MasterChef to Vault without caring about rewards. * @dev EMERGENCY ONLY. Only callable by the contract admin. */ function emergencyWithdraw() external onlyAdmin { IMasterChef(masterchef).emergencyWithdraw(0); if(!paused()){ _pause(); } } /** * @notice Withdraw unexpected tokens sent to the Crona Vault */ function inCaseTokensGetStuck(address _token) external onlyAdmin { require(_token != address(token), "Token cannot be same as deposit token"); require(_token != address(receiptToken), "Token cannot be same as receipt token"); uint256 amount = IERC20(_token).balanceOf(address(this)); IERC20(_token).safeTransfer(msg.sender, amount); } /** * @notice Triggers stopped state * @dev Only possible when contract not paused. */ function pause() external onlyAdmin whenNotPaused { _pause(); emit Pause(); } /** * @notice Returns to normal state * @dev Only possible when contract is paused. */ function unpause() external onlyAdmin whenPaused { _unpause(); emit Unpause(); } /** * @notice Calculates the expected harvest reward from third party * @return Expected reward to collect in CRONA */ function calculateHarvestCronaRewards() external view returns (uint256) { uint256 amount = IMasterChef(masterchef).pendingCrona(0, address(this)); uint256 currentCallFee = amount.mul(callFee).div(10000); return currentCallFee; } /** * @notice Calculates the total pending rewards that can be restaked * @return Returns total pending crona rewards */ function calculateTotalPendingCronaRewards() external view returns (uint256) { uint256 amount = IMasterChef(masterchef).pendingCrona(0, address(this)); amount = amount.add(available()); return amount; } /** * @notice Calculates the price per share */ function getPricePerFullShare() external view returns (uint256) { return totalShares == 0 ? 1e18 : balanceOf().mul(1e18).div(totalShares); } /** * @notice Custom logic for how much the vault allows to be borrowed * @dev The contract puts 100% of the tokens to work. */ function available() public view returns (uint256) { return token.balanceOf(address(this)); } /** * @notice Calculates the total underlying tokens * @dev It includes tokens held by the contract and held in MasterChef */ function balanceOf() public view returns (uint256) { (uint256 amount, ) = IMasterChef(masterchef).userInfo(0, address(this)); return token.balanceOf(address(this)).add(amount); } /** * @notice Deposits tokens into MasterChef to earn staking rewards */ function _earn() internal { uint256 bal = available(); if (bal > 0) { IMasterChef(masterchef).enterStaking(bal); } } /** * @notice Checks if address is a contract * @dev It prevents contract from being targetted */ function _isContract(address addr) internal view returns (bool) { uint256 size; assembly { size := extcodesize(addr) } return size > 0; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"contract IERC20","name":"_receiptToken","type":"address"},{"internalType":"contract IMasterChef","name":"_masterchef","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastDepositedTime","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"performanceFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"callFee","type":"uint256"}],"name":"Harvest","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":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"endBlock","type":"uint256"}],"name":"UpdateEndBlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endBlock","type":"uint256"}],"name":"UpdateStartAndEndBlocks","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"lastAvgBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastActionBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastValidActionBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastActionBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastValidActionBlock","type":"uint256"}],"name":"UpdateUserIFO","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"currentBlock","type":"uint256"}],"name":"ZeroFreeIFO","type":"event"},{"inputs":[],"name":"MAX_CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PERFORMANCE_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WITHDRAW_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WITHDRAW_FEE_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateHarvestCronaRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateTotalPendingCronaRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getUserCredit","outputs":[{"internalType":"uint256","name":"avgBalance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastHarvestedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterchef","outputs":[{"internalType":"contract IMasterChef","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"receiptToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_callFee","type":"uint256"}],"name":"setCallFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_performanceFee","type":"uint256"}],"name":"setPerformanceFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFee","type":"uint256"}],"name":"setWithdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFeePeriod","type":"uint256"}],"name":"setWithdrawFeePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"name":"updateEndBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"name":"updateStartAndEndBlocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userIFOInfo","outputs":[{"internalType":"uint256","name":"lastActionBalance","type":"uint256"},{"internalType":"uint256","name":"lastValidActionBalance","type":"uint256"},{"internalType":"uint256","name":"lastActionBlock","type":"uint256"},{"internalType":"uint256","name":"lastValidActionBlock","type":"uint256"},{"internalType":"uint256","name":"lastAvgBalance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"lastDepositedTime","type":"uint256"},{"internalType":"uint256","name":"cronaAtLastUserAction","type":"uint256"},{"internalType":"uint256","name":"lastUserActionTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFeePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60e060405260c86009556019600a55600a600b556203f480600c553480156200002757600080fd5b506040516200390438038062003904833981810160405260e08110156200004d57600080fd5b508051602082015160408301516060840151608085015160a086015160c0909601519495939492939192909190600062000086620001e4565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b191690554382116200011d5760405162461bcd60e51b8152600401808060200182810382526026815260200180620038366026913960400191505060405180910390fd5b8082106200015d5760405162461bcd60e51b8152600401808060200182810382526022815260200180620038ac6022913960400191505060405180910390fd5b6001600160601b0319606088811b821660805287811b821660a05286901b1660c052600780546001600160a01b038681166001600160a01b03199283161790925560088054868416921691909117905560038390556004829055620001d79088168660001962002157620001e8602090811b91909117901c565b50505050505050620005fb565b3390565b80158062000272575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200024257600080fd5b505afa15801562000257573d6000803e3d6000fd5b505050506040513d60208110156200026e57600080fd5b5051155b620002af5760405162461bcd60e51b8152600401808060200182810382526036815260200180620038ce6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620003079185916200030c16565b505050565b606062000368826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620003c860201b6200226f179092919060201c565b80519091501562000307578080602001905160208110156200038957600080fd5b5051620003075760405162461bcd60e51b815260040180806020018281038252602a81526020018062003882602a913960400191505060405180910390fd5b6060620003d98484600085620003e3565b90505b9392505050565b606082471015620004265760405162461bcd60e51b81526004018080602001828103825260268152602001806200385c6026913960400191505060405180910390fd5b62000431856200054b565b62000483576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620004c45780518252601f199092019160209182019101620004a3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000528576040519150601f19603f3d011682016040523d82523d6000602084013e6200052d565b606091505b5090925090506200054082828662000551565b979650505050505050565b3b151590565b6060831562000562575081620003dc565b825115620005735782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620005bf578181015183820152602001620005a5565b50505050905090810190601f168015620005ed5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60805160601c60a05160601c60c05160601c6131a66200069060003980610a505280610c3c5280610ebb528061110252806113f05280611bec5280612111528061263652806129c9525080611df25280611f04525080610b485280610b8c5280610f7f5280610fd4528061104b52806114b852806119f15280611d8152806121355280612ac15280612b3d52506131a66000f3fe608060405234801561001057600080fd5b50600436106102895760003560e01c80638456cb591161015c578063dad6f0dc116100ce578063ec78e83211610087578063ec78e832146105a7578063f0f44260146105af578063f2fde38b146105d5578063f851a440146105fb578063fb1db27814610603578063fc0c546a1461060b57610289565b8063dad6f0dc1461053b578063db2e21bc14610561578063dd19171914610569578063def68a9c14610571578063df10b4e614610597578063e941fa781461059f57610289565b80639513997f116101205780639513997f146104c6578063b60f0531146104e9578063b6ac642a146104f1578063b6b55f251461050e578063bdca91651461052b578063d4b0de2f1461053357610289565b80638456cb591461049e578063853828b6146104a657806387788782146104ae5780638da5cb5b146104b657806390321e1a146104be57610289565b80633f4ba83a1161020057806361d027b3116101b957806361d027b31461041f578063704b6c021461044357806370897b2314610469578063715018a614610486578063722713f71461048e57806377c7b8fc1461049657610289565b80633f4ba83a146103db5780634641257d146103e357806348a0d754146103eb57806348cd4cb1146103f35780635c975abb146103fb5780635dde09ea1461041757610289565b8063264658261161025257806326465826146103815780632ad5a53f1461039e5780632cfc5f01146103a65780632e1a7d4d146103ae57806338f4290f146103cb5780633a98ef39146103d357610289565b80626f02311461028e57806306f5a745146102ad578063083c6323146102fe5780631959a002146103185780631efac1b814610364575b600080fd5b6102ab600480360360208110156102a457600080fd5b5035610613565b005b6102d3600480360360208110156102c357600080fd5b50356001600160a01b0316610719565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b610306610748565b60408051918252519081900360200190f35b61033e6004803603602081101561032e57600080fd5b50356001600160a01b031661074e565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6102ab6004803603602081101561037a57600080fd5b5035610776565b6102ab6004803603602081101561039757600080fd5b503561080a565b61030661089c565b6103066108a1565b6102ab600480360360208110156103c457600080fd5b50356108a8565b610306610c37565b610306610cf6565b6102ab610cfc565b6102ab610dcc565b610306611047565b6103066110e7565b6104036110ed565b604080519115158252519081900360200190f35b6103066110fd565b6104276111c5565b604080516001600160a01b039092168252519081900360200190f35b6102ab6004803603602081101561045957600080fd5b50356001600160a01b03166111d4565b6102ab6004803603602081101561047f57600080fd5b50356112ac565b6102ab61133f565b6103066113eb565b610306611531565b6102ab61156b565b6102ab611638565b6103066116e7565b6104276116ed565b6103066116fc565b6102ab600480360360408110156104dc57600080fd5b5080359060200135611702565b610306611814565b6102ab6004803603602081101561050757600080fd5b503561181a565b6102ab6004803603602081101561052457600080fd5b50356118ad565b610306611b39565b610306611b3f565b6103066004803603602081101561055157600080fd5b50356001600160a01b0316611b45565b6102ab611b9d565b6102ab611c7d565b6102ab6004803603602081101561058757600080fd5b50356001600160a01b0316611d32565b610306611ef6565b610306611efc565b610427611f02565b6102ab600480360360208110156105c557600080fd5b50356001600160a01b0316611f26565b6102ab600480360360208110156105eb57600080fd5b50356001600160a01b0316611ffe565b610427612100565b61042761210f565b610427612133565b6007546001600160a01b03163314610660576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b80431061069e5760405162461bcd60e51b8152600401808060200182810382526028815260200180612f916028913960400191505060405180910390fd5b60045443106106de5760405162461bcd60e51b81526004018080602001828103825260288152602001806130b96028913960400191505060405180910390fd5b60048190556040805182815290517f72a01621587849e39c667eb81696643997f818c6c286614cd1497e5ef2e9ecd69181900360200190a150565b600260208190526000918252604090912080546001820154928201546003830154600490930154919392909185565b60045481565b6001602081905260009182526040909120805491810154600282015460039092015490919084565b6007546001600160a01b031633146107c3576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b62093a808111156108055760405162461bcd60e51b815260040180806020018281038252603d81526020018061307c603d913960400191505060405180910390fd5b600c55565b6007546001600160a01b03163314610857576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b60648111156108975760405162461bcd60e51b8152600401808060200182810382526028815260200180612f336028913960400191505060405180910390fd5b600a55565b606481565b62093a8081565b6108b133612288565b156108fa576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b33321461093c576040805162461bcd60e51b815260206004820152601a6024820152600080516020612fb9833981519152604482015290519081900360640190fd5b33600090815260016020526040902081610993576040805162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20776974686472617760681b604482015290519081900360640190fd5b80548211156109e9576040805162461bcd60e51b815260206004820152601f60248201527f576974686472617720616d6f756e7420657863656564732062616c616e636500604482015290519081900360640190fd5b6000610a09600554610a03856109fd6113eb565b9061228e565b906122f0565b82549091508190610a1a9085612357565b8355600554610a299085612357565b6005556000610a36611047565b905082811015610aff576000610a4c8483612357565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631058d281826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610ab457600080fd5b505af1158015610ac8573d6000803e3d6000fd5b505050506000610ad6611047565b90506000610ae48285612357565b905082811015610afb57610af884826123b4565b95505b5050505b600c546001850154610b10916123b4565b421015610b7f576000610b34612710610a03600b548761228e90919063ffffffff16565b600854909150610b71906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811691168361240e565b610b7b8482612357565b9350505b610bb36001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016338561240e565b835415610bdd57610bd3600554610a03610bcb6113eb565b87549061228e565b6002850155610be5565b600060028501555b426003850155610bf6826001612460565b6040805184815260208101879052815133927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568928290030190a25050505050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637b270bdd6000306040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b158015610cb057600080fd5b505afa158015610cc4573d6000803e3d6000fd5b505050506040513d6020811015610cda57600080fd5b50519050610cf0610ce9611047565b82906123b4565b91505090565b60055481565b6007546001600160a01b03163314610d49576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b610d516110ed565b610d99576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b610da161257f565b6040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b610dd533612288565b15610e1e576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b333214610e60576040805162461bcd60e51b815260206004820152601a6024820152600080516020612fb9833981519152604482015290519081900360640190fd5b610e686110ed565b15610ead576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000610eb7611047565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631058d28160006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610f2057600080fd5b505af1158015610f34573d6000803e3d6000fd5b505050506000610f4c82610f46611047565b90612357565b90506000610f6b612710610a036009548561228e90919063ffffffff16565b600854909150610fa8906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811691168361240e565b6000610fc5612710610a03600a548661228e90919063ffffffff16565b9050610ffb6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016338361240e565b611003612622565b426006556040805183815260208101839052815133927f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954928290030190a250505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156110b657600080fd5b505afa1580156110ca573d6000803e3d6000fd5b505050506040513d60208110156110e057600080fd5b5051905090565b60035481565b600054600160a01b900460ff1690565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637b270bdd6000306040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b15801561117657600080fd5b505afa15801561118a573d6000803e3d6000fd5b505050506040513d60208110156111a057600080fd5b5051600a549091506000906111be9061271090610a0390859061228e565b9250505090565b6008546001600160a01b031681565b6111dc6126b6565b6001600160a01b03166111ed6116ed565b6001600160a01b031614611236576040805162461bcd60e51b81526020600482018190526024820152600080516020612ffa833981519152604482015290519081900360640190fd5b6001600160a01b03811661128a576040805162461bcd60e51b815260206004820152601660248201527543616e6e6f74206265207a65726f206164647265737360501b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633146112f9576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b61025881111561133a5760405162461bcd60e51b8152600401808060200182810382526036815260200180612f5b6036913960400191505060405180910390fd5b600955565b6113476126b6565b6001600160a01b03166113586116ed565b6001600160a01b0316146113a1576040805162461bcd60e51b81526020600482018190526024820152600080516020612ffa833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166393f1a40b6000306040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050604080518083038186803b15801561146357600080fd5b505afa158015611477573d6000803e3d6000fd5b505050506040513d604081101561148d57600080fd5b5051604080516370a0823160e01b81523060048201529051919250610cf09183916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916370a0823191602480820192602092909190829003018186803b1580156114ff57600080fd5b505afa158015611513573d6000803e3d6000fd5b505050506040513d602081101561152957600080fd5b5051906123b4565b600060055460001461155c57611557600554610a03670de0b6b3a76400006109fd6113eb565b611566565b670de0b6b3a76400005b905090565b6007546001600160a01b031633146115b8576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6115c06110ed565b15611605576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61160d6126ba565b6040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b61164133612288565b1561168a576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b3332146116cc576040805162461bcd60e51b815260206004820152601a6024820152600080516020612fb9833981519152604482015290519081900360640190fd5b336000908152600160205260409020546116e5906108a8565b565b60095481565b6000546001600160a01b031690565b600a5481565b6007546001600160a01b0316331461174f576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b81431061178d5760405162461bcd60e51b81526004018080602001828103825260348152602001806130486034913960400191505060405180910390fd5b8082106117cb5760405162461bcd60e51b815260040180806020018281038252602e815260200180612eba602e913960400191505060405180910390fd5b60038290556004819055604080518381526020810183905281517f053462fec8f17a9d662e3778a6027b6c0c1ac0da2390a991aa33cb3aa60cae4e929181900390910190a15050565b60065481565b6007546001600160a01b03163314611867576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6101908111156118a85760405162461bcd60e51b815260040180806020018281038252603081526020018061310b6030913960400191505060405180910390fd5b600b55565b6118b56110ed565b156118fa576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61190333612288565b1561194c576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b33321461198e576040805162461bcd60e51b815260206004820152601a6024820152600080516020612fb9833981519152604482015290519081900360640190fd5b600081116119d8576040805162461bcd60e51b8152602060048201526012602482015271139bdd1a1a5b99c81d1bc819195c1bdcda5d60721b604482015290519081900360640190fd5b60006119e26113eb565b9050611a196001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333085612743565b6000600554600014611a4557611a3e82610a036005548661228e90919063ffffffff16565b9050611a48565b50815b60008111611a875760405162461bcd60e51b815260040180806020018281038252602e81526020018061301a602e913960400191505060405180910390fd5b3360009081526001602052604090208054611aa290836123b4565b8155426001820155600554611ab790836123b4565b6005819055611ad390610a03611acb6113eb565b84549061228e565b6002820155426003820155611ae9846000612460565b611af1612622565b60408051858152602081018490524281830152905133917f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e919081900360600190a250505050565b61025881565b61019081565b6001600160a01b0381166000908152600260205260408120611b656127a3565b15611b9257611b8b816002015482600301548360000154846001015485600401546127ab565b9150611b97565b600091505b50919050565b6007546001600160a01b03163314611bea576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635312ea8e60006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611c5157600080fd5b505af1158015611c65573d6000803e3d6000fd5b50505050611c716110ed565b6116e5576116e56126ba565b611c8633612288565b15611ccf576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b333214611d11576040805162461bcd60e51b815260206004820152601a6024820152600080516020612fb9833981519152604482015290519081900360640190fd5b611d1961285a565b336000908152600160205260409020546116e5906128c3565b6007546001600160a01b03163314611d7f576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161415611df05760405162461bcd60e51b8152600401808060200182810382526025815260200180612e956025913960400191505060405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161415611e615760405162461bcd60e51b8152600401808060200182810382526025815260200180612f0e6025913960400191505060405180910390fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611eb057600080fd5b505afa158015611ec4573d6000803e3d6000fd5b505050506040513d6020811015611eda57600080fd5b50519050611ef26001600160a01b038316338361240e565b5050565b600c5481565b600b5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b611f2e6126b6565b6001600160a01b0316611f3f6116ed565b6001600160a01b031614611f88576040805162461bcd60e51b81526020600482018190526024820152600080516020612ffa833981519152604482015290519081900360640190fd5b6001600160a01b038116611fdc576040805162461bcd60e51b815260206004820152601660248201527543616e6e6f74206265207a65726f206164647265737360501b604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6120066126b6565b6001600160a01b03166120176116ed565b6001600160a01b031614612060576040805162461bcd60e51b81526020600482018190526024820152600080516020612ffa833981519152604482015290519081900360640190fd5b6001600160a01b0381166120a55760405162461bcd60e51b8152600401808060200182810382526026815260200180612e6f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b8015806121dd575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156121af57600080fd5b505afa1580156121c3573d6000803e3d6000fd5b505050506040513d60208110156121d957600080fd5b5051155b6122185760405162461bcd60e51b815260040180806020018281038252603681526020018061313b6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261226a908490612ba4565b505050565b606061227e8484600085612c55565b90505b9392505050565b3b151590565b60008261229d575060006122ea565b828202828482816122aa57fe5b04146122e75760405162461bcd60e51b8152600401808060200182810382526021815260200180612fd96021913960400191505060405180910390fd5b90505b92915050565b6000808211612346576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161234f57fe5b049392505050565b6000828211156123ae576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156122e7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261226a908490612ba4565b336000908152600260205260408120906124786127a3565b156124a35761249e826002015483600301548460000154856001015486600401546127ab565b6124a6565b60005b905060018360018111156124b657fe5b14156124df57815484116124d55781546124d09085612357565b6124d8565b60005b82556124ee565b81546124eb90856123b4565b82555b6124f6612db1565b1561250957815460018301554360038301555b6004820181905543600283018190558254600184015460038501546040805186815260208101949094528381019290925260608301939093526080820192909252905133917f6a9632041d5ad6a474679da2ac648103e26069c6e77dca5f3675d3fdcbe1ac17919081900360a00190a250505050565b6125876110ed565b6125cf576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6126056126b6565b604080516001600160a01b039092168252519081900360200190a1565b600061262c611047565b905080156126b3577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166341441d3b826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561269a57600080fd5b505af11580156126ae573d6000803e3d6000fd5b505050505b50565b3390565b6126c26110ed565b15612707576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126056126b6565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261279d908590612ba4565b50505050565b600354431190565b600454600090439087106127c25782915050612851565b6003548610156127d9576003549550600092508493505b60045481106127ea576004546127ec565b805b9050600061280f6128086003548961235790919063ffffffff16565b859061228e565b90506000612827612820848a612357565b879061228e565b905061284b6128416003548561235790919063ffffffff16565b610a0384846123b4565b93505050505b95945050505050565b33600081815260026020818152604080842084815560018101859055928301849055600383018490556004830193909355825143815292519193927f6f66ff41198a141a4e315cd2ff387f32686a6d469da7496ffee40eaf05e4a411929081900390910190a250565b3360009081526001602052604090208161291a576040805162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20776974686472617760681b604482015290519081900360640190fd5b8054821115612970576040805162461bcd60e51b815260206004820152601f60248201527f576974686472617720616d6f756e7420657863656564732062616c616e636500604482015290519081900360640190fd5b6000612984600554610a03856109fd6113eb565b82549091506129939084612357565b82556005546129a29084612357565b60055560006129af611047565b905081811015612a785760006129c58383612357565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631058d281826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015612a2d57600080fd5b505af1158015612a41573d6000803e3d6000fd5b505050506000612a4f611047565b90506000612a5d8285612357565b905082811015612a7457612a7184826123b4565b94505b5050505b600c546001840154612a89916123b4565b421015612af8576000612aad612710610a03600b548661228e90919063ffffffff16565b600854909150612aea906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811691168361240e565b612af48382612357565b9250505b825415612b2257612b18600554610a03612b106113eb565b86549061228e565b6002840155612b2a565b600060028401555b426003840155612b646001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016338461240e565b6040805183815260208101869052815133927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568928290030190a250505050565b6060612bf9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661226f9092919063ffffffff16565b80519091501561226a57808060200190516020811015612c1857600080fd5b505161226a5760405162461bcd60e51b815260040180806020018281038252602a8152602001806130e1602a913960400191505060405180910390fd5b606082471015612c965760405162461bcd60e51b8152600401808060200182810382526026815260200180612ee86026913960400191505060405180910390fd5b612c9f85612288565b612cf0576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612d2f5780518252601f199092019160209182019101612d10565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612d91576040519150601f19603f3d011682016040523d82523d6000602084013e612d96565b606091505b5091509150612da6828286612dca565b979650505050505050565b6000600354431015801561156657505060045443111590565b60608315612dd9575081612281565b825115612de95782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612e33578181015183820152602001612e1b565b50505050905090810190601f168015612e605780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e2063616e6e6f742062652073616d65206173206465706f73697420746f6b656e4e6577207374617274426c6f636b206d757374206265206c6f776572207468616e206e657720656e64426c6f636b416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c546f6b656e2063616e6e6f742062652073616d65206173207265636569707420746f6b656e63616c6c4665652063616e6e6f74206265206d6f7265207468616e204d41585f43414c4c5f464545706572666f726d616e63654665652063616e6e6f74206265206d6f7265207468616e204d41585f504552464f524d414e43455f4645456e657720656e6420626c6f636b2063616e277420626568696e642063757272656e7420626c6f636b70726f787920636f6e7472616374206e6f7420616c6c6f776564000000000000536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726465706f73697420616d6f756e7420697320746f6f20736d616c6c20746f20616c6c6f6361746520736861726573506f6f6c2063757272656e7420626c6f636b206d757374206265206c6f776572207468616e206e6577207374617274426c6f636b7769746864726177466565506572696f642063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455f504552494f446f6c6420656e6420626c6f636b2063616e277420626568696e642063757272656e7420626c6f636b5361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656477697468647261774665652063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220d10c0359ba359ea27249e4fa0fc3b44b4cbd07336fd901c13f29990e5ffbedb064736f6c634300060c0033737461727420626c6f636b2063616e277420626568696e642063757272656e7420626c6f636b416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564656e6420626c6f636b2063616e277420626568696e6420737461727420626c6f636b5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe00000000000000000000000025f0965f285f03d6f6b3b21c8ec3367412fd0ef600000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b254000000000000000000000000d758b37aff75f8ee847d606fcefe7bd18c8ed029000000000000000000000000b6e6d031db616cf8ac338293dc2ecfa0f01c55ec00000000000000000000000000000000000000000000000000000000000a55b400000000000000000000000000000000000000000000000000000000000d62f4
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102895760003560e01c80638456cb591161015c578063dad6f0dc116100ce578063ec78e83211610087578063ec78e832146105a7578063f0f44260146105af578063f2fde38b146105d5578063f851a440146105fb578063fb1db27814610603578063fc0c546a1461060b57610289565b8063dad6f0dc1461053b578063db2e21bc14610561578063dd19171914610569578063def68a9c14610571578063df10b4e614610597578063e941fa781461059f57610289565b80639513997f116101205780639513997f146104c6578063b60f0531146104e9578063b6ac642a146104f1578063b6b55f251461050e578063bdca91651461052b578063d4b0de2f1461053357610289565b80638456cb591461049e578063853828b6146104a657806387788782146104ae5780638da5cb5b146104b657806390321e1a146104be57610289565b80633f4ba83a1161020057806361d027b3116101b957806361d027b31461041f578063704b6c021461044357806370897b2314610469578063715018a614610486578063722713f71461048e57806377c7b8fc1461049657610289565b80633f4ba83a146103db5780634641257d146103e357806348a0d754146103eb57806348cd4cb1146103f35780635c975abb146103fb5780635dde09ea1461041757610289565b8063264658261161025257806326465826146103815780632ad5a53f1461039e5780632cfc5f01146103a65780632e1a7d4d146103ae57806338f4290f146103cb5780633a98ef39146103d357610289565b80626f02311461028e57806306f5a745146102ad578063083c6323146102fe5780631959a002146103185780631efac1b814610364575b600080fd5b6102ab600480360360208110156102a457600080fd5b5035610613565b005b6102d3600480360360208110156102c357600080fd5b50356001600160a01b0316610719565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b610306610748565b60408051918252519081900360200190f35b61033e6004803603602081101561032e57600080fd5b50356001600160a01b031661074e565b604080519485526020850193909352838301919091526060830152519081900360800190f35b6102ab6004803603602081101561037a57600080fd5b5035610776565b6102ab6004803603602081101561039757600080fd5b503561080a565b61030661089c565b6103066108a1565b6102ab600480360360208110156103c457600080fd5b50356108a8565b610306610c37565b610306610cf6565b6102ab610cfc565b6102ab610dcc565b610306611047565b6103066110e7565b6104036110ed565b604080519115158252519081900360200190f35b6103066110fd565b6104276111c5565b604080516001600160a01b039092168252519081900360200190f35b6102ab6004803603602081101561045957600080fd5b50356001600160a01b03166111d4565b6102ab6004803603602081101561047f57600080fd5b50356112ac565b6102ab61133f565b6103066113eb565b610306611531565b6102ab61156b565b6102ab611638565b6103066116e7565b6104276116ed565b6103066116fc565b6102ab600480360360408110156104dc57600080fd5b5080359060200135611702565b610306611814565b6102ab6004803603602081101561050757600080fd5b503561181a565b6102ab6004803603602081101561052457600080fd5b50356118ad565b610306611b39565b610306611b3f565b6103066004803603602081101561055157600080fd5b50356001600160a01b0316611b45565b6102ab611b9d565b6102ab611c7d565b6102ab6004803603602081101561058757600080fd5b50356001600160a01b0316611d32565b610306611ef6565b610306611efc565b610427611f02565b6102ab600480360360208110156105c557600080fd5b50356001600160a01b0316611f26565b6102ab600480360360208110156105eb57600080fd5b50356001600160a01b0316611ffe565b610427612100565b61042761210f565b610427612133565b6007546001600160a01b03163314610660576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b80431061069e5760405162461bcd60e51b8152600401808060200182810382526028815260200180612f916028913960400191505060405180910390fd5b60045443106106de5760405162461bcd60e51b81526004018080602001828103825260288152602001806130b96028913960400191505060405180910390fd5b60048190556040805182815290517f72a01621587849e39c667eb81696643997f818c6c286614cd1497e5ef2e9ecd69181900360200190a150565b600260208190526000918252604090912080546001820154928201546003830154600490930154919392909185565b60045481565b6001602081905260009182526040909120805491810154600282015460039092015490919084565b6007546001600160a01b031633146107c3576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b62093a808111156108055760405162461bcd60e51b815260040180806020018281038252603d81526020018061307c603d913960400191505060405180910390fd5b600c55565b6007546001600160a01b03163314610857576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b60648111156108975760405162461bcd60e51b8152600401808060200182810382526028815260200180612f336028913960400191505060405180910390fd5b600a55565b606481565b62093a8081565b6108b133612288565b156108fa576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b33321461093c576040805162461bcd60e51b815260206004820152601a6024820152600080516020612fb9833981519152604482015290519081900360640190fd5b33600090815260016020526040902081610993576040805162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20776974686472617760681b604482015290519081900360640190fd5b80548211156109e9576040805162461bcd60e51b815260206004820152601f60248201527f576974686472617720616d6f756e7420657863656564732062616c616e636500604482015290519081900360640190fd5b6000610a09600554610a03856109fd6113eb565b9061228e565b906122f0565b82549091508190610a1a9085612357565b8355600554610a299085612357565b6005556000610a36611047565b905082811015610aff576000610a4c8483612357565b90507f00000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b2546001600160a01b0316631058d281826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610ab457600080fd5b505af1158015610ac8573d6000803e3d6000fd5b505050506000610ad6611047565b90506000610ae48285612357565b905082811015610afb57610af884826123b4565b95505b5050505b600c546001850154610b10916123b4565b421015610b7f576000610b34612710610a03600b548761228e90919063ffffffff16565b600854909150610b71906001600160a01b037f000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe811691168361240e565b610b7b8482612357565b9350505b610bb36001600160a01b037f000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe16338561240e565b835415610bdd57610bd3600554610a03610bcb6113eb565b87549061228e565b6002850155610be5565b600060028501555b426003850155610bf6826001612460565b6040805184815260208101879052815133927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568928290030190a25050505050565b6000807f00000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b2546001600160a01b0316637b270bdd6000306040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b158015610cb057600080fd5b505afa158015610cc4573d6000803e3d6000fd5b505050506040513d6020811015610cda57600080fd5b50519050610cf0610ce9611047565b82906123b4565b91505090565b60055481565b6007546001600160a01b03163314610d49576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b610d516110ed565b610d99576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b610da161257f565b6040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b610dd533612288565b15610e1e576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b333214610e60576040805162461bcd60e51b815260206004820152601a6024820152600080516020612fb9833981519152604482015290519081900360640190fd5b610e686110ed565b15610ead576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000610eb7611047565b90507f00000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b2546001600160a01b0316631058d28160006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610f2057600080fd5b505af1158015610f34573d6000803e3d6000fd5b505050506000610f4c82610f46611047565b90612357565b90506000610f6b612710610a036009548561228e90919063ffffffff16565b600854909150610fa8906001600160a01b037f000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe811691168361240e565b6000610fc5612710610a03600a548661228e90919063ffffffff16565b9050610ffb6001600160a01b037f000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe16338361240e565b611003612622565b426006556040805183815260208101839052815133927f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954928290030190a250505050565b60007f000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156110b657600080fd5b505afa1580156110ca573d6000803e3d6000fd5b505050506040513d60208110156110e057600080fd5b5051905090565b60035481565b600054600160a01b900460ff1690565b6000807f00000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b2546001600160a01b0316637b270bdd6000306040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b15801561117657600080fd5b505afa15801561118a573d6000803e3d6000fd5b505050506040513d60208110156111a057600080fd5b5051600a549091506000906111be9061271090610a0390859061228e565b9250505090565b6008546001600160a01b031681565b6111dc6126b6565b6001600160a01b03166111ed6116ed565b6001600160a01b031614611236576040805162461bcd60e51b81526020600482018190526024820152600080516020612ffa833981519152604482015290519081900360640190fd5b6001600160a01b03811661128a576040805162461bcd60e51b815260206004820152601660248201527543616e6e6f74206265207a65726f206164647265737360501b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633146112f9576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b61025881111561133a5760405162461bcd60e51b8152600401808060200182810382526036815260200180612f5b6036913960400191505060405180910390fd5b600955565b6113476126b6565b6001600160a01b03166113586116ed565b6001600160a01b0316146113a1576040805162461bcd60e51b81526020600482018190526024820152600080516020612ffa833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000807f00000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b2546001600160a01b03166393f1a40b6000306040518363ffffffff1660e01b815260040180838152602001826001600160a01b0316815260200192505050604080518083038186803b15801561146357600080fd5b505afa158015611477573d6000803e3d6000fd5b505050506040513d604081101561148d57600080fd5b5051604080516370a0823160e01b81523060048201529051919250610cf09183916001600160a01b037f000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe16916370a0823191602480820192602092909190829003018186803b1580156114ff57600080fd5b505afa158015611513573d6000803e3d6000fd5b505050506040513d602081101561152957600080fd5b5051906123b4565b600060055460001461155c57611557600554610a03670de0b6b3a76400006109fd6113eb565b611566565b670de0b6b3a76400005b905090565b6007546001600160a01b031633146115b8576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6115c06110ed565b15611605576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61160d6126ba565b6040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b61164133612288565b1561168a576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b3332146116cc576040805162461bcd60e51b815260206004820152601a6024820152600080516020612fb9833981519152604482015290519081900360640190fd5b336000908152600160205260409020546116e5906108a8565b565b60095481565b6000546001600160a01b031690565b600a5481565b6007546001600160a01b0316331461174f576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b81431061178d5760405162461bcd60e51b81526004018080602001828103825260348152602001806130486034913960400191505060405180910390fd5b8082106117cb5760405162461bcd60e51b815260040180806020018281038252602e815260200180612eba602e913960400191505060405180910390fd5b60038290556004819055604080518381526020810183905281517f053462fec8f17a9d662e3778a6027b6c0c1ac0da2390a991aa33cb3aa60cae4e929181900390910190a15050565b60065481565b6007546001600160a01b03163314611867576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b6101908111156118a85760405162461bcd60e51b815260040180806020018281038252603081526020018061310b6030913960400191505060405180910390fd5b600b55565b6118b56110ed565b156118fa576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61190333612288565b1561194c576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b33321461198e576040805162461bcd60e51b815260206004820152601a6024820152600080516020612fb9833981519152604482015290519081900360640190fd5b600081116119d8576040805162461bcd60e51b8152602060048201526012602482015271139bdd1a1a5b99c81d1bc819195c1bdcda5d60721b604482015290519081900360640190fd5b60006119e26113eb565b9050611a196001600160a01b037f000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe16333085612743565b6000600554600014611a4557611a3e82610a036005548661228e90919063ffffffff16565b9050611a48565b50815b60008111611a875760405162461bcd60e51b815260040180806020018281038252602e81526020018061301a602e913960400191505060405180910390fd5b3360009081526001602052604090208054611aa290836123b4565b8155426001820155600554611ab790836123b4565b6005819055611ad390610a03611acb6113eb565b84549061228e565b6002820155426003820155611ae9846000612460565b611af1612622565b60408051858152602081018490524281830152905133917f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e919081900360600190a250505050565b61025881565b61019081565b6001600160a01b0381166000908152600260205260408120611b656127a3565b15611b9257611b8b816002015482600301548360000154846001015485600401546127ab565b9150611b97565b600091505b50919050565b6007546001600160a01b03163314611bea576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b7f00000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b2546001600160a01b0316635312ea8e60006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611c5157600080fd5b505af1158015611c65573d6000803e3d6000fd5b50505050611c716110ed565b6116e5576116e56126ba565b611c8633612288565b15611ccf576040805162461bcd60e51b815260206004820152601460248201527318dbdb9d1c9858dd081b9bdd08185b1b1bddd95960621b604482015290519081900360640190fd5b333214611d11576040805162461bcd60e51b815260206004820152601a6024820152600080516020612fb9833981519152604482015290519081900360640190fd5b611d1961285a565b336000908152600160205260409020546116e5906128c3565b6007546001600160a01b03163314611d7f576040805162461bcd60e51b815260206004820152600b60248201526a61646d696e3a207775743f60a81b604482015290519081900360640190fd5b7f000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe6001600160a01b0316816001600160a01b03161415611df05760405162461bcd60e51b8152600401808060200182810382526025815260200180612e956025913960400191505060405180910390fd5b7f00000000000000000000000025f0965f285f03d6f6b3b21c8ec3367412fd0ef66001600160a01b0316816001600160a01b03161415611e615760405162461bcd60e51b8152600401808060200182810382526025815260200180612f0e6025913960400191505060405180910390fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611eb057600080fd5b505afa158015611ec4573d6000803e3d6000fd5b505050506040513d6020811015611eda57600080fd5b50519050611ef26001600160a01b038316338361240e565b5050565b600c5481565b600b5481565b7f00000000000000000000000025f0965f285f03d6f6b3b21c8ec3367412fd0ef681565b611f2e6126b6565b6001600160a01b0316611f3f6116ed565b6001600160a01b031614611f88576040805162461bcd60e51b81526020600482018190526024820152600080516020612ffa833981519152604482015290519081900360640190fd5b6001600160a01b038116611fdc576040805162461bcd60e51b815260206004820152601660248201527543616e6e6f74206265207a65726f206164647265737360501b604482015290519081900360640190fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6120066126b6565b6001600160a01b03166120176116ed565b6001600160a01b031614612060576040805162461bcd60e51b81526020600482018190526024820152600080516020612ffa833981519152604482015290519081900360640190fd5b6001600160a01b0381166120a55760405162461bcd60e51b8152600401808060200182810382526026815260200180612e6f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031681565b7f00000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b25481565b7f000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe81565b8015806121dd575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156121af57600080fd5b505afa1580156121c3573d6000803e3d6000fd5b505050506040513d60208110156121d957600080fd5b5051155b6122185760405162461bcd60e51b815260040180806020018281038252603681526020018061313b6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261226a908490612ba4565b505050565b606061227e8484600085612c55565b90505b9392505050565b3b151590565b60008261229d575060006122ea565b828202828482816122aa57fe5b04146122e75760405162461bcd60e51b8152600401808060200182810382526021815260200180612fd96021913960400191505060405180910390fd5b90505b92915050565b6000808211612346576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161234f57fe5b049392505050565b6000828211156123ae576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156122e7576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261226a908490612ba4565b336000908152600260205260408120906124786127a3565b156124a35761249e826002015483600301548460000154856001015486600401546127ab565b6124a6565b60005b905060018360018111156124b657fe5b14156124df57815484116124d55781546124d09085612357565b6124d8565b60005b82556124ee565b81546124eb90856123b4565b82555b6124f6612db1565b1561250957815460018301554360038301555b6004820181905543600283018190558254600184015460038501546040805186815260208101949094528381019290925260608301939093526080820192909252905133917f6a9632041d5ad6a474679da2ac648103e26069c6e77dca5f3675d3fdcbe1ac17919081900360a00190a250505050565b6125876110ed565b6125cf576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6126056126b6565b604080516001600160a01b039092168252519081900360200190a1565b600061262c611047565b905080156126b3577f00000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b2546001600160a01b03166341441d3b826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561269a57600080fd5b505af11580156126ae573d6000803e3d6000fd5b505050505b50565b3390565b6126c26110ed565b15612707576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126056126b6565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261279d908590612ba4565b50505050565b600354431190565b600454600090439087106127c25782915050612851565b6003548610156127d9576003549550600092508493505b60045481106127ea576004546127ec565b805b9050600061280f6128086003548961235790919063ffffffff16565b859061228e565b90506000612827612820848a612357565b879061228e565b905061284b6128416003548561235790919063ffffffff16565b610a0384846123b4565b93505050505b95945050505050565b33600081815260026020818152604080842084815560018101859055928301849055600383018490556004830193909355825143815292519193927f6f66ff41198a141a4e315cd2ff387f32686a6d469da7496ffee40eaf05e4a411929081900390910190a250565b3360009081526001602052604090208161291a576040805162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20776974686472617760681b604482015290519081900360640190fd5b8054821115612970576040805162461bcd60e51b815260206004820152601f60248201527f576974686472617720616d6f756e7420657863656564732062616c616e636500604482015290519081900360640190fd5b6000612984600554610a03856109fd6113eb565b82549091506129939084612357565b82556005546129a29084612357565b60055560006129af611047565b905081811015612a785760006129c58383612357565b90507f00000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b2546001600160a01b0316631058d281826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015612a2d57600080fd5b505af1158015612a41573d6000803e3d6000fd5b505050506000612a4f611047565b90506000612a5d8285612357565b905082811015612a7457612a7184826123b4565b94505b5050505b600c546001840154612a89916123b4565b421015612af8576000612aad612710610a03600b548661228e90919063ffffffff16565b600854909150612aea906001600160a01b037f000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe811691168361240e565b612af48382612357565b9250505b825415612b2257612b18600554610a03612b106113eb565b86549061228e565b6002840155612b2a565b600060028401555b426003840155612b646001600160a01b037f000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe16338461240e565b6040805183815260208101869052815133927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568928290030190a250505050565b6060612bf9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661226f9092919063ffffffff16565b80519091501561226a57808060200190516020811015612c1857600080fd5b505161226a5760405162461bcd60e51b815260040180806020018281038252602a8152602001806130e1602a913960400191505060405180910390fd5b606082471015612c965760405162461bcd60e51b8152600401808060200182810382526026815260200180612ee86026913960400191505060405180910390fd5b612c9f85612288565b612cf0576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612d2f5780518252601f199092019160209182019101612d10565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612d91576040519150601f19603f3d011682016040523d82523d6000602084013e612d96565b606091505b5091509150612da6828286612dca565b979650505050505050565b6000600354431015801561156657505060045443111590565b60608315612dd9575081612281565b825115612de95782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612e33578181015183820152602001612e1b565b50505050905090810190601f168015612e605780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e2063616e6e6f742062652073616d65206173206465706f73697420746f6b656e4e6577207374617274426c6f636b206d757374206265206c6f776572207468616e206e657720656e64426c6f636b416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c546f6b656e2063616e6e6f742062652073616d65206173207265636569707420746f6b656e63616c6c4665652063616e6e6f74206265206d6f7265207468616e204d41585f43414c4c5f464545706572666f726d616e63654665652063616e6e6f74206265206d6f7265207468616e204d41585f504552464f524d414e43455f4645456e657720656e6420626c6f636b2063616e277420626568696e642063757272656e7420626c6f636b70726f787920636f6e7472616374206e6f7420616c6c6f776564000000000000536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726465706f73697420616d6f756e7420697320746f6f20736d616c6c20746f20616c6c6f6361746520736861726573506f6f6c2063757272656e7420626c6f636b206d757374206265206c6f776572207468616e206e6577207374617274426c6f636b7769746864726177466565506572696f642063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455f504552494f446f6c6420656e6420626c6f636b2063616e277420626568696e642063757272656e7420626c6f636b5361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656477697468647261774665652063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220d10c0359ba359ea27249e4fa0fc3b44b4cbd07336fd901c13f29990e5ffbedb064736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe00000000000000000000000025f0965f285f03d6f6b3b21c8ec3367412fd0ef600000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b254000000000000000000000000d758b37aff75f8ee847d606fcefe7bd18c8ed029000000000000000000000000b6e6d031db616cf8ac338293dc2ecfa0f01c55ec00000000000000000000000000000000000000000000000000000000000a55b400000000000000000000000000000000000000000000000000000000000d62f4
-----Decoded View---------------
Arg [0] : _token (address): 0xadbd1231fb360047525BEdF962581F3eee7b49fe
Arg [1] : _receiptToken (address): 0x25f0965F285F03d6F6B3B21c8EC3367412Fd0ef6
Arg [2] : _masterchef (address): 0x77ea4a4cF9F77A034E4291E8f457Af7772c2B254
Arg [3] : _admin (address): 0xd758B37Aff75F8Ee847D606fcEfE7BD18C8ed029
Arg [4] : _treasury (address): 0xB6E6d031db616cF8aC338293dC2ecFa0F01C55EC
Arg [5] : _startBlock (uint256): 677300
Arg [6] : _endBlock (uint256): 877300
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000adbd1231fb360047525bedf962581f3eee7b49fe
Arg [1] : 00000000000000000000000025f0965f285f03d6f6b3b21c8ec3367412fd0ef6
Arg [2] : 00000000000000000000000077ea4a4cf9f77a034e4291e8f457af7772c2b254
Arg [3] : 000000000000000000000000d758b37aff75f8ee847d606fcefe7bd18c8ed029
Arg [4] : 000000000000000000000000b6e6d031db616cf8ac338293dc2ecfa0f01c55ec
Arg [5] : 00000000000000000000000000000000000000000000000000000000000a55b4
Arg [6] : 00000000000000000000000000000000000000000000000000000000000d62f4
Deployed Bytecode Sourcemap
29003:21633:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46830:322;;;;;;;;;;;;;;;;-1:-1:-1;46830:322:0;;:::i;:::-;;30271:51;;;;;;;;;;;;;;;;-1:-1:-1;30271:51:0;-1:-1:-1;;;;;30271:51:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30363:23;;;:::i;:::-;;;;;;;;;;;;;;;;30209:44;;;;;;;;;;;;;;;;-1:-1:-1;30209:44:0;-1:-1:-1;;;;;30209:44:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45682:301;;;;;;;;;;;;;;;;-1:-1:-1;45682:301:0;;:::i;45059:182::-;;;;;;;;;;;;;;;;-1:-1:-1;45059:182:0;;:::i;30588:42::-;;;:::i;30702:59::-;;;:::i;39872:1644::-;;;;;;;;;;;;;;;;-1:-1:-1;39872:1644:0;;:::i;48967:236::-;;;:::i;30395:26::-;;;:::i;48300:103::-;;;:::i;43446:612::-;;;:::i;49589:107::-;;;:::i;30331:25::-;;;:::i;26852:86::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;48553:262;;;:::i;30494:23::-;;;:::i;:::-;;;;-1:-1:-1;;;;;30494:23:0;;;;;;;;;;;;;;44169:152;;;;;;;;;;;;;;;;-1:-1:-1;44169:152:0;-1:-1:-1;;;;;44169:152:0;;:::i;44715:238::-;;;;;;;;;;;;;;;;-1:-1:-1;44715:238:0;;:::i;2867:148::-;;;:::i;49853:201::-;;;:::i;49276:154::-;;;:::i;48082:100::-;;;:::i;38912:::-;;;:::i;30780:35::-;;;:::i;2216:87::-;;;:::i;30828:27::-;;;:::i;46222:428::-;;;;;;;;;;;;;;;;-1:-1:-1;46222:428:0;;;;;;;:::i;30428:32::-;;;:::i;45351:214::-;;;;;;;;;;;;;;;;-1:-1:-1;45351:214:0;;:::i;33444:1064::-;;;;;;;;;;;;;;;;-1:-1:-1;33444:1064:0;;:::i;30526:49::-;;;:::i;30643:46::-;;;:::i;38403:436::-;;;;;;;;;;;;;;;;-1:-1:-1;38403:436:0;-1:-1:-1;;;;;38403:436:0;;:::i;47325:169::-;;;:::i;39155:136::-;;;:::i;47587:377::-;;;;;;;;;;;;;;;;-1:-1:-1;47587:377:0;-1:-1:-1;;;;;47587:377:0;;:::i;30917:43::-;;;:::i;30871:31::-;;;:::i;30101:36::-;;;:::i;44435:167::-;;;;;;;;;;;;;;;;-1:-1:-1;44435:167:0;-1:-1:-1;;;;;44435:167:0;;:::i;3170:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3170:244:0;-1:-1:-1;;;;;3170:244:0;;:::i;30467:20::-;;;:::i;30161:39::-;;;:::i;30050:29::-;;;:::i;46830:322::-;32933:5;;-1:-1:-1;;;;;32933:5:0;32919:10;:19;32911:43;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;;;;46926:9:::1;46911:12;:24;46903:77;;;;-1:-1:-1::0;;;46903:77:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47014:8;;46999:12;:23;46991:77;;;;-1:-1:-1::0;;;46991:77:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47081:8;:20:::0;;;47119:25:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;46830:322:::0;:::o;30271:51::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30363:23::-;;;;:::o;30209:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45682:301::-;32933:5;;-1:-1:-1;;;;;32933:5:0;32919:10;:19;32911:43;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;;;;30752:9:::1;45792:18;:45;;45770:156;;;;-1:-1:-1::0;;;45770:156:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45937:17;:38:::0;45682:301::o;45059:182::-;32933:5;;-1:-1:-1;;;;;32933:5:0;32919:10;:19;32911:43;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;;;;30627:3:::1;45135:8;:24;;45127:77;;;;-1:-1:-1::0;;;45127:77:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45215:7;:18:::0;45059:182::o;30588:42::-;30627:3;30588:42;:::o;30702:59::-;30752:9;30702:59;:::o;39872:1644::-;33109:23;33121:10;33109:11;:23::i;:::-;33108:24;33100:57;;;;;-1:-1:-1;;;33100:57:0;;;;;;;;;;;;-1:-1:-1;;;33100:57:0;;;;;;;;;;;;;;;33176:10;33190:9;33176:23;33168:62;;;;;-1:-1:-1;;;33168:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;33168:62:0;;;;;;;;;;;;;;;39970:10:::1;39937:21;39961:20:::0;;;:8:::1;:20;::::0;;;;40000:11;39992:43:::1;;;::::0;;-1:-1:-1;;;39992:43:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;39992:43:0;;;;;;;;;;;;;::::1;;40065:11:::0;;40054:22;::::1;;40046:66;;;::::0;;-1:-1:-1;;;40046:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;40125:21;40149:43;40180:11;;40150:24;40166:7;40150:11;:9;:11::i;:::-;:15:::0;::::1;:24::i;:::-;40149:30:::0;::::1;:43::i;:::-;40267:11:::0;;40125:67;;-1:-1:-1;40125:67:0;;40267:24:::1;::::0;40283:7;40267:15:::1;:24::i;:::-;40253:38:::0;;40316:11:::1;::::0;:24:::1;::::0;40332:7;40316:15:::1;:24::i;:::-;40302:11;:38:::0;40353:11:::1;40367;:9;:11::i;:::-;40353:25;;40399:13;40393:3;:19;40389:354;;;40429:19;40451:22;:13:::0;40469:3;40451:17:::1;:22::i;:::-;40429:44;;40500:10;-1:-1:-1::0;;;;;40488:36:0::1;;40525:11;40488:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40552:16;40571:11;:9;:11::i;:::-;40552:30:::0;-1:-1:-1;40597:12:0::1;40612:17;40552:30:::0;40625:3;40612:12:::1;:17::i;:::-;40597:32;;40655:11;40648:4;:18;40644:88;;;40703:13;:3:::0;40711:4;40703:7:::1;:13::i;:::-;40687:29;;40644:88;40389:354;;;;40804:17;::::0;40777:22:::1;::::0;::::1;::::0;:45:::1;::::0;:26:::1;:45::i;:::-;40759:15;:63;40755:297;;;40839:26;40868:41;40903:5;40868:30;40886:11;;40868:13;:17;;:30;;;;:::i;:41::-;40943:8;::::0;40839:70;;-1:-1:-1;40924:48:0::1;::::0;-1:-1:-1;;;;;40924:5:0::1;:18:::0;::::1;::::0;40943:8:::1;40839:70:::0;40924:18:::1;:48::i;:::-;41003:37;:13:::0;41021:18;41003:17:::1;:37::i;:::-;40987:53;;40755:297;;41064:45;-1:-1:-1::0;;;;;41064:5:0::1;:18;41083:10;41095:13:::0;41064:18:::1;:45::i;:::-;41124:11:::0;;:15;41120:185:::1;;41185:45;41218:11;;41185:28;41201:11;:9;:11::i;:::-;41185::::0;;;:15:::1;:28::i;:45::-;41156:26;::::0;::::1;:74:::0;41120:185:::1;;;41292:1;41263:26;::::0;::::1;:30:::0;41120:185:::1;41343:15;41317:23;::::0;::::1;:41:::0;41394:52:::1;41409:15:::0;41426:19:::1;41394:14;:52::i;:::-;41464:44;::::0;;;;;::::1;::::0;::::1;::::0;;;;;41473:10:::1;::::0;41464:44:::1;::::0;;;;;;::::1;33241:1;;;;39872:1644:::0;:::o;48967:236::-;49035:7;49055:14;49084:10;-1:-1:-1;;;;;49072:36:0;;49109:1;49120:4;49072:54;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;49072:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49072:54:0;;-1:-1:-1;49146:23:0;49157:11;:9;:11::i;:::-;49146:6;;:10;:23::i;:::-;49137:32;-1:-1:-1;;48967:236:0;:::o;30395:26::-;;;;:::o;48300:103::-;32933:5;;-1:-1:-1;;;;;32933:5:0;32919:10;:19;32911:43;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;;;;27455:8:::1;:6;:8::i;:::-;27447:41;;;::::0;;-1:-1:-1;;;27447:41:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27447:41:0;;;;;;;;;;;;;::::1;;48360:10:::2;:8;:10::i;:::-;48386:9;::::0;::::2;::::0;;;::::2;48300:103::o:0;43446:612::-;33109:23;33121:10;33109:11;:23::i;:::-;33108:24;33100:57;;;;;-1:-1:-1;;;33100:57:0;;;;;;;;;;;;-1:-1:-1;;;33100:57:0;;;;;;;;;;;;;;;33176:10;33190:9;33176:23;33168:62;;;;;-1:-1:-1;;;33168:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;33168:62:0;;;;;;;;;;;;;;;27178:8:::1;:6;:8::i;:::-;27177:9;27169:38;;;::::0;;-1:-1:-1;;;27169:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27169:38:0;;;;;;;;;;;;;::::1;;43511:17:::2;43531:11;:9;:11::i;:::-;43511:31;;43565:10;-1:-1:-1::0;;;;;43553:36:0::2;;43590:1;43553:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;43603:11;43617:26;43633:9;43617:11;:9;:11::i;:::-;:15:::0;::::2;:26::i;:::-;43603:40;;43656:29;43688:34;43716:5;43688:23;43696:14;;43688:3;:7;;:23;;;;:::i;:34::-;43752:8;::::0;43656:66;;-1:-1:-1;43733:51:0::2;::::0;-1:-1:-1;;;;;43733:5:0::2;:18:::0;::::2;::::0;43752:8:::2;43656:66:::0;43733:18:::2;:51::i;:::-;43797:22;43822:27;43843:5;43822:16;43830:7;;43822:3;:7;;:16;;;;:::i;:27::-;43797:52:::0;-1:-1:-1;43860:46:0::2;-1:-1:-1::0;;;;;43860:5:0::2;:18;43879:10;43797:52:::0;43860:18:::2;:46::i;:::-;43919:7;:5;:7::i;:::-;43959:15;43939:17;:35:::0;43992:58:::2;::::0;;;;;::::2;::::0;::::2;::::0;;;;;44000:10:::2;::::0;43992:58:::2;::::0;;;;;;::::2;27218:1;;;;43446:612::o:0;49589:107::-;49631:7;49658:5;-1:-1:-1;;;;;49658:15:0;;49682:4;49658:30;;;;;;;;;;;;;-1:-1:-1;;;;;49658:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49658:30:0;;-1:-1:-1;49589:107:0;:::o;30331:25::-;;;;:::o;26852:86::-;26899:4;26923:7;-1:-1:-1;;;26923:7:0;;;;;26852:86::o;48553:262::-;48616:7;48636:14;48665:10;-1:-1:-1;;;;;48653:36:0;;48690:1;48701:4;48653:54;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48653:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48653:54:0;48754:7;;48653:54;;-1:-1:-1;48718:22:0;;48743:30;;48767:5;;48743:19;;48653:54;;48743:10;:19::i;:30::-;48718:55;-1:-1:-1;;;48553:262:0;:::o;30494:23::-;;;-1:-1:-1;;;;;30494:23:0;;:::o;44169:152::-;2447:12;:10;:12::i;:::-;-1:-1:-1;;;;;2436:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2436:23:0;;2428:68;;;;;-1:-1:-1;;;2428:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2428:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44241:20:0;::::1;44233:55;;;::::0;;-1:-1:-1;;;44233:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;44233:55:0;;;;;;;;;;;;;::::1;;44299:5;:14:::0;;-1:-1:-1;;;;;;44299:14:0::1;-1:-1:-1::0;;;;;44299:14:0;;;::::1;::::0;;;::::1;::::0;;44169:152::o;44715:238::-;32933:5;;-1:-1:-1;;;;;32933:5:0;32919:10;:19;32911:43;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;;;;30572:3:::1;44805:15;:38;;44797:105;;;;-1:-1:-1::0;;;44797:105:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44913:14;:32:::0;44715:238::o;2867:148::-;2447:12;:10;:12::i;:::-;-1:-1:-1;;;;;2436:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2436:23:0;;2428:68;;;;;-1:-1:-1;;;2428:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2428:68:0;;;;;;;;;;;;;;;2974:1:::1;2958:6:::0;;2937:40:::1;::::0;-1:-1:-1;;;;;2958:6:0;;::::1;::::0;2937:40:::1;::::0;2974:1;;2937:40:::1;3005:1;2988:19:::0;;-1:-1:-1;;;;;;2988:19:0::1;::::0;;2867:148::o;49853:201::-;49895:7;49916:14;49948:10;-1:-1:-1;;;;;49936:32:0;;49969:1;49980:4;49936:50;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;49936:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49936:50:0;;50004:30;;-1:-1:-1;;;50004:30:0;;50028:4;50004:30;;;;;;49936:50;;-1:-1:-1;50004:42:0;;49936:50;;-1:-1:-1;;;;;50004:5:0;:15;;;;:30;;;;;49936:50;;50004:30;;;;;;;;:15;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50004:30:0;;:34;:42::i;49276:154::-;49331:7;49358:11;;49373:1;49358:16;:64;;49384:38;49410:11;;49384:21;49400:4;49384:11;:9;:11::i;:38::-;49358:64;;;49377:4;49358:64;49351:71;;49276:154;:::o;48082:100::-;32933:5;;-1:-1:-1;;;;;32933:5:0;32919:10;:19;32911:43;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;;;;27178:8:::1;:6;:8::i;:::-;27177:9;27169:38;;;::::0;;-1:-1:-1;;;27169:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27169:38:0;;;;;;;;;;;;;::::1;;48143:8:::2;:6;:8::i;:::-;48167:7;::::0;::::2;::::0;;;::::2;48082:100::o:0;38912:::-;33109:23;33121:10;33109:11;:23::i;:::-;33108:24;33100:57;;;;;-1:-1:-1;;;33100:57:0;;;;;;;;;;;;-1:-1:-1;;;33100:57:0;;;;;;;;;;;;;;;33176:10;33190:9;33176:23;33168:62;;;;;-1:-1:-1;;;33168:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;33168:62:0;;;;;;;;;;;;;;;38985:10:::1;38976:20;::::0;;;:8:::1;:20;::::0;;;;:27;38967:37:::1;::::0;:8:::1;:37::i;:::-;38912:100::o:0;30780:35::-;;;;:::o;2216:87::-;2262:7;2289:6;-1:-1:-1;;;;;2289:6:0;2216:87;:::o;30828:27::-;;;;:::o;46222:428::-;32933:5;;-1:-1:-1;;;;;32933:5:0;32919:10;:19;32911:43;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;;;;46348:11:::1;46333:12;:26;46325:91;;;;-1:-1:-1::0;;;46325:91:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46449:9;46435:11;:23;46427:82;;;;-1:-1:-1::0;;;46427:82:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46522:10;:24:::0;;;46557:8:::1;:20:::0;;;46595:47:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;46222:428:::0;;:::o;30428:32::-;;;;:::o;45351:214::-;32933:5;;-1:-1:-1;;;;;32933:5:0;32919:10;:19;32911:43;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;;;;30686:3:::1;45435:12;:32;;45427:93;;;;-1:-1:-1::0;;;45427:93:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45531:11;:26:::0;45351:214::o;33444:1064::-;27178:8;:6;:8::i;:::-;27177:9;27169:38;;;;;-1:-1:-1;;;27169:38:0;;;;;;;;;;;;-1:-1:-1;;;27169:38:0;;;;;;;;;;;;;;;33109:23:::1;33121:10;33109:11;:23::i;:::-;33108:24;33100:57;;;::::0;;-1:-1:-1;;;33100:57:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;33100:57:0;;;;;;;;;;;;;::::1;;33176:10;33190:9;33176:23;33168:62;;;::::0;;-1:-1:-1;;;33168:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;;;;;33168:62:0;;;;;;;;;;;;;::::1;;33542:1:::2;33532:7;:11;33524:42;;;::::0;;-1:-1:-1;;;33524:42:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;33524:42:0;;;;;;;;;;;;;::::2;;33579:12;33594:11;:9;:11::i;:::-;33579:26:::0;-1:-1:-1;33616:58:0::2;-1:-1:-1::0;;;;;33616:5:0::2;:22;33639:10;33659:4;33666:7:::0;33616:22:::2;:58::i;:::-;33685:21;33725:11;;33740:1;33725:16;33721:157;;33774:36;33805:4;33775:24;33787:11;;33775:7;:11;;:24;;;;:::i;33774:36::-;33758:52;;33721:157;;;-1:-1:-1::0;33859:7:0;33721:157:::2;33912:1;33896:13;:17;33888:76;;;;-1:-1:-1::0;;;33888:76:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34010:10;33977:21;34001:20:::0;;;:8:::2;:20;::::0;;;;34056:11;;:30:::2;::::0;34072:13;34056:15:::2;:30::i;:::-;34042:44:::0;;34122:15:::2;34097:22;::::0;::::2;:40:::0;34164:11:::2;::::0;:30:::2;::::0;34180:13;34164:15:::2;:30::i;:::-;34150:11;:44:::0;;;34236:45:::2;::::0;:28:::2;34252:11;:9;:11::i;:::-;34236::::0;;;:15:::2;:28::i;:45::-;34207:26;::::0;::::2;:74:::0;34318:15:::2;34292:23;::::0;::::2;:41:::0;34359:43:::2;34374:7:::0;-1:-1:-1;34359:14:0::2;:43::i;:::-;34415:7;:5;:7::i;:::-;34440:60;::::0;;;;;::::2;::::0;::::2;::::0;;;34484:15:::2;34440:60:::0;;;;;;34448:10:::2;::::0;34440:60:::2;::::0;;;;;;;;::::2;33241:1;;;33444:1064:::0;:::o;30526:49::-;30572:3;30526:49;:::o;30643:46::-;30686:3;30643:46;:::o;38403:436::-;-1:-1:-1;;;;;38524:18:0;;38463;38524;;;:11;:18;;;;;38567:17;:15;:17::i;:::-;38563:269;;;38613:158;38634:7;:23;;;38659:7;:28;;;38689:7;:25;;;38716:7;:30;;;38748:7;:22;;;38613:20;:158::i;:::-;38600:171;;38563:269;;;38816:1;38803:14;;38563:269;38403:436;;;;:::o;47325:169::-;32933:5;;-1:-1:-1;;;;;32933:5:0;32919:10;:19;32911:43;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;;;;47396:10:::1;-1:-1:-1::0;;;;;47384:41:0::1;;47426:1;47384:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;47443:8;:6;:8::i;:::-;47439:48;;47467:8;:6;:8::i;39155:136::-:0;33109:23;33121:10;33109:11;:23::i;:::-;33108:24;33100:57;;;;;-1:-1:-1;;;33100:57:0;;;;;;;;;;;;-1:-1:-1;;;33100:57:0;;;;;;;;;;;;;;;33176:10;33190:9;33176:23;33168:62;;;;;-1:-1:-1;;;33168:62:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;33168:62:0;;;;;;;;;;;;;;;39219:14:::1;:12;:14::i;:::-;39264:10;39255:20;::::0;;;:8:::1;:20;::::0;;;;:27;39244:39:::1;::::0;:10:::1;:39::i;47587:377::-:0;32933:5;;-1:-1:-1;;;;;32933:5:0;32919:10;:19;32911:43;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;-1:-1:-1;;;32911:43:0;;;;;;;;;;;;;;;47689:5:::1;-1:-1:-1::0;;;;;47671:24:0::1;:6;-1:-1:-1::0;;;;;47671:24:0::1;;;47663:74;;;;-1:-1:-1::0;;;47663:74:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47774:12;-1:-1:-1::0;;;;;47756:31:0::1;:6;-1:-1:-1::0;;;;;47756:31:0::1;;;47748:81;;;;-1:-1:-1::0;;;47748:81:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47842:14;47866:6;-1:-1:-1::0;;;;;47859:24:0::1;;47892:4;47859:39;;;;;;;;;;;;;-1:-1:-1::0;;;;;47859:39:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;47859:39:0;;-1:-1:-1;47909:47:0::1;-1:-1:-1::0;;;;;47909:27:0;::::1;47937:10;47859:39:::0;47909:27:::1;:47::i;:::-;32965:1;47587:377:::0;:::o;30917:43::-;;;;:::o;30871:31::-;;;;:::o;30101:36::-;;;:::o;44435:167::-;2447:12;:10;:12::i;:::-;-1:-1:-1;;;;;2436:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2436:23:0;;2428:68;;;;;-1:-1:-1;;;2428:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2428:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44513:23:0;::::1;44505:58;;;::::0;;-1:-1:-1;;;44505:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;44505:58:0;;;;;;;;;;;;;::::1;;44574:8;:20:::0;;-1:-1:-1;;;;;;44574:20:0::1;-1:-1:-1::0;;;;;44574:20:0;;;::::1;::::0;;;::::1;::::0;;44435:167::o;3170:244::-;2447:12;:10;:12::i;:::-;-1:-1:-1;;;;;2436:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2436:23:0;;2428:68;;;;;-1:-1:-1;;;2428:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2428:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3259:22:0;::::1;3251:73;;;;-1:-1:-1::0;;;3251:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3361:6;::::0;;3340:38:::1;::::0;-1:-1:-1;;;;;3340:38:0;;::::1;::::0;3361:6;::::1;::::0;3340:38:::1;::::0;::::1;3389:6;:17:::0;;-1:-1:-1;;;;;;3389:17:0::1;-1:-1:-1::0;;;;;3389:17:0;;;::::1;::::0;;;::::1;::::0;;3170:244::o;30467:20::-;;;-1:-1:-1;;;;;30467:20:0;;:::o;30161:39::-;;;:::o;30050:29::-;;;:::o;23279:622::-;23649:10;;;23648:62;;-1:-1:-1;23665:39:0;;;-1:-1:-1;;;23665:39:0;;23689:4;23665:39;;;;-1:-1:-1;;;;;23665:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23665:39:0;:44;23648:62;23640:152;;;;-1:-1:-1;;;23640:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23830:62;;;-1:-1:-1;;;;;23830:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23830:62:0;-1:-1:-1;;;23830:62:0;;;23803:90;;23823:5;;23803:19;:90::i;:::-;23279:622;;;:::o;17430:195::-;17533:12;17565:52;17587:6;17595:4;17601:1;17604:12;17565:21;:52::i;:::-;17558:59;;17430:195;;;;;;:::o;50442:191::-;50572:17;50617:8;;;50442:191::o;7111:220::-;7169:7;7193:6;7189:20;;-1:-1:-1;7208:1:0;7201:8;;7189:20;7232:5;;;7236:1;7232;:5;:1;7256:5;;;;;:10;7248:56;;;;-1:-1:-1;;;7248:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7322:1;-1:-1:-1;7111:220:0;;;;;:::o;7809:153::-;7867:7;7899:1;7895;:5;7887:44;;;;;-1:-1:-1;;;7887:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7953:1;7949;:5;;;;;;;7809:153;-1:-1:-1;;;7809:153:0:o;6694:158::-;6752:7;6785:1;6780;:6;;6772:49;;;;;-1:-1:-1;;;6772:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6839:5:0;;;6694:158::o;6232:179::-;6290:7;6322:5;;;6346:6;;;;6338:46;;;;;-1:-1:-1;;;6338:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;22620:177;22730:58;;;-1:-1:-1;;;;;22730:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22730:58:0;-1:-1:-1;;;22730:58:0;;;22703:86;;22723:5;;22703:19;:86::i;37148:1123::-;37271:10;37229:27;37259:23;;;:11;:23;;;;;;37325:17;:15;:17::i;:::-;37324:18;:183;;37349:158;37370:7;:23;;;37395:7;:28;;;37425:7;:25;;;37452:7;:30;;;37484:7;:22;;;37349:20;:158::i;:::-;37324:183;;;37345:1;37324:183;37303:204;-1:-1:-1;37543:19:0;37532:7;:30;;;;;;;;;37528:267;;;37616:25;;37606:35;;:80;;37648:25;;:38;;37678:7;37648:29;:38::i;:::-;37606:80;;;37644:1;37606:80;37578:108;;37528:267;;;37745:25;;:38;;37775:7;37745:29;:38::i;:::-;37717:66;;37528:267;37811:21;:19;:21::i;:::-;37807:173;;;37883:25;;37850:30;;;:58;37956:12;37924:28;;;:44;37807:173;38000:22;;;:35;;;38072:12;38046:23;;;:38;;;38150:25;;38177:30;;;;38234:28;;;;38100:163;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38114:10;;38100:163;;;;;;;;;;37148:1123;;;;:::o;27911:120::-;27455:8;:6;:8::i;:::-;27447:41;;;;;-1:-1:-1;;;27447:41:0;;;;;;;;;;;;-1:-1:-1;;;27447:41:0;;;;;;;;;;;;;;;27980:5:::1;27970:15:::0;;-1:-1:-1;;;;27970:15:0::1;::::0;;28001:22:::1;28010:12;:10;:12::i;:::-;28001:22;::::0;;-1:-1:-1;;;;;28001:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;27911:120::o:0;50152:161::-;50189:11;50203;:9;:11::i;:::-;50189:25;-1:-1:-1;50229:7:0;;50225:81;;50265:10;-1:-1:-1;;;;;50253:36:0;;50290:3;50253:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50225:81;50152:161;:::o;681:106::-;769:10;681:106;:::o;27652:118::-;27178:8;:6;:8::i;:::-;27177:9;27169:38;;;;;-1:-1:-1;;;27169:38:0;;;;;;;;;;;;-1:-1:-1;;;27169:38:0;;;;;;;;;;;;;;;27712:7:::1;:14:::0;;-1:-1:-1;;;;27712:14:0::1;-1:-1:-1::0;;;27712:14:0::1;::::0;;27742:20:::1;27749:12;:10;:12::i;22805:205::-:0;22933:68;;;-1:-1:-1;;;;;22933:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22933:68:0;-1:-1:-1;;;22933:68:0;;;22906:96;;22926:5;;22906:19;:96::i;:::-;22805:205;;;;:::o;34654:252::-;34888:10;;34873:12;:25;34654:252;:::o;35800:1176::-;36271:8;;35998:18;;36052:12;;36251:28;;36247:82;;36302:15;36295:22;;;;;36247:82;36424:10;;36400:21;:34;36396:193;;;36474:10;;36450:34;;36517:1;36499:19;;36559:18;36533:44;;36396:193;36631:8;;36616:12;:23;:50;;36658:8;;36616:50;;;36643:12;36616:50;36601:65;;36679:22;36705:58;36725:37;36751:10;;36725:21;:25;;:37;;;;:::i;:::-;36705:15;;:19;:58::i;:::-;36679:84;-1:-1:-1;36774:25:0;36803:68;36831:39;:12;36848:21;36831:16;:39::i;:::-;36803:23;;:27;:68::i;:::-;36774:97;;36895:73;36939:28;36956:10;;36939:12;:16;;:28;;;;:::i;:::-;36896:37;:14;36915:17;36896:18;:37::i;36895:73::-;36882:86;;35800:1176;;;;;;;;;;;:::o;39366:373::-;39452:10;39410:27;39440:23;;;:11;:23;;;;;;;;39476:29;;;39516:30;;;:34;;;39561:23;;;:27;;;39599:28;;;:32;;;39642:22;;;:26;;;;39694:37;;39718:12;39694:37;;;;39440:23;;39452:10;39694:37;;;;;;;;;;;39366:373;:::o;41812:1500::-;41902:10;41869:21;41893:20;;;:8;:20;;;;;41932:11;41924:43;;;;;-1:-1:-1;;;41924:43:0;;;;;;;;;;;;-1:-1:-1;;;41924:43:0;;;;;;;;;;;;;;;41997:11;;41986:22;;;41978:66;;;;;-1:-1:-1;;;41978:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42057:21;42081:43;42112:11;;42082:24;42098:7;42082:11;:9;:11::i;42081:43::-;42149:11;;42057:67;;-1:-1:-1;42149:24:0;;42165:7;42149:15;:24::i;:::-;42135:38;;42198:11;;:24;;42214:7;42198:15;:24::i;:::-;42184:11;:38;42235:11;42249;:9;:11::i;:::-;42235:25;;42281:13;42275:3;:19;42271:354;;;42311:19;42333:22;:13;42351:3;42333:17;:22::i;:::-;42311:44;;42382:10;-1:-1:-1;;;;;42370:36:0;;42407:11;42370:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42434:16;42453:11;:9;:11::i;:::-;42434:30;-1:-1:-1;42479:12:0;42494:17;42434:30;42507:3;42494:12;:17::i;:::-;42479:32;;42537:11;42530:4;:18;42526:88;;;42585:13;:3;42593:4;42585:7;:13::i;:::-;42569:29;;42526:88;42271:354;;;;42686:17;;42659:22;;;;:45;;:26;:45::i;:::-;42641:15;:63;42637:297;;;42721:26;42750:41;42785:5;42750:30;42768:11;;42750:13;:17;;:30;;;;:::i;:41::-;42825:8;;42721:70;;-1:-1:-1;42806:48:0;;-1:-1:-1;;;;;42806:5:0;:18;;;42825:8;42721:70;42806:18;:48::i;:::-;42885:37;:13;42903:18;42885:17;:37::i;:::-;42869:53;;42637:297;;42950:11;;:15;42946:185;;43011:45;43044:11;;43011:28;43027:11;:9;:11::i;:::-;43011;;;:15;:28::i;:45::-;42982:26;;;:74;42946:185;;;43118:1;43089:26;;;:30;42946:185;43169:15;43143:23;;;:41;43197:45;-1:-1:-1;;;;;43197:5:0;:18;43216:10;43228:13;43197:18;:45::i;:::-;43260:44;;;;;;;;;;;;;;43269:10;;43260:44;;;;;;;;41812:1500;;;;:::o;24925:761::-;25349:23;25375:69;25403:4;25375:69;;;;;;;;;;;;;;;;;25383:5;-1:-1:-1;;;;;25375:27:0;;;:69;;;;;:::i;:::-;25459:17;;25349:95;;-1:-1:-1;25459:21:0;25455:224;;25601:10;25590:30;;;;;;;;;;;;;;;-1:-1:-1;25590:30:0;25582:85;;;;-1:-1:-1;;;25582:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18482:530;18609:12;18667:5;18642:21;:30;;18634:81;;;;-1:-1:-1;;;18634:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18734:18;18745:6;18734:10;:18::i;:::-;18726:60;;;;;-1:-1:-1;;;18726:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18860:12;18874:23;18901:6;-1:-1:-1;;;;;18901:11:0;18921:5;18929:4;18901:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18901:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18859:75;;;;18952:52;18970:7;18979:10;18991:12;18952:17;:52::i;:::-;18945:59;18482:530;-1:-1:-1;;;;;;;18482:530:0:o;35117:139::-;35170:4;35210:10;;35194:12;:26;;:54;;;;-1:-1:-1;;35240:8:0;;35224:12;:24;;;35117:139::o;21022:742::-;21137:12;21166:7;21162:595;;;-1:-1:-1;21197:10:0;21190:17;;21162:595;21311:17;;:21;21307:439;;21574:10;21568:17;21635:15;21622:10;21618:2;21614:19;21607:44;21522:148;21717:12;21710:20;;-1:-1:-1;;;21710:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://d10c0359ba359ea27249e4fa0fc3b44b4cbd07336fd901c13f29990e5ffbedb0
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
CRONOS | 100.00% | $0.000364 | 4,186.2761 | $1.52 |
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.