Source Code
Latest 25 from a total of 615 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Exit | 24404598 | 45 days ago | IN | 0 ETH | 0.00003133 | ||||
| Exit | 24050828 | 95 days ago | IN | 0 ETH | 0.00001264 | ||||
| Exit | 20706788 | 562 days ago | IN | 0 ETH | 0.00090446 | ||||
| Get Reward | 20706784 | 562 days ago | IN | 0 ETH | 0.00067924 | ||||
| Exit | 19773900 | 692 days ago | IN | 0 ETH | 0.00529716 | ||||
| Exit | 17851761 | 962 days ago | IN | 0 ETH | 0.00397597 | ||||
| Exit | 15466658 | 1298 days ago | IN | 0 ETH | 0.00793114 | ||||
| Exit | 15152684 | 1347 days ago | IN | 0 ETH | 0.00262542 | ||||
| Get Reward | 14813931 | 1404 days ago | IN | 0 ETH | 0.00500221 | ||||
| Withdraw | 14813927 | 1404 days ago | IN | 0 ETH | 0.00685934 | ||||
| Exit | 14660904 | 1428 days ago | IN | 0 ETH | 0.02329378 | ||||
| Exit | 14595329 | 1438 days ago | IN | 0 ETH | 0.00466647 | ||||
| Exit | 14539153 | 1447 days ago | IN | 0 ETH | 0.01013916 | ||||
| Exit | 14377606 | 1472 days ago | IN | 0 ETH | 0.00391692 | ||||
| Withdraw | 14273396 | 1489 days ago | IN | 0 ETH | 0.01022951 | ||||
| Exit | 13965274 | 1536 days ago | IN | 0 ETH | 0.01775953 | ||||
| Exit | 13916633 | 1544 days ago | IN | 0 ETH | 0.02041016 | ||||
| Exit | 13913627 | 1544 days ago | IN | 0 ETH | 0.0252701 | ||||
| Exit | 13880486 | 1549 days ago | IN | 0 ETH | 0.01236883 | ||||
| Exit | 13876304 | 1550 days ago | IN | 0 ETH | 0.01412079 | ||||
| Get Reward | 13777409 | 1565 days ago | IN | 0 ETH | 0.00862895 | ||||
| Exit | 13752550 | 1569 days ago | IN | 0 ETH | 0.02179921 | ||||
| Exit | 13700978 | 1577 days ago | IN | 0 ETH | 0.02037713 | ||||
| Exit | 13658081 | 1584 days ago | IN | 0 ETH | 0.01772948 | ||||
| Exit | 13611887 | 1592 days ago | IN | 0 ETH | 0.02757251 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x2cfDBa69...25E9fc0DD The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
StakingRewardsWithMasterChef
Compiler Version
v0.7.3+commit.9bfce1f6
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.3;
import "./Ownable.sol";
import "./Math.sol";
import "./ERC20.sol";
import "./SafeERC20.sol";
import "./SafeMath.sol";
import "./ReentrancyGuard.sol";
import "./Pausable.sol";
import "./IMasterChef.sol";
// https://docs.synthetix.io/contracts/source/contracts/stakingrewards
contract StakingRewardsWithMasterChef is ReentrancyGuard, Pausable, Ownable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
/* ========== STATE VARIABLES ========== */
address public timelock;
IERC20 public rewardsToken;
IERC20 public stakingToken;
IERC20 public sushiToken = IERC20(0x6B3595068778DD592e39A122f4f5a5cF09C90fE2);
IMasterChef public sushiMasterChef = IMasterChef(0xc2EdaD668740f1aA35E4D8f227fB8E17dcA888Cd);
uint256 public masterchefPID;
uint256 public periodFinish = 0;
uint256 public rewardRate = 0;
uint256 public rewardsDuration = 30 days;
uint256 public lastUpdateTime;
uint256 public rewardPerTokenStored;
uint256 public sushiPerTokenStored;
uint256 public sushiBalanceAtLastUpdate;
mapping(address => uint256) public userRewardPerTokenPaid;
mapping(address => uint256) public userSushiPerTokenPaid;
mapping(address => uint256) public rewards;
mapping(address => uint256) public sushiRewards;
uint256 private _totalSupply;
mapping(address => uint256) private _balances;
/* ========== CONSTRUCTOR ========== */
constructor(
address _timelock,
address _owner,
address _rewardsToken,
address _stakingToken,
uint256 _masterchefPID
) {
timelock = _timelock;
rewardsToken = IERC20(_rewardsToken);
stakingToken = IERC20(_stakingToken);
masterchefPID = _masterchefPID;
transferOwnership(_owner);
}
/* ========== VIEWS ========== */
function totalSupply() external view returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) external view returns (uint256) {
return _balances[account];
}
function lastTimeRewardApplicable() public view returns (uint256) {
return Math.min(block.timestamp, periodFinish);
}
function rewardPerToken() public view returns (uint256) {
if (_totalSupply == 0) {
return rewardPerTokenStored;
}
return
rewardPerTokenStored.add(
lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate).mul(1e18).div(_totalSupply)
);
}
function sushiPerToken() public view returns (uint256) {
if (_totalSupply == 0) {
return sushiPerTokenStored;
}
uint256 pendingSushi = sushiMasterChef.pendingSushi(masterchefPID, address(this));
return
sushiPerTokenStored.add(
sushiToken.balanceOf(address(this)).add(pendingSushi).sub(sushiBalanceAtLastUpdate).mul(1e18).div(
_totalSupply
)
);
}
function earned(address account) public view returns (uint256) {
return
_balances[account].mul(rewardPerToken().sub(userRewardPerTokenPaid[account])).div(1e18).add(
rewards[account]
);
}
function sushiEarned(address account) public view returns (uint256) {
return
_balances[account].mul(sushiPerToken().sub(userSushiPerTokenPaid[account])).div(1e18).add(
sushiRewards[account]
);
}
function getRewardForDuration() external view returns (uint256) {
return rewardRate.mul(rewardsDuration);
}
/* ========== MUTATIVE FUNCTIONS ========== */
function stake(uint256 amount) external nonReentrant whenNotPaused updateReward(msg.sender) {
require(amount > 0, "Cannot stake 0");
_totalSupply = _totalSupply.add(amount);
_balances[msg.sender] = _balances[msg.sender].add(amount);
stakingToken.safeTransferFrom(msg.sender, address(this), amount);
// Deposit into masterchef
stakingToken.safeApprove(address(sushiMasterChef), 0);
stakingToken.safeApprove(address(sushiMasterChef), amount);
sushiMasterChef.deposit(masterchefPID, amount);
emit Staked(msg.sender, amount);
}
function withdraw(uint256 amount) public nonReentrant updateReward(msg.sender) {
require(amount > 0, "Cannot withdraw 0");
_totalSupply = _totalSupply.sub(amount);
_balances[msg.sender] = _balances[msg.sender].sub(amount);
// Withdraw from masterchef
sushiMasterChef.withdraw(masterchefPID, amount);
// Send to user
stakingToken.safeTransfer(msg.sender, amount);
emit Withdrawn(msg.sender, amount);
}
function getReward() public nonReentrant updateReward(msg.sender) {
uint256 reward = rewards[msg.sender];
uint256 sushiReward = sushiRewards[msg.sender];
if (reward > 0) {
rewards[msg.sender] = 0;
rewardsToken.safeTransfer(msg.sender, reward);
}
if (sushiReward > 0) {
sushiRewards[msg.sender] = 0;
sushiToken.safeTransfer(msg.sender, sushiReward);
// Remember to update sushi balance
sushiBalanceAtLastUpdate = sushiBalanceAtLastUpdate.sub(sushiReward);
}
emit RewardPaid(msg.sender, reward, sushiReward);
}
function exit() external {
withdraw(_balances[msg.sender]);
getReward();
}
/* ========== RESTRICTED FUNCTIONS ========== */
function notifyRewardAmount(uint256 reward) external onlyOwner updateReward(address(0)) {
if (block.timestamp >= periodFinish) {
rewardRate = reward.div(rewardsDuration);
} else {
uint256 remaining = periodFinish.sub(block.timestamp);
uint256 leftover = remaining.mul(rewardRate);
rewardRate = reward.add(leftover).div(rewardsDuration);
}
// Ensure the provided reward amount is not more than the balance in the contract.
// This keeps the reward rate in the right range, preventing overflows due to
// very high values of rewardRate in the earned and rewardsPerToken functions;
// Reward + leftover must be less than 2^256 / 10^18 to avoid overflow.
uint256 balance = rewardsToken.balanceOf(address(this));
require(rewardRate <= balance.div(rewardsDuration), "Provided reward too high");
lastUpdateTime = block.timestamp;
periodFinish = block.timestamp.add(rewardsDuration);
emit RewardAdded(reward);
}
// Added to support recovering LP Rewards from other systems such as BAL to be distributed to holders
function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner {
require(tokenAddress != address(stakingToken), "Cannot withdraw the staking token");
IERC20(tokenAddress).safeTransfer(owner(), tokenAmount);
emit Recovered(tokenAddress, tokenAmount);
}
function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner {
require(
block.timestamp > periodFinish,
"Previous rewards period must be complete before changing the duration for the new period"
);
rewardsDuration = _rewardsDuration;
emit RewardsDurationUpdated(rewardsDuration);
}
function setPaused(bool _p) external onlyOwner {
if (_p) {
_pause();
} else {
_unpause();
}
}
function emergencyWithdraw(address _destination) external {
require(msg.sender == timelock);
sushiMasterChef.emergencyWithdraw(masterchefPID);
stakingToken.transfer(_destination, stakingToken.balanceOf(address(this)));
}
/* ========== MODIFIERS ========== */
modifier updateReward(address account) {
rewardPerTokenStored = rewardPerToken();
lastUpdateTime = lastTimeRewardApplicable();
// Get rewards from masterchef first
// to store the delta
sushiMasterChef.withdraw(masterchefPID, 0);
sushiPerTokenStored = sushiPerToken();
sushiBalanceAtLastUpdate = sushiToken.balanceOf(address(this));
if (account != address(0)) {
rewards[account] = earned(account);
userRewardPerTokenPaid[account] = rewardPerTokenStored;
sushiRewards[account] = sushiEarned(account);
userSushiPerTokenPaid[account] = sushiPerTokenStored;
}
_;
}
/* ========== EVENTS ========== */
event RewardAdded(uint256 reward);
event Staked(address indexed user, uint256 amount);
event Withdrawn(address indexed user, uint256 amount);
event RewardPaid(address indexed user, uint256 reward, uint256 sushiReward);
event RewardsDurationUpdated(uint256 newDuration);
event Recovered(address token, uint256 amount);
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2 <0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./Context.sol";
import "./IERC20.sol";
import "./SafeMath.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;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
uint8 private _decimals;
/**
* @dev Sets the values for {name} and {symbol}, initializes {decimals} with
* a default value of 18.
*
* To select a different value for {decimals}, use {_setupDecimals}.
*
* All three of these values are immutable: they can only be set once during
* construction.
*/
constructor (string memory name_, string memory symbol_) public {
_name = name_;
_symbol = symbol_;
_decimals = 18;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5,05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
* called.
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual returns (uint8) {
return _decimals;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
return true;
}
/**
* @dev Moves tokens `amount` from `sender` to `recipient`.
*
* This is internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(address sender, address recipient, uint256 amount) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
_balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
_balances[recipient] = _balances[recipient].add(amount);
emit Transfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `to` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply = _totalSupply.add(amount);
_balances[account] = _balances[account].add(amount);
emit Transfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
_balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
_totalSupply = _totalSupply.sub(amount);
emit Transfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Sets {decimals} to a value other than the default one of 18.
*
* WARNING: This function should only be called from the constructor. Most
* applications that interact with token contracts will not expect
* {decimals} to ever change, and may work incorrectly if it does.
*/
function _setupDecimals(uint8 decimals_) internal virtual {
_decimals = decimals_;
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be to transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.3;
interface IMasterChef {
function userInfo(uint256, address) external view returns (uint256, uint256);
function deposit(uint256 _pid, uint256 _amount) external;
function withdraw(uint256 _pid, uint256 _amount) external;
function emergencyWithdraw(uint256 _pid) external;
function pendingSushi(uint256 _pid, address _user) external view returns (uint256);
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow, so we distribute
return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
}
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.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.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
bool private _paused;
/**
* @dev Initializes the contract in unpaused state.
*/
constructor () internal {
_paused = false;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
require(!paused(), "Pausable: paused");
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
require(paused(), "Pausable: not paused");
_;
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor () internal {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and make it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.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 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b > a) return (false, 0);
return (true, a - b);
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a / b);
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a % b);
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a, "SafeMath: subtraction overflow");
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) return 0;
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: division by zero");
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: modulo by zero");
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
return a - b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryDiv}.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a % b;
}
}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_timelock","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"uint256","name":"_masterchefPID","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sushiReward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_destination","type":"address"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterchefPID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_p","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushiBalanceAtLastUpdate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"sushiEarned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushiMasterChef","outputs":[{"internalType":"contract IMasterChef","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushiPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushiPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sushiRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushiToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelock","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userSushiPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
0x6080604052600580546001600160a01b0319908116736b3595068778dd592e39a122f4f5a5cf09c90fe2179091556006805490911673c2edad668740f1aa35e4d8f227fb8e17dca888cd1790556000600881905560095562278d00600a553480156200006a57600080fd5b506040516200277138038062002771833981810160405260a08110156200009057600080fd5b50805160208201516040830151606084015160809094015160016000818155815460ff191690915593949293919291620000c962000166565b60018054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519192509060009060008051602062002751833981519152908290a350600280546001600160a01b038088166001600160a01b03199283161790925560038054868416908316179055600480549285169290911691909117905560078190556200015b846200016a565b505050505062000294565b3390565b6200017462000166565b6001600160a01b03166200018762000280565b6001600160a01b031614620001e3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166200022a5760405162461bcd60e51b81526004018080602001828103825260268152602001806200272b6026913960400191505060405180910390fd5b6001546040516001600160a01b0380841692610100900416906000805160206200275183398151915290600090a3600180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60015461010090046001600160a01b031690565b61248780620002a46000396000f3fe608060405234801561001057600080fd5b50600436106102315760003560e01c80638980f11f11610130578063cd3daf9d116100b8578063e9fad8ee1161007c578063e9fad8ee146104e3578063ebe2b12b146104eb578063f2fde38b146104f3578063f3b35f0d14610519578063f856eb591461053f57610231565b8063cd3daf9d146104bb578063d1af0c7d146104c3578063d33219b4146104cb578063d4614c63146104d3578063df136d65146104db57610231565b8063a694fc3a116100ff578063a694fc3a14610469578063abeedaa114610486578063c8f33c911461048e578063c9bbd04a14610496578063cc1a378f1461049e57610231565b80638980f11f146104075780638b876347146104335780638c372a7f146104595780638da5cb5b1461046157610231565b80635925bd34116101be578063715018a611610182578063715018a6146103c357806372f702f3146103cb578063777aefc3146103ef5780637b0a47ee146103f757806380faa57d146103ff57610231565b80635925bd341461030f5780635c975abb146103355780636d82f08d146103515780636ff1c9bc1461037757806370a082311461039d57610231565b80631c1f78eb116102055780631c1f78eb146102bd5780632e1a7d4d146102c5578063386a9525146102e25780633c6b16ab146102ea5780633d18b9121461030757610231565b80628cc262146102365780630700037d1461026e57806316c38b3c1461029457806318160ddd146102b5575b600080fd5b61025c6004803603602081101561024c57600080fd5b50356001600160a01b0316610547565b60408051918252519081900360200190f35b61025c6004803603602081101561028457600080fd5b50356001600160a01b03166105c5565b6102b3600480360360208110156102aa57600080fd5b503515156105d7565b005b61025c610657565b61025c61065e565b6102b3600480360360208110156102db57600080fd5b503561067c565b61025c6109a3565b6102b36004803603602081101561030057600080fd5b50356109a9565b6102b3610d1c565b61025c6004803603602081101561032557600080fd5b50356001600160a01b0316610fca565b61033d610fdc565b604080519115158252519081900360200190f35b61025c6004803603602081101561036757600080fd5b50356001600160a01b0316610fe5565b6102b36004803603602081101561038d57600080fd5b50356001600160a01b0316610ff7565b61025c600480360360208110156103b357600080fd5b50356001600160a01b0316611177565b6102b3611192565b6103d3611244565b604080516001600160a01b039092168252519081900360200190f35b61025c611253565b61025c611259565b61025c61125f565b6102b36004803603604081101561041d57600080fd5b506001600160a01b03813516906020013561126d565b61025c6004803603602081101561044957600080fd5b50356001600160a01b0316611380565b61025c611392565b6103d3611398565b6102b36004803603602081101561047f57600080fd5b50356113ac565b61025c61175e565b61025c6118b1565b6103d36118b7565b6102b3600480360360208110156104b457600080fd5b50356118c6565b61025c6119a3565b6103d36119eb565b6103d36119fa565b6103d3611a09565b61025c611a18565b6102b3611a1e565b61025c611a41565b6102b36004803603602081101561050957600080fd5b50356001600160a01b0316611a47565b61025c6004803603602081101561052f57600080fd5b50356001600160a01b0316611b55565b61025c611b9c565b6001600160a01b038116600090815260116020908152604080832054600f9092528220546105bf91906105b990670de0b6b3a7640000906105b3906105949061058e6119a3565b90611ba2565b6001600160a01b03881660009081526014602052604090205490611bff565b90611c5f565b90611cc6565b92915050565b60116020526000908152604090205481565b6105df611d20565b6001600160a01b03166105f0611398565b6001600160a01b031614610639576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b801561064c57610647611d24565b610654565b610654611dc3565b50565b6013545b90565b6000610677600a54600954611bff90919063ffffffff16565b905090565b600260005414156106d4576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055336106e26119a3565b600c556106ed61125f565b600b5560065460075460408051630441a3e760e41b8152600481019290925260006024830181905290516001600160a01b039093169263441a3e7092604480820193929182900301818387803b15801561074657600080fd5b505af115801561075a573d6000803e3d6000fd5b5050505061076661175e565b600d55600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156107b457600080fd5b505afa1580156107c8573d6000803e3d6000fd5b505050506040513d60208110156107de57600080fd5b5051600e556001600160a01b0381161561085b576107fb81610547565b6001600160a01b038216600090815260116020908152604080832093909355600c54600f9091529190205561082f81611b55565b6001600160a01b038216600090815260126020908152604080832093909355600d546010909152919020555b600082116108a4576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6013546108b19083611ba2565b601355336000908152601460205260409020546108ce9083611ba2565b33600090815260146020526040808220929092556006546007548351630441a3e760e41b815260048101919091526024810186905292516001600160a01b039091169263441a3e7092604480830193919282900301818387803b15801561093457600080fd5b505af1158015610948573d6000803e3d6000fd5b505060045461096492506001600160a01b031690503384611e46565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001600055565b600a5481565b6109b1611d20565b6001600160a01b03166109c2611398565b6001600160a01b031614610a0b576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b6000610a156119a3565b600c55610a2061125f565b600b5560065460075460408051630441a3e760e41b8152600481019290925260006024830181905290516001600160a01b039093169263441a3e7092604480820193929182900301818387803b158015610a7957600080fd5b505af1158015610a8d573d6000803e3d6000fd5b50505050610a9961175e565b600d55600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610ae757600080fd5b505afa158015610afb573d6000803e3d6000fd5b505050506040513d6020811015610b1157600080fd5b5051600e556001600160a01b03811615610b8e57610b2e81610547565b6001600160a01b038216600090815260116020908152604080832093909355600c54600f90915291902055610b6281611b55565b6001600160a01b038216600090815260126020908152604080832093909355600d546010909152919020555b6008544210610bad57600a54610ba5908390611c5f565b600955610bf0565b600854600090610bbd9042611ba2565b90506000610bd660095483611bff90919063ffffffff16565b600a54909150610bea906105b38684611cc6565b60095550505b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610c3b57600080fd5b505afa158015610c4f573d6000803e3d6000fd5b505050506040513d6020811015610c6557600080fd5b5051600a54909150610c78908290611c5f565b6009541115610cce576040805162461bcd60e51b815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b42600b819055600a54610ce19190611cc6565b6008556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505050565b60026000541415610d74576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005533610d826119a3565b600c55610d8d61125f565b600b5560065460075460408051630441a3e760e41b8152600481019290925260006024830181905290516001600160a01b039093169263441a3e7092604480820193929182900301818387803b158015610de657600080fd5b505af1158015610dfa573d6000803e3d6000fd5b50505050610e0661175e565b600d55600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610e5457600080fd5b505afa158015610e68573d6000803e3d6000fd5b505050506040513d6020811015610e7e57600080fd5b5051600e556001600160a01b03811615610efb57610e9b81610547565b6001600160a01b038216600090815260116020908152604080832093909355600c54600f90915291902055610ecf81611b55565b6001600160a01b038216600090815260126020908152604080832093909355600d546010909152919020555b336000908152601160209081526040808320546012909252909120548115610f465733600081815260116020526040812055600354610f46916001600160a01b039091169084611e46565b8015610f865733600081815260126020526040812055600554610f75916001600160a01b039091169083611e46565b600e54610f829082611ba2565b600e555b6040805183815260208101839052815133927fd6f2c8500df5b44f11e9e48b91ff9f1b9d81bc496d55570c2b1b75bf65243f51928290030190a25050600160005550565b60126020526000908152604090205481565b60015460ff1690565b60106020526000908152604090205481565b6002546001600160a01b0316331461100e57600080fd5b60065460075460408051632989754760e11b81526004810192909252516001600160a01b0390921691635312ea8e9160248082019260009290919082900301818387803b15801561105e57600080fd5b505af1158015611072573d6000803e3d6000fd5b505060048054604080516370a0823160e01b81523093810193909352516001600160a01b03909116935063a9059cbb9250849184916370a0823191602480820192602092909190829003018186803b1580156110cd57600080fd5b505afa1580156110e1573d6000803e3d6000fd5b505050506040513d60208110156110f757600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561114857600080fd5b505af115801561115c573d6000803e3d6000fd5b505050506040513d602081101561117257600080fd5b505050565b6001600160a01b031660009081526014602052604090205490565b61119a611d20565b6001600160a01b03166111ab611398565b6001600160a01b0316146111f4576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b60015460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360018054610100600160a81b0319169055565b6004546001600160a01b031681565b600d5481565b60095481565b600061067742600854611e98565b611275611d20565b6001600160a01b0316611286611398565b6001600160a01b0316146112cf576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b6004546001600160a01b038381169116141561131c5760405162461bcd60e51b81526004018080602001828103825260218152602001806124316021913960400191505060405180910390fd5b611338611327611398565b6001600160a01b0384169083611e46565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b600f6020526000908152604090205481565b60075481565b60015461010090046001600160a01b031690565b60026000541415611404576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055611411610fdc565b15611456576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b3361145f6119a3565b600c5561146a61125f565b600b5560065460075460408051630441a3e760e41b8152600481019290925260006024830181905290516001600160a01b039093169263441a3e7092604480820193929182900301818387803b1580156114c357600080fd5b505af11580156114d7573d6000803e3d6000fd5b505050506114e361175e565b600d55600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561153157600080fd5b505afa158015611545573d6000803e3d6000fd5b505050506040513d602081101561155b57600080fd5b5051600e556001600160a01b038116156115d85761157881610547565b6001600160a01b038216600090815260116020908152604080832093909355600c54600f909152919020556115ac81611b55565b6001600160a01b038216600090815260126020908152604080832093909355600d546010909152919020555b6000821161161e576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b60135461162b9083611cc6565b601355336000908152601460205260409020546116489083611cc6565b33600081815260146020526040902091909155600454611675916001600160a01b03909116903085611eae565b600654600454611693916001600160a01b0391821691166000611f0e565b6006546004546116b0916001600160a01b03918216911684611f0e565b60065460075460408051631c57762b60e31b8152600481019290925260248201859052516001600160a01b039092169163e2bbb1589160448082019260009290919082900301818387803b15801561170757600080fd5b505af115801561171b573d6000803e3d6000fd5b50506040805185815290513393507f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d92509081900360200190a250506001600055565b6000601354600014156117745750600d5461065b565b6006546007546040805163065509bb60e21b81526004810192909252306024830152516000926001600160a01b03169163195426ec916044808301926020929190829003018186803b1580156117c957600080fd5b505afa1580156117dd573d6000803e3d6000fd5b505050506040513d60208110156117f357600080fd5b5051601354600e54600554604080516370a0823160e01b815230600482015290519495506118ab946118a294936105b393670de0b6b3a76400009361189c9361058e928b926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561186a57600080fd5b505afa15801561187e573d6000803e3d6000fd5b505050506040513d602081101561189457600080fd5b505190611cc6565b90611bff565b600d5490611cc6565b91505090565b600b5481565b6006546001600160a01b031681565b6118ce611d20565b6001600160a01b03166118df611398565b6001600160a01b031614611928576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b60085442116119685760405162461bcd60e51b81526004018080602001828103825260588152602001806122ec6058913960600191505060405180910390fd5b600a8190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b6000601354600014156119b95750600c5461065b565b6106776119e26013546105b3670de0b6b3a764000061189c60095461189c600b5461058e61125f565b600c5490611cc6565b6003546001600160a01b031681565b6002546001600160a01b031681565b6005546001600160a01b031681565b600c5481565b33600090815260146020526040902054611a379061067c565b611a3f610d1c565b565b60085481565b611a4f611d20565b6001600160a01b0316611a60611398565b6001600160a01b031614611aa9576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b6001600160a01b038116611aee5760405162461bcd60e51b81526004018080602001828103825260268152602001806123446026913960400191505060405180910390fd5b6001546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b03811660009081526012602090815260408083205460109092528220546105bf91906105b990670de0b6b3a7640000906105b3906105949061058e61175e565b600e5481565b600082821115611bf9576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082611c0e575060006105bf565b82820282848281611c1b57fe5b0414611c585760405162461bcd60e51b81526004018080602001828103825260218152602001806123906021913960400191505060405180910390fd5b9392505050565b6000808211611cb5576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611cbe57fe5b049392505050565b600082820183811015611c58576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b611d2c610fdc565b15611d71576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611da6611d20565b604080516001600160a01b039092168252519081900360200190a1565b611dcb610fdc565b611e13576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611da6611d20565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261117290849061201d565b6000818310611ea75781611c58565b5090919050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611f0890859061201d565b50505050565b801580611f94575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611f6657600080fd5b505afa158015611f7a573d6000803e3d6000fd5b505050506040513d6020811015611f9057600080fd5b5051155b611fcf5760405162461bcd60e51b81526004018080602001828103825260368152602001806123fb6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526111729084905b6060612072826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120ce9092919063ffffffff16565b8051909150156111725780806020019051602081101561209157600080fd5b50516111725760405162461bcd60e51b815260040180806020018281038252602a8152602001806123d1602a913960400191505060405180910390fd5b60606120dd84846000856120e5565b949350505050565b6060824710156121265760405162461bcd60e51b815260040180806020018281038252602681526020018061236a6026913960400191505060405180910390fd5b61212f85612241565b612180576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106121bf5780518252601f1990920191602091820191016121a0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612221576040519150601f19603f3d011682016040523d82523d6000602084013e612226565b606091505b5091509150612236828286612247565b979650505050505050565b3b151590565b60608315612256575081611c58565b8251156122665782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122b0578181015183820152602001612298565b50505050905090810190601f1680156122dd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636543616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea2646970667358221220dfe2cfadfd52ed4fa2202c5346f89725aff91401e134b61ac7185429e8e2b4c464736f6c634300070300334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573738be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000000000000000000000afa2c40df28768eab8add6f2572b32a7f8c86a5e0000000000000000000000007301c46be73bb04847576b6af107172bf5e8388e00000000000000000000000044564d0bd94343f72e3c8a0d22308b7fa71db0bb00000000000000000000000034d25a4749867ef8b62a0cd1e2d7b4f7af167e0100000000000000000000000000000000000000000000000000000000000000e9
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102315760003560e01c80638980f11f11610130578063cd3daf9d116100b8578063e9fad8ee1161007c578063e9fad8ee146104e3578063ebe2b12b146104eb578063f2fde38b146104f3578063f3b35f0d14610519578063f856eb591461053f57610231565b8063cd3daf9d146104bb578063d1af0c7d146104c3578063d33219b4146104cb578063d4614c63146104d3578063df136d65146104db57610231565b8063a694fc3a116100ff578063a694fc3a14610469578063abeedaa114610486578063c8f33c911461048e578063c9bbd04a14610496578063cc1a378f1461049e57610231565b80638980f11f146104075780638b876347146104335780638c372a7f146104595780638da5cb5b1461046157610231565b80635925bd34116101be578063715018a611610182578063715018a6146103c357806372f702f3146103cb578063777aefc3146103ef5780637b0a47ee146103f757806380faa57d146103ff57610231565b80635925bd341461030f5780635c975abb146103355780636d82f08d146103515780636ff1c9bc1461037757806370a082311461039d57610231565b80631c1f78eb116102055780631c1f78eb146102bd5780632e1a7d4d146102c5578063386a9525146102e25780633c6b16ab146102ea5780633d18b9121461030757610231565b80628cc262146102365780630700037d1461026e57806316c38b3c1461029457806318160ddd146102b5575b600080fd5b61025c6004803603602081101561024c57600080fd5b50356001600160a01b0316610547565b60408051918252519081900360200190f35b61025c6004803603602081101561028457600080fd5b50356001600160a01b03166105c5565b6102b3600480360360208110156102aa57600080fd5b503515156105d7565b005b61025c610657565b61025c61065e565b6102b3600480360360208110156102db57600080fd5b503561067c565b61025c6109a3565b6102b36004803603602081101561030057600080fd5b50356109a9565b6102b3610d1c565b61025c6004803603602081101561032557600080fd5b50356001600160a01b0316610fca565b61033d610fdc565b604080519115158252519081900360200190f35b61025c6004803603602081101561036757600080fd5b50356001600160a01b0316610fe5565b6102b36004803603602081101561038d57600080fd5b50356001600160a01b0316610ff7565b61025c600480360360208110156103b357600080fd5b50356001600160a01b0316611177565b6102b3611192565b6103d3611244565b604080516001600160a01b039092168252519081900360200190f35b61025c611253565b61025c611259565b61025c61125f565b6102b36004803603604081101561041d57600080fd5b506001600160a01b03813516906020013561126d565b61025c6004803603602081101561044957600080fd5b50356001600160a01b0316611380565b61025c611392565b6103d3611398565b6102b36004803603602081101561047f57600080fd5b50356113ac565b61025c61175e565b61025c6118b1565b6103d36118b7565b6102b3600480360360208110156104b457600080fd5b50356118c6565b61025c6119a3565b6103d36119eb565b6103d36119fa565b6103d3611a09565b61025c611a18565b6102b3611a1e565b61025c611a41565b6102b36004803603602081101561050957600080fd5b50356001600160a01b0316611a47565b61025c6004803603602081101561052f57600080fd5b50356001600160a01b0316611b55565b61025c611b9c565b6001600160a01b038116600090815260116020908152604080832054600f9092528220546105bf91906105b990670de0b6b3a7640000906105b3906105949061058e6119a3565b90611ba2565b6001600160a01b03881660009081526014602052604090205490611bff565b90611c5f565b90611cc6565b92915050565b60116020526000908152604090205481565b6105df611d20565b6001600160a01b03166105f0611398565b6001600160a01b031614610639576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b801561064c57610647611d24565b610654565b610654611dc3565b50565b6013545b90565b6000610677600a54600954611bff90919063ffffffff16565b905090565b600260005414156106d4576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055336106e26119a3565b600c556106ed61125f565b600b5560065460075460408051630441a3e760e41b8152600481019290925260006024830181905290516001600160a01b039093169263441a3e7092604480820193929182900301818387803b15801561074657600080fd5b505af115801561075a573d6000803e3d6000fd5b5050505061076661175e565b600d55600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156107b457600080fd5b505afa1580156107c8573d6000803e3d6000fd5b505050506040513d60208110156107de57600080fd5b5051600e556001600160a01b0381161561085b576107fb81610547565b6001600160a01b038216600090815260116020908152604080832093909355600c54600f9091529190205561082f81611b55565b6001600160a01b038216600090815260126020908152604080832093909355600d546010909152919020555b600082116108a4576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6013546108b19083611ba2565b601355336000908152601460205260409020546108ce9083611ba2565b33600090815260146020526040808220929092556006546007548351630441a3e760e41b815260048101919091526024810186905292516001600160a01b039091169263441a3e7092604480830193919282900301818387803b15801561093457600080fd5b505af1158015610948573d6000803e3d6000fd5b505060045461096492506001600160a01b031690503384611e46565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001600055565b600a5481565b6109b1611d20565b6001600160a01b03166109c2611398565b6001600160a01b031614610a0b576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b6000610a156119a3565b600c55610a2061125f565b600b5560065460075460408051630441a3e760e41b8152600481019290925260006024830181905290516001600160a01b039093169263441a3e7092604480820193929182900301818387803b158015610a7957600080fd5b505af1158015610a8d573d6000803e3d6000fd5b50505050610a9961175e565b600d55600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610ae757600080fd5b505afa158015610afb573d6000803e3d6000fd5b505050506040513d6020811015610b1157600080fd5b5051600e556001600160a01b03811615610b8e57610b2e81610547565b6001600160a01b038216600090815260116020908152604080832093909355600c54600f90915291902055610b6281611b55565b6001600160a01b038216600090815260126020908152604080832093909355600d546010909152919020555b6008544210610bad57600a54610ba5908390611c5f565b600955610bf0565b600854600090610bbd9042611ba2565b90506000610bd660095483611bff90919063ffffffff16565b600a54909150610bea906105b38684611cc6565b60095550505b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610c3b57600080fd5b505afa158015610c4f573d6000803e3d6000fd5b505050506040513d6020811015610c6557600080fd5b5051600a54909150610c78908290611c5f565b6009541115610cce576040805162461bcd60e51b815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b42600b819055600a54610ce19190611cc6565b6008556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505050565b60026000541415610d74576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260005533610d826119a3565b600c55610d8d61125f565b600b5560065460075460408051630441a3e760e41b8152600481019290925260006024830181905290516001600160a01b039093169263441a3e7092604480820193929182900301818387803b158015610de657600080fd5b505af1158015610dfa573d6000803e3d6000fd5b50505050610e0661175e565b600d55600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610e5457600080fd5b505afa158015610e68573d6000803e3d6000fd5b505050506040513d6020811015610e7e57600080fd5b5051600e556001600160a01b03811615610efb57610e9b81610547565b6001600160a01b038216600090815260116020908152604080832093909355600c54600f90915291902055610ecf81611b55565b6001600160a01b038216600090815260126020908152604080832093909355600d546010909152919020555b336000908152601160209081526040808320546012909252909120548115610f465733600081815260116020526040812055600354610f46916001600160a01b039091169084611e46565b8015610f865733600081815260126020526040812055600554610f75916001600160a01b039091169083611e46565b600e54610f829082611ba2565b600e555b6040805183815260208101839052815133927fd6f2c8500df5b44f11e9e48b91ff9f1b9d81bc496d55570c2b1b75bf65243f51928290030190a25050600160005550565b60126020526000908152604090205481565b60015460ff1690565b60106020526000908152604090205481565b6002546001600160a01b0316331461100e57600080fd5b60065460075460408051632989754760e11b81526004810192909252516001600160a01b0390921691635312ea8e9160248082019260009290919082900301818387803b15801561105e57600080fd5b505af1158015611072573d6000803e3d6000fd5b505060048054604080516370a0823160e01b81523093810193909352516001600160a01b03909116935063a9059cbb9250849184916370a0823191602480820192602092909190829003018186803b1580156110cd57600080fd5b505afa1580156110e1573d6000803e3d6000fd5b505050506040513d60208110156110f757600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561114857600080fd5b505af115801561115c573d6000803e3d6000fd5b505050506040513d602081101561117257600080fd5b505050565b6001600160a01b031660009081526014602052604090205490565b61119a611d20565b6001600160a01b03166111ab611398565b6001600160a01b0316146111f4576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b60015460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360018054610100600160a81b0319169055565b6004546001600160a01b031681565b600d5481565b60095481565b600061067742600854611e98565b611275611d20565b6001600160a01b0316611286611398565b6001600160a01b0316146112cf576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b6004546001600160a01b038381169116141561131c5760405162461bcd60e51b81526004018080602001828103825260218152602001806124316021913960400191505060405180910390fd5b611338611327611398565b6001600160a01b0384169083611e46565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b600f6020526000908152604090205481565b60075481565b60015461010090046001600160a01b031690565b60026000541415611404576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600055611411610fdc565b15611456576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b3361145f6119a3565b600c5561146a61125f565b600b5560065460075460408051630441a3e760e41b8152600481019290925260006024830181905290516001600160a01b039093169263441a3e7092604480820193929182900301818387803b1580156114c357600080fd5b505af11580156114d7573d6000803e3d6000fd5b505050506114e361175e565b600d55600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561153157600080fd5b505afa158015611545573d6000803e3d6000fd5b505050506040513d602081101561155b57600080fd5b5051600e556001600160a01b038116156115d85761157881610547565b6001600160a01b038216600090815260116020908152604080832093909355600c54600f909152919020556115ac81611b55565b6001600160a01b038216600090815260126020908152604080832093909355600d546010909152919020555b6000821161161e576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b60135461162b9083611cc6565b601355336000908152601460205260409020546116489083611cc6565b33600081815260146020526040902091909155600454611675916001600160a01b03909116903085611eae565b600654600454611693916001600160a01b0391821691166000611f0e565b6006546004546116b0916001600160a01b03918216911684611f0e565b60065460075460408051631c57762b60e31b8152600481019290925260248201859052516001600160a01b039092169163e2bbb1589160448082019260009290919082900301818387803b15801561170757600080fd5b505af115801561171b573d6000803e3d6000fd5b50506040805185815290513393507f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d92509081900360200190a250506001600055565b6000601354600014156117745750600d5461065b565b6006546007546040805163065509bb60e21b81526004810192909252306024830152516000926001600160a01b03169163195426ec916044808301926020929190829003018186803b1580156117c957600080fd5b505afa1580156117dd573d6000803e3d6000fd5b505050506040513d60208110156117f357600080fd5b5051601354600e54600554604080516370a0823160e01b815230600482015290519495506118ab946118a294936105b393670de0b6b3a76400009361189c9361058e928b926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561186a57600080fd5b505afa15801561187e573d6000803e3d6000fd5b505050506040513d602081101561189457600080fd5b505190611cc6565b90611bff565b600d5490611cc6565b91505090565b600b5481565b6006546001600160a01b031681565b6118ce611d20565b6001600160a01b03166118df611398565b6001600160a01b031614611928576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b60085442116119685760405162461bcd60e51b81526004018080602001828103825260588152602001806122ec6058913960600191505060405180910390fd5b600a8190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b6000601354600014156119b95750600c5461065b565b6106776119e26013546105b3670de0b6b3a764000061189c60095461189c600b5461058e61125f565b600c5490611cc6565b6003546001600160a01b031681565b6002546001600160a01b031681565b6005546001600160a01b031681565b600c5481565b33600090815260146020526040902054611a379061067c565b611a3f610d1c565b565b60085481565b611a4f611d20565b6001600160a01b0316611a60611398565b6001600160a01b031614611aa9576040805162461bcd60e51b815260206004820181905260248201526000805160206123b1833981519152604482015290519081900360640190fd5b6001600160a01b038116611aee5760405162461bcd60e51b81526004018080602001828103825260268152602001806123446026913960400191505060405180910390fd5b6001546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6001600160a01b03811660009081526012602090815260408083205460109092528220546105bf91906105b990670de0b6b3a7640000906105b3906105949061058e61175e565b600e5481565b600082821115611bf9576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082611c0e575060006105bf565b82820282848281611c1b57fe5b0414611c585760405162461bcd60e51b81526004018080602001828103825260218152602001806123906021913960400191505060405180910390fd5b9392505050565b6000808211611cb5576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611cbe57fe5b049392505050565b600082820183811015611c58576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b611d2c610fdc565b15611d71576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611da6611d20565b604080516001600160a01b039092168252519081900360200190a1565b611dcb610fdc565b611e13576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611da6611d20565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261117290849061201d565b6000818310611ea75781611c58565b5090919050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611f0890859061201d565b50505050565b801580611f94575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611f6657600080fd5b505afa158015611f7a573d6000803e3d6000fd5b505050506040513d6020811015611f9057600080fd5b5051155b611fcf5760405162461bcd60e51b81526004018080602001828103825260368152602001806123fb6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526111729084905b6060612072826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120ce9092919063ffffffff16565b8051909150156111725780806020019051602081101561209157600080fd5b50516111725760405162461bcd60e51b815260040180806020018281038252602a8152602001806123d1602a913960400191505060405180910390fd5b60606120dd84846000856120e5565b949350505050565b6060824710156121265760405162461bcd60e51b815260040180806020018281038252602681526020018061236a6026913960400191505060405180910390fd5b61212f85612241565b612180576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106121bf5780518252601f1990920191602091820191016121a0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612221576040519150601f19603f3d011682016040523d82523d6000602084013e612226565b606091505b5091509150612236828286612247565b979650505050505050565b3b151590565b60608315612256575081611c58565b8251156122665782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122b0578181015183820152602001612298565b50505050905090810190601f1680156122dd5780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636543616e6e6f7420776974686472617720746865207374616b696e6720746f6b656ea2646970667358221220dfe2cfadfd52ed4fa2202c5346f89725aff91401e134b61ac7185429e8e2b4c464736f6c63430007030033
Deployed Bytecode Sourcemap
334:8636:11:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3048:238;;;;;;;;;;;;;;;;-1:-1:-1;3048:238:11;-1:-1:-1;;;;;3048:238:11;;:::i;:::-;;;;;;;;;;;;;;;;1248:42;;;;;;;;;;;;;;;;-1:-1:-1;1248:42:11;-1:-1:-1;;;;;1248:42:11;;:::i;7440:145::-;;;;;;;;;;;;;;;;-1:-1:-1;7440:145:11;;;;:::i;:::-;;1896:91;;;:::i;3544:119::-;;;:::i;4328:471::-;;;;;;;;;;;;;;;;-1:-1:-1;4328:471:11;;:::i;913:40::-;;;:::i;5609:1054::-;;;;;;;;;;;;;;;;-1:-1:-1;5609:1054:11;;:::i;4805:644::-;;;:::i;1296:47::-;;;;;;;;;;;;;;;;-1:-1:-1;1296:47:11;-1:-1:-1;;;;;1296:47:11;;:::i;1052:84:7:-;;;:::i;:::-;;;;;;;;;;;;;;;;;;1185:56:11;;;;;;;;;;;;;;;;-1:-1:-1;1185:56:11;-1:-1:-1;;;;;1185:56:11;;:::i;7591:249::-;;;;;;;;;;;;;;;;-1:-1:-1;7591:249:11;-1:-1:-1;;;;;7591:249:11;;:::i;1993:110::-;;;;;;;;;;;;;;;;-1:-1:-1;1993:110:11;-1:-1:-1;;;;;1993:110:11;;:::i;1710:145:6:-;;;:::i;592:26:11:-;;;:::i;:::-;;;;-1:-1:-1;;;;;592:26:11;;;;;;;;;;;;;;1036:34;;;:::i;878:29::-;;;:::i;2109:129::-;;;:::i;6775:300::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6775:300:11;;;;;;;;:::i;1122:57::-;;;;;;;;;;;;;;;;-1:-1:-1;1122:57:11;-1:-1:-1;;;;;1122:57:11;;:::i;806:28::-;;;:::i;1078:85:6:-;;;:::i;3721:601:11:-;;;;;;;;;;;;;;;;-1:-1:-1;3721:601:11;;:::i;2572:470::-;;;:::i;959:29::-;;;:::i;708:92::-;;;:::i;7081:353::-;;;;;;;;;;;;;;;;-1:-1:-1;7081:353:11;;:::i;2244:322::-;;;:::i;560:26::-;;;:::i;530:23::-;;;:::i;625:77::-;;;:::i;994:35::-;;;:::i;5455:94::-;;;:::i;841:31::-;;;:::i;2004:240:6:-;;;;;;;;;;;;;;;;-1:-1:-1;2004:240:6;-1:-1:-1;;;;;2004:240:6;;:::i;3292:246:11:-;;;;;;;;;;;;;;;;-1:-1:-1;3292:246:11;-1:-1:-1;;;;;3292:246:11;;:::i;1076:39::-;;;:::i;3048:238::-;-1:-1:-1;;;;;3249:16:11;;3102:7;3249:16;;;:7;:16;;;;;;;;;3184:22;:31;;;;;;3140:139;;3249:16;3140:87;;3222:4;;3140:77;;3163:53;;:16;:14;:16::i;:::-;:20;;:53::i;:::-;-1:-1:-1;;;;;3140:18:11;;;;;;:9;:18;;;;;;;:22;:77::i;:::-;:81;;:87::i;:::-;:91;;:139::i;:::-;3121:158;3048:238;-1:-1:-1;;3048:238:11:o;1248:42::-;;;;;;;;;;;;;:::o;7440:145::-;1301:12:6;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:6;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:6;;1282:68;;;;;-1:-1:-1;;;1282:68:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:6;;;;;;;;;;;;;;;7501:2:11::1;7497:82;;;7519:8;:6;:8::i;:::-;7497:82;;;7558:10;:8;:10::i;:::-;7440:145:::0;:::o;1896:91::-;1968:12;;1896:91;;:::o;3544:119::-;3599:7;3625:31;3640:15;;3625:10;;:14;;:31;;;;:::i;:::-;3618:38;;3544:119;:::o;4328:471::-;1688:1:8;2277:7;;:19;;2269:63;;;;;-1:-1:-1;;;2269:63:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;1688:1;2407:7;:18;4395:10:11::1;7961:16;:14;:16::i;:::-;7938:20;:39:::0;8004:26:::1;:24;:26::i;:::-;7987:14;:43:::0;8116:15:::1;::::0;8141:13:::1;::::0;8116:42:::1;::::0;;-1:-1:-1;;;8116:42:11;;::::1;::::0;::::1;::::0;;;;:15:::1;:42:::0;;;;;;;;-1:-1:-1;;;;;8116:15:11;;::::1;::::0;:24:::1;::::0;:42;;;;;:15;:42;;;;;;:15;;:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;8190:15;:13;:15::i;:::-;8168:19;:37:::0;8242:10:::1;::::0;:35:::1;::::0;;-1:-1:-1;;;8242:35:11;;8271:4:::1;8242:35;::::0;::::1;::::0;;;-1:-1:-1;;;;;8242:10:11;;::::1;::::0;:20:::1;::::0;:35;;;;;::::1;::::0;;;;;;;;;:10;:35;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;8242:35:11;8215:24:::1;:62:::0;-1:-1:-1;;;;;8292:21:11;::::1;::::0;8288:279:::1;;8348:15;8355:7;8348:6;:15::i;:::-;-1:-1:-1::0;;;;;8329:16:11;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;8411:20:::1;::::0;8377:22:::1;:31:::0;;;;;;:54;8470:20:::1;8337:7:::0;8470:11:::1;:20::i;:::-;-1:-1:-1::0;;;;;8446:21:11;::::1;;::::0;;;:12:::1;:21;::::0;;;;;;;:44;;;;8537:19:::1;::::0;8504:21:::1;:30:::0;;;;;;:52;8288:279:::1;4434:1:::2;4425:6;:10;4417:40;;;::::0;;-1:-1:-1;;;4417:40:11;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;4417:40:11;;;;;;;;;;;;;::::2;;4482:12;::::0;:24:::2;::::0;4499:6;4482:16:::2;:24::i;:::-;4467:12;:39:::0;4550:10:::2;4540:21;::::0;;;:9:::2;:21;::::0;;;;;:33:::2;::::0;4566:6;4540:25:::2;:33::i;:::-;4526:10;4516:21;::::0;;;:9:::2;:21;::::0;;;;;:57;;;;4620:15:::2;::::0;4645:13:::2;::::0;4620:47;;-1:-1:-1;;;4620:47:11;;::::2;::::0;::::2;::::0;;;;;;;;;;;;-1:-1:-1;;;;;4620:15:11;;::::2;::::0;:24:::2;::::0;:47;;;;;4516:21;;4620:47;;;;;4516:21;4620:15;:47;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;4702:12:11::2;::::0;:45:::2;::::0;-1:-1:-1;;;;;;4702:12:11::2;::::0;-1:-1:-1;4728:10:11::2;4740:6:::0;4702:25:::2;:45::i;:::-;4763:29;::::0;;;;;;;4773:10:::2;::::0;4763:29:::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;1645:1:8;2580:7;:22;4328:471:11:o;913:40::-;;;;:::o;5609:1054::-;1301:12:6;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:6;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:6;;1282:68;;;;;-1:-1:-1;;;1282:68:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:6;;;;;;;;;;;;;;;5693:1:11::1;7961:16;:14;:16::i;:::-;7938:20;:39:::0;8004:26:::1;:24;:26::i;:::-;7987:14;:43:::0;8116:15:::1;::::0;8141:13:::1;::::0;8116:42:::1;::::0;;-1:-1:-1;;;8116:42:11;;::::1;::::0;::::1;::::0;;;;:15:::1;:42:::0;;;;;;;;-1:-1:-1;;;;;8116:15:11;;::::1;::::0;:24:::1;::::0;:42;;;;;:15;:42;;;;;;:15;;:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;8190:15;:13;:15::i;:::-;8168:19;:37:::0;8242:10:::1;::::0;:35:::1;::::0;;-1:-1:-1;;;8242:35:11;;8271:4:::1;8242:35;::::0;::::1;::::0;;;-1:-1:-1;;;;;8242:10:11;;::::1;::::0;:20:::1;::::0;:35;;;;;::::1;::::0;;;;;;;;;:10;:35;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;8242:35:11;8215:24:::1;:62:::0;-1:-1:-1;;;;;8292:21:11;::::1;::::0;8288:279:::1;;8348:15;8355:7;8348:6;:15::i;:::-;-1:-1:-1::0;;;;;8329:16:11;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;8411:20:::1;::::0;8377:22:::1;:31:::0;;;;;;:54;8470:20:::1;8337:7:::0;8470:11:::1;:20::i;:::-;-1:-1:-1::0;;;;;8446:21:11;::::1;;::::0;;;:12:::1;:21;::::0;;;;;;;:44;;;;8537:19:::1;::::0;8504:21:::1;:30:::0;;;;;;:52;8288:279:::1;5730:12:::2;;5711:15;:31;5707:312;;5782:15;::::0;5771:27:::2;::::0;:6;;:10:::2;:27::i;:::-;5758:10;:40:::0;5707:312:::2;;;5849:12;::::0;5829:17:::2;::::0;5849:33:::2;::::0;5866:15:::2;5849:16;:33::i;:::-;5829:53;;5896:16;5915:25;5929:10;;5915:9;:13;;:25;;;;:::i;:::-;5992:15;::::0;5896:44;;-1:-1:-1;5967:41:11::2;::::0;:20:::2;:6:::0;5896:44;5967:10:::2;:20::i;:41::-;5954:10;:54:::0;-1:-1:-1;;5707:312:11::2;6391:12;::::0;:37:::2;::::0;;-1:-1:-1;;;6391:37:11;;6422:4:::2;6391:37;::::0;::::2;::::0;;;6373:15:::2;::::0;-1:-1:-1;;;;;6391:12:11::2;::::0;:22:::2;::::0;:37;;;;;::::2;::::0;;;;;;;;:12;:37;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;6391:37:11;6472:15:::2;::::0;6391:37;;-1:-1:-1;6460:28:11::2;::::0;6391:37;;6460:11:::2;:28::i;:::-;6446:10;;:42;;6438:79;;;::::0;;-1:-1:-1;;;6438:79:11;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;6545:15;6528:14;:32:::0;;;6605:15:::2;::::0;6585:36:::2;::::0;6545:15;6585:19:::2;:36::i;:::-;6570:12;:51:::0;6637:19:::2;::::0;;;;;;;::::2;::::0;;;;::::2;::::0;;::::2;8577:1;1360::6::1;5609:1054:11::0;:::o;4805:644::-;1688:1:8;2277:7;;:19;;2269:63;;;;;-1:-1:-1;;;2269:63:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;1688:1;2407:7;:18;4859:10:11::1;7961:16;:14;:16::i;:::-;7938:20;:39:::0;8004:26:::1;:24;:26::i;:::-;7987:14;:43:::0;8116:15:::1;::::0;8141:13:::1;::::0;8116:42:::1;::::0;;-1:-1:-1;;;8116:42:11;;::::1;::::0;::::1;::::0;;;;:15:::1;:42:::0;;;;;;;;-1:-1:-1;;;;;8116:15:11;;::::1;::::0;:24:::1;::::0;:42;;;;;:15;:42;;;;;;:15;;:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;8190:15;:13;:15::i;:::-;8168:19;:37:::0;8242:10:::1;::::0;:35:::1;::::0;;-1:-1:-1;;;8242:35:11;;8271:4:::1;8242:35;::::0;::::1;::::0;;;-1:-1:-1;;;;;8242:10:11;;::::1;::::0;:20:::1;::::0;:35;;;;;::::1;::::0;;;;;;;;;:10;:35;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;8242:35:11;8215:24:::1;:62:::0;-1:-1:-1;;;;;8292:21:11;::::1;::::0;8288:279:::1;;8348:15;8355:7;8348:6;:15::i;:::-;-1:-1:-1::0;;;;;8329:16:11;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;;:34;;;;8411:20:::1;::::0;8377:22:::1;:31:::0;;;;;;:54;8470:20:::1;8337:7:::0;8470:11:::1;:20::i;:::-;-1:-1:-1::0;;;;;8446:21:11;::::1;;::::0;;;:12:::1;:21;::::0;;;;;;;:44;;;;8537:19:::1;::::0;8504:21:::1;:30:::0;;;;;;:52;8288:279:::1;4906:10:::2;4881:14;4898:19:::0;;;:7:::2;:19;::::0;;;;;;;;4949:12:::2;:24:::0;;;;;;;4988:10;;4984:123:::2;;5022:10;5036:1;5014:19:::0;;;:7:::2;:19;::::0;;;;:23;5051:12:::2;::::0;:45:::2;::::0;-1:-1:-1;;;;;5051:12:11;;::::2;::::0;5089:6;5051:25:::2;:45::i;:::-;5121:15:::0;;5117:267:::2;;5165:10;5179:1;5152:24:::0;;;:12:::2;:24;::::0;;;;:28;5194:10:::2;::::0;:48:::2;::::0;-1:-1:-1;;;;;5194:10:11;;::::2;::::0;5230:11;5194:23:::2;:48::i;:::-;5332:24;::::0;:41:::2;::::0;5361:11;5332:28:::2;:41::i;:::-;5305:24;:68:::0;5117:267:::2;5399:43;::::0;;;;;::::2;::::0;::::2;::::0;;;;;5410:10:::2;::::0;5399:43:::2;::::0;;;;;;::::2;-1:-1:-1::0;;1645:1:8;2580:7;:22;-1:-1:-1;4805:644:11:o;1296:47::-;;;;;;;;;;;;;:::o;1052:84:7:-;1122:7;;;;1052:84;:::o;1185:56:11:-;;;;;;;;;;;;;:::o;7591:249::-;7681:8;;-1:-1:-1;;;;;7681:8:11;7667:10;:22;7659:31;;;;;;7701:15;;7735:13;;7701:48;;;-1:-1:-1;;;7701:48:11;;;;;;;;;;-1:-1:-1;;;;;7701:15:11;;;;:33;;:48;;;;;:15;;:48;;;;;;;;:15;;:48;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7759:12:11;;;7795:37;;;-1:-1:-1;;;7795:37:11;;7826:4;7795:37;;;;;;;;-1:-1:-1;;;;;7759:12:11;;;;-1:-1:-1;7759:21:11;;-1:-1:-1;7781:12:11;;7759;;7795:22;;:37;;;;;;;;;;;;;;;7759:12;7795:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7795:37:11;7759:74;;;-1:-1:-1;;;;;;7759:74:11;;;;;;;-1:-1:-1;;;;;7759:74:11;;;;;;;;;;;;;;;;;;;;7795:37;;7759:74;;;;;;;-1:-1:-1;7759:74:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7591:249:11:o;1993:110::-;-1:-1:-1;;;;;2078:18:11;2052:7;2078:18;;;:9;:18;;;;;;;1993:110::o;1710:145:6:-;1301:12;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:6;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:6;;1282:68;;;;;-1:-1:-1;;;1282:68:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:6;;;;;;;;;;;;;;;1800:6:::1;::::0;1779:40:::1;::::0;1816:1:::1;::::0;1800:6:::1;::::0;::::1;-1:-1:-1::0;;;;;1800:6:6::1;::::0;1779:40:::1;::::0;1816:1;;1779:40:::1;1829:6;:19:::0;;-1:-1:-1;;;;;;1829:19:6::1;::::0;;1710:145::o;592:26:11:-;;;-1:-1:-1;;;;;592:26:11;;:::o;1036:34::-;;;;:::o;878:29::-;;;;:::o;2109:129::-;2166:7;2192:39;2201:15;2218:12;;2192:8;:39::i;6775:300::-;1301:12:6;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:6;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:6;;1282:68;;;;;-1:-1:-1;;;1282:68:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:6;;;;;;;;;;;;;;;6901:12:11::1;::::0;-1:-1:-1;;;;;6877:37:11;;::::1;6901:12:::0;::::1;6877:37;;6869:83;;;;-1:-1:-1::0;;;6869:83:11::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6962:55;6996:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;6962:33:11;::::1;::::0;7005:11;6962:33:::1;:55::i;:::-;7032:36;::::0;;-1:-1:-1;;;;;7032:36:11;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;6775:300:::0;;:::o;1122:57::-;;;;;;;;;;;;;:::o;806:28::-;;;;:::o;1078:85:6:-;1150:6;;;;;-1:-1:-1;;;;;1150:6:6;;1078:85::o;3721:601:11:-;1688:1:8;2277:7;;:19;;2269:63;;;;;-1:-1:-1;;;2269:63:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;1688:1;2407:7;:18;1366:8:7::1;:6;:8::i;:::-;1365:9;1357:38;;;::::0;;-1:-1:-1;;;1357:38:7;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;1357:38:7;;;;;;;;;;;;;::::1;;3801:10:11::2;7961:16;:14;:16::i;:::-;7938:20;:39:::0;8004:26:::2;:24;:26::i;:::-;7987:14;:43:::0;8116:15:::2;::::0;8141:13:::2;::::0;8116:42:::2;::::0;;-1:-1:-1;;;8116:42:11;;::::2;::::0;::::2;::::0;;;;:15:::2;:42:::0;;;;;;;;-1:-1:-1;;;;;8116:15:11;;::::2;::::0;:24:::2;::::0;:42;;;;;:15;:42;;;;;;:15;;:42;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;8190:15;:13;:15::i;:::-;8168:19;:37:::0;8242:10:::2;::::0;:35:::2;::::0;;-1:-1:-1;;;8242:35:11;;8271:4:::2;8242:35;::::0;::::2;::::0;;;-1:-1:-1;;;;;8242:10:11;;::::2;::::0;:20:::2;::::0;:35;;;;;::::2;::::0;;;;;;;;;:10;:35;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;8242:35:11;8215:24:::2;:62:::0;-1:-1:-1;;;;;8292:21:11;::::2;::::0;8288:279:::2;;8348:15;8355:7;8348:6;:15::i;:::-;-1:-1:-1::0;;;;;8329:16:11;::::2;;::::0;;;:7:::2;:16;::::0;;;;;;;:34;;;;8411:20:::2;::::0;8377:22:::2;:31:::0;;;;;;:54;8470:20:::2;8337:7:::0;8470:11:::2;:20::i;:::-;-1:-1:-1::0;;;;;8446:21:11;::::2;;::::0;;;:12:::2;:21;::::0;;;;;;;:44;;;;8537:19:::2;::::0;8504:21:::2;:30:::0;;;;;;:52;8288:279:::2;3840:1:::3;3831:6;:10;3823:37;;;::::0;;-1:-1:-1;;;3823:37:11;;::::3;;::::0;::::3;::::0;::::3;::::0;;;;-1:-1:-1;;;3823:37:11;;;;;;;;;;;;;::::3;;3885:12;::::0;:24:::3;::::0;3902:6;3885:16:::3;:24::i;:::-;3870:12;:39:::0;3953:10:::3;3943:21;::::0;;;:9:::3;:21;::::0;;;;;:33:::3;::::0;3969:6;3943:25:::3;:33::i;:::-;3929:10;3919:21;::::0;;;:9:::3;:21;::::0;;;;:57;;;;3986:12:::3;::::0;:64:::3;::::0;-1:-1:-1;;;;;3986:12:11;;::::3;::::0;4036:4:::3;4043:6:::0;3986:29:::3;:64::i;:::-;4129:15;::::0;4096:12:::3;::::0;:53:::3;::::0;-1:-1:-1;;;;;4096:12:11;;::::3;::::0;4129:15:::3;;4096:24;:53::i;:::-;4192:15;::::0;4159:12:::3;::::0;:58:::3;::::0;-1:-1:-1;;;;;4159:12:11;;::::3;::::0;4192:15:::3;4210:6:::0;4159:24:::3;:58::i;:::-;4227:15;::::0;4251:13:::3;::::0;4227:46:::3;::::0;;-1:-1:-1;;;4227:46:11;;::::3;::::0;::::3;::::0;;;;;;;;;;;-1:-1:-1;;;;;4227:15:11;;::::3;::::0;:23:::3;::::0;:46;;;;;:15:::3;::::0;:46;;;;;;;;:15;;:46;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;;4289:26:11::3;::::0;;;;;;;4296:10:::3;::::0;-1:-1:-1;4289:26:11::3;::::0;-1:-1:-1;4289:26:11;;;;::::3;::::0;;::::3;-1:-1:-1::0;;1645:1:8;2580:7;:22;3721:601:11:o;2572:470::-;2618:7;2641:12;;2657:1;2641:17;2637:74;;;-1:-1:-1;2681:19:11;;2674:26;;2637:74;2744:15;;2773:13;;2744:58;;;-1:-1:-1;;;2744:58:11;;;;;;;;;2796:4;2744:58;;;;;2721:20;;-1:-1:-1;;;;;2744:15:11;;:28;;:58;;;;;;;;;;;;;;:15;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2744:58:11;2991:12;;2930:24;;2872:10;;:35;;;-1:-1:-1;;;2872:35:11;;2901:4;2872:35;;;;;;2744:58;;-1:-1:-1;2831:204:11;;2872:149;;2991:12;2872:93;;2960:4;;2872:83;;:53;;2744:58;;-1:-1:-1;;;;;2872:10:11;;;;:20;;:35;;;;;2744:58;;2872:35;;;;;;;;:10;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2872:35:11;;:39;:53::i;:83::-;:87;;:93::i;:149::-;2831:19;;;:23;:204::i;:::-;2812:223;;;2572:470;:::o;959:29::-;;;;:::o;708:92::-;;;-1:-1:-1;;;;;708:92:11;;:::o;7081:353::-;1301:12:6;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:6;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:6;;1282:68;;;;;-1:-1:-1;;;1282:68:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:6;;;;;;;;;;;;;;;7203:12:11::1;;7185:15;:30;7164:165;;;;-1:-1:-1::0;;;7164:165:11::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7339:15;:34:::0;;;7388:39:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;7081:353:::0;:::o;2244:322::-;2291:7;2314:12;;2330:1;2314:17;2310:75;;;-1:-1:-1;2354:20:11;;2347:27;;2310:75;2413:146;2455:90;2532:12;;2455:72;2522:4;2455:62;2506:10;;2455:46;2486:14;;2455:26;:24;:26::i;:90::-;2413:20;;;:24;:146::i;560:26::-;;;-1:-1:-1;;;;;560:26:11;;:::o;530:23::-;;;-1:-1:-1;;;;;530:23:11;;:::o;625:77::-;;;-1:-1:-1;;;;;625:77:11;;:::o;994:35::-;;;;:::o;5455:94::-;5509:10;5499:21;;;;:9;:21;;;;;;5490:31;;:8;:31::i;:::-;5531:11;:9;:11::i;:::-;5455:94::o;841:31::-;;;;:::o;2004:240:6:-;1301:12;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:6;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:6;;1282:68;;;;;-1:-1:-1;;;1282:68:6;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:6;;;;;;;;;;;;;;;-1:-1:-1;;;;;2092:22:6;::::1;2084:73;;;;-1:-1:-1::0;;;2084:73:6::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2193:6;::::0;2172:38:::1;::::0;-1:-1:-1;;;;;2172:38:6;;::::1;::::0;2193:6:::1;::::0;::::1;;::::0;2172:38:::1;::::0;;;::::1;2220:6;:17:::0;;-1:-1:-1;;;;;2220:17:6;;::::1;;;-1:-1:-1::0;;;;;;2220:17:6;;::::1;::::0;;;::::1;::::0;;2004:240::o;3292:246:11:-;-1:-1:-1;;;;;3496:21:11;;3351:7;3496:21;;;:12;:21;;;;;;;;;3432;:30;;;;;;3389:142;;3496:21;3389:85;;3469:4;;3389:75;;3412:51;;:15;:13;:15::i;1076:39::-;;;;:::o;3136:155:10:-;3194:7;3226:1;3221;:6;;3213:49;;;;;-1:-1:-1;;;3213:49:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3279:5:10;;;3136:155::o;3538:215::-;3596:7;3619:6;3615:20;;-1:-1:-1;3634:1:10;3627:8;;3615:20;3657:5;;;3661:1;3657;:5;:1;3680:5;;;;;:10;3672:56;;;;-1:-1:-1;;;3672:56:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3745:1;3538:215;-1:-1:-1;;;3538:215:10:o;4217:150::-;4275:7;4306:1;4302;:5;4294:44;;;;;-1:-1:-1;;;4294:44:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;4359:1;4355;:5;;;;;;;4217:150;-1:-1:-1;;;4217:150:10:o;2690:175::-;2748:7;2779:5;;;2802:6;;;;2794:46;;;;;-1:-1:-1;;;2794:46:10;;;;;;;;;;;;;;;;;;;;;;;;;;;598:104:1;685:10;598:104;:::o;1817:115:7:-;1366:8;:6;:8::i;:::-;1365:9;1357:38;;;;;-1:-1:-1;;;1357:38:7;;;;;;;;;;;;-1:-1:-1;;;1357:38:7;;;;;;;;;;;;;;;1886:4:::1;1876:14:::0;;-1:-1:-1;;1876:14:7::1;::::0;::::1;::::0;;1905:20:::1;1912:12;:10;:12::i;:::-;1905:20;::::0;;-1:-1:-1;;;;;1905:20:7;;::::1;::::0;;;;;;;::::1;::::0;;::::1;1817:115::o:0;2064:117::-;1631:8;:6;:8::i;:::-;1623:41;;;;;-1:-1:-1;;;1623:41:7;;;;;;;;;;;;-1:-1:-1;;;1623:41:7;;;;;;;;;;;;;;;2122:7:::1;:15:::0;;-1:-1:-1;;2122:15:7::1;::::0;;2152:22:::1;2161:12;:10;:12::i;685:175:9:-:0;794:58;;;-1:-1:-1;;;;;794:58:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;794:58:9;-1:-1:-1;;;794:58:9;;;767:86;;787:5;;767:19;:86::i;399:104:5:-;457:7;487:1;483;:5;:13;;495:1;483:13;;;-1:-1:-1;491:1:5;;476:20;-1:-1:-1;399:104:5:o;866:203:9:-;993:68;;;-1:-1:-1;;;;;993:68:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;993:68:9;-1:-1:-1;;;993:68:9;;;966:96;;986:5;;966:19;:96::i;:::-;866:203;;;;:::o;1329:613::-;1694:10;;;1693:62;;-1:-1:-1;1710:39:9;;;-1:-1:-1;;;1710:39:9;;1734:4;1710:39;;;;-1:-1:-1;;;;;1710:39:9;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:39:9;:44;1693:62;1685:150;;;;-1:-1:-1;;;1685:150:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1872:62;;;-1:-1:-1;;;;;1872:62:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1872:62:9;-1:-1:-1;;;1872:62:9;;;1845:90;;1865:5;;2948:751;3367:23;3393:69;3421:4;3393:69;;;;;;;;;;;;;;;;;3401:5;-1:-1:-1;;;;;3393:27:9;;;:69;;;;;:::i;:::-;3476:17;;3367:95;;-1:-1:-1;3476:21:9;3472:221;;3616:10;3605:30;;;;;;;;;;;;;;;-1:-1:-1;3605:30:9;3597:85;;;;-1:-1:-1;;;3597:85:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3581:193:0;3684:12;3715:52;3737:6;3745:4;3751:1;3754:12;3715:21;:52::i;:::-;3708:59;3581:193;-1:-1:-1;;;;3581:193:0:o;4608:523::-;4735:12;4792:5;4767:21;:30;;4759:81;;;;-1:-1:-1;;;4759:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4858:18;4869:6;4858:10;:18::i;:::-;4850:60;;;;;-1:-1:-1;;;4850:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4981:12;4995:23;5022:6;-1:-1:-1;;;;;5022:11:0;5042:5;5050:4;5022:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5022:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4980:75;;;;5072:52;5090:7;5099:10;5111:12;5072:17;:52::i;:::-;5065:59;4608:523;-1:-1:-1;;;;;;;4608:523:0:o;726:413::-;1086:20;1124:8;;;726:413::o;7091:725::-;7206:12;7234:7;7230:580;;;-1:-1:-1;7264:10:0;7257:17;;7230:580;7375:17;;:21;7371:429;;7633:10;7627:17;7693:15;7680:10;7676:2;7672:19;7665:44;7582:145;7772:12;7765:20;;-1:-1:-1;;;7765:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://dfe2cfadfd52ed4fa2202c5346f89725aff91401e134b61ac7185429e8e2b4c4
Loading...
Loading
Loading...
Loading
Net Worth in USD
$159.89
Net Worth in ETH
0.073669
Token Allocations
SUSHI
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $0.200136 | 798.9102 | $159.89 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.