Polygon Sponsored slots available. Book your slot here!
Contract Overview
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Contract Name:
SageVault
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-10-02 */ // 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; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/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; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/Pausable.sol pragma solidity >=0.6.0 <0.8.0; /** * @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()); } } // 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 pendingSage(uint256 _pid, address _user) external view returns (uint256); function userInfo(uint256 _pid, address _user) external view returns (uint256, uint256); function emergencyWithdraw(uint256 _pid) external; } // File: contracts/SageVault.sol pragma solidity 0.6.12; contract SageVault 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 sageAtLastUserAction; // keeps track of sage deposited at the last user action uint256 lastUserActionTime; // keeps track of the last user action time } IERC20 public immutable token; // Sage token // IERC20 public immutable receiptToken; // Syrup token IMasterChef public immutable masterchef; mapping(address => UserInfo) public userInfo; uint256 public totalShares; uint256 public lastHarvestedTime; address public admin; address public treasury; uint256 public constant MAX_PERFORMANCE_FEE = 500; // 5% uint256 public constant MAX_CALL_FEE = 100; // 1% uint256 public constant MAX_WITHDRAW_FEE = 100; // 1% uint256 public constant MAX_WITHDRAW_FEE_PERIOD = 72 hours; // 3 days uint256 public performanceFee = 400; // 4% uint256 public callFee = 25; // 0.25% uint256 public withdrawFee = 10; // 0.1% uint256 public withdrawFeePeriod = 72 hours; // 3 days 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 Pause(); event Unpause(); /** * @notice Constructor * @param _token: Sage token contract * @param _masterchef: MasterChef contract * @param _admin: address of the admin * @param _treasury: address of the treasury (collects fees) */ constructor( IERC20 _token, // IERC20 _receiptToken, IMasterChef _masterchef, address _admin, address _treasury ) public { token = _token; // receiptToken = _receiptToken; masterchef = _masterchef; admin = _admin; treasury = _treasury; // 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 Sage Vault * @dev Only possible when contract not paused. * @param _amount: number of tokens to deposit (in SAGE) */ 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; } UserInfo storage user = userInfo[msg.sender]; user.shares = user.shares.add(currentShares); user.lastDepositedTime = block.timestamp; totalShares = totalShares.add(currentShares); user.sageAtLastUserAction = user.shares.mul(balanceOf()).div(totalShares); user.lastUserActionTime = block.timestamp; _earn(); emit Deposit(msg.sender, _amount, currentShares, block.timestamp); } /** * @notice Withdraws all funds for a user */ function withdrawAll() external notContract { withdraw(userInfo[msg.sender].shares); } /** * @notice Reinvests SAGE tokens into MasterChef * @dev Only possible when contract not paused. */ function harvest() external notContract whenNotPaused { IMasterChef(masterchef).deposit(0, 0); uint256 bal = available(); 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 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); } /** * @notice Withdraw unexpected tokens sent to the Sage 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 SAGE */ function calculateHarvestSageRewards() external view returns (uint256) { uint256 amount = IMasterChef(masterchef).pendingSage(0, address(this)); amount = amount.add(available()); uint256 currentCallFee = amount.mul(callFee).div(10000); return currentCallFee; } /** * @notice Calculates the total pending rewards that can be restaked * @return Returns total pending sage rewards */ function calculateTotalPendingSageRewards() external view returns (uint256) { uint256 amount = IMasterChef(masterchef).pendingSage(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 Withdraws from funds from the Sage Vault * @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); user.shares = user.shares.sub(_shares); totalShares = totalShares.sub(_shares); uint256 bal = available(); if (bal < currentAmount) { uint256 balWithdraw = currentAmount.sub(bal); IMasterChef(masterchef).withdraw(0,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.sageAtLastUserAction = user.shares.mul(balanceOf()).div(totalShares); } else { user.sageAtLastUserAction = 0; } user.lastUserActionTime = block.timestamp; token.safeTransfer(msg.sender, currentAmount); emit Withdraw(msg.sender, currentAmount, _shares); } /** * @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).deposit(0, 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
[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"contract IMasterChef","name":"_masterchef","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"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":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"},{"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":"calculateHarvestSageRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateTotalPendingSageRewards","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":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","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":"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":"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":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"lastDepositedTime","type":"uint256"},{"internalType":"uint256","name":"sageAtLastUserAction","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
60c06040526101906006556019600755600a6008556203f4806009553480156200002857600080fd5b50604051620044c6380380620044c6833981810160405260808110156200004e57600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919050505060006200008f6200029360201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008060146101000a81548160ff0219169083151502179055508373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508273ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000289837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff166200029b60201b62002e3c179092919060201c565b505050506200082d565b600033905090565b60008114806200036d575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156200032e57600080fd5b505afa15801562000343573d6000803e3d6000fd5b505050506040513d60208110156200035a57600080fd5b8101908080519060200190929190505050145b620003c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180620044906036913960400191505060405180910390fd5b620004698363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506200046e60201b60201c565b505050565b6060620004d7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166200056860201b62003001179092919060201c565b90506000815111156200056357808060200190516020811015620004fa57600080fd5b810190808051906020019092919050505062000562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018062004466602a913960400191505060405180910390fd5b5b505050565b60606200057f84846000856200058860201b60201c565b90509392505050565b606082471015620005e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180620044406026913960400191505060405180910390fd5b620005f6856200074860201b60201c565b62000669576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310620006bb578051825260208201915060208101905060208303925062000696565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146200071f576040519150601f19603f3d011682016040523d82523d6000602084013e62000724565b606091505b50915091506200073c8282866200075b60201b60201c565b92505050949350505050565b600080823b905060008111915050919050565b606083156200076d5782905062000826565b600083511115620007815782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620007ea578082015181840152602081019050620007cd565b50505050905090810190601f168015620008185780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b60805160601c60a05160601c613b9e620008a260003980610a6f5280610e8052806114425280611b91528061267e5280612ce05280612df652806133e9525080610fcd528061108f528061153652806115ae52806116605280611c6c52806123f752806127cf5280612e1a5250613b9e6000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c8063853828b611610130578063db2e21bc116100b8578063f2fde38b1161007c578063f2fde38b146106ec578063f53f6cb514610730578063f851a4401461074e578063fb1db27814610782578063fc0c546a146107b657610232565b8063db2e21bc1461061e578063def68a9c14610628578063df10b4e61461066c578063e941fa781461068a578063f0f44260146106a857610232565b8063b60f0531116100ff578063b60f053114610568578063b6ac642a14610586578063b6b55f25146105b4578063bdca9165146105e2578063d4b0de2f1461060057610232565b8063853828b6146104ee57806387788782146104f85780638da5cb5b1461051657806390321e1a1461054a57610232565b80634641257d116101be57806370897b231161018257806370897b2314610470578063715018a61461049e578063722713f7146104a857806377c7b8fc146104c65780638456cb59146104e457610232565b80634641257d146103b057806348a0d754146103ba5780635c975abb146103d857806361d027b3146103f8578063704b6c021461042c57610232565b80632ad5a53f116102055780632ad5a53f1461031e5780632cfc5f011461033c5780632e1a7d4d1461035a5780633a98ef39146103885780633f4ba83a146103a657610232565b80631959a002146102375780631efac1b8146102a457806326465826146102d2578063276c745514610300575b600080fd5b6102796004803603602081101561024d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107ea565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b6102d0600480360360208110156102ba57600080fd5b810190808035906020019092919050505061081a565b005b6102fe600480360360208110156102e857600080fd5b8101908080359060200190929190505050610943565b005b610308610a6a565b6040518082815260200191505060405180910390f35b610326610b8b565b6040518082815260200191505060405180910390f35b610344610b90565b6040518082815260200191505060405180910390f35b6103866004803603602081101561037057600080fd5b8101908080359060200190929190505050610b97565b005b61039061112f565b6040518082815260200191505060405180910390f35b6103ae611135565b005b6103b86112a8565b005b6103c261165c565b6040518082815260200191505060405180910390f35b6103e0611725565b60405180821515815260200191505060405180910390f35b61040061173b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61046e6004803603602081101561044257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611761565b005b61049c6004803603602081101561048657600080fd5b81019080803590602001909291905050506118f7565b005b6104a6611a1f565b005b6104b0611b8c565b6040518082815260200191505060405180910390f35b6104ce611d40565b6040518082815260200191505060405180910390f35b6104ec611d95565b005b6104f6611f09565b005b610500612073565b6040518082815260200191505060405180910390f35b61051e612079565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105526120a2565b6040518082815260200191505060405180910390f35b6105706120a8565b6040518082815260200191505060405180910390f35b6105b26004803603602081101561059c57600080fd5b81019080803590602001909291905050506120ae565b005b6105e0600480360360208110156105ca57600080fd5b81019080803590602001909291905050506121d5565b005b6105ea6125ae565b6040518082815260200191505060405180910390f35b6106086125b4565b6040518082815260200191505060405180910390f35b6106266125b9565b005b61066a6004803603602081101561063e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061270a565b005b610674612947565b6040518082815260200191505060405180910390f35b61069261294d565b6040518082815260200191505060405180910390f35b6106ea600480360360208110156106be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612953565b005b61072e6004803603602081101561070257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612ae9565b005b610738612cdb565b6040518082815260200191505060405180910390f35b610756612dce565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61078a612df4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107be612e18565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60016020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b6203f480811115610939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180613a9c603d913960400191505060405180910390fd5b8060098190555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b6064811115610a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180613a1d6028913960400191505060405180910390fd5b8060078190555050565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c8a8642d6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015610afd57600080fd5b505afa158015610b11573d6000803e3d6000fd5b505050506040513d6020811015610b2757600080fd5b81019080805190602001909291905050509050610b54610b4561165c565b8261301990919063ffffffff16565b90506000610b81612710610b73600754856130a190919063ffffffff16565b61312790919063ffffffff16565b9050809250505090565b606481565b6203f48081565b610ba0336131b0565b15610c13576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f636f6e7472616374206e6f7420616c6c6f77656400000000000000000000000081525060200191505060405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cb4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f70726f787920636f6e7472616374206e6f7420616c6c6f77656400000000000081525060200191505060405180910390fd5b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008211610d6d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f7468696e6720746f2077697468647261770000000000000000000000000081525060200191505060405180910390fd5b8060000154821115610de7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f576974686472617720616d6f756e7420657863656564732062616c616e63650081525060200191505060405180910390fd5b6000610e17600254610e0985610dfb611b8c565b6130a190919063ffffffff16565b61312790919063ffffffff16565b9050610e308383600001546131c390919063ffffffff16565b8260000181905550610e4d836002546131c390919063ffffffff16565b6002819055506000610e5d61165c565b905081811015610f57576000610e7c82846131c390919063ffffffff16565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663441a3e706000836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b158015610efa57600080fd5b505af1158015610f0e573d6000803e3d6000fd5b505050506000610f1c61165c565b90506000610f3384836131c390919063ffffffff16565b905082811015610f5357610f50818561301990919063ffffffff16565b94505b5050505b610f70600954846001015461301990919063ffffffff16565b421015611028576000610fa2612710610f94600854866130a190919063ffffffff16565b61312790919063ffffffff16565b9050611011600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166132469092919063ffffffff16565b61102481846131c390919063ffffffff16565b9250505b60008360000154111561107457611067600254611059611046611b8c565b86600001546130a190919063ffffffff16565b61312790919063ffffffff16565b836002018190555061107f565b600083600201819055505b4283600301819055506110d333837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166132469092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688386604051808381526020018281526020019250505060405180910390a250505050565b60025481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b611200611725565b611272576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b61127a6132e8565b7f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b6112b1336131b0565b15611324576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f636f6e7472616374206e6f7420616c6c6f77656400000000000000000000000081525060200191505060405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146113c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f70726f787920636f6e7472616374206e6f7420616c6c6f77656400000000000081525060200191505060405180910390fd5b6113cd611725565b15611440576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e2bbb1586000806040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b1580156114bc57600080fd5b505af11580156114d0573d6000803e3d6000fd5b5050505060006114de61165c565b9050600061150b6127106114fd600654856130a190919063ffffffff16565b61312790919063ffffffff16565b905061157a600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166132469092919063ffffffff16565b60006115a5612710611597600754866130a190919063ffffffff16565b61312790919063ffffffff16565b90506115f233827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166132469092919063ffffffff16565b6115fa6133d2565b426003819055503373ffffffffffffffffffffffffffffffffffffffff167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249548383604051808381526020018281526020019250505060405180910390a2505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156116e557600080fd5b505afa1580156116f9573d6000803e3d6000fd5b505050506040513d602081101561170f57600080fd5b8101908080519060200190929190505050905090565b60008060149054906101000a900460ff16905090565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61176961347f565b73ffffffffffffffffffffffffffffffffffffffff16611787612079565b73ffffffffffffffffffffffffffffffffffffffff1614611810576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616e6e6f74206265207a65726f20616464726573730000000000000000000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b6101f4811115611a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180613a456036913960400191505060405180910390fd5b8060068190555050565b611a2761347f565b73ffffffffffffffffffffffffffffffffffffffff16611a45612079565b73ffffffffffffffffffffffffffffffffffffffff1614611ace576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166393f1a40b6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604080518083038186803b158015611c1e57600080fd5b505afa158015611c32573d6000803e3d6000fd5b505050506040513d6040811015611c4857600080fd5b810190808051906020019092919080519060200190929190505050509050611d3a817f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611cf157600080fd5b505afa158015611d05573d6000803e3d6000fd5b505050506040513d6020811015611d1b57600080fd5b810190808051906020019092919050505061301990919063ffffffff16565b91505090565b60008060025414611d8657611d81600254611d73670de0b6b3a7640000611d65611b8c565b6130a190919063ffffffff16565b61312790919063ffffffff16565b611d90565b670de0b6b3a76400005b905090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b611e60611725565b15611ed3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b611edb613487565b7f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b611f12336131b0565b15611f85576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f636f6e7472616374206e6f7420616c6c6f77656400000000000000000000000081525060200191505060405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f70726f787920636f6e7472616374206e6f7420616c6c6f77656400000000000081525060200191505060405180910390fd5b612071600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154610b97565b565b60065481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075481565b60035481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b60648111156121cb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180613b036030913960400191505060405180910390fd5b8060088190555050565b6121dd611725565b15612250576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b612259336131b0565b156122cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f636f6e7472616374206e6f7420616c6c6f77656400000000000000000000000081525060200191505060405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461236d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f70726f787920636f6e7472616374206e6f7420616c6c6f77656400000000000081525060200191505060405180910390fd5b600081116123e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f4e6f7468696e6720746f206465706f736974000000000000000000000000000081525060200191505060405180910390fd5b60006123ed611b8c565b905061243c3330847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16613573909392919063ffffffff16565b600080600254146124755761246e82612460600254866130a190919063ffffffff16565b61312790919063ffffffff16565b9050612479565b8290505b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506124d382826000015461301990919063ffffffff16565b81600001819055504281600101819055506124f98260025461301990919063ffffffff16565b600281905550612531600254612523612510611b8c565b84600001546130a190919063ffffffff16565b61312790919063ffffffff16565b816002018190555042816003018190555061254a6133d2565b3373ffffffffffffffffffffffffffffffffffffffff167f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e85844260405180848152602001838152602001828152602001935050505060405180910390a250505050565b6101f481565b606481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461267c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635312ea8e60006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156126f057600080fd5b505af1158015612704573d6000803e3d6000fd5b50505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146127cd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f61646d696e3a207775743f00000000000000000000000000000000000000000081525060200191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612872576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806139d26025913960400191505060405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156128db57600080fd5b505afa1580156128ef573d6000803e3d6000fd5b505050506040513d602081101561290557600080fd5b8101908080519060200190929190505050905061294333828473ffffffffffffffffffffffffffffffffffffffff166132469092919063ffffffff16565b5050565b60095481565b60085481565b61295b61347f565b73ffffffffffffffffffffffffffffffffffffffff16612979612079565b73ffffffffffffffffffffffffffffffffffffffff1614612a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612aa5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616e6e6f74206265207a65726f20616464726573730000000000000000000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612af161347f565b73ffffffffffffffffffffffffffffffffffffffff16612b0f612079565b73ffffffffffffffffffffffffffffffffffffffff1614612b98576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c1e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806139ac6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c8a8642d6000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015612d6e57600080fd5b505afa158015612d82573d6000803e3d6000fd5b505050506040513d6020811015612d9857600080fd5b81019080805190602001909291905050509050612dc5612db661165c565b8261301990919063ffffffff16565b90508091505090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000811480612f0a575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015612ecd57600080fd5b505afa158015612ee1573d6000803e3d6000fd5b505050506040513d6020811015612ef757600080fd5b8101908080519060200190929190505050145b612f5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180613b336036913960400191505060405180910390fd5b612ffc8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613634565b505050565b60606130108484600085613723565b90509392505050565b600080828401905083811015613097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000808314156130b45760009050613121565b60008284029050828482816130c557fe5b041461311c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613a7b6021913960400191505060405180910390fd5b809150505b92915050565b600080821161319e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816131a757fe5b04905092915050565b600080823b905060008111915050919050565b60008282111561323b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6132e38363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613634565b505050565b6132f0611725565b613362576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6133a561347f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b60006133dc61165c565b9050600081111561347c577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e2bbb1586000836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561346357600080fd5b505af1158015613477573d6000803e3d6000fd5b505050505b50565b600033905090565b61348f611725565b15613502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861354661347f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b61362e846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613634565b50505050565b6060613696826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166130019092919063ffffffff16565b905060008151111561371e578080602001905160208110156136b757600080fd5b810190808051906020019092919050505061371d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613ad9602a913960400191505060405180910390fd5b5b505050565b60608247101561377e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806139f76026913960400191505060405180910390fd5b613787856138cc565b6137f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106138495780518252602082019150602081019050602083039250613826565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146138ab576040519150601f19603f3d011682016040523d82523d6000602084013e6138b0565b606091505b50915091506138c08282866138df565b92505050949350505050565b600080823b905060008111915050919050565b606083156138ef578290506139a4565b6000835111156139025782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561396957808201518184015260208101905061394e565b50505050905090810190601f1680156139965780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e2063616e6e6f742062652073616d65206173206465706f73697420746f6b656e416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c63616c6c4665652063616e6e6f74206265206d6f7265207468616e204d41585f43414c4c5f464545706572666f726d616e63654665652063616e6e6f74206265206d6f7265207468616e204d41585f504552464f524d414e43455f464545536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777769746864726177466565506572696f642063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455f504552494f445361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656477697468647261774665652063616e6e6f74206265206d6f7265207468616e204d41585f57495448445241575f4645455361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200a23730c63f4b5764cc31cfccc8f6e04780980e7b0588972f84de3f0ad68cb8c64736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000000002ed945dc703d85c80225d95abde41cdee14e19920000000000000000000000000451b4893e4a77e7eec3b25e816ed7ffea1eba680000000000000000000000007830f9b7d63db3a9b37a83bfa35e87e2575ed0e3000000000000000000000000deb837ca95c4edfae016a2e93d136c459a8ee993
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002ed945dc703d85c80225d95abde41cdee14e19920000000000000000000000000451b4893e4a77e7eec3b25e816ed7ffea1eba680000000000000000000000007830f9b7d63db3a9b37a83bfa35e87e2575ed0e3000000000000000000000000deb837ca95c4edfae016a2e93d136c459a8ee993
-----Decoded View---------------
Arg [0] : _token (address): 0x2ed945dc703d85c80225d95abde41cdee14e1992
Arg [1] : _masterchef (address): 0x0451b4893e4a77e7eec3b25e816ed7ffea1eba68
Arg [2] : _admin (address): 0x7830f9b7d63db3a9b37a83bfa35e87e2575ed0e3
Arg [3] : _treasury (address): 0xdeb837ca95c4edfae016a2e93d136c459a8ee993
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000002ed945dc703d85c80225d95abde41cdee14e1992
Arg [1] : 0000000000000000000000000451b4893e4a77e7eec3b25e816ed7ffea1eba68
Arg [2] : 0000000000000000000000007830f9b7d63db3a9b37a83bfa35e87e2575ed0e3
Arg [3] : 000000000000000000000000deb837ca95c4edfae016a2e93d136c459a8ee993
Deployed ByteCode Sourcemap
28868:11699:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29500:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35163:301;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34540:182;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36808:303;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29746:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29860:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37859:1504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29553:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36556:103;;;:::i;:::-;;32986:553;;;:::i;:::-;;39522:107;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27028:86;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29652:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33650:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34196:238;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2778:148;;;:::i;:::-;;39786:201;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37569:154;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36338:100;;;:::i;:::-;;32753;;;:::i;:::-;;29937:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2127:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29985:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29586:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34832:214;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31783:897;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29684:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29801:46;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35637:111;;;:::i;:::-;;35840:380;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30074:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30028:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33916:167;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3081:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37262:234;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29625:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29452:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29339:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;29500:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;35163:301::-;31274:5;;;;;;;;;;;31260:19;;:10;:19;;;31252:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29910:8:::1;35273:18;:45;;35251:156;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35438:18;35418:17;:38;;;;35163:301:::0;:::o;34540:182::-;31274:5;;;;;;;;;;;31260:19;;:10;:19;;;31252:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29785:3:::1;34616:8;:24;;34608:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34706:8;34696:7;:18;;;;34540:182:::0;:::o;36808:303::-;36870:7;36890:14;36919:10;36907:35;;;36943:1;36954:4;36907:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36890:70;;36980:23;36991:11;:9;:11::i;:::-;36980:6;:10;;:23;;;;:::i;:::-;36971:32;;37014:22;37039:30;37063:5;37039:19;37050:7;;37039:6;:10;;:19;;;;:::i;:::-;:23;;:30;;;;:::i;:::-;37014:55;;37089:14;37082:21;;;;36808:303;:::o;29746:42::-;29785:3;29746:42;:::o;29860:58::-;29910:8;29860:58;:::o;37859:1504::-;31450:23;31462:10;31450:11;:23::i;:::-;31449:24;31441:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31531:9;31517:23;;:10;:23;;;31509:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37924:21:::1;37948:8;:20;37957:10;37948:20;;;;;;;;;;;;;;;37924:44;;37997:1;37987:7;:11;37979:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;38052:4;:11;;;38041:7;:22;;38033:66;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;38112:21;38136:43;38167:11;;38137:24;38153:7;38137:11;:9;:11::i;:::-;:15;;:24;;;;:::i;:::-;38136:30;;:43;;;;:::i;:::-;38112:67;;38204:24;38220:7;38204:4;:11;;;:15;;:24;;;;:::i;:::-;38190:4;:11;;:38;;;;38253:24;38269:7;38253:11;;:15;;:24;;;;:::i;:::-;38239:11;:38;;;;38290:11;38304;:9;:11::i;:::-;38290:25;;38336:13;38330:3;:19;38326:352;;;38366:19;38388:22;38406:3;38388:13;:17;;:22;;;;:::i;:::-;38366:44;;38437:10;38425:32;;;38458:1;38460:11;38425:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;38487:16;38506:11;:9;:11::i;:::-;38487:30;;38532:12;38547:17;38560:3;38547:8;:12;;:17;;;;:::i;:::-;38532:32;;38590:11;38583:4;:18;38579:88;;;38638:13;38646:4;38638:3;:7;;:13;;;;:::i;:::-;38622:29;;38579:88;38326:352;;;;38712:45;38739:17;;38712:4;:22;;;:26;;:45;;;;:::i;:::-;38694:15;:63;38690:297;;;38774:26;38803:41;38838:5;38803:30;38821:11;;38803:13;:17;;:30;;;;:::i;:::-;:34;;:41;;;;:::i;:::-;38774:70;;38859:48;38878:8;;;;;;;;;;;38888:18;38859:5;:18;;;;:48;;;;;:::i;:::-;38938:37;38956:18;38938:13;:17;;:37;;;;:::i;:::-;38922:53;;38690:297;;39017:1;39003:4;:11;;;:15;38999:183;;;39063:45;39096:11;;39063:28;39079:11;:9;:11::i;:::-;39063:4;:11;;;:15;;:28;;;;:::i;:::-;:32;;:45;;;;:::i;:::-;39035:4;:25;;:73;;;;38999:183;;;39169:1;39141:4;:25;;:29;;;;38999:183;39220:15;39194:4;:23;;:41;;;;39248:45;39267:10;39279:13;39248:5;:18;;;;:45;;;;;:::i;:::-;39320:10;39311:44;;;39332:13;39347:7;39311:44;;;;;;;;;;;;;;;;;;;;;;;;31582:1;;;37859:1504:::0;:::o;29553:26::-;;;;:::o;36556:103::-;31274:5;;;;;;;;;;;31260:19;;:10;:19;;;31252:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27631:8:::1;:6;:8::i;:::-;27623:41;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;36616:10:::2;:8;:10::i;:::-;36642:9;;;;;;;;;;36556:103::o:0;32986:553::-;31450:23;31462:10;31450:11;:23::i;:::-;31449:24;31441:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31531:9;31517:23;;:10;:23;;;31509:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27354:8:::1;:6;:8::i;:::-;27353:9;27345:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;33063:10:::2;33051:31;;;33083:1;33086::::0;33051:37:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;33101:11;33115;:9;:11::i;:::-;33101:25;;33137:29;33169:34;33197:5;33169:23;33177:14;;33169:3;:7;;:23;;;;:::i;:::-;:27;;:34;;;;:::i;:::-;33137:66;;33214:51;33233:8;;;;;;;;;;;33243:21;33214:5;:18;;;;:51;;;;;:::i;:::-;33278:22;33303:27;33324:5;33303:16;33311:7;;33303:3;:7;;:16;;;;:::i;:::-;:20;;:27;;;;:::i;:::-;33278:52;;33341:46;33360:10;33372:14;33341:5;:18;;;;:46;;;;;:::i;:::-;33400:7;:5;:7::i;:::-;33440:15;33420:17;:35;;;;33481:10;33473:58;;;33493:21;33516:14;33473:58;;;;;;;;;;;;;;;;;;;;;;;;27394:1;;;32986:553::o:0;39522:107::-;39564:7;39591:5;:15;;;39615:4;39591:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39584:37;;39522:107;:::o;27028:86::-;27075:4;27099:7;;;;;;;;;;;27092:14;;27028:86;:::o;29652:23::-;;;;;;;;;;;;;:::o;33650:152::-;2358:12;:10;:12::i;:::-;2347:23;;:7;:5;:7::i;:::-;:23;;;2339:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33740:1:::1;33722:20;;:6;:20;;;;33714:55;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;33788:6;33780:5;;:14;;;;;;;;;;;;;;;;;;33650:152:::0;:::o;34196:238::-;31274:5;;;;;;;;;;;31260:19;;:10;:19;;;31252:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29730:3:::1;34286:15;:38;;34278:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34411:15;34394:14;:32;;;;34196:238:::0;:::o;2778:148::-;2358:12;:10;:12::i;:::-;2347:23;;:7;:5;:7::i;:::-;:23;;;2339:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2885:1:::1;2848:40;;2869:6;::::0;::::1;;;;;;;;2848:40;;;;;;;;;;;;2916:1;2899:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2778:148::o:0;39786:201::-;39828:7;39849:14;39881:10;39869:32;;;39902:1;39913:4;39869:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39848:71;;;39937:42;39972:6;39937:5;:15;;;39961:4;39937:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:34;;:42;;;;:::i;:::-;39930:49;;;39786:201;:::o;37569:154::-;37624:7;37666:1;37651:11;;:16;:64;;37677:38;37703:11;;37677:21;37693:4;37677:11;:9;:11::i;:::-;:15;;:21;;;;:::i;:::-;:25;;:38;;;;:::i;:::-;37651:64;;;37670:4;37651:64;37644:71;;37569:154;:::o;36338:100::-;31274:5;;;;;;;;;;;31260:19;;:10;:19;;;31252:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27354:8:::1;:6;:8::i;:::-;27353:9;27345:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;36399:8:::2;:6;:8::i;:::-;36423:7;;;;;;;;;;36338:100::o:0;32753:::-;31450:23;31462:10;31450:11;:23::i;:::-;31449:24;31441:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31531:9;31517:23;;:10;:23;;;31509:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32808:37:::1;32817:8;:20;32826:10;32817:20;;;;;;;;;;;;;;;:27;;;32808:8;:37::i;:::-;32753:100::o:0;29937:35::-;;;;:::o;2127:87::-;2173:7;2200:6;;;;;;;;;;;2193:13;;2127:87;:::o;29985:27::-;;;;:::o;29586:32::-;;;;:::o;34832:214::-;31274:5;;;;;;;;;;;31260:19;;:10;:19;;;31252:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29844:3:::1;34916:12;:32;;34908:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35026:12;35012:11;:26;;;;34832:214:::0;:::o;31783:897::-;27354:8;:6;:8::i;:::-;27353:9;27345:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31450:23:::1;31462:10;31450:11;:23::i;:::-;31449:24;31441:57;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;31531:9;31517:23;;:10;:23;;;31509:62;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;31881:1:::2;31871:7;:11;31863:42;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;31918:12;31933:11;:9;:11::i;:::-;31918:26;;31955:58;31978:10;31998:4;32005:7;31955:5;:22;;;;:58;;;;;;:::i;:::-;32024:21;32079:1:::0;32064:11:::2;;:16;32060:157;;32113:36;32144:4;32114:24;32126:11;;32114:7;:11;;:24;;;;:::i;:::-;32113:30;;:36;;;;:::i;:::-;32097:52;;32060:157;;;32198:7;32182:23;;32060:157;32227:21;32251:8;:20;32260:10;32251:20;;;;;;;;;;;;;;;32227:44;;32298:30;32314:13;32298:4;:11;;;:15;;:30;;;;:::i;:::-;32284:4;:11;;:44;;;;32364:15;32339:4;:22;;:40;;;;32406:30;32422:13;32406:11;;:15;;:30;;;;:::i;:::-;32392:11;:44;;;;32477:45;32510:11;;32477:28;32493:11;:9;:11::i;:::-;32477:4;:11;;;:15;;:28;;;;:::i;:::-;:32;;:45;;;;:::i;:::-;32449:4;:25;;:73;;;;32559:15;32533:4;:23;;:41;;;;32587:7;:5;:7::i;:::-;32620:10;32612:60;;;32632:7;32641:13;32656:15;32612:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31582:1;;;31783:897:::0;:::o;29684:49::-;29730:3;29684:49;:::o;29801:46::-;29844:3;29801:46;:::o;35637:111::-;31274:5;;;;;;;;;;;31260:19;;:10;:19;;;31252:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35708:10:::1;35696:41;;;35738:1;35696:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;35637:111::o:0;35840:380::-;31274:5;;;;;;;;;;;31260:19;;:10;:19;;;31252:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35942:5:::1;35924:24;;:6;:24;;;;35916:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36098:14;36122:6;36115:24;;;36148:4;36115:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;36098:56;;36165:47;36193:10;36205:6;36172;36165:27;;;;:47;;;;;:::i;:::-;31306:1;35840:380:::0;:::o;30074:43::-;;;;:::o;30028:31::-;;;;:::o;33916:167::-;2358:12;:10;:12::i;:::-;2347:23;;:7;:5;:7::i;:::-;:23;;;2339:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34015:1:::1;33994:23;;:9;:23;;;;33986:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;34066:9;34055:8;;:20;;;;;;;;;;;;;;;;;;33916:167:::0;:::o;3081:244::-;2358:12;:10;:12::i;:::-;2347:23;;:7;:5;:7::i;:::-;:23;;;2339:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3190:1:::1;3170:22;;:8;:22;;;;3162:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3280:8;3251:38;;3272:6;::::0;::::1;;;;;;;;3251:38;;;;;;;;;;;;3309:8;3300:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;3081:244:::0;:::o;37262:234::-;37329:7;37349:14;37378:10;37366:35;;;37402:1;37413:4;37366:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37349:70;;37439:23;37450:11;:9;:11::i;:::-;37439:6;:10;;:23;;;;:::i;:::-;37430:32;;37482:6;37475:13;;;37262:234;:::o;29625:20::-;;;;;;;;;;;;;:::o;29452:39::-;;;:::o;29339:29::-;;;:::o;23390:670::-;23817:1;23808:5;:10;23807:62;;;;23867:1;23824:5;:15;;;23848:4;23855:7;23824:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;23807:62;23785:166;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23962:90;23982:5;24012:22;;;24036:7;24045:5;23989:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23962:19;:90::i;:::-;23390:670;;;:::o;17445:229::-;17582:12;17614:52;17636:6;17644:4;17650:1;17653:12;17614:21;:52::i;:::-;17607:59;;17445:229;;;;;:::o;6125:179::-;6183:7;6203:9;6219:1;6215;:5;6203:17;;6244:1;6239;:6;;6231:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6295:1;6288:8;;;6125:179;;;;:::o;7004:220::-;7062:7;7091:1;7086;:6;7082:20;;;7101:1;7094:8;;;;7082:20;7113:9;7129:1;7125;:5;7113:17;;7158:1;7153;7149;:5;;;;;;:10;7141:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7215:1;7208:8;;;7004:220;;;;;:::o;7702:153::-;7760:7;7792:1;7788;:5;7780:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7846:1;7842;:5;;;;;;7835:12;;7702:153;;;;:::o;40373:191::-;40431:4;40448:12;40515:4;40503:17;40495:25;;40555:1;40548:4;:8;40541:15;;;40373:191;;;:::o;6587:158::-;6645:7;6678:1;6673;:6;;6665:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6736:1;6732;:5;6725:12;;6587:158;;;;:::o;22654:211::-;22771:86;22791:5;22821:23;;;22846:2;22850:5;22798:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22771:19;:86::i;:::-;22654:211;;;:::o;28087:120::-;27631:8;:6;:8::i;:::-;27623:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28156:5:::1;28146:7:::0;::::1;:15;;;;;;;;;;;;;;;;;;28177:22;28186:12;:10;:12::i;:::-;28177:22;;;;;;;;;;;;;;;;;;;;28087:120::o:0;40085:159::-;40122:11;40136;:9;:11::i;:::-;40122:25;;40168:1;40162:3;:7;40158:79;;;40198:10;40186:31;;;40218:1;40221:3;40186:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40158:79;40085:159;:::o;667:106::-;720:15;755:10;748:17;;667:106;:::o;27828:118::-;27354:8;:6;:8::i;:::-;27353:9;27345:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27898:4:::1;27888:7;;:14;;;;;;;;;;;;;;;;;;27918:20;27925:12;:10;:12::i;:::-;27918:20;;;;;;;;;;;;;;;;;;;;27828:118::o:0;22873:248::-;23017:96;23037:5;23067:27;;;23096:4;23102:2;23106:5;23044:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23017:19;:96::i;:::-;22873:248;;;;:::o;25165:774::-;25589:23;25615:69;25643:4;25615:69;;;;;;;;;;;;;;;;;25623:5;25615:27;;;;:69;;;;;:::i;:::-;25589:95;;25719:1;25699:10;:17;:21;25695:237;;;25854:10;25843:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25835:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25695:237;25165:774;;;:::o;18565:571::-;18735:12;18793:5;18768:21;:30;;18760:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18860:18;18871:6;18860:10;:18::i;:::-;18852:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18986:12;19000:23;19027:6;:11;;19046:5;19053:4;19027:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18985:73;;;;19076:52;19094:7;19103:10;19115:12;19076:17;:52::i;:::-;19069:59;;;;18565:571;;;;;;:::o;14505:444::-;14565:4;14773:12;14897:7;14885:20;14877:28;;14940:1;14933:4;:8;14926:15;;;14505:444;;;:::o;21214:777::-;21364:12;21393:7;21389:595;;;21424:10;21417:17;;;;21389:595;21558:1;21538:10;:17;:21;21534:439;;;21801:10;21795:17;21862:15;21849:10;21845:2;21841:19;21834:44;21749:148;21944:12;21937:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21214:777;;;;;;:::o
Swarm Source
ipfs://0a23730c63f4b5764cc31cfccc8f6e04780980e7b0588972f84de3f0ad68cb8c
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.