My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Contract Name:
MasterChef
Compiler Version
v0.7.4+commit.3f05b770
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-06-09 */ // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/utils/ReentrancyGuard.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: contracts/Krill.sol pragma solidity 0.7.4; contract Krill is ERC20("TrashBag", "TrashBag"), Ownable { function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); } } // File: contracts/MasterChef.sol pragma solidity 0.7.4; // MasterChef is the master of Krill. He can make Krill 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 KRILL 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 KRILLs // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accKrillPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accKrillPerShare` (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. KRILLs to distribute per block. uint256 lastRewardBlock; // Last block number that KRILLs distribution occurs. uint256 accKrillPerShare; // Accumulated KRILLs per share, times 1e12. See below. uint16 depositFeeBP; // Deposit fee in basis points } // The KRILL TOKEN! Krill public krill; // Dev address. address public devaddr; // KRILL tokens created per block. uint256 public krillPerBlock; // Bonus muliplier for early krill makers. uint256 public constant BONUS_MULTIPLIER = 1; // Deposit Fee address address public feeAddress; // 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 KRILL 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 UpdateEmissionRate(address indexed user, uint256 goosePerBlock); constructor( Krill _krill, address _devaddr, address _feeAddress, uint256 _krillPerBlock, uint256 _startBlock ) public { krill = _krill; devaddr = _devaddr; feeAddress = _feeAddress; krillPerBlock = _krillPerBlock; startBlock = _startBlock; } 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, bool _withUpdate) public onlyOwner nonDuplicated(_lpToken) { require(_depositFeeBP <= 10000, "add: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolExistence[_lpToken] = true; poolInfo.push(PoolInfo({ lpToken : _lpToken, allocPoint : _allocPoint, lastRewardBlock : lastRewardBlock, accKrillPerShare : 0, depositFeeBP : _depositFeeBP })); } // Update the given pool's KRILL allocation point and deposit fee. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, bool _withUpdate) public onlyOwner { require(_depositFeeBP <= 10000, "set: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } 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 view returns (uint256) { return _to.sub(_from).mul(BONUS_MULTIPLIER); } // View function to see pending KRILLs on frontend. function pendingKrill(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accKrillPerShare = pool.accKrillPerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 krillReward = multiplier.mul(krillPerBlock).mul(pool.allocPoint).div(totalAllocPoint); accKrillPerShare = accKrillPerShare.add(krillReward.mul(1e12).div(lpSupply)); } return user.amount.mul(accKrillPerShare).div(1e12).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 krillReward = multiplier.mul(krillPerBlock).mul(pool.allocPoint).div(totalAllocPoint); krill.mint(devaddr, krillReward.div(10)); krill.mint(address(this), krillReward); pool.accKrillPerShare = pool.accKrillPerShare.add(krillReward.mul(1e12).div(lpSupply)); pool.lastRewardBlock = block.number; } // Deposit LP tokens to MasterChef for KRILL 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.accKrillPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { safeKrillTransfer(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); user.amount = user.amount.add(_amount).sub(depositFee); } else { user.amount = user.amount.add(_amount); } } user.rewardDebt = user.amount.mul(pool.accKrillPerShare).div(1e12); 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.accKrillPerShare).div(1e12).sub(user.rewardDebt); if (pending > 0) { safeKrillTransfer(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.accKrillPerShare).div(1e12); 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 krill transfer function, just in case if rounding error causes pool to not have enough KRILLs. function safeKrillTransfer(address _to, uint256 _amount) internal { uint256 krillBal = krill.balanceOf(address(this)); bool transferSuccess = false; if (_amount > krillBal) { transferSuccess = krill.transfer(_to, krillBal); } else { transferSuccess = krill.transfer(_to, _amount); } require(transferSuccess, "safeKrillTransfer: transfer failed"); } // Update dev address by the previous dev. function dev(address _devaddr) public { require(msg.sender == devaddr, "dev: wut?"); devaddr = _devaddr; emit SetDevAddress(msg.sender, _devaddr); } function setFeeAddress(address _feeAddress) public { require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN"); feeAddress = _feeAddress; emit SetFeeAddress(msg.sender, _feeAddress); } //Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all. function updateEmissionRate(uint256 _krillPerBlock) public onlyOwner { massUpdatePools(); krillPerBlock = _krillPerBlock; emit UpdateEmissionRate(msg.sender, _krillPerBlock); } //Only update before start of farm function updateStartBlock(uint256 _startBlock) public onlyOwner { startBlock = _startBlock; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract Krill","name":"_krill","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_krillPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","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":"goosePerBlock","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"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":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"krill","outputs":[{"internalType":"contract Krill","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"krillPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingKrill","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":"accKrillPerShare","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"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","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":"_krillPerBlock","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":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600060085534801561001557600080fd5b50604051611f60380380611f60833981810160405260a081101561003857600080fd5b5080516020820151604083015160608401516080909401519293919290919060006100616100fb565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600280546001600160a01b03199081166001600160a01b0397881617909155600380548216958716959095179094556005805490941692909416919091179091556004556009556100ff565b3390565b611e528061010e6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806384e82a33116100f957806393f1a40b11610097578063d963842211610071578063d96384221461045e578063e2bbb15814610493578063f2fde38b146104b6578063fac2b9ba146104dc576101a9565b806393f1a40b146103d7578063cbd258b51461041c578063d49e77cd14610456576101a9565b80638d88a90e116100d35780638d88a90e1461035a5780638da5cb5b146103805780638dbb1e3a146103885780638e8205bb146103ab576101a9565b806384e82a33146102ee5780638705fcd41461032c5780638aa2855014610352576101a9565b8063441a3e70116101665780635312ea8e116101405780635312ea8e146102b957806353b24d69146102d6578063630b5ba1146102de578063715018a6146102e6576101a9565b8063441a3e701461027157806348cd4cb11461029457806351eb05a61461029c576101a9565b8063081e3eda146101ae5780630ba84cd2146101c85780631526fe27146101e757806317caf6f11461023d57806337ea9348146102455780634127535814610269575b600080fd5b6101b66104f9565b60408051918252519081900360200190f35b6101e5600480360360208110156101de57600080fd5b50356104ff565b005b610204600480360360208110156101fd57600080fd5b50356105a7565b604080516001600160a01b039096168652602086019490945284840192909252606084015261ffff166080830152519081900360a00190f35b6101b66105f6565b61024d6105fc565b604080516001600160a01b039092168252519081900360200190f35b61024d61060b565b6101e56004803603604081101561028757600080fd5b508035906020013561061a565b6101b66107dd565b6101e5600480360360208110156102b257600080fd5b50356107e3565b6101e5600480360360208110156102cf57600080fd5b5035610a19565b6101b6610b19565b6101e5610b1f565b6101e5610b42565b6101e56004803603608081101561030457600080fd5b508035906001600160a01b036020820135169061ffff60408201351690606001351515610bee565b6101e56004803603602081101561034257600080fd5b50356001600160a01b0316610e84565b6101b6610f2f565b6101e56004803603602081101561037057600080fd5b50356001600160a01b0316610f34565b61024d610fcb565b6101b66004803603604081101561039e57600080fd5b5080359060200135610fda565b6101b6600480360360408110156103c157600080fd5b50803590602001356001600160a01b0316610ff4565b610403600480360360408110156103ed57600080fd5b50803590602001356001600160a01b0316611152565b6040805192835260208301919091528051918290030190f35b6104426004803603602081101561043257600080fd5b50356001600160a01b0316611176565b604080519115158252519081900360200190f35b61024d61118b565b6101e56004803603608081101561047457600080fd5b5080359060208101359061ffff6040820135169060600135151561119a565b6101e5600480360360408110156104a957600080fd5b50803590602001356112f4565b6101e5600480360360208110156104cc57600080fd5b50356001600160a01b03166114d0565b6101e5600480360360208110156104f257600080fd5b50356115d2565b60065490565b610507611639565b6001600160a01b0316610518610fcb565b6001600160a01b031614610561576040805162461bcd60e51b81526020600482018190526024820152600080516020611dd3833981519152604482015290519081900360640190fd5b610569610b1f565b600481905560408051828152905133917fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053919081900360200190a250565b600681815481106105b757600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909161ffff1685565b60085481565b6002546001600160a01b031681565b6005546001600160a01b031681565b60026001541415610672576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555060006006838154811061068957fe5b6000918252602080832086845260078252604080852033865290925292208054600590920290920192508311156106fc576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610705846107e3565b600061073f826001015461073964e8d4a510006107338760030154876000015461163d90919063ffffffff16565b90611696565b906116fd565b9050801561075157610751338261175a565b831561077b57815461076390856116fd565b8255825461077b906001600160a01b0316338661192d565b600383015482546107969164e8d4a51000916107339161163d565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505060018055505050565b60095481565b6000600682815481106107f257fe5b90600052602060002090600502019050806002015443116108135750610a16565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561085d57600080fd5b505afa158015610871573d6000803e3d6000fd5b505050506040513d602081101561088757600080fd5b5051905080158061089a57506001820154155b156108ac575043600290910155610a16565b60006108bc836002015443610fda565b905060006108e960085461073386600101546108e36004548761163d90919063ffffffff16565b9061163d565b6002546003549192506001600160a01b03908116916340c10f19911661091084600a611696565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561095657600080fd5b505af115801561096a573d6000803e3d6000fd5b5050600254604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b1580156109c157600080fd5b505af11580156109d5573d6000803e3d6000fd5b50505050610a036109f88461073364e8d4a510008561163d90919063ffffffff16565b600386015490611984565b6003850155505043600290920191909155505b50565b60026001541415610a71576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600181905550600060068281548110610a8857fe5b600091825260208083208584526007825260408085203380875293528420805485825560018201959095556005909302018054909450919291610ad8916001600160a01b0391909116908361192d565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a35050600180555050565b60045481565b60065460005b81811015610b3e57610b36816107e3565b600101610b25565b5050565b610b4a611639565b6001600160a01b0316610b5b610fcb565b6001600160a01b031614610ba4576040805162461bcd60e51b81526020600482018190526024820152600080516020611dd3833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610bf6611639565b6001600160a01b0316610c07610fcb565b6001600160a01b031614610c50576040805162461bcd60e51b81526020600482018190526024820152600080516020611dd3833981519152604482015290519081900360640190fd5b6001600160a01b0383166000908152600a6020526040902054839060ff1615610cc0576040805162461bcd60e51b815260206004820152601960248201527f6e6f6e4475706c6963617465643a206475706c69636174656400000000000000604482015290519081900360640190fd5b6127108361ffff161115610d055760405162461bcd60e51b8152600401808060200182810382526025815260200180611cfa6025913960400191505060405180910390fd5b8115610d1357610d13610b1f565b60006009544311610d2657600954610d28565b435b600854909150610d389087611984565b6008556001600160a01b039485166000818152600a602090815260408083208054600160ff199091168117909155815160a081018352948552918401998a5283019384526060830182815261ffff9788166080850190815260068054938401815590935292517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f600590920291820180546001600160a01b031916919099161790975596517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4087015590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d41860155517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d42850155505091517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d43909101805461ffff191691909216179055565b6005546001600160a01b03163314610ee3576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b03831690811790915560405133907fd44190acf9d04bdb5d3a1aafff7e6dee8b40b93dfb8c5d3f0eea4b9f4539c3f790600090a350565b600181565b6003546001600160a01b03163314610f7f576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b03831690811790915560405133907f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e790600090a350565b6000546001600160a01b031690565b6000610feb60016108e384866116fd565b90505b92915050565b6000806006848154811061100457fe5b600091825260208083208784526007825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b15801561107e57600080fd5b505afa158015611092573d6000803e3d6000fd5b505050506040513d60208110156110a857600080fd5b50516002850154909150431180156110bf57508015155b1561111f5760006110d4856002015443610fda565b905060006110fb60085461073388600101546108e36004548761163d90919063ffffffff16565b905061111a611113846107338464e8d4a5100061163d565b8590611984565b935050505b611147836001015461073964e8d4a5100061073386886000015461163d90919063ffffffff16565b979650505050505050565b60076020908152600092835260408084209091529082529020805460019091015482565b600a6020526000908152604090205460ff1681565b6003546001600160a01b031681565b6111a2611639565b6001600160a01b03166111b3610fcb565b6001600160a01b0316146111fc576040805162461bcd60e51b81526020600482018190526024820152600080516020611dd3833981519152604482015290519081900360640190fd5b6127108261ffff1611156112415760405162461bcd60e51b8152600401808060200182810382526025815260200180611dae6025913960400191505060405180910390fd5b801561124f5761124f610b1f565b61128c836112866006878154811061126357fe5b9060005260206000209060050201600101546008546116fd90919063ffffffff16565b90611984565b60088190555082600685815481106112a057fe5b90600052602060002090600502016001018190555081600685815481106112c357fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff16021790555050505050565b6002600154141561134c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555060006006838154811061136357fe5b60009182526020808320868452600782526040808520338652909252922060059091029091019150611394846107e3565b8054156113dd5760006113c9826001015461073964e8d4a510006107338760030154876000015461163d90919063ffffffff16565b905080156113db576113db338261175a565b505b821561146f5781546113fa906001600160a01b03163330866119de565b600482015461ffff1615611460576004820154600090611427906127109061073390879061ffff1661163d565b6005548454919250611446916001600160a01b0390811691168361192d565b81546114589082906107399087611984565b82555061146f565b805461146c9084611984565b81555b6003820154815461148a9164e8d4a51000916107339161163d565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050600180555050565b6114d8611639565b6001600160a01b03166114e9610fcb565b6001600160a01b031614611532576040805162461bcd60e51b81526020600482018190526024820152600080516020611dd3833981519152604482015290519081900360640190fd5b6001600160a01b0381166115775760405162461bcd60e51b8152600401808060200182810382526026815260200180611d1f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6115da611639565b6001600160a01b03166115eb610fcb565b6001600160a01b031614611634576040805162461bcd60e51b81526020600482018190526024820152600080516020611dd3833981519152604482015290519081900360640190fd5b600955565b3390565b60008261164c57506000610fee565b8282028284828161165957fe5b0414610feb5760405162461bcd60e51b8152600401808060200182810382526021815260200180611d8d6021913960400191505060405180910390fd5b60008082116116ec576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816116f557fe5b049392505050565b600082821115611754576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156117a557600080fd5b505afa1580156117b9573d6000803e3d6000fd5b505050506040513d60208110156117cf57600080fd5b50519050600081831115611866576002546040805163a9059cbb60e01b81526001600160a01b038781166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561183357600080fd5b505af1158015611847573d6000803e3d6000fd5b505050506040513d602081101561185d57600080fd5b505190506118eb565b6002546040805163a9059cbb60e01b81526001600160a01b038781166004830152602482018790529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156118bc57600080fd5b505af11580156118d0573d6000803e3d6000fd5b505050506040513d60208110156118e657600080fd5b505190505b806119275760405162461bcd60e51b8152600401808060200182810382526022815260200180611d456022913960400191505060405180910390fd5b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261197f908490611a34565b505050565b600082820183811015610feb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526119279085905b6060611a89826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611ae59092919063ffffffff16565b80519091501561197f57808060200190516020811015611aa857600080fd5b505161197f5760405162461bcd60e51b815260040180806020018281038252602a815260200180611df3602a913960400191505060405180910390fd5b6060611af48484600085611afe565b90505b9392505050565b606082471015611b3f5760405162461bcd60e51b8152600401808060200182810382526026815260200180611d676026913960400191505060405180910390fd5b611b4885611c4f565b611b99576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611bd85780518252601f199092019160209182019101611bb9565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611c3a576040519150601f19603f3d011682016040523d82523d6000602084013e611c3f565b606091505b5091509150611147828286611c55565b3b151590565b60608315611c64575081611af7565b825115611c745782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cbe578181015183820152602001611ca6565b50505050905090810190601f168015611ceb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373736166654b72696c6c5472616e736665723a207472616e73666572206661696c6564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220308e13467782466440039c9a037bcc0382a2ef3b7561ad37094eaa6fc020881e64736f6c6343000704003300000000000000000000000005089c9ebffa4f0aca269e32056b1b36b37ed71b00000000000000000000000061e7c705c3cee721fc2654e457524c18963fae19000000000000000000000000106f37cca8e5b0e4a013344237e3f831092bc9b70000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000d01d4a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000005089c9ebffa4f0aca269e32056b1b36b37ed71b00000000000000000000000061e7c705c3cee721fc2654e457524c18963fae19000000000000000000000000106f37cca8e5b0e4a013344237e3f831092bc9b70000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000d01d4a
-----Decoded View---------------
Arg [0] : _krill (address): 0x05089c9ebffa4f0aca269e32056b1b36b37ed71b
Arg [1] : _devaddr (address): 0x61e7c705c3cee721fc2654e457524c18963fae19
Arg [2] : _feeAddress (address): 0x106f37cca8e5b0e4a013344237e3f831092bc9b7
Arg [3] : _krillPerBlock (uint256): 1000000000000000000
Arg [4] : _startBlock (uint256): 13638986
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000005089c9ebffa4f0aca269e32056b1b36b37ed71b
Arg [1] : 00000000000000000000000061e7c705c3cee721fc2654e457524c18963fae19
Arg [2] : 000000000000000000000000106f37cca8e5b0e4a013344237e3f831092bc9b7
Arg [3] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000d01d4a
Deployed ByteCode Sourcemap
39789:10813:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42806:95;;;:::i;:::-;;;;;;;;;;;;;;;;50236:208;;;;;;;;;;;;;;;;-1:-1:-1;50236:208:0;;:::i;:::-;;41611:26;;;;;;;;;;;;;;;;-1:-1:-1;41611:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;41611:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41852:34;;;:::i;41273:18::-;;;:::i;:::-;;;;-1:-1:-1;;;;;41273:18:0;;;;;;;;;;;;;;41550:25;;;:::i;47865:758::-;;;;;;;;;;;;;;;;-1:-1:-1;47865:758:0;;;;;;;:::i;41944:25::-;;;:::i;45854:814::-;;;;;;;;;;;;;;;;-1:-1:-1;45854:814:0;;:::i;48694:398::-;;;;;;;;;;;;;;;;-1:-1:-1;48694:398:0;;:::i;41388:28::-;;;:::i;45598:180::-;;;:::i;24799:148::-;;;:::i;43176:711::-;;;;;;;;;;;;;;;;-1:-1:-1;43176:711:0;;;-1:-1:-1;;;;;43176:711:0;;;;;;;;;;;;;;;;;;;:::i;49885:220::-;;;;;;;;;;;;;;;;-1:-1:-1;49885:220:0;-1:-1:-1;;;;;49885:220:0;;:::i;41471:44::-;;;:::i;49697:180::-;;;;;;;;;;;;;;;;-1:-1:-1;49697:180:0;-1:-1:-1;;;;;49697:180:0;;:::i;24148:87::-;;;:::i;44539:143::-;;;;;;;;;;;;;;;;-1:-1:-1;44539:143:0;;;;;;;:::i;44747:768::-;;;;;;;;;;;;;;;;-1:-1:-1;44747:768:0;;;;;;-1:-1:-1;;;;;44747:768:0;;:::i;41693:64::-;;;;;;;;;;;;;;;;-1:-1:-1;41693:64:0;;;;;;-1:-1:-1;;;;;41693:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;42909:44;;;;;;;;;;;;;;;;-1:-1:-1;42909:44:0;-1:-1:-1;;;;;42909:44:0;;:::i;:::-;;;;;;;;;;;;;;;;;;41319:22;;;:::i;44000:463::-;;;;;;;;;;;;;;;;-1:-1:-1;44000:463:0;;;;;;;;;;;;;;;;;;;;;:::i;46738:1075::-;;;;;;;;;;;;;;;;-1:-1:-1;46738:1075:0;;;;;;;:::i;25102:244::-;;;;;;;;;;;;;;;;-1:-1:-1;25102:244:0;-1:-1:-1;;;;;25102:244:0;;:::i;50492:107::-;;;;;;;;;;;;;;;;-1:-1:-1;50492:107:0;;:::i;42806:95::-;42878:8;:15;42806:95;:::o;50236:208::-;24379:12;:10;:12::i;:::-;-1:-1:-1;;;;;24368:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24368:23:0;;24360:68;;;;;-1:-1:-1;;;24360:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24360:68:0;;;;;;;;;;;;;;;50316:17:::1;:15;:17::i;:::-;50344:13;:30:::0;;;50390:46:::1;::::0;;;;;;;50409:10:::1;::::0;50390:46:::1;::::0;;;;;::::1;::::0;;::::1;50236:208:::0;:::o;41611:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41611:26:0;;;;-1:-1:-1;41611:26:0;;;;;;;:::o;41852:34::-;;;;:::o;41273:18::-;;;-1:-1:-1;;;;;41273:18:0;;:::o;41550:25::-;;;-1:-1:-1;;;;;41550:25:0;;:::o;47865:758::-;27105:1;27711:7;;:19;;27703:63;;;;;-1:-1:-1;;;27703:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27105:1;27844:7;:18;;;;47945:21:::1;47969:8;47978:4;47969:14;;;;;;;;;::::0;;;::::1;::::0;;;48018;;;:8:::1;:14:::0;;;;;;48033:10:::1;48018:26:::0;;;;;;;48063:11;;47969:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;48063:22:0;-1:-1:-1;48063:22:0::1;48055:53;;;::::0;;-1:-1:-1;;;48055:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;48055:53:0;;;;;;;;;;;;;::::1;;48119:16;48130:4;48119:10;:16::i;:::-;48146:15;48164:69;48217:4;:15;;;48164:48;48207:4;48164:38;48180:4;:21;;;48164:4;:11;;;:15;;:38;;;;:::i;:::-;:42:::0;::::1;:48::i;:::-;:52:::0;::::1;:69::i;:::-;48146:87:::0;-1:-1:-1;48248:11:0;;48244:82:::1;;48276:38;48294:10;48306:7;48276:17;:38::i;:::-;48340:11:::0;;48336:152:::1;;48382:11:::0;;:24:::1;::::0;48398:7;48382:15:::1;:24::i;:::-;48368:38:::0;;48421:12;;:55:::1;::::0;-1:-1:-1;;;;;48421:12:0::1;48455:10;48468:7:::0;48421:25:::1;:55::i;:::-;48532:21;::::0;::::1;::::0;48516:11;;:48:::1;::::0;48559:4:::1;::::0;48516:38:::1;::::0;:15:::1;:38::i;:48::-;48498:15;::::0;::::1;:66:::0;48580:35:::1;::::0;;;;;;;48601:4;;48589:10:::1;::::0;48580:35:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;27061:1:0;28023:22;;-1:-1:-1;;;47865:758:0:o;41944:25::-;;;;:::o;45854:814::-;45906:21;45930:8;45939:4;45930:14;;;;;;;;;;;;;;;;;;45906:38;;45975:4;:20;;;45959:12;:36;45955:75;;46012:7;;;45955:75;46059:12;;:37;;;-1:-1:-1;;;46059:37:0;;46090:4;46059:37;;;;;;46040:16;;-1:-1:-1;;;;;46059:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46059:37:0;;-1:-1:-1;46111:13:0;;;:37;;-1:-1:-1;46128:15:0;;;;:20;46111:37;46107:126;;;-1:-1:-1;46188:12:0;46165:20;;;;:35;46215:7;;46107:126;46243:18;46264:49;46278:4;:20;;;46300:12;46264:13;:49::i;:::-;46243:70;;46324:19;46346:71;46401:15;;46346:50;46380:4;:15;;;46346:29;46361:13;;46346:10;:14;;:29;;;;:::i;:::-;:33;;:50::i;:71::-;46428:5;;46439:7;;46324:93;;-1:-1:-1;;;;;;46428:5:0;;;;:10;;46439:7;46448:19;46324:93;46464:2;46448:15;:19::i;:::-;46428:40;;;;;;;;;;;;;-1:-1:-1;;;;;46428:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46479:5:0;;:38;;;-1:-1:-1;;;46479:38:0;;46498:4;46479:38;;;;;;;;;;;;-1:-1:-1;;;;;46479:5:0;;;;-1:-1:-1;46479:10:0;;-1:-1:-1;46479:38:0;;;;;:5;;:38;;;;;;;;:5;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46552:62;46578:35;46604:8;46578:21;46594:4;46578:11;:15;;:21;;;;:::i;:35::-;46552:21;;;;;:25;:62::i;:::-;46528:21;;;:86;-1:-1:-1;;46648:12:0;46625:20;;;;:35;;;;-1:-1:-1;45854:814:0;;:::o;48694:398::-;27105:1;27711:7;;:19;;27703:63;;;;;-1:-1:-1;;;27703:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27105:1;27844:7;:18;;;;48766:21:::1;48790:8;48799:4;48790:14;;;;;;;;;::::0;;;::::1;::::0;;;48839;;;:8:::1;:14:::0;;;;;;48854:10:::1;48839:26:::0;;;;;;;48893:11;;48915:15;;;-1:-1:-1;48941:15:0;::::1;:19:::0;;;;48790:14:::1;::::0;;::::1;;48971:12:::0;;48790:14;;-1:-1:-1;48839:26:0;;48893:11;48971:54:::1;::::0;-1:-1:-1;;;;;48971:12:0;;;::::1;::::0;48893:11;48971:25:::1;:54::i;:::-;49041:43;::::0;;;;;;;49071:4;;49059:10:::1;::::0;49041:43:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;27061:1:0;28023:22;;-1:-1:-1;;48694:398:0:o;41388:28::-;;;;:::o;45598:180::-;45660:8;:15;45643:14;45686:85;45714:6;45708:3;:12;45686:85;;;45744:15;45755:3;45744:10;:15::i;:::-;45722:5;;45686:85;;;;45598:180;:::o;24799:148::-;24379:12;:10;:12::i;:::-;-1:-1:-1;;;;;24368:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24368:23:0;;24360:68;;;;;-1:-1:-1;;;24360:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24360:68:0;;;;;;;;;;;;;;;24906:1:::1;24890:6:::0;;24869:40:::1;::::0;-1:-1:-1;;;;;24890:6:0;;::::1;::::0;24869:40:::1;::::0;24906:1;;24869:40:::1;24937:1;24920:19:::0;;-1:-1:-1;;;;;;24920:19:0::1;::::0;;24799:148::o;43176:711::-;24379:12;:10;:12::i;:::-;-1:-1:-1;;;;;24368:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24368:23:0;;24360:68;;;;;-1:-1:-1;;;24360:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24360:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;43019:23:0;::::1;;::::0;;;:13:::1;:23;::::0;;;;;43298:8;;43019:23:::1;;:32;43011:70;;;::::0;;-1:-1:-1;;;43011:70:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;43344:5:::2;43327:13;:22;;;;43319:72;;;;-1:-1:-1::0;;;43319:72:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43406:11;43402:61;;;43434:17;:15;:17::i;:::-;43473:23;43514:10;;43499:12;:25;:53;;43542:10;;43499:53;;;43527:12;43499:53;43581:15;::::0;43473:79;;-1:-1:-1;43581:32:0::2;::::0;43601:11;43581:19:::2;:32::i;:::-;43563:15;:50:::0;-1:-1:-1;;;;;43624:23:0;;::::2;;::::0;;;:13:::2;:23;::::0;;;;;;;:30;;43650:4:::2;-1:-1:-1::0;;43624:30:0;;::::2;::::0;::::2;::::0;;;43679:199;;::::2;::::0;::::2;::::0;;;;;;;::::2;::::0;;;;;;;;;;;;;;::::2;::::0;;::::2;::::0;;;;;;43665:8:::2;:214:::0;;;;::::2;::::0;;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;-1:-1:-1;;;;;;43665:214:0::2;::::0;;;::::2;;::::0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;43665:214:0;;;;;;;;-1:-1:-1;;43665:214:0::2;::::0;;;::::2;;::::0;;43176:711::o;49885:220::-;49969:10;;-1:-1:-1;;;;;49969:10:0;49955;:24;49947:61;;;;;-1:-1:-1;;;49947:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;50019:10;:24;;-1:-1:-1;;;;;;50019:24:0;-1:-1:-1;;;;;50019:24:0;;;;;;;;50059:38;;50073:10;;50059:38;;-1:-1:-1;;50059:38:0;49885:220;:::o;41471:44::-;41514:1;41471:44;:::o;49697:180::-;49768:7;;-1:-1:-1;;;;;49768:7:0;49754:10;:21;49746:43;;;;;-1:-1:-1;;;49746:43:0;;;;;;;;;;;;-1:-1:-1;;;49746:43:0;;;;;;;;;;;;;;;49800:7;:18;;-1:-1:-1;;;;;;49800:18:0;-1:-1:-1;;;;;49800:18:0;;;;;;;;49834:35;;49848:10;;49834:35;;-1:-1:-1;;49834:35:0;49697:180;:::o;24148:87::-;24194:7;24221:6;-1:-1:-1;;;;;24221:6:0;24148:87;:::o;44539:143::-;44611:7;44638:36;41514:1;44638:14;:3;44646:5;44638:7;:14::i;:36::-;44631:43;;44539:143;;;;;:::o;44747:768::-;44821:7;44841:21;44865:8;44874:4;44865:14;;;;;;;;;;;;;;;;44914;;;:8;:14;;;;;;-1:-1:-1;;;;;44914:21:0;;;;;;;;;;;44865:14;;;;;;;;44973:21;;;;45024:12;;:37;;-1:-1:-1;;;45024:37:0;;45055:4;45024:37;;;;;;44865:14;;-1:-1:-1;44914:21:0;;44973;;44865:14;;45024:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45024:37:0;45091:20;;;;45024:37;;-1:-1:-1;45076:12:0;:35;:52;;;;-1:-1:-1;45115:13:0;;;45076:52;45072:354;;;45145:18;45166:49;45180:4;:20;;;45202:12;45166:13;:49::i;:::-;45145:70;;45230:19;45252:71;45307:15;;45252:50;45286:4;:15;;;45252:29;45267:13;;45252:10;:14;;:29;;;;:::i;:71::-;45230:93;-1:-1:-1;45357:57:0;45378:35;45404:8;45378:21;45230:93;45394:4;45378:15;:21::i;:35::-;45357:16;;:20;:57::i;:::-;45338:76;;45072:354;;;45443:64;45491:4;:15;;;45443:43;45481:4;45443:33;45459:16;45443:4;:11;;;:15;;:33;;;;:::i;:64::-;45436:71;44747:768;-1:-1:-1;;;;;;;44747:768:0:o;41693:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42909:44::-;;;;;;;;;;;;;;;:::o;41319:22::-;;;-1:-1:-1;;;;;41319:22:0;;:::o;44000:463::-;24379:12;:10;:12::i;:::-;-1:-1:-1;;;;;24368:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24368:23:0;;24360:68;;;;;-1:-1:-1;;;24360:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24360:68:0;;;;;;;;;;;;;;;44141:5:::1;44124:13;:22;;;;44116:72;;;;-1:-1:-1::0;;;44116:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44203:11;44199:61;;;44231:17;:15;:17::i;:::-;44288:63;44339:11;44288:46;44308:8;44317:4;44308:14;;;;;;;;;;;;;;;;;;:25;;;44288:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;44270:15;:81;;;;44390:11;44362:8;44371:4;44362:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;44442:13;44412:8;44421:4;44412:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;44000:463:::0;;;;:::o;46738:1075::-;27105:1;27711:7;;:19;;27703:63;;;;;-1:-1:-1;;;27703:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27105:1;27844:7;:18;;;;46817:21:::1;46841:8;46850:4;46841:14;;;;;;;;;::::0;;;::::1;::::0;;;46890;;;:8:::1;:14:::0;;;;;;46905:10:::1;46890:26:::0;;;;;;;46841:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;46927:16:0::1;46899:4:::0;46927:10:::1;:16::i;:::-;46958:11:::0;;:15;46954:239:::1;;46990:15;47008:69;47061:4;:15;;;47008:48;47051:4;47008:38;47024:4;:21;;;47008:4;:11;;;:15;;:38;;;;:::i;:69::-;46990:87:::0;-1:-1:-1;47096:11:0;;47092:90:::1;;47128:38;47146:10;47158:7;47128:17;:38::i;:::-;46954:239;;47207:11:::0;;47203:476:::1;;47235:12:::0;;:74:::1;::::0;-1:-1:-1;;;;;47235:12:0::1;47273:10;47294:4;47301:7:::0;47235:29:::1;:74::i;:::-;47328:17;::::0;::::1;::::0;::::1;;:21:::0;47324:344:::1;;47403:17;::::0;::::1;::::0;47370:18:::1;::::0;47391:41:::1;::::0;47426:5:::1;::::0;47391:30:::1;::::0;:7;;47403:17:::1;;47391:11;:30::i;:41::-;47477:10;::::0;47451:12;;47370:62;;-1:-1:-1;47451:49:0::1;::::0;-1:-1:-1;;;;;47451:12:0;;::::1;::::0;47477:10:::1;47370:62:::0;47451:25:::1;:49::i;:::-;47533:11:::0;;:40:::1;::::0;47562:10;;47533:24:::1;::::0;47549:7;47533:15:::1;:24::i;:40::-;47519:54:::0;;-1:-1:-1;47324:344:0::1;;;47628:11:::0;;:24:::1;::::0;47644:7;47628:15:::1;:24::i;:::-;47614:38:::0;;47324:344:::1;47723:21;::::0;::::1;::::0;47707:11;;:48:::1;::::0;47750:4:::1;::::0;47707:38:::1;::::0;:15:::1;:38::i;:48::-;47689:15;::::0;::::1;:66:::0;47771:34:::1;::::0;;;;;;;47791:4;;47779:10:::1;::::0;47771:34:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;27061:1:0;28023:22;;-1:-1:-1;;46738:1075:0:o;25102:244::-;24379:12;:10;:12::i;:::-;-1:-1:-1;;;;;24368:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24368:23:0;;24360:68;;;;;-1:-1:-1;;;24360:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24360:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;25191:22:0;::::1;25183:73;;;;-1:-1:-1::0;;;25183:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25293:6;::::0;;25272:38:::1;::::0;-1:-1:-1;;;;;25272:38:0;;::::1;::::0;25293:6;::::1;::::0;25272:38:::1;::::0;::::1;25321:6;:17:::0;;-1:-1:-1;;;;;;25321:17:0::1;-1:-1:-1::0;;;;;25321:17:0;;;::::1;::::0;;;::::1;::::0;;25102:244::o;50492:107::-;24379:12;:10;:12::i;:::-;-1:-1:-1;;;;;24368:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24368:23:0;;24360:68;;;;;-1:-1:-1;;;24360:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24360:68:0;;;;;;;;;;;;;;;50567:10:::1;:24:::0;50492:107::o;22683:106::-;22771:10;22683:106;:::o;3676:220::-;3734:7;3758:6;3754:20;;-1:-1:-1;3773:1:0;3766:8;;3754:20;3797:5;;;3801:1;3797;:5;:1;3821:5;;;;;:10;3813:56;;;;-1:-1:-1;;;3813:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4374:153;4432:7;4464:1;4460;:5;4452:44;;;;;-1:-1:-1;;;4452:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4518:1;4514;:5;;;;;;;4374:153;-1:-1:-1;;;4374:153:0:o;3259:158::-;3317:7;3350:1;3345;:6;;3337:49;;;;;-1:-1:-1;;;3337:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3404:5:0;;;3259:158::o;49208:433::-;49304:5;;:30;;;-1:-1:-1;;;49304:30:0;;49328:4;49304:30;;;;;;49285:16;;-1:-1:-1;;;;;49304:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49304:30:0;;-1:-1:-1;49345:20:0;49388:18;;;49384:177;;;49441:5;;:29;;;-1:-1:-1;;;49441:29:0;;-1:-1:-1;;;;;49441:29:0;;;;;;;;;;;;;;;:5;;;;;:14;;:29;;;;;;;;;;;;;;:5;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49441:29:0;;-1:-1:-1;49384:177:0;;;49521:5;;:28;;;-1:-1:-1;;;49521:28:0;;-1:-1:-1;;;;;49521:28:0;;;;;;;;;;;;;;;:5;;;;;:14;;:28;;;;;;;;;;;;;;:5;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49521:28:0;;-1:-1:-1;49384:177:0;49579:15;49571:62;;;;-1:-1:-1;;;49571:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49208:433;;;;:::o;18974:177::-;19084:58;;;-1:-1:-1;;;;;19084:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19084:58:0;-1:-1:-1;;;19084:58:0;;;19057:86;;19077:5;;19057:19;:86::i;:::-;18974:177;;;:::o;2797:179::-;2855:7;2887:5;;;2911:6;;;;2903:46;;;;;-1:-1:-1;;;2903:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;19159:205;19287:68;;;-1:-1:-1;;;;;19287:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19287:68:0;-1:-1:-1;;;19287:68:0;;;19260:96;;19280:5;;21279:761;21703:23;21729:69;21757:4;21729:69;;;;;;;;;;;;;;;;;21737:5;-1:-1:-1;;;;;21729:27:0;;;:69;;;;;:::i;:::-;21813:17;;21703:95;;-1:-1:-1;21813:21:0;21809:224;;21955:10;21944:30;;;;;;;;;;;;;;;-1:-1:-1;21944:30:0;21936:85;;;;-1:-1:-1;;;21936:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13967:195;14070:12;14102:52;14124:6;14132:4;14138:1;14141:12;14102:21;:52::i;:::-;14095:59;;13967:195;;;;;;:::o;15019:530::-;15146:12;15204:5;15179:21;:30;;15171:81;;;;-1:-1:-1;;;15171:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15271:18;15282:6;15271:10;:18::i;:::-;15263:60;;;;;-1:-1:-1;;;15263:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15397:12;15411:23;15438:6;-1:-1:-1;;;;;15438:11:0;15458:5;15466:4;15438:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15438:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15396:75;;;;15489:52;15507:7;15516:10;15528:12;15489:17;:52::i;11049:422::-;11416:20;11455:8;;;11049:422::o;17559:742::-;17674:12;17703:7;17699:595;;;-1:-1:-1;17734:10:0;17727:17;;17699:595;17848:17;;:21;17844:439;;18111:10;18105:17;18172:15;18159:10;18155:2;18151:19;18144:44;18059:148;18254:12;18247:20;;-1:-1:-1;;;18247:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://308e13467782466440039c9a037bcc0382a2ef3b7561ad37094eaa6fc020881e
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.