More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 101 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Emergency Withdr... | 14999142 | 989 days ago | IN | 0 ETH | 0.00254306 | ||||
Emergency Withdr... | 14999135 | 989 days ago | IN | 0 ETH | 0.00232901 | ||||
Emergency Withdr... | 14950050 | 997 days ago | IN | 0 ETH | 0.00139861 | ||||
Deposit | 14949907 | 997 days ago | IN | 0 ETH | 0.00236398 | ||||
Set Is Base Toke... | 14949904 | 997 days ago | IN | 0 ETH | 0.00051048 | ||||
Update Emission ... | 14949893 | 997 days ago | IN | 0 ETH | 0.00193303 | ||||
Deposit | 14763564 | 1028 days ago | IN | 0 ETH | 0.00447313 | ||||
Emergency Withdr... | 14759692 | 1028 days ago | IN | 0 ETH | 0.01840782 | ||||
Emergency Withdr... | 14759686 | 1028 days ago | IN | 0 ETH | 0.0158175 | ||||
Emergency Withdr... | 14742744 | 1031 days ago | IN | 0 ETH | 0.00426806 | ||||
Emergency Withdr... | 14724139 | 1034 days ago | IN | 0 ETH | 0.00501566 | ||||
Emergency Withdr... | 14711479 | 1036 days ago | IN | 0 ETH | 0.00455346 | ||||
Emergency Withdr... | 14711408 | 1036 days ago | IN | 0 ETH | 0.00457554 | ||||
Emergency Withdr... | 14705561 | 1037 days ago | IN | 0 ETH | 0.00368246 | ||||
Emergency Withdr... | 14704497 | 1037 days ago | IN | 0 ETH | 0.00499373 | ||||
Emergency Withdr... | 14702763 | 1037 days ago | IN | 0 ETH | 0.00508149 | ||||
Emergency Withdr... | 14701743 | 1038 days ago | IN | 0 ETH | 0.00522875 | ||||
Emergency Withdr... | 14697385 | 1038 days ago | IN | 0 ETH | 0.00415487 | ||||
Emergency Withdr... | 14694614 | 1039 days ago | IN | 0 ETH | 0.00571464 | ||||
Emergency Withdr... | 14693294 | 1039 days ago | IN | 0 ETH | 0.00523757 | ||||
Emergency Withdr... | 14693046 | 1039 days ago | IN | 0 ETH | 0.00745343 | ||||
Emergency Withdr... | 14693001 | 1039 days ago | IN | 0 ETH | 0.00358575 | ||||
Emergency Withdr... | 14692422 | 1039 days ago | IN | 0 ETH | 0.00464872 | ||||
Emergency Withdr... | 14692398 | 1039 days ago | IN | 0 ETH | 0.00531524 | ||||
Emergency Withdr... | 14692123 | 1039 days ago | IN | 0 ETH | 0.00357072 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
HootyNest
Compiler Version
v0.7.4+commit.3f05b770
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-04-29 */ // SPDX-License-Identifier: MIT 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 { } } contract HootyNest is ERC20, Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; uint256 rewardDebt; } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. Rewards to distribute per block. uint256 lastRewardBlock; // Last block number that tokens distribution occurs. uint256 accRewardTokenPerShare; // Accumulated tokens per share, times 1e12. See below. uint16 depositFeeBP; // Deposit fee in basis points } // The REWARD TOKEN! IERC20 public rewardToken; // Dev address. address payable public devaddr; // Reward tokens distributed per block. uint256 public rewardTokenPerBlock; // Bonus muliplier for early stakers. uint256 public constant BONUS_MULTIPLIER = 1; // Deposit Fee address address public feeAddress; // Base Token reward bool bool public isBaseToken; // 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 reward distribution 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); constructor( IERC20 _rewardToken, address payable _devaddr, address _feeAddress, uint256 _rewardTokenPerBlock, uint256 _startBlock, string memory _name, string memory _symbol ) public ERC20(_name, _symbol) { rewardToken = _rewardToken; devaddr = _devaddr; feeAddress = _feeAddress; rewardTokenPerBlock = _rewardTokenPerBlock; startBlock = _startBlock; } receive() external payable { } function poolLength() external view returns (uint256) { return poolInfo.length; } // Add a new lp to the pool. Can only be called by the owner. // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do. function add(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP, bool _withUpdate) public onlyOwner { require(_depositFeeBP <= 10000, "add: invalid deposit fee basis points"); if (_withUpdate) { massUpdatePools(); } uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolInfo.push(PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardBlock: lastRewardBlock, accRewardTokenPerShare: 0, depositFeeBP: _depositFeeBP })); } // Update the given pool's Token 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 pure returns (uint256) { return _to.sub(_from).mul(BONUS_MULTIPLIER); } // View function to see pending Rewards on frontend. function pendingRewardToken(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accRewardTokenPerShare = pool.accRewardTokenPerShare; uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (block.number > pool.lastRewardBlock && lpSupply != 0) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 tokenReward = multiplier.mul(rewardTokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint); accRewardTokenPerShare = accRewardTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply)); } uint256 pending = user.amount.mul(accRewardTokenPerShare).div(1e12).sub(user.rewardDebt); return pending.sub(pending.div(10)); } // 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 tokenReward = multiplier.mul(rewardTokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint); pool.accRewardTokenPerShare = pool.accRewardTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply)); pool.lastRewardBlock = block.number; } // Deposit tokens to Stake for reward allocation. function deposit(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accRewardTokenPerShare).div(1e12).sub(user.rewardDebt); if(pending > 0) { if(!isBaseToken){ require(rewardToken.balanceOf(address(this)) >= pending, 'Rewardpool empty'); safeRewardTokenTransfer(devaddr, pending.div(10)); pending = pending - pending.div(10); safeRewardTokenTransfer(msg.sender, pending); } else { require(address(this).balance >= pending, 'Rewardpool empty'); devaddr.transfer(pending.div(10)); pending = pending - pending.div(10); msg.sender.transfer(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.accRewardTokenPerShare).div(1e12); uint256 shares = 0; shares = _amount; _mint(msg.sender, shares); emit Deposit(msg.sender, _pid, _amount); } // Withdraw tokens from Staking. function withdraw(uint256 _pid, uint256 _amount) public { 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.accRewardTokenPerShare).div(1e12).sub(user.rewardDebt); if(pending > 0) { if(!isBaseToken){ require(rewardToken.balanceOf(address(this)) >= pending, 'Rewardpool empty'); safeRewardTokenTransfer(devaddr, pending.div(10)); pending = pending - pending.div(10); safeRewardTokenTransfer(msg.sender, pending); } else { require(address(this).balance >= pending, 'Rewardpool empty'); devaddr.transfer(pending.div(10)); pending = pending - pending.div(10); msg.sender.transfer(pending); } } if(_amount > 0) { user.amount = user.amount.sub(_amount); pool.lpToken.safeTransfer(address(msg.sender), _amount); } user.rewardDebt = user.amount.mul(pool.accRewardTokenPerShare).div(1e12); _burn(msg.sender, _amount); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { 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); _burn(msg.sender, amount); emit EmergencyWithdraw(msg.sender, _pid, amount); } // Safe rewardToken transfer function, just in case if rounding error causes pool to not have enough tokens. function safeRewardTokenTransfer(address _to, uint256 _amount) internal { uint256 rewardTokenBal = rewardToken.balanceOf(address(this)); if (_amount > rewardTokenBal) { rewardToken.transfer(_to, rewardTokenBal); } else { rewardToken.transfer(_to, _amount); } } // Update dev address by the previous dev. function dev(address payable _devaddr) public { require(msg.sender == devaddr, "dev: wut?"); devaddr = _devaddr; } function setFeeAddress(address _feeAddress) public{ require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN"); feeAddress = _feeAddress; } function setIsBaseToken(bool _isBaseToken) external onlyOwner { isBaseToken = _isBaseToken; } function setRewardToken(IERC20 _rewardToken) external onlyOwner { rewardToken = _rewardToken; } function updateEmissionRate(uint256 _rewardTokenPerBlock) public onlyOwner { massUpdatePools(); rewardTokenPerBlock = _rewardTokenPerBlock; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"address payable","name":"_devaddr","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_rewardTokenPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","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":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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 payable","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address payable","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":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isBaseToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"pendingRewardToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"accRewardTokenPerShare","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":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardTokenPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"bool","name":"_isBaseToken","type":"bool"}],"name":"setIsBaseToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"}],"name":"setRewardToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardTokenPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526000600c553480156200001657600080fd5b5060405162002faa38038062002faa833981810160405260e08110156200003c57600080fd5b815160208301516040808501516060860151608087015160a0880180519451969895979396929591949293820192846401000000008211156200007e57600080fd5b9083019060208201858111156200009457600080fd5b8251640100000000811182820188101715620000af57600080fd5b82525081516020918201929091019080838360005b83811015620000de578181015183820152602001620000c4565b50505050905090810190601f1680156200010c5780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200013057600080fd5b9083019060208201858111156200014657600080fd5b82516401000000008111828201881017156200016157600080fd5b82525081516020918201929091019080838360005b838110156200019057818101518382015260200162000176565b50505050905090810190601f168015620001be5780820380516001836020036101000a031916815260200191505b50604052505082518391508290620001de906003906020850190620002b9565b508051620001f4906004906020840190620002b9565b50506005805460ff1916601217905550600062000210620002b5565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35050600680546001600160a01b03199081166001600160a01b03988916179091556007805482169688169690961790955550600980549094169290941691909117909155600855600d5562000365565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620002f157600085556200033c565b82601f106200030c57805160ff19168380011785556200033c565b828001600101855582156200033c579182015b828111156200033c5782518255916020019190600101906200031f565b506200034a9291506200034e565b5090565b5b808211156200034a57600081556001016200034f565b612c3580620003756000396000f3fe6080604052600436106102345760003560e01c8063715018a61161012e578063a457c2d7116100ab578063d96384221161006f578063d963842214610880578063dd62ed3e146108c2578063e2bbb158146108fd578063f2fde38b1461092d578063f7c618c1146109605761023b565b8063a457c2d7146107b8578063a9059cbb146107f1578063ab1be2511461082a578063b17f5cad14610856578063d49e77cd1461086b5761023b565b80638d88a90e116100f25780638d88a90e146106d95780638da5cb5b1461070c5780638dbb1e3a1461072157806393f1a40b1461075157806395d89b41146107a35761023b565b8063715018a6146105fe57806384e82a33146106135780638705fcd41461065e5780638aa28550146106915780638aee8127146106a65761023b565b8063313ce567116101bc57806351eb05a61161018057806351eb05a61461054d5780635312ea8e14610577578063554c798a146105a1578063630b5ba1146105b657806370a08231146105cb5761023b565b8063313ce56714610473578063395093511461049e57806341275358146104d7578063441a3e701461050857806348cd4cb1146105385761023b565b80631526fe27116102035780631526fe271461036a5780631653fd33146103cd57806317caf6f11461040657806318160ddd1461041b57806323b872dd146104305761023b565b806306fdde0314610240578063081e3eda146102ca578063095ea7b3146102f15780630ba84cd21461033e5761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b50610255610975565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028f578181015183820152602001610277565b50505050905090810190601f1680156102bc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102d657600080fd5b506102df610a0b565b60408051918252519081900360200190f35b3480156102fd57600080fd5b5061032a6004803603604081101561031457600080fd5b506001600160a01b038135169060200135610a11565b604080519115158252519081900360200190f35b34801561034a57600080fd5b506103686004803603602081101561036157600080fd5b5035610a2f565b005b34801561037657600080fd5b506103946004803603602081101561038d57600080fd5b5035610a9e565b604080516001600160a01b039096168652602086019490945284840192909252606084015261ffff166080830152519081900360a00190f35b3480156103d957600080fd5b506102df600480360360408110156103f057600080fd5b50803590602001356001600160a01b0316610aed565b34801561041257600080fd5b506102df610c77565b34801561042757600080fd5b506102df610c7d565b34801561043c57600080fd5b5061032a6004803603606081101561045357600080fd5b506001600160a01b03813581169160208101359091169060400135610c83565b34801561047f57600080fd5b50610488610d0b565b6040805160ff9092168252519081900360200190f35b3480156104aa57600080fd5b5061032a600480360360408110156104c157600080fd5b506001600160a01b038135169060200135610d14565b3480156104e357600080fd5b506104ec610d62565b604080516001600160a01b039092168252519081900360200190f35b34801561051457600080fd5b506103686004803603604081101561052b57600080fd5b5080359060200135610d71565b34801561054457600080fd5b506102df611095565b34801561055957600080fd5b506103686004803603602081101561057057600080fd5b503561109b565b34801561058357600080fd5b506103686004803603602081101561059a57600080fd5b50356111d4565b3480156105ad57600080fd5b506102df61127a565b3480156105c257600080fd5b50610368611280565b3480156105d757600080fd5b506102df600480360360208110156105ee57600080fd5b50356001600160a01b03166112a3565b34801561060a57600080fd5b506103686112be565b34801561061f57600080fd5b506103686004803603608081101561063657600080fd5b508035906001600160a01b036020820135169061ffff60408201351690606001351515611370565b34801561066a57600080fd5b506103686004803603602081101561068157600080fd5b50356001600160a01b031661157e565b34801561069d57600080fd5b506102df6115ff565b3480156106b257600080fd5b50610368600480360360208110156106c957600080fd5b50356001600160a01b0316611604565b3480156106e557600080fd5b50610368600480360360208110156106fc57600080fd5b50356001600160a01b0316611688565b34801561071857600080fd5b506104ec6116f5565b34801561072d57600080fd5b506102df6004803603604081101561074457600080fd5b5080359060200135611709565b34801561075d57600080fd5b5061078a6004803603604081101561077457600080fd5b50803590602001356001600160a01b031661171a565b6040805192835260208301919091528051918290030190f35b3480156107af57600080fd5b5061025561173e565b3480156107c457600080fd5b5061032a600480360360408110156107db57600080fd5b506001600160a01b03813516906020013561179f565b3480156107fd57600080fd5b5061032a6004803603604081101561081457600080fd5b506001600160a01b038135169060200135611807565b34801561083657600080fd5b506103686004803603602081101561084d57600080fd5b5035151561181b565b34801561086257600080fd5b5061032a61189b565b34801561087757600080fd5b506104ec6118ab565b34801561088c57600080fd5b50610368600480360360808110156108a357600080fd5b5080359060208101359061ffff604082013516906060013515156118ba565b3480156108ce57600080fd5b506102df600480360360408110156108e557600080fd5b506001600160a01b0381358116916020013516611a14565b34801561090957600080fd5b506103686004803603604081101561092057600080fd5b5080359060200135611a3f565b34801561093957600080fd5b506103686004803603602081101561095057600080fd5b50356001600160a01b0316611d85565b34801561096c57600080fd5b506104ec611e93565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a015780601f106109d657610100808354040283529160200191610a01565b820191906000526020600020905b8154815290600101906020018083116109e457829003601f168201915b5050505050905090565b600a5490565b6000610a25610a1e611ea2565b8484611ea6565b5060015b92915050565b610a37611ea2565b6001600160a01b0316610a486116f5565b6001600160a01b031614610a91576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b610a99611280565b600855565b600a8181548110610aae57600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909161ffff1685565b600080600a8481548110610afd57fe5b60009182526020808320878452600b825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b158015610b7757600080fd5b505afa158015610b8b573d6000803e3d6000fd5b505050506040513d6020811015610ba157600080fd5b5051600285015490915043118015610bb857508015155b15610c24576000610bcd856002015443611709565b90506000610c00600c54610bfa8860010154610bf460085487611f9290919063ffffffff16565b90611f92565b90611feb565b9050610c1f610c1884610bfa8464e8d4a51000611f92565b8590612052565b935050505b6000610c548460010154610c4e64e8d4a51000610bfa878960000154611f9290919063ffffffff16565b906120ac565b9050610c6b610c6482600a611feb565b82906120ac565b98975050505050505050565b600c5481565b60025490565b6000610c90848484612109565b610d0084610c9c611ea2565b610cfb85604051806060016040528060288152602001612aff602891396001600160a01b038a16600090815260016020526040812090610cda611ea2565b6001600160a01b031681526020810191909152604001600020549190612264565b611ea6565b5060015b9392505050565b60055460ff1690565b6000610a25610d21611ea2565b84610cfb8560016000610d32611ea2565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612052565b6009546001600160a01b031681565b6000600a8381548110610d8057fe5b60009182526020808320868452600b825260408085203386529092529220805460059092029092019250831115610df3576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610dfc8461109b565b6000610e2a8260010154610c4e64e8d4a51000610bfa87600301548760000154611f9290919063ffffffff16565b9050801561100357600954600160a01b900460ff16610f3b57600654604080516370a0823160e01b8152306004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610e8d57600080fd5b505afa158015610ea1573d6000803e3d6000fd5b505050506040513d6020811015610eb757600080fd5b50511015610eff576040805162461bcd60e51b815260206004820152601060248201526f526577617264706f6f6c20656d70747960801b604482015290519081900360640190fd5b600754610f1f906001600160a01b0316610f1a83600a611feb565b6122fb565b610f2a81600a611feb565b9003610f3633826122fb565b611003565b80471015610f83576040805162461bcd60e51b815260206004820152601060248201526f526577617264706f6f6c20656d70747960801b604482015290519081900360640190fd5b6007546001600160a01b03166108fc610f9d83600a611feb565b6040518115909202916000818181858888f19350505050158015610fc5573d6000803e3d6000fd5b50610fd181600a611feb565b604051910390339082156108fc029083906000818181858888f19350505050158015611001573d6000803e3d6000fd5b505b831561102d57815461101590856120ac565b8255825461102d906001600160a01b0316338661248c565b600383015482546110489164e8d4a5100091610bfa91611f92565b600183015561105733856124de565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b600d5481565b6000600a82815481106110aa57fe5b90600052602060002090600502019050806002015443116110cb57506111d1565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561111557600080fd5b505afa158015611129573d6000803e3d6000fd5b505050506040513d602081101561113f57600080fd5b5051905080158061115257506001820154155b156111645750436002909101556111d1565b6000611174836002015443611709565b9050600061119b600c54610bfa8660010154610bf460085487611f9290919063ffffffff16565b90506111be6111b384610bfa8464e8d4a51000611f92565b600386015490612052565b6003850155505043600290920191909155505b50565b6000600a82815481106111e357fe5b60009182526020808320858452600b825260408085203380875293528420805485825560018201959095556005909302018054909450919291611233916001600160a01b0391909116908361248c565b61123d33826124de565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b60085481565b600a5460005b8181101561129f576112978161109b565b600101611286565b5050565b6001600160a01b031660009081526020819052604090205490565b6112c6611ea2565b6001600160a01b03166112d76116f5565b6001600160a01b031614611320576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b611378611ea2565b6001600160a01b03166113896116f5565b6001600160a01b0316146113d2576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b6127108261ffff1611156114175760405162461bcd60e51b81526004018080602001828103825260258152602001806129de6025913960400191505060405180910390fd5b801561142557611425611280565b6000600d54431161143857600d5461143a565b435b600c5490915061144a9086612052565b600c556040805160a0810182526001600160a01b0395861681526020810196875290810191825260006060820181815261ffff95861660808401908152600a8054600181018255935292517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8600590930292830180546001600160a01b031916919098161790965595517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a987015590517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2aa86015592517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2ab8501555090517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2ac909201805461ffff191692909116919091179055565b6009546001600160a01b031633146115dd576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600181565b61160c611ea2565b6001600160a01b031661161d6116f5565b6001600160a01b031614611666576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633146116d3576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60055461010090046001600160a01b031690565b6000610d046001610bf484866120ac565b600b6020908152600092835260408084209091529082529020805460019091015482565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a015780601f106109d657610100808354040283529160200191610a01565b6000610a256117ac611ea2565b84610cfb85604051806060016040528060258152602001612bdb60259139600160006117d6611ea2565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612264565b6000610a25611814611ea2565b8484612109565b611823611ea2565b6001600160a01b03166118346116f5565b6001600160a01b03161461187d576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b60098054911515600160a01b0260ff60a01b19909216919091179055565b600954600160a01b900460ff1681565b6007546001600160a01b031681565b6118c2611ea2565b6001600160a01b03166118d36116f5565b6001600160a01b03161461191c576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b6127108261ffff1611156119615760405162461bcd60e51b8152600401808060200182810382526025815260200180612ada6025913960400191505060405180910390fd5b801561196f5761196f611280565b6119ac836119a6600a878154811061198357fe5b906000526020600020906005020160010154600c546120ac90919063ffffffff16565b90612052565b600c8190555082600a85815481106119c057fe5b90600052602060002090600502016001018190555081600a85815481106119e357fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff16021790555050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000600a8381548110611a4e57fe5b60009182526020808320868452600b82526040808520338652909252922060059091029091019150611a7f8461109b565b805415611c8a576000611ab48260010154610c4e64e8d4a51000610bfa87600301548760000154611f9290919063ffffffff16565b90508015611c8857600954600160a01b900460ff16611bc057600654604080516370a0823160e01b8152306004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611b1757600080fd5b505afa158015611b2b573d6000803e3d6000fd5b505050506040513d6020811015611b4157600080fd5b50511015611b89576040805162461bcd60e51b815260206004820152601060248201526f526577617264706f6f6c20656d70747960801b604482015290519081900360640190fd5b600754611ba4906001600160a01b0316610f1a83600a611feb565b611baf81600a611feb565b9003611bbb33826122fb565b611c88565b80471015611c08576040805162461bcd60e51b815260206004820152601060248201526f526577617264706f6f6c20656d70747960801b604482015290519081900360640190fd5b6007546001600160a01b03166108fc611c2283600a611feb565b6040518115909202916000818181858888f19350505050158015611c4a573d6000803e3d6000fd5b50611c5681600a611feb565b604051910390339082156108fc029083906000818181858888f19350505050158015611c86573d6000803e3d6000fd5b505b505b8215611d1c578154611ca7906001600160a01b03163330866125da565b600482015461ffff1615611d0d576004820154600090611cd49061271090610bfa90879061ffff16611f92565b6009548454919250611cf3916001600160a01b0390811691168361248c565b8154611d05908290610c4e9087612052565b825550611d1c565b8054611d199084612052565b81555b60038201548154611d379164e8d4a5100091610bfa91611f92565b600182015582611d47338261263a565b604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b611d8d611ea2565b6001600160a01b0316611d9e6116f5565b6001600160a01b031614611de7576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b6001600160a01b038116611e2c5760405162461bcd60e51b8152600401808060200182810382526026815260200180612a256026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6006546001600160a01b031681565b3390565b6001600160a01b038316611eeb5760405162461bcd60e51b8152600401808060200182810382526024815260200180612b8d6024913960400191505060405180910390fd5b6001600160a01b038216611f305760405162461bcd60e51b8152600401808060200182810382526022815260200180612a4b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082611fa157506000610a29565b82820282848281611fae57fe5b0414610d045760405162461bcd60e51b8152600401808060200182810382526021815260200180612ab96021913960400191505060405180910390fd5b6000808211612041576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161204a57fe5b049392505050565b600082820183811015610d04576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082821115612103576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001600160a01b03831661214e5760405162461bcd60e51b8152600401808060200182810382526025815260200180612b686025913960400191505060405180910390fd5b6001600160a01b0382166121935760405162461bcd60e51b81526004018080602001828103825260238152602001806129bb6023913960400191505060405180910390fd5b61219e838383612487565b6121db81604051806060016040528060268152602001612a6d602691396001600160a01b0386166000908152602081905260409020549190612264565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461220a9082612052565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156122f35760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122b85781810151838201526020016122a0565b50505050905090810190601f1680156122e55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561234657600080fd5b505afa15801561235a573d6000803e3d6000fd5b505050506040513d602081101561237057600080fd5b5051905080821115612404576006546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156123d257600080fd5b505af11580156123e6573d6000803e3d6000fd5b505050506040513d60208110156123fc57600080fd5b506124879050565b6006546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561245a57600080fd5b505af115801561246e573d6000803e3d6000fd5b505050506040513d602081101561248457600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261248790849061272a565b6001600160a01b0382166125235760405162461bcd60e51b8152600401808060200182810382526021815260200180612b476021913960400191505060405180910390fd5b61252f82600083612487565b61256c81604051806060016040528060228152602001612a03602291396001600160a01b0385166000908152602081905260409020549190612264565b6001600160a01b03831660009081526020819052604090205560025461259290826120ac565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261263490859061272a565b50505050565b6001600160a01b038216612695576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6126a160008383612487565b6002546126ae9082612052565b6002556001600160a01b0382166000908152602081905260409020546126d49082612052565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b606061277f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127db9092919063ffffffff16565b8051909150156124875780806020019051602081101561279e57600080fd5b50516124875760405162461bcd60e51b815260040180806020018281038252602a815260200180612bb1602a913960400191505060405180910390fd5b60606127ea84846000856127f2565b949350505050565b6060824710156128335760405162461bcd60e51b8152600401808060200182810382526026815260200180612a936026913960400191505060405180910390fd5b61283c8561294e565b61288d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106128cc5780518252601f1990920191602091820191016128ad565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461292e576040519150601f19603f3d011682016040523d82523d6000602084013e612933565b606091505b5091509150612943828286612954565b979650505050505050565b3b151590565b60608315612963575081610d04565b8251156129735782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156122b85781810151838201526020016122a056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573736164643a20696e76616c6964206465706f7369742066656520626173697320706f696e747345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e747345524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d97fee43802ead7bc5954e67c172a8aaf79b9a9957dc09ee955ffcfd75fcd1c164736f6c6343000704003300000000000000000000000016fdc85833e948c22439b3c690a971d2e0b268c50000000000000000000000001694b6f56b81c79abeb789f12ac4e36ef7fb2c820000000000000000000000001694b6f56b81c79abeb789f12ac4e36ef7fb2c8200000000000000000000000000000000000000000000000000002f5e989501550000000000000000000000000000000000000000000000000000000000dffe9400000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000c4e657374656420486f6f7479000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066e484f4f54590000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102345760003560e01c8063715018a61161012e578063a457c2d7116100ab578063d96384221161006f578063d963842214610880578063dd62ed3e146108c2578063e2bbb158146108fd578063f2fde38b1461092d578063f7c618c1146109605761023b565b8063a457c2d7146107b8578063a9059cbb146107f1578063ab1be2511461082a578063b17f5cad14610856578063d49e77cd1461086b5761023b565b80638d88a90e116100f25780638d88a90e146106d95780638da5cb5b1461070c5780638dbb1e3a1461072157806393f1a40b1461075157806395d89b41146107a35761023b565b8063715018a6146105fe57806384e82a33146106135780638705fcd41461065e5780638aa28550146106915780638aee8127146106a65761023b565b8063313ce567116101bc57806351eb05a61161018057806351eb05a61461054d5780635312ea8e14610577578063554c798a146105a1578063630b5ba1146105b657806370a08231146105cb5761023b565b8063313ce56714610473578063395093511461049e57806341275358146104d7578063441a3e701461050857806348cd4cb1146105385761023b565b80631526fe27116102035780631526fe271461036a5780631653fd33146103cd57806317caf6f11461040657806318160ddd1461041b57806323b872dd146104305761023b565b806306fdde0314610240578063081e3eda146102ca578063095ea7b3146102f15780630ba84cd21461033e5761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b50610255610975565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028f578181015183820152602001610277565b50505050905090810190601f1680156102bc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102d657600080fd5b506102df610a0b565b60408051918252519081900360200190f35b3480156102fd57600080fd5b5061032a6004803603604081101561031457600080fd5b506001600160a01b038135169060200135610a11565b604080519115158252519081900360200190f35b34801561034a57600080fd5b506103686004803603602081101561036157600080fd5b5035610a2f565b005b34801561037657600080fd5b506103946004803603602081101561038d57600080fd5b5035610a9e565b604080516001600160a01b039096168652602086019490945284840192909252606084015261ffff166080830152519081900360a00190f35b3480156103d957600080fd5b506102df600480360360408110156103f057600080fd5b50803590602001356001600160a01b0316610aed565b34801561041257600080fd5b506102df610c77565b34801561042757600080fd5b506102df610c7d565b34801561043c57600080fd5b5061032a6004803603606081101561045357600080fd5b506001600160a01b03813581169160208101359091169060400135610c83565b34801561047f57600080fd5b50610488610d0b565b6040805160ff9092168252519081900360200190f35b3480156104aa57600080fd5b5061032a600480360360408110156104c157600080fd5b506001600160a01b038135169060200135610d14565b3480156104e357600080fd5b506104ec610d62565b604080516001600160a01b039092168252519081900360200190f35b34801561051457600080fd5b506103686004803603604081101561052b57600080fd5b5080359060200135610d71565b34801561054457600080fd5b506102df611095565b34801561055957600080fd5b506103686004803603602081101561057057600080fd5b503561109b565b34801561058357600080fd5b506103686004803603602081101561059a57600080fd5b50356111d4565b3480156105ad57600080fd5b506102df61127a565b3480156105c257600080fd5b50610368611280565b3480156105d757600080fd5b506102df600480360360208110156105ee57600080fd5b50356001600160a01b03166112a3565b34801561060a57600080fd5b506103686112be565b34801561061f57600080fd5b506103686004803603608081101561063657600080fd5b508035906001600160a01b036020820135169061ffff60408201351690606001351515611370565b34801561066a57600080fd5b506103686004803603602081101561068157600080fd5b50356001600160a01b031661157e565b34801561069d57600080fd5b506102df6115ff565b3480156106b257600080fd5b50610368600480360360208110156106c957600080fd5b50356001600160a01b0316611604565b3480156106e557600080fd5b50610368600480360360208110156106fc57600080fd5b50356001600160a01b0316611688565b34801561071857600080fd5b506104ec6116f5565b34801561072d57600080fd5b506102df6004803603604081101561074457600080fd5b5080359060200135611709565b34801561075d57600080fd5b5061078a6004803603604081101561077457600080fd5b50803590602001356001600160a01b031661171a565b6040805192835260208301919091528051918290030190f35b3480156107af57600080fd5b5061025561173e565b3480156107c457600080fd5b5061032a600480360360408110156107db57600080fd5b506001600160a01b03813516906020013561179f565b3480156107fd57600080fd5b5061032a6004803603604081101561081457600080fd5b506001600160a01b038135169060200135611807565b34801561083657600080fd5b506103686004803603602081101561084d57600080fd5b5035151561181b565b34801561086257600080fd5b5061032a61189b565b34801561087757600080fd5b506104ec6118ab565b34801561088c57600080fd5b50610368600480360360808110156108a357600080fd5b5080359060208101359061ffff604082013516906060013515156118ba565b3480156108ce57600080fd5b506102df600480360360408110156108e557600080fd5b506001600160a01b0381358116916020013516611a14565b34801561090957600080fd5b506103686004803603604081101561092057600080fd5b5080359060200135611a3f565b34801561093957600080fd5b506103686004803603602081101561095057600080fd5b50356001600160a01b0316611d85565b34801561096c57600080fd5b506104ec611e93565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a015780601f106109d657610100808354040283529160200191610a01565b820191906000526020600020905b8154815290600101906020018083116109e457829003601f168201915b5050505050905090565b600a5490565b6000610a25610a1e611ea2565b8484611ea6565b5060015b92915050565b610a37611ea2565b6001600160a01b0316610a486116f5565b6001600160a01b031614610a91576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b610a99611280565b600855565b600a8181548110610aae57600080fd5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909161ffff1685565b600080600a8481548110610afd57fe5b60009182526020808320878452600b825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b158015610b7757600080fd5b505afa158015610b8b573d6000803e3d6000fd5b505050506040513d6020811015610ba157600080fd5b5051600285015490915043118015610bb857508015155b15610c24576000610bcd856002015443611709565b90506000610c00600c54610bfa8860010154610bf460085487611f9290919063ffffffff16565b90611f92565b90611feb565b9050610c1f610c1884610bfa8464e8d4a51000611f92565b8590612052565b935050505b6000610c548460010154610c4e64e8d4a51000610bfa878960000154611f9290919063ffffffff16565b906120ac565b9050610c6b610c6482600a611feb565b82906120ac565b98975050505050505050565b600c5481565b60025490565b6000610c90848484612109565b610d0084610c9c611ea2565b610cfb85604051806060016040528060288152602001612aff602891396001600160a01b038a16600090815260016020526040812090610cda611ea2565b6001600160a01b031681526020810191909152604001600020549190612264565b611ea6565b5060015b9392505050565b60055460ff1690565b6000610a25610d21611ea2565b84610cfb8560016000610d32611ea2565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612052565b6009546001600160a01b031681565b6000600a8381548110610d8057fe5b60009182526020808320868452600b825260408085203386529092529220805460059092029092019250831115610df3576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610dfc8461109b565b6000610e2a8260010154610c4e64e8d4a51000610bfa87600301548760000154611f9290919063ffffffff16565b9050801561100357600954600160a01b900460ff16610f3b57600654604080516370a0823160e01b8152306004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610e8d57600080fd5b505afa158015610ea1573d6000803e3d6000fd5b505050506040513d6020811015610eb757600080fd5b50511015610eff576040805162461bcd60e51b815260206004820152601060248201526f526577617264706f6f6c20656d70747960801b604482015290519081900360640190fd5b600754610f1f906001600160a01b0316610f1a83600a611feb565b6122fb565b610f2a81600a611feb565b9003610f3633826122fb565b611003565b80471015610f83576040805162461bcd60e51b815260206004820152601060248201526f526577617264706f6f6c20656d70747960801b604482015290519081900360640190fd5b6007546001600160a01b03166108fc610f9d83600a611feb565b6040518115909202916000818181858888f19350505050158015610fc5573d6000803e3d6000fd5b50610fd181600a611feb565b604051910390339082156108fc029083906000818181858888f19350505050158015611001573d6000803e3d6000fd5b505b831561102d57815461101590856120ac565b8255825461102d906001600160a01b0316338661248c565b600383015482546110489164e8d4a5100091610bfa91611f92565b600183015561105733856124de565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b600d5481565b6000600a82815481106110aa57fe5b90600052602060002090600502019050806002015443116110cb57506111d1565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561111557600080fd5b505afa158015611129573d6000803e3d6000fd5b505050506040513d602081101561113f57600080fd5b5051905080158061115257506001820154155b156111645750436002909101556111d1565b6000611174836002015443611709565b9050600061119b600c54610bfa8660010154610bf460085487611f9290919063ffffffff16565b90506111be6111b384610bfa8464e8d4a51000611f92565b600386015490612052565b6003850155505043600290920191909155505b50565b6000600a82815481106111e357fe5b60009182526020808320858452600b825260408085203380875293528420805485825560018201959095556005909302018054909450919291611233916001600160a01b0391909116908361248c565b61123d33826124de565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b60085481565b600a5460005b8181101561129f576112978161109b565b600101611286565b5050565b6001600160a01b031660009081526020819052604090205490565b6112c6611ea2565b6001600160a01b03166112d76116f5565b6001600160a01b031614611320576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b611378611ea2565b6001600160a01b03166113896116f5565b6001600160a01b0316146113d2576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b6127108261ffff1611156114175760405162461bcd60e51b81526004018080602001828103825260258152602001806129de6025913960400191505060405180910390fd5b801561142557611425611280565b6000600d54431161143857600d5461143a565b435b600c5490915061144a9086612052565b600c556040805160a0810182526001600160a01b0395861681526020810196875290810191825260006060820181815261ffff95861660808401908152600a8054600181018255935292517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8600590930292830180546001600160a01b031916919098161790965595517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a987015590517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2aa86015592517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2ab8501555090517fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2ac909201805461ffff191692909116919091179055565b6009546001600160a01b031633146115dd576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600181565b61160c611ea2565b6001600160a01b031661161d6116f5565b6001600160a01b031614611666576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633146116d3576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60055461010090046001600160a01b031690565b6000610d046001610bf484866120ac565b600b6020908152600092835260408084209091529082529020805460019091015482565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a015780601f106109d657610100808354040283529160200191610a01565b6000610a256117ac611ea2565b84610cfb85604051806060016040528060258152602001612bdb60259139600160006117d6611ea2565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612264565b6000610a25611814611ea2565b8484612109565b611823611ea2565b6001600160a01b03166118346116f5565b6001600160a01b03161461187d576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b60098054911515600160a01b0260ff60a01b19909216919091179055565b600954600160a01b900460ff1681565b6007546001600160a01b031681565b6118c2611ea2565b6001600160a01b03166118d36116f5565b6001600160a01b03161461191c576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b6127108261ffff1611156119615760405162461bcd60e51b8152600401808060200182810382526025815260200180612ada6025913960400191505060405180910390fd5b801561196f5761196f611280565b6119ac836119a6600a878154811061198357fe5b906000526020600020906005020160010154600c546120ac90919063ffffffff16565b90612052565b600c8190555082600a85815481106119c057fe5b90600052602060002090600502016001018190555081600a85815481106119e357fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff16021790555050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000600a8381548110611a4e57fe5b60009182526020808320868452600b82526040808520338652909252922060059091029091019150611a7f8461109b565b805415611c8a576000611ab48260010154610c4e64e8d4a51000610bfa87600301548760000154611f9290919063ffffffff16565b90508015611c8857600954600160a01b900460ff16611bc057600654604080516370a0823160e01b8152306004820152905183926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611b1757600080fd5b505afa158015611b2b573d6000803e3d6000fd5b505050506040513d6020811015611b4157600080fd5b50511015611b89576040805162461bcd60e51b815260206004820152601060248201526f526577617264706f6f6c20656d70747960801b604482015290519081900360640190fd5b600754611ba4906001600160a01b0316610f1a83600a611feb565b611baf81600a611feb565b9003611bbb33826122fb565b611c88565b80471015611c08576040805162461bcd60e51b815260206004820152601060248201526f526577617264706f6f6c20656d70747960801b604482015290519081900360640190fd5b6007546001600160a01b03166108fc611c2283600a611feb565b6040518115909202916000818181858888f19350505050158015611c4a573d6000803e3d6000fd5b50611c5681600a611feb565b604051910390339082156108fc029083906000818181858888f19350505050158015611c86573d6000803e3d6000fd5b505b505b8215611d1c578154611ca7906001600160a01b03163330866125da565b600482015461ffff1615611d0d576004820154600090611cd49061271090610bfa90879061ffff16611f92565b6009548454919250611cf3916001600160a01b0390811691168361248c565b8154611d05908290610c4e9087612052565b825550611d1c565b8054611d199084612052565b81555b60038201548154611d379164e8d4a5100091610bfa91611f92565b600182015582611d47338261263a565b604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a35050505050565b611d8d611ea2565b6001600160a01b0316611d9e6116f5565b6001600160a01b031614611de7576040805162461bcd60e51b81526020600482018190526024820152600080516020612b27833981519152604482015290519081900360640190fd5b6001600160a01b038116611e2c5760405162461bcd60e51b8152600401808060200182810382526026815260200180612a256026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6006546001600160a01b031681565b3390565b6001600160a01b038316611eeb5760405162461bcd60e51b8152600401808060200182810382526024815260200180612b8d6024913960400191505060405180910390fd5b6001600160a01b038216611f305760405162461bcd60e51b8152600401808060200182810382526022815260200180612a4b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082611fa157506000610a29565b82820282848281611fae57fe5b0414610d045760405162461bcd60e51b8152600401808060200182810382526021815260200180612ab96021913960400191505060405180910390fd5b6000808211612041576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161204a57fe5b049392505050565b600082820183811015610d04576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082821115612103576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001600160a01b03831661214e5760405162461bcd60e51b8152600401808060200182810382526025815260200180612b686025913960400191505060405180910390fd5b6001600160a01b0382166121935760405162461bcd60e51b81526004018080602001828103825260238152602001806129bb6023913960400191505060405180910390fd5b61219e838383612487565b6121db81604051806060016040528060268152602001612a6d602691396001600160a01b0386166000908152602081905260409020549190612264565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461220a9082612052565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156122f35760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122b85781810151838201526020016122a0565b50505050905090810190601f1680156122e55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600654604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561234657600080fd5b505afa15801561235a573d6000803e3d6000fd5b505050506040513d602081101561237057600080fd5b5051905080821115612404576006546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156123d257600080fd5b505af11580156123e6573d6000803e3d6000fd5b505050506040513d60208110156123fc57600080fd5b506124879050565b6006546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561245a57600080fd5b505af115801561246e573d6000803e3d6000fd5b505050506040513d602081101561248457600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261248790849061272a565b6001600160a01b0382166125235760405162461bcd60e51b8152600401808060200182810382526021815260200180612b476021913960400191505060405180910390fd5b61252f82600083612487565b61256c81604051806060016040528060228152602001612a03602291396001600160a01b0385166000908152602081905260409020549190612264565b6001600160a01b03831660009081526020819052604090205560025461259290826120ac565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261263490859061272a565b50505050565b6001600160a01b038216612695576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6126a160008383612487565b6002546126ae9082612052565b6002556001600160a01b0382166000908152602081905260409020546126d49082612052565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b606061277f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127db9092919063ffffffff16565b8051909150156124875780806020019051602081101561279e57600080fd5b50516124875760405162461bcd60e51b815260040180806020018281038252602a815260200180612bb1602a913960400191505060405180910390fd5b60606127ea84846000856127f2565b949350505050565b6060824710156128335760405162461bcd60e51b8152600401808060200182810382526026815260200180612a936026913960400191505060405180910390fd5b61283c8561294e565b61288d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106128cc5780518252601f1990920191602091820191016128ad565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461292e576040519150601f19603f3d011682016040523d82523d6000602084013e612933565b606091505b5091509150612943828286612954565b979650505050505050565b3b151590565b60608315612963575081610d04565b8251156129735782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156122b85781810151838201526020016122a056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573736164643a20696e76616c6964206465706f7369742066656520626173697320706f696e747345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e747345524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d97fee43802ead7bc5954e67c172a8aaf79b9a9957dc09ee955ffcfd75fcd1c164736f6c63430007040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000016fdc85833e948c22439b3c690a971d2e0b268c50000000000000000000000001694b6f56b81c79abeb789f12ac4e36ef7fb2c820000000000000000000000001694b6f56b81c79abeb789f12ac4e36ef7fb2c8200000000000000000000000000000000000000000000000000002f5e989501550000000000000000000000000000000000000000000000000000000000dffe9400000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000c4e657374656420486f6f7479000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000066e484f4f54590000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _rewardToken (address): 0x16fDC85833e948c22439B3C690A971D2e0b268C5
Arg [1] : _devaddr (address): 0x1694b6f56B81c79aBEB789F12AC4E36EF7Fb2c82
Arg [2] : _feeAddress (address): 0x1694b6f56B81c79aBEB789F12AC4E36EF7Fb2c82
Arg [3] : _rewardTokenPerBlock (uint256): 52083333333333
Arg [4] : _startBlock (uint256): 14679700
Arg [5] : _name (string): Nested Hooty
Arg [6] : _symbol (string): nHOOTY
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000016fdc85833e948c22439b3c690a971d2e0b268c5
Arg [1] : 0000000000000000000000001694b6f56b81c79abeb789f12ac4e36ef7fb2c82
Arg [2] : 0000000000000000000000001694b6f56b81c79abeb789f12ac4e36ef7fb2c82
Arg [3] : 00000000000000000000000000000000000000000000000000002f5e98950155
Arg [4] : 0000000000000000000000000000000000000000000000000000000000dffe94
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [8] : 4e657374656420486f6f74790000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [10] : 6e484f4f54590000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
39078:10938:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30205:91;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41416:95;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;32351:169;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32351:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;49849:164;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49849:164:0;;:::i;:::-;;40265:26;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40265:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;40265:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43208:867;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43208:867:0;;;;;;-1:-1:-1;;;;;43208:867:0;;:::i;40508:34::-;;;;;;;;;;;;;:::i;31304:108::-;;;;;;;;;;;;;:::i;33002:321::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33002:321:0;;;;;;;;;;;;;;;;;:::i;31148:91::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33732:218;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33732:218:0;;;;;;;;:::i;40143:25::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;40143:25:0;;;;;;;;;;;;;;46982:1322;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46982:1322:0;;;;;;;:::i;40607:25::-;;;;;;;;;;;;;:::i;44414:732::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44414:732:0;;:::i;48375:421::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48375:421:0;;:::i;39980:34::-;;;;;;;;;;;;;:::i;44158:180::-;;;;;;;;;;;;;:::i;31475:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31475:127:0;-1:-1:-1;;;;;31475:127:0;;:::i;24776:148::-;;;;;;;;;;;;;:::i;41680:667::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41680:667:0;;;-1:-1:-1;;;;;41680:667:0;;;;;;;;;;;;;;;;;;;:::i;49444:165::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49444:165:0;-1:-1:-1;;;;;49444:165:0;;:::i;40064:44::-;;;;;;;;;;;;;:::i;49732:109::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49732:109:0;-1:-1:-1;;;;;49732:109:0;;:::i;49299:137::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49299:137:0;-1:-1:-1;;;;;49299:137:0;;:::i;24125:87::-;;;;;;;;;;;;;:::i;42999:143::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42999:143:0;;;;;;;:::i;40347:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40347:66:0;;;;;;-1:-1:-1;;;;;40347:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;30415:95;;;;;;;;;;;;;:::i;34453:269::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34453:269:0;;;;;;;;:::i;31815:175::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31815:175:0;;;;;;;;:::i;49617:107::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49617:107:0;;;;:::i;40206:23::-;;;;;;;;;;;;;:::i;39898:30::-;;;;;;;;;;;;;:::i;42460:463::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42460:463:0;;;;;;;;;;;;;;;;;;;;;:::i;32053:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32053:151:0;;;;;;;;;;:::i;45209:1728::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45209:1728:0;;;;;;;:::i;25079:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25079:244:0;-1:-1:-1;;;;;25079:244:0;;:::i;39845:25::-;;;;;;;;;;;;;:::i;30205:91::-;30283:5;30276:12;;;;;;;;-1:-1:-1;;30276:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30250:13;;30276:12;;30283:5;;30276:12;;30283:5;30276:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30205:91;:::o;41416:95::-;41488:8;:15;41416:95;:::o;32351:169::-;32434:4;32451:39;32460:12;:10;:12::i;:::-;32474:7;32483:6;32451:8;:39::i;:::-;-1:-1:-1;32508:4:0;32351:169;;;;;:::o;49849:164::-;24356:12;:10;:12::i;:::-;-1:-1:-1;;;;;24345:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24345:23:0;;24337:68;;;;;-1:-1:-1;;;24337:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24337:68:0;;;;;;;;;;;;;;;49935:17:::1;:15;:17::i;:::-;49963:19;:42:::0;49849:164::o;40265:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40265:26:0;;;;-1:-1:-1;40265:26:0;;;;;;;:::o;43208:867::-;43288:7;43308:21;43332:8;43341:4;43332:14;;;;;;;;;;;;;;;;43381;;;:8;:14;;;;;;-1:-1:-1;;;;;43381:21:0;;;;;;;;;;;43332:14;;;;;;;;43446:27;;;;43503:12;;:37;;-1:-1:-1;;;43503:37:0;;43534:4;43503:37;;;;;;43332:14;;-1:-1:-1;43381:21:0;;43446:27;;43332:14;;43503:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43503:37:0;43570:20;;;;43503:37;;-1:-1:-1;43555:12:0;:35;:52;;;;-1:-1:-1;43594:13:0;;;43555:52;43551:372;;;43624:18;43645:49;43659:4;:20;;;43681:12;43645:13;:49::i;:::-;43624:70;;43709:19;43731:77;43792:15;;43731:56;43771:4;:15;;;43731:35;43746:19;;43731:10;:14;;:35;;;;:::i;:::-;:39;;:56::i;:::-;:60;;:77::i;:::-;43709:99;-1:-1:-1;43848:63:0;43875:35;43901:8;43875:21;43709:99;43891:4;43875:15;:21::i;:35::-;43848:22;;:26;:63::i;:::-;43823:88;;43551:372;;;43933:15;43951:70;44005:4;:15;;;43951:49;43995:4;43951:39;43967:22;43951:4;:11;;;:15;;:39;;;;:::i;:49::-;:53;;:70::i;:::-;43933:88;-1:-1:-1;44039:28:0;44051:15;43933:88;44063:2;44051:11;:15::i;:::-;44039:7;;:11;:28::i;:::-;44032:35;43208:867;-1:-1:-1;;;;;;;;43208:867:0:o;40508:34::-;;;;:::o;31304:108::-;31392:12;;31304:108;:::o;33002:321::-;33108:4;33125:36;33135:6;33143:9;33154:6;33125:9;:36::i;:::-;33172:121;33181:6;33189:12;:10;:12::i;:::-;33203:89;33241:6;33203:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33203:19:0;;;;;;:11;:19;;;;;;33223:12;:10;:12::i;:::-;-1:-1:-1;;;;;33203:33:0;;;;;;;;;;;;-1:-1:-1;33203:33:0;;;:89;:37;:89::i;:::-;33172:8;:121::i;:::-;-1:-1:-1;33311:4:0;33002:321;;;;;;:::o;31148:91::-;31222:9;;;;31148:91;:::o;33732:218::-;33820:4;33837:83;33846:12;:10;:12::i;:::-;33860:7;33869:50;33908:10;33869:11;:25;33881:12;:10;:12::i;:::-;-1:-1:-1;;;;;33869:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;33869:25:0;;;:34;;;;;;;;;;;:38;:50::i;40143:25::-;;;-1:-1:-1;;;;;40143:25:0;;:::o;46982:1322::-;47049:21;47073:8;47082:4;47073:14;;;;;;;;;;;;;;;;47122;;;:8;:14;;;;;;47137:10;47122:26;;;;;;;47167:11;;47073:14;;;;;;;;-1:-1:-1;47167:22:0;-1:-1:-1;47167:22:0;47159:53;;;;;-1:-1:-1;;;47159:53:0;;;;;;;;;;;;-1:-1:-1;;;47159:53:0;;;;;;;;;;;;;;;47223:16;47234:4;47223:10;:16::i;:::-;47250:15;47268:75;47327:4;:15;;;47268:54;47317:4;47268:44;47284:4;:27;;;47268:4;:11;;;:15;;:44;;;;:::i;:75::-;47250:93;-1:-1:-1;47357:11:0;;47354:611;;47389:11;;-1:-1:-1;;;47389:11:0;;;;47385:567;;47428:11;;:36;;;-1:-1:-1;;;47428:36:0;;47458:4;47428:36;;;;;;47468:7;;-1:-1:-1;;;;;47428:11:0;;:21;;:36;;;;;;;;;;;;;;:11;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47428:36:0;:47;;47420:76;;;;;-1:-1:-1;;;47420:76:0;;;;;;;;;;;;-1:-1:-1;;;47420:76:0;;;;;;;;;;;;;;;47539:7;;47515:49;;-1:-1:-1;;;;;47539:7:0;47548:15;:7;47560:2;47548:11;:15::i;:::-;47515:23;:49::i;:::-;47603:15;:7;47615:2;47603:11;:15::i;:::-;47593:25;;47637:44;47661:10;47593:25;47637:23;:44::i;:::-;47385:567;;;47755:7;47730:21;:32;;47722:61;;;;;-1:-1:-1;;;47722:61:0;;;;;;;;;;;;-1:-1:-1;;;47722:61:0;;;;;;;;;;;;;;;47802:7;;-1:-1:-1;;;;;47802:7:0;:33;47819:15;:7;47831:2;47819:11;:15::i;:::-;47802:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47874:15:0;:7;47886:2;47874:11;:15::i;:::-;47908:28;;47864:25;;;47908:10;;:28;;;;;47864:25;;47908:28;;;;47864:25;47908:10;:28;;;;;;;;;;;;;;;;;;;;;47385:567;47978:11;;47975:151;;48020:11;;:24;;48036:7;48020:15;:24::i;:::-;48006:38;;48059:12;;:55;;-1:-1:-1;;;;;48059:12:0;48093:10;48106:7;48059:25;:55::i;:::-;48170:27;;;;48154:11;;:54;;48203:4;;48154:44;;:15;:44::i;:54::-;48136:15;;;:72;48219:26;48225:10;48237:7;48219:5;:26::i;:::-;48261:35;;;;;;;;48282:4;;48270:10;;48261:35;;;;;;;;;46982:1322;;;;;:::o;40607:25::-;;;;:::o;44414:732::-;44466:21;44490:8;44499:4;44490:14;;;;;;;;;;;;;;;;;;44466:38;;44535:4;:20;;;44519:12;:36;44515:75;;44572:7;;;44515:75;44619:12;;:37;;;-1:-1:-1;;;44619:37:0;;44650:4;44619:37;;;;;;44600:16;;-1:-1:-1;;;;;44619:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44619:37:0;;-1:-1:-1;44671:13:0;;;:37;;-1:-1:-1;44688:15:0;;;;:20;44671:37;44667:126;;;-1:-1:-1;44748:12:0;44725:20;;;;:35;44775:7;;44667:126;44803:18;44824:49;44838:4;:20;;;44860:12;44824:13;:49::i;:::-;44803:70;;44884:19;44906:77;44967:15;;44906:56;44946:4;:15;;;44906:35;44921:19;;44906:10;:14;;:35;;;;:::i;:77::-;44884:99;-1:-1:-1;45024:68:0;45056:35;45082:8;45056:21;44884:99;45072:4;45056:15;:21::i;:35::-;45024:27;;;;;:31;:68::i;:::-;44994:27;;;:98;-1:-1:-1;;45126:12:0;45103:20;;;;:35;;;;-1:-1:-1;44414:732:0;;:::o;48375:421::-;48434:21;48458:8;48467:4;48458:14;;;;;;;;;;;;;;;;48507;;;:8;:14;;;;;;48522:10;48507:26;;;;;;;48561:11;;48583:15;;;-1:-1:-1;48609:15:0;;:19;;;;48458:14;;;;;48639:12;;48458:14;;-1:-1:-1;48507:26:0;;48561:11;48639:54;;-1:-1:-1;;;;;48639:12:0;;;;;48561:11;48639:25;:54::i;:::-;48704:25;48710:10;48722:6;48704:5;:25::i;:::-;48745:43;;;;;;;;48775:4;;48763:10;;48745:43;;;;;;;;;48375:421;;;;:::o;39980:34::-;;;;:::o;44158:180::-;44220:8;:15;44203:14;44246:85;44274:6;44268:3;:12;44246:85;;;44304:15;44315:3;44304:10;:15::i;:::-;44282:5;;44246:85;;;;44158:180;:::o;31475:127::-;-1:-1:-1;;;;;31576:18:0;31549:7;31576:18;;;;;;;;;;;;31475:127::o;24776:148::-;24356:12;:10;:12::i;:::-;-1:-1:-1;;;;;24345:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24345:23:0;;24337:68;;;;;-1:-1:-1;;;24337:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24337:68:0;;;;;;;;;;;;;;;24867:6:::1;::::0;24846:40:::1;::::0;24883:1:::1;::::0;24867:6:::1;::::0;::::1;-1:-1:-1::0;;;;;24867:6:0::1;::::0;24846:40:::1;::::0;24883:1;;24846:40:::1;24897:6;:19:::0;;-1:-1:-1;;;;;;24897:19:0::1;::::0;;24776:148::o;41680:667::-;24356:12;:10;:12::i;:::-;-1:-1:-1;;;;;24345:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24345:23:0;;24337:68;;;;;-1:-1:-1;;;24337:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24337:68:0;;;;;;;;;;;;;;;41824:5:::1;41807:13;:22;;;;41799:72;;;;-1:-1:-1::0;;;41799:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41886:11;41882:61;;;41914:17;:15;:17::i;:::-;41953:23;41994:10;;41979:12;:25;:53;;42022:10;;41979:53;;;42007:12;41979:53;42061:15;::::0;41953:79;;-1:-1:-1;42061:32:0::1;::::0;42081:11;42061:19:::1;:32::i;:::-;42043:15;:50:::0;42118:220:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;42118:220:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;42118:220:0;;;;;;::::1;::::0;;::::1;::::0;;;;;;42104:8:::1;:235:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;42104:235:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42104:235:0;;;;;;;;-1:-1:-1;;42104:235:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;41680:667::o;49444:165::-;49527:10;;-1:-1:-1;;;;;49527:10:0;49513;:24;49505:61;;;;;-1:-1:-1;;;49505:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;49577:10;:24;;-1:-1:-1;;;;;;49577:24:0;-1:-1:-1;;;;;49577:24:0;;;;;;;;;;49444:165::o;40064:44::-;40107:1;40064:44;:::o;49732:109::-;24356:12;:10;:12::i;:::-;-1:-1:-1;;;;;24345:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24345:23:0;;24337:68;;;;;-1:-1:-1;;;24337:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24337:68:0;;;;;;;;;;;;;;;49807:11:::1;:26:::0;;-1:-1:-1;;;;;;49807:26:0::1;-1:-1:-1::0;;;;;49807:26:0;;;::::1;::::0;;;::::1;::::0;;49732:109::o;49299:137::-;49378:7;;-1:-1:-1;;;;;49378:7:0;49364:10;:21;49356:43;;;;;-1:-1:-1;;;49356:43:0;;;;;;;;;;;;-1:-1:-1;;;49356:43:0;;;;;;;;;;;;;;;49410:7;:18;;-1:-1:-1;;;;;;49410:18:0;-1:-1:-1;;;;;49410:18:0;;;;;;;;;;49299:137::o;24125:87::-;24198:6;;;;;-1:-1:-1;;;;;24198:6:0;;24125:87::o;42999:143::-;43071:7;43098:36;40107:1;43098:14;:3;43106:5;43098:7;:14::i;40347:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30415:95::-;30495:7;30488:14;;;;;;;;-1:-1:-1;;30488:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30462:13;;30488:14;;30495:7;;30488:14;;30495:7;30488:14;;;;;;;;;;;;;;;;;;;;;;;;34453:269;34546:4;34563:129;34572:12;:10;:12::i;:::-;34586:7;34595:96;34634:15;34595:96;;;;;;;;;;;;;;;;;:11;:25;34607:12;:10;:12::i;:::-;-1:-1:-1;;;;;34595:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;34595:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;31815:175::-;31901:4;31918:42;31928:12;:10;:12::i;:::-;31942:9;31953:6;31918:9;:42::i;49617:107::-;24356:12;:10;:12::i;:::-;-1:-1:-1;;;;;24345:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24345:23:0;;24337:68;;;;;-1:-1:-1;;;24337:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24337:68:0;;;;;;;;;;;;;;;49690:11:::1;:26:::0;;;::::1;;-1:-1:-1::0;;;49690:26:0::1;-1:-1:-1::0;;;;49690:26:0;;::::1;::::0;;;::::1;::::0;;49617:107::o;40206:23::-;;;-1:-1:-1;;;40206:23:0;;;;;:::o;39898:30::-;;;-1:-1:-1;;;;;39898:30:0;;:::o;42460:463::-;24356:12;:10;:12::i;:::-;-1:-1:-1;;;;;24345:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24345:23:0;;24337:68;;;;;-1:-1:-1;;;24337:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24337:68:0;;;;;;;;;;;;;;;42601:5:::1;42584:13;:22;;;;42576:72;;;;-1:-1:-1::0;;;42576:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42663:11;42659:61;;;42691:17;:15;:17::i;:::-;42748:63;42799:11;42748:46;42768:8;42777:4;42768:14;;;;;;;;;;;;;;;;;;:25;;;42748:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;42730:15;:81;;;;42850:11;42822:8;42831:4;42822:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;42902:13;42872:8;42881:4;42872:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;42460:463:::0;;;;:::o;32053:151::-;-1:-1:-1;;;;;32169:18:0;;;32142:7;32169:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;32053:151::o;45209:1728::-;45275:21;45299:8;45308:4;45299:14;;;;;;;;;;;;;;;;45348;;;:8;:14;;;;;;45363:10;45348:26;;;;;;;45299:14;;;;;;;;-1:-1:-1;45385:16:0;45357:4;45385:10;:16::i;:::-;45416:11;;:15;45412:812;;45448:15;45466:75;45525:4;:15;;;45466:54;45515:4;45466:44;45482:4;:27;;;45466:4;:11;;;:15;;:44;;;;:::i;:75::-;45448:93;-1:-1:-1;45559:11:0;;45556:657;;45595:11;;-1:-1:-1;;;45595:11:0;;;;45591:607;;45638:11;;:36;;;-1:-1:-1;;;45638:36:0;;45668:4;45638:36;;;;;;45678:7;;-1:-1:-1;;;;;45638:11:0;;:21;;:36;;;;;;;;;;;;;;:11;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45638:36:0;:47;;45630:76;;;;;-1:-1:-1;;;45630:76:0;;;;;;;;;;;;-1:-1:-1;;;45630:76:0;;;;;;;;;;;;;;;45753:7;;45729:49;;-1:-1:-1;;;;;45753:7:0;45762:15;:7;45774:2;45762:11;:15::i;45729:49::-;45821:15;:7;45833:2;45821:11;:15::i;:::-;45811:25;;45859:44;45883:10;45811:25;45859:23;:44::i;:::-;45591:607;;;45985:7;45960:21;:32;;45952:61;;;;;-1:-1:-1;;;45952:61:0;;;;;;;;;;;;-1:-1:-1;;;45952:61:0;;;;;;;;;;;;;;;46036:7;;-1:-1:-1;;;;;46036:7:0;:33;46053:15;:7;46065:2;46053:11;:15::i;:::-;46036:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46112:15:0;:7;46124:2;46112:11;:15::i;:::-;46150:28;;46102:25;;;46150:10;;:28;;;;;46102:25;;46150:28;;;;46102:25;46150:10;:28;;;;;;;;;;;;;;;;;;;;;45591:607;45412:812;;46237:11;;46234:471;;46265:12;;:74;;-1:-1:-1;;;;;46265:12:0;46303:10;46324:4;46331:7;46265:29;:74::i;:::-;46357:17;;;;;;:21;46354:340;;46431:17;;;;46398:18;;46419:41;;46454:5;;46419:30;;:7;;46431:17;;46419:11;:30::i;:41::-;46505:10;;46479:12;;46398:62;;-1:-1:-1;46479:49:0;;-1:-1:-1;;;;;46479:12:0;;;;46505:10;46398:62;46479:25;:49::i;:::-;46561:11;;:40;;46590:10;;46561:24;;46577:7;46561:15;:24::i;:40::-;46547:54;;-1:-1:-1;46354:340:0;;;46654:11;;:24;;46670:7;46654:15;:24::i;:::-;46640:38;;46354:340;46749:27;;;;46733:11;;:54;;46782:4;;46733:44;;:15;:44::i;:54::-;46715:15;;;:72;46836:7;46854:25;46860:10;46836:7;46854:5;:25::i;:::-;46895:34;;;;;;;;46915:4;;46903:10;;46895:34;;;;;;;;;45209:1728;;;;;:::o;25079:244::-;24356:12;:10;:12::i;:::-;-1:-1:-1;;;;;24345:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24345:23:0;;24337:68;;;;;-1:-1:-1;;;24337:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24337:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;25168:22:0;::::1;25160:73;;;;-1:-1:-1::0;;;25160:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25270:6;::::0;25249:38:::1;::::0;-1:-1:-1;;;;;25249:38:0;;::::1;::::0;25270:6:::1;::::0;::::1;;::::0;25249:38:::1;::::0;;;::::1;25298:6;:17:::0;;-1:-1:-1;;;;;25298:17:0;;::::1;;;-1:-1:-1::0;;;;;;25298:17:0;;::::1;::::0;;;::::1;::::0;;25079:244::o;39845:25::-;;;-1:-1:-1;;;;;39845:25:0;;:::o;22660:106::-;22748:10;22660:106;:::o;37600:346::-;-1:-1:-1;;;;;37702:19:0;;37694:68;;;;-1:-1:-1;;;37694:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37781:21:0;;37773:68;;;;-1:-1:-1;;;37773:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37854:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;37906:32;;;;;;;;;;;;;;;;;37600:346;;;:::o;3653:220::-;3711:7;3735:6;3731:20;;-1:-1:-1;3750:1:0;3743:8;;3731:20;3774:5;;;3778:1;3774;:5;:1;3798:5;;;;;:10;3790:56;;;;-1:-1:-1;;;3790:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4351:153;4409:7;4441:1;4437;:5;4429:44;;;;;-1:-1:-1;;;4429:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4495:1;4491;:5;;;;;;;4351:153;-1:-1:-1;;;4351:153:0:o;2774:179::-;2832:7;2864:5;;;2888:6;;;;2880:46;;;;;-1:-1:-1;;;2880:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3236:158;3294:7;3327:1;3322;:6;;3314:49;;;;;-1:-1:-1;;;3314:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3381:5:0;;;3236:158::o;35212:539::-;-1:-1:-1;;;;;35318:20:0;;35310:70;;;;-1:-1:-1;;;35310:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35399:23:0;;35391:71;;;;-1:-1:-1;;;35391:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35475:47;35496:6;35504:9;35515:6;35475:20;:47::i;:::-;35555:71;35577:6;35555:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35555:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;35535:17:0;;;:9;:17;;;;;;;;;;;:91;;;;35660:20;;;;;;;:32;;35685:6;35660:24;:32::i;:::-;-1:-1:-1;;;;;35637:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;35708:35;;;;;;;35637:20;;35708:35;;;;;;;;;;;;;35212:539;;;:::o;5601:166::-;5687:7;5723:12;5715:6;;;;5707:29;;;;-1:-1:-1;;;5707:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5754:5:0;;;5601:166::o;48918:327::-;49026:11;;:36;;;-1:-1:-1;;;49026:36:0;;49056:4;49026:36;;;;;;49001:22;;-1:-1:-1;;;;;49026:11:0;;:21;;:36;;;;;;;;;;;;;;:11;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49026:36:0;;-1:-1:-1;49077:24:0;;;49073:165;;;49118:11;;:41;;;-1:-1:-1;;;49118:41:0;;-1:-1:-1;;;;;49118:41:0;;;;;;;;;;;;;;;:11;;;;;:20;;:41;;;;;;;;;;;;;;:11;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49073:165:0;;-1:-1:-1;49073:165:0;;49192:11;;:34;;;-1:-1:-1;;;49192:34:0;;-1:-1:-1;;;;;49192:34:0;;;;;;;;;;;;;;;:11;;;;;:20;;:34;;;;;;;;;;;;;;:11;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49073:165:0;48918:327;;;:::o;18951:177::-;19061:58;;;-1:-1:-1;;;;;19061:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19061:58:0;-1:-1:-1;;;19061:58:0;;;19034:86;;19054:5;;19034:19;:86::i;36744:418::-;-1:-1:-1;;;;;36828:21:0;;36820:67;;;;-1:-1:-1;;;36820:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36900:49;36921:7;36938:1;36942:6;36900:20;:49::i;:::-;36983:68;37006:6;36983:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36983:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;36962:18:0;;:9;:18;;;;;;;;;;:89;37077:12;;:24;;37094:6;37077:16;:24::i;:::-;37062:12;:39;37117:37;;;;;;;;37143:1;;-1:-1:-1;;;;;37117:37:0;;;;;;;;;;;;36744:418;;:::o;19136:205::-;19264:68;;;-1:-1:-1;;;;;19264:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19264:68:0;-1:-1:-1;;;19264:68:0;;;19237:96;;19257:5;;19237:19;:96::i;:::-;19136:205;;;;:::o;36033:378::-;-1:-1:-1;;;;;36117:21:0;;36109:65;;;;;-1:-1:-1;;;36109:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36187:49;36216:1;36220:7;36229:6;36187:20;:49::i;:::-;36264:12;;:24;;36281:6;36264:16;:24::i;:::-;36249:12;:39;-1:-1:-1;;;;;36320:18:0;;:9;:18;;;;;;;;;;;:30;;36343:6;36320:22;:30::i;:::-;-1:-1:-1;;;;;36299:18:0;;:9;:18;;;;;;;;;;;:51;;;;36366:37;;;;;;;36299:18;;:9;;36366:37;;;;;;;;;;36033:378;;:::o;21256:761::-;21680:23;21706:69;21734:4;21706:69;;;;;;;;;;;;;;;;;21714:5;-1:-1:-1;;;;;21706:27:0;;;:69;;;;;:::i;:::-;21790:17;;21680:95;;-1:-1:-1;21790:21:0;21786:224;;21932:10;21921:30;;;;;;;;;;;;;;;-1:-1:-1;21921:30:0;21913:85;;;;-1:-1:-1;;;21913:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13944:195;14047:12;14079:52;14101:6;14109:4;14115:1;14118:12;14079:21;:52::i;:::-;14072:59;13944:195;-1:-1:-1;;;;13944:195:0:o;14996:530::-;15123:12;15181:5;15156:21;:30;;15148:81;;;;-1:-1:-1;;;15148:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15248:18;15259:6;15248:10;:18::i;:::-;15240:60;;;;;-1:-1:-1;;;15240:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15374:12;15388:23;15415:6;-1:-1:-1;;;;;15415:11:0;15435:5;15443:4;15415:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15415:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15373:75;;;;15466:52;15484:7;15493:10;15505:12;15466:17;:52::i;:::-;15459:59;14996:530;-1:-1:-1;;;;;;;14996:530:0:o;11026:422::-;11393:20;11432:8;;;11026:422::o;17536:742::-;17651:12;17680:7;17676:595;;;-1:-1:-1;17711:10:0;17704:17;;17676:595;17825:17;;:21;17821:439;;18088:10;18082:17;18149:15;18136:10;18132:2;18128:19;18121:44;18036:148;18224:20;;-1:-1:-1;;;18224:20:0;;;;;;;;;;;;;;;;;18231:12;;18224:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://d97fee43802ead7bc5954e67c172a8aaf79b9a9957dc09ee955ffcfd75fcd1c1
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.