Contract Overview
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Latest 25 internal transaction
[ Download CSV Export ]
Contract Name:
StrategyDrugsV2
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at BscScan.com on 2020-11-24 */ // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.6.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in 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: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.6.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.6.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/utils/Pausable.sol pragma solidity ^0.6.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: contracts/BIFI/interfaces/common/IUniswapRouter.sol pragma solidity ^0.6.0; interface IUniswapRouter { function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); } // File: contracts/BIFI/interfaces/thugs/IOriginalGangsterV2.sol pragma solidity ^0.6.0; interface IOriginalGangsterV2 { function deposit(uint256 _pid, uint256 _amount) external; function withdraw(uint256 _pid, uint256 _amount) external; function enterStaking(uint256 _amount) external; function leaveStaking(uint256 _amount) external; function pendingDrugs(uint256 _pid, address _user) external view returns (uint256); function userInfo(uint256 _pid, address _user) external view returns (uint256, uint256); function emergencyWithdraw(uint256 _pid) external; } // File: contracts/BIFI/interfaces/thugs/ISmartGangster.sol pragma solidity ^0.6.0; interface ISmartGangster { function deposit(uint256 _amount) external; function withdraw(uint256 _amount) external; function pendingReward(address _user) external view returns (uint256); function userInfo(address _user) external view returns (uint256, uint256); function emergencyWithdraw() external; function rewardToken() external view returns (address); } // File: contracts/BIFI/strategies/Thugs/StrategyDrugsV2.sol pragma solidity ^0.6.0; /** * @dev Implementation of a strategy to get yields from farming a {hoes} pool + base {drugs} farming. * * The strategy simply deposits whatever {drugs} it receives from the vault into the OriginalGangster getting {hoes} in exchange. * This {hoes} is then allocated into the configured pool (SmartGangster). Rewards generated by the SmartGangster can be harvested, * swapped for more {drugs}, and deposited again for compound farming. Rewards from the OriginalGangster are also compounded. * * This strat is currently compatible with all {hoes} pools. * The output token and its corresponding SmartGangster is configured with a constructor argument */ contract StrategyDrugsV2 is Ownable, Pausable { using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; /** * @dev Tokens Used: * {wbnb} - Required for liquidity routing when doing swaps. * {drugs} - Token that the strategy maximizes. The same token that users deposit in the vault. * {hoes} - Intermediate token generated by staking {drugs} in the OriginalGangster. * {bifi} - BeefyFinance token, used to send funds to the treasury. * {output} - Token generated by staking {drugs}. */ address constant public wbnb = address(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c); address constant public drugs = address(0x339550404Ca4d831D12B1b2e4768869997390010); address constant public hoes = address(0xfE60B258204398F008581775F08D2b43fb7b422b); address constant public bifi = address(0xCa3F508B8e4Dd382eE878A314789373D80A5190A); address public output; /** * @dev Third Party Contracts: * {unirouter} - StreetSwap unirouter * {originalGangster} - OriginalGangster contract. Stake {drugs}, get {hoes}. * {smartGangster} - SmartGangster contract. Stake {hoes}, get {output} token. */ address constant public unirouter = address(0x3bc677674df90A9e5D741f28f6CA303357D0E4Ec); address constant public originalGangster = address(0x03edb31BeCc296d45670790c947150DAfEC2E238); address public smartGangster; /** * @dev Beefy Contracts: * {rewards} - Reward pool where the strategy fee earnings will go. * {treasury} - Address of the BeefyFinance treasury * {vault} - Address of the vault that controls the strategy's funds. */ address constant public rewards = address(0x453D4Ba9a2D594314DF88564248497F7D74d6b2C); address constant public treasury = address(0x4A32De8c248533C28904b24B4cFCFE18E9F2ad01); address public vault; /** * @dev Distribution of fees earned. This allocations relative to the % implemented on chargeFees(). * Current implementation separates 6% for fees. * * {REWARDS_FEE} - 4% goes to BIFI holders through the {rewards} pool. * {CALL_FEE} - 0.5% goes to whoever executes the harvest function as gas subsidy. * {TREASURY_FEE} - 1.5% goes to the treasury. * {MAX_FEE} - Aux const used to safely calc the correct amounts. * * {WITHDRAWAL_FEE} - Fee taxed when a user withdraws funds. 10 === 0.1% fee. * {WITHDRAWAL_MAX} - Aux const used to safely calc the correct amounts. */ uint constant public REWARDS_FEE = 667; uint constant public CALL_FEE = 83; uint constant public TREASURY_FEE = 250; uint constant public MAX_FEE = 1000; uint constant public WITHDRAWAL_FEE = 10; uint constant public WITHDRAWAL_MAX = 10000; /** * @dev Routes we take to swap tokens using StreetSwap. * {outputToDrugsRoute} - Route we take to get from {output} into {drugs}. * {outputToWbnbRoute} - Route we take to get from {output} into {wbnb}. * {wbnbToBifiRoute} - Route we take to get from {wbnb} into {bifi}. */ address[] public outputToDrugsRoute; address[] public outputToWbnbRoute; address[] public wbnbToBifiRoute = [wbnb, bifi]; /** * @dev Initializes the strategy with the SmartGangster and Vault that it will use. */ constructor(address _smartGangster, address _vault) public { smartGangster = _smartGangster; vault = _vault; output = ISmartGangster(smartGangster).rewardToken(); outputToDrugsRoute = [output, wbnb, drugs]; outputToWbnbRoute = [output, wbnb]; IERC20(output).safeApprove(unirouter, uint(-1)); IERC20(wbnb).safeApprove(unirouter, uint(-1)); } /** * @dev Function that puts the funds to work. * It gets called whenever someone deposits in the strategy's vault contract. * It deposits {drugs} in the OriginalGangster to receive {hoes} * It then deposits the received {hoes} in the SmartGangster to farm {output}. */ function deposit() public whenNotPaused { uint256 drugsBal = IERC20(drugs).balanceOf(address(this)); if (drugsBal > 0) { IERC20(drugs).safeApprove(originalGangster, 0); IERC20(drugs).safeApprove(originalGangster, drugsBal); IOriginalGangsterV2(originalGangster).enterStaking(drugsBal); uint256 hoesBal = IERC20(hoes).balanceOf(address(this)); IERC20(hoes).safeApprove(smartGangster, 0); IERC20(hoes).safeApprove(smartGangster, hoesBal); ISmartGangster(smartGangster).deposit(hoesBal); } } /** * @dev Withdraws funds and sends them back to the vault. * It withdraws {hoes} from the SmartGangster, the {hoes} is switched back to {drugs}. * The resulting {drugs} minus fees is returned to the vault. */ function withdraw(uint256 _amount) external { require(msg.sender == vault, "!vault"); uint256 drugsBal = IERC20(drugs).balanceOf(address(this)); if (drugsBal < _amount) { uint256 hoesBal = IERC20(hoes).balanceOf(address(this)); ISmartGangster(smartGangster).withdraw(_amount.sub(drugsBal).sub(hoesBal)); hoesBal = IERC20(hoes).balanceOf(address(this)); if (hoesBal > _amount) { hoesBal = _amount; } IOriginalGangsterV2(originalGangster).leaveStaking(hoesBal); drugsBal = IERC20(drugs).balanceOf(address(this)); } if (drugsBal > _amount) { drugsBal = _amount; } uint256 _fee = drugsBal.mul(WITHDRAWAL_FEE).div(WITHDRAWAL_MAX); IERC20(drugs).safeTransfer(vault, drugsBal.sub(_fee)); } /** * @dev Core function of the strat, in charge of collecting and re-investing rewards. * 1. It claims rewards from the OriginalGangster & SmartGangster * 2. It swaps the {output} token for {drugs} * 3. It charges the system fee and sends it to BIFI stakers. * 4. It re-invests the remaining profits. */ function harvest() public whenNotPaused { require(!Address.isContract(msg.sender), "!contract"); IOriginalGangsterV2(originalGangster).leaveStaking(0); ISmartGangster(smartGangster).deposit(0); chargeFees(); swapRewards(); deposit(); } /** * @dev Takes out 6% as system fees from the rewards. * 0.5% -> Call Fee * 1.5% -> Treasury fee * 4% -> BIFI Holders */ function chargeFees() internal { uint256 toWbnb = IERC20(output).balanceOf(address(this)).mul(6).div(100); IUniswapRouter(unirouter).swapExactTokensForTokens(toWbnb, 0, outputToWbnbRoute, address(this), now.add(600)); uint256 wbnbBal = IERC20(wbnb).balanceOf(address(this)); uint256 callFee = wbnbBal.mul(CALL_FEE).div(MAX_FEE); IERC20(wbnb).safeTransfer(msg.sender, callFee); uint256 treasuryHalf = wbnbBal.mul(TREASURY_FEE).div(MAX_FEE).div(2); IERC20(wbnb).safeTransfer(treasury, treasuryHalf); IUniswapRouter(unirouter).swapExactTokensForTokens(treasuryHalf, 0, wbnbToBifiRoute, treasury, now.add(600)); uint256 rewardsFee = wbnbBal.mul(REWARDS_FEE).div(MAX_FEE); IERC20(wbnb).safeTransfer(rewards, rewardsFee); } /** * @dev Swaps whatever {output} it has for more {drugs}. */ function swapRewards() internal { uint256 outputBal = IERC20(output).balanceOf(address(this)); IUniswapRouter(unirouter).swapExactTokensForTokens(outputBal, 0, outputToDrugsRoute, address(this), now.add(600)); } /** * @dev Function to calculate the total underlaying {drugs} held by the strat. * It takes into account both the funds in hand, as the funds allocated in the SmartGangster. */ function balanceOf() public view returns (uint256) { return balanceOfDrugs().add(balanceOfPool()); } /** * @dev It calculates how much {drugs} the contract holds. */ function balanceOfDrugs() public view returns (uint256) { return IERC20(drugs).balanceOf(address(this)); } /** * @dev It calculates how much {drugs} the strategy has allocated in the OriginalGangster */ function balanceOfPool() public view returns (uint256) { (uint256 _amount, ) = IOriginalGangsterV2(originalGangster).userInfo(0, address(this)); return _amount; } /** * @dev Function that has to be called as part of strat migration. It sends all the available funds back to the * vault, ready to be migrated to the new strat. */ function retireStrat() external onlyOwner { panic(); uint256 drugsBal = IERC20(drugs).balanceOf(address(this)); IERC20(drugs).transfer(vault, drugsBal); } /** * @dev Withdraws all funds from the SmartGangster & OriginalGangster, leaving rewards behind. * It also reduces allowance of the unirouter */ function panic() public onlyOwner { pause(); ISmartGangster(smartGangster).emergencyWithdraw(); uint256 hoesBal = IERC20(hoes).balanceOf(address(this)); IOriginalGangsterV2(originalGangster).leaveStaking(hoesBal); } /** * @dev Pauses the strat. */ function pause() public onlyOwner { _pause(); IERC20(output).safeApprove(unirouter, 0); IERC20(wbnb).safeApprove(unirouter, 0); } /** * @dev Unpauses the strat. */ function unpause() external onlyOwner { _unpause(); IERC20(output).safeApprove(unirouter, uint(-1)); IERC20(wbnb).safeApprove(unirouter, uint(-1)); } }
[{"inputs":[{"internalType":"address","name":"_smartGangster","type":"address"},{"internalType":"address","name":"_vault","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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"CALL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARDS_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfDrugs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bifi","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"drugs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hoes","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"originalGangster","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"output","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"outputToDrugsRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"outputToWbnbRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"panic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"smartGangster","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unirouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wbnb","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"wbnbToBifiRoute","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405273bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c608090815273ca3f508b8e4dd382ee878a314789373d80a5190a60a0526200004690600690600262000679565b503480156200005457600080fd5b5060405162002ba638038062002ba6833981810160405260408110156200007a57600080fd5b50805160209091015160006200008f620002be565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b19169055600280546001600160a01b038085166001600160a01b03199283161792839055600380548583169316929092179091556040805163f7c618c160e01b81529051929091169163f7c618c191600480820192602092909190829003018186803b1580156200015257600080fd5b505afa15801562000167573d6000803e3d6000fd5b505050506040513d60208110156200017e57600080fd5b5051600180546001600160a01b0319166001600160a01b0392831617908190556040805160608101825291909216815273bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c602082015273339550404ca4d831d12b1b2e476886999739001091810191909152620001f490600490600362000679565b50604080518082019091526001546001600160a01b0316815273bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c60208201526200023790600590600262000679565b5060015462000273906001600160a01b0316733bc677674df90a9e5d741f28f6ca303357d0e4ec600019620002c2602090811b620014e117901c565b620002b673bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c733bc677674df90a9e5d741f28f6ca303357d0e4ec600019620002c2602090811b620014e117901c565b505062000704565b3390565b8015806200034c575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200031c57600080fd5b505afa15801562000331573d6000803e3d6000fd5b505050506040513d60208110156200034857600080fd5b5051155b620003895760405162461bcd60e51b815260040180806020018281038252603681526020018062002b706036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620003e1918591620003e616565b505050565b606062000442826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620004a260201b620015f4179092919060201c565b805190915015620003e1578080602001905160208110156200046357600080fd5b5051620003e15760405162461bcd60e51b815260040180806020018281038252602a81526020018062002b46602a913960400191505060405180910390fd5b6060620004b38484600085620004bb565b949350505050565b6060620004c88562000673565b6200051a576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106200055b5780518252601f1990920191602091820191016200053a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114620005bf576040519150601f19603f3d011682016040523d82523d6000602084013e620005c4565b606091505b50915091508115620005da579150620004b39050565b805115620005eb5780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620006375781810151838201526020016200061d565b50505050905090810190601f168015620006655780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b3b151590565b828054828255906000526020600020908101928215620006d1579160200282015b82811115620006d157825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200069a565b50620006df929150620006e3565b5090565b5b80821115620006df5780546001600160a01b0319168155600101620006e4565b61243280620007146000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80638456cb591161011a578063af314312116100ad578063d0e30db01161007c578063d0e30db01461038b578063f20eaeb814610393578063f2fde38b1461039b578063fb617787146103c1578063fbfa77cf146103c957610206565b8063af31431214610356578063b34a166b14610373578063bc063e1a1461037b578063c6a1dd8b1461038357610206565b8063951d6d20116100e9578063951d6d20146103365780639ec5a8941461033e578063a5d33ed514610346578063abb9392d1461034e57610206565b80638456cb59146103165780638ce1a4831461031e5780638d72647e146103265780638da5cb5b1461032e57610206565b80634641257d1161019d57806354518b1a1161016c57806354518b1a146102da5780635c975abb146102e257806361d027b3146102fe578063715018a614610306578063722713f71461030e57610206565b80634641257d146102a55780634700d305146102ad5780634e14f475146102b5578063523db94d146102d257610206565b80632e1a7d4d116101d95780632e1a7d4d1461026e5780633bf39de51461028d5780633f4ba83a146102955780634458020b1461029d57610206565b80630532b23c1461020b578063115880861461022f578063257ae0de146102495780632aada48f14610251575b600080fd5b6102136103d1565b604080516001600160a01b039092168252519081900360200190f35b6102376103e9565b60408051918252519081900360200190f35b610213610477565b6102136004803603602081101561026757600080fd5b503561048f565b61028b6004803603602081101561028457600080fd5b50356104b6565b005b61023761085f565b61028b610865565b610213610929565b61028b610941565b61028b610abd565b610213600480360360208110156102cb57600080fd5b5035610c78565b610213610c85565b610237610c9d565b6102ea610ca3565b604080519115158252519081900360200190f35b610213610cb3565b61028b610ccb565b610237610d6d565b61028b610d8d565b610237610e4d565b610213610e52565b610213610e6a565b610237610e79565b610213610e7e565b610237610e96565b610237610e9b565b6102136004803603602081101561036c57600080fd5b5035610f21565b610213610f2e565b610237610f3d565b610213610f43565b61028b610f5b565b610213611256565b61028b600480360360208110156103b157600080fd5b50356001600160a01b0316611265565b61028b61135d565b6102136114d2565b7303edb31becc296d45670790c947150dafec2e23881565b604080516393f1a40b60e01b81526000600482018190523060248301528251909283927303edb31becc296d45670790c947150dafec2e238926393f1a40b92604480840193919291829003018186803b15801561044557600080fd5b505afa158015610459573d6000803e3d6000fd5b505050506040513d604081101561046f57600080fd5b505191505090565b733bc677674df90a9e5d741f28f6ca303357d0e4ec81565b6005818154811061049c57fe5b6000918252602090912001546001600160a01b0316905081565b6003546001600160a01b031633146104fe576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b604080516370a0823160e01b8152306004820152905160009173339550404ca4d831d12b1b2e4768869997390010916370a0823191602480820192602092909190829003018186803b15801561055357600080fd5b505afa158015610567573d6000803e3d6000fd5b505050506040513d602081101561057d57600080fd5b50519050818110156107fd57604080516370a0823160e01b8152306004820152905160009173fe60b258204398f008581775f08d2b43fb7b422b916370a0823191602480820192602092909190829003018186803b1580156105de57600080fd5b505afa1580156105f2573d6000803e3d6000fd5b505050506040513d602081101561060857600080fd5b50516002549091506001600160a01b0316632e1a7d4d6106328361062c878761160b565b9061160b565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561066857600080fd5b505af115801561067c573d6000803e3d6000fd5b5050604080516370a0823160e01b8152306004820152905173fe60b258204398f008581775f08d2b43fb7b422b93506370a0823192506024808301926020929190829003018186803b1580156106d157600080fd5b505afa1580156106e5573d6000803e3d6000fd5b505050506040513d60208110156106fb57600080fd5b505190508281111561070a5750815b7303edb31becc296d45670790c947150dafec2e2386001600160a01b0316631058d281826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561076457600080fd5b505af1158015610778573d6000803e3d6000fd5b5050604080516370a0823160e01b8152306004820152905173339550404ca4d831d12b1b2e476886999739001093506370a0823192506024808301926020929190829003018186803b1580156107cd57600080fd5b505afa1580156107e1573d6000803e3d6000fd5b505050506040513d60208110156107f757600080fd5b50519150505b818111156108085750805b600061082161271061081b84600a611656565b906116af565b60035490915061085a906001600160a01b031661083e848461160b565b73339550404ca4d831d12b1b2e476886999739001091906116f1565b505050565b61029b81565b61086d611743565b6000546001600160a01b039081169116146108bd576040805162461bcd60e51b8152602060048201819052602482015260008051602061237d833981519152604482015290519081900360640190fd5b6108c5611747565b6001546108f2906001600160a01b0316733bc677674df90a9e5d741f28f6ca303357d0e4ec6000196114e1565b61092773bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c733bc677674df90a9e5d741f28f6ca303357d0e4ec6000196114e1565b565b73ca3f508b8e4dd382ee878a314789373d80a5190a81565b600054600160a01b900460ff1615610993576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61099c336117ef565b156109da576040805162461bcd60e51b81526020600482015260096024820152680858dbdb9d1c9858dd60ba1b604482015290519081900360640190fd5b60408051631058d28160e01b815260006004820181905291517303edb31becc296d45670790c947150dafec2e23892631058d281926024808201939182900301818387803b158015610a2b57600080fd5b505af1158015610a3f573d6000803e3d6000fd5b50506002546040805163b6b55f2560e01b815260006004820181905291516001600160a01b03909316945063b6b55f2593506024808201939182900301818387803b158015610a8d57600080fd5b505af1158015610aa1573d6000803e3d6000fd5b50505050610aad6117f5565b610ab5611d1d565b610927610f5b565b610ac5611743565b6000546001600160a01b03908116911614610b15576040805162461bcd60e51b8152602060048201819052602482015260008051602061237d833981519152604482015290519081900360640190fd5b610b1d610d8d565b600260009054906101000a90046001600160a01b03166001600160a01b031663db2e21bc6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610b6d57600080fd5b505af1158015610b81573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073fe60b258204398f008581775f08d2b43fb7b422b92506370a0823191602480820192602092909190829003018186803b158015610bda57600080fd5b505afa158015610bee573d6000803e3d6000fd5b505050506040513d6020811015610c0457600080fd5b505160408051631058d28160e01b81526004810183905290519192507303edb31becc296d45670790c947150dafec2e23891631058d2819160248082019260009290919082900301818387803b158015610c5d57600080fd5b505af1158015610c71573d6000803e3d6000fd5b5050505050565b6004818154811061049c57fe5b73fe60b258204398f008581775f08d2b43fb7b422b81565b61271081565b600054600160a01b900460ff1690565b734a32de8c248533c28904b24b4cfcfe18e9f2ad0181565b610cd3611743565b6000546001600160a01b03908116911614610d23576040805162461bcd60e51b8152602060048201819052602482015260008051602061237d833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610d88610d7a6103e9565b610d82610e9b565b90611f32565b905090565b610d95611743565b6000546001600160a01b03908116911614610de5576040805162461bcd60e51b8152602060048201819052602482015260008051602061237d833981519152604482015290519081900360640190fd5b610ded611f8c565b600154610e19906001600160a01b0316733bc677674df90a9e5d741f28f6ca303357d0e4ec60006114e1565b61092773bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c733bc677674df90a9e5d741f28f6ca303357d0e4ec60006114e1565b60fa81565b73bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c81565b6000546001600160a01b031690565b605381565b73453d4ba9a2d594314df88564248497f7d74d6b2c81565b600a81565b604080516370a0823160e01b8152306004820152905160009173339550404ca4d831d12b1b2e4768869997390010916370a0823191602480820192602092909190829003018186803b158015610ef057600080fd5b505afa158015610f04573d6000803e3d6000fd5b505050506040513d6020811015610f1a57600080fd5b5051905090565b6006818154811061049c57fe5b6002546001600160a01b031681565b6103e881565b73339550404ca4d831d12b1b2e476886999739001081565b600054600160a01b900460ff1615610fad576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b604080516370a0823160e01b8152306004820152905160009173339550404ca4d831d12b1b2e4768869997390010916370a0823191602480820192602092909190829003018186803b15801561100257600080fd5b505afa158015611016573d6000803e3d6000fd5b505050506040513d602081101561102c57600080fd5b5051905080156112535761106a73339550404ca4d831d12b1b2e47688699973900107303edb31becc296d45670790c947150dafec2e23860006114e1565b61109d73339550404ca4d831d12b1b2e47688699973900107303edb31becc296d45670790c947150dafec2e238836114e1565b7303edb31becc296d45670790c947150dafec2e2386001600160a01b03166341441d3b826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156110f757600080fd5b505af115801561110b573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073fe60b258204398f008581775f08d2b43fb7b422b92506370a0823191602480820192602092909190829003018186803b15801561116457600080fd5b505afa158015611178573d6000803e3d6000fd5b505050506040513d602081101561118e57600080fd5b50516002549091506111c09073fe60b258204398f008581775f08d2b43fb7b422b906001600160a01b031660006114e1565b6002546111ec9073fe60b258204398f008581775f08d2b43fb7b422b906001600160a01b0316836114e1565b6002546040805163b6b55f2560e01b81526004810184905290516001600160a01b039092169163b6b55f259160248082019260009290919082900301818387803b15801561123957600080fd5b505af115801561124d573d6000803e3d6000fd5b50505050505b50565b6001546001600160a01b031681565b61126d611743565b6000546001600160a01b039081169116146112bd576040805162461bcd60e51b8152602060048201819052602482015260008051602061237d833981519152604482015290519081900360640190fd5b6001600160a01b0381166113025760405162461bcd60e51b81526004018080602001828103825260268152602001806123366026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b611365611743565b6000546001600160a01b039081169116146113b5576040805162461bcd60e51b8152602060048201819052602482015260008051602061237d833981519152604482015290519081900360640190fd5b6113bd610abd565b604080516370a0823160e01b8152306004820152905160009173339550404ca4d831d12b1b2e4768869997390010916370a0823191602480820192602092909190829003018186803b15801561141257600080fd5b505afa158015611426573d6000803e3d6000fd5b505050506040513d602081101561143c57600080fd5b50516003546040805163a9059cbb60e01b81526001600160a01b039092166004830152602482018390525191925073339550404ca4d831d12b1b2e47688699973900109163a9059cbb916044808201926020929091908290030181600087803b1580156114a857600080fd5b505af11580156114bc573d6000803e3d6000fd5b505050506040513d602081101561085a57600080fd5b6003546001600160a01b031681565b801580611567575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561153957600080fd5b505afa15801561154d573d6000803e3d6000fd5b505050506040513d602081101561156357600080fd5b5051155b6115a25760405162461bcd60e51b81526004018080602001828103825260368152602001806123c76036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b17905261085a90849061201a565b606061160384846000856120cb565b949350505050565b600061164d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612276565b90505b92915050565b60008261166557506000611650565b8282028284828161167257fe5b041461164d5760405162461bcd60e51b815260040180806020018281038252602181526020018061235c6021913960400191505060405180910390fd5b600061164d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122d0565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261085a90849061201a565b3390565b600054600160a01b900460ff1661179c576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6117d2611743565b604080516001600160a01b039092168252519081900360200190a1565b3b151590565b600154604080516370a0823160e01b815230600482015290516000926118839260649261081b926006926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561185157600080fd5b505afa158015611865573d6000803e3d6000fd5b505050506040513d602081101561187b57600080fd5b505190611656565b9050733bc677674df90a9e5d741f28f6ca303357d0e4ec6338ed17398260006005306118b142610258611f32565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818154815260200191508054801561193057602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611912575b50509650505050505050600060405180830381600087803b15801561195457600080fd5b505af1158015611968573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561199157600080fd5b81019080805160405193929190846401000000008211156119b157600080fd5b9083019060208201858111156119c657600080fd5b82518660208202830111640100000000821117156119e357600080fd5b82525081516020918201928201910280838360005b83811015611a105781810151838201526020016119f8565b505050509190910160408181526370a0823160e01b8252306004830152516000965073bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c95506370a08231945060248083019450602093509091829003018186803b158015611a7157600080fd5b505afa158015611a85573d6000803e3d6000fd5b505050506040513d6020811015611a9b57600080fd5b505190506000611ab26103e861081b846053611656565b9050611ad373bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c33836116f1565b6000611ae9600261081b6103e8818760fa611656565b9050611b1e73bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c734a32de8c248533c28904b24b4cfcfe18e9f2ad01836116f1565b733bc677674df90a9e5d741f28f6ca303357d0e4ec6338ed17398260006006734a32de8c248533c28904b24b4cfcfe18e9f2ad01611b5e42610258611f32565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611bdd57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611bbf575b50509650505050505050600060405180830381600087803b158015611c0157600080fd5b505af1158015611c15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611c3e57600080fd5b8101908080516040519392919084640100000000821115611c5e57600080fd5b908301906020820185811115611c7357600080fd5b8251866020820283011164010000000082111715611c9057600080fd5b82525081516020918201928201910280838360005b83811015611cbd578181015183820152602001611ca5565b50505050905001604052505050506000611ce86103e861081b61029b8761165690919063ffffffff16565b9050610c7173bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c73453d4ba9a2d594314df88564248497f7d74d6b2c836116f1565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611d6857600080fd5b505afa158015611d7c573d6000803e3d6000fd5b505050506040513d6020811015611d9257600080fd5b50519050733bc677674df90a9e5d741f28f6ca303357d0e4ec6338ed1739826000600430611dc242610258611f32565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b031681526020018381526020018281038252858181548152602001915080548015611e4157602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611e23575b50509650505050505050600060405180830381600087803b158015611e6557600080fd5b505af1158015611e79573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611ea257600080fd5b8101908080516040519392919084640100000000821115611ec257600080fd5b908301906020820185811115611ed757600080fd5b8251866020820283011164010000000082111715611ef457600080fd5b82525081516020918201928201910280838360005b83811015611f21578181015183820152602001611f09565b505050509050016040525050505050565b60008282018381101561164d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600054600160a01b900460ff1615611fde576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117d2611743565b606061206f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115f49092919063ffffffff16565b80519091501561085a5780806020019051602081101561208e57600080fd5b505161085a5760405162461bcd60e51b815260040180806020018281038252602a81526020018061239d602a913960400191505060405180910390fd5b60606120d6856117ef565b612127576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106121665780518252601f199092019160209182019101612147565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146121c8576040519150601f19603f3d011682016040523d82523d6000602084013e6121cd565b606091505b509150915081156121e15791506116039050565b8051156121f15780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561223b578181015183820152602001612223565b50505050905090810190601f1680156122685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b600081848411156122c85760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561223b578181015183820152602001612223565b505050900390565b6000818361231f5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561223b578181015183820152602001612223565b50600083858161232b57fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220961d45ba002dd1f950a5b8b4999cb3b62e651e27e9359b4aac99771ebcf9c82c64736f6c634300060c00335361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000000085ab044e658c9ef2127da97aa7aaa55bfe0ea7560000000000000000000000008ae31751a226b0c5357a377e53b6db12bdf5e64d
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000085ab044e658c9ef2127da97aa7aaa55bfe0ea7560000000000000000000000008ae31751a226b0c5357a377e53b6db12bdf5e64d
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000085ab044e658c9ef2127da97aa7aaa55bfe0ea756
Arg [1] : 0000000000000000000000008ae31751a226b0c5357a377e53b6db12bdf5e64d
Deployed ByteCode Sourcemap
36700:10016:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38030:94;;;:::i;:::-;;;;-1:-1:-1;;;;;38030:94:0;;;;;;;;;;;;;;45234:185;;;:::i;:::-;;;;;;;;;;;;;;;;37936:87;;;:::i;39906:34::-;;;;;;;;;;;;;;;;-1:-1:-1;39906:34:0;;:::i;41699:904::-;;;;;;;;;;;;;;;;-1:-1:-1;41699:904:0;;:::i;:::-;;39278:38;;;:::i;46530:183::-;;;:::i;37552:83::-;;;:::i;42957:294::-;;;:::i;45983:268::-;;;:::i;39864:35::-;;;;;;;;;;;;;;;;-1:-1:-1;39864:35:0;;:::i;37462:83::-;;;:::i;39501:43::-;;;:::i;33297:78::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;38514:86;;;:::i;2712:148::-;;;:::i;44789:114::-;;;:::i;46308:163::-;;;:::i;39364:39::-;;;:::i;37282:83::-;;;:::i;2070:79::-;;;:::i;39323:34::-;;;:::i;38422:85::-;;;:::i;39454:40::-;;;:::i;44993:120::-;;;:::i;39947:47::-;;;;;;;;;;;;;;;;-1:-1:-1;39947:47:0;;:::i;38131:28::-;;;:::i;39410:35::-;;;:::i;37372:83::-;;;:::i;40836:615::-;;;:::i;37642:21::-;;;:::i;3015:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3015:244:0;-1:-1:-1;;;;;3015:244:0;;:::i;45618:188::-;;;:::i;38607:20::-;;;:::i;38030:94::-;38081:42;38030:94;:::o;45234:185::-;45322:64;;;-1:-1:-1;;;45322:64:0;;45280:7;45322:64;;;;;;45380:4;45322:64;;;;;;45280:7;;;;38081:42;;45322:46;;:64;;;;;;;;;;;;;38081:42;45322:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45322:64:0;;-1:-1:-1;;45234:185:0;:::o;37936:87::-;37980:42;37936:87;:::o;39906:34::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39906:34:0;;-1:-1:-1;39906:34:0;:::o;41699:904::-;41776:5;;-1:-1:-1;;;;;41776:5:0;41762:10;:19;41754:38;;;;;-1:-1:-1;;;41754:38:0;;;;;;;;;;;;-1:-1:-1;;;41754:38:0;;;;;;;;;;;;;;;41824;;;-1:-1:-1;;;41824:38:0;;41856:4;41824:38;;;;;;41805:16;;37412:42;;41824:23;;:38;;;;;;;;;;;;;;;37412:42;41824:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41824:38:0;;-1:-1:-1;41879:18:0;;;41875:488;;;41932:37;;;-1:-1:-1;;;41932:37:0;;41963:4;41932:37;;;;;;41914:15;;37502:42;;41932:22;;:37;;;;;;;;;;;;;;;37502:42;41932:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41932:37:0;41999:13;;41932:37;;-1:-1:-1;;;;;;41999:13:0;41984:38;42023:34;41932:37;42023:21;:7;42035:8;42023:11;:21::i;:::-;:25;;:34::i;:::-;41984:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;42085:37:0;;;-1:-1:-1;;;42085:37:0;;42116:4;42085:37;;;;;;37502:42;;-1:-1:-1;42085:22:0;;-1:-1:-1;42085:37:0;;;;;;;;;;;;;;37502:42;42085:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42085:37:0;;-1:-1:-1;42141:17:0;;;42137:75;;;-1:-1:-1;42189:7:0;42137:75;38081:42;-1:-1:-1;;;;;42228:50:0;;42279:7;42228:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;42313:38:0;;;-1:-1:-1;;;42313:38:0;;42345:4;42313:38;;;;;;37412:42;;-1:-1:-1;42313:23:0;;-1:-1:-1;42313:38:0;;;;;;;;;;;;;;37412:42;42313:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42313:38:0;;-1:-1:-1;;41875:488:0;42390:7;42379:8;:18;42375:73;;;-1:-1:-1;42425:7:0;42375:73;42468:12;42483:48;39539:5;42483:28;:8;39492:2;42483:12;:28::i;:::-;:32;;:48::i;:::-;42569:5;;42468:63;;-1:-1:-1;42542:53:0;;-1:-1:-1;;;;;42569:5:0;42576:18;:8;42468:63;42576:12;:18::i;:::-;37412:42;;42542:53;:26;:53::i;:::-;41699:904;;;:::o;39278:38::-;39313:3;39278:38;:::o;46530:183::-;2292:12;:10;:12::i;:::-;2282:6;;-1:-1:-1;;;;;2282:6:0;;;:22;;;2274:67;;;;;-1:-1:-1;;;2274:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2274:67:0;;;;;;;;;;;;;;;46579:10:::1;:8;:10::i;:::-;46609:6;::::0;46602:47:::1;::::0;-1:-1:-1;;;;;46609:6:0::1;37980:42;-1:-1:-1::0;;46602:26:0::1;:47::i;:::-;46660:45;37322:42;37980;-1:-1:-1::0;;46660:24:0::1;:45::i;:::-;46530:183::o:0;37552:83::-;37592:42;37552:83;:::o;42957:294::-;33615:7;;-1:-1:-1;;;33615:7:0;;;;33614:8;33606:37;;;;;-1:-1:-1;;;33606:37:0;;;;;;;;;;;;-1:-1:-1;;;33606:37:0;;;;;;;;;;;;;;;43017:30:::1;43036:10;43017:18;:30::i;:::-;43016:31;43008:53;;;::::0;;-1:-1:-1;;;43008:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43008:53:0;;;;;;;;;;;;;::::1;;43072;::::0;;-1:-1:-1;;;43072:53:0;;43123:1:::1;43072:53;::::0;::::1;::::0;;;;;38081:42:::1;::::0;43072:50:::1;::::0;:53;;;;;;;;;;;43123:1;38081:42;43072:53;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;43151:13:0::1;::::0;43136:40:::1;::::0;;-1:-1:-1;;;43136:40:0;;43151:13:::1;43136:40;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;43151:13:0;;::::1;::::0;-1:-1:-1;43136:37:0::1;::::0;-1:-1:-1;43136:40:0;;;;;;;;;;;43151:13;;43136:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;43187:12;:10;:12::i;:::-;43210:13;:11;:13::i;:::-;43234:9;:7;:9::i;45983:268::-:0;2292:12;:10;:12::i;:::-;2282:6;;-1:-1:-1;;;;;2282:6:0;;;:22;;;2274:67;;;;;-1:-1:-1;;;2274:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2274:67:0;;;;;;;;;;;;;;;46028:7:::1;:5;:7::i;:::-;46063:13;;;;;;;;;-1:-1:-1::0;;;;;46063:13:0::1;-1:-1:-1::0;;;;;46048:47:0::1;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;46136:37:0::1;::::0;;-1:-1:-1;;;46136:37:0;;46167:4:::1;46136:37;::::0;::::1;::::0;;;46118:15:::1;::::0;-1:-1:-1;37502:42:0::1;::::0;-1:-1:-1;46136:22:0::1;::::0;:37;;;;;::::1;::::0;;;;;;;;;37502:42;46136:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;46136:37:0;46184:59:::1;::::0;;-1:-1:-1;;;46184:59:0;;::::1;::::0;::::1;::::0;;;;;46136:37;;-1:-1:-1;38081:42:0::1;::::0;46184:50:::1;::::0;:59;;;;;-1:-1:-1;;46184:59:0;;;;;;;;-1:-1:-1;38081:42:0;46184:59;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;2352:1;45983:268::o:0;39864:35::-;;;;;;;;;;37462:83;37502:42;37462:83;:::o;39501:43::-;39539:5;39501:43;:::o;33297:78::-;33336:4;33360:7;-1:-1:-1;;;33360:7:0;;;;;33297:78::o;38514:86::-;38557:42;38514:86;:::o;2712:148::-;2292:12;:10;:12::i;:::-;2282:6;;-1:-1:-1;;;;;2282:6:0;;;:22;;;2274:67;;;;;-1:-1:-1;;;2274:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2274:67:0;;;;;;;;;;;;;;;2819:1:::1;2803:6:::0;;2782:40:::1;::::0;-1:-1:-1;;;;;2803:6:0;;::::1;::::0;2782:40:::1;::::0;2819:1;;2782:40:::1;2850:1;2833:19:::0;;-1:-1:-1;;;;;;2833:19:0::1;::::0;;2712:148::o;44789:114::-;44831:7;44858:37;44879:15;:13;:15::i;:::-;44858:16;:14;:16::i;:::-;:20;;:37::i;:::-;44851:44;;44789:114;:::o;46308:163::-;2292:12;:10;:12::i;:::-;2282:6;;-1:-1:-1;;;;;2282:6:0;;;:22;;;2274:67;;;;;-1:-1:-1;;;2274:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2274:67:0;;;;;;;;;;;;;;;46353:8:::1;:6;:8::i;:::-;46381:6;::::0;46374:40:::1;::::0;-1:-1:-1;;;;;46381:6:0::1;37980:42;46412:1;46374:26;:40::i;:::-;46425:38;37322:42;37980;46461:1;46425:24;:38::i;39364:39::-:0;39400:3;39364:39;:::o;37282:83::-;37322:42;37282:83;:::o;2070:79::-;2108:7;2135:6;-1:-1:-1;;;;;2135:6:0;2070:79;:::o;39323:34::-;39355:2;39323:34;:::o;38422:85::-;38464:42;38422:85;:::o;39454:40::-;39492:2;39454:40;:::o;44993:120::-;45067:38;;;-1:-1:-1;;;45067:38:0;;45099:4;45067:38;;;;;;45040:7;;37412:42;;45067:23;;:38;;;;;;;;;;;;;;;37412:42;45067:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45067:38:0;;-1:-1:-1;44993:120:0;:::o;39947:47::-;;;;;;;;;;38131:28;;;-1:-1:-1;;;;;38131:28:0;;:::o;39410:35::-;39441:4;39410:35;:::o;37372:83::-;37412:42;37372:83;:::o;40836:615::-;33615:7;;-1:-1:-1;;;33615:7:0;;;;33614:8;33606:37;;;;;-1:-1:-1;;;33606:37:0;;;;;;;;;;;;-1:-1:-1;;;33606:37:0;;;;;;;;;;;;;;;40906:38:::1;::::0;;-1:-1:-1;;;40906:38:0;;40938:4:::1;40906:38;::::0;::::1;::::0;;;40887:16:::1;::::0;37412:42:::1;::::0;40906:23:::1;::::0;:38;;;;;::::1;::::0;;;;;;;;;37412:42;40906:38;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;40906:38:0;;-1:-1:-1;40961:12:0;;40957:487:::1;;40990:46;37412:42;38081;41034:1;40990:25;:46::i;:::-;41051:53;37412:42;38081;41095:8:::0;41051:25:::1;:53::i;:::-;38081:42;-1:-1:-1::0;;;;;41119:50:0::1;;41170:8;41119:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;41214:37:0::1;::::0;;-1:-1:-1;;;41214:37:0;;41245:4:::1;41214:37;::::0;::::1;::::0;;;41196:15:::1;::::0;-1:-1:-1;37502:42:0::1;::::0;-1:-1:-1;41214:22:0::1;::::0;:37;;;;;::::1;::::0;;;;;;;;;37502:42;41214:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;41214:37:0;41291:13:::1;::::0;41214:37;;-1:-1:-1;41266:42:0::1;::::0;37502::::1;::::0;-1:-1:-1;;;;;41291:13:0::1;;41266:24;:42::i;:::-;41348:13;::::0;41323:48:::1;::::0;37502:42:::1;::::0;-1:-1:-1;;;;;41348:13:0::1;41363:7:::0;41323:24:::1;:48::i;:::-;41401:13;::::0;41386:46:::1;::::0;;-1:-1:-1;;;41386:46:0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;41401:13:0;;::::1;::::0;41386:37:::1;::::0;:46;;;;;41401:13:::1;::::0;41386:46;;;;;;;;41401:13;;41386:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40957:487;;33654:1;40836:615::o:0;37642:21::-;;;-1:-1:-1;;;;;37642:21:0;;:::o;3015:244::-;2292:12;:10;:12::i;:::-;2282:6;;-1:-1:-1;;;;;2282:6:0;;;:22;;;2274:67;;;;;-1:-1:-1;;;2274:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2274:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3104:22:0;::::1;3096:73;;;;-1:-1:-1::0;;;3096:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3206:6;::::0;;3185:38:::1;::::0;-1:-1:-1;;;;;3185:38:0;;::::1;::::0;3206:6;::::1;::::0;3185:38:::1;::::0;::::1;3234:6;:17:::0;;-1:-1:-1;;;;;;3234:17:0::1;-1:-1:-1::0;;;;;3234:17:0;;;::::1;::::0;;;::::1;::::0;;3015:244::o;45618:188::-;2292:12;:10;:12::i;:::-;2282:6;;-1:-1:-1;;;;;2282:6:0;;;:22;;;2274:67;;;;;-1:-1:-1;;;2274:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2274:67:0;;;;;;;;;;;;;;;45671:7:::1;:5;:7::i;:::-;45710:38;::::0;;-1:-1:-1;;;45710:38:0;;45742:4:::1;45710:38;::::0;::::1;::::0;;;45691:16:::1;::::0;37412:42:::1;::::0;45710:23:::1;::::0;:38;;;;;::::1;::::0;;;;;;;;;37412:42;45710:38;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;45710:38:0;45782:5:::1;::::0;45759:39:::1;::::0;;-1:-1:-1;;;45759:39:0;;-1:-1:-1;;;;;45782:5:0;;::::1;45759:39;::::0;::::1;::::0;;;;;;;;45710:38;;-1:-1:-1;37412:42:0::1;::::0;45759:22:::1;::::0;:39;;;;;45710:38:::1;::::0;45759:39;;;;;;;;-1:-1:-1;37412:42:0;45759:39;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;38607:20:::0;;;-1:-1:-1;;;;;38607:20:0;;:::o;29813:622::-;30183:10;;;30182:62;;-1:-1:-1;30199:39:0;;;-1:-1:-1;;;30199:39:0;;30223:4;30199:39;;;;-1:-1:-1;;;;;30199:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30199:39:0;:44;30182:62;30174:152;;;;-1:-1:-1;;;30174:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30364:62;;;-1:-1:-1;;;;;30364:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30364:62:0;-1:-1:-1;;;30364:62:0;;;30337:90;;30357:5;;30337:19;:90::i;15132:196::-;15235:12;15267:53;15290:6;15298:4;15304:1;15307:12;15267:22;:53::i;:::-;15260:60;15132:196;-1:-1:-1;;;;15132:196:0:o;7454:136::-;7512:7;7539:43;7543:1;7546;7539:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;7532:50;;7454:136;;;;;:::o;8344:471::-;8402:7;8647:6;8643:47;;-1:-1:-1;8677:1:0;8670:8;;8643:47;8714:5;;;8718:1;8714;:5;:1;8738:5;;;;;:10;8730:56;;;;-1:-1:-1;;;8730:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9291:132;9349:7;9376:39;9380:1;9383;9376:39;;;;;;;;;;;;;;;;;:3;:39::i;29154:177::-;29264:58;;;-1:-1:-1;;;;;29264:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29264:58:0;-1:-1:-1;;;29264:58:0;;;29237:86;;29257:5;;29237:19;:86::i;624:106::-;712:10;624:106;:::o;34346:120::-;33891:7;;-1:-1:-1;;;33891:7:0;;;;33883:40;;;;;-1:-1:-1;;;33883:40:0;;;;;;;;;;;;-1:-1:-1;;;33883:40:0;;;;;;;;;;;;;;;34415:5:::1;34405:15:::0;;-1:-1:-1;;;;34405:15:0::1;::::0;;34436:22:::1;34445:12;:10;:12::i;:::-;34436:22;::::0;;-1:-1:-1;;;;;34436:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;34346:120::o:0;12214:422::-;12581:20;12620:8;;;12214:422::o;43418:840::-;43484:6;;43477:39;;;-1:-1:-1;;;43477:39:0;;43510:4;43477:39;;;;;;43460:14;;43477:55;;43528:3;;43477:46;;43521:1;;-1:-1:-1;;;;;43484:6:0;;;;43477:24;;:39;;;;;;;;;;;;;;;43484:6;43477:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43477:39:0;;:43;:46::i;:55::-;43460:72;-1:-1:-1;37980:42:0;43543:50;43460:72;43602:1;43605:17;43632:4;43639:12;:3;43647;43639:7;:12::i;:::-;43543:109;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43543:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43543:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;43543:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43543:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;43543:109:0;;;;;;;;-1:-1:-1;;;43687:37:0;;43718:4;43687:37;;;;;43669:15;;-1:-1:-1;37322:42:0;;-1:-1:-1;43687:22:0;;-1:-1:-1;43687:37:0;;;;;-1:-1:-1;43687:37:0;;-1:-1:-1;43687:37:0;;;;;;;37322:42;43687:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43687:37:0;;-1:-1:-1;43737:15:0;43755:34;39441:4;43755:21;43687:37;39355:2;43755:11;:21::i;:34::-;43737:52;-1:-1:-1;43800:46:0;37322:42;43826:10;43737:52;43800:25;:46::i;:::-;43867:20;43890:45;43933:1;43890:38;39441:4;43890:38;:7;39400:3;43890:11;:25::i;:45::-;43867:68;-1:-1:-1;43946:49:0;37322:42;38557;43867:68;43946:25;:49::i;:::-;37980:42;44006:50;44057:12;44071:1;44074:15;38557:42;44101:12;:3;44109;44101:7;:12::i;:::-;44006:108;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44006:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44006:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44006:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44006:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44135:18;44156:37;39441:4;44156:24;39313:3;44156:7;:11;;:24;;;;:::i;:37::-;44135:58;-1:-1:-1;44204:46:0;37322:42;38464;44135:58;44204:25;:46::i;44346:234::-;44416:6;;44409:39;;;-1:-1:-1;;;44409:39:0;;44442:4;44409:39;;;;;;44389:17;;-1:-1:-1;;;;;44416:6:0;;44409:24;;:39;;;;;;;;;;;;;;44416:6;44409:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44409:39:0;;-1:-1:-1;37980:42:0;44459:50;44409:39;44521:1;44524:18;44552:4;44559:12;:3;44567;44559:7;:12::i;:::-;44459:113;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44459:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44459:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44459:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44459:113:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44346:234;:::o;6990:181::-;7048:7;7080:5;;;7104:6;;;;7096:46;;;;;-1:-1:-1;;;7096:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;34087:118;33615:7;;-1:-1:-1;;;33615:7:0;;;;33614:8;33606:37;;;;;-1:-1:-1;;;33606:37:0;;;;;;;;;;;;-1:-1:-1;;;33606:37:0;;;;;;;;;;;;;;;34147:7:::1;:14:::0;;-1:-1:-1;;;;34147:14:0::1;-1:-1:-1::0;;;34147:14:0::1;::::0;;34177:20:::1;34184:12;:10;:12::i;31459:761::-:0;31883:23;31909:69;31937:4;31909:69;;;;;;;;;;;;;;;;;31917:5;-1:-1:-1;;;;;31909:27:0;;;:69;;;;;:::i;:::-;31993:17;;31883:95;;-1:-1:-1;31993:21:0;31989:224;;32135:10;32124:30;;;;;;;;;;;;;;;-1:-1:-1;32124:30:0;32116:85;;;;-1:-1:-1;;;32116:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16509:979;16639:12;16672:18;16683:6;16672:10;:18::i;:::-;16664:60;;;;;-1:-1:-1;;;16664:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16798:12;16812:23;16839:6;-1:-1:-1;;;;;16839:11:0;16859:8;16870:4;16839:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16839:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16797:78;;;;16890:7;16886:595;;;16921:10;-1:-1:-1;16914:17:0;;-1:-1:-1;16914:17:0;16886:595;17035:17;;:21;17031:439;;17298:10;17292:17;17359:15;17346:10;17342:2;17338:19;17331:44;17246:148;17441:12;17434:20;;-1:-1:-1;;;17434:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7893:192;7979:7;8015:12;8007:6;;;;7999:29;;;;-1:-1:-1;;;7999:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8051:5:0;;;7893:192::o;9919:278::-;10005:7;10040:12;10033:5;10025:28;;;;-1:-1:-1;;;10025:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10064:9;10080:1;10076;:5;;;;;;;9919:278;-1:-1:-1;;;;;9919:278:0:o
Swarm Source
ipfs://961d45ba002dd1f950a5b8b4999cb3b62e651e27e9359b4aac99771ebcf9c82c
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.