Contract Overview
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Contract Name:
FarmersOnlyMasterChefL2
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at snowtrace.io on 2021-11-19 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; // /** * @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; } } // interface IBEP20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @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); } // /** * @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); } } } } // /** * @title SafeBEP20 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeBEP20 { using SafeMath for uint256; using Address for address; function safeTransfer( IBEP20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IBEP20 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 * {IBEP20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IBEP20 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), "SafeBEP20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IBEP20 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( IBEP20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender).sub( value, "SafeBEP20: 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(IBEP20 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, "SafeBEP20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed"); } } } // /* * @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; } } // /** * @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; } } // /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // /** * @dev Implementation of the {IBEP20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {BEP20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of BEP20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IBEP20-approve}. */ contract BEP20 is Context, IBEP20, Ownable { using SafeMath for uint256; using Address for address; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor(string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the bep token owner. */ function getOwner() external override view returns (address) { return owner(); } /** * @dev Returns the token name. */ function name() public override view returns (string memory) { return _name; } /** * @dev Returns the token decimals. */ function decimals() public override view returns (uint8) { return _decimals; } /** * @dev Returns the token symbol. */ function symbol() public override view returns (string memory) { return _symbol; } /** * @dev See {BEP20-totalSupply}. */ function totalSupply() public override view returns (uint256) { return _totalSupply; } /** * @dev See {BEP20-balanceOf}. */ function balanceOf(address account) public override view returns (uint256) { return _balances[account]; } /** * @dev See {BEP20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {BEP20-allowance}. */ function allowance(address owner, address spender) public override view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {BEP20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {BEP20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {BEP20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "BEP20: transfer amount exceeds allowance") ); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {BEP20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {BEP20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "BEP20: decreased allowance below zero") ); return true; } /** * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing * the total supply. * * Requirements * * - `msg.sender` must be the token owner */ function mint(uint256 amount) public onlyOwner returns (bool) { _mint(_msgSender(), amount); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "BEP20: transfer from the zero address"); require(recipient != address(0), "BEP20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "BEP20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal { require(account != address(0), "BEP20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal { require(account != address(0), "BEP20: burn from the zero address"); _balances[account] = _balances[account].sub(amount, "BEP20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal { require(owner != address(0), "BEP20: approve from the zero address"); require(spender != address(0), "BEP20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve( account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance") ); } } // TomatoCoin with Governance. contract TomatoCoin is BEP20('FarmersOnly\'s Tomato Coin', 'TMT') { /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef). function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); } } // MasterChef is the master of Tomato. He can make Tomato and he is a fair guy. // // Note that it's ownable and the owner wields tremendous power. The ownership // will be transferred to a governance smart contract once TMT is sufficiently // distributed and the community can show to govern itself. // // Have fun reading it. Hopefully it's bug-free. God bless. contract FarmersOnlyMasterChefL2 is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeBEP20 for IBEP20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. uint256 rewardLockedUp; // Reward locked up. uint256 nextHarvestUntil; // When can the user harvest again. // // We do some fancy math here. Basically, any point in time, the amount of TMTs // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accTomatoPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accTomatoPerShare` (and `lastRewardTime`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IBEP20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. TMTs to distribute per second. uint256 lastRewardTime; // Last time TMTs distribution occurs. uint256 accTomatoPerShare; // Accumulated TMTs per share, times 1e18. See below. uint16 depositFeeBP; // Deposit fee in basis points uint256 harvestInterval; // Harvest interval in seconds } // The TMT TOKEN! TomatoCoin public immutable tomato; // Dev address. address public devAddress; // TMT tokens created per second. uint256 public tomatoPerSecond; // Deposit Fee address address public feeAddress; // MAX TOKEN SUPPLY uint256 public constant MAX_SUPPLY = 7777 ether; // MAX POOL FEE uint256 public constant MAX_POOL_FEE = 400; // Max harvest interval: 2 days. uint256 public constant MAXIMUM_HARVEST_INTERVAL = 2 days; // Total locked up rewards uint256 public totalLockedUpRewards; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The timestamp when TMT mining starts. uint256 public startTime; // Maximum tomatoPerSecond uint256 public constant MAX_EMISSION_RATE = 0.007 ether; // Initial tomatoPerSecond uint256 public constant INITIAL_EMISSION_RATE = 0.0035 ether; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); event SetFeeAddress(address indexed user, address indexed newAddress); event SetDevAddress(address indexed user, address indexed newAddress); event UpdateEmissionRate(address indexed user, uint256 indexed tomatoPerSecond); event RewardLockedUp(address indexed user, uint256 indexed pid, uint256 amountLockedUp); event StartTimeChanged(uint256 oldStartTime, uint256 newStartTime); constructor( TomatoCoin _tomato, address _devAddress, address _feeAddress, uint256 _startTime ) public { tomato = _tomato; devAddress = _devAddress; feeAddress = _feeAddress; tomatoPerSecond = INITIAL_EMISSION_RATE; startTime = _startTime; } function poolLength() external view returns (uint256) { return poolInfo.length; } mapping(IBEP20 => bool) public poolExistence; modifier nonDuplicated(IBEP20 _lpToken) { require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated"); _; } function blockTimestamp() external view returns (uint time) { // to assist with countdowns on site time = block.timestamp; } // Add a new lp to the pool. Can only be called by the owner. function addPool(uint256 _allocPoint, IBEP20 _lpToken, uint16 _depositFeeBP, uint256 _harvestInterval, bool _withUpdate) public onlyOwner nonDuplicated(_lpToken) { require(_depositFeeBP <= MAX_POOL_FEE, "add: invalid deposit fee basis points"); require(_harvestInterval <= MAXIMUM_HARVEST_INTERVAL, "add: invalid harvest interval"); _lpToken.balanceOf(address(this)); if (_withUpdate) { massUpdatePools(); } uint256 lastRewardTime = block.timestamp > startTime ? block.timestamp : startTime; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolExistence[_lpToken] = true; poolInfo.push(PoolInfo({ lpToken : _lpToken, allocPoint : _allocPoint, lastRewardTime: lastRewardTime, accTomatoPerShare : 0, depositFeeBP : _depositFeeBP, harvestInterval : _harvestInterval })); } // Update startTime by the owner (added this to ensure that dev can delay startTime due to the congestion network). Only used if required. function setStartTime(uint256 _newStartTime) external onlyOwner { require(startTime > block.timestamp, 'setStartTime: farm already started'); require(_newStartTime > block.timestamp, 'setStartTime: new start time must be future time'); uint256 _previousStartTime = startTime; startTime = _newStartTime; uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; pid++) { PoolInfo storage pool = poolInfo[pid]; pool.lastRewardTime = startTime; } emit StartTimeChanged(_previousStartTime, _newStartTime); } // Update the given pool's TMT allocation point and deposit fee. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, uint256 _harvestInterval, bool _withUpdate) external onlyOwner { require(_depositFeeBP <= MAX_POOL_FEE, "set: invalid deposit fee basis points"); require(_harvestInterval <= MAXIMUM_HARVEST_INTERVAL, "set: invalid harvest interval"); if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; poolInfo[_pid].depositFeeBP = _depositFeeBP; poolInfo[_pid].harvestInterval = _harvestInterval; } // Return reward multiplier over the given _from to _to timestamp. function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) { return _to.sub(_from); } // View function to see pending TMTs on frontend. function pendingTomato(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accTomatoPerShare = pool.accTomatoPerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (block.timestamp > pool.lastRewardTime && lpSupply != 0 && totalAllocPoint > 0) { uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp); uint256 tomatoReward = multiplier.mul(tomatoPerSecond).mul(pool.allocPoint).div(totalAllocPoint); accTomatoPerShare = accTomatoPerShare.add(tomatoReward.mul(1e18).div(lpSupply)); } uint256 pending = user.amount.mul(accTomatoPerShare).div(1e18).sub(user.rewardDebt); return pending.add(user.rewardLockedUp); } // View function to see if user can harvest Tomatos's. function canHarvest(uint256 _pid, address _user) public view returns (bool) { UserInfo storage user = userInfo[_pid][_user]; return block.timestamp >= user.nextHarvestUntil; } // View function to see if user harvest until time. function getHarvestUntil(uint256 _pid, address _user) external view returns (uint256) { UserInfo storage user = userInfo[_pid][_user]; return user.nextHarvestUntil; } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.timestamp <= pool.lastRewardTime) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0 || pool.allocPoint == 0) { pool.lastRewardTime = block.timestamp; return; } uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp); uint256 tomatoReward = multiplier.mul(tomatoPerSecond).mul(pool.allocPoint).div(totalAllocPoint); if (tomato.totalSupply() >= MAX_SUPPLY) { tomatoReward = 0; } else if (tomato.totalSupply().add(tomatoReward.mul(11).div(10)) >= MAX_SUPPLY) { tomatoReward = (MAX_SUPPLY.sub(tomato.totalSupply()).mul(10).div(11)); } if (tomatoReward > 0) { tomato.mint(devAddress, tomatoReward.div(10)); tomato.mint(address(this), tomatoReward); pool.accTomatoPerShare = pool.accTomatoPerShare.add(tomatoReward.mul(1e18).div(lpSupply)); } pool.lastRewardTime = block.timestamp; } // Deposit LP tokens to MasterChef for TMT allocation. function deposit(uint256 _pid, uint256 _amount) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); payOrLockupPendingTomato(_pid); if (_amount > 0) { uint256 _balanceBefore = pool.lpToken.balanceOf(address(this)); pool.lpToken.safeTransferFrom(msg.sender, address(this), _amount); // for token that have transfer tax _amount = pool.lpToken.balanceOf(address(this)).sub(_balanceBefore); if (pool.depositFeeBP > 0) { uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000); pool.lpToken.safeTransfer(feeAddress, depositFee); user.amount = user.amount.add(_amount).sub(depositFee); } else { user.amount = user.amount.add(_amount); } } user.rewardDebt = user.amount.mul(pool.accTomatoPerShare).div(1e18); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _amount) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); payOrLockupPendingTomato(_pid); if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(msg.sender, _amount); } user.rewardDebt = user.amount.mul(pool.accTomatoPerShare).div(1e18); emit Withdraw(msg.sender, _pid, _amount); } function getPoolHarvestInterval(uint256 _pid) internal view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; return block.timestamp.add(pool.harvestInterval); } 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; } // Pay or lockup pending tomato. function payOrLockupPendingTomato(uint256 _pid) internal { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; if (user.nextHarvestUntil == 0) { user.nextHarvestUntil = getPoolHarvestInterval(_pid); } uint256 pending = user.amount.mul(pool.accTomatoPerShare).div(1e18).sub(user.rewardDebt); if (canHarvest(_pid, msg.sender)) { if (pending > 0 || user.rewardLockedUp > 0) { uint256 totalRewards = pending.add(user.rewardLockedUp); uint256 rewardsToLockup = totalRewards.div(2); uint256 rewardsToDistribute = totalRewards.sub(rewardsToLockup); // reset lockup totalLockedUpRewards = totalLockedUpRewards.sub(user.rewardLockedUp).add(rewardsToLockup); user.rewardLockedUp = rewardsToLockup; user.nextHarvestUntil = getPoolHarvestInterval(_pid); // send rewards safeTomatoTransfer(msg.sender, rewardsToDistribute); } } else if (pending > 0) { user.rewardLockedUp = user.rewardLockedUp.add(pending); totalLockedUpRewards = totalLockedUpRewards.add(pending); emit RewardLockedUp(msg.sender, _pid, pending); } } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; pool.lpToken.safeTransfer(msg.sender, user.amount); emit EmergencyWithdraw(msg.sender, _pid, user.amount); user.amount = 0; user.rewardDebt = 0; user.rewardLockedUp = 0; user.nextHarvestUntil = 0; } // Safe tomato transfer function, just in case if rounding error causes pool to not have enough TMTs. function safeTomatoTransfer(address _to, uint256 _amount) internal { uint256 tomatoBal = tomato.balanceOf(address(this)); bool transferSuccess = false; if (_amount > tomatoBal) { transferSuccess = tomato.transfer(_to, tomatoBal); } else { transferSuccess = tomato.transfer(_to, _amount); } require(transferSuccess, "safeTomatoTransfer: transfer failed"); } // Update dev address by the previous dev. function setDevAddress(address _devAddress) external { require(_devAddress != address(0), "setDevAddress: setting devAddress to the zero address is forbidden"); require(msg.sender == devAddress, "setDevAddress: caller is not devAddress"); devAddress = _devAddress; emit SetDevAddress(msg.sender, _devAddress); } function setFeeAddress(address _feeAddress) external { require(_feeAddress != address(0), "setFeeAddress: setting feeAddress to the zero address is forbidden"); require(msg.sender == feeAddress, "setFeeAddress: caller is not feeAddress"); feeAddress = _feeAddress; emit SetFeeAddress(msg.sender, _feeAddress); } //Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all. function updateEmissionRate(uint256 _tomatoPerSecond) external onlyOwner { require (_tomatoPerSecond <= MAX_EMISSION_RATE, "updateEmissionRate: value higher than maximum"); massUpdatePools(); tomatoPerSecond = _tomatoPerSecond; emit UpdateEmissionRate(msg.sender, _tomatoPerSecond); } }
[{"inputs":[{"internalType":"contract TomatoCoin","name":"_tomato","type":"address"},{"internalType":"address","name":"_devAddress","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountLockedUp","type":"uint256"}],"name":"RewardLockedUp","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldStartTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newStartTime","type":"uint256"}],"name":"StartTimeChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tomatoPerSecond","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"INITIAL_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_HARVEST_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_POOL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"_harvestInterval","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"addPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blockTimestamp","outputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"canHarvest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"getHarvestUntil","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingTomato","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBEP20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accTomatoPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"harvestInterval","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"_harvestInterval","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newStartTime","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tomato","outputs":[{"internalType":"contract TomatoCoin","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tomatoPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLockedUpRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tomatoPerSecond","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"rewardLockedUp","type":"uint256"},{"internalType":"uint256","name":"nextHarvestUntil","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a0604052600060085534801561001557600080fd5b5060405162002b0338038062002b038339818101604052608081101561003a57600080fd5b5080516020820151604083015160609093015191929091600061005b6100fc565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001805560609390931b6001600160601b031916608052600280546001600160a01b03199081166001600160a01b03948516179091556004805490911691909216179055660c6f3b40b6c000600355600955610100565b3390565b60805160601c6129bd6200014660003980610d9b5280610e4b5280610ee85280610f9252806110495280611dfb528061221552806122ba528061236452506129bd6000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80636ec5ab1211610125578063cbd258b5116100ad578063e2bbb1581161007c578063e2bbb15814610585578063ed2e3cc6146105a8578063ed9f4ba2146105d4578063f2fde38b146105dc578063ffce97561461060257610211565b8063cbd258b5146104ed578063d0d41fe114610513578063d71f2c2a14610539578063de73149d1461057d57610211565b80638da5cb5b116100f45780638da5cb5b146104605780638dbb1e3a1461046857806391bb809c1461048b57806393f1a40b14610493578063adb61832146104e557610211565b80636ec5ab12146103fe578063715018a61461042a57806378e97925146104325780638705fcd41461043a57610211565b80633e0a322d116101a8578063441a3e7011610177578063441a3e7014610391578063474fa630146103b457806351eb05a6146103bc5780635312ea8e146103d9578063630b5ba1146103f657610211565b80633e0a322d1461035c57806341275358146103795780634345541414610381578063436cc3d61461038957610211565b80632143e545116101e45780632143e545146102b55780632e6c998d146102f057806332cb6b0c146103305780633ad10ef61461033857610211565b8063081e3eda146102165780630ba84cd2146102305780631526fe271461024f57806317caf6f1146102ad575b600080fd5b61021e61060a565b60408051918252519081900360200190f35b61024d6004803603602081101561024657600080fd5b5035610610565b005b61026c6004803603602081101561026557600080fd5b50356106f5565b604080516001600160a01b039097168752602087019590955285850193909352606085019190915261ffff16608084015260a0830152519081900360c00190f35b61021e610749565b61024d600480360360a08110156102cb57600080fd5b5080359060208101359061ffff6040820135169060608101359060800135151561074f565b61031c6004803603604081101561030657600080fd5b50803590602001356001600160a01b0316610925565b604080519115158252519081900360200190f35b61021e610955565b610340610963565b604080516001600160a01b039092168252519081900360200190f35b61024d6004803603602081101561037257600080fd5b5035610972565b610340610ad8565b61021e610ae7565b61021e610aed565b61024d600480360360408110156103a757600080fd5b5080359060200135610af8565b61021e610c80565b61024d600480360360208110156103d257600080fd5b5035610c86565b61024d600480360360208110156103ef57600080fd5b50356110ee565b61024d6111fa565b61021e6004803603604081101561041457600080fd5b50803590602001356001600160a01b031661121d565b61024d611248565b61021e6112f4565b61024d6004803603602081101561045057600080fd5b50356001600160a01b03166112fa565b6103406113d4565b61021e6004803603604081101561047e57600080fd5b50803590602001356113e3565b61021e6113f6565b6104bf600480360360408110156104a957600080fd5b50803590602001356001600160a01b0316611401565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61021e611433565b61031c6004803603602081101561050357600080fd5b50356001600160a01b0316611437565b61024d6004803603602081101561052957600080fd5b50356001600160a01b031661144c565b61024d600480360360a081101561054f57600080fd5b508035906001600160a01b036020820135169061ffff60408201351690606081013590608001351515611526565b61021e6118b7565b61024d6004803603604081101561059b57600080fd5b50803590602001356118be565b61021e600480360360408110156105be57600080fd5b50803590602001356001600160a01b0316611b63565b61021e611cf1565b61024d600480360360208110156105f257600080fd5b50356001600160a01b0316611cf7565b610340611df9565b60065490565b610618611e1d565b6001600160a01b03166106296113d4565b6001600160a01b031614610672576040805162461bcd60e51b8152602060048201819052602482015260008051602061287f833981519152604482015290519081900360640190fd5b6618de76816d80008111156106b85760405162461bcd60e51b815260040180806020018281038252602d81526020018061292b602d913960400191505060405180910390fd5b6106c06111fa565b6003819055604051819033907fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c405390600090a350565b6006818154811061070257fe5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501546001600160a01b0390941695509193909261ffff9091169086565b60085481565b610757611e1d565b6001600160a01b03166107686113d4565b6001600160a01b0316146107b1576040805162461bcd60e51b8152602060048201819052602482015260008051602061287f833981519152604482015290519081900360640190fd5b6101908361ffff1611156107f65760405162461bcd60e51b815260040180806020018281038252602581526020018061285a6025913960400191505060405180910390fd5b6202a30082111561084e576040805162461bcd60e51b815260206004820152601d60248201527f7365743a20696e76616c6964206861727665737420696e74657276616c000000604482015290519081900360640190fd5b801561085c5761085c6111fa565b610899846108936006888154811061087057fe5b906000526020600020906006020160010154600854611e2190919063ffffffff16565b90611e7e565b60088190555083600686815481106108ad57fe5b90600052602060002090600602016001018190555082600686815481106108d057fe5b906000526020600020906006020160040160006101000a81548161ffff021916908361ffff160217905550816006868154811061090957fe5b9060005260206000209060060201600501819055505050505050565b60008281526007602090815260408083206001600160a01b03851684529091529020600301544210155b92915050565b6901a5978e47b024e4000081565b6002546001600160a01b031681565b61097a611e1d565b6001600160a01b031661098b6113d4565b6001600160a01b0316146109d4576040805162461bcd60e51b8152602060048201819052602482015260008051602061287f833981519152604482015290519081900360640190fd5b4260095411610a145760405162461bcd60e51b81526004018080602001828103825260228152602001806127af6022913960400191505060405180910390fd5b428111610a525760405162461bcd60e51b81526004018080602001828103825260308152602001806129586030913960400191505060405180910390fd5b600980549082905560065460005b81811015610a9757600060068281548110610a7757fe5b600091825260209091206009546006909202016002015550600101610a60565b50604080518381526020810185905281517fbefe8e3983c0dc663c4ba451fc82d4ff7eb2e4ccc4b944874abea1ecc841feae929181900390910190a1505050565b6004546001600160a01b031681565b60035481565b6618de76816d800081565b60026001541415610b50576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060068381548110610b6757fe5b600091825260208083208684526007825260408085203386529092529220805460069092029092019250831115610bda576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610be384610c86565b610bec84611ed8565b8215610c16578054610bfe9084611e21565b81558154610c16906001600160a01b03163385612069565b60038201548154610c3a91670de0b6b3a764000091610c34916120c0565b90612119565b6001820155604080518481529051859133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050600180555050565b60055481565b600060068281548110610c9557fe5b9060005260206000209060060201905080600201544211610cb657506110eb565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d0057600080fd5b505afa158015610d14573d6000803e3d6000fd5b505050506040513d6020811015610d2a57600080fd5b50519050801580610d3d57506001820154155b15610d4f5750426002909101556110eb565b6000610d5f8360020154426113e3565b90506000610d8c600854610c348660010154610d86600354876120c090919063ffffffff16565b906120c0565b90506901a5978e47b024e400007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610df257600080fd5b505afa158015610e06573d6000803e3d6000fd5b505050506040513d6020811015610e1c57600080fd5b505110610e2b57506000610f7f565b6901a5978e47b024e40000610ed4610e49600a610c3485600b6120c0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610ea257600080fd5b505afa158015610eb6573d6000803e3d6000fd5b505050506040513d6020811015610ecc57600080fd5b505190611e7e565b10610f7f57610f7c600b610c34600a610d867f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f3f57600080fd5b505afa158015610f53573d6000803e3d6000fd5b505050506040513d6020811015610f6957600080fd5b50516901a5978e47b024e4000090611e21565b90505b80156110dd576002546001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116916340c10f199116610fc684600a612119565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561100c57600080fd5b505af1158015611020573d6000803e3d6000fd5b5050604080516340c10f1960e01b81523060048201526024810185905290516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693506340c10f199250604480830192600092919082900301818387803b15801561109257600080fd5b505af11580156110a6573d6000803e3d6000fd5b505050506110d76110cc84610c34670de0b6b3a7640000856120c090919063ffffffff16565b600386015490611e7e565b60038501555b428460020181905550505050505b50565b60026001541415611146576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555060006006828154811061115d57fe5b600091825260208083208584526007825260408085203380875293529093208054600690930290930180549094506111a2926001600160a01b03919091169190612069565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a3600080825560018083018290556002830182905560039092015580555050565b60065460005b818110156112195761121181610c86565b600101611200565b5050565b60009182526007602090815260408084206001600160a01b0393909316845291905290206003015490565b611250611e1d565b6001600160a01b03166112616113d4565b6001600160a01b0316146112aa576040805162461bcd60e51b8152602060048201819052602482015260008051602061287f833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60095481565b6001600160a01b03811661133f5760405162461bcd60e51b81526004018080602001828103825260428152602001806127f76042913960600191505060405180910390fd5b6004546001600160a01b031633146113885760405162461bcd60e51b81526004018080602001828103825260278152602001806127386027913960400191505060405180910390fd5b600480546001600160a01b0319166001600160a01b03831690811790915560405133907fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f790600090a350565b6000546001600160a01b031690565b60006113ef8284611e21565b9392505050565b660c6f3b40b6c00081565b600760209081526000928352604080842090915290825290208054600182015460028301546003909301549192909184565b4290565b600a6020526000908152604090205460ff1681565b6001600160a01b0381166114915760405162461bcd60e51b815260040180806020018281038252604281526020018061289f6042913960600191505060405180910390fd5b6002546001600160a01b031633146114da5760405162461bcd60e51b81526004018080602001828103825260278152602001806129046027913960400191505060405180910390fd5b600280546001600160a01b0319166001600160a01b03831690811790915560405133907f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e790600090a350565b61152e611e1d565b6001600160a01b031661153f6113d4565b6001600160a01b031614611588576040805162461bcd60e51b8152602060048201819052602482015260008051602061287f833981519152604482015290519081900360640190fd5b6001600160a01b0384166000908152600a6020526040902054849060ff16156115f8576040805162461bcd60e51b815260206004820152601960248201527f6e6f6e4475706c6963617465643a206475706c69636174656400000000000000604482015290519081900360640190fd5b6101908461ffff16111561163d5760405162461bcd60e51b81526004018080602001828103825260258152602001806127136025913960400191505060405180910390fd5b6202a300831115611695576040805162461bcd60e51b815260206004820152601d60248201527f6164643a20696e76616c6964206861727665737420696e74657276616c000000604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b038716916370a08231916024808301926020929190829003018186803b1580156116db57600080fd5b505afa1580156116ef573d6000803e3d6000fd5b505050506040513d602081101561170557600080fd5b50508115611715576117156111fa565b600060095442116117285760095461172a565b425b60085490915061173a9088611e7e565b6008556001600160a01b039586166000818152600a602090815260408083208054600160ff199091168117909155815160c0810183529485529184019a8b5283019384526060830182815261ffff9889166080850190815260a085019889526006805493840181559384905293517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f9290930291820180546001600160a01b03191693909a169290921790985597517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4088015590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4187015595517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d42860155505092517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d438301805461ffff19169190921617905590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4490910155565b6202a30081565b60026001541415611916576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555060006006838154811061192d57fe5b6000918252602080832086845260078252604080852033865290925292206006909102909101915061195e84610c86565b61196784611ed8565b8215611aff578154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156119b757600080fd5b505afa1580156119cb573d6000803e3d6000fd5b505050506040513d60208110156119e157600080fd5b505183549091506119fd906001600160a01b0316333087612180565b8254604080516370a0823160e01b81523060048201529051611a7f9284926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b158015611a4d57600080fd5b505afa158015611a61573d6000803e3d6000fd5b505050506040513d6020811015611a7757600080fd5b505190611e21565b600484015490945061ffff1615611aee576004830154600090611aaf9061271090610c3490889061ffff166120c0565b6004548554919250611ace916001600160a01b03908116911683612069565b8254611ae6908290611ae09088611e7e565b90611e21565b835550611afd565b8154611afa9085611e7e565b82555b505b60038201548154611b1d91670de0b6b3a764000091610c34916120c0565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050600180555050565b60008060068481548110611b7357fe5b600091825260208083208784526007825260408085206001600160a01b0389811687529084528186206006959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b158015611bed57600080fd5b505afa158015611c01573d6000803e3d6000fd5b505050506040513d6020811015611c1757600080fd5b5051600285015490915042118015611c2e57508015155b8015611c3c57506000600854115b15611c9f576000611c518560020154426113e3565b90506000611c78600854610c348860010154610d86600354876120c090919063ffffffff16565b9050611c9a611c9384610c3484670de0b6b3a76400006120c0565b8590611e7e565b935050505b6000611ccc8460010154611ae0670de0b6b3a7640000610c348789600001546120c090919063ffffffff16565b9050611ce5846002015482611e7e90919063ffffffff16565b98975050505050505050565b61019081565b611cff611e1d565b6001600160a01b0316611d106113d4565b6001600160a01b031614611d59576040805162461bcd60e51b8152602060048201819052602482015260008051602061287f833981519152604482015290519081900360640190fd5b6001600160a01b038116611d9e5760405162461bcd60e51b81526004018080602001828103825260268152602001806127896026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b3390565b600082821115611e78576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156113ef576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600060068281548110611ee757fe5b600091825260208083208584526007825260408085203386529092529220600381015460069092029092019250611f2757611f21836121da565b60038201555b6000611f588260010154611ae0670de0b6b3a7640000610c34876003015487600001546120c090919063ffffffff16565b9050611f648433610925565b15612001576000811180611f7c575060008260020154115b15611ffc576000611f9a836002015483611e7e90919063ffffffff16565b90506000611fa9826002612119565b90506000611fb78383611e21565b9050611fd6826108938760020154600554611e2190919063ffffffff16565b60055560028501829055611fe9876121da565b6003860155611ff83382612211565b5050505b612063565b80156120635760028201546120169082611e7e565b60028301556005546120289082611e7e565b600555604080518281529051859133917fee470483107f579a55c754fa00613c45a9a3b617a418b39cb0be97e5381ba7c19181900360200190a35b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526120bb908490612444565b505050565b6000826120cf5750600061094f565b828202828482816120dc57fe5b04146113ef5760405162461bcd60e51b81526004018080602001828103825260218152602001806128396021913960400191505060405180910390fd5b600080821161216f576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161217857fe5b049392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612063908590612444565b600080600683815481106121ea57fe5b906000526020600020906006020190506113ef816005015442611e7e90919063ffffffff16565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561228057600080fd5b505afa158015612294573d6000803e3d6000fd5b505050506040513d60208110156122aa57600080fd5b50519050600081831115612362577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb85846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561232f57600080fd5b505af1158015612343573d6000803e3d6000fd5b505050506040513d602081101561235957600080fd5b50519050612408565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156123d957600080fd5b505af11580156123ed573d6000803e3d6000fd5b505050506040513d602081101561240357600080fd5b505190505b806120635760405162461bcd60e51b81526004018080602001828103825260238152602001806128e16023913960400191505060405180910390fd5b6060612499826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166124f59092919063ffffffff16565b8051909150156120bb578080602001905160208110156124b857600080fd5b50516120bb5760405162461bcd60e51b815260040180806020018281038252602a81526020018061275f602a913960400191505060405180910390fd5b6060612504848460008561250c565b949350505050565b60608247101561254d5760405162461bcd60e51b81526004018080602001828103825260268152602001806127d16026913960400191505060405180910390fd5b61255685612668565b6125a7576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106125e65780518252601f1990920191602091820191016125c7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612648576040519150601f19603f3d011682016040523d82523d6000602084013e61264d565b606091505b509150915061265d82828661266e565b979650505050505050565b3b151590565b6060831561267d5750816113ef565b82511561268d5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156126d75781810151838201526020016126bf565b50505050905090810190601f1680156127045780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e7473736574466565416464726573733a2063616c6c6572206973206e6f7420666565416464726573735361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373736574537461727454696d653a206661726d20616c72656164792073746172746564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c736574466565416464726573733a2073657474696e67206665654164647265737320746f20746865207a65726f206164647265737320697320666f7262696464656e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572736574446576416464726573733a2073657474696e67206465764164647265737320746f20746865207a65726f206164647265737320697320666f7262696464656e73616665546f6d61746f5472616e736665723a207472616e73666572206661696c6564736574446576416464726573733a2063616c6c6572206973206e6f742064657641646472657373757064617465456d697373696f6e526174653a2076616c756520686967686572207468616e206d6178696d756d736574537461727454696d653a206e65772073746172742074696d65206d757374206265206675747572652074696d65a264697066735822122047c426030d9474f6fc40edcfbc3e31aca4f9a1099ae3be4142c79a279d1f8e0364736f6c634300060c0033000000000000000000000000f5760bbbc3565f6a513a9c20300a335a1250c57e000000000000000000000000ee68753bd98d29d20c8768b05f90c95d66aef1a8000000000000000000000000ee68753bd98d29d20c8768b05f90c95d66aef1a800000000000000000000000000000000000000000000000000000000617469c0
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f5760bbbc3565f6a513a9c20300a335a1250c57e000000000000000000000000ee68753bd98d29d20c8768b05f90c95d66aef1a8000000000000000000000000ee68753bd98d29d20c8768b05f90c95d66aef1a800000000000000000000000000000000000000000000000000000000617469c0
-----Decoded View---------------
Arg [0] : _tomato (address): 0xf5760bbbc3565f6a513a9c20300a335a1250c57e
Arg [1] : _devAddress (address): 0xee68753bd98d29d20c8768b05f90c95d66aef1a8
Arg [2] : _feeAddress (address): 0xee68753bd98d29d20c8768b05f90c95d66aef1a8
Arg [3] : _startTime (uint256): 1635019200
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000f5760bbbc3565f6a513a9c20300a335a1250c57e
Arg [1] : 000000000000000000000000ee68753bd98d29d20c8768b05f90c95d66aef1a8
Arg [2] : 000000000000000000000000ee68753bd98d29d20c8768b05f90c95d66aef1a8
Arg [3] : 00000000000000000000000000000000000000000000000000000000617469c0
Deployed ByteCode Sourcemap
38961:16116:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42786:95;;;:::i;:::-;;;;;;;;;;;;;;;;54743:325;;;;;;;;;;;;;;;;-1:-1:-1;54743:325:0;;:::i;:::-;;41231:26;;;;;;;;;;;;;;;;-1:-1:-1;41231:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;41231:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41472:34;;;:::i;45138:657::-;;;;;;;;;;;;;;;;-1:-1:-1;45138:657:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;46997:198::-;;;;;;;;;;;;;;;;-1:-1:-1;46997:198:0;;;;;;-1:-1:-1;;;;;46997:198:0;;:::i;:::-;;;;;;;;;;;;;;;;;;40896:47;;;:::i;40701:25::-;;;:::i;:::-;;;;-1:-1:-1;;;;;40701:25:0;;;;;;;;;;;;;;44401:626;;;;;;;;;;;;;;;;-1:-1:-1;44401:626:0;;:::i;40837:25::-;;;:::i;40772:30::-;;;:::i;41628:55::-;;;:::i;50146:605::-;;;;;;;;;;;;;;;;-1:-1:-1;50146:605:0;;;;;;;:::i;41160:35::-;;;:::i;47786:1167::-;;;;;;;;;;;;;;;;-1:-1:-1;47786:1167:0;;:::i;52856:432::-;;;;;;;;;;;;;;;;-1:-1:-1;52856:432:0;;:::i;47530:180::-;;;:::i;47258:189::-;;;;;;;;;;;;;;;;-1:-1:-1;47258:189:0;;;;;;-1:-1:-1;;;;;47258:189:0;;:::i;24994:148::-;;;:::i;41559:24::-;;;:::i;54260:352::-;;;;;;;;;;;;;;;;-1:-1:-1;54260:352:0;-1:-1:-1;;;;;54260:352:0;;:::i;24343:87::-;;;:::i;45875:121::-;;;;;;;;;;;;;;;;-1:-1:-1;45875:121:0;;;;;;;:::i;41722:60::-;;;:::i;41313:64::-;;;;;;;;;;;;;;;;-1:-1:-1;41313:64:0;;;;;;-1:-1:-1;;;;;41313:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43093:138;;;:::i;42889:44::-;;;;;;;;;;;;;;;;-1:-1:-1;42889:44:0;-1:-1:-1;;;;;42889:44:0;;:::i;53900:352::-;;;;;;;;;;;;;;;;-1:-1:-1;53900:352:0;-1:-1:-1;;;;;53900:352:0;;:::i;43306:939::-;;;;;;;;;;;;;;;;-1:-1:-1;43306:939:0;;;-1:-1:-1;;;;;43306:939:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;41062:57::-;;;:::i;49021:1073::-;;;;;;;;;;;;;;;;-1:-1:-1;49021:1073:0;;;;;;;:::i;46059:868::-;;;;;;;;;;;;;;;;-1:-1:-1;46059:868:0;;;;;;-1:-1:-1;;;;;46059:868:0;;:::i;40973:42::-;;;:::i;25297:244::-;;;;;;;;;;;;;;;;-1:-1:-1;25297:244:0;-1:-1:-1;;;;;25297:244:0;;:::i;40639:34::-;;;:::i;42786:95::-;42858:8;:15;42786:95;:::o;54743:325::-;24574:12;:10;:12::i;:::-;-1:-1:-1;;;;;24563:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24563:23:0;;24555:68;;;;;-1:-1:-1;;;24555:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24555:68:0;;;;;;;;;;;;;;;41672:11:::1;54836:16;:37;;54827:96;;;;-1:-1:-1::0;;;54827:96:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54934:17;:15;:17::i;:::-;54962:15;:34:::0;;;55012:48:::1;::::0;54980:16;;55031:10:::1;::::0;55012:48:::1;::::0;;;::::1;54743:325:::0;:::o;41231:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41231:26:0;;;;-1:-1:-1;41231:26:0;;;;;;;;;;:::o;41472:34::-;;;;:::o;45138:657::-;24574:12;:10;:12::i;:::-;-1:-1:-1;;;;;24563:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24563:23:0;;24555:68;;;;;-1:-1:-1;;;24555:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24555:68:0;;;;;;;;;;;;;;;41012:3:::1;45290:13;:29;;;;45282:79;;;;-1:-1:-1::0;;;45282:79:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41113:6;45380:16;:44;;45372:86;;;::::0;;-1:-1:-1;;;45372:86:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;45475:11;45471:61;;;45503:17;:15;:17::i;:::-;45560:63;45611:11;45560:46;45580:8;45589:4;45580:14;;;;;;;;;;;;;;;;;;:25;;;45560:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;45542:15;:81;;;;45662:11;45634:8;45643:4;45634:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;45714:13;45684:8;45693:4;45684:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;45771:16;45738:8;45747:4;45738:14;;;;;;;;;;;;;;;;;;:30;;:49;;;;45138:657:::0;;;;;:::o;46997:198::-;47067:4;47108:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;47108:21:0;;;;;;;;;47166;;;47147:15;:40;;46997:198;;;;;:::o;40896:47::-;40933:10;40896:47;:::o;40701:25::-;;;-1:-1:-1;;;;;40701:25:0;;:::o;44401:626::-;24574:12;:10;:12::i;:::-;-1:-1:-1;;;;;24563:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24563:23:0;;24555:68;;;;;-1:-1:-1;;;24555:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24555:68:0;;;;;;;;;;;;;;;44496:15:::1;44484:9;;:27;44476:74;;;;-1:-1:-1::0;;;44476:74:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44585:15;44569:13;:31;44561:92;;;;-1:-1:-1::0;;;44561:92:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44695:9;::::0;;44717:25;;;;44772:8:::1;:15:::0;44666:26:::1;44798:153;44826:6;44820:3;:12;44798:153;;;44856:21;44880:8;44889:3;44880:13;;;;;;;;;::::0;;;::::1;::::0;;;44930:9:::1;::::0;44880:13:::1;::::0;;::::1;;44908:19;;:31:::0;-1:-1:-1;44834:5:0::1;;44798:153;;;-1:-1:-1::0;44968:51:0::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;24634:1;;44401:626:::0;:::o;40837:25::-;;;-1:-1:-1;;;;;40837:25:0;;:::o;40772:30::-;;;;:::o;41628:55::-;41672:11;41628:55;:::o;50146:605::-;27204:1;27810:7;;:19;;27802:63;;;;;-1:-1:-1;;;27802:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27204:1;27943:7;:18;;;;50228:21:::1;50252:8;50261:4;50252:14;;;;;;;;;::::0;;;::::1;::::0;;;50301;;;:8:::1;:14:::0;;;;;;50316:10:::1;50301:26:::0;;;;;;;50346:11;;50252:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;50346:22:0;-1:-1:-1;50346:22:0::1;50338:53;;;::::0;;-1:-1:-1;;;50338:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50338:53:0;;;;;;;;;;;;;::::1;;50402:16;50413:4;50402:10;:16::i;:::-;50429:30;50454:4;50429:24;:30::i;:::-;50476:11:::0;;50472:143:::1;;50518:11:::0;;:24:::1;::::0;50534:7;50518:15:::1;:24::i;:::-;50504:38:::0;;50557:12;;:46:::1;::::0;-1:-1:-1;;;;;50557:12:0::1;50583:10;50595:7:::0;50557:25:::1;:46::i;:::-;50659:22;::::0;::::1;::::0;50643:11;;:49:::1;::::0;50687:4:::1;::::0;50643:39:::1;::::0;:15:::1;:39::i;:::-;:43:::0;::::1;:49::i;:::-;50625:15;::::0;::::1;:67:::0;50708:35:::1;::::0;;;;;;;50729:4;;50717:10:::1;::::0;50708:35:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;27160:1:0;28122:22;;-1:-1:-1;;50146:605:0:o;41160:35::-;;;;:::o;47786:1167::-;47838:21;47862:8;47871:4;47862:14;;;;;;;;;;;;;;;;;;47838:38;;47910:4;:19;;;47891:15;:38;47887:77;;47946:7;;;47887:77;47993:12;;:37;;;-1:-1:-1;;;47993:37:0;;48024:4;47993:37;;;;;;47974:16;;-1:-1:-1;;;;;47993:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47993:37:0;;-1:-1:-1;48045:13:0;;;:37;;-1:-1:-1;48062:15:0;;;;:20;48045:37;48041:128;;;-1:-1:-1;48121:15:0;48099:19;;;;:37;48151:7;;48041:128;48179:18;48200:51;48214:4;:19;;;48235:15;48200:13;:51::i;:::-;48179:72;;48262:20;48285:73;48342:15;;48285:52;48321:4;:15;;;48285:31;48300:15;;48285:10;:14;;:31;;;;:::i;:::-;:35;;:52::i;:73::-;48262:96;;40933:10;48375:6;-1:-1:-1;;;;;48375:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48375:20:0;:34;48371:259;;-1:-1:-1;48441:1:0;48371:259;;;40933:10;48464:54;48489:28;48514:2;48489:20;:12;48506:2;48489:16;:20::i;:28::-;48464:6;-1:-1:-1;;;;;48464:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48464:20:0;;:24;:54::i;:::-;:68;48460:170;;48565:52;48614:2;48565:44;48606:2;48565:36;48580:6;-1:-1:-1;;;;;48580:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48580:20:0;40933:10;;48565:14;:36::i;:52::-;48549:69;;48460:170;48646:16;;48642:254;;48691:10;;-1:-1:-1;;;;;48679:6:0;:11;;;;;48691:10;48703:20;:12;48720:2;48703:16;:20::i;:::-;48679:45;;;;;;;;;;;;;-1:-1:-1;;;;;48679:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48739:40:0;;;-1:-1:-1;;;48739:40:0;;48759:4;48739:40;;;;;;;;;;;;-1:-1:-1;;;;;48739:6:0;:11;;-1:-1:-1;48739:11:0;;-1:-1:-1;48739:40:0;;;;;-1:-1:-1;;48739:40:0;;;;;;;-1:-1:-1;48739:11:0;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48819:64;48846:36;48873:8;48846:22;48863:4;48846:12;:16;;:22;;;;:::i;:36::-;48819:22;;;;;:26;:64::i;:::-;48794:22;;;:89;48642:254;48930:15;48908:4;:19;;:37;;;;47786:1167;;;;;;:::o;52856:432::-;27204:1;27810:7;;:19;;27802:63;;;;;-1:-1:-1;;;27802:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27204:1;27943:7;:18;;;;52930:21:::1;52954:8;52963:4;52954:14;;;;;;;;;::::0;;;::::1;::::0;;;53003;;;:8:::1;:14:::0;;;;;;53018:10:::1;53003:26:::0;;;;;;;;53078:11;;52954:14:::1;::::0;;::::1;::::0;;::::1;53040:12:::0;;52954:14;;-1:-1:-1;53040:50:0::1;::::0;-1:-1:-1;;;;;53040:12:0;;;::::1;::::0;53018:10;53040:25:::1;:50::i;:::-;53142:11:::0;;53106:48:::1;::::0;;;;;;53136:4;;53124:10:::1;::::0;53106:48:::1;::::0;;;;::::1;::::0;;::::1;53179:1;53165:15:::0;;;53191::::1;::::0;;::::1;:19:::0;;;53221::::1;::::0;::::1;:23:::0;;;53255:21:::1;::::0;;::::1;:25:::0;28122:22;;-1:-1:-1;;52856:432:0:o;47530:180::-;47592:8;:15;47575:14;47618:85;47646:6;47640:3;:12;47618:85;;;47676:15;47687:3;47676:10;:15::i;:::-;47654:5;;47618:85;;;;47530:180;:::o;47258:189::-;47335:7;47379:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;47379:21:0;;;;;;;;;;;47418;;;;47258:189::o;24994:148::-;24574:12;:10;:12::i;:::-;-1:-1:-1;;;;;24563:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24563:23:0;;24555:68;;;;;-1:-1:-1;;;24555:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24555:68:0;;;;;;;;;;;;;;;25101:1:::1;25085:6:::0;;25064:40:::1;::::0;-1:-1:-1;;;;;25085:6:0;;::::1;::::0;25064:40:::1;::::0;25101:1;;25064:40:::1;25132:1;25115:19:::0;;-1:-1:-1;;;;;;25115:19:0::1;::::0;;24994:148::o;41559:24::-;;;;:::o;54260:352::-;-1:-1:-1;;;;;54332:25:0;;54324:104;;;;-1:-1:-1;;;54324:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54461:10;;-1:-1:-1;;;;;54461:10:0;54447;:24;54439:76;;;;-1:-1:-1;;;54439:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54526:10;:24;;-1:-1:-1;;;;;;54526:24:0;-1:-1:-1;;;;;54526:24:0;;;;;;;;54566:38;;54580:10;;54566:38;;-1:-1:-1;;54566:38:0;54260:352;:::o;24343:87::-;24389:7;24416:6;-1:-1:-1;;;;;24416:6:0;24343:87;:::o;45875:121::-;45947:7;45974:14;:3;45982:5;45974:7;:14::i;:::-;45967:21;45875:121;-1:-1:-1;;;45875:121:0:o;41722:60::-;41770:12;41722:60;:::o;41313:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;43093:138::-;43208:15;;43093:138::o;42889:44::-;;;;;;;;;;;;;;;:::o;53900:352::-;-1:-1:-1;;;;;53972:25:0;;53964:104;;;;-1:-1:-1;;;53964:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54101:10;;-1:-1:-1;;;;;54101:10:0;54087;:24;54079:76;;;;-1:-1:-1;;;54079:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54166:10;:24;;-1:-1:-1;;;;;;54166:24:0;-1:-1:-1;;;;;54166:24:0;;;;;;;;54206:38;;54220:10;;54206:38;;-1:-1:-1;;54206:38:0;53900:352;:::o;43306:939::-;24574:12;:10;:12::i;:::-;-1:-1:-1;;;;;24563:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24563:23:0;;24555:68;;;;;-1:-1:-1;;;24555:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24555:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;42999:23:0;::::1;;::::0;;;:13:::1;:23;::::0;;;;;43458:8;;42999:23:::1;;:32;42991:70;;;::::0;;-1:-1:-1;;;42991:70:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;41012:3:::2;43487:13;:29;;;;43479:79;;;;-1:-1:-1::0;;;43479:79:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41113:6;43577:16;:44;;43569:86;;;::::0;;-1:-1:-1;;;43569:86:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;43668:33;::::0;;-1:-1:-1;;;43668:33:0;;43695:4:::2;43668:33;::::0;::::2;::::0;;;-1:-1:-1;;;;;43668:18:0;::::2;::::0;::::2;::::0;:33;;;;;::::2;::::0;;;;;;;;:18;:33;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;;43714:61:0;::::2;;;43746:17;:15;:17::i;:::-;43785:22;43828:9;;43810:15;:27;:57;;43858:9;;43810:57;;;43840:15;43810:57;43896:15;::::0;43785:82;;-1:-1:-1;43896:32:0::2;::::0;43916:11;43896:19:::2;:32::i;:::-;43878:15;:50:::0;-1:-1:-1;;;;;43939:23:0;;::::2;;::::0;;;:13:::2;:23;::::0;;;;;;;:30;;43965:4:::2;-1:-1:-1::0;;43939:30:0;;::::2;::::0;::::2;::::0;;;43994:242;;::::2;::::0;::::2;::::0;;;;;;;::::2;::::0;;;;;;;;;;;;;;::::2;::::0;;::::2;::::0;;;;;;;;;;;;43980:8:::2;:257:::0;;;;::::2;::::0;;;;;;;;;;;;::::2;::::0;;::::2;::::0;;-1:-1:-1;;;;;;43980:257:0::2;::::0;;;::::2;::::0;;;::::2;::::0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;43980:257:0;;;;;;;-1:-1:-1;;43980:257:0::2;::::0;;;::::2;;::::0;;;;;;;;;43306:939::o;41062:57::-;41113:6;41062:57;:::o;49021:1073::-;27204:1;27810:7;;:19;;27802:63;;;;;-1:-1:-1;;;27802:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27204:1;27943:7;:18;;;;49102:21:::1;49126:8;49135:4;49126:14;;;;;;;;;::::0;;;::::1;::::0;;;49175;;;:8:::1;:14:::0;;;;;;49190:10:::1;49175:26:::0;;;;;;;49126:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;49214:16:0::1;49184:4:::0;49214:10:::1;:16::i;:::-;49241:30;49266:4;49241:24;:30::i;:::-;49288:11:::0;;49284:675:::1;;49341:12:::0;;:37:::1;::::0;;-1:-1:-1;;;49341:37:0;;49372:4:::1;49341:37;::::0;::::1;::::0;;;49316:22:::1;::::0;-1:-1:-1;;;;;49341:12:0::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;49341:37:0;49393:12;;49341:37;;-1:-1:-1;49393:65:0::1;::::0;-1:-1:-1;;;;;49393:12:0::1;49423:10;49443:4;49450:7:::0;49393:29:::1;:65::i;:::-;49532:12:::0;;:37:::1;::::0;;-1:-1:-1;;;49532:37:0;;49563:4:::1;49532:37;::::0;::::1;::::0;;;:57:::1;::::0;49574:14;;-1:-1:-1;;;;;49532:12:0;;::::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;49532:37:0;;:41:::1;:57::i;:::-;49608:17;::::0;::::1;::::0;49522:67;;-1:-1:-1;49608:17:0::1;;:21:::0;49604:344:::1;;49683:17;::::0;::::1;::::0;49650:18:::1;::::0;49671:41:::1;::::0;49706:5:::1;::::0;49671:30:::1;::::0;:7;;49683:17:::1;;49671:11;:30::i;:41::-;49757:10;::::0;49731:12;;49650:62;;-1:-1:-1;49731:49:0::1;::::0;-1:-1:-1;;;;;49731:12:0;;::::1;::::0;49757:10:::1;49650:62:::0;49731:25:::1;:49::i;:::-;49813:11:::0;;:40:::1;::::0;49842:10;;49813:24:::1;::::0;49829:7;49813:15:::1;:24::i;:::-;:28:::0;::::1;:40::i;:::-;49799:54:::0;;-1:-1:-1;49604:344:0::1;;;49908:11:::0;;:24:::1;::::0;49924:7;49908:15:::1;:24::i;:::-;49894:38:::0;;49604:344:::1;49284:675;;50003:22;::::0;::::1;::::0;49987:11;;:49:::1;::::0;50031:4:::1;::::0;49987:39:::1;::::0;:15:::1;:39::i;:49::-;49969:15;::::0;::::1;:67:::0;50052:34:::1;::::0;;;;;;;50072:4;;50060:10:::1;::::0;50052:34:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;27160:1:0;28122:22;;-1:-1:-1;;49021:1073:0:o;46059:868::-;46134:7;46154:21;46178:8;46187:4;46178:14;;;;;;;;;;;;;;;;46227;;;:8;:14;;;;;;-1:-1:-1;;;;;46227:21:0;;;;;;;;;;;46178:14;;;;;;;;46287:22;;;;46339:12;;:37;;-1:-1:-1;;;46339:37:0;;46370:4;46339:37;;;;;;46178:14;;-1:-1:-1;46227:21:0;;46287:22;;46178:14;;46339:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46339:37:0;46409:19;;;;46339:37;;-1:-1:-1;46391:15:0;:37;:54;;;;-1:-1:-1;46432:13:0;;;46391:54;:77;;;;;46467:1;46449:15;;:19;46391:77;46387:387;;;46485:18;46506:51;46520:4;:19;;;46541:15;46506:13;:51::i;:::-;46485:72;;46572:20;46595:73;46652:15;;46595:52;46631:4;:15;;;46595:31;46610:15;;46595:10;:14;;:31;;;;:::i;:73::-;46572:96;-1:-1:-1;46703:59:0;46725:36;46752:8;46725:22;46572:96;46742:4;46725:16;:22::i;:36::-;46703:17;;:21;:59::i;:::-;46683:79;;46387:387;;;46786:15;46804:65;46853:4;:15;;;46804:44;46843:4;46804:34;46820:17;46804:4;:11;;;:15;;:34;;;;:::i;:65::-;46786:83;;46887:32;46899:4;:19;;;46887:7;:11;;:32;;;;:::i;:::-;46880:39;46059:868;-1:-1:-1;;;;;;;;46059:868:0:o;40973:42::-;41012:3;40973:42;:::o;25297:244::-;24574:12;:10;:12::i;:::-;-1:-1:-1;;;;;24563:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24563:23:0;;24555:68;;;;;-1:-1:-1;;;24555:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24555:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;25386:22:0;::::1;25378:73;;;;-1:-1:-1::0;;;25378:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25488:6;::::0;;25467:38:::1;::::0;-1:-1:-1;;;;;25467:38:0;;::::1;::::0;25488:6;::::1;::::0;25467:38:::1;::::0;::::1;25516:6;:17:::0;;-1:-1:-1;;;;;;25516:17:0::1;-1:-1:-1::0;;;;;25516:17:0;;;::::1;::::0;;;::::1;::::0;;25297:244::o;40639:34::-;;;:::o;22967:106::-;23055:10;22967:106;:::o;3235:158::-;3293:7;3326:1;3321;:6;;3313:49;;;;;-1:-1:-1;;;3313:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3380:5:0;;;3235:158::o;2773:179::-;2831:7;2863:5;;;2887:6;;;;2879:46;;;;;-1:-1:-1;;;2879:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;51431:1354;51499:21;51523:8;51532:4;51523:14;;;;;;;;;;;;;;;;51572;;;:8;:14;;;;;;51587:10;51572:26;;;;;;;51615:21;;;;51523:14;;;;;;;;-1:-1:-1;51611:111:0;;51682:28;51705:4;51682:22;:28::i;:::-;51658:21;;;:52;51611:111;51732:15;51750:70;51804:4;:15;;;51750:49;51794:4;51750:39;51766:4;:22;;;51750:4;:11;;;:15;;:39;;;;:::i;:70::-;51732:88;;51835:28;51846:4;51852:10;51835;:28::i;:::-;51831:947;;;51894:1;51884:7;:11;:38;;;;51921:1;51899:4;:19;;;:23;51884:38;51880:651;;;51943:20;51966:32;51978:4;:19;;;51966:7;:11;;:32;;;;:::i;:::-;51943:55;-1:-1:-1;52017:23:0;52043:19;51943:55;52060:1;52043:16;:19::i;:::-;52017:45;-1:-1:-1;52081:27:0;52111:33;:12;52017:45;52111:16;:33::i;:::-;52081:63;;52219:66;52269:15;52219:45;52244:4;:19;;;52219:20;;:24;;:45;;;;:::i;:66::-;52196:20;:89;52304:19;;;:37;;;52384:28;52407:4;52384:22;:28::i;:::-;52360:21;;;:52;52464:51;52483:10;52495:19;52464:18;:51::i;:::-;51880:651;;;;51831:947;;;52552:11;;52548:230;;52602:19;;;;:32;;52626:7;52602:23;:32::i;:::-;52580:19;;;:54;52672:20;;:33;;52697:7;52672:24;:33::i;:::-;52649:20;:56;52725:41;;;;;;;;52752:4;;52740:10;;52725:41;;;;;;;;;52548:230;51431:1354;;;;:::o;19103:211::-;19247:58;;;-1:-1:-1;;;;;19247:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19247:58:0;-1:-1:-1;;;19247:58:0;;;19220:86;;19240:5;;19220:19;:86::i;:::-;19103:211;;;:::o;3652:220::-;3710:7;3734:6;3730:20;;-1:-1:-1;3749:1:0;3742:8;;3730:20;3773:5;;;3777:1;3773;:5;:1;3797:5;;;;;:10;3789:56;;;;-1:-1:-1;;;3789:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4350:153;4408:7;4440:1;4436;:5;4428:44;;;;;-1:-1:-1;;;4428:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4494:1;4490;:5;;;;;;;4350:153;-1:-1:-1;;;4350:153:0:o;19322:248::-;19493:68;;;-1:-1:-1;;;;;19493:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19493:68:0;-1:-1:-1;;;19493:68:0;;;19466:96;;19486:5;;19466:19;:96::i;50759:196::-;50828:7;50848:21;50872:8;50881:4;50872:14;;;;;;;;;;;;;;;;;;50848:38;;50906:41;50926:4;:20;;;50906:15;:19;;:41;;;;:::i;53403:441::-;53481:17;53501:6;-1:-1:-1;;;;;53501:16:0;;53526:4;53501:31;;;;;;;;;;;;;-1:-1:-1;;;;;53501:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53501:31:0;;-1:-1:-1;53543:20:0;53586:19;;;53582:181;;;53640:6;-1:-1:-1;;;;;53640:15:0;;53656:3;53661:9;53640:31;;;;;;;;;;;;;-1:-1:-1;;;;;53640:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53640:31:0;;-1:-1:-1;53582:181:0;;;53722:6;-1:-1:-1;;;;;53722:15:0;;53738:3;53743:7;53722:29;;;;;;;;;;;;;-1:-1:-1;;;;;53722:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53722:29:0;;-1:-1:-1;53582:181:0;53781:15;53773:63;;;;-1:-1:-1;;;53773:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21638:774;22062:23;22088:69;22116:4;22088:69;;;;;;;;;;;;;;;;;22096:5;-1:-1:-1;;;;;22088:27:0;;;:69;;;;;:::i;:::-;22172:17;;22062:95;;-1:-1:-1;22172:21:0;22168:237;;22327:10;22316:30;;;;;;;;;;;;;;;-1:-1:-1;22316:30:0;22308:85;;;;-1:-1:-1;;;22308:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14198:195;14301:12;14333:52;14355:6;14363:4;14369:1;14372:12;14333:21;:52::i;:::-;14326:59;14198:195;-1:-1:-1;;;;14198:195:0:o;15250:530::-;15377:12;15435:5;15410:21;:30;;15402:81;;;;-1:-1:-1;;;15402:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15502:18;15513:6;15502:10;:18::i;:::-;15494:60;;;;;-1:-1:-1;;;15494:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15628:12;15642:23;15669:6;-1:-1:-1;;;;;15669:11:0;15689:5;15697:4;15669:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15669:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15627:75;;;;15720:52;15738:7;15747:10;15759:12;15720:17;:52::i;:::-;15713:59;15250:530;-1:-1:-1;;;;;;;15250:530:0:o;11280:422::-;11647:20;11686:8;;;11280:422::o;17790:742::-;17905:12;17934:7;17930:595;;;-1:-1:-1;17965:10:0;17958:17;;17930:595;18079:17;;:21;18075:439;;18342:10;18336:17;18403:15;18390:10;18386:2;18382:19;18375:44;18290:148;18485:12;18478:20;;-1:-1:-1;;;18478:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://47c426030d9474f6fc40edcfbc3e31aca4f9a1099ae3be4142c79a279d1f8e03
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.