Contract Overview
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0x6d2744cafef6a5f141522815567668aefaef50d344ad63b596eadf2dff39585a | 3043986 | 29 days 20 hrs ago | 0x0f38cbbd331f2a18db1fc81e994facf3669e74e2 | Contract Creation | 0 CRO |
[ Download CSV Export ]
Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x19a03849293f3e7d0f127dce787975603468a878
Contract Name:
CougarBank
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2022-04-30 */ // File: node_modules\@openzeppelin\contracts\utils\Context.sol // SPDX-License-Identifier: MIT 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; } } 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; } } 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; } } 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; } } pragma solidity >=0.4.0; interface IBEP20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the bep token owner. */ function getOwner() external view returns (address); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address _owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } 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); } } } } pragma solidity ^0.6.0; /** * @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"); } } } pragma solidity 0.6.12; contract CougarBank is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeBEP20 for IBEP20; // Burn address address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD; // The address of the cougar bank factory address public COUGAR_BANK_FACTORY; // Whether a limit is set for users bool public hasUserLimit; // Whether it is initialized bool public isInitialized; // Accrued token per share uint256 public accTokenPerShare; // The block number when COUGAR mining ends. uint256 public bonusEndBlock; // The block number when COUGAR mining starts. uint256 public startBlock; // The block number of the last pool update uint256 public lastRewardBlock; // The pool limit (0 if none) uint256 public poolLimitPerUser; // reward tokens created per block. uint256 public rewardPerBlock; // The precision factor uint256 public PRECISION_FACTOR; // The reward token IBEP20 public rewardToken; // The staked token IBEP20 public stakedToken; // The transfer fee (in basis points) of staked token uint16 public stakedTokenTransferFee; // The withdrawal interval uint256 public withdrawalInterval; // Max withdrawal interval: 30 days. uint256 public constant MAXIMUM_WITHDRAWAL_INTERVAL = 30 days; // Info of each user that stakes tokens (stakedToken) mapping(address => UserInfo) public userInfo; struct UserInfo { uint256 amount; // How many staked tokens the user has provided uint256 rewardDebt; // Reward debt uint256 nextWithdrawalUntil; // When can the user withdraw again. } event AdminTokenRecovery(address tokenRecovered, uint256 amount); event Deposit(address indexed user, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 amount); event NewStartAndEndBlocks(uint256 startBlock, uint256 endBlock); event NewRewardPerBlock(uint256 rewardPerBlock); event NewPoolLimit(uint256 poolLimitPerUser); event RewardsStop(uint256 blockNumber); event Withdraw(address indexed user, uint256 amount); event NewStakedTokenTransferFee(uint16 transferFee); event NewWithdrawalInterval(uint256 interval); constructor() public { COUGAR_BANK_FACTORY = msg.sender; } /* * @notice Initialize the contract * @param _stakedToken: staked token address * @param _rewardToken: reward token address * @param _rewardPerBlock: reward per block (in rewardToken) * @param _startBlock: start block * @param _bonusEndBlock: end block * @param _poolLimitPerUser: pool limit per user in stakedToken (if any, else 0) * @param _stakedTokenTransferFee: the transfer fee of stakedToken (if any, else 0) * @param _withdrawalInterval: the withdrawal interval for stakedToken (if any, else 0) * @param _admin: admin address with ownership */ function initialize( IBEP20 _stakedToken, IBEP20 _rewardToken, uint256 _rewardPerBlock, uint256 _startBlock, uint256 _bonusEndBlock, uint256 _poolLimitPerUser, uint16 _stakedTokenTransferFee, uint256 _withdrawalInterval, address _admin ) external { require(!isInitialized, "Already initialized"); require(msg.sender == COUGAR_BANK_FACTORY, "Not factory"); require(_withdrawalInterval <= MAXIMUM_WITHDRAWAL_INTERVAL, "Invalid withdrawal interval"); // Make this contract initialized isInitialized = true; stakedToken = _stakedToken; rewardToken = _rewardToken; rewardPerBlock = _rewardPerBlock; startBlock = _startBlock; bonusEndBlock = _bonusEndBlock; stakedTokenTransferFee = _stakedTokenTransferFee; withdrawalInterval = _withdrawalInterval; if (_poolLimitPerUser > 0) { hasUserLimit = true; poolLimitPerUser = _poolLimitPerUser; } uint256 decimalsRewardToken = uint256(rewardToken.decimals()); require(decimalsRewardToken < 30, "Must be inferior to 30"); PRECISION_FACTOR = uint256(10 ** (uint256(30).sub(decimalsRewardToken))); // Set the lastRewardBlock as the startBlock lastRewardBlock = startBlock; // Transfer ownership to the admin address who becomes owner of the contract transferOwnership(_admin); } /* * @notice Deposit staked tokens and collect reward tokens (if any) * @param _amount: amount to withdraw (in rewardToken) */ function deposit(uint256 _amount) external nonReentrant { UserInfo storage user = userInfo[msg.sender]; if (hasUserLimit) { require(_amount.add(user.amount) <= poolLimitPerUser, "User amount above limit"); } _updatePool(); if (user.amount > 0) { uint256 pending = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt); if (pending > 0) { rewardToken.safeTransfer(address(msg.sender), pending); user.nextWithdrawalUntil = block.timestamp.add(withdrawalInterval); } } if (_amount > 0) { // Implement transfer tax uint256 beforeDeposit = stakedToken.balanceOf(address(this)); stakedToken.safeTransferFrom(msg.sender, address(this), _amount); uint256 afterDeposit = stakedToken.balanceOf(address(this)); _amount = afterDeposit.sub(beforeDeposit); if (stakedTokenTransferFee > 0) { uint256 transferFee = _amount.mul(stakedTokenTransferFee).div(10000); // Burn this fee stakedToken.safeTransfer(BURN_ADDRESS, transferFee); _amount = _amount.sub(transferFee); } user.amount = user.amount.add(_amount); if (user.nextWithdrawalUntil == 0) { user.nextWithdrawalUntil = block.timestamp.add(withdrawalInterval); } } user.rewardDebt = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR); emit Deposit(msg.sender, _amount); } /* * @notice Withdraw staked tokens and collect reward tokens * @param _amount: amount to withdraw (in rewardToken) */ function withdraw(uint256 _amount) external nonReentrant { UserInfo storage user = userInfo[msg.sender]; require(user.amount >= _amount, "Amount to withdraw too high"); if ((block.number < bonusEndBlock) && (block.number > startBlock)) { require(user.nextWithdrawalUntil <= block.timestamp, "Withdrawal locked"); } _updatePool(); uint256 pending = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt); if (_amount > 0) { user.amount = user.amount.sub(_amount); stakedToken.safeTransfer(address(msg.sender), _amount); } if (pending > 0) { rewardToken.safeTransfer(address(msg.sender), pending); user.nextWithdrawalUntil = block.timestamp.add(withdrawalInterval); } user.rewardDebt = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR); emit Withdraw(msg.sender, _amount); } /* * @notice Withdraw staked tokens without caring about rewards rewards * @dev Needs to be for emergency. */ function emergencyWithdraw() external nonReentrant { UserInfo storage user = userInfo[msg.sender]; if ((block.number < bonusEndBlock) && (block.number > startBlock)) { require(user.nextWithdrawalUntil <= block.timestamp, "Withdrawal locked"); } uint256 amountToTransfer = user.amount; user.amount = 0; user.rewardDebt = 0; user.nextWithdrawalUntil = 0; if (amountToTransfer > 0) { stakedToken.safeTransfer(address(msg.sender), amountToTransfer); } emit EmergencyWithdraw(msg.sender, user.amount); } /* * @notice Stop rewards * @dev Only callable by owner. Needs to be for emergency. */ function emergencyRewardWithdraw(uint256 _amount) external onlyOwner { rewardToken.safeTransfer(address(msg.sender), _amount); } /** * @notice It allows the admin to recover wrong tokens sent to the contract * @param _tokenAddress: the address of the token to withdraw * @param _tokenAmount: the number of tokens to withdraw * @dev This function is only callable by admin. */ function recoverWrongTokens(address _tokenAddress, uint256 _tokenAmount) external onlyOwner { require(_tokenAddress != address(stakedToken), "Cannot be staked token"); require(_tokenAddress != address(rewardToken), "Cannot be reward token"); IBEP20(_tokenAddress).safeTransfer(address(msg.sender), _tokenAmount); emit AdminTokenRecovery(_tokenAddress, _tokenAmount); } /* * @notice Stop rewards * @dev Only callable by owner */ function stopReward() external onlyOwner { bonusEndBlock = block.number; } /* * @notice Update pool limit per user * @dev Only callable by owner. * @param _hasUserLimit: whether the limit remains forced * @param _poolLimitPerUser: new pool limit per user */ function updatePoolLimitPerUser(bool _hasUserLimit, uint256 _poolLimitPerUser) external onlyOwner { require(hasUserLimit, "Must be set"); if (_hasUserLimit) { require(_poolLimitPerUser > poolLimitPerUser, "New limit must be higher"); poolLimitPerUser = _poolLimitPerUser; } else { hasUserLimit = _hasUserLimit; poolLimitPerUser = 0; } emit NewPoolLimit(poolLimitPerUser); } /* * @notice Update reward per block * @dev Only callable by owner. * @param _rewardPerBlock: the reward per block */ function updateRewardPerBlock(uint256 _rewardPerBlock) external onlyOwner { require(block.number < startBlock, "Pool has started"); rewardPerBlock = _rewardPerBlock; emit NewRewardPerBlock(_rewardPerBlock); } /** * @notice It allows the admin to update start and end blocks * @dev This function is only callable by owner. * @param _startBlock: the new start block * @param _bonusEndBlock: the new end block */ function updateStartAndEndBlocks(uint256 _startBlock, uint256 _bonusEndBlock) external onlyOwner { require(block.number < startBlock, "Pool has started"); require(_startBlock < _bonusEndBlock, "New startBlock must be lower than new endBlock"); require(block.number < _startBlock, "New startBlock must be higher than current block"); startBlock = _startBlock; bonusEndBlock = _bonusEndBlock; // Set the lastRewardBlock as the startBlock lastRewardBlock = startBlock; emit NewStartAndEndBlocks(_startBlock, _bonusEndBlock); } /* * @notice Update staked token transfer fee * @dev Only callable by owner. * @param _transferFee: the transfer fee of staked token */ function updateStakedTokenTransferFee(uint16 _transferFee) external onlyOwner { require(_transferFee < 10000, "Invalid transfer fee of staked token"); stakedTokenTransferFee = _transferFee; emit NewStakedTokenTransferFee(_transferFee); } /* * @notice Update the withdrawal interval * @dev Only callable by owner. * @param _interval: the withdrawal interval for staked token in seconds */ function updateWithdrawalInterval(uint256 _interval) external onlyOwner { require(_interval <= MAXIMUM_WITHDRAWAL_INTERVAL, "Invalid withdrawal interval"); withdrawalInterval = _interval; emit NewWithdrawalInterval(_interval); } /* * @notice View function to see pending reward on frontend. * @param _user: user address * @return Pending reward for a given user */ function pendingReward(address _user) external view returns (uint256) { UserInfo storage user = userInfo[_user]; uint256 stakedTokenSupply = stakedToken.balanceOf(address(this)); if (block.number > lastRewardBlock && stakedTokenSupply != 0) { uint256 multiplier = _getMultiplier(lastRewardBlock, block.number); uint256 cakeReward = multiplier.mul(rewardPerBlock); uint256 adjustedTokenPerShare = accTokenPerShare.add(cakeReward.mul(PRECISION_FACTOR).div(stakedTokenSupply)); return user.amount.mul(adjustedTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt); } else { return user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt); } } // View function to see if user can withdraw staked token. function canWithdraw(address _user) external view returns (bool) { UserInfo storage user = userInfo[_user]; bool canWd = true; if ((block.number < bonusEndBlock) && (block.number > startBlock)) { canWd = (block.timestamp >= user.nextWithdrawalUntil); } return canWd; } /* * @notice Update reward variables of the given pool to be up-to-date. */ function _updatePool() internal { if (block.number <= lastRewardBlock) { return; } uint256 stakedTokenSupply = stakedToken.balanceOf(address(this)); if (stakedTokenSupply == 0) { lastRewardBlock = block.number; return; } uint256 multiplier = _getMultiplier(lastRewardBlock, block.number); uint256 cakeReward = multiplier.mul(rewardPerBlock); accTokenPerShare = accTokenPerShare.add(cakeReward.mul(PRECISION_FACTOR).div(stakedTokenSupply)); lastRewardBlock = block.number; } /* * @notice Return reward multiplier over the given _from to _to block. * @param _from: block to start * @param _to: block to finish */ function _getMultiplier(uint256 _from, uint256 _to) internal view returns (uint256) { if (_to <= bonusEndBlock) { return _to.sub(_from); } else if (_from >= bonusEndBlock) { return 0; } else { return bonusEndBlock.sub(_from); } } function emittedReward() external view returns (uint256) { uint256 emitted = 0; if (block.number > startBlock) { emitted = (block.number-startBlock)*rewardPerBlock; } return emitted; } function currentBlock() external view returns (uint256) { return block.number; } }
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenRecovered","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AdminTokenRecovery","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"poolLimitPerUser","type":"uint256"}],"name":"NewPoolLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rewardPerBlock","type":"uint256"}],"name":"NewRewardPerBlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"transferFee","type":"uint16"}],"name":"NewStakedTokenTransferFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endBlock","type":"uint256"}],"name":"NewStartAndEndBlocks","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"interval","type":"uint256"}],"name":"NewWithdrawalInterval","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":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"RewardsStop","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COUGAR_BANK_FACTORY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_WITHDRAWAL_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRECISION_FACTOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accTokenPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"canWithdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyRewardWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emittedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasUserLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IBEP20","name":"_stakedToken","type":"address"},{"internalType":"contract IBEP20","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"},{"internalType":"uint256","name":"_poolLimitPerUser","type":"uint256"},{"internalType":"uint16","name":"_stakedTokenTransferFee","type":"uint16"},{"internalType":"uint256","name":"_withdrawalInterval","type":"uint256"},{"internalType":"address","name":"_admin","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRewardBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLimitPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"recoverWrongTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakedToken","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakedTokenTransferFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_hasUserLimit","type":"bool"},{"internalType":"uint256","name":"_poolLimitPerUser","type":"uint256"}],"name":"updatePoolLimitPerUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"}],"name":"updateRewardPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_transferFee","type":"uint16"}],"name":"updateStakedTokenTransferFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"}],"name":"updateStartAndEndBlocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_interval","type":"uint256"}],"name":"updateWithdrawalInterval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"nextWithdrawalUntil","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50600061001b610080565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600280546001600160a01b03191633179055610084565b3390565b61226f806100936000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80638da5cb5b11610125578063c723c64d116100ad578063e12ed13c1161007c578063e12ed13c14610506578063f2fde38b1461050e578063f40f0f5214610534578063f7c618c11461055a578063fccc2813146105625761021c565b8063c723c64d146104e6578063cc7a262e146104ee578063ccd34cd5146104f6578063db2e21bc146104fe5761021c565b8063a055baf8116100f4578063a055baf81461041b578063a0b409051461043a578063a9f8d1811461045f578063ada1bd9414610467578063b6b55f25146104c95761021c565b80638da5cb5b146103e05780638f662915146103e857806392e8990e146103f05780639513997f146103f85761021c565b80633f138d4b116101a857806366fe9f8a1161017757806366fe9f8a146103a3578063715018a6146103ab5780637d0a75cc146103b357806380dc0672146103d05780638ae39cac146103d85761021c565b80633f138d4b1461034357806342f867f71461036f57806348cd4cb1146103935780635cc6eee91461039b5761021c565b80631aed6553116101ef5780631aed6553146102df5780632e1a7d4d146102f95780632f0c370e146103165780633279beab1461031e578063392e53cd1461033b5761021c565b806301f8a976146102215780630e61dec91461024057806319262d30146102615780631959a0021461029b575b600080fd5b61023e6004803603602081101561023757600080fd5b503561056a565b005b61023e6004803603602081101561025657600080fd5b503561ffff16610650565b6102876004803603602081101561027757600080fd5b50356001600160a01b031661074c565b604080519115158252519081900360200190f35b6102c1600480360360208110156102b157600080fd5b50356001600160a01b0316610791565b60408051938452602084019290925282820152519081900360600190f35b6102e76107b2565b60408051918252519081900360200190f35b61023e6004803603602081101561030f57600080fd5b50356107b8565b6102e76109d4565b61023e6004803603602081101561033457600080fd5b50356109da565b610287610a56565b61023e6004803603604081101561035957600080fd5b506001600160a01b038135169060200135610a66565b610377610bdc565b604080516001600160a01b039092168252519081900360200190f35b6102e7610beb565b6102e7610bf1565b6102e7610bf8565b61023e610bfe565b61023e600480360360208110156103c957600080fd5b5035610caa565b61023e610d9f565b6102e7610e07565b610377610e0d565b6102e7610e1c565b610287610e22565b61023e6004803603604081101561040e57600080fd5b5080359060200135610e32565b610423610fa7565b6040805161ffff9092168252519081900360200190f35b61023e6004803603604081101561045057600080fd5b50803515159060200135610fb8565b6102e7611122565b61023e600480360361012081101561047e57600080fd5b506001600160a01b038135811691602081013582169160408201359160608101359160808201359160a08101359161ffff60c0830135169160e0810135916101009091013516611128565b61023e600480360360208110156104df57600080fd5b5035611399565b6102e76116ef565b61037761170e565b6102e761171d565b61023e611723565b6102e7611862565b61023e6004803603602081101561052457600080fd5b50356001600160a01b0316611866565b6102e76004803603602081101561054a57600080fd5b50356001600160a01b0316611968565b610377611abe565b610377611acd565b610572611ad3565b6001600160a01b0316610583610e0d565b6001600160a01b0316146105cc576040805162461bcd60e51b815260206004820181905260248201526000805160206121f6833981519152604482015290519081900360640190fd5b6005544310610615576040805162461bcd60e51b815260206004820152601060248201526f141bdbdb081a185cc81cdd185c9d195960821b604482015290519081900360640190fd5b60088190556040805182815290517f0c4d677eef92893ac7ec52faf8140fc6c851ab4736302b4f3a89dfb20696a0df9181900360200190a150565b610658611ad3565b6001600160a01b0316610669610e0d565b6001600160a01b0316146106b2576040805162461bcd60e51b815260206004820181905260248201526000805160206121f6833981519152604482015290519081900360640190fd5b6127108161ffff16106106f65760405162461bcd60e51b81526004018080602001828103825260248152602001806122166024913960400191505060405180910390fd5b600b805461ffff8316600160a01b810261ffff60a01b199092169190911790915560408051918252517f7e027715184f6a1949fa9869334444260da6ea402170ab8d06d0fa992ff56fb19181900360200190a150565b6001600160a01b0381166000908152600d6020526040812060045460019043108015610779575060055443115b15610788575060028101544210155b9150505b919050565b600d6020526000908152604090208054600182015460029092015490919083565b60045481565b60026001541415610810576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155336000908152600d60205260409020805482111561087a576040805162461bcd60e51b815260206004820152601b60248201527f416d6f756e7420746f20776974686472617720746f6f20686967680000000000604482015290519081900360640190fd5b6004544310801561088c575060055443115b156108de5742816002015411156108de576040805162461bcd60e51b815260206004820152601160248201527015da5d1a191c985dd85b081b1bd8dad959607a1b604482015290519081900360640190fd5b6108e6611ad7565b600061091b826001015461091560095461090f6003548760000154611bbf90919063ffffffff16565b90611c21565b90611c88565b9050821561094857815461092f9084611c88565b8255600b54610948906001600160a01b03163385611ce5565b801561097957600a54610965906001600160a01b03163383611ce5565b600c54610973904290611d3c565b60028301555b6009546003548354610990929161090f9190611bbf565b600183015560408051848152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a250506001805550565b600c5481565b6109e2611ad3565b6001600160a01b03166109f3610e0d565b6001600160a01b031614610a3c576040805162461bcd60e51b815260206004820181905260248201526000805160206121f6833981519152604482015290519081900360640190fd5b600a54610a53906001600160a01b03163383611ce5565b50565b600254600160a81b900460ff1681565b610a6e611ad3565b6001600160a01b0316610a7f610e0d565b6001600160a01b031614610ac8576040805162461bcd60e51b815260206004820181905260248201526000805160206121f6833981519152604482015290519081900360640190fd5b600b546001600160a01b0383811691161415610b24576040805162461bcd60e51b815260206004820152601660248201527521b0b73737ba1031329039ba30b5b2b2103a37b5b2b760511b604482015290519081900360640190fd5b600a546001600160a01b0383811691161415610b80576040805162461bcd60e51b815260206004820152601660248201527521b0b73737ba103132903932bbb0b932103a37b5b2b760511b604482015290519081900360640190fd5b610b946001600160a01b0383163383611ce5565b604080516001600160a01b03841681526020810183905281517f74545154aac348a3eac92596bd1971957ca94795f4e954ec5f613b55fab78129929181900390910190a15050565b6002546001600160a01b031681565b60055481565b62278d0081565b60075481565b610c06611ad3565b6001600160a01b0316610c17610e0d565b6001600160a01b031614610c60576040805162461bcd60e51b815260206004820181905260248201526000805160206121f6833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610cb2611ad3565b6001600160a01b0316610cc3610e0d565b6001600160a01b031614610d0c576040805162461bcd60e51b815260206004820181905260248201526000805160206121f6833981519152604482015290519081900360640190fd5b62278d00811115610d64576040805162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207769746864726177616c20696e74657276616c0000000000604482015290519081900360640190fd5b600c8190556040805182815290517f69fe3855170c10a3fc76e475c13958c74522b1a05679138e3bbfbd66413e9c229181900360200190a150565b610da7611ad3565b6001600160a01b0316610db8610e0d565b6001600160a01b031614610e01576040805162461bcd60e51b815260206004820181905260248201526000805160206121f6833981519152604482015290519081900360640190fd5b43600455565b60085481565b6000546001600160a01b031690565b60035481565b600254600160a01b900460ff1681565b610e3a611ad3565b6001600160a01b0316610e4b610e0d565b6001600160a01b031614610e94576040805162461bcd60e51b815260206004820181905260248201526000805160206121f6833981519152604482015290519081900360640190fd5b6005544310610edd576040805162461bcd60e51b815260206004820152601060248201526f141bdbdb081a185cc81cdd185c9d195960821b604482015290519081900360640190fd5b808210610f1b5760405162461bcd60e51b815260040180806020018281038252602e815260200180612151602e913960400191505060405180910390fd5b814310610f595760405162461bcd60e51b81526004018080602001828103825260308152602001806121a56030913960400191505060405180910390fd5b600582905560048190556006829055604080518381526020810183905281517f7cd0ab87d19036f3dfadadb232c78aa4879dda3f0c994a9d637532410ee2ce06929181900390910190a15050565b600b54600160a01b900461ffff1681565b610fc0611ad3565b6001600160a01b0316610fd1610e0d565b6001600160a01b03161461101a576040805162461bcd60e51b815260206004820181905260248201526000805160206121f6833981519152604482015290519081900360640190fd5b600254600160a01b900460ff16611066576040805162461bcd60e51b815260206004820152600b60248201526a135d5cdd081899481cd95d60aa1b604482015290519081900360640190fd5b81156110cc5760075481116110c2576040805162461bcd60e51b815260206004820152601860248201527f4e6577206c696d6974206d757374206265206869676865720000000000000000604482015290519081900360640190fd5b60078190556110e9565b6002805460ff60a01b1916600160a01b8415150217905560006007555b60075460408051918252517f241f67ee5f41b7a5cabf911367329be7215900f602ebfc47f89dce2a6bcd847c9181900360200190a15050565b60065481565b600254600160a81b900460ff161561117d576040805162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604482015290519081900360640190fd5b6002546001600160a01b031633146111ca576040805162461bcd60e51b815260206004820152600b60248201526a4e6f7420666163746f727960a81b604482015290519081900360640190fd5b62278d00821115611222576040805162461bcd60e51b815260206004820152601b60248201527f496e76616c6964207769746864726177616c20696e74657276616c0000000000604482015290519081900360640190fd5b6002805460ff60a81b1916600160a81b179055600b8054600a80546001600160a01b038c81166001600160a01b03199283161790925560088b905560058a9055600489905561ffff8716600160a01b0261ffff60a01b19928e16919093161716179055600c82905583156112a9576002805460ff60a01b1916600160a01b17905560078490555b600a546040805163313ce56760e01b815290516000926001600160a01b03169163313ce567916004808301926020929190829003018186803b1580156112ee57600080fd5b505afa158015611302573d6000803e3d6000fd5b505050506040513d602081101561131857600080fd5b505160ff169050601e811061136d576040805162461bcd60e51b815260206004820152601660248201527504d75737420626520696e666572696f7220746f2033360541b604482015290519081900360640190fd5b611378601e82611c88565b600a0a60095560055460065561138d82611866565b50505050505050505050565b600260015414156113f1576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026001819055336000908152600d602052604090209054600160a01b900460ff161561147b576007548154611428908490611d3c565b111561147b576040805162461bcd60e51b815260206004820152601760248201527f5573657220616d6f756e742061626f7665206c696d6974000000000000000000604482015290519081900360640190fd5b611483611ad7565b8054156114e85760006114b3826001015461091560095461090f6003548760000154611bbf90919063ffffffff16565b905080156114e657600a546114d2906001600160a01b03163383611ce5565b600c546114e0904290611d3c565b60028301555b505b811561169557600b54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561153957600080fd5b505afa15801561154d573d6000803e3d6000fd5b505050506040513d602081101561156357600080fd5b5051600b54909150611580906001600160a01b0316333086611d96565b600b54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156115cb57600080fd5b505afa1580156115df573d6000803e3d6000fd5b505050506040513d60208110156115f557600080fd5b505190506116038183611c88565b600b54909450600160a01b900461ffff161561166757600b5460009061163d906127109061090f908890600160a01b900461ffff16611bbf565b600b54909150611659906001600160a01b031661dead83611ce5565b6116638582611c88565b9450505b82546116739085611d3c565b8355600283015461169257600c5461168c904290611d3c565b60028401555b50505b60095460035482546116ac929161090f9190611bbf565b600182015560408051838152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a2505060018055565b600554600090819043111561170957506008546005544303025b905090565b600b546001600160a01b031681565b60095481565b6002600154141561177b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155336000908152600d60205260409020600454431080156117a1575060055443115b156117f35742816002015411156117f3576040805162461bcd60e51b815260206004820152601160248201527015da5d1a191c985dd85b081b1bd8dad959607a1b604482015290519081900360640190fd5b80546000808355600183018190556002830155801561182357600b54611823906001600160a01b03163383611ce5565b8154604080519182525133917f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd9695919081900360200190a2505060018055565b4390565b61186e611ad3565b6001600160a01b031661187f610e0d565b6001600160a01b0316146118c8576040805162461bcd60e51b815260206004820181905260248201526000805160206121f6833981519152604482015290519081900360640190fd5b6001600160a01b03811661190d5760405162461bcd60e51b815260040180806020018281038252602681526020018061212b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038082166000908152600d60209081526040808320600b5482516370a0823160e01b8152306004820152925194959194869491909216926370a082319260248083019392829003018186803b1580156119c757600080fd5b505afa1580156119db573d6000803e3d6000fd5b505050506040513d60208110156119f157600080fd5b505160065490915043118015611a0657508015155b15611a8e576000611a1960065443611df6565b90506000611a3260085483611bbf90919063ffffffff16565b90506000611a5b611a528561090f60095486611bbf90919063ffffffff16565b60035490611d3c565b9050611a82856001015461091560095461090f858a60000154611bbf90919063ffffffff16565b9550505050505061078c565b611ab5826001015461091560095461090f6003548760000154611bbf90919063ffffffff16565b9250505061078c565b600a546001600160a01b031681565b61dead81565b3390565b6006544311611ae557611bbd565b600b54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611b3057600080fd5b505afa158015611b44573d6000803e3d6000fd5b505050506040513d6020811015611b5a57600080fd5b5051905080611b6d575043600655611bbd565b6000611b7b60065443611df6565b90506000611b9460085483611bbf90919063ffffffff16565b9050611bb2611a528461090f60095485611bbf90919063ffffffff16565b600355505043600655505b565b600082611bce57506000611c1b565b82820282848281611bdb57fe5b0414611c185760405162461bcd60e51b81526004018080602001828103825260218152602001806121d56021913960400191505060405180910390fd5b90505b92915050565b6000808211611c77576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611c8057fe5b049392505050565b600082821115611cdf576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611d37908490611e30565b505050565b600082820183811015611c18576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611df0908590611e30565b50505050565b60006004548211611e1257611e0b8284611c88565b9050611c1b565b6004548310611e2357506000611c1b565b600454611e0b9084611c88565b6060611e85826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611ee19092919063ffffffff16565b805190915015611d3757808060200190516020811015611ea457600080fd5b5051611d375760405162461bcd60e51b815260040180806020018281038252602a815260200180612101602a913960400191505060405180910390fd5b6060611ef08484600085611efa565b90505b9392505050565b606082471015611f3b5760405162461bcd60e51b815260040180806020018281038252602681526020018061217f6026913960400191505060405180910390fd5b611f4485612056565b611f95576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611fd45780518252601f199092019160209182019101611fb5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612036576040519150601f19603f3d011682016040523d82523d6000602084013e61203b565b606091505b509150915061204b82828661205c565b979650505050505050565b3b151590565b6060831561206b575081611ef3565b82511561207b5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156120c55781810151838201526020016120ad565b50505050905090810190601f1680156120f25780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734e6577207374617274426c6f636b206d757374206265206c6f776572207468616e206e657720656e64426c6f636b416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4e6577207374617274426c6f636b206d75737420626520686967686572207468616e2063757272656e7420626c6f636b536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572496e76616c6964207472616e7366657220666565206f66207374616b656420746f6b656ea26469706673582212202e1612ec0ebf85976e9da3970d97bd93e53a20e6a9eea4cd0c65891ad6748cb064736f6c634300060c0033
Deployed ByteCode Sourcemap
28439:15210:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38765:240;;;;;;;;;;;;;;;;-1:-1:-1;38765:240:0;;:::i;:::-;;40028:269;;;;;;;;;;;;;;;;-1:-1:-1;40028:269:0;;;;:::i;41779:331::-;;;;;;;;;;;;;;;;-1:-1:-1;41779:331:0;-1:-1:-1;;;;;41779:331:0;;:::i;:::-;;;;;;;;;;;;;;;;;;29932:44;;;;;;;;;;;;;;;;-1:-1:-1;29932:44:0;-1:-1:-1;;;;;29932:44:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;29031:28;;;:::i;:::-;;;;;;;;;;;;;;;;34992:1000;;;;;;;;;;;;;;;;-1:-1:-1;34992:1000:0;;:::i;29719:33::-;;;:::i;36886:142::-;;;;;;;;;;;;;;;;-1:-1:-1;36886:142:0;;:::i;28875:25::-;;;:::i;37318:413::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37318:413:0;;;;;;;;:::i;28724:34::-;;;:::i;:::-;;;;-1:-1:-1;;;;;28724:34:0;;;;;;;;;;;;;;29120:25;;;:::i;29803:61::-;;;:::i;29277:31::-;;;:::i;2737:148::-;;;:::i;40484:260::-;;;;;;;;;;;;;;;;-1:-1:-1;40484:260:0;;:::i;37821:88::-;;;:::i;29358:29::-;;;:::i;2086:87::-;;;:::i;28941:31::-;;;:::i;28808:24::-;;;:::i;39249:606::-;;;;;;;;;;;;;;;;-1:-1:-1;39249:606:0;;;;;;;:::i;29642:36::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;38135:475;;;;;;;;;;;;;;;;-1:-1:-1;38135:475:0;;;;;;;;;:::i;29203:30::-;;;:::i;31502:1532::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31502:1532:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;33192:1650::-;;;;;;;;;;;;;;;;-1:-1:-1;33192:1650:0;;:::i;43306:238::-;;;:::i;29549:25::-;;;:::i;29425:31::-;;;:::i;36133:635::-;;;:::i;43552:94::-;;;:::i;3040:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3040:244:0;-1:-1:-1;;;;;3040:244:0;;:::i;40917:790::-;;;;;;;;;;;;;;;;-1:-1:-1;40917:790:0;-1:-1:-1;;;;;40917:790:0;;:::i;29490:25::-;;;:::i;28583:81::-;;;:::i;38765:240::-;2317:12;:10;:12::i;:::-;-1:-1:-1;;;;;2306:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2306:23:0;;2298:68;;;;;-1:-1:-1;;;2298:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2298:68:0;;;;;;;;;;;;;;;38873:10:::1;;38858:12;:25;38850:54;;;::::0;;-1:-1:-1;;;38850:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;38850:54:0;;;;;;;;;;;;;::::1;;38915:14;:32:::0;;;38963:34:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;38765:240:::0;:::o;40028:269::-;2317:12;:10;:12::i;:::-;-1:-1:-1;;;;;2306:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2306:23:0;;2298:68;;;;;-1:-1:-1;;;2298:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2298:68:0;;;;;;;;;;;;;;;40140:5:::1;40125:12;:20;;;40117:69;;;;-1:-1:-1::0;;;40117:69:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40197:22;:37:::0;;::::1;::::0;::::1;-1:-1:-1::0;;;40197:37:0;::::1;-1:-1:-1::0;;;;40197:37:0;;::::1;::::0;;;::::1;::::0;;;40250:39:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;40028:269:::0;:::o;41779:331::-;-1:-1:-1;;;;;41879:15:0;;41838:4;41879:15;;;:8;:15;;;;;41953:13;;41918:4;;41938:12;:28;41937:61;;;;;41987:10;;41972:12;:25;41937:61;41933:147;;;-1:-1:-1;42043:24:0;;;;42024:15;:43;;41933:147;42097:5;-1:-1:-1;;41779:331:0;;;;:::o;29932:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;29031:28::-;;;;:::o;34992:1000::-;4977:1;5583:7;;:19;;5575:63;;;;;-1:-1:-1;;;5575:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4977:1;5716:7;:18;35093:10:::1;35060:21;35084:20:::0;;;:8:::1;:20;::::0;;;;35123:11;;:22;-1:-1:-1;35123:22:0::1;35115:62;;;::::0;;-1:-1:-1;;;35115:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;35218:13;;35203:12;:28;35202:61;;;;;35252:10;;35237:12;:25;35202:61;35198:167;;;35316:15;35288:4;:24;;;:43;;35280:73;;;::::0;;-1:-1:-1;;;35280:73:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;35280:73:0;;;;;;;;;;;;;::::1;;35377:13;:11;:13::i;:::-;35403:15;35421:76;35481:4;:15;;;35421:55;35459:16;;35421:33;35437:16;;35421:4;:11;;;:15;;:33;;;;:::i;:::-;:37:::0;::::1;:55::i;:::-;:59:::0;::::1;:76::i;:::-;35403:94:::0;-1:-1:-1;35514:11:0;;35510:151:::1;;35556:11:::0;;:24:::1;::::0;35572:7;35556:15:::1;:24::i;:::-;35542:38:::0;;35595:11:::1;::::0;:54:::1;::::0;-1:-1:-1;;;;;35595:11:0::1;35628:10;35641:7:::0;35595:24:::1;:54::i;:::-;35677:11:::0;;35673:179:::1;;35705:11;::::0;:54:::1;::::0;-1:-1:-1;;;;;35705:11:0::1;35738:10;35751:7:::0;35705:24:::1;:54::i;:::-;35821:18;::::0;35801:39:::1;::::0;:15:::1;::::0;:19:::1;:39::i;:::-;35774:24;::::0;::::1;:66:::0;35673:179:::1;35920:16;::::0;35898::::1;::::0;35882:11;;:55:::1;::::0;35920:16;35882:33:::1;::::0;:11;:15:::1;:33::i;:55::-;35864:15;::::0;::::1;:73:::0;35955:29:::1;::::0;;;;;;;35964:10:::1;::::0;35955:29:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;;4933:1:0;5895:22;;-1:-1:-1;34992:1000:0:o;29719:33::-;;;;:::o;36886:142::-;2317:12;:10;:12::i;:::-;-1:-1:-1;;;;;2306:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2306:23:0;;2298:68;;;;;-1:-1:-1;;;2298:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2298:68:0;;;;;;;;;;;;;;;36966:11:::1;::::0;:54:::1;::::0;-1:-1:-1;;;;;36966:11:0::1;36999:10;37012:7:::0;36966:24:::1;:54::i;:::-;36886:142:::0;:::o;28875:25::-;;;-1:-1:-1;;;28875:25:0;;;;;:::o;37318:413::-;2317:12;:10;:12::i;:::-;-1:-1:-1;;;;;2306:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2306:23:0;;2298:68;;;;;-1:-1:-1;;;2298:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2298:68:0;;;;;;;;;;;;;;;37454:11:::1;::::0;-1:-1:-1;;;;;37429:37:0;;::::1;37454:11:::0;::::1;37429:37;;37421:72;;;::::0;;-1:-1:-1;;;37421:72:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;37421:72:0;;;;;;;;;;;;;::::1;;37537:11;::::0;-1:-1:-1;;;;;37512:37:0;;::::1;37537:11:::0;::::1;37512:37;;37504:72;;;::::0;;-1:-1:-1;;;37504:72:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;37504:72:0;;;;;;;;;;;;;::::1;;37589:69;-1:-1:-1::0;;;;;37589:34:0;::::1;37632:10;37645:12:::0;37589:34:::1;:69::i;:::-;37676:47;::::0;;-1:-1:-1;;;;;37676:47:0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;37318:413:::0;;:::o;28724:34::-;;;-1:-1:-1;;;;;28724:34:0;;:::o;29120:25::-;;;;:::o;29803:61::-;29857:7;29803:61;:::o;29277:31::-;;;;:::o;2737:148::-;2317:12;:10;:12::i;:::-;-1:-1:-1;;;;;2306:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2306:23:0;;2298:68;;;;;-1:-1:-1;;;2298:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2298:68:0;;;;;;;;;;;;;;;2844:1:::1;2828:6:::0;;2807:40:::1;::::0;-1:-1:-1;;;;;2828:6:0;;::::1;::::0;2807:40:::1;::::0;2844:1;;2807:40:::1;2875:1;2858:19:::0;;-1:-1:-1;;;;;;2858:19:0::1;::::0;;2737:148::o;40484:260::-;2317:12;:10;:12::i;:::-;-1:-1:-1;;;;;2306:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2306:23:0;;2298:68;;;;;-1:-1:-1;;;2298:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2298:68:0;;;;;;;;;;;;;;;29857:7:::1;40575:9;:40;;40567:80;;;::::0;;-1:-1:-1;;;40567:80:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;40658:18;:30:::0;;;40704:32:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;40484:260:::0;:::o;37821:88::-;2317:12;:10;:12::i;:::-;-1:-1:-1;;;;;2306:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2306:23:0;;2298:68;;;;;-1:-1:-1;;;2298:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2298:68:0;;;;;;;;;;;;;;;37889:12:::1;37873:13;:28:::0;37821:88::o;29358:29::-;;;;:::o;2086:87::-;2132:7;2159:6;-1:-1:-1;;;;;2159:6:0;2086:87;:::o;28941:31::-;;;;:::o;28808:24::-;;;-1:-1:-1;;;28808:24:0;;;;;:::o;39249:606::-;2317:12;:10;:12::i;:::-;-1:-1:-1;;;;;2306:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2306:23:0;;2298:68;;;;;-1:-1:-1;;;2298:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2298:68:0;;;;;;;;;;;;;;;39380:10:::1;;39365:12;:25;39357:54;;;::::0;;-1:-1:-1;;;39357:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;39357:54:0;;;;;;;;;;;;;::::1;;39444:14;39430:11;:28;39422:87;;;;-1:-1:-1::0;;;39422:87:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39543:11;39528:12;:26;39520:87;;;;-1:-1:-1::0;;;39520:87:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39620:10;:24:::0;;;39655:13:::1;:30:::0;;;39752:15:::1;:28:::0;;;39798:49:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;39249:606:::0;;:::o;29642:36::-;;;-1:-1:-1;;;29642:36:0;;;;;:::o;38135:475::-;2317:12;:10;:12::i;:::-;-1:-1:-1;;;;;2306:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2306:23:0;;2298:68;;;;;-1:-1:-1;;;2298:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2298:68:0;;;;;;;;;;;;;;;38252:12:::1;::::0;-1:-1:-1;;;38252:12:0;::::1;;;38244:36;;;::::0;;-1:-1:-1;;;38244:36:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;38244:36:0;;;;;;;;;;;;;::::1;;38295:13;38291:266;;;38353:16;;38333:17;:36;38325:73;;;::::0;;-1:-1:-1;;;38325:73:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;38413:16;:36:::0;;;38291:266:::1;;;38482:12;:28:::0;;-1:-1:-1;;;;38482:28:0::1;-1:-1:-1::0;;;38482:28:0;::::1;;;;::::0;;-1:-1:-1;38525:16:0::1;:20:::0;38291:266:::1;38585:16;::::0;38572:30:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;38135:475:::0;;:::o;29203:30::-;;;;:::o;31502:1532::-;31855:13;;-1:-1:-1;;;31855:13:0;;;;31854:14;31846:46;;;;;-1:-1:-1;;;31846:46:0;;;;;;;;;;;;-1:-1:-1;;;31846:46:0;;;;;;;;;;;;;;;31925:19;;-1:-1:-1;;;;;31925:19:0;31911:10;:33;31903:57;;;;;-1:-1:-1;;;31903:57:0;;;;;;;;;;;;-1:-1:-1;;;31903:57:0;;;;;;;;;;;;;;;29857:7;31979:19;:50;;31971:90;;;;;-1:-1:-1;;;31971:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32117:13;:20;;-1:-1:-1;;;;32117:20:0;-1:-1:-1;;;32117:20:0;;;32150:11;:26;;32187:11;:26;;-1:-1:-1;;;;;32187:26:0;;;-1:-1:-1;;;;;;32187:26:0;;;;;;;32224:14;:32;;;32267:10;:24;;;32302:13;:30;;;32343:48;;;-1:-1:-1;;;32343:48:0;-1:-1:-1;;;;32150:26:0;;;;;;;;32343:48;;;;32402:18;:40;;;32459:21;;32455:124;;32497:12;:19;;-1:-1:-1;;;;32497:19:0;-1:-1:-1;;;32497:19:0;;;32531:16;:36;;;32455:124;32629:11;;:22;;;-1:-1:-1;;;32629:22:0;;;;32591:27;;-1:-1:-1;;;;;32629:11:0;;:20;;:22;;;;;;;;;;;;;;:11;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32629:22:0;32621:31;;;-1:-1:-1;32693:2:0;32671:24;;32663:59;;;;;-1:-1:-1;;;32663:59:0;;;;;;;;;;;;-1:-1:-1;;;32663:59:0;;;;;;;;;;;;;;;32769:36;32777:2;32785:19;32769:15;:36::i;:::-;32762:2;:44;32735:16;:72;32892:10;;32874:15;:28;33001:25;33019:6;33001:17;:25::i;:::-;31502:1532;;;;;;;;;;:::o;33192:1650::-;4977:1;5583:7;;:19;;5575:63;;;;;-1:-1:-1;;;5575:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4977:1;5716:7;:18;;;33292:10:::1;33259:21;33283:20:::0;;;:8:::1;:20;::::0;;;;33320:12;;-1:-1:-1;;;33320:12:0;::::1;;;33316:125;;;33385:16;::::0;33369:11;;33357:24:::1;::::0;:7;;:11:::1;:24::i;:::-;:44;;33349:80;;;::::0;;-1:-1:-1;;;33349:80:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;33453:13;:11;:13::i;:::-;33483:11:::0;;:15;33479:347:::1;;33515:15;33533:76;33593:4;:15;;;33533:55;33571:16;;33533:33;33549:16;;33533:4;:11;;;:15;;:33;;;;:::i;:76::-;33515:94:::0;-1:-1:-1;33628:11:0;;33624:191:::1;;33660:11;::::0;:54:::1;::::0;-1:-1:-1;;;;;33660:11:0::1;33693:10;33706:7:::0;33660:24:::1;:54::i;:::-;33780:18;::::0;33760:39:::1;::::0;:15:::1;::::0;:19:::1;:39::i;:::-;33733:24;::::0;::::1;:66:::0;33624:191:::1;33479:347;;33842:11:::0;;33838:865:::1;;33933:11;::::0;:36:::1;::::0;;-1:-1:-1;;;33933:36:0;;33963:4:::1;33933:36;::::0;::::1;::::0;;;33909:21:::1;::::0;-1:-1:-1;;;;;33933:11:0::1;::::0;:21:::1;::::0;:36;;;;;::::1;::::0;;;;;;;;:11;:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;33933:36:0;33984:11:::1;::::0;33933:36;;-1:-1:-1;33984:64:0::1;::::0;-1:-1:-1;;;;;33984:11:0::1;34013:10;34033:4;34040:7:::0;33984:28:::1;:64::i;:::-;34086:11;::::0;:36:::1;::::0;;-1:-1:-1;;;34086:36:0;;34116:4:::1;34086:36;::::0;::::1;::::0;;;34063:20:::1;::::0;-1:-1:-1;;;;;34086:11:0::1;::::0;:21:::1;::::0;:36;;;;;::::1;::::0;;;;;;;;:11;:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;34086:36:0;;-1:-1:-1;34147:31:0::1;34086:36:::0;34164:13;34147:16:::1;:31::i;:::-;34199:22;::::0;34137:41;;-1:-1:-1;;;;34199:22:0;::::1;;;:26:::0;34195:292:::1;;34280:22;::::0;34246:19:::1;::::0;34268:46:::1;::::0;34308:5:::1;::::0;34268:35:::1;::::0;:7;;-1:-1:-1;;;34280:22:0;::::1;;;34268:11;:35::i;:46::-;34367:11;::::0;34246:68;;-1:-1:-1;34367:51:0::1;::::0;-1:-1:-1;;;;;34367:11:0::1;28622:42;34246:68:::0;34367:24:::1;:51::i;:::-;34447:24;:7:::0;34459:11;34447::::1;:24::i;:::-;34437:34;;34195:292;;34515:11:::0;;:24:::1;::::0;34531:7;34515:15:::1;:24::i;:::-;34501:38:::0;;34560:24:::1;::::0;::::1;::::0;34556:136:::1;;34657:18;::::0;34637:39:::1;::::0;:15:::1;::::0;:19:::1;:39::i;:::-;34610:24;::::0;::::1;:66:::0;34556:136:::1;33838:865;;;34771:16;::::0;34749::::1;::::0;34733:11;;:55:::1;::::0;34771:16;34733:33:::1;::::0;:11;:15:::1;:33::i;:55::-;34715:15;::::0;::::1;:73:::0;34806:28:::1;::::0;;;;;;;34814:10:::1;::::0;34806:28:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;;4933:1:0;5895:22;;33192:1650::o;43306:238::-;43423:10;;43354:7;;;;43408:12;:25;43404:108;;;-1:-1:-1;43486:14:0;;43474:10;;43461:12;:23;43460:40;43404:108;43529:7;-1:-1:-1;43306:238:0;:::o;29549:25::-;;;-1:-1:-1;;;;;29549:25:0;;:::o;29425:31::-;;;;:::o;36133:635::-;4977:1;5583:7;;:19;;5575:63;;;;;-1:-1:-1;;;5575:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4977:1;5716:7;:18;36228:10:::1;36195:21;36219:20:::0;;;:8:::1;:20;::::0;;;;36280:13:::1;::::0;36265:12:::1;:28;36264:61:::0;::::1;;;;36314:10;;36299:12;:25;36264:61;36260:167;;;36378:15;36350:4;:24;;;:43;;36342:73;;;::::0;;-1:-1:-1;;;36342:73:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;36342:73:0;;;;;;;;;;;;;::::1;;36466:11:::0;;36439:24:::1;36488:15:::0;;;-1:-1:-1;36514:15:0;::::1;:19:::0;;;36544:24:::1;::::0;::::1;:28:::0;36589:20;;36585:116:::1;;36626:11;::::0;:63:::1;::::0;-1:-1:-1;;;;;36626:11:0::1;36659:10;36672:16:::0;36626:24:::1;:63::i;:::-;36748:11:::0;;36718:42:::1;::::0;;;;;;36736:10:::1;::::0;36718:42:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;;4933:1:0;5895:22;;36133:635::o;43552:94::-;43626:12;43552:94;:::o;3040:244::-;2317:12;:10;:12::i;:::-;-1:-1:-1;;;;;2306:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2306:23:0;;2298:68;;;;;-1:-1:-1;;;2298:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2298:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3129:22:0;::::1;3121:73;;;;-1:-1:-1::0;;;3121:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3231:6;::::0;;3210:38:::1;::::0;-1:-1:-1;;;;;3210:38:0;;::::1;::::0;3231:6;::::1;::::0;3210:38:::1;::::0;::::1;3259:6;:17:::0;;-1:-1:-1;;;;;;3259:17:0::1;-1:-1:-1::0;;;;;3259:17:0;;;::::1;::::0;;;::::1;::::0;;3040:244::o;40917:790::-;-1:-1:-1;;;;;41022:15:0;;;40978:7;41022:15;;;:8;:15;;;;;;;;41076:11;;:36;;-1:-1:-1;;;41076:36:0;;41106:4;41076:36;;;;;;40978:7;;41022:15;;40978:7;;41076:11;;;;;:21;;:36;;;;;41022:15;41076:36;;;;;:11;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41076:36:0;41142:15;;41076:36;;-1:-1:-1;41127:12:0;:30;:56;;;;-1:-1:-1;41161:22:0;;;41127:56;41123:577;;;41200:18;41221:45;41236:15;;41253:12;41221:14;:45::i;:::-;41200:66;;41281:18;41302:30;41317:14;;41302:10;:14;;:30;;;;:::i;:::-;41281:51;;41347:29;41392:77;41413:55;41450:17;41413:32;41428:16;;41413:10;:14;;:32;;;;:::i;:55::-;41392:16;;;:20;:77::i;:::-;41347:122;;41491:81;41556:4;:15;;;41491:60;41534:16;;41491:38;41507:21;41491:4;:11;;;:15;;:38;;;;:::i;:81::-;41484:88;;;;;;;;;41123:577;41612:76;41672:4;:15;;;41612:55;41650:16;;41612:33;41628:16;;41612:4;:11;;;:15;;:33;;;;:::i;:76::-;41605:83;;;;;;29490:25;;;-1:-1:-1;;;;;29490:25:0;;:::o;28583:81::-;28622:42;28583:81;:::o;680:106::-;768:10;680:106;:::o;42211:604::-;42274:15;;42258:12;:31;42254:70;;42306:7;;42254:70;42364:11;;:36;;;-1:-1:-1;;;42364:36:0;;42394:4;42364:36;;;;;;42336:25;;-1:-1:-1;;;;;42364:11:0;;:21;;:36;;;;;;;;;;;;;;:11;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42364:36:0;;-1:-1:-1;42417:22:0;42413:106;;-1:-1:-1;42474:12:0;42456:15;:30;42501:7;;42413:106;42531:18;42552:45;42567:15;;42584:12;42552:14;:45::i;:::-;42531:66;;42608:18;42629:30;42644:14;;42629:10;:14;;:30;;;;:::i;:::-;42608:51;;42689:77;42710:55;42747:17;42710:32;42725:16;;42710:10;:14;;:32;;;;:::i;42689:77::-;42670:16;:96;-1:-1:-1;;42795:12:0;42777:15;:30;-1:-1:-1;42211:604:0;:::o;9550:220::-;9608:7;9632:6;9628:20;;-1:-1:-1;9647:1:0;9640:8;;9628:20;9671:5;;;9675:1;9671;:5;:1;9695:5;;;;;:10;9687:56;;;;-1:-1:-1;;;9687:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9761:1;-1:-1:-1;9550:220:0;;;;;:::o;10248:153::-;10306:7;10338:1;10334;:5;10326:44;;;;;-1:-1:-1;;;10326:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10392:1;10388;:5;;;;;;;10248:153;-1:-1:-1;;;10248:153:0:o;9133:158::-;9191:7;9224:1;9219;:6;;9211:49;;;;;-1:-1:-1;;;9211:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9278:5:0;;;9133:158::o;25086:211::-;25230:58;;;-1:-1:-1;;;;;25230:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25230:58:0;-1:-1:-1;;;25230:58:0;;;25203:86;;25223:5;;25203:19;:86::i;:::-;25086:211;;;:::o;8671:179::-;8729:7;8761:5;;;8785:6;;;;8777:46;;;;;-1:-1:-1;;;8777:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;25305:248;25476:68;;;-1:-1:-1;;;;;25476:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25476:68:0;-1:-1:-1;;;25476:68:0;;;25449:96;;25469:5;;25449:19;:96::i;:::-;25305:248;;;;:::o;42989:309::-;43064:7;43095:13;;43088:3;:20;43084:207;;43132:14;:3;43140:5;43132:7;:14::i;:::-;43125:21;;;;43084:207;43177:13;;43168:5;:22;43164:127;;-1:-1:-1;43214:1:0;43207:8;;43164:127;43255:13;;:24;;43273:5;43255:17;:24::i;27621:774::-;28045:23;28071:69;28099:4;28071:69;;;;;;;;;;;;;;;;;28079:5;-1:-1:-1;;;;;28071:27:0;;;:69;;;;;:::i;:::-;28155:17;;28045:95;;-1:-1:-1;28155:21:0;28151:237;;28310:10;28299:30;;;;;;;;;;;;;;;-1:-1:-1;28299:30:0;28291:85;;;;-1:-1:-1;;;28291:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20151:195;20254:12;20286:52;20308:6;20316:4;20322:1;20325:12;20286:21;:52::i;:::-;20279:59;;20151:195;;;;;;:::o;21203:530::-;21330:12;21388:5;21363:21;:30;;21355:81;;;;-1:-1:-1;;;21355:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21455:18;21466:6;21455:10;:18::i;:::-;21447:60;;;;;-1:-1:-1;;;21447:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21581:12;21595:23;21622:6;-1:-1:-1;;;;;21622:11:0;21642:5;21650:4;21622:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;21622:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21580:75;;;;21673:52;21691:7;21700:10;21712:12;21673:17;:52::i;:::-;21666:59;21203:530;-1:-1:-1;;;;;;;21203:530:0:o;17233:422::-;17600:20;17639:8;;;17233:422::o;23743:742::-;23858:12;23887:7;23883:595;;;-1:-1:-1;23918:10:0;23911:17;;23883:595;24032:17;;:21;24028:439;;24295:10;24289:17;24356:15;24343:10;24339:2;24335:19;24328:44;24243:148;24438:12;24431:20;;-1:-1:-1;;;24431:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://2e1612ec0ebf85976e9da3970d97bd93e53a20e6a9eea4cd0c65891ad6748cb0
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.