Polygon Sponsored slots available. Book your slot here!
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Contract Name:
MasterChef
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-07-22 */ // SPDX-License-Identifier: MIT // Import Context.sol; pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // Import Ownable.sol pragma solidity ^0.6.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ 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 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; } } // Import SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, 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) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * 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); uint256 c = a - b; return c; } /** * @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) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // Import IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // Import Address.sol pragma solidity ^0.6.2; /** * @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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); 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); } } } } // Import SafeERC20.sol pragma solidity ^0.6.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // Import ReentrancyGuard.sol pragma solidity ^0.6.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ 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; } } // Import ERC20.sol pragma solidity ^0.6.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; 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 name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This 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 virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // Import TimeToken.sol pragma solidity 0.6.12; contract TimeToken is ERC20("Time Token", "TIME"), Ownable { function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); _moveDelegates(address(0), _delegates[_to], _amount); } // Copied and modified from YAM code: // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol // Which is copied and modified from COMPOUND: // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol /// @dev A record of each accounts delegate mapping (address => address) internal _delegates; /// @dev A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @dev A record of votes checkpoints for each account, by index mapping (address => mapping (uint32 => Checkpoint)) public checkpoints; /// @dev The number of checkpoints for each account mapping (address => uint32) public numCheckpoints; /// @dev The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// @dev The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); /// @dev A record of states for signing / validating signatures mapping (address => uint) public nonces; /// @dev An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @dev An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); /** * @dev Delegate votes from `msg.sender` to `delegatee` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @dev Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @dev Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "TIME::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "TIME::delegateBySig: invalid nonce"); require(now <= expiry, "TIME::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @dev Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @dev Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "TIME::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = balanceOf(delegator); // balance of underlying TIMEs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld.sub(amount); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32(block.number, "TIME::_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function getChainId() internal pure returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } } // MasterChef pragma solidity 0.6.12; // MasterChef is the master of TIME. He can make TIME 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 TIME is sufficiently // distributed and the community can show to govern itself. // // Have fun reading it. Hopefully it's bug-free. God bless. contract MasterChef is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // // We do some fancy math here. Basically, any point in time, the amount of TIME // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accTimePerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accTimePerShare` (and `lastRewardBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. TIME to distribute per block. uint256 lastRewardBlock; // Last block number that TIME distribution occurs. uint256 accTimePerShare; // Accumulated TIME per share, multiplied by 1e18. See below. uint16 depositFeeBP; // Deposit fee in basis points } // The TIME TOKEN! TimeToken public time; address public devAddress; address public feeAddress; address public vaultAddress; // TIME tokens created per block. uint256 public timePerBlock; // Max Supply of TIME tokens. uint256 public maxSupply; // 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 block number when TIME mining starts. uint256 public startBlock; 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 SetVaultAddress(address indexed user, address indexed newAddress); event UpdateEmissionRate(address indexed user, uint256 timePerBlock); event SetMaxSupply(address indexed user, uint256 maxSupply); constructor( TimeToken _time, uint256 _startBlock, address _devAddress, address _feeAddress, address _vaultAddress, uint256 _maxSupply ) public { time = _time; startBlock = _startBlock; devAddress = _devAddress; feeAddress = _feeAddress; vaultAddress = _vaultAddress; maxSupply = _maxSupply; } function poolLength() external view returns (uint256) { return poolInfo.length; } mapping(IERC20 => bool) public poolExistence; modifier nonDuplicated(IERC20 _lpToken) { require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated"); _; } // Add a new lp to the pool. Can only be called by the owner. function add(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP) external onlyOwner nonDuplicated(_lpToken) { require(_depositFeeBP <= 10000, "add: invalid deposit fee basis points"); uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolExistence[_lpToken] = true; poolInfo.push(PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardBlock: lastRewardBlock, accTimePerShare: 0, depositFeeBP: _depositFeeBP })); } // Update the given pool's TIME allocation point and deposit fee. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP) external onlyOwner { require(_depositFeeBP <= 10000, "set: invalid deposit fee basis points"); totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; poolInfo[_pid].depositFeeBP = _depositFeeBP; } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) { return _to.sub(_from); } // View function to see pending TIME on frontend. function pendingTime(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accTimePerShare = pool.accTimePerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 timeReward = multiplier.mul(timePerBlock).mul(pool.allocPoint).div(totalAllocPoint); accTimePerShare = accTimePerShare.add(timeReward.mul(1e18).div(lpSupply)); } return user.amount.mul(accTimePerShare).div(1e18).sub(user.rewardDebt); } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0 || pool.allocPoint == 0) { pool.lastRewardBlock = block.number; return; } uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 timeReward = multiplier.mul(timePerBlock).mul(pool.allocPoint).div(totalAllocPoint); pool.accTimePerShare = pool.accTimePerShare.add(timeReward.mul(1e18).div(lpSupply)); pool.lastRewardBlock = block.number; if (time.totalSupply() <= maxSupply) { time.mint(devAddress, timeReward.div(10)); time.mint(address(this), timeReward); require(time.totalSupply() <= maxSupply, "ERR: Unable to mint, max supply reached"); } } // @dev // Owner of MasterChef can call this function to mint all TIME tokens up to the maxSupply cap // Function mints only to MasterChef (this address) // Intended to be used when TIME reaches 1 hour from maxSupply (through emissions) to mint any un-minted TIME. function finalMint() public onlyOwner { uint256 finalMintAmount = maxSupply.sub(time.totalSupply()); time.mint(address(this), finalMintAmount); require(finalMintAmount != 0, "ERR: Unable to perform final mint, max supply reached"); if(finalMintAmount == 0) { revert("ERR: Unable to perform Final Mint, max supply reached"); } } // Deposit LP tokens to MasterChef for TIME allocation. function deposit(uint256 _pid, uint256 _amount) public nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accTimePerShare).div(1e18).sub(user.rewardDebt); if (pending > 0) { safeTimeTransfer(msg.sender, pending); } } if (_amount > 0) { pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); if (pool.depositFeeBP > 0) { uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000); pool.lpToken.safeTransfer(feeAddress, depositFee.div(10).mul(3)); // 30% to Fee Address for Marketing / Dev / Team Salaries (Sustainability) pool.lpToken.safeTransfer(vaultAddress, depositFee.div(10).mul(7)); // 70% to Vault Address for Buyback model of TIME user.amount = user.amount.add(_amount).sub(depositFee); } else { user.amount = user.amount.add(_amount); } } user.rewardDebt = user.amount.mul(pool.accTimePerShare).div(1e18); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _amount) public nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 pending = user.amount.mul(pool.accTimePerShare).div(1e18).sub(user.rewardDebt); if (pending > 0) { safeTimeTransfer(msg.sender, pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(address(msg.sender), _amount); } user.rewardDebt = user.amount.mul(pool.accTimePerShare).div(1e18); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 amount = user.amount; user.amount = 0; user.rewardDebt = 0; pool.lpToken.safeTransfer(address(msg.sender), amount); emit EmergencyWithdraw(msg.sender, _pid, amount); } // Safe TIME transfer function, just in case if rounding error causes pool to not have enough TIME. function safeTimeTransfer(address _to, uint256 _amount) internal { uint256 timeBal = time.balanceOf(address(this)); bool transferSuccess = false; if (_amount > timeBal) { transferSuccess = time.transfer(_to, timeBal); } else { transferSuccess = time.transfer(_to, _amount); } require(transferSuccess, "safeTimeTransfer: Transfer failed"); } // Update dev address by the previous dev. function setDevAddress(address _devAddress) external onlyOwner { devAddress = _devAddress; emit SetDevAddress(msg.sender, _devAddress); } function setFeeAddress(address _feeAddress) external onlyOwner { feeAddress = _feeAddress; emit SetFeeAddress(msg.sender, _feeAddress); } function setVaultAddress(address _vaultAddress) external onlyOwner { vaultAddress = _vaultAddress; emit SetVaultAddress(msg.sender, _vaultAddress); } function updateEmissionRate(uint256 _timePerBlock) external onlyOwner { massUpdatePools(); timePerBlock = _timePerBlock; emit UpdateEmissionRate(msg.sender, _timePerBlock); } // Only update before start of farm function updateStartBlock(uint256 _startBlock) external onlyOwner { require(startBlock > block.number, "Farm already started"); startBlock = _startBlock; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract TimeToken","name":"_time","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"address","name":"_devAddress","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"address","name":"_vaultAddress","type":"address"},{"internalType":"uint256","name":"_maxSupply","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":"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":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"SetMaxSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetVaultAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"timePerBlock","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":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"add","outputs":[],"stateMutability":"nonpayable","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":[],"name":"finalMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"pendingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","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 IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accTimePerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"}],"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"}],"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":"address","name":"_vaultAddress","type":"address"}],"name":"setVaultAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"time","outputs":[{"internalType":"contract TimeToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timePerBlock","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":"_startBlock","type":"uint256"}],"name":"updateStartBlock","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"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vaultAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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
60806040526000600a553480156200001657600080fd5b5060405162003bbf38038062003bbf833981810160405260c08110156200003c57600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050506000620000916200025460201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001808190555085600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600b8190555083600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806007819055505050505050506200025c565b600033905090565b613953806200026c6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80635d1439bb116101045780638dbb1e3a116100a2578063d5abeb0111610071578063d5abeb0114610792578063e2bbb158146107b0578063f2fde38b146107e8578063fac2b9ba1461082c576101da565b80638dbb1e3a1461063f57806393f1a40b1461068b578063cbd258b5146106f4578063d0d41fe11461074e576101da565b8063715018a6116100de578063715018a61461057957806385535cc5146105835780638705fcd4146105c75780638da5cb5b1461060b576101da565b80635d1439bb14610503578063630b5ba11461050d578063631fe38b14610517576101da565b80633ad10ef61161017c57806348cd4cb11161014b57806348cd4cb11461046b57806351eb05a6146104895780635312ea8e146104b75780635522196f146104e5576101da565b80633ad10ef61461039757806341275358146103cb578063430bf08a146103ff578063441a3e7014610433576101da565b80631526fe27116101b85780631526fe271461028757806316ada547146102ff57806317caf6f11461033357806324bcb38c14610351576101da565b806306539275146101df578063081e3eda1461023b5780630ba84cd214610259575b600080fd5b610239600480360360608110156101f557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff16906020019092919050505061085a565b005b610243610bd0565b6040518082815260200191505060405180910390f35b6102856004803603602081101561026f57600080fd5b8101908080359060200190929190505050610bdd565b005b6102b36004803603602081101561029d57600080fd5b8101908080359060200190929190505050610d05565b604051808673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018261ffff1681526020019550505050505060405180910390f35b610307610d76565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61033b610d9c565b6040518082815260200191505060405180910390f35b6103956004803603606081101561036757600080fd5b810190808035906020019092919080359060200190929190803561ffff169060200190929190505050610da2565b005b61039f610f75565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103d3610f9b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610407610fc1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104696004803603604081101561044957600080fd5b810190808035906020019092919080359060200190929190505050610fe7565b005b6104736112d3565b6040518082815260200191505060405180910390f35b6104b56004803603602081101561049f57600080fd5b81019080803590602001909291905050506112d9565b005b6104e3600480360360208110156104cd57600080fd5b81019080803590602001909291905050506117e0565b005b6104ed61199c565b6040518082815260200191505060405180910390f35b61050b6119a2565b005b610515611c87565b005b6105636004803603604081101561052d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cb4565b6040518082815260200191505060405180910390f35b610581611f00565b005b6105c56004803603602081101561059957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612086565b005b610609600480360360208110156105dd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506121ec565b005b610613612352565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106756004803603604081101561065557600080fd5b81019080803590602001909291908035906020019092919050505061237b565b6040518082815260200191505060405180910390f35b6106d7600480360360408110156106a157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612398565b604051808381526020018281526020019250505060405180910390f35b6107366004803603602081101561070a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123c9565b60405180821515815260200191505060405180910390f35b6107906004803603602081101561076457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123e9565b005b61079a61254f565b6040518082815260200191505060405180910390f35b6107e6600480360360408110156107c657600080fd5b810190808035906020019092919080359060200190929190505050612555565b005b61082a600480360360208110156107fe57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061299d565b005b6108586004803603602081101561084257600080fd5b8101908080359060200190929190505050612ba8565b005b610862612cf1565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610922576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8160001515600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146109e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f6e6f6e4475706c6963617465643a206475706c6963617465640000000000000081525060200191505060405180910390fd5b6127108261ffff161115610a48576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806137b16025913960400191505060405180910390fd5b6000600b544311610a5b57600b54610a5d565b435b9050610a7485600a54612cf990919063ffffffff16565b600a819055506001600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060086040518060a001604052808673ffffffffffffffffffffffffffffffffffffffff168152602001878152602001838152602001600081526020018561ffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555050505050505050565b6000600880549050905090565b610be5612cf1565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ca5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610cad611c87565b806006819055503373ffffffffffffffffffffffffffffffffffffffff167fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053826040518082815260200191505060405180910390a250565b60088181548110610d1257fe5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16905085565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b610daa612cf1565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e6a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6127108161ffff161115610ec9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806138526025913960400191505060405180910390fd5b610f0e82610f0060088681548110610edd57fe5b906000526020600020906005020160010154600a54612d8190919063ffffffff16565b612cf990919063ffffffff16565b600a819055508160088481548110610f2257fe5b9060005260206000209060050201600101819055508060088481548110610f4557fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff160217905550505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026001541415611060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006008838154811061107757fe5b9060005260206000209060050201905060006009600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015611155576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b61115e846112d9565b60006111ab826001015461119d670de0b6b3a764000061118f87600301548760000154612dcb90919063ffffffff16565b612e5190919063ffffffff16565b612d8190919063ffffffff16565b905060008111156111c1576111c03382612e9b565b5b6000841115611239576111e1848360000154612d8190919063ffffffff16565b826000018190555061123833858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661316f9092919063ffffffff16565b5b61126e670de0b6b3a764000061126085600301548560000154612dcb90919063ffffffff16565b612e5190919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a3505050600180819055505050565b600b5481565b6000600882815481106112e857fe5b906000526020600020906005020190508060020154431161130957506117dd565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561139657600080fd5b505afa1580156113aa573d6000803e3d6000fd5b505050506040513d60208110156113c057600080fd5b8101908080519060200190929190505050905060008114806113e6575060008260010154145b156113fb5743826002018190555050506117dd565b600061140b83600201544361237b565b9050600061144e600a54611440866001015461143260065487612dcb90919063ffffffff16565b612dcb90919063ffffffff16565b612e5190919063ffffffff16565b905061149361148084611472670de0b6b3a764000085612dcb90919063ffffffff16565b612e5190919063ffffffff16565b8560030154612cf990919063ffffffff16565b8460030181905550438460020181905550600754600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561150f57600080fd5b505afa158015611523573d6000803e3d6000fd5b505050506040513d602081101561153957600080fd5b8101908080519060200190929190505050116117d857600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166115c4600a85612e5190919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561161757600080fd5b505af115801561162b573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156116c257600080fd5b505af11580156116d6573d6000803e3d6000fd5b50505050600754600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561174557600080fd5b505afa158015611759573d6000803e3d6000fd5b505050506040513d602081101561176f57600080fd5b810190808051906020019092919050505011156117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806138776027913960400191505060405180910390fd5b5b505050505b50565b60026001541415611859576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006008828154811061187057fe5b9060005260206000209060050201905060006009600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050600082600001819055506000826001018190555061194033828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661316f9092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a35050506001808190555050565b60065481565b6119aa612cf1565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a6a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000611b23600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611ad757600080fd5b505afa158015611aeb573d6000803e3d6000fd5b505050506040513d6020811015611b0157600080fd5b8101908080519060200190929190505050600754612d8190919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611bb857600080fd5b505af1158015611bcc573d6000803e3d6000fd5b505050506000811415611c2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603581526020018061389e6035913960400191505060405180910390fd5b6000811415611c84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260358152602001806137fc6035913960400191505060405180910390fd5b50565b6000600880549050905060005b81811015611cb057611ca5816112d9565b806001019050611c94565b5050565b60008060088481548110611cc457fe5b9060005260206000209060050201905060006009600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611dbe57600080fd5b505afa158015611dd2573d6000803e3d6000fd5b505050506040513d6020811015611de857600080fd5b81019080805190602001909291905050509050836002015443118015611e0f575060008114155b15611ead576000611e2485600201544361237b565b90506000611e67600a54611e598860010154611e4b60065487612dcb90919063ffffffff16565b612dcb90919063ffffffff16565b612e5190919063ffffffff16565b9050611ea8611e9984611e8b670de0b6b3a764000085612dcb90919063ffffffff16565b612e5190919063ffffffff16565b85612cf990919063ffffffff16565b935050505b611ef48360010154611ee6670de0b6b3a7640000611ed8868860000154612dcb90919063ffffffff16565b612e5190919063ffffffff16565b612d8190919063ffffffff16565b94505050505092915050565b611f08612cf1565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fc8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b61208e612cf1565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461214e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fdfb3295f3e9d9cedf80122570b2468d2322b3443cacb59aa0e204dead9b3c62760405160405180910390a350565b6121f4612cf1565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146122b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f760405160405180910390a350565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006123908383612d8190919063ffffffff16565b905092915050565b6009602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b600c6020528060005260406000206000915054906101000a900460ff1681565b6123f1612cf1565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146124b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e760405160405180910390a350565b60075481565b600260015414156125ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506000600883815481106125e557fe5b9060005260206000209060050201905060006009600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050612652846112d9565b6000816000015411156126c45760006126ac826001015461269e670de0b6b3a764000061269087600301548760000154612dcb90919063ffffffff16565b612e5190919063ffffffff16565b612d8190919063ffffffff16565b905060008111156126c2576126c13382612e9b565b5b505b60008311156129045761271e3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613211909392919063ffffffff16565b60008260040160009054906101000a900461ffff1661ffff1611156128e357600061277c61271061276e8560040160009054906101000a900461ffff1661ffff1687612dcb90919063ffffffff16565b612e5190919063ffffffff16565b9050612815600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127cb60036127bd600a86612e5190919063ffffffff16565b612dcb90919063ffffffff16565b8560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661316f9092919063ffffffff16565b6128ac600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166128626007612854600a86612e5190919063ffffffff16565b612dcb90919063ffffffff16565b8560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661316f9092919063ffffffff16565b6128d5816128c7868560000154612cf990919063ffffffff16565b612d8190919063ffffffff16565b826000018190555050612903565b6128fa838260000154612cf990919063ffffffff16565b81600001819055505b5b612939670de0b6b3a764000061292b84600301548460000154612dcb90919063ffffffff16565b612e5190919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a35050600180819055505050565b6129a5612cf1565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612a65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612aeb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806137d66026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612bb0612cf1565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612c70576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b43600b5411612ce7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4661726d20616c7265616479207374617274656400000000000000000000000081525060200191505060405180910390fd5b80600b8190555050565b600033905090565b600080828401905083811015612d77576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000612dc383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506132d2565b905092915050565b600080831415612dde5760009050612e4b565b6000828402905082848281612def57fe5b0414612e46576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806138316021913960400191505060405180910390fd5b809150505b92915050565b6000612e9383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613392565b905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612f2657600080fd5b505afa158015612f3a573d6000803e3d6000fd5b505050506040513d6020811015612f5057600080fd5b8101908080519060200190929190505050905060008183111561304257600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561300057600080fd5b505af1158015613014573d6000803e3d6000fd5b505050506040513d602081101561302a57600080fd5b81019080805190602001909291905050509050613113565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156130d557600080fd5b505af11580156130e9573d6000803e3d6000fd5b505050506040513d60208110156130ff57600080fd5b810190808051906020019092919050505090505b80613169576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806138fd6021913960400191505060405180910390fd5b50505050565b61320c8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613458565b505050565b6132cc846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613458565b50505050565b600083831115829061337f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613344578082015181840152602081019050613329565b50505050905090810190601f1680156133715780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b6000808311829061343e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156134035780820151818401526020810190506133e8565b50505050905090810190601f1680156134305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161344a57fe5b049050809150509392505050565b60606134ba826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166135479092919063ffffffff16565b9050600081511115613542578080602001905160208110156134db57600080fd5b8101908080519060200190929190505050613541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806138d3602a913960400191505060405180910390fd5b5b505050565b6060613556848460008561355f565b90509392505050565b606061356a85613765565b6135dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061362c5780518252602082019150602081019050602083039250613609565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461368e576040519150601f19603f3d011682016040523d82523d6000602084013e613693565b606091505b509150915081156136a857809250505061375d565b6000815111156136bb5780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613722578082015181840152602081019050613707565b50505050905090810190601f16801561374f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91508082141580156137a757506000801b8214155b9250505091905056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552523a20556e61626c6520746f20706572666f726d2046696e616c204d696e742c206d617820737570706c792072656163686564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734552523a20556e61626c6520746f206d696e742c206d617820737570706c7920726561636865644552523a20556e61626c6520746f20706572666f726d2066696e616c206d696e742c206d617820737570706c7920726561636865645361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565647361666554696d655472616e736665723a205472616e73666572206661696c6564a264697066735822122039fa7fcb87565c7e5ca26cf9e5ec8bca1c09e8f1a01cf2e36374477797231e0664736f6c634300060c00330000000000000000000000005c59d7cb794471a9633391c4927ade06b8787a90000000000000000000000000000000000000000000000000000000000109afa00000000000000000000000003c4742300e8309181812ad276d57276f0f7052c80000000000000000000000001f7c88a37f7d0b36e7547e3a79c2d04f90531e750000000000000000000000007211a68a80973cba7b29ed428c272b889430f33b00000000000000000000000000000000000000000000124bc0ddd92e56000000
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005c59d7cb794471a9633391c4927ade06b8787a90000000000000000000000000000000000000000000000000000000000109afa00000000000000000000000003c4742300e8309181812ad276d57276f0f7052c80000000000000000000000001f7c88a37f7d0b36e7547e3a79c2d04f90531e750000000000000000000000007211a68a80973cba7b29ed428c272b889430f33b00000000000000000000000000000000000000000000124bc0ddd92e56000000
-----Decoded View---------------
Arg [0] : _time (address): 0x5c59d7cb794471a9633391c4927ade06b8787a90
Arg [1] : _startBlock (uint256): 17412000
Arg [2] : _devAddress (address): 0x3c4742300e8309181812ad276d57276f0f7052c8
Arg [3] : _feeAddress (address): 0x1f7c88a37f7d0b36e7547e3a79c2d04f90531e75
Arg [4] : _vaultAddress (address): 0x7211a68a80973cba7b29ed428c272b889430f33b
Arg [5] : _maxSupply (uint256): 86400000000000000000000
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000005c59d7cb794471a9633391c4927ade06b8787a90
Arg [1] : 000000000000000000000000000000000000000000000000000000000109afa0
Arg [2] : 0000000000000000000000003c4742300e8309181812ad276d57276f0f7052c8
Arg [3] : 0000000000000000000000001f7c88a37f7d0b36e7547e3a79c2d04f90531e75
Arg [4] : 0000000000000000000000007211a68a80973cba7b29ed428c272b889430f33b
Arg [5] : 00000000000000000000000000000000000000000000124bc0ddd92e56000000
Deployed ByteCode Sourcemap
44102:11870:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47660:638;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47290:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55539:206;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;45884:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45582:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46125:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;48410:376;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;45610:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;45642;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;45674:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53205:755;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46216:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;50144:967;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54031:398;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;45749:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51409:378;;;:::i;:::-;;49888:180;;;:::i;:::-;;49046:759;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2681:148;;;:::i;:::-;;55359:172;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55191:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2039:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;48862:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;45966:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;47393:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;55023:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;45824:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51856:1297;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2984:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55794:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47660:638;2261:12;:10;:12::i;:::-;2251:22;;:6;;;;;;;;;;:22;;;2243:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47766:8:::1;47530:5;47503:32;;:13;:23;47517:8;47503:23;;;;;;;;;;;;;;;;;;;;;;;;;:32;;;47495:70;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;47812:5:::2;47795:13;:22;;;;47787:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47870:23;47911:10;;47896:12;:25;:53;;47939:10;;47896:53;;;47924:12;47896:53;47870:79;;47978:32;47998:11;47978:15;;:19;;:32;;;;:::i;:::-;47960:15;:50;;;;48047:4;48021:13;:23;48035:8;48021:23;;;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;48062:8;48076:213;;;;;;;;48109:8;48076:213;;;;;;48144:11;48076:213;;;;48187:15;48076:213;;;;48234:1;48076:213;;;;48264:13;48076:213;;;;::::0;48062:228:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47576:1;2321::::1;47660:638:::0;;;:::o;47290:95::-;47335:7;47362:8;:15;;;;47355:22;;47290:95;:::o;55539:206::-;2261:12;:10;:12::i;:::-;2251:22;;:6;;;;;;;;;;:22;;;2243:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55620:17:::1;:15;:17::i;:::-;55663:13;55648:12;:28;;;;55711:10;55692:45;;;55723:13;55692:45;;;;;;;;;;;;;;;;;;55539:206:::0;:::o;45884:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45582:21::-;;;;;;;;;;;;;:::o;46125:34::-;;;;:::o;48410:376::-;2261:12;:10;:12::i;:::-;2251:22;;:6;;;;;;;;;;:22;;;2243:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48535:5:::1;48518:13;:22;;;;48510:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48611:63;48662:11;48611:46;48631:8;48640:4;48631:14;;;;;;;;;;;;;;;;;;:25;;;48611:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;48593:15;:81;;;;48713:11;48685:8;48694:4;48685:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;48765:13;48735:8;48744:4;48735:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;48410:376:::0;;;:::o;45610:25::-;;;;;;;;;;;;;:::o;45642:::-;;;;;;;;;;;;;:::o;45674:27::-;;;;;;;;;;;;;:::o;53205:755::-;22943:1;23549:7;;:19;;23541:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22943:1;23682:7;:18;;;;53285:21:::1;53309:8;53318:4;53309:14;;;;;;;;;;;;;;;;;;53285:38;;53334:21;53358:8;:14;53367:4;53358:14;;;;;;;;;;;:26;53373:10;53358:26;;;;;;;;;;;;;;;53334:50;;53418:7;53403:4;:11;;;:22;;53395:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;53459:16;53470:4;53459:10;:16::i;:::-;53486:15;53504:68;53556:4;:15;;;53504:47;53546:4;53504:37;53520:4;:20;;;53504:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;:51;;:68;;;;:::i;:::-;53486:86;;53597:1;53587:7;:11;53583:81;;;53615:37;53632:10;53644:7;53615:16;:37::i;:::-;53583:81;53688:1;53678:7;:11;53674:152;;;53720:24;53736:7;53720:4;:11;;;:15;;:24;;;;:::i;:::-;53706:4;:11;;:38;;;;53759:55;53793:10;53806:7;53759:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;53674:152;53854:47;53896:4;53854:37;53870:4;:20;;;53854:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;53836:4;:15;;:65;;;;53938:4;53926:10;53917:35;;;53944:7;53917:35;;;;;;;;;;;;;;;;;;23713:1;;;22899::::0;23861:7;:22;;;;53205:755;;:::o;46216:25::-;;;;:::o;50144:967::-;50196:21;50220:8;50229:4;50220:14;;;;;;;;;;;;;;;;;;50196:38;;50265:4;:20;;;50249:12;:36;50245:75;;50302:7;;;50245:75;50330:16;50349:4;:12;;;;;;;;;;;;:22;;;50380:4;50349:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50330:56;;50413:1;50401:8;:13;:37;;;;50437:1;50418:4;:15;;;:20;50401:37;50397:126;;;50478:12;50455:4;:20;;:35;;;;50505:7;;;;50397:126;50533:18;50554:49;50568:4;:20;;;50590:12;50554:13;:49::i;:::-;50533:70;;50614:18;50635:70;50689:15;;50635:49;50668:4;:15;;;50635:28;50650:12;;50635:10;:14;;:28;;;;:::i;:::-;:32;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;50614:91;;50739:60;50764:34;50789:8;50764:20;50779:4;50764:10;:14;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;50739:4;:20;;;:24;;:60;;;;:::i;:::-;50716:4;:20;;:83;;;;50833:12;50810:4;:20;;:35;;;;50882:9;;50860:4;;;;;;;;;;;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:31;50856:248;;50906:4;;;;;;;;;;;:9;;;50916:10;;;;;;;;;;;50928:18;50943:2;50928:10;:14;;:18;;;;:::i;:::-;50906:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50960:4;;;;;;;;;;;:9;;;50978:4;50985:10;50960:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51039:9;;51017:4;;;;;;;;;;;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:31;;51009:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50856:248;50144:967;;;;;;:::o;54031:398::-;22943:1;23549:7;;:19;;23541:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22943:1;23682:7;:18;;;;54103:21:::1;54127:8;54136:4;54127:14;;;;;;;;;;;;;;;;;;54103:38;;54152:21;54176:8;:14;54185:4;54176:14;;;;;;;;;;;:26;54191:10;54176:26;;;;;;;;;;;;;;;54152:50;;54213:14;54230:4;:11;;;54213:28;;54266:1;54252:4;:11;;:15;;;;54296:1;54278:4;:15;;:19;;;;54308:54;54342:10;54355:6;54308:4;:12;;;;;;;;;;;;:25;;;;:54;;;;;:::i;:::-;54408:4;54396:10;54378:43;;;54414:6;54378:43;;;;;;;;;;;;;;;;;;23713:1;;;22899::::0;23861:7;:22;;;;54031:398;:::o;45749:27::-;;;;:::o;51409:378::-;2261:12;:10;:12::i;:::-;2251:22;;:6;;;;;;;;;;:22;;;2243:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51456:23:::1;51482:33;51496:4;;;;;;;;;;;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;51482:9;;:13;;:33;;;;:::i;:::-;51456:59;;51524:4;;;;;;;;;;;:9;;;51542:4;51549:15;51524:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;51601:1;51582:15;:20;;51574:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51691:1;51672:15;:20;51669:111;;;51705:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51669:111;2321:1;51409:378::o:0;49888:180::-;49933:14;49950:8;:15;;;;49933:32;;49981:11;49976:85;50004:6;49998:3;:12;49976:85;;;50034:15;50045:3;50034:10;:15::i;:::-;50012:5;;;;;49976:85;;;;49888:180;:::o;49046:759::-;49119:7;49139:21;49163:8;49172:4;49163:14;;;;;;;;;;;;;;;;;;49139:38;;49188:21;49212:8;:14;49221:4;49212:14;;;;;;;;;;;:21;49227:5;49212:21;;;;;;;;;;;;;;;49188:45;;49244:23;49270:4;:20;;;49244:46;;49301:16;49320:4;:12;;;;;;;;;;;;:22;;;49351:4;49320:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49301:56;;49387:4;:20;;;49372:12;:35;:52;;;;;49423:1;49411:8;:13;;49372:52;49368:349;;;49441:18;49462:49;49476:4;:20;;;49498:12;49462:13;:49::i;:::-;49441:70;;49526:18;49547:70;49601:15;;49547:49;49580:4;:15;;;49547:28;49562:12;;49547:10;:14;;:28;;;;:::i;:::-;:32;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;49526:91;;49650:55;49670:34;49695:8;49670:20;49685:4;49670:10;:14;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;49650:15;:19;;:55;;;;:::i;:::-;49632:73;;49368:349;;;49734:63;49781:4;:15;;;49734:42;49771:4;49734:32;49750:15;49734:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:42;;;;:::i;:::-;:46;;:63;;;;:::i;:::-;49727:70;;;;;;49046:759;;;;:::o;2681:148::-;2261:12;:10;:12::i;:::-;2251:22;;:6;;;;;;;;;;:22;;;2243:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2788:1:::1;2751:40;;2772:6;::::0;::::1;;;;;;;;2751:40;;;;;;;;;;;;2819:1;2802:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;2681:148::o:0;55359:172::-;2261:12;:10;:12::i;:::-;2251:22;;:6;;;;;;;;;;:22;;;2243:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55452:13:::1;55437:12;;:28;;;;;;;;;;;;;;;;;;55509:13;55481:42;;55497:10;55481:42;;;;;;;;;;;;55359:172:::0;:::o;55191:160::-;2261:12;:10;:12::i;:::-;2251:22;;:6;;;;;;;;;;:22;;;2243:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55278:11:::1;55265:10;;:24;;;;;;;;;;;;;;;;;;55331:11;55305:38;;55319:10;55305:38;;;;;;;;;;;;55191:160:::0;:::o;2039:79::-;2077:7;2104:6;;;;;;;;;;;2097:13;;2039:79;:::o;48862:121::-;48934:7;48961:14;48969:5;48961:3;:7;;:14;;;;:::i;:::-;48954:21;;48862:121;;;;:::o;45966:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;47393:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;55023:160::-;2261:12;:10;:12::i;:::-;2251:22;;:6;;;;;;;;;;:22;;;2243:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55110:11:::1;55097:10;;:24;;;;;;;;;;;;;;;;;;55163:11;55137:38;;55151:10;55137:38;;;;;;;;;;;;55023:160:::0;:::o;45824:24::-;;;;:::o;51856:1297::-;22943:1;23549:7;;:19;;23541:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22943:1;23682:7;:18;;;;51935:21:::1;51959:8;51968:4;51959:14;;;;;;;;;;;;;;;;;;51935:38;;51984:21;52008:8;:14;52017:4;52008:14;;;;;;;;;;;:26;52023:10;52008:26;;;;;;;;;;;;;;;51984:50;;52045:16;52056:4;52045:10;:16::i;:::-;52090:1;52076:4;:11;;;:15;52072:237;;;52108:15;52126:68;52178:4;:15;;;52126:47;52168:4;52126:37;52142:4;:20;;;52126:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;:51;;:68;;;;:::i;:::-;52108:86;;52223:1;52213:7;:11;52209:89;;;52245:37;52262:10;52274:7;52245:16;:37::i;:::-;52209:89;52072:237;;52333:1;52323:7;:11;52319:701;;;52351:74;52389:10;52410:4;52417:7;52351:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;52464:1;52444:4;:17;;;;;;;;;;;;:21;;;52440:569;;;52486:18;52507:41;52542:5;52507:30;52519:4;:17;;;;;;;;;;;;52507:30;;:7;:11;;:30;;;;:::i;:::-;:34;;:41;;;;:::i;:::-;52486:62;;52567:64;52593:10;;;;;;;;;;;52605:25;52628:1;52605:18;52620:2;52605:10;:14;;:18;;;;:::i;:::-;:22;;:25;;;;:::i;:::-;52567:4;:12;;;;;;;;;;;;:25;;;;:64;;;;;:::i;:::-;52725:66;52751:12;;;;;;;;;;;52765:25;52788:1;52765:18;52780:2;52765:10;:14;;:18;;;;:::i;:::-;:22;;:25;;;;:::i;:::-;52725:4;:12;;;;;;;;;;;;:25;;;;:66;;;;;:::i;:::-;52874:40;52903:10;52874:24;52890:7;52874:4;:11;;;:15;;:24;;;;:::i;:::-;:28;;:40;;;;:::i;:::-;52860:4;:11;;:54;;;;52440:569;;;;52969:24;52985:7;52969:4;:11;;;:15;;:24;;;;:::i;:::-;52955:4;:11;;:38;;;;52440:569;52319:701;53048:47;53090:4;53048:37;53064:4;:20;;;53048:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;53030:4;:15;;:65;;;;53131:4;53119:10;53111:34;;;53137:7;53111:34;;;;;;;;;;;;;;;;;;23713:1;;22899::::0;23861:7;:22;;;;51856:1297;;:::o;2984:244::-;2261:12;:10;:12::i;:::-;2251:22;;:6;;;;;;;;;;:22;;;2243:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3093:1:::1;3073:22;;:8;:22;;;;3065:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3183:8;3154:38;;3175:6;::::0;::::1;;;;;;;;3154:38;;;;;;;;;;;;3212:8;3203:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;2984:244:::0;:::o;55794:175::-;2261:12;:10;:12::i;:::-;2251:22;;:6;;;;;;;;;;:22;;;2243:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55889:12:::1;55876:10;;:25;55868:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;55950:11;55937:10;:24;;;;55794:175:::0;:::o;629:106::-;682:15;717:10;710:17;;629:106;:::o;4130:181::-;4188:7;4208:9;4224:1;4220;:5;4208:17;;4249:1;4244;:6;;4236:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4302:1;4295:8;;;4130:181;;;;:::o;4594:136::-;4652:7;4679:43;4683:1;4686;4679:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4672:50;;4594:136;;;;:::o;5484:471::-;5542:7;5792:1;5787;:6;5783:47;;;5817:1;5810:8;;;;5783:47;5842:9;5858:1;5854;:5;5842:17;;5887:1;5882;5878;:5;;;;;;:10;5870:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5946:1;5939:8;;;5484:471;;;;;:::o;6431:132::-;6489:7;6516:39;6520:1;6523;6516:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;6509:46;;6431:132;;;;:::o;54542:425::-;54618:15;54636:4;;;;;;;;;;;:14;;;54659:4;54636:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54618:47;;54676:20;54729:7;54719;:17;54715:173;;;54771:4;;;;;;;;;;;:13;;;54785:3;54790:7;54771:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54753:45;;54715:173;;;54849:4;;;;;;;;;;;:13;;;54863:3;54868:7;54849:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54831:45;;54715:173;54906:15;54898:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54542:425;;;;:::o;18170:177::-;18253:86;18273:5;18303:23;;;18328:2;18332:5;18280:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18253:19;:86::i;:::-;18170:177;;;:::o;18355:205::-;18456:96;18476:5;18506:27;;;18535:4;18541:2;18545:5;18483:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18456:19;:96::i;:::-;18355:205;;;;:::o;5033:192::-;5119:7;5152:1;5147;:6;;5155:12;5139:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5179:9;5195:1;5191;:5;5179:17;;5216:1;5209:8;;;5033:192;;;;;:::o;7059:278::-;7145:7;7177:1;7173;:5;7180:12;7165:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7204:9;7220:1;7216;:5;;;;;;7204:17;;7328:1;7321:8;;;7059:278;;;;;:::o;20475:761::-;20899:23;20925:69;20953:4;20925:69;;;;;;;;;;;;;;;;;20933:5;20925:27;;;;:69;;;;;:::i;:::-;20899:95;;21029:1;21009:10;:17;:21;21005:224;;;21151:10;21140:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21132:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21005:224;20475:761;;;:::o;15198:196::-;15301:12;15333:53;15356:6;15364:4;15370:1;15373:12;15333:22;:53::i;:::-;15326:60;;15198:196;;;;;:::o;16575:979::-;16705:12;16738:18;16749:6;16738:10;:18::i;:::-;16730:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16864:12;16878:23;16905:6;:11;;16925:8;16936:4;16905:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16863:78;;;;16956:7;16952:595;;;16987:10;16980:17;;;;;;16952:595;17121:1;17101:10;:17;:21;17097:439;;;17364:10;17358:17;17425:15;17412:10;17408:2;17404:19;17397:44;17312:148;17507:12;17500:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16575:979;;;;;;;:::o;12083:619::-;12143:4;12405:16;12432:19;12454:66;12432:88;;;;12623:7;12611:20;12599:32;;12663:11;12651:8;:23;;:42;;;;;12690:3;12678:15;;:8;:15;;12651:42;12643:51;;;;12083:619;;;:::o
Swarm Source
ipfs://39fa7fcb87565c7e5ca26cf9e5ec8bca1c09e8f1a01cf2e36374477797231e06
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.