Contract Overview
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Contract Name:
MasterChefv2
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./Ownable.sol"; import "./SafeMath.sol"; import "./SafeERC20.sol"; import "./ReentrancyGuard.sol"; import "./PawToken.sol"; import "./IRewardLocker.sol"; // MasterChef is the master of PAW. He can make PAW and he is a fair guy. // // Note that it's ownable and the owner wields tremendous power. The ownership // will be transferred to a governance smart contract once PAW is sufficiently // distributed and the community can show to govern itself. // // Have fun reading it. Hopefully it's bug-free. God bless. // For any questions contact @macatkevin on Telegram contract MasterChefv2 is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 lastPawPerShare; // Paw per share on last update uint256 unclaimed; // Unclaimed reward in Paw. // pending reward = user.unclaimed + (user.amount * (pool.accPawPerShare - user.lastPawPerShare) // // Whenever a user deposits or withdraws Staking tokens to a pool. Here's what happens: // 1. The pool's `accPawPerShare` (and `lastPawBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `lastPawPerShare` gets updated. // 4. User's `amount` gets updated. } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. PAW to distribute per block. uint256 totalDeposited; // The total deposited by users uint256 lastRewardBlock; // Last block number that PAW distribution occurs. uint256 accPawPerShare; // Accumulated PAW per share, times 1e18. See below. } // The PAW TOKEN! PawToken public immutable paw; address public pendingPawOwner; address public pawTransferOwner; address public devAddress; // Contract for locking reward IRewardLocker public immutable rewardLocker; // PAW tokens created per block. uint256 public pawPerBlock = 8 ether; uint256 public constant MAX_EMISSION_RATE = 1000 ether; // Safety check // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; uint256 public constant MAX_ALLOC_POINT = 100000; // Safety check // The block number when PAW mining starts. uint256 public immutable startBlock; event Add(address indexed user, uint256 allocPoint, IERC20 indexed token, bool massUpdatePools); event Set(address indexed user, uint256 pid, uint256 allocPoint); event Deposit(address indexed user, uint256 indexed pid, uint256 amount, bool harvest); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount, bool harvest); event Harvest(address indexed user, uint256 indexed pid, uint256 amount); event HarvestMultiple(address indexed user, uint256[] _pids, uint256 amount); event HarvestAll(address indexed user, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); event SetDevAddress(address indexed user, address indexed newAddress); event UpdateEmissionRate(address indexed user, uint256 pawPerBlock); event SetPawTransferOwner(address indexed user, address indexed pawTransferOwner); event AcceptPawOwnership(address indexed user, address indexed newOwner); event NewPendingPawOwner(address indexed user, address indexed newOwner); constructor( PawToken _paw, uint256 _startBlock, IRewardLocker _rewardLocker, address _devAddress, address _pawTransferOwner ) public { require(_devAddress != address(0), "!nonzero"); paw = _paw; startBlock = _startBlock; rewardLocker = _rewardLocker; devAddress = _devAddress; pawTransferOwner = _pawTransferOwner; IERC20(_paw).safeApprove(address(_rewardLocker), uint256(0)); IERC20(_paw).safeIncreaseAllowance( address(_rewardLocker), uint256(-1) ); } function poolLength() external view returns (uint256) { return poolInfo.length; } mapping(IERC20 => bool) public poolExistence; modifier nonDuplicated(IERC20 _lpToken) { require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated"); _; } // Add a new lp to the pool. Can only be called by the owner. function add(uint256 _allocPoint, IERC20 _lpToken, bool _massUpdatePools) external onlyOwner nonDuplicated(_lpToken) { require(_allocPoint <= MAX_ALLOC_POINT, "!overmax"); if (_massUpdatePools) { massUpdatePools(); // This ensures that massUpdatePools will not exceed gas limit } _lpToken.balanceOf(address(this)); // Check to make sure it's a token uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolExistence[_lpToken] = true; poolInfo.push(PoolInfo({ lpToken: _lpToken, totalDeposited: 0, allocPoint: _allocPoint, lastRewardBlock: lastRewardBlock, accPawPerShare: 0 })); emit Add(msg.sender, _allocPoint, _lpToken, _massUpdatePools); } // Update the given pool's PAW allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint) external onlyOwner { require(_allocPoint <= MAX_ALLOC_POINT, "!overmax"); totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; emit Set(msg.sender, _pid, _allocPoint); } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public pure returns (uint256) { return _to.sub(_from); } // View function to see pending PAW on frontend. function pendingPaw(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accPawPerShare = pool.accPawPerShare; if (block.number > pool.lastRewardBlock && pool.totalDeposited != 0 && totalAllocPoint != 0) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 pawReward = multiplier.mul(pawPerBlock).mul(pool.allocPoint).div(totalAllocPoint); accPawPerShare = accPawPerShare.add(pawReward.mul(1e18).div(pool.totalDeposited)); } return user.amount.mul(accPawPerShare.sub(user.lastPawPerShare)).div(1e18).add(user.unclaimed); } // Update reward variables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } if (pool.totalDeposited == 0 || pool.allocPoint == 0) { pool.lastRewardBlock = block.number; return; } uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number); uint256 pawReward = multiplier.mul(pawPerBlock).mul(pool.allocPoint).div(totalAllocPoint); paw.mint(devAddress, pawReward.div(50)); // 2% paw.mint(address(this), pawReward); pool.accPawPerShare = pool.accPawPerShare.add(pawReward.mul(1e18).div(pool.totalDeposited)); pool.lastRewardBlock = block.number; } // Deposit LP tokens to MasterChef for PAW allocation. function deposit(uint256 _pid, uint256 _amount, bool _shouldHarvest) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; _updateUserReward(_pid, _shouldHarvest); if (_amount > 0) { uint256 beforeDeposit = pool.lpToken.balanceOf(address(this)); pool.lpToken.safeTransferFrom(msg.sender, address(this), _amount); uint256 afterDeposit = pool.lpToken.balanceOf(address(this)); _amount = afterDeposit.sub(beforeDeposit); user.amount = user.amount.add(_amount); pool.totalDeposited = pool.totalDeposited.add(_amount); } emit Deposit(msg.sender, _pid, _amount, _shouldHarvest); } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _amount, bool _shouldHarvest) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); _updateUserReward(_pid, _shouldHarvest); if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.totalDeposited = pool.totalDeposited.sub(_amount); pool.lpToken.safeTransfer(msg.sender, _amount); } emit Withdraw(msg.sender, _pid, _amount, _shouldHarvest); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 amount = user.amount; user.amount = 0; user.lastPawPerShare = 0; user.unclaimed = 0; pool.totalDeposited = pool.totalDeposited.sub(amount); pool.lpToken.safeTransfer(msg.sender, amount); emit EmergencyWithdraw(msg.sender, _pid, amount); } // Update the rewards of caller, and harvests if needed function _updateUserReward(uint256 _pid, bool _shouldHarvest) internal { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount == 0) { user.lastPawPerShare = pool.accPawPerShare; } uint256 pending = user.amount.mul(pool.accPawPerShare.sub(user.lastPawPerShare)).div(1e18).add(user.unclaimed); user.unclaimed = _shouldHarvest ? 0 : pending; if (_shouldHarvest && pending > 0) { _lockReward(msg.sender, pending); emit Harvest(msg.sender, _pid, pending); } user.lastPawPerShare = pool.accPawPerShare; } // Harvest one pool function harvest(uint256 _pid) external nonReentrant { _updateUserReward(_pid, true); } // Harvest specific pools into one vest function harvestMultiple(uint256[] calldata _pids) external nonReentrant { uint256 pending = 0; for (uint256 i = 0; i < _pids.length; i++) { updatePool(_pids[i]); PoolInfo storage pool = poolInfo[_pids[i]]; UserInfo storage user = userInfo[_pids[i]][msg.sender]; if (user.amount == 0) { user.lastPawPerShare = pool.accPawPerShare; } pending = pending.add(user.amount.mul(pool.accPawPerShare.sub(user.lastPawPerShare)).div(1e18).add(user.unclaimed)); user.unclaimed = 0; user.lastPawPerShare = pool.accPawPerShare; } if (pending > 0) { _lockReward(msg.sender, pending); } emit HarvestMultiple(msg.sender, _pids, pending); } // Harvest all into one vest. Will probably not be used // Can fail if pool length is too big due to massUpdatePools() function harvestAll() external nonReentrant { massUpdatePools(); uint256 pending = 0; for (uint256 i = 0; i < poolInfo.length; i++) { PoolInfo storage pool = poolInfo[i]; UserInfo storage user = userInfo[i][msg.sender]; if (user.amount == 0) { user.lastPawPerShare = pool.accPawPerShare; } pending = pending.add(user.amount.mul(pool.accPawPerShare.sub(user.lastPawPerShare)).div(1e18).add(user.unclaimed)); user.unclaimed = 0; user.lastPawPerShare = pool.accPawPerShare; } if (pending > 0) { _lockReward(msg.sender, pending); } emit HarvestAll(msg.sender, pending); } /** * @dev Call locker contract to lock rewards */ function _lockReward(address _account, uint256 _amount) internal { uint256 pawBal = paw.balanceOf(address(this)); rewardLocker.lock(paw, _account, _amount > pawBal ? pawBal : _amount); } // Update dev address by the previous dev. function setDevAddress(address _devAddress) external onlyOwner { require(_devAddress != address(0), "!nonzero"); devAddress = _devAddress; emit SetDevAddress(msg.sender, _devAddress); } // Should never fail as long as massUpdatePools is called during add function updateEmissionRate(uint256 _pawPerBlock) external onlyOwner { require(_pawPerBlock <= MAX_EMISSION_RATE, "!overmax"); massUpdatePools(); pawPerBlock = _pawPerBlock; emit UpdateEmissionRate(msg.sender, _pawPerBlock); } // Update paw transfer owner. Can only be called by existing pawTransferOwner function setPawTransferOwner(address _pawTransferOwner) external { require(msg.sender == pawTransferOwner); pawTransferOwner = _pawTransferOwner; emit SetPawTransferOwner(msg.sender, _pawTransferOwner); } /** * @dev DUE TO THIS CODE THIS CONTRACT MUST BE BEHIND A TIMELOCK (Ideally 7) * THIS FUNCTION EXISTS ONLY IF THERE IS AN ISSUE WITH THIS CONTRACT * AND TOKEN MIGRATION MUST HAPPEN */ function acceptPawOwnership() external { require(msg.sender == pawTransferOwner); require(pendingPawOwner != address(0)); paw.transferOwnership(pendingPawOwner); pendingPawOwner = address(0); emit AcceptPawOwnership(msg.sender, pendingPawOwner); } function setPendingPawOwnership(address _pendingOwner) external { require(msg.sender == pawTransferOwner); pendingPawOwner = _pendingOwner; emit NewPendingPawOwner(msg.sender, _pendingOwner); } }
// SPDX-License-Identifier: MIT 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) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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); } } } }
// SPDX-License-Identifier: MIT 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./Context.sol"; import "./IERC20.sol"; import "./SafeMath.sol"; import "./Address.sol"; /** * @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 is 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 { } }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "./IERC20.sol"; interface IRewardLocker { struct VestingSchedule { uint64 startBlock; uint64 endBlock; uint128 quantity; uint128 vestedQuantity; } event VestingEntryCreated( IERC20 indexed token, address indexed beneficiary, uint256 startBlock, uint256 endBlock, uint256 quantity, uint256 index ); event VestingEntryQueued( uint256 indexed index, IERC20 indexed token, address indexed beneficiary, uint256 quantity ); event Vested( IERC20 indexed token, address indexed beneficiary, uint256 vestedQuantity, uint256 index ); /** * @dev queue a vesting schedule starting from now */ function lock( IERC20 token, address account, uint256 amount ) external payable; /** * @dev queue a vesting schedule */ function lockWithStartBlock( IERC20 token, address account, uint256 quantity, uint256 startBlock ) external payable; /** * @dev vest all completed schedules for multiple tokens */ function vestCompletedSchedulesForMultipleTokens(IERC20[] calldata tokens) external returns (uint256[] memory vestedAmounts); /** * @dev claim multiple tokens for specific vesting schedule, * if schedule has not ended yet, claiming amounts are linear with vesting blocks */ function vestScheduleForMultipleTokensAtIndices( IERC20[] calldata tokens, uint256[][] calldata indices ) external returns (uint256[] memory vestedAmounts); /** * @dev for all completed schedule, claim token */ function vestCompletedSchedules(IERC20 token) external returns (uint256); /** * @dev claim token for specific vesting schedule, * @dev if schedule has not ended yet, claiming amount is linear with vesting blocks */ function vestScheduleAtIndices(IERC20 token, uint256[] calldata indexes) external returns (uint256); /** * @dev claim token for specific vesting schedule from startIndex to endIndex */ function vestSchedulesInRange( IERC20 token, uint256 startIndex, uint256 endIndex ) external returns (uint256); /** * @dev length of vesting schedules array */ function numVestingSchedules(address account, IERC20 token) external view returns (uint256); /** * @dev get detailed of each vesting schedule */ function getVestingScheduleAtIndex( address account, IERC20 token, uint256 index ) external view returns (VestingSchedule memory); /** * @dev get vesting shedules array */ function getVestingSchedules(address account, IERC20 token) external view returns (VestingSchedule[] memory schedules); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./Context.sol"; /** * @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; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./Ownable.sol"; import "./ERC20.sol"; import "./SafeERC20.sol"; import "./ReentrancyGuard.sol"; contract PawToken is ERC20("Paw V2", "PAW"), Ownable, ReentrancyGuard { using SafeERC20 for IERC20; address constant oldPawAddress = 0x6971AcA589BbD367516d70c3d210E4906b090c96; function mint(address _to, uint256 _amount) external onlyOwner { _mint(_to, _amount); } function migrate() external nonReentrant { uint256 usrAmt = IERC20(oldPawAddress).balanceOf(msg.sender); IERC20(oldPawAddress).safeTransferFrom(msg.sender, address(this), usrAmt); _mint(msg.sender, usrAmt); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.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]. */ 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./IERC20.sol"; import "./SafeMath.sol"; import "./Address.sol"; /** * @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"); } } }
// SPDX-License-Identifier: MIT 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; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract PawToken","name":"_paw","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"contract IRewardLocker","name":"_rewardLocker","type":"address"},{"internalType":"address","name":"_devAddress","type":"address"},{"internalType":"address","name":"_pawTransferOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"AcceptPawOwnership","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"bool","name":"massUpdatePools","type":"bool"}],"name":"Add","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"harvest","type":"bool"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Harvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"HarvestAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"_pids","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"HarvestMultiple","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"NewPendingPawOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"}],"name":"Set","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"pawTransferOwner","type":"address"}],"name":"SetPawTransferOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"pawPerBlock","type":"uint256"}],"name":"UpdateEmissionRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"harvest","type":"bool"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MAX_ALLOC_POINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptPawOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_massUpdatePools","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_shouldHarvest","type":"bool"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_pids","type":"uint256[]"}],"name":"harvestMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paw","outputs":[{"internalType":"contract PawToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pawPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pawTransferOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingPaw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingPawOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"name":"poolExistence","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"totalDeposited","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accPawPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardLocker","outputs":[{"internalType":"contract IRewardLocker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pawTransferOwner","type":"address"}],"name":"setPawTransferOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pendingOwner","type":"address"}],"name":"setPendingPawOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pawPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"lastPawPerShare","type":"uint256"},{"internalType":"uint256","name":"unclaimed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_shouldHarvest","type":"bool"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052676f05b59d3b20000060055560006008553480156200002257600080fd5b5060405162002f2138038062002f21833981810160405260a08110156200004857600080fd5b50805160208201516040830151606084015160809094015192939192909190600062000073620001a6565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180556001600160a01b03821662000108576040805162461bcd60e51b8152602060048201526008602482015267216e6f6e7a65726f60c01b604482015290519081900360640190fd5b6001600160601b0319606086811b821660805260c086905284901b1660a052600480546001600160a01b038481166001600160a01b0319928316179092556003805484841692169190911790556200017490861684600062001c83620001aa602090811b91909117901c565b6200019b83600019876001600160a01b0316620002ce60201b62001d9b179092919060201c565b505050505062000700565b3390565b80158062000234575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156200020457600080fd5b505afa15801562000219573d6000803e3d6000fd5b505050506040513d60208110156200023057600080fd5b5051155b620002715760405162461bcd60e51b815260040180806020018281038252603681526020018062002eeb6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620002c9918591620003d716565b505050565b60006200037582856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b1580156200033457600080fd5b505afa15801562000349573d6000803e3d6000fd5b505050506040513d60208110156200036057600080fd5b50519062000493602090811b62001e8c17901c565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152919250620003d191869190620003d716565b50505050565b606062000433826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620004f560201b62001ee6179092919060201c565b805190915015620002c9578080602001905160208110156200045457600080fd5b5051620002c95760405162461bcd60e51b815260040180806020018281038252602a81526020018062002ec1602a913960400191505060405180910390fd5b600082820183811015620004ee576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60606200050684846000856200050e565b949350505050565b60606200051b85620006c6565b6200056d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620005ae5780518252601f1990920191602091820191016200058d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000612576040519150601f19603f3d011682016040523d82523d6000602084013e62000617565b606091505b509150915081156200062d579150620005069050565b8051156200063e5780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200068a57818101518382015260200162000670565b50505050905090810190601f168015620006b85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159062000506575050151592915050565b60805160601c60a05160601c60c0516127666200075b60003980610c955280610cbc52806114075250806111ad528061208552508061066052806114c4528061157b528061198b5280611fe252806120ac52506127666000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80635312ea8e1161011a578063c0eb3d70116100ad578063ddc632621161007c578063ddc6326214610590578063ede530d3146105ad578063f1a5affe146105d3578063f2fde38b146105db578063f958d1f91461060157610206565b8063c0eb3d7014610520578063cbd258b514610528578063d0d41fe114610562578063db8f40941461058857610206565b80638da5cb5b116100e95780638da5cb5b146104a35780638dbb1e3a146104ab5780638ed955b9146104ce57806393f1a40b146104d657610206565b80635312ea8e1461046e578063630b5ba11461048b578063715018a6146104935780637177e3e51461049b57610206565b80631eaaa0451161019d5780633ad10ef61161016c5780633ad10ef61461040e578063436cc3d61461041657806343a0d0661461041e57806348cd4cb11461044957806351eb05a61461045157610206565b80631eaaa0451461031b578063218e0f731461034f57806333cfcd3b146103bf5780633892601c146103ea57610206565b80631526fe27116101d95780631526fe271461027257806317caf6f1146102c45780631ab06ee5146102cc5780631c1cd6f4146102ef57610206565b8063081e3eda1461020b5780630b57e23a146102255780630ba84cd21461022f5780630ea601bd1461024c575b600080fd5b610213610609565b60408051918252519081900360200190f35b61022d61060f565b005b61022d6004803603602081101561024557600080fd5b5035610701565b61022d6004803603602081101561026257600080fd5b50356001600160a01b03166107e8565b61028f6004803603602081101561028857600080fd5b503561084b565b604080516001600160a01b03909616865260208601949094528484019290925260608401526080830152519081900360a00190f35b610213610893565b61022d600480360360408110156102e257600080fd5b5080359060200135610899565b6102136004803603604081101561030557600080fd5b50803590602001356001600160a01b03166109db565b61022d6004803603606081101561033157600080fd5b508035906001600160a01b0360208201351690604001351515610b05565b61022d6004803603602081101561036557600080fd5b81019060208101813564010000000081111561038057600080fd5b82018360208201111561039257600080fd5b803590602001918460208302840111640100000000831117156103b457600080fd5b509092509050610e72565b61022d600480360360608110156103d557600080fd5b50803590602081013590604001351515611048565b6103f26111ab565b604080516001600160a01b039092168252519081900360200190f35b6103f26111cf565b6102136111de565b61022d6004803603606081101561043457600080fd5b508035906020810135906040013515156111eb565b610213611405565b61022d6004803603602081101561046757600080fd5b5035611429565b61022d6004803603602081101561048457600080fd5b5035611618565b61022d61171f565b61022d611742565b6103f26117e4565b6103f26117f3565b610213600480360360408110156104c157600080fd5b5080359060200135611802565b61022d611815565b610502600480360360408110156104ec57600080fd5b50803590602001356001600160a01b031661195d565b60408051938452602084019290925282820152519081900360600190f35b6103f2611989565b61054e6004803603602081101561053e57600080fd5b50356001600160a01b03166119ad565b604080519115158252519081900360200190f35b61022d6004803603602081101561057857600080fd5b50356001600160a01b03166119c2565b610213611aac565b61022d600480360360208110156105a657600080fd5b5035611ab2565b61022d600480360360208110156105c357600080fd5b50356001600160a01b0316611b12565b6103f2611b75565b61022d600480360360208110156105f157600080fd5b50356001600160a01b0316611b84565b610213611c7c565b60065490565b6003546001600160a01b0316331461062657600080fd5b6002546001600160a01b031661063b57600080fd5b6002546040805163f2fde38b60e01b81526001600160a01b03928316600482015290517f00000000000000000000000000000000000000000000000000000000000000009092169163f2fde38b9160248082019260009290919082900301818387803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b5050600280546001600160a01b0319169055505060405160009033907f5cec32e65d2ec4421ac38e7db97f22ec05a9c917210d0a00e16fe46ec4219075908390a3565b610709611efd565b6000546001600160a01b03908116911614610759576040805162461bcd60e51b815260206004820181905260248201526000805160206126b1833981519152604482015290519081900360640190fd5b683635c9adc5dea000008111156107a2576040805162461bcd60e51b8152602060048201526008602482015267042deeccae4dac2f60c31b604482015290519081900360640190fd5b6107aa61171f565b600581905560408051828152905133917fe2492e003bbe8afa53088b406f0c1cb5d9e280370fc72a74cf116ffd343c4053919081900360200190a250565b6003546001600160a01b031633146107ff57600080fd5b600280546001600160a01b0319166001600160a01b03831690811790915560405133907f46a55c62477fdeb403fb2080ec2b2d08e4f231c92789bcc73e192f92b64e322190600090a350565b6006818154811061085857fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909185565b60085481565b6108a1611efd565b6000546001600160a01b039081169116146108f1576040805162461bcd60e51b815260206004820181905260248201526000805160206126b1833981519152604482015290519081900360640190fd5b620186a0811115610934576040805162461bcd60e51b8152602060048201526008602482015267042deeccae4dac2f60c31b604482015290519081900360640190fd5b6109718161096b6006858154811061094857fe5b906000526020600020906005020160010154600854611f0190919063ffffffff16565b90611e8c565b600881905550806006838154811061098557fe5b60009182526020918290206001600590920201019190915560408051848152918201839052805133927f9eca8f7bcfb868d72b4ed95b71c627c194ab6bcb9b83adb2280e8a0320bb847692908290030190a25050565b600080600684815481106109eb57fe5b600091825260208083208784526007825260408085206001600160a01b03891686529092529220600460059092029092019081015460038201549193509043118015610a3a5750600283015415155b8015610a47575060085415155b15610ac3576000610a5c846003015443611802565b90506000610a8f600854610a898760010154610a8360055487611f4390919063ffffffff16565b90611f43565b90611f9c565b9050610abe610ab78660020154610a89670de0b6b3a764000085611f4390919063ffffffff16565b8490611e8c565b925050505b610af9826002015461096b670de0b6b3a7640000610a89610af1876001015487611f0190919063ffffffff16565b875490611f43565b93505050505b92915050565b610b0d611efd565b6000546001600160a01b03908116911614610b5d576040805162461bcd60e51b815260206004820181905260248201526000805160206126b1833981519152604482015290519081900360640190fd5b6001600160a01b038216600090815260096020526040902054829060ff1615610bcd576040805162461bcd60e51b815260206004820152601960248201527f6e6f6e4475706c6963617465643a206475706c69636174656400000000000000604482015290519081900360640190fd5b620186a0841115610c10576040805162461bcd60e51b8152602060048201526008602482015267042deeccae4dac2f60c31b604482015290519081900360640190fd5b8115610c1e57610c1e61171f565b604080516370a0823160e01b815230600482015290516001600160a01b038516916370a08231916024808301926020929190829003018186803b158015610c6457600080fd5b505afa158015610c78573d6000803e3d6000fd5b505050506040513d6020811015610c8e57600080fd5b50600090507f00000000000000000000000000000000000000000000000000000000000000004311610ce0577f0000000000000000000000000000000000000000000000000000000000000000610ce2565b435b600854909150610cf29086611e8c565b6008556001600160a01b0384811660008181526009602090815260408083208054600160ff199091168117909155815160a0810183528581528084018c8152818401868152606083018a81526080840188815260068054968701815590985292517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f600590950294850180546001600160a01b03191691909a1617909855517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4083015595517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4182015594517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4286015591517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d43909401939093558051888152861515938101939093528051919233927f6bff160bd5aed7481f5b68cfb37186cc022a63f2dec5eca7648178b239ae2892929181900390910190a35050505050565b60026001541415610eb8576040805162461bcd60e51b815260206004820152601f602482015260008051602061264a833981519152604482015290519081900360640190fd5b60026001556000805b82811015610fb957610ee4848483818110610ed857fe5b90506020020135611429565b60006006858584818110610ef457fe5b9050602002013581548110610f0557fe5b90600052602060002090600502019050600060076000878786818110610f2757fe5b60209081029290920135835250818101929092526040908101600090812033825290925290208054909150610f6157600482015460018201555b610f9d610f96826002015461096b670de0b6b3a7640000610a89610af187600101548960040154611f0190919063ffffffff16565b8590611e8c565b6000600283015560049092015460019182015590925001610ec1565b508015610fca57610fca3382611fde565b336001600160a01b03167f112209c50e183ea8b99608876ddc6f45b4abe3d7ae3ed1b3c79c23f855d6a35284848460405180806020018381526020018281038252858582818152602001925060200280828437600083820152604051601f909101601f1916909201829003965090945050505050a250506001805550565b6002600154141561108e576040805162461bcd60e51b815260206004820152601f602482015260008051602061264a833981519152604482015290519081900360640190fd5b60026001819055506000600684815481106110a557fe5b600091825260208083208784526007825260408085203386529092529220805460059092029092019250841115611118576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b611122858461214e565b83156111605780546111349085611f01565b815560028201546111459085611f01565b60028301558154611160906001600160a01b0316338661224d565b6040805185815284151560208201528151879233927fb97e775637eca8401af330efee0810af7079bafae27761741e09caa14db8d272929081900390910190a3505060018055505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6004546001600160a01b031681565b683635c9adc5dea0000081565b60026001541415611231576040805162461bcd60e51b815260206004820152601f602482015260008051602061264a833981519152604482015290519081900360640190fd5b600260018190555060006006848154811061124857fe5b6000918252602080832087845260078252604080852033865290925292206005909102909101915061127a858461214e565b83156113ba578154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156112ca57600080fd5b505afa1580156112de573d6000803e3d6000fd5b505050506040513d60208110156112f457600080fd5b50518354909150611310906001600160a01b031633308861229f565b8254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561135a57600080fd5b505afa15801561136e573d6000803e3d6000fd5b505050506040513d602081101561138457600080fd5b505190506113928183611f01565b83549096506113a19087611e8c565b835560028401546113b29087611e8c565b600285015550505b6040805185815284151560208201528151879233927f6dbb6056a2fff319358e6dd7d0d72cb3baa992cdcc7e120fb0a32cd1601840e5929081900390910190a3505060018055505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006006828154811061143857fe5b90600052602060002090600502019050806003015443116114595750611615565b6002810154158061146c57506001810154155b1561147d5743600390910155611615565b600061148d826003015443611802565b905060006114b4600854610a898560010154610a8360055487611f4390919063ffffffff16565b6004549091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116916340c10f1991166114f8846032611f9c565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561153e57600080fd5b505af1158015611552573d6000803e3d6000fd5b5050604080516340c10f1960e01b81523060048201526024810185905290516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001693506340c10f199250604480830192600092919082900301818387803b1580156115c457600080fd5b505af11580156115d8573d6000803e3d6000fd5b505050600284015461160691506115fb90610a8984670de0b6b3a7640000611f43565b600485015490611e8c565b60048401555050436003909101555b50565b6002600154141561165e576040805162461bcd60e51b815260206004820152601f602482015260008051602061264a833981519152604482015290519081900360640190fd5b600260018190555060006006828154811061167557fe5b60009182526020808320858452600782526040808520338652909252908320805484825560018201859055600280830195909555600590930290910192830154929350916116c39082611f01565b600284015582546116de906001600160a01b0316338361224d565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a35050600180555050565b60065460005b8181101561173e5761173681611429565b600101611725565b5050565b61174a611efd565b6000546001600160a01b0390811691161461179a576040805162461bcd60e51b815260206004820181905260248201526000805160206126b1833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6002546001600160a01b031681565b6000546001600160a01b031690565b600061180e8284611f01565b9392505050565b6002600154141561185b576040805162461bcd60e51b815260206004820152601f602482015260008051602061264a833981519152604482015290519081900360640190fd5b600260015561186861171f565b6000805b60065481101561190f5760006006828154811061188557fe5b6000918252602080832085845260078252604080852033865290925292208054600590920290920192506118be57600482015460018201555b6118f3610f96826002015461096b670de0b6b3a7640000610a89610af187600101548960040154611f0190919063ffffffff16565b600060028301556004909201546001918201559092500161186c565b508015611920576119203382611fde565b60408051828152905133917fb99be208a056eff82108fe5a30bcc952d8d8e29c06a5c16918d61a14da8f7a46919081900360200190a25060018055565b600760209081526000928352604080842090915290825290208054600182015460029092015490919083565b7f000000000000000000000000000000000000000000000000000000000000000081565b60096020526000908152604090205460ff1681565b6119ca611efd565b6000546001600160a01b03908116911614611a1a576040805162461bcd60e51b815260206004820181905260248201526000805160206126b1833981519152604482015290519081900360640190fd5b6001600160a01b038116611a60576040805162461bcd60e51b8152602060048201526008602482015267216e6f6e7a65726f60c01b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b03831690811790915560405133907f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e790600090a350565b60055481565b60026001541415611af8576040805162461bcd60e51b815260206004820152601f602482015260008051602061264a833981519152604482015290519081900360640190fd5b6002600181905550611b0b81600161214e565b5060018055565b6003546001600160a01b03163314611b2957600080fd5b600380546001600160a01b0319166001600160a01b03831690811790915560405133907f6923fdade0c8bfd1a00326632b7dbeb58e8275f6254c27e632b5d8b5664926ac90600090a350565b6003546001600160a01b031681565b611b8c611efd565b6000546001600160a01b03908116911614611bdc576040805162461bcd60e51b815260206004820181905260248201526000805160206126b1833981519152604482015290519081900360640190fd5b6001600160a01b038116611c215760405162461bcd60e51b815260040180806020018281038252602681526020018061266a6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b620186a081565b801580611d09575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611cdb57600080fd5b505afa158015611cef573d6000803e3d6000fd5b505050506040513d6020811015611d0557600080fd5b5051155b611d445760405162461bcd60e51b81526004018080602001828103825260368152602001806126fb6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611d969084906122f5565b505050565b6000611e3182856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b158015611dff57600080fd5b505afa158015611e13573d6000803e3d6000fd5b505050506040513d6020811015611e2957600080fd5b505190611e8c565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052909150611e869085906122f5565b50505050565b60008282018381101561180e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6060611ef584846000856123a6565b949350505050565b3390565b600061180e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612551565b600082611f5257506000610aff565b82820282848281611f5f57fe5b041461180e5760405162461bcd60e51b81526004018080602001828103825260218152602001806126906021913960400191505060405180910390fd5b600061180e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506125ab565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561204d57600080fd5b505afa158015612061573d6000803e3d6000fd5b505050506040513d602081101561207757600080fd5b505190506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016637750c9f07f0000000000000000000000000000000000000000000000000000000000000000858486116120d957856120db565b845b6040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b031681526020018281526020019350505050600060405180830381600087803b15801561213157600080fd5b505af1158015612145573d6000803e3d6000fd5b50505050505050565b60006006838154811061215d57fe5b6000918252602080832086845260078252604080852033865290925292206005909102909101915061218e84611429565b805461219f57600482015460018201555b60006121d3826002015461096b670de0b6b3a7640000610a89610af187600101548960040154611f0190919063ffffffff16565b9050836121e057806121e3565b60005b60028301558380156121f55750600081115b1561223c576122043382611fde565b604080518281529051869133917f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae06609249549181900360200190a35b506004909101546001909101555050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611d969084906122f5565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611e869085905b606061234a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611ee69092919063ffffffff16565b805190915015611d965780806020019051602081101561236957600080fd5b5051611d965760405162461bcd60e51b815260040180806020018281038252602a8152602001806126d1602a913960400191505060405180910390fd5b60606123b185612610565b612402576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106124415780518252601f199092019160209182019101612422565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146124a3576040519150601f19603f3d011682016040523d82523d6000602084013e6124a8565b606091505b509150915081156124bc579150611ef59050565b8051156124cc5780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125165781810151838201526020016124fe565b50505050905090810190601f1680156125435780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b600081848411156125a35760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156125165781810151838201526020016124fe565b505050900390565b600081836125fa5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156125165781810151838201526020016124fe565b50600083858161260657fe5b0495945050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611ef557505015159291505056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220f6d9630b86e90f29530d25df8a8cc71e798c97596773ee79d5818108ad57c07564736f6c634300060c00335361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000bc5b59ea1b6f8da8258615ee38d40e999ec5d74f000000000000000000000000000000000000000000000000000000000111be20000000000000000000000000e0e44d4e7e61f2f4f990f5f4e2408d2187315c940000000000000000000000004879712c5d1a98c0b88fb700daff5c65d12fd7290000000000000000000000004879712c5d1a98c0b88fb700daff5c65d12fd729
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000bc5b59ea1b6f8da8258615ee38d40e999ec5d74f000000000000000000000000000000000000000000000000000000000111be20000000000000000000000000e0e44d4e7e61f2f4f990f5f4e2408d2187315c940000000000000000000000004879712c5d1a98c0b88fb700daff5c65d12fd7290000000000000000000000004879712c5d1a98c0b88fb700daff5c65d12fd729
-----Decoded View---------------
Arg [0] : _paw (address): 0xbc5b59ea1b6f8da8258615ee38d40e999ec5d74f
Arg [1] : _startBlock (uint256): 17940000
Arg [2] : _rewardLocker (address): 0xe0e44d4e7e61f2f4f990f5f4e2408d2187315c94
Arg [3] : _devAddress (address): 0x4879712c5d1a98c0b88fb700daff5c65d12fd729
Arg [4] : _pawTransferOwner (address): 0x4879712c5d1a98c0b88fb700daff5c65d12fd729
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000bc5b59ea1b6f8da8258615ee38d40e999ec5d74f
Arg [1] : 000000000000000000000000000000000000000000000000000000000111be20
Arg [2] : 000000000000000000000000e0e44d4e7e61f2f4f990f5f4e2408d2187315c94
Arg [3] : 0000000000000000000000004879712c5d1a98c0b88fb700daff5c65d12fd729
Arg [4] : 0000000000000000000000004879712c5d1a98c0b88fb700daff5c65d12fd729
Deployed ByteCode Sourcemap
633:14177:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4494:93;;;:::i;:::-;;;;;;;;;;;;;;;;14285:291;;;:::i;:::-;;13487:262;;;;;;;;;;;;;;;;-1:-1:-1;13487:262:5;;:::i;14586:222::-;;;;;;;;;;;;;;;;-1:-1:-1;14586:222:5;-1:-1:-1;;;;;14586:222:5;;:::i;2387:26::-;;;;;;;;;;;;;;;;-1:-1:-1;2387:26:5;;:::i;:::-;;;;-1:-1:-1;;;;;2387:26:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2624:34;;;:::i;5825:324::-;;;;;;;;;;;;;;;;-1:-1:-1;5825:324:5;;;;;;;:::i;6400:744::-;;;;;;;;;;;;;;;;-1:-1:-1;6400:744:5;;;;;;-1:-1:-1;;;;;6400:744:5;;:::i;4853:880::-;;;;;;;;;;;;;;;;-1:-1:-1;4853:880:5;;;-1:-1:-1;;;;;4853:880:5;;;;;;;;;;;;:::i;11189:798::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11189:798:5;;-1:-1:-1;11189:798:5;-1:-1:-1;11189:798:5;:::i;9092:602::-;;;;;;;;;;;;;;;;-1:-1:-1;9092:602:5;;;;;;;;;;;;;;:::i;2155:43::-;;;:::i;:::-;;;;-1:-1:-1;;;;;2155:43:5;;;;;;;;;;;;;;2088:25;;;:::i;2284:54::-;;;:::i;8282:761::-;;;;;;;;;;;;;;;;-1:-1:-1;8282:761:5;;;;;;;;;;;;;;:::i;2782:35::-;;;:::i;7472:745::-;;;;;;;;;;;;;;;;-1:-1:-1;7472:745:5;;:::i;9762:479::-;;;;;;;;;;;;;;;;-1:-1:-1;9762:479:5;;:::i;7224:175::-;;;:::i;1737:148:6:-;;;:::i;2015:30:5:-;;;:::i;1095:79:6:-;;;:::i;6222:119:5:-;;;;;;;;;;;;;;;;-1:-1:-1;6222:119:5;;;;;;;:::i;12124:739::-;;;:::i;2467:64::-;;;;;;;;;;;;;;;;-1:-1:-1;2467:64:5;;;;;;-1:-1:-1;;;;;2467:64:5;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;1980:29;;;:::i;4593:44::-;;;;;;;;;;;;;;;;-1:-1:-1;4593:44:5;-1:-1:-1;;;;;4593:44:5;;:::i;:::-;;;;;;;;;;;;;;;;;;13191:213;;;;;;;;;;;;;;;;-1:-1:-1;13191:213:5;-1:-1:-1;;;;;13191:213:5;;:::i;2242:36::-;;;:::i;11036:99::-;;;;;;;;;;;;;;;;-1:-1:-1;11036:99:5;;:::i;13837:232::-;;;;;;;;;;;;;;;;-1:-1:-1;13837:232:5;-1:-1:-1;;;;;13837:232:5;;:::i;2051:31::-;;;:::i;2040:244:6:-;;;;;;;;;;;;;;;;-1:-1:-1;2040:244:6;-1:-1:-1;;;;;2040:244:6;;:::i;2664:48:5:-;;;:::i;4494:93::-;4565:8;:15;4494:93;:::o;14285:291::-;14356:16;;-1:-1:-1;;;;;14356:16:5;14342:10;:30;14334:39;;;;;;14391:15;;-1:-1:-1;;;;;14391:15:5;14383:38;;;;;;14453:15;;14431:38;;;-1:-1:-1;;;14431:38:5;;-1:-1:-1;;;;;14453:15:5;;;14431:38;;;;;;:3;:21;;;;;;:38;;;;;-1:-1:-1;;14431:38:5;;;;;;;;-1:-1:-1;14431:21:5;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14479:15:5;:28;;-1:-1:-1;;;;;;14479:28:5;;;-1:-1:-1;;14522:47:5;;14505:1;;14541:10;;14522:47;;14505:1;;14522:47;14285:291::o;13487:262::-;1317:12:6;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:6;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:6;;;;;;;;;;;;;;;2328:10:5::1;13574:12;:33;;13566:54;;;::::0;;-1:-1:-1;;;13566:54:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;13566:54:5;;;;;;;;;;;;;::::1;;13630:17;:15;:17::i;:::-;13657:11;:26:::0;;;13698:44:::1;::::0;;;;;;;13717:10:::1;::::0;13698:44:::1;::::0;;;;;::::1;::::0;;::::1;13487:262:::0;:::o;14586:222::-;14682:16;;-1:-1:-1;;;;;14682:16:5;14668:10;:30;14660:39;;;;;;14709:15;:31;;-1:-1:-1;;;;;;14709:31:5;-1:-1:-1;;;;;14709:31:5;;;;;;;;14756:45;;14775:10;;14756:45;;-1:-1:-1;;14756:45:5;14586:222;:::o;2387:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2387:26:5;;;;-1:-1:-1;2387:26:5;;;;;:::o;2624:34::-;;;;:::o;5825:324::-;1317:12:6;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:6;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:6;;;;;;;;;;;;;;;2706:6:5::1;5910:11;:30;;5902:51;;;::::0;;-1:-1:-1;;;5902:51:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;5902:51:5;;;;;;;;;;;;;::::1;;5981:63;6032:11;5981:46;6001:8;6010:4;6001:14;;;;;;;;;;;;;;;;;;:25;;;5981:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;5963:15;:81;;;;6082:11;6054:8;6063:4;6054:14;;;;;;;;;::::0;;;::::1;::::0;;;;:25:::1;:14;::::0;;::::1;;:25;:39:::0;;;;6108:34:::1;::::0;;;;;;;::::1;::::0;;;;;6112:10:::1;::::0;6108:34:::1;::::0;;;;;;;::::1;5825:324:::0;;:::o;6400:744::-;6472:7;6491:21;6515:8;6524:4;6515:14;;;;;;;;;;;;;;;;6563;;;:8;:14;;;;;;-1:-1:-1;;;;;6563:21:5;;;;;;;;;6619:19;6515:14;;;;;;;6619:19;;;;6667:20;;;;6515:14;;-1:-1:-1;6619:19:5;6652:12;:35;:63;;;;-1:-1:-1;6691:19:5;;;;:24;;6652:63;:87;;;;-1:-1:-1;6719:15:5;;:20;;6652:87;6648:386;;;6755:18;6776:49;6790:4;:20;;;6812:12;6776:13;:49::i;:::-;6755:70;;6839:17;6859:69;6912:15;;6859:48;6891:4;:15;;;6859:27;6874:11;;6859:10;:14;;:27;;;;:::i;:::-;:31;;:48::i;:::-;:52;;:69::i;:::-;6839:89;;6959:64;6978:44;7002:4;:19;;;6978;6992:4;6978:9;:13;;:19;;;;:::i;:44::-;6959:14;;:18;:64::i;:::-;6942:81;;6648:386;;;7050:87;7122:4;:14;;;7050:67;7112:4;7050:57;7066:40;7085:4;:20;;;7066:14;:18;;:40;;;;:::i;:::-;7050:11;;;:15;:57::i;:87::-;7043:94;;;;;6400:744;;;;;:::o;4853:880::-;1317:12:6;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:6;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:6;;;;;;;;;;;;;;;-1:-1:-1;;;;;4701:23:5;::::1;;::::0;;;:13:::1;:23;::::0;;;;;4960:8;;4701:23:::1;;:32;4693:70;;;::::0;;-1:-1:-1;;;4693:70:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;2706:6:::2;4988:11;:30;;4980:51;;;::::0;;-1:-1:-1;;;4980:51:5;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;4980:51:5;;;;;;;;;;;;;::::2;;5045:16;5041:127;;;5077:17;:15;:17::i;:::-;5177:33;::::0;;-1:-1:-1;;;5177:33:5;;5204:4:::2;5177:33;::::0;::::2;::::0;;;-1:-1:-1;;;;;5177:18:5;::::2;::::0;::::2;::::0;:33;;;;;::::2;::::0;;;;;;;;:18;:33;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;5255:23:5::2;::::0;-1:-1:-1;5296:10:5::2;5281:12;:25;:53;;5324:10;5281:53;;;5309:12;5281:53;5362:15;::::0;5255:79;;-1:-1:-1;5362:32:5::2;::::0;5382:11;5362:19:::2;:32::i;:::-;5344:15;:50:::0;-1:-1:-1;;;;;5404:23:5;;::::2;;::::0;;;:13:::2;:23;::::0;;;;;;;:30;;5430:4:::2;-1:-1:-1::0;;5404:30:5;;::::2;::::0;::::2;::::0;;;5458:196;;::::2;::::0;::::2;::::0;;;;;;;::::2;::::0;;;;;;;;;;;;;;;;;;;;;5444:8:::2;:211:::0;;;;::::2;::::0;;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;-1:-1:-1;;;;;;5444:211:5::2;::::0;;;::::2;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5670:56;;;;;;::::2;;::::0;;::::2;::::0;;;;;;5404:23;;5674:10:::2;::::0;5670:56:::2;::::0;;;;;;;;;::::2;4773:1;1377::6::1;4853:880:5::0;;;:::o;11189:798::-;1704:1:8;2310:7;;:19;;2302:63;;;;;-1:-1:-1;;;2302:63:8;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2302:63:8;;;;;;;;;;;;;;;1704:1;2443:7;:18;11272:15:5::1;::::0;11301:539:::1;11321:16:::0;;::::1;11301:539;;;11358:20;11369:5;;11375:1;11369:8;;;;;;;;;;;;;11358:10;:20::i;:::-;11392:21;11416:8;11425:5;;11431:1;11425:8;;;;;;;;;;;;;11416:18;;;;;;;;;;;;;;;;;;11392:42;;11448:21;11472:8;:18;11481:5;;11487:1;11481:8;;;;;;;;::::0;;::::1;::::0;;;::::1;;11472:18:::0;;-1:-1:-1;11472:18:5;;::::1;::::0;;;;;;;;-1:-1:-1;11472:18:5;;;11491:10:::1;11472:30:::0;;;;;;;11520:11;;11472:30;;-1:-1:-1;11516:97:5::1;;11579:19;::::0;::::1;::::0;11556:20:::1;::::0;::::1;:42:::0;11516:97:::1;11636:105;11648:92;11725:4;:14;;;11648:72;11715:4;11648:62;11664:45;11688:4;:20;;;11664:4;:19;;;:23;;:45;;;;:::i;11648:92::-;11636:7:::0;;:11:::1;:105::i;:::-;11772:1;11755:14;::::0;::::1;:18:::0;11810:19:::1;::::0;;::::1;::::0;11787:20:::1;::::0;;::::1;:42:::0;11626:115;;-1:-1:-1;11339:3:5::1;11301:539;;;-1:-1:-1::0;11853:11:5;;11849:74:::1;;11880:32;11892:10;11904:7;11880:11;:32::i;:::-;11953:10;-1:-1:-1::0;;;;;11937:43:5::1;;11965:5;;11972:7;11937:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;-1:-1:-1::0;;11937:43:5::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;11937:43:5;;-1:-1:-1;;;;;11937:43:5::1;-1:-1:-1::0;;1660:1:8;2622:22;;-1:-1:-1;11189:798:5:o;9092:602::-;1704:1:8;2310:7;;:19;;2302:63;;;;;-1:-1:-1;;;2302:63:8;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2302:63:8;;;;;;;;;;;;;;;1704:1;2443:7;:18;;;;9194:21:5::1;9218:8;9227:4;9218:14;;;;;;;;;::::0;;;::::1;::::0;;;9266;;;:8:::1;:14:::0;;;;;;9281:10:::1;9266:26:::0;;;;;;;9310:11;;9218:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;9310:22:5;-1:-1:-1;9310:22:5::1;9302:53;;;::::0;;-1:-1:-1;;;9302:53:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;9302:53:5;;;;;;;;;;;;;::::1;;9365:39;9383:4;9389:14;9365:17;:39::i;:::-;9418:11:::0;;9414:208:::1;;9459:11:::0;;:24:::1;::::0;9475:7;9459:15:::1;:24::i;:::-;9445:38:::0;;9519:19:::1;::::0;::::1;::::0;:32:::1;::::0;9543:7;9519:23:::1;:32::i;:::-;9497:19;::::0;::::1;:54:::0;9565:12;;:46:::1;::::0;-1:-1:-1;;;;;9565:12:5::1;9591:10;9603:7:::0;9565:25:::1;:46::i;:::-;9636:51;::::0;;;;;;::::1;;;::::0;::::1;::::0;;;9657:4;;9645:10:::1;::::0;9636:51:::1;::::0;;;;;;;;;::::1;-1:-1:-1::0;;1660:1:8;2622:22;;-1:-1:-1;;;9092:602:5:o;2155:43::-;;;:::o;2088:25::-;;;-1:-1:-1;;;;;2088:25:5;;:::o;2284:54::-;2328:10;2284:54;:::o;8282:761::-;1704:1:8;2310:7;;:19;;2302:63;;;;;-1:-1:-1;;;2302:63:8;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2302:63:8;;;;;;;;;;;;;;;1704:1;2443:7;:18;;;;8383:21:5::1;8407:8;8416:4;8407:14;;;;;;;;;::::0;;;::::1;::::0;;;8455;;;:8:::1;:14:::0;;;;;;8470:10:::1;8455:26:::0;;;;;;;8407:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;8491:39:5::1;8464:4:::0;8515:14;8491:17:::1;:39::i;:::-;8544:11:::0;;8540:432:::1;;8595:12:::0;;:37:::1;::::0;;-1:-1:-1;;;8595:37:5;;8626:4:::1;8595:37;::::0;::::1;::::0;;;8571:21:::1;::::0;-1:-1:-1;;;;;8595:12:5::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;8595:37:5;8646:12;;8595:37;;-1:-1:-1;8646:65:5::1;::::0;-1:-1:-1;;;;;8646:12:5::1;8676:10;8696:4;8703:7:::0;8646:29:::1;:65::i;:::-;8748:12:::0;;:37:::1;::::0;;-1:-1:-1;;;8748:37:5;;8779:4:::1;8748:37;::::0;::::1;::::0;;;8725:20:::1;::::0;-1:-1:-1;;;;;8748:12:5::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;8748:37:5;;-1:-1:-1;8809:31:5::1;8748:37:::0;8826:13;8809:16:::1;:31::i;:::-;8869:11:::0;;8799:41;;-1:-1:-1;8869:24:5::1;::::0;8799:41;8869:15:::1;:24::i;:::-;8855:38:::0;;8929:19:::1;::::0;::::1;::::0;:32:::1;::::0;8953:7;8929:23:::1;:32::i;:::-;8907:19;::::0;::::1;:54:::0;-1:-1:-1;;8540:432:5::1;8986:50;::::0;;;;;;::::1;;;::::0;::::1;::::0;;;9006:4;;8994:10:::1;::::0;8986:50:::1;::::0;;;;;;;;;::::1;-1:-1:-1::0;;1660:1:8;2622:22;;-1:-1:-1;;;8282:761:5:o;2782:35::-;;;:::o;7472:745::-;7523:21;7547:8;7556:4;7547:14;;;;;;;;;;;;;;;;;;7523:38;;7591:4;:20;;;7575:12;:36;7571:73;;7627:7;;;7571:73;7657:19;;;;:24;;:48;;-1:-1:-1;7685:15:5;;;;:20;7657:48;7653:134;;;7744:12;7721:20;;;;:35;7770:7;;7653:134;7796:18;7817:49;7831:4;:20;;;7853:12;7817:13;:49::i;:::-;7796:70;;7876:17;7896:69;7949:15;;7896:48;7928:4;:15;;;7896:27;7911:11;;7896:10;:14;;:27;;;;:::i;:69::-;7984:10;;7876:89;;-1:-1:-1;;;;;;7975:3:5;:8;;;;;7984:10;7996:17;7876:89;8010:2;7996:13;:17::i;:::-;7975:39;;;;;;;;;;;;;-1:-1:-1;;;;;7975:39:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8030:34:5;;;-1:-1:-1;;;8030:34:5;;8047:4;8030:34;;;;;;;;;;;;-1:-1:-1;;;;;8030:3:5;:8;;-1:-1:-1;8030:8:5;;-1:-1:-1;8030:34:5;;;;;-1:-1:-1;;8030:34:5;;;;;;;-1:-1:-1;8030:8:5;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8144:19:5;;;;8096:69;;-1:-1:-1;8120:44:5;;:19;:9;8134:4;8120:13;:19::i;:44::-;8096:19;;;;;:23;:69::i;:::-;8074:19;;;:91;-1:-1:-1;;8198:12:5;8175:20;;;;:35;7472:745;;:::o;9762:479::-;1704:1:8;2310:7;;:19;;2302:63;;;;;-1:-1:-1;;;2302:63:8;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2302:63:8;;;;;;;;;;;;;;;1704:1;2443:7;:18;;;;9835:21:5::1;9859:8;9868:4;9859:14;;;;;;;;;::::0;;;::::1;::::0;;;9907;;;:8:::1;:14:::0;;;;;;9922:10:::1;9907:26:::0;;;;;;;;9960:11;;9981:15;;;-1:-1:-1;10006:20:5;::::1;:24:::0;;;10040:14:::1;::::0;;::::1;:18:::0;;;;9859:14:::1;::::0;;::::1;::::0;;::::1;10090:19:::0;;::::1;::::0;9859:14;;-1:-1:-1;9907:26:5;10090:31:::1;::::0;9960:11;10090:23:::1;:31::i;:::-;10068:19;::::0;::::1;:53:::0;10131:12;;:45:::1;::::0;-1:-1:-1;;;;;10131:12:5::1;10157:10;10169:6:::0;10131:25:::1;:45::i;:::-;10191:43;::::0;;;;;;;10221:4;;10209:10:::1;::::0;10191:43:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;1660:1:8;2622:22;;-1:-1:-1;;9762:479:5:o;7224:175::-;7285:8;:15;7268:14;7310:83;7338:6;7332:3;:12;7310:83;;;7367:15;7378:3;7367:10;:15::i;:::-;7346:5;;7310:83;;;;7224:175;:::o;1737:148:6:-;1317:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:6;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:6;;;;;;;;;;;;;;;1844:1:::1;1828:6:::0;;1807:40:::1;::::0;-1:-1:-1;;;;;1828:6:6;;::::1;::::0;1807:40:::1;::::0;1844:1;;1807:40:::1;1875:1;1858:19:::0;;-1:-1:-1;;;;;;1858:19:6::1;::::0;;1737:148::o;2015:30:5:-;;;-1:-1:-1;;;;;2015:30:5;;:::o;1095:79:6:-;1133:7;1160:6;-1:-1:-1;;;;;1160:6:6;1095:79;:::o;6222:119:5:-;6294:7;6320:14;:3;6328:5;6320:7;:14::i;:::-;6313:21;6222:119;-1:-1:-1;;;6222:119:5:o;12124:739::-;1704:1:8;2310:7;;:19;;2302:63;;;;;-1:-1:-1;;;2302:63:8;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2302:63:8;;;;;;;;;;;;;;;1704:1;2443:7;:18;12178:17:5::1;:15;:17::i;:::-;12205:15;12239:9:::0;12234:494:::1;12258:8;:15:::0;12254:19;::::1;12234:494;;;12294:21;12318:8;12327:1;12318:11;;;;;;;;;::::0;;;::::1;::::0;;;12367;;;:8:::1;:11:::0;;;;;;12379:10:::1;12367:23:::0;;;;;;;12408:11;;12318::::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;12404:97:5::1;;12467:19;::::0;::::1;::::0;12444:20:::1;::::0;::::1;:42:::0;12404:97:::1;12524:105;12536:92;12613:4;:14;;;12536:72;12603:4;12536:62;12552:45;12576:4;:20;;;12552:4;:19;;;:23;;:45;;;;:::i;12524:105::-;12660:1;12643:14;::::0;::::1;:18:::0;12698:19:::1;::::0;;::::1;::::0;12675:20:::1;::::0;;::::1;:42:::0;12514:115;;-1:-1:-1;12275:3:5::1;12234:494;;;-1:-1:-1::0;12741:11:5;;12737:74:::1;;12768:32;12780:10;12792:7;12768:11;:32::i;:::-;12825:31;::::0;;;;;;;12836:10:::1;::::0;12825:31:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;1660:1:8;2622:22;;12124:739:5:o;2467:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1980:29::-;;;:::o;4593:44::-;;;;;;;;;;;;;;;:::o;13191:213::-;1317:12:6;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:6;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:6;;;;;;;;;;;;;;;-1:-1:-1;;;;;13272:25:5;::::1;13264:46;;;::::0;;-1:-1:-1;;;13264:46:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;13264:46:5;;;;;;;;;;;;;::::1;;13320:10;:24:::0;;-1:-1:-1;;;;;;13320:24:5::1;-1:-1:-1::0;;;;;13320:24:5;::::1;::::0;;::::1;::::0;;;13359:38:::1;::::0;13373:10:::1;::::0;13359:38:::1;::::0;-1:-1:-1;;13359:38:5::1;13191:213:::0;:::o;2242:36::-;;;;:::o;11036:99::-;1704:1:8;2310:7;;:19;;2302:63;;;;;-1:-1:-1;;;2302:63:8;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2302:63:8;;;;;;;;;;;;;;;1704:1;2443:7;:18;;;;11099:29:5::1;11117:4;11123;11099:17;:29::i;:::-;-1:-1:-1::0;1660:1:8;2622:22;;11036:99:5:o;13837:232::-;13934:16;;-1:-1:-1;;;;;13934:16:5;13920:10;:30;13912:39;;;;;;13961:16;:36;;-1:-1:-1;;;;;;13961:36:5;-1:-1:-1;;;;;13961:36:5;;;;;;;;14012:50;;14032:10;;14012:50;;-1:-1:-1;;14012:50:5;13837:232;:::o;2051:31::-;;;-1:-1:-1;;;;;2051:31:5;;:::o;2040:244:6:-;1317:12;:10;:12::i;:::-;1307:6;;-1:-1:-1;;;;;1307:6:6;;;:22;;;1299:67;;;;;-1:-1:-1;;;1299:67:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1299:67:6;;;;;;;;;;;;;;;-1:-1:-1;;;;;2129:22:6;::::1;2121:73;;;;-1:-1:-1::0;;;2121:73:6::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2231:6;::::0;;2210:38:::1;::::0;-1:-1:-1;;;;;2210:38:6;;::::1;::::0;2231:6;::::1;::::0;2210:38:::1;::::0;::::1;2259:6;:17:::0;;-1:-1:-1;;;;;;2259:17:6::1;-1:-1:-1::0;;;;;2259:17:6;;;::::1;::::0;;;::::1;::::0;;2040:244::o;2664:48:5:-;2706:6;2664:48;:::o;1357:622:9:-;1727:10;;;1726:62;;-1:-1:-1;1743:39:9;;;-1:-1:-1;;;1743:39:9;;1767:4;1743:39;;;;-1:-1:-1;;;;;1743:39:9;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1743:39:9;:44;1726:62;1718:152;;;;-1:-1:-1;;;1718:152:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1908:62;;;-1:-1:-1;;;;;1908:62:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1908:62:9;-1:-1:-1;;;1908:62:9;;;1881:90;;1901:5;;1881:19;:90::i;:::-;1357:622;;;:::o;1987:286::-;2084:20;2107:50;2151:5;2107;-1:-1:-1;;;;;2107:15:9;;2131:4;2138:7;2107:39;;;;;;;;;;;;;-1:-1:-1;;;;;2107:39:9;;;;;;-1:-1:-1;;;;;2107:39:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2107:39:9;;:43;:50::i;:::-;2195:69;;;-1:-1:-1;;;;;2195:69:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2195:69:9;-1:-1:-1;;;2195:69:9;;;2084:73;;-1:-1:-1;2168:97:9;;2188:5;;2168:19;:97::i;:::-;1987:286;;;;:::o;902:181:10:-;960:7;992:5;;;1016:6;;;;1008:46;;;;;-1:-1:-1;;;1008:46:10;;;;;;;;;;;;;;;;;;;;;;;;;;;3858:196:0;3961:12;3993:53;4016:6;4024:4;4030:1;4033:12;3993:22;:53::i;:::-;3986:60;3858:196;-1:-1:-1;;;;3858:196:0:o;605:106:1:-;693:10;605:106;:::o;1366:136:10:-;1424:7;1451:43;1455:1;1458;1451:43;;;;;;;;;;;;;;;;;:3;:43::i;2256:471::-;2314:7;2559:6;2555:47;;-1:-1:-1;2589:1:10;2582:8;;2555:47;2626:5;;;2630:1;2626;:5;:1;2650:5;;;;;:10;2642:56;;;;-1:-1:-1;;;2642:56:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3203:132;3261:7;3288:39;3292:1;3295;3288:39;;;;;;;;;;;;;;;;;:3;:39::i;12932:206:5:-;13007:14;13024:3;-1:-1:-1;;;;;13024:13:5;;13046:4;13024:28;;;;;;;;;;;;;-1:-1:-1;;;;;13024:28:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13024:28:5;;-1:-1:-1;;;;;;13062:12:5;:17;;13080:3;13085:8;13095:16;;;:35;;13123:7;13095:35;;;13114:6;13095:35;13062:69;;;;;;;;;;;;;-1:-1:-1;;;;;13062:69:5;;;;;;-1:-1:-1;;;;;13062:69:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12932:206;;;:::o;10311:691::-;10392:21;10416:8;10425:4;10416:14;;;;;;;;;;;;;;;;10464;;;:8;:14;;;;;;10479:10;10464:26;;;;;;;10416:14;;;;;;;;-1:-1:-1;10500:16:5;10473:4;10500:10;:16::i;:::-;10530:11;;10526:89;;10585:19;;;;10562:20;;;:42;10526:89;10624:15;10642:92;10719:4;:14;;;10642:72;10709:4;10642:62;10658:45;10682:4;:20;;;10658:4;:19;;;:23;;:45;;;;:::i;10642:92::-;10624:110;;10761:14;:28;;10782:7;10761:28;;;10778:1;10761:28;10744:14;;;:45;10803:14;:29;;;;;10831:1;10821:7;:11;10803:29;10799:145;;;10848:32;10860:10;10872:7;10848:11;:32::i;:::-;10899:34;;;;;;;;10919:4;;10907:10;;10899:34;;;;;;;;;10799:145;-1:-1:-1;10976:19:5;;;;;10953:20;;;;:42;-1:-1:-1;;10311:691:5:o;698:177:9:-;808:58;;;-1:-1:-1;;;;;808:58:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;808:58:9;-1:-1:-1;;;808:58:9;;;781:86;;801:5;;781:19;:86::i;883:205::-;1011:68;;;-1:-1:-1;;;;;1011:68:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1011:68:9;-1:-1:-1;;;1011:68:9;;;984:96;;1004:5;;3003:761;3427:23;3453:69;3481:4;3453:69;;;;;;;;;;;;;;;;;3461:5;-1:-1:-1;;;;;3453:27:9;;;:69;;;;;:::i;:::-;3537:17;;3427:95;;-1:-1:-1;3537:21:9;3533:224;;3679:10;3668:30;;;;;;;;;;;;;;;-1:-1:-1;3668:30:9;3660:85;;;;-1:-1:-1;;;3660:85:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5235:979:0;5365:12;5398:18;5409:6;5398:10;:18::i;:::-;5390:60;;;;;-1:-1:-1;;;5390:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5524:12;5538:23;5565:6;-1:-1:-1;;;;;5565:11:0;5585:8;5596:4;5565:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5565:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5523:78;;;;5616:7;5612:595;;;5647:10;-1:-1:-1;5640:17:0;;-1:-1:-1;5640:17:0;5612:595;5761:17;;:21;5757:439;;6024:10;6018:17;6085:15;6072:10;6068:2;6064:19;6057:44;5972:148;6167:12;6160:20;;-1:-1:-1;;;6160:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1805:192:10;1891:7;1927:12;1919:6;;;;1911:29;;;;-1:-1:-1;;;1911:29:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1963:5:10;;;1805:192::o;3831:278::-;3917:7;3952:12;3945:5;3937:28;;;;-1:-1:-1;;;3937:28:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3976:9;3992:1;3988;:5;;;;;;;3831:278;-1:-1:-1;;;;;3831:278:10:o;743:619:0:-;803:4;1271:20;;1114:66;1311:23;;;;;;:42;;-1:-1:-1;;1338:15:0;;;1303:51;-1:-1:-1;;743:619:0:o
Swarm Source
ipfs://f6d9630b86e90f29530d25df8a8cc71e798c97596773ee79d5818108ad57c075
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.