Polygon Sponsored slots available. Book your slot here!
Contract Overview
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Contract Name:
Pool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-11-05 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // Inheritance // https://docs.synthetix.io/contracts/Pausable abstract contract Pausable is Ownable { uint256 public lastPauseTime; bool public paused; constructor() internal { // This contract is abstract, and thus cannot be instantiated directly require(owner() != address(0), "Owner must be set"); // Paused will be false, and lastPauseTime will be 0 upon initialisation } /** * @notice Change the paused state of the contract * @dev Only the contract owner may call this. */ function setPaused(bool _paused) external onlyOwner { // Ensure we're actually changing the state before we do anything if (_paused == paused) { return; } // Set our paused state. paused = _paused; // If applicable, set the last pause time. if (paused) { lastPauseTime = now; } // Let everyone know that our pause state has changed. emit PauseChanged(paused); } event PauseChanged(bool isPaused); modifier notPaused { require( !paused, "This action cannot be performed while the contract is paused" ); _; } } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @dev Interface of the BEP20 standard as defined in the EIP. */ interface IBEP20 { /** * @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: contracts/utils/Address.sol /** * @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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: contracts/token/BEP20/BEP20.sol /** * @dev Implementation of the {IBEP20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {BEP20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-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 BEP20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IBEP20-approve}. */ contract BEP20 is Context, IBEP20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {BEP20} 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 * {IBEP20-balanceOf} and {IBEP20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IBEP20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IBEP20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IBEP20-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 {IBEP20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IBEP20-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 {IBEP20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {BEP20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "BEP20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IBEP20-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 {IBEP20-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, "BEP20: 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), "BEP20: transfer from the zero address"); require(recipient != address(0), "BEP20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "BEP20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "BEP20: 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), "BEP20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "BEP20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This 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), "BEP20: approve from the zero address"); require(spender != address(0), "BEP20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } /** * @title SafeBEP20 * @dev Wrappers around BEP20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeBEP20 for IBEP20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeBEP20 { using SafeMath for uint256; using Address for address; function safeTransfer(IBEP20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IBEP20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IBEP20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IBEP20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeBEP20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IBEP20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IBEP20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeBEP20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IBEP20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeBEP20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed"); } } } contract Pool is ReentrancyGuard, Pausable { using SafeMath for uint256; using SafeBEP20 for IBEP20; // STATE VARIABLES IBEP20 public rewardsToken; IBEP20 public stakingToken; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public rewardsDuration = 7890000; // 3 months uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; uint256 private _totalSupply; mapping(address => uint256) private _balances; // CONSTRUCTOR constructor( address _rewardsToken, address _stakingToken ) public { require(_rewardsToken != address(0) && _stakingToken != address(0), '!null'); rewardsToken = IBEP20(_rewardsToken); stakingToken = IBEP20(_stakingToken); } // VIEWS function totalSupply() external view returns (uint256) { return _totalSupply; } function balanceOf(address account) external view returns (uint256) { return _balances[account]; } function lastTimeRewardApplicable() public view returns (uint256) { return min(block.timestamp, periodFinish); } function rewardPerToken() public view returns (uint256) { if (_totalSupply == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(lastUpdateTime) .mul(rewardRate) .mul(1e18) .div(_totalSupply) ); } function earned(address account) public view returns (uint256) { return _balances[account] .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18) .add(rewards[account]); } function getRewardForDuration() external view returns (uint256) { return rewardRate.mul(rewardsDuration); } function min(uint256 a, uint256 b) public pure returns (uint256) { return a < b ? a : b; } // PUBLIC FUNCTIONS function stake(uint256 amount) external nonReentrant notPaused updateReward(msg.sender) { require(amount > 0, "Cannot stake 0"); uint256 balBefore = stakingToken.balanceOf(address(this)); stakingToken.safeTransferFrom(msg.sender, address(this), amount); uint256 balAfter = stakingToken.balanceOf(address(this)); uint256 actualReceived = balAfter.sub(balBefore); _totalSupply = _totalSupply.add(actualReceived); _balances[msg.sender] = _balances[msg.sender].add(actualReceived); emit Staked(msg.sender, actualReceived); } function withdraw(uint256 amount) public nonReentrant updateReward(msg.sender) { require(amount > 0, "Cannot withdraw 0"); _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); stakingToken.safeTransfer(msg.sender, amount); emit Withdrawn(msg.sender, amount); } function getReward() public nonReentrant updateReward(msg.sender) { uint256 reward = rewards[msg.sender]; if (reward > 0) { rewards[msg.sender] = 0; rewardsToken.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } function exit() external { withdraw(_balances[msg.sender]); uint256 reward = rewards[msg.sender]; if (reward > 0) { rewards[msg.sender] = 0; rewardsToken.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } // RESTRICTED FUNCTIONS function notifyRewardAmount(uint256 reward) external restricted updateReward(address(0)) { if (block.timestamp >= periodFinish) { rewardRate = reward.div(rewardsDuration); } else { uint256 remaining = periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(rewardRate); rewardRate = reward.add(leftover).div(rewardsDuration); } // Ensure the provided reward amount is not more than the balance in the contract. // This keeps the reward rate in the right range, preventing overflows due to // very high values of rewardRate in the earned and rewardsPerToken functions; // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow. uint256 balance = rewardsToken.balanceOf(address(this)); require( rewardRate <= balance.div(rewardsDuration), "Provided reward too high" ); lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(rewardsDuration); emit RewardAdded(reward); } // Added to support recovering LP Rewards from other systems such as BAL to be distributed to holders function recoverBEP20(address tokenAddress, uint256 tokenAmount) external onlyOwner { // Cannot recover the staking token or the rewards token require( tokenAddress != address(stakingToken) && tokenAddress != address(rewardsToken), "Cannot withdraw the staking or rewards tokens" ); IBEP20(tokenAddress).safeTransfer(owner(), tokenAmount); emit Recovered(tokenAddress, tokenAmount); } function setRewardsDuration(uint256 _rewardsDuration) external restricted { require( block.timestamp > periodFinish, "Previous rewards period must be complete before changing the duration for the new period" ); rewardsDuration = _rewardsDuration; emit RewardsDurationUpdated(rewardsDuration); } // *** MODIFIERS *** modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } modifier restricted { require( msg.sender == owner(), '!restricted' ); _; } // EVENTS event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); event RewardsDurationUpdated(uint256 newDuration); event Recovered(address token, uint256 amount); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"bool","name":"isPaused","type":"bool"}],"name":"PauseChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPauseTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"a","type":"uint256"},{"internalType":"uint256","name":"b","type":"uint256"}],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverBEP20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260006005556000600655627864506007553480156200002257600080fd5b5060405162002fb438038062002fb4833981810160405260408110156200004857600080fd5b810190808051906020019092919080519060200190929190505050600160008190555060006200007d6200033760201b60201c565b905080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350600073ffffffffffffffffffffffffffffffffffffffff16620001446200033f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161415620001cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4f776e6572206d7573742062652073657400000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156200023a5750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b620002ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f216e756c6c00000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b81600360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000369565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612c3b80620003796000396000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c80637b0a47ee11610104578063cc1a378f116100a2578063e9fad8ee11610071578063e9fad8ee14610645578063ebe2b12b1461064f578063efa088061461066d578063f2fde38b146106bb576101ce565b8063cc1a378f146105a7578063cd3daf9d146105d5578063d1af0c7d146105f3578063df136d6514610627576101ce565b80638da5cb5b116100de5780638da5cb5b1461050957806391b4ded91461053d578063a694fc3a1461055b578063c8f33c9114610589576101ce565b80637b0a47ee1461047557806380faa57d146104935780638b876347146104b1576101ce565b80633c6b16ab1161017157806370a082311161014b57806370a0823114610393578063715018a6146103eb57806372f702f3146103f55780637ae2b5c714610429576101ce565b80633c6b16ab1461033b5780633d18b912146103695780635c975abb14610373576101ce565b806318160ddd116101ad57806318160ddd146102b35780631c1f78eb146102d15780632e1a7d4d146102ef578063386a95251461031d576101ce565b80628cc262146101d35780630700037d1461022b57806316c38b3c14610283575b600080fd5b610215600480360360208110156101e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106ff565b6040518082815260200191505060405180910390f35b61026d6004803603602081101561024157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061081d565b6040518082815260200191505060405180910390f35b6102b16004803603602081101561029957600080fd5b81019080803515159060200190929190505050610835565b005b6102bb6109a2565b6040518082815260200191505060405180910390f35b6102d96109ac565b6040518082815260200191505060405180910390f35b61031b6004803603602081101561030557600080fd5b81019080803590602001909291905050506109ca565b005b610325610cfc565b6040518082815260200191505060405180910390f35b6103676004803603602081101561035157600080fd5b8101908080359060200190929190505050610d02565b005b6103716110cc565b005b61037b61136b565b60405180821515815260200191505060405180910390f35b6103d5600480360360208110156103a957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061137e565b6040518082815260200191505060405180910390f35b6103f36113c7565b005b6103fd611552565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61045f6004803603604081101561043f57600080fd5b810190808035906020019092919080359060200190929190505050611578565b6040518082815260200191505060405180910390f35b61047d611591565b6040518082815260200191505060405180910390f35b61049b611597565b6040518082815260200191505060405180910390f35b6104f3600480360360208110156104c757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115aa565b6040518082815260200191505060405180910390f35b6105116115c2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105456115ec565b6040518082815260200191505060405180910390f35b6105876004803603602081101561057157600080fd5b81019080803590602001909291905050506115f2565b005b610591611b36565b6040518082815260200191505060405180910390f35b6105d3600480360360208110156105bd57600080fd5b8101908080359060200190929190505050611b3c565b005b6105dd611c81565b6040518082815260200191505060405180910390f35b6105fb611d0f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61062f611d35565b6040518082815260200191505060405180910390f35b61064d611d3b565b005b610657611eb4565b6040518082815260200191505060405180910390f35b6106b96004803603604081101561068357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611eba565b005b6106fd600480360360208110156106d157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612110565b005b6000610816600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610808670de0b6b3a76400006107fa6107ac600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461079e611c81565b61232090919063ffffffff16565b600d60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461236a90919063ffffffff16565b6123f090919063ffffffff16565b61243a90919063ffffffff16565b9050919050565b600b6020528060005260406000206000915090505481565b61083d6124c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900460ff161515811515141561091f5761099f565b80600360006101000a81548160ff021916908315150217905550600360009054906101000a900460ff161561095657426002819055505b7f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5600360009054906101000a900460ff1660405180821515815260200191505060405180910390a15b50565b6000600c54905090565b60006109c560075460065461236a90919063ffffffff16565b905090565b60026000541415610a43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033610a54611c81565b600981905550610a62611597565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b2f57610aa5816106ff565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610ba5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610bba82600c5461232090919063ffffffff16565b600c81905550610c1282600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461232090919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610ca23383600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124ca9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a250600160008190555050565b60075481565b610d0a6115c2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610daa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217265737472696374656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000610db4611c81565b600981905550610dc2611597565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e8f57610e05816106ff565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6005544210610eb857610ead600754836123f090919063ffffffff16565b600681905550610f1a565b6000610ecf4260055461232090919063ffffffff16565b90506000610ee86006548361236a90919063ffffffff16565b9050610f11600754610f03838761243a90919063ffffffff16565b6123f090919063ffffffff16565b60068190555050505b6000600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610fa557600080fd5b505afa158015610fb9573d6000803e3d6000fd5b505050506040513d6020811015610fcf57600080fd5b81019080805190602001909291905050509050610ff7600754826123f090919063ffffffff16565b600654111561106e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b4260088190555061108a6007544261243a90919063ffffffff16565b6005819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a1505050565b60026000541415611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033611156611c81565b600981905550611164611597565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611231576111a7816106ff565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081111561135f576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506113103382600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124ca9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50506001600081905550565b600360009054906101000a900460ff1681565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113cf6124c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611491576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008183106115875781611589565b825b905092915050565b60065481565b60006115a542600554611578565b905090565b600a6020528060005260406000206000915090505481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b6002600054141561166b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600360009054906101000a900460ff16156116d9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180612b9d603c913960400191505060405180910390fd5b336116e2611c81565b6009819055506116f0611597565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146117bd57611733816106ff565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156118be57600080fd5b505afa1580156118d2573d6000803e3d6000fd5b505050506040513d60208110156118e857600080fd5b8101908080519060200190929190505050905061194a333085600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661256c909392919063ffffffff16565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156119d557600080fd5b505afa1580156119e9573d6000803e3d6000fd5b505050506040513d60208110156119ff57600080fd5b810190808051906020019092919050505090506000611a27838361232090919063ffffffff16565b9050611a3e81600c5461243a90919063ffffffff16565b600c81905550611a9681600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461243a90919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040518082815260200191505060405180910390a250505050600160008190555050565b60085481565b611b446115c2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611be4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217265737472696374656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6005544211611c3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526058815260200180612ad46058913960600191505060405180910390fd5b806007819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d36007546040518082815260200191505060405180910390a150565b600080600c541415611c97576009549050611d0c565b611d09611cf8600c54611cea670de0b6b3a7640000611cdc600654611cce600854611cc0611597565b61232090919063ffffffff16565b61236a90919063ffffffff16565b61236a90919063ffffffff16565b6123f090919063ffffffff16565b60095461243a90919063ffffffff16565b90505b90565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b611d83600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109ca565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611eb1576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e623382600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124ca9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50565b60055481565b611ec26124c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156120305750600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b612085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180612bd9602d913960400191505060405180910390fd5b6120b76120906115c2565b828473ffffffffffffffffffffffffffffffffffffffff166124ca9092919063ffffffff16565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288282604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b6121186124c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146121da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612260576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612b566026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061236283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061262d565b905092915050565b60008083141561237d57600090506123ea565b600082840290508284828161238e57fe5b04146123e5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612b7c6021913960400191505060405180910390fd5b809150505b92915050565b600061243283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506126ed565b905092915050565b6000808284019050838110156124b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b6125678363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506127b3565b505050565b612627846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506127b3565b50505050565b60008383111582906126da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561269f578082015181840152602081019050612684565b50505050905090810190601f1680156126cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290612799576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561275e578082015181840152602081019050612743565b50505050905090810190601f16801561278b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816127a557fe5b049050809150509392505050565b6060612815826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166128a29092919063ffffffff16565b905060008151111561289d5780806020019051602081101561283657600080fd5b810190808051906020019092919050505061289c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612b2c602a913960400191505060405180910390fd5b5b505050565b60606128b184846000856128ba565b90509392505050565b60606128c585612ac0565b612937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106129875780518252602082019150602081019050602083039250612964565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146129e9576040519150601f19603f3d011682016040523d82523d6000602084013e6129ee565b606091505b50915091508115612a03578092505050612ab8565b600081511115612a165780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612a7d578082015181840152602081019050612a62565b50505050905090810190601f168015612aaa5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b90506000811191505091905056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f645361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656443616e6e6f7420776974686472617720746865207374616b696e67206f72207265776172647320746f6b656e73a264697066735822122073fc2c31cfb5d3c3f6cb217ad7533782150c78286a2e47926b46414a0678dd6264736f6c634300060c00330000000000000000000000003c1bb39bb696b443a1d80bb2b3a3d950ba9dee87000000000000000000000000ccb65f861266ef7def8bf35d4247e3ffa03563c7
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003c1bb39bb696b443a1d80bb2b3a3d950ba9dee87000000000000000000000000ccb65f861266ef7def8bf35d4247e3ffa03563c7
-----Decoded View---------------
Arg [0] : _rewardsToken (address): 0x3c1bb39bb696b443a1d80bb2b3a3d950ba9dee87
Arg [1] : _stakingToken (address): 0xccb65f861266ef7def8bf35d4247e3ffa03563c7
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003c1bb39bb696b443a1d80bb2b3a3d950ba9dee87
Arg [1] : 000000000000000000000000ccb65f861266ef7def8bf35d4247e3ffa03563c7
Deployed ByteCode Sourcemap
35626:7008:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37374:265;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36113:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3722:488;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36593:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37647:121;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38575:393;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35910:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39648:1142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38976:307;;;:::i;:::-;;3306:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36694:112;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2607:148;;;:::i;:::-;;35803:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37776:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35874:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36814:126;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36049:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1965:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;3271:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37915:652;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35969:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41413:361;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36948:418;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35770:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36005:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39291:318;;;:::i;:::-;;35836:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;40905:500;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2910:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37374:265;37428:7;37468:163;37614:7;:16;37622:7;37614:16;;;;;;;;;;;;;;;;37468:123;37586:4;37468:95;37509:53;37530:22;:31;37553:7;37530:31;;;;;;;;;;;;;;;;37509:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;37468:9;:18;37478:7;37468:18;;;;;;;;;;;;;;;;:40;;:95;;;;:::i;:::-;:117;;:123;;;;:::i;:::-;:145;;:163;;;;:::i;:::-;37448:183;;37374:265;;;:::o;36113:42::-;;;;;;;;;;;;;;;;;:::o;3722:488::-;2187:12;:10;:12::i;:::-;2177:22;;:6;;;;;;;;;;;:22;;;2169:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3875:6:::1;;;;;;;;;;;3864:17;;:7;:17;;;3860:56;;;3898:7;;3860:56;3971:7;3962:6;;:16;;;;;;;;;;;;;;;;;;4047:6;;;;;;;;;;;4043:58;;;4086:3;4070:13;:19;;;;4043:58;4182:20;4195:6;;;;;;;;;;;4182:20;;;;;;;;;;;;;;;;;;;;2247:1;3722:488:::0;:::o;36593:93::-;36639:7;36666:12;;36659:19;;36593:93;:::o;37647:121::-;37702:7;37729:31;37744:15;;37729:10;;:14;;:31;;;;:::i;:::-;37722:38;;37647:121;:::o;38575:393::-;6076:1;6682:7;;:19;;6674:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6076:1;6815:7;:18;;;;38669:10:::1;41883:16;:14;:16::i;:::-;41860:20;:39;;;;41927:26;:24;:26::i;:::-;41910:14;:43;;;;41987:1;41968:21;;:7;:21;;;41964:157;;42025:15;42032:7;42025:6;:15::i;:::-;42006:7;:16;42014:7;42006:16;;;;;;;;;;;;;;;:34;;;;42089:20;;42055:22;:31;42078:7;42055:31;;;;;;;;;;;;;;;:54;;;;41964:157;38714:1:::2;38705:6;:10;38697:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;38765:24;38782:6;38765:12;;:16;;:24;;;;:::i;:::-;38750:12;:39;;;;38824:33;38850:6;38824:9;:21;38834:10;38824:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;38800:9;:21;38810:10;38800:21;;;;;;;;;;;;;;;:57;;;;38868:45;38894:10;38906:6;38868:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;38941:10;38931:29;;;38953:6;38931:29;;;;;;;;;;;;;;;;;;6846:1:::1;6032::::0;6994:7;:22;;;;38575:393;:::o;35910:40::-;;;;:::o;39648:1142::-;42217:7;:5;:7::i;:::-;42203:21;;:10;:21;;;42181:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39760:1:::1;41883:16;:14;:16::i;:::-;41860:20;:39;;;;41927:26;:24;:26::i;:::-;41910:14;:43;;;;41987:1;41968:21;;:7;:21;;;41964:157;;42025:15;42032:7;42025:6;:15::i;:::-;42006:7;:16;42014:7;42006:16;;;;;;;;;;;;;;;:34;;;;42089:20;;42055:22;:31;42078:7;42055:31;;;;;;;;;;;;;;;:54;;;;41964:157;39803:12:::2;;39784:15;:31;39780:318;;39845:27;39856:15;;39845:6;:10;;:27;;;;:::i;:::-;39832:10;:40;;;;39780:318;;;39905:17;39925:33;39942:15;39925:12;;:16;;:33;;;;:::i;:::-;39905:53;;39973:16;39992:25;40006:10;;39992:9;:13;;:25;;;;:::i;:::-;39973:44;;40045:41;40070:15;;40045:20;40056:8;40045:6;:10;;:20;;;;:::i;:::-;:24;;:41;;;;:::i;:::-;40032:10;:54;;;;39780:318;;;40458:15;40476:12;;;;;;;;;;;:22;;;40507:4;40476:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;40458:55;;40560:28;40572:15;;40560:7;:11;;:28;;;;:::i;:::-;40546:10;;:42;;40524:116;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;40670:15;40653:14;:32;;;;40711:36;40731:15;;40711;:19;;:36;;;;:::i;:::-;40696:12;:51;;;;40763:19;40775:6;40763:19;;;;;;;;;;;;;;;;;;42133:1;42276::::1;39648:1142:::0;:::o;38976:307::-;6076:1;6682:7;;:19;;6674:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6076:1;6815:7;:18;;;;39030:10:::1;41883:16;:14;:16::i;:::-;41860:20;:39;;;;41927:26;:24;:26::i;:::-;41910:14;:43;;;;41987:1;41968:21;;:7;:21;;;41964:157;;42025:15;42032:7;42025:6;:15::i;:::-;42006:7;:16;42014:7;42006:16;;;;;;;;;;;;;;;:34;;;;42089:20;;42055:22;:31;42078:7;42055:31;;;;;;;;;;;;;;;:54;;;;41964:157;39053:14:::2;39070:7;:19;39078:10;39070:19;;;;;;;;;;;;;;;;39053:36;;39113:1;39104:6;:10;39100:176;;;39153:1;39131:7;:19;39139:10;39131:19;;;;;;;;;;;;;;;:23;;;;39169:45;39195:10;39207:6;39169:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;39245:10;39234:30;;;39257:6;39234:30;;;;;;;;;;;;;;;;;;39100:176;42133:1;6846::::1;6032::::0;6994:7;:22;;;;38976:307::o;3306:18::-;;;;;;;;;;;;;:::o;36694:112::-;36753:7;36780:9;:18;36790:7;36780:18;;;;;;;;;;;;;;;;36773:25;;36694:112;;;:::o;2607:148::-;2187:12;:10;:12::i;:::-;2177:22;;:6;;;;;;;;;;;:22;;;2169:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2714:1:::1;2677:40;;2698:6;;;;;;;;;;;2677:40;;;;;;;;;;;;2745:1;2728:6;;:19;;;;;;;;;;;;;;;;;;2607:148::o:0;35803:26::-;;;;;;;;;;;;;:::o;37776:104::-;37832:7;37863:1;37859;:5;:13;;37871:1;37859:13;;;37867:1;37859:13;37852:20;;37776:104;;;;:::o;35874:29::-;;;;:::o;36814:126::-;36871:7;36898:34;36902:15;36919:12;;36898:3;:34::i;:::-;36891:41;;36814:126;:::o;36049:57::-;;;;;;;;;;;;;;;;;:::o;1965:79::-;2003:7;2030:6;;;;;;;;;;;2023:13;;1965:79;:::o;3271:28::-;;;;:::o;37915:652::-;6076:1;6682:7;;:19;;6674:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6076:1;6815:7;:18;;;;4313:6:::1;;;;;;;;;;;4312:7;4290:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38027:10:::2;41883:16;:14;:16::i;:::-;41860:20;:39;;;;41927:26;:24;:26::i;:::-;41910:14;:43;;;;41987:1;41968:21;;:7;:21;;;41964:157;;42025:15;42032:7;42025:6;:15::i;:::-;42006:7;:16;42014:7;42006:16;;;;;;;;;;;;;;;:34;;;;42089:20;;42055:22;:31;42078:7;42055:31;;;;;;;;;;;;;;;:54;;;;41964:157;38072:1:::3;38063:6;:10;38055:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;38105:17;38125:12;;;;;;;;;;;:22;;;38156:4;38125:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;38105:57;;38173:64;38203:10;38223:4;38230:6;38173:12;;;;;;;;;;;:29;;;;:64;;;;;;:::i;:::-;38248:16;38267:12;;;;;;;;;;;:22;;;38298:4;38267:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;38248:56;;38315:22;38340:23;38353:9;38340:8;:12;;:23;;;;:::i;:::-;38315:48;;38391:32;38408:14;38391:12;;:16;;:32;;;;:::i;:::-;38376:12;:47;;;;38458:41;38484:14;38458:9;:21;38468:10;38458:21;;;;;;;;;;;;;;;;:25;;:41;;;;:::i;:::-;38434:9;:21;38444:10;38434:21;;;;;;;;;;;;;;;:65;;;;38532:10;38525:34;;;38544:14;38525:34;;;;;;;;;;;;;;;;;;42133:1;;;4418::::2;6032::::0;6994:7;:22;;;;37915:652;:::o;35969:29::-;;;;:::o;41413:361::-;42217:7;:5;:7::i;:::-;42203:21;;:10;:21;;;42181:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41538:12:::1;;41520:15;:30;41498:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41695:16;41677:15;:34;;;;41727:39;41750:15;;41727:39;;;;;;;;;;;;;;;;;;41413:361:::0;:::o;36948:418::-;36995:7;37035:1;37019:12;;:17;37015:77;;;37060:20;;37053:27;;;;37015:77;37122:236;37165:178;37330:12;;37165:138;37298:4;37165:106;37260:10;;37165:68;37218:14;;37165:26;:24;:26::i;:::-;:52;;:68;;;;:::i;:::-;:94;;:106;;;;:::i;:::-;:132;;:138;;;;:::i;:::-;:164;;:178;;;;:::i;:::-;37122:20;;:24;;:236;;;;:::i;:::-;37102:256;;36948:418;;:::o;35770:26::-;;;;;;;;;;;;;:::o;36005:35::-;;;;:::o;39291:318::-;39327:31;39336:9;:21;39346:10;39336:21;;;;;;;;;;;;;;;;39327:8;:31::i;:::-;39379:14;39396:7;:19;39404:10;39396:19;;;;;;;;;;;;;;;;39379:36;;39439:1;39430:6;:10;39426:176;;;39479:1;39457:7;:19;39465:10;39457:19;;;;;;;;;;;;;;;:23;;;;39495:45;39521:10;39533:6;39495:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;39571:10;39560:30;;;39583:6;39560:30;;;;;;;;;;;;;;;;;;39426:176;39291:318;:::o;35836:31::-;;;;:::o;40905:500::-;2187:12;:10;:12::i;:::-;2177:22;;:6;;;;;;;;;;;:22;;;2169:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41135:12:::1;;;;;;;;;;;41111:37;;:12;:37;;;;:95;;;;;41193:12;;;;;;;;;;;41169:37;;:12;:37;;;;41111:95;41089:190;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41290:55;41324:7;:5;:7::i;:::-;41333:11;41297:12;41290:33;;;;:55;;;;;:::i;:::-;41361:36;41371:12;41385:11;41361:36;;;;;;;;;;;;;;;;;;;;;;;;;;40905:500:::0;;:::o;2910:244::-;2187:12;:10;:12::i;:::-;2177:22;;:6;;;;;;;;;;;:22;;;2169:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3019:1:::1;2999:22;;:8;:22;;;;2991:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3109:8;3080:38;;3101:6;;;;;;;;;;;3080:38;;;;;;;;;;;;3138:8;3129:6;;:17;;;;;;;;;;;;;;;;;;2910:244:::0;:::o;8335:136::-;8393:7;8420:43;8424:1;8427;8420:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;8413:50;;8335:136;;;;:::o;9225:471::-;9283:7;9533:1;9528;:6;9524:47;;;9558:1;9551:8;;;;9524:47;9583:9;9599:1;9595;:5;9583:17;;9628:1;9623;9619;:5;;;;;;:10;9611:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9687:1;9680:8;;;9225:471;;;;;:::o;10172:132::-;10230:7;10257:39;10261:1;10264;10257:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;10250:46;;10172:132;;;;:::o;7871:181::-;7929:7;7949:9;7965:1;7961;:5;7949:17;;7990:1;7985;:6;;7977:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8043:1;8036:8;;;7871:181;;;;:::o;603:106::-;656:15;691:10;684:17;;603:106;:::o;32553:177::-;32636:86;32656:5;32686:23;;;32711:2;32715:5;32663:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32636:19;:86::i;:::-;32553:177;;;:::o;32738:205::-;32839:96;32859:5;32889:27;;;32918:4;32924:2;32928:5;32866:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32839:19;:96::i;:::-;32738:205;;;;:::o;8774:192::-;8860:7;8893:1;8888;:6;;8896:12;8880:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8920:9;8936:1;8932;:5;8920:17;;8957:1;8950:8;;;8774:192;;;;;:::o;10800:278::-;10886:7;10918:1;10914;:5;10921:12;10906:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10945:9;10961:1;10957;:5;;;;;;10945:17;;11069:1;11062:8;;;10800:278;;;;;:::o;34858:761::-;35282:23;35308:69;35336:4;35308:69;;;;;;;;;;;;;;;;;35316:5;35308:27;;;;:69;;;;;:::i;:::-;35282:95;;35412:1;35392:10;:17;:21;35388:224;;;35534:10;35523:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35515:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35388:224;34858:761;;;:::o;18681:196::-;18784:12;18816:53;18839:6;18847:4;18853:1;18856:12;18816:22;:53::i;:::-;18809:60;;18681:196;;;;;:::o;20058:979::-;20188:12;20221:18;20232:6;20221:10;:18::i;:::-;20213:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20347:12;20361:23;20388:6;:11;;20408:8;20419:4;20388:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20346:78;;;;20439:7;20435:595;;;20470:10;20463:17;;;;;;20435:595;20604:1;20584:10;:17;:21;20580:439;;;20847:10;20841:17;20908:15;20895:10;20891:2;20887:19;20880:44;20795:148;20990:12;20983:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20058:979;;;;;;;:::o;15763:422::-;15823:4;16031:12;16142:7;16130:20;16122:28;;16176:1;16169:4;:8;16162:15;;;15763:422;;;:::o
Swarm Source
ipfs://73fc2c31cfb5d3c3f6cb217ad7533782150c78286a2e47926b46414a0678dd62
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.