Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Latest 25 from a total of 317 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 16587653 | 1131 days ago | IN | 0 ETH | 0.00684235 | ||||
| Withdraw | 16481916 | 1146 days ago | IN | 0 ETH | 0.00346652 | ||||
| Withdraw | 16299171 | 1171 days ago | IN | 0 ETH | 0.00438731 | ||||
| Withdraw | 16231226 | 1181 days ago | IN | 0 ETH | 0.00306201 | ||||
| Withdraw | 16228044 | 1181 days ago | IN | 0 ETH | 0.00513175 | ||||
| Withdraw | 16222906 | 1182 days ago | IN | 0 ETH | 0.00270812 | ||||
| Withdraw | 16216257 | 1183 days ago | IN | 0 ETH | 0.00247533 | ||||
| Withdraw | 16210006 | 1184 days ago | IN | 0 ETH | 0.00310278 | ||||
| Withdraw | 16209770 | 1184 days ago | IN | 0 ETH | 0.00271507 | ||||
| Withdraw | 16207143 | 1184 days ago | IN | 0 ETH | 0.0029491 | ||||
| Withdraw | 16188944 | 1187 days ago | IN | 0 ETH | 0.00294005 | ||||
| Withdraw | 16181362 | 1188 days ago | IN | 0 ETH | 0.00328093 | ||||
| Withdraw | 16164369 | 1190 days ago | IN | 0 ETH | 0.00332148 | ||||
| Withdraw | 16143749 | 1193 days ago | IN | 0 ETH | 0.00232396 | ||||
| Deposit | 16143747 | 1193 days ago | IN | 0 ETH | 0.00218706 | ||||
| Withdraw | 16126762 | 1195 days ago | IN | 0 ETH | 0.00804375 | ||||
| Withdraw | 16113562 | 1197 days ago | IN | 0 ETH | 0.002612 | ||||
| Withdraw | 16106906 | 1198 days ago | IN | 0 ETH | 0.003644 | ||||
| Withdraw | 16106596 | 1198 days ago | IN | 0 ETH | 0.00313187 | ||||
| Withdraw | 16105407 | 1198 days ago | IN | 0 ETH | 0.00268836 | ||||
| Withdraw | 16103010 | 1199 days ago | IN | 0 ETH | 0.00330317 | ||||
| Withdraw | 16095851 | 1200 days ago | IN | 0 ETH | 0.00293684 | ||||
| Withdraw | 16088662 | 1201 days ago | IN | 0 ETH | 0.00281119 | ||||
| Withdraw | 16087629 | 1201 days ago | IN | 0 ETH | 0.00266821 | ||||
| Withdraw | 16087315 | 1201 days ago | IN | 0 ETH | 0.00208665 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| 0x60806040 | 15499462 | 1284 days ago | Contract Creation | 0 ETH |
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 0xD637f1E0...209A027d7 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
SmartChefMintable
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./interfaces/IAPPLESlice.sol";
import "./interfaces/IERC20.sol";
import "./libs/SafeERC20.sol";
import "./interfaces/IApple.sol";
contract SmartChefMintable is Ownable, ReentrancyGuard {
using SafeMath for uint256;
using SafeERC20 for IERC20;
// The address of the smart chef factory
address public SMART_CHEF_FACTORY;
// APPLESliceToken for stakers
address public appleSlice;
IAPPLESlice APPLESliceInterface;
// Whether a limit is set for users
bool public hasUserLimit;
// Whether it is initialized
bool public isInitialized;
// Accrued token per share
uint256 public accTokenPerShare;
// The block number when APPLE mining ends.
uint256 public bonusEndBlock;
// The block number when APPLE mining starts.
uint256 public startBlock;
// The block number of the last pool update
uint256 public lastRewardBlock;
// The pool limit (0 if none)
uint256 public poolLimitPerUser;
// APPLE tokens created per block.
uint256 public rewardPerBlock;
// The time for lock funds.
uint256 public lockTime;
// Dev fee.
uint256 public devfee = 1000;
// The precision factor
uint256 public PRECISION_FACTOR;
// The reward token
IApple public rewardToken;
// The staked token
IERC20 public stakedToken;
// Info of each user that stakes tokens (stakedToken)
mapping(address => UserInfo) public userInfo;
struct UserInfo {
uint256 amount; // How many staked tokens the user has provided
uint256 rewardDebt; // Reward debt
uint256 depositTime; // The last time when the user deposit funds
}
// Dev address.
address public devaddr;
event AdminTokenRecovery(address tokenRecovered, uint256 amount);
event Deposit(address indexed user, uint256 amount);
event EmergencyWithdraw(address indexed user, uint256 amount);
event NewStartAndEndBlocks(uint256 startBlock, uint256 endBlock);
event NewRewardPerBlock(uint256 rewardPerBlock);
event NewPoolLimit(uint256 poolLimitPerUser);
event RewardsStop(uint256 blockNumber);
event Withdraw(address indexed user, uint256 amount);
event NewLockTime(uint256 lockTime);
event setLockTime(address indexed user, uint256 lockTime);
event StakedAndMinted(address indexed _address, uint256 _blockTimestamp);
event UnstakedAndBurned(address indexed _address, uint256 _blockTimestamp);
constructor() {
SMART_CHEF_FACTORY = msg.sender;
}
/*
* @notice Initialize the contract
* @param _stakedToken: staked token address
* @param _rewardToken: reward token address
* @param _rewardPerBlock: reward per block (in rewardToken)
* @param _startBlock: start block
* @param _bonusEndBlock: end block
* @param _poolLimitPerUser: pool limit per user in stakedToken (if any, else 0)
* @param _admin: admin address with ownership
*/
function initialize(
IERC20 _stakedToken,
IApple _rewardToken,
uint256 _rewardPerBlock,
uint256 _startBlock,
uint256 _bonusEndBlock,
uint256 _poolLimitPerUser,
uint256 _lockTime,
address _admin,
address _appleSlice
) external {
require(!isInitialized, "Already initialized");
require(msg.sender == SMART_CHEF_FACTORY, "Not factory");
// Make this contract initialized
isInitialized = true;
stakedToken = _stakedToken;
rewardToken = _rewardToken;
rewardPerBlock = _rewardPerBlock;
startBlock = _startBlock;
bonusEndBlock = _bonusEndBlock;
lockTime = _lockTime;
devaddr = _admin;
appleSlice = _appleSlice;
APPLESliceInterface = IAPPLESlice(_appleSlice);
if (_poolLimitPerUser > 0) {
hasUserLimit = true;
poolLimitPerUser = _poolLimitPerUser;
}
uint256 decimalsRewardToken = uint256(rewardToken.decimals());
require(decimalsRewardToken < 30, "Must be inferior to 30");
PRECISION_FACTOR = uint256(10**(uint256(30).sub(decimalsRewardToken)));
// Set the lastRewardBlock as the startBlock
lastRewardBlock = startBlock;
// Transfer ownership to the admin address who becomes owner of the contract
transferOwnership(_admin);
}
function deposit(uint256 _amount) external nonReentrant {
UserInfo storage user = userInfo[msg.sender];
if (hasUserLimit) {
require(_amount.add(user.amount) <= poolLimitPerUser, "User amount above limit");
}
_updatePool();
if (user.amount > 0) {
uint256 pending = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt);
if (pending > 0) {
safeAppleTransfer(msg.sender, pending);
}
}
if (_amount > 0) {
// begin slice logic
uint256 currentStakedBalance = user.amount; // current staked balance
uint256 currentAPPLESliceBalance = IERC20(appleSlice).balanceOf(msg.sender);
if (currentStakedBalance == 0 && currentAPPLESliceBalance == 0) {
stakedToken.safeTransferFrom(address(msg.sender), address(this), _amount);
user.amount = user.amount.add(_amount);
APPLESliceInterface.mintAPPLESlice(msg.sender, 1);
user.depositTime = block.timestamp;
emit StakedAndMinted(msg.sender, block.timestamp);
} else {
stakedToken.safeTransferFrom(address(msg.sender), address(this), _amount);
user.amount = user.amount.add(_amount);
user.depositTime = block.timestamp;
}
}
user.rewardDebt = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR);
emit Deposit(msg.sender, _amount);
}
/*
* @notice Withdraw staked tokens and collect reward tokens
* @param _amount: amount to withdraw (in rewardToken)
*/
function withdraw(uint256 _amount) external nonReentrant {
UserInfo storage user = userInfo[msg.sender];
require(user.amount >= _amount, "Amount to withdraw too high");
require(user.depositTime + lockTime < block.timestamp, "Can not withdraw in lock period");
_updatePool();
uint256 pending = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt);
if (_amount > 0) {
// begin slice logic
uint256 currentStakedBalance = user.amount; // current staked balance
uint256 currentAPPLESliceBalance = IERC20(appleSlice).balanceOf(msg.sender);
if (currentStakedBalance.sub(_amount) == 0 && currentAPPLESliceBalance > 0) {
stakedToken.safeTransfer(address(msg.sender), _amount);
user.amount = user.amount.sub(_amount);
APPLESliceInterface.burnAPPLESlice(msg.sender, currentAPPLESliceBalance);
emit UnstakedAndBurned(msg.sender, block.timestamp);
} else {
user.amount = user.amount.sub(_amount);
stakedToken.safeTransfer(address(msg.sender), _amount);
}
}
if (pending > 0) {
safeAppleTransfer(msg.sender, pending);
}
user.rewardDebt = user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR);
emit Withdraw(msg.sender, _amount);
}
/*
* @notice Withdraw staked tokens without caring about rewards rewards
* @dev Needs to be for emergency.
*/
function emergencyWithdraw() external nonReentrant {
UserInfo storage user = userInfo[msg.sender];
uint256 amountToTransfer = user.amount;
uint256 currentAPPLESliceBalance = IERC20(appleSlice).balanceOf(msg.sender);
user.amount = 0;
user.rewardDebt = 0;
if (amountToTransfer > 0) {
stakedToken.safeTransfer(address(msg.sender), amountToTransfer);
APPLESliceInterface.burnAPPLESlice(msg.sender, currentAPPLESliceBalance);
emit UnstakedAndBurned(msg.sender, block.timestamp);
}
emit EmergencyWithdraw(msg.sender, user.amount);
}
/*
* @notice Stop rewards
* @dev Only callable by owner. Needs to be for emergency.
*/
function emergencyRewardWithdraw(uint256 _amount) external onlyOwner {
rewardToken.transfer(address(msg.sender), _amount);
}
/**
* @notice It allows the admin to recover wrong tokens sent to the contract
* @param _tokenAddress: the address of the token to withdraw
* @param _tokenAmount: the number of tokens to withdraw
* @dev This function is only callable by admin.
*/
function recoverWrongTokens(address _tokenAddress, uint256 _tokenAmount) external onlyOwner {
require(_tokenAddress != address(stakedToken), "Cannot be staked token");
require(_tokenAddress != address(rewardToken), "Cannot be reward token");
IERC20(_tokenAddress).safeTransfer(address(msg.sender), _tokenAmount);
emit AdminTokenRecovery(_tokenAddress, _tokenAmount);
}
/*
* @notice Stop rewards
* @dev Only callable by owner
*/
function stopReward() external onlyOwner {
bonusEndBlock = block.number;
}
/*
* @notice Update pool limit per user
* @dev Only callable by owner.
* @param _hasUserLimit: whether the limit remains forced
* @param _poolLimitPerUser: new pool limit per user
*/
function updatePoolLimitPerUser(bool _hasUserLimit, uint256 _poolLimitPerUser) external onlyOwner {
require(hasUserLimit, "Must be set");
if (_hasUserLimit) {
require(_poolLimitPerUser > poolLimitPerUser, "New limit must be higher");
poolLimitPerUser = _poolLimitPerUser;
} else {
hasUserLimit = _hasUserLimit;
poolLimitPerUser = 0;
}
emit NewPoolLimit(poolLimitPerUser);
}
/*
* @notice Update lock time
* @dev Only callable by owner.
* @param _lockTime: the time in seconds that staked tokens are locked
*/
function updateLockTime(uint256 _lockTime) external onlyOwner {
lockTime = _lockTime;
emit NewLockTime(_lockTime);
}
/**
* @notice It allows the admin to update start and end blocks
* @dev This function is only callable by owner.
* @param _startBlock: the new start block
* @param _bonusEndBlock: the new end block
*/
function updateStartAndEndBlocks(uint256 _startBlock, uint256 _bonusEndBlock) external onlyOwner {
require(_startBlock < _bonusEndBlock, "New startBlock must be lower than new endBlock");
require(block.number < _startBlock, "New startBlock must be higher than current block");
startBlock = _startBlock;
bonusEndBlock = _bonusEndBlock;
// Set the lastRewardBlock as the startBlock
lastRewardBlock = startBlock;
emit NewStartAndEndBlocks(_startBlock, _bonusEndBlock);
}
/*
* @notice Update reward per block
* @dev Only callable by owner.
* @param _rewardPerBlock: the reward per block
*/
function updateRewardPerBlock(uint256 _rewardPerBlock) external onlyOwner {
rewardPerBlock = _rewardPerBlock;
emit NewRewardPerBlock(_rewardPerBlock);
}
/*
* @notice View function to see pending reward on frontend.
* @param _user: user address
* @return Pending reward for a given user
*/
function pendingReward(address _user) external view returns (uint256) {
UserInfo storage user = userInfo[_user];
uint256 stakedTokenSupply = stakedToken.balanceOf(address(this));
if (block.number > lastRewardBlock && stakedTokenSupply != 0) {
uint256 multiplier = _getMultiplier(lastRewardBlock, block.number);
uint256 appleReward = multiplier.mul(rewardPerBlock);
uint256 adjustedTokenPerShare =
accTokenPerShare.add(appleReward.mul(PRECISION_FACTOR).div(stakedTokenSupply));
return user.amount.mul(adjustedTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt);
} else {
return user.amount.mul(accTokenPerShare).div(PRECISION_FACTOR).sub(user.rewardDebt);
}
}
// Safe apple transfer function, just in case if rounding error causes pool to not have enough APPLEs.
function safeAppleTransfer(address _to, uint256 _amount) internal {
uint256 tokenBalance = rewardToken.balanceOf(address(this));
bool transferSuccess = false;
if (_amount > tokenBalance) {
transferSuccess = rewardToken.transfer(_to, tokenBalance);
} else {
transferSuccess = rewardToken.transfer(_to, _amount);
}
require(transferSuccess, "safeTokenTransfer: transfer failed");
}
/*
* @notice Update reward variables of the given pool to be up-to-date.
*/
function _updatePool() internal {
if (block.number <= lastRewardBlock) {
return;
}
uint256 stakedTokenSupply = stakedToken.balanceOf(address(this));
if (stakedTokenSupply == 0) {
lastRewardBlock = block.number;
return;
}
uint256 multiplier = _getMultiplier(lastRewardBlock, block.number);
uint256 appleReward = multiplier.mul(rewardPerBlock);
rewardToken.mint(devaddr, appleReward.mul(devfee).div(10000));
rewardToken.mint(address(this), appleReward);
accTokenPerShare = accTokenPerShare.add(appleReward.mul(PRECISION_FACTOR).div(stakedTokenSupply));
lastRewardBlock = block.number;
}
/*
* @notice Return reward multiplier over the given _from to _to block.
* @param _from: block to start
* @param _to: block to finish
*/
function _getMultiplier(uint256 _from, uint256 _to) internal view returns (uint256) {
if (_to <= bonusEndBlock) {
return _to.sub(_from);
} else if (_from >= bonusEndBlock) {
return 0;
} else {
return bonusEndBlock.sub(_from);
}
}
// Rescue eth that is sent here by mistake
function rescueETH(uint256 amount, address to) external onlyOwner{
payable(to).transfer(amount);
}
function setFee(address _feeAddress, uint256 _devfee) public onlyOwner {
devaddr = _feeAddress;
devfee = _devfee;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
interface IApple {
function getOwnedBalance(address account) external view returns (uint256);
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
function totalSupply() external view returns (uint);
function balanceOf(address owner) external view returns (uint);
function allowance(address owner, address spender) external view returns (uint);
function approve(address spender, uint value) external returns (bool);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
function mint(address to, uint value) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '../interfaces/IERC20.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.5.0;
interface IERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
function totalSupply() external view returns (uint);
function balanceOf(address owner) external view returns (uint);
function allowance(address owner, address spender) external view returns (uint);
function approve(address spender, uint value) external returns (bool);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
interface IAPPLESlice {
function burnAPPLESlice(address _staker, uint256 _amount) external;
function mintAPPLESlice(address _depositor, uint256 amount) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address => bool) members;
bytes32 adminRole;
}
mapping(bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role, _msgSender());
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(uint160(account), 20),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Grants `role` to `account`.
*
* Internal function without access restriction.
*/
function _grantRole(bytes32 role, address account) internal virtual {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
/**
* @dev Revokes `role` from `account`.
*
* Internal function without access restriction.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
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) {
unchecked {
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) {
unchecked {
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) {
unchecked {
// 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) {
unchecked {
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) {
unchecked {
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) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return 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) {
return a * b;
}
/**
* @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.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
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) {
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) {
unchecked {
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.
*
* 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) {
unchecked {
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) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)
pragma solidity ^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() {
_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 making 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
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^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 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) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/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() {
_transferOwnership(_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 {
_transferOwnership(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");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @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
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 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");
(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");
(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");
(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");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal 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
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": true,
"runs": 99999
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenRecovered","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AdminTokenRecovery","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lockTime","type":"uint256"}],"name":"NewLockTime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"poolLimitPerUser","type":"uint256"}],"name":"NewPoolLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rewardPerBlock","type":"uint256"}],"name":"NewRewardPerBlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endBlock","type":"uint256"}],"name":"NewStartAndEndBlocks","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"RewardsStop","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_blockTimestamp","type":"uint256"}],"name":"StakedAndMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_blockTimestamp","type":"uint256"}],"name":"UnstakedAndBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"lockTime","type":"uint256"}],"name":"setLockTime","type":"event"},{"inputs":[],"name":"PRECISION_FACTOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SMART_CHEF_FACTORY","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accTokenPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"appleSlice","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devfee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyRewardWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hasUserLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_stakedToken","type":"address"},{"internalType":"contract IApple","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"},{"internalType":"uint256","name":"_poolLimitPerUser","type":"uint256"},{"internalType":"uint256","name":"_lockTime","type":"uint256"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_appleSlice","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRewardBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLimitPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"recoverWrongTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IApple","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_devfee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakedToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lockTime","type":"uint256"}],"name":"updateLockTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_hasUserLimit","type":"bool"},{"internalType":"uint256","name":"_poolLimitPerUser","type":"uint256"}],"name":"updatePoolLimitPerUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"}],"name":"updateRewardPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"}],"name":"updateStartAndEndBlocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"depositTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
0x60806040526103e8600c5534801561001657600080fd5b506100203361003b565b60018055600280546001600160a01b0319163317905561008b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b612eac806200009b6000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c806392e8990e1161012a578063cc7a262e116100bd578063e55156b51161008c578063f40f0f5211610071578063f40f0f52146104de578063f7c618c1146104f1578063fbfa4e111461051157600080fd5b8063e55156b5146104b8578063f2fde38b146104cb57600080fd5b8063cc7a262e14610467578063ccd34cd514610487578063d49e77cd14610490578063db2e21bc146104b057600080fd5b8063a9f8d181116100f9578063a9f8d1811461040b578063b6b55f2514610414578063bd61719114610427578063bef3594a1461044757600080fd5b806392e8990e146103ad5780639513997f146103d2578063a0558c3f146103e5578063a0b40905146103f857600080fd5b80633f138d4b116101bd578063715018a61161018c5780638ae39cac116101715780638ae39cac1461035c5780638da5cb5b146103655780638f662915146103a457600080fd5b8063715018a61461034c57806380dc06721461035457600080fd5b80633f138d4b1461031457806348cd4cb1146103275780635f34992a1461033057806366fe9f8a1461034357600080fd5b80632e1a7d4d116101f95780632e1a7d4d146102af578063314094c2146102c25780633279beab146102cb578063392e53cd146102de57600080fd5b806301f8a9761461022b5780630d668087146102405780631959a0021461025c5780631aed6553146102a6575b600080fd5b61023e6102393660046129f1565b610524565b005b610249600b5481565b6040519081526020015b60405180910390f35b61028b61026a366004612a2c565b60106020526000908152604090208054600182015460029092015490919083565b60408051938452602084019290925290820152606001610253565b61024960065481565b61023e6102bd3660046129f1565b6105e6565b610249600c5481565b61023e6102d93660046129f1565b6109da565b600454610304907501000000000000000000000000000000000000000000900460ff1681565b6040519015158152602001610253565b61023e610322366004612a49565b610afa565b61024960075481565b61023e61033e366004612a75565b610cfa565b61024960095481565b61023e611047565b61023e6110d4565b610249600a5481565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610253565b61024960055481565b6004546103049074010000000000000000000000000000000000000000900460ff1681565b61023e6103e0366004612b04565b61115b565b61023e6103f3366004612b26565b61133f565b61023e610406366004612b64565b611408565b61024960085481565b61023e6104223660046129f1565b611604565b60025461037f9073ffffffffffffffffffffffffffffffffffffffff1681565b60035461037f9073ffffffffffffffffffffffffffffffffffffffff1681565b600f5461037f9073ffffffffffffffffffffffffffffffffffffffff1681565b610249600d5481565b60115461037f9073ffffffffffffffffffffffffffffffffffffffff1681565b61023e6119af565b61023e6104c6366004612a49565b611bf3565b61023e6104d9366004612a2c565b611cbf565b6102496104ec366004612a2c565b611def565b600e5461037f9073ffffffffffffffffffffffffffffffffffffffff1681565b61023e61051f3660046129f1565b611f60565b60005473ffffffffffffffffffffffffffffffffffffffff1633146105aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600a8190556040518181527f0c4d677eef92893ac7ec52faf8140fc6c851ab4736302b4f3a89dfb20696a0df906020015b60405180910390a150565b600260015403610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105a1565b600260015533600090815260106020526040902080548211156106d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f416d6f756e7420746f20776974686472617720746f6f2068696768000000000060448201526064016105a1565b42600b5482600201546106e49190612bb1565b1061074b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f43616e206e6f7420776974686472617720696e206c6f636b20706572696f640060448201526064016105a1565b610753612016565b60006107888260010154610782600d5461077c600554876000015461226390919063ffffffff16565b90612278565b90612284565b9050821561096f5781546003546040517f70a0823100000000000000000000000000000000000000000000000000000000815233600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610801573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108259190612bc9565b90506108318286612284565b15801561083e5750600081115b1561093a57600f546108679073ffffffffffffffffffffffffffffffffffffffff163387612290565b83546108739086612284565b8455600480546040517f5cc12c3500000000000000000000000000000000000000000000000000000000815233928101929092526024820183905273ffffffffffffffffffffffffffffffffffffffff1690635cc12c3590604401600060405180830381600087803b1580156108e857600080fd5b505af11580156108fc573d6000803e3d6000fd5b50506040514281523392507f3202817a2ef05971b4761ffac357b4adf93f505dd192e037d23287d396f7baf7915060200160405180910390a261096c565b83546109469086612284565b8455600f5461096c9073ffffffffffffffffffffffffffffffffffffffff163387612290565b50505b801561097f5761097f3382612364565b600d546005548354610996929161077c9190612263565b600183015560405183815233907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364906020015b60405180910390a250506001805550565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b600e546040517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526024810183905273ffffffffffffffffffffffffffffffffffffffff9091169063a9059cbb906044016020604051808303816000875af1158015610ad2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af69190612be2565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b7b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b600f5473ffffffffffffffffffffffffffffffffffffffff90811690831603610c00576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43616e6e6f74206265207374616b656420746f6b656e0000000000000000000060448201526064016105a1565b600e5473ffffffffffffffffffffffffffffffffffffffff90811690831603610c85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43616e6e6f742062652072657761726420746f6b656e0000000000000000000060448201526064016105a1565b610ca673ffffffffffffffffffffffffffffffffffffffff83163383612290565b6040805173ffffffffffffffffffffffffffffffffffffffff84168152602081018390527f74545154aac348a3eac92596bd1971957ca94795f4e954ec5f613b55fab7812991015b60405180910390a15050565b6004547501000000000000000000000000000000000000000000900460ff1615610d80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f416c726561647920696e697469616c697a65640000000000000000000000000060448201526064016105a1565b60025473ffffffffffffffffffffffffffffffffffffffff163314610e01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4e6f7420666163746f727900000000000000000000000000000000000000000060448201526064016105a1565b60048054600f805473ffffffffffffffffffffffffffffffffffffffff808e167fffffffffffffffffffffffff000000000000000000000000000000000000000092831617909255600e80548d8416908316179055600a8b905560078a90556006899055600b879055601180548784169083161790556003805492861692909116821790557fffffffffffffffffffff00ff00000000000000000000000000000000000000009091161775010000000000000000000000000000000000000000001790558315610f1057600480547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905560098490555b600e54604080517f313ce567000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163313ce5679160048083019260209291908290030181865afa158015610f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa49190612bff565b60ff169050601e8110611013576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520696e666572696f7220746f2033300000000000000000000060448201526064016105a1565b61101e601e82612284565b61102990600a612d42565b600d5560075460085561103b83611cbf565b50505050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b6110d260006125da565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b43600655565b60005473ffffffffffffffffffffffffffffffffffffffff1633146111dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b80821061126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4e6577207374617274426c6f636b206d757374206265206c6f7765722074686160448201527f6e206e657720656e64426c6f636b00000000000000000000000000000000000060648201526084016105a1565b8143106112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4e6577207374617274426c6f636b206d7573742062652068696768657220746860448201527f616e2063757272656e7420626c6f636b0000000000000000000000000000000060648201526084016105a1565b60078290556006819055600882905560408051838152602081018390527f7cd0ab87d19036f3dfadadb232c78aa4879dda3f0c994a9d637532410ee2ce069101610cee565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b60405173ffffffffffffffffffffffffffffffffffffffff82169083156108fc029084906000818181858888f19350505050158015611403573d6000803e3d6000fd5b505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b60045474010000000000000000000000000000000000000000900460ff1661150d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4d7573742062652073657400000000000000000000000000000000000000000060448201526064016105a1565b811561158857600954811161157e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4e6577206c696d6974206d75737420626520686967686572000000000000000060448201526064016105a1565b60098190556115d1565b600480547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000008415150217905560006009555b7f241f67ee5f41b7a5cabf911367329be7215900f602ebfc47f89dce2a6bcd847c600954604051610cee91815260200190565b600260015403611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105a1565b600260015533600090815260106020526040902060045474010000000000000000000000000000000000000000900460ff161561171f5760095481546116b790849061264f565b111561171f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5573657220616d6f756e742061626f7665206c696d697400000000000000000060448201526064016105a1565b611727612016565b80541561176b5760006117578260010154610782600d5461077c600554876000015461226390919063ffffffff16565b90508015611769576117693382612364565b505b81156119565780546003546040517f70a0823100000000000000000000000000000000000000000000000000000000815233600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156117e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118069190612bc9565b905081158015611814575080155b1561191957600f5461183e9073ffffffffffffffffffffffffffffffffffffffff1633308761265b565b825461184a908561264f565b8355600480546040517f8df9aab800000000000000000000000000000000000000000000000000000000815233928101929092526001602483015273ffffffffffffffffffffffffffffffffffffffff1690638df9aab890604401600060405180830381600087803b1580156118bf57600080fd5b505af11580156118d3573d6000803e3d6000fd5b505042600286018190556040519081523392507f8b6e1e627f0131449becb931da187f10323cbba18e1762209a5c42ea6760a175915060200160405180910390a2611953565b600f5461193e9073ffffffffffffffffffffffffffffffffffffffff1633308761265b565b825461194a908561264f565b83554260028401555b50505b600d54600554825461196d929161077c9190612263565b600182015560405182815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2505060018055565b600260015403611a1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105a1565b600260015533600081815260106020526040808220805460035492517f70a082310000000000000000000000000000000000000000000000000000000081526004810195909552909390929173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015611aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac89190612bc9565b6000808555600185015590508115611bbf57600f54611afe9073ffffffffffffffffffffffffffffffffffffffff163384612290565b600480546040517f5cc12c3500000000000000000000000000000000000000000000000000000000815233928101929092526024820183905273ffffffffffffffffffffffffffffffffffffffff1690635cc12c3590604401600060405180830381600087803b158015611b7157600080fd5b505af1158015611b85573d6000803e3d6000fd5b50506040514281523392507f3202817a2ef05971b4761ffac357b4adf93f505dd192e037d23287d396f7baf7915060200160405180910390a25b825460405190815233907f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd9695906020016109c9565b60005473ffffffffffffffffffffffffffffffffffffffff163314611c74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b601180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9390931692909217909155600c55565b60005473ffffffffffffffffffffffffffffffffffffffff163314611d40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b73ffffffffffffffffffffffffffffffffffffffff8116611de3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105a1565b611dec816125da565b50565b73ffffffffffffffffffffffffffffffffffffffff818116600090815260106020526040808220600f5491517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152929390928492909116906370a0823190602401602060405180830381865afa158015611e74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e989190612bc9565b905060085443118015611eaa57508015155b15611f31576000611ebd600854436126b9565b90506000611ed6600a548361226390919063ffffffff16565b90506000611eff611ef68561077c600d548661226390919063ffffffff16565b6005549061264f565b9050611f268560010154610782600d5461077c858a6000015461226390919063ffffffff16565b979650505050505050565b611f588260010154610782600d5461077c600554876000015461226390919063ffffffff16565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611fe1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b600b8190556040518181527f057ac4f41f09e298debf7d5d392e5792e4a23af7c9e36df13d934f17d7fa4019906020016105db565b600854431161202157565b600f546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015612090573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b49190612bc9565b9050806000036120c5575043600855565b60006120d3600854436126b9565b905060006120ec600a548361226390919063ffffffff16565b600e54601154600c5492935073ffffffffffffffffffffffffffffffffffffffff918216926340c10f19929091169061212e906127109061077c908790612263565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b15801561219957600080fd5b505af11580156121ad573d6000803e3d6000fd5b5050600e546040517f40c10f190000000000000000000000000000000000000000000000000000000081523060048201526024810185905273ffffffffffffffffffffffffffffffffffffffff90911692506340c10f199150604401600060405180830381600087803b15801561222357600080fd5b505af1158015612237573d6000803e3d6000fd5b50505050612257611ef68461077c600d548561226390919063ffffffff16565b60055550504360085550565b600061226f8284612d4e565b90505b92915050565b600061226f8284612d8b565b600061226f8284612dc6565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526114039084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526126f3565b600e546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156123d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123f79190612bc9565b90506000818311156124a757600e546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af115801561247c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a09190612be2565b9050612547565b600e546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690529091169063a9059cbb906044016020604051808303816000875af1158015612520573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125449190612be2565b90505b806125d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f73616665546f6b656e5472616e736665723a207472616e73666572206661696c60448201527f656400000000000000000000000000000000000000000000000000000000000060648201526084016105a1565b50505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061226f8284612bb1565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526125d49085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016122e2565b600060065482116126d5576126ce8284612284565b9050612272565b60065483106126e657506000612272565b6006546126ce9084612284565b6000612755826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166127ff9092919063ffffffff16565b80519091501561140357808060200190518101906127739190612be2565b611403576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016105a1565b606061280e8484600085612818565b90505b9392505050565b6060824710156128aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016105a1565b73ffffffffffffffffffffffffffffffffffffffff85163b612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105a1565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516129519190612e09565b60006040518083038185875af1925050503d806000811461298e576040519150601f19603f3d011682016040523d82523d6000602084013e612993565b606091505b5091509150611f26828286606083156129ad575081612811565b8251156129bd5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a19190612e25565b600060208284031215612a0357600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114611dec57600080fd5b600060208284031215612a3e57600080fd5b813561281181612a0a565b60008060408385031215612a5c57600080fd5b8235612a6781612a0a565b946020939093013593505050565b60008060008060008060008060006101208a8c031215612a9457600080fd5b8935612a9f81612a0a565b985060208a0135612aaf81612a0a565b975060408a0135965060608a0135955060808a0135945060a08a0135935060c08a0135925060e08a0135612ae281612a0a565b91506101008a0135612af381612a0a565b809150509295985092959850929598565b60008060408385031215612b1757600080fd5b50508035926020909101359150565b60008060408385031215612b3957600080fd5b823591506020830135612b4b81612a0a565b809150509250929050565b8015158114611dec57600080fd5b60008060408385031215612b7757600080fd5b8235612a6781612b56565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612bc457612bc4612b82565b500190565b600060208284031215612bdb57600080fd5b5051919050565b600060208284031215612bf457600080fd5b815161281181612b56565b600060208284031215612c1157600080fd5b815160ff8116811461281157600080fd5b600181815b80851115612c7b57817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612c6157612c61612b82565b80851615612c6e57918102915b93841c9390800290612c27565b509250929050565b600082612c9257506001612272565b81612c9f57506000612272565b8160018114612cb55760028114612cbf57612cdb565b6001915050612272565b60ff841115612cd057612cd0612b82565b50506001821b612272565b5060208310610133831016604e8410600b8410161715612cfe575081810a612272565b612d088383612c22565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612d3a57612d3a612b82565b029392505050565b600061226f8383612c83565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612d8657612d86612b82565b500290565b600082612dc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015612dd857612dd8612b82565b500390565b60005b83811015612df8578181015183820152602001612de0565b838111156125d45750506000910152565b60008251612e1b818460208701612ddd565b9190910192915050565b6020815260008251806020840152612e44816040850160208701612ddd565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220e553d66d03fe796be21a0d2fe4862c321cb3105aee3afe28587a61812e8591f964736f6c634300080f0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102265760003560e01c806392e8990e1161012a578063cc7a262e116100bd578063e55156b51161008c578063f40f0f5211610071578063f40f0f52146104de578063f7c618c1146104f1578063fbfa4e111461051157600080fd5b8063e55156b5146104b8578063f2fde38b146104cb57600080fd5b8063cc7a262e14610467578063ccd34cd514610487578063d49e77cd14610490578063db2e21bc146104b057600080fd5b8063a9f8d181116100f9578063a9f8d1811461040b578063b6b55f2514610414578063bd61719114610427578063bef3594a1461044757600080fd5b806392e8990e146103ad5780639513997f146103d2578063a0558c3f146103e5578063a0b40905146103f857600080fd5b80633f138d4b116101bd578063715018a61161018c5780638ae39cac116101715780638ae39cac1461035c5780638da5cb5b146103655780638f662915146103a457600080fd5b8063715018a61461034c57806380dc06721461035457600080fd5b80633f138d4b1461031457806348cd4cb1146103275780635f34992a1461033057806366fe9f8a1461034357600080fd5b80632e1a7d4d116101f95780632e1a7d4d146102af578063314094c2146102c25780633279beab146102cb578063392e53cd146102de57600080fd5b806301f8a9761461022b5780630d668087146102405780631959a0021461025c5780631aed6553146102a6575b600080fd5b61023e6102393660046129f1565b610524565b005b610249600b5481565b6040519081526020015b60405180910390f35b61028b61026a366004612a2c565b60106020526000908152604090208054600182015460029092015490919083565b60408051938452602084019290925290820152606001610253565b61024960065481565b61023e6102bd3660046129f1565b6105e6565b610249600c5481565b61023e6102d93660046129f1565b6109da565b600454610304907501000000000000000000000000000000000000000000900460ff1681565b6040519015158152602001610253565b61023e610322366004612a49565b610afa565b61024960075481565b61023e61033e366004612a75565b610cfa565b61024960095481565b61023e611047565b61023e6110d4565b610249600a5481565b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610253565b61024960055481565b6004546103049074010000000000000000000000000000000000000000900460ff1681565b61023e6103e0366004612b04565b61115b565b61023e6103f3366004612b26565b61133f565b61023e610406366004612b64565b611408565b61024960085481565b61023e6104223660046129f1565b611604565b60025461037f9073ffffffffffffffffffffffffffffffffffffffff1681565b60035461037f9073ffffffffffffffffffffffffffffffffffffffff1681565b600f5461037f9073ffffffffffffffffffffffffffffffffffffffff1681565b610249600d5481565b60115461037f9073ffffffffffffffffffffffffffffffffffffffff1681565b61023e6119af565b61023e6104c6366004612a49565b611bf3565b61023e6104d9366004612a2c565b611cbf565b6102496104ec366004612a2c565b611def565b600e5461037f9073ffffffffffffffffffffffffffffffffffffffff1681565b61023e61051f3660046129f1565b611f60565b60005473ffffffffffffffffffffffffffffffffffffffff1633146105aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600a8190556040518181527f0c4d677eef92893ac7ec52faf8140fc6c851ab4736302b4f3a89dfb20696a0df906020015b60405180910390a150565b600260015403610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105a1565b600260015533600090815260106020526040902080548211156106d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f416d6f756e7420746f20776974686472617720746f6f2068696768000000000060448201526064016105a1565b42600b5482600201546106e49190612bb1565b1061074b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f43616e206e6f7420776974686472617720696e206c6f636b20706572696f640060448201526064016105a1565b610753612016565b60006107888260010154610782600d5461077c600554876000015461226390919063ffffffff16565b90612278565b90612284565b9050821561096f5781546003546040517f70a0823100000000000000000000000000000000000000000000000000000000815233600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610801573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108259190612bc9565b90506108318286612284565b15801561083e5750600081115b1561093a57600f546108679073ffffffffffffffffffffffffffffffffffffffff163387612290565b83546108739086612284565b8455600480546040517f5cc12c3500000000000000000000000000000000000000000000000000000000815233928101929092526024820183905273ffffffffffffffffffffffffffffffffffffffff1690635cc12c3590604401600060405180830381600087803b1580156108e857600080fd5b505af11580156108fc573d6000803e3d6000fd5b50506040514281523392507f3202817a2ef05971b4761ffac357b4adf93f505dd192e037d23287d396f7baf7915060200160405180910390a261096c565b83546109469086612284565b8455600f5461096c9073ffffffffffffffffffffffffffffffffffffffff163387612290565b50505b801561097f5761097f3382612364565b600d546005548354610996929161077c9190612263565b600183015560405183815233907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364906020015b60405180910390a250506001805550565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b600e546040517fa9059cbb0000000000000000000000000000000000000000000000000000000081523360048201526024810183905273ffffffffffffffffffffffffffffffffffffffff9091169063a9059cbb906044016020604051808303816000875af1158015610ad2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af69190612be2565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b7b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b600f5473ffffffffffffffffffffffffffffffffffffffff90811690831603610c00576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43616e6e6f74206265207374616b656420746f6b656e0000000000000000000060448201526064016105a1565b600e5473ffffffffffffffffffffffffffffffffffffffff90811690831603610c85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43616e6e6f742062652072657761726420746f6b656e0000000000000000000060448201526064016105a1565b610ca673ffffffffffffffffffffffffffffffffffffffff83163383612290565b6040805173ffffffffffffffffffffffffffffffffffffffff84168152602081018390527f74545154aac348a3eac92596bd1971957ca94795f4e954ec5f613b55fab7812991015b60405180910390a15050565b6004547501000000000000000000000000000000000000000000900460ff1615610d80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f416c726561647920696e697469616c697a65640000000000000000000000000060448201526064016105a1565b60025473ffffffffffffffffffffffffffffffffffffffff163314610e01576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4e6f7420666163746f727900000000000000000000000000000000000000000060448201526064016105a1565b60048054600f805473ffffffffffffffffffffffffffffffffffffffff808e167fffffffffffffffffffffffff000000000000000000000000000000000000000092831617909255600e80548d8416908316179055600a8b905560078a90556006899055600b879055601180548784169083161790556003805492861692909116821790557fffffffffffffffffffff00ff00000000000000000000000000000000000000009091161775010000000000000000000000000000000000000000001790558315610f1057600480547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905560098490555b600e54604080517f313ce567000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163313ce5679160048083019260209291908290030181865afa158015610f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa49190612bff565b60ff169050601e8110611013576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d75737420626520696e666572696f7220746f2033300000000000000000000060448201526064016105a1565b61101e601e82612284565b61102990600a612d42565b600d5560075460085561103b83611cbf565b50505050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110c8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b6110d260006125da565b565b60005473ffffffffffffffffffffffffffffffffffffffff163314611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b43600655565b60005473ffffffffffffffffffffffffffffffffffffffff1633146111dc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b80821061126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4e6577207374617274426c6f636b206d757374206265206c6f7765722074686160448201527f6e206e657720656e64426c6f636b00000000000000000000000000000000000060648201526084016105a1565b8143106112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4e6577207374617274426c6f636b206d7573742062652068696768657220746860448201527f616e2063757272656e7420626c6f636b0000000000000000000000000000000060648201526084016105a1565b60078290556006819055600882905560408051838152602081018390527f7cd0ab87d19036f3dfadadb232c78aa4879dda3f0c994a9d637532410ee2ce069101610cee565b60005473ffffffffffffffffffffffffffffffffffffffff1633146113c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b60405173ffffffffffffffffffffffffffffffffffffffff82169083156108fc029084906000818181858888f19350505050158015611403573d6000803e3d6000fd5b505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b60045474010000000000000000000000000000000000000000900460ff1661150d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f4d7573742062652073657400000000000000000000000000000000000000000060448201526064016105a1565b811561158857600954811161157e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4e6577206c696d6974206d75737420626520686967686572000000000000000060448201526064016105a1565b60098190556115d1565b600480547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000008415150217905560006009555b7f241f67ee5f41b7a5cabf911367329be7215900f602ebfc47f89dce2a6bcd847c600954604051610cee91815260200190565b600260015403611670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105a1565b600260015533600090815260106020526040902060045474010000000000000000000000000000000000000000900460ff161561171f5760095481546116b790849061264f565b111561171f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5573657220616d6f756e742061626f7665206c696d697400000000000000000060448201526064016105a1565b611727612016565b80541561176b5760006117578260010154610782600d5461077c600554876000015461226390919063ffffffff16565b90508015611769576117693382612364565b505b81156119565780546003546040517f70a0823100000000000000000000000000000000000000000000000000000000815233600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156117e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118069190612bc9565b905081158015611814575080155b1561191957600f5461183e9073ffffffffffffffffffffffffffffffffffffffff1633308761265b565b825461184a908561264f565b8355600480546040517f8df9aab800000000000000000000000000000000000000000000000000000000815233928101929092526001602483015273ffffffffffffffffffffffffffffffffffffffff1690638df9aab890604401600060405180830381600087803b1580156118bf57600080fd5b505af11580156118d3573d6000803e3d6000fd5b505042600286018190556040519081523392507f8b6e1e627f0131449becb931da187f10323cbba18e1762209a5c42ea6760a175915060200160405180910390a2611953565b600f5461193e9073ffffffffffffffffffffffffffffffffffffffff1633308761265b565b825461194a908561264f565b83554260028401555b50505b600d54600554825461196d929161077c9190612263565b600182015560405182815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2505060018055565b600260015403611a1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105a1565b600260015533600081815260106020526040808220805460035492517f70a082310000000000000000000000000000000000000000000000000000000081526004810195909552909390929173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015611aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac89190612bc9565b6000808555600185015590508115611bbf57600f54611afe9073ffffffffffffffffffffffffffffffffffffffff163384612290565b600480546040517f5cc12c3500000000000000000000000000000000000000000000000000000000815233928101929092526024820183905273ffffffffffffffffffffffffffffffffffffffff1690635cc12c3590604401600060405180830381600087803b158015611b7157600080fd5b505af1158015611b85573d6000803e3d6000fd5b50506040514281523392507f3202817a2ef05971b4761ffac357b4adf93f505dd192e037d23287d396f7baf7915060200160405180910390a25b825460405190815233907f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd9695906020016109c9565b60005473ffffffffffffffffffffffffffffffffffffffff163314611c74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b601180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9390931692909217909155600c55565b60005473ffffffffffffffffffffffffffffffffffffffff163314611d40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b73ffffffffffffffffffffffffffffffffffffffff8116611de3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105a1565b611dec816125da565b50565b73ffffffffffffffffffffffffffffffffffffffff818116600090815260106020526040808220600f5491517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152929390928492909116906370a0823190602401602060405180830381865afa158015611e74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e989190612bc9565b905060085443118015611eaa57508015155b15611f31576000611ebd600854436126b9565b90506000611ed6600a548361226390919063ffffffff16565b90506000611eff611ef68561077c600d548661226390919063ffffffff16565b6005549061264f565b9050611f268560010154610782600d5461077c858a6000015461226390919063ffffffff16565b979650505050505050565b611f588260010154610782600d5461077c600554876000015461226390919063ffffffff16565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611fe1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a1565b600b8190556040518181527f057ac4f41f09e298debf7d5d392e5792e4a23af7c9e36df13d934f17d7fa4019906020016105db565b600854431161202157565b600f546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015612090573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b49190612bc9565b9050806000036120c5575043600855565b60006120d3600854436126b9565b905060006120ec600a548361226390919063ffffffff16565b600e54601154600c5492935073ffffffffffffffffffffffffffffffffffffffff918216926340c10f19929091169061212e906127109061077c908790612263565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401600060405180830381600087803b15801561219957600080fd5b505af11580156121ad573d6000803e3d6000fd5b5050600e546040517f40c10f190000000000000000000000000000000000000000000000000000000081523060048201526024810185905273ffffffffffffffffffffffffffffffffffffffff90911692506340c10f199150604401600060405180830381600087803b15801561222357600080fd5b505af1158015612237573d6000803e3d6000fd5b50505050612257611ef68461077c600d548561226390919063ffffffff16565b60055550504360085550565b600061226f8284612d4e565b90505b92915050565b600061226f8284612d8b565b600061226f8284612dc6565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526114039084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526126f3565b600e546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156123d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123f79190612bc9565b90506000818311156124a757600e546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af115801561247c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a09190612be2565b9050612547565b600e546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152602482018690529091169063a9059cbb906044016020604051808303816000875af1158015612520573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125449190612be2565b90505b806125d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f73616665546f6b656e5472616e736665723a207472616e73666572206661696c60448201527f656400000000000000000000000000000000000000000000000000000000000060648201526084016105a1565b50505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061226f8284612bb1565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526125d49085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016122e2565b600060065482116126d5576126ce8284612284565b9050612272565b60065483106126e657506000612272565b6006546126ce9084612284565b6000612755826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166127ff9092919063ffffffff16565b80519091501561140357808060200190518101906127739190612be2565b611403576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016105a1565b606061280e8484600085612818565b90505b9392505050565b6060824710156128aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016105a1565b73ffffffffffffffffffffffffffffffffffffffff85163b612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105a1565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516129519190612e09565b60006040518083038185875af1925050503d806000811461298e576040519150601f19603f3d011682016040523d82523d6000602084013e612993565b606091505b5091509150611f26828286606083156129ad575081612811565b8251156129bd5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a19190612e25565b600060208284031215612a0357600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114611dec57600080fd5b600060208284031215612a3e57600080fd5b813561281181612a0a565b60008060408385031215612a5c57600080fd5b8235612a6781612a0a565b946020939093013593505050565b60008060008060008060008060006101208a8c031215612a9457600080fd5b8935612a9f81612a0a565b985060208a0135612aaf81612a0a565b975060408a0135965060608a0135955060808a0135945060a08a0135935060c08a0135925060e08a0135612ae281612a0a565b91506101008a0135612af381612a0a565b809150509295985092959850929598565b60008060408385031215612b1757600080fd5b50508035926020909101359150565b60008060408385031215612b3957600080fd5b823591506020830135612b4b81612a0a565b809150509250929050565b8015158114611dec57600080fd5b60008060408385031215612b7757600080fd5b8235612a6781612b56565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612bc457612bc4612b82565b500190565b600060208284031215612bdb57600080fd5b5051919050565b600060208284031215612bf457600080fd5b815161281181612b56565b600060208284031215612c1157600080fd5b815160ff8116811461281157600080fd5b600181815b80851115612c7b57817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612c6157612c61612b82565b80851615612c6e57918102915b93841c9390800290612c27565b509250929050565b600082612c9257506001612272565b81612c9f57506000612272565b8160018114612cb55760028114612cbf57612cdb565b6001915050612272565b60ff841115612cd057612cd0612b82565b50506001821b612272565b5060208310610133831016604e8410600b8410161715612cfe575081810a612272565b612d088383612c22565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612d3a57612d3a612b82565b029392505050565b600061226f8383612c83565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612d8657612d86612b82565b500290565b600082612dc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015612dd857612dd8612b82565b500390565b60005b83811015612df8578181015183820152602001612de0565b838111156125d45750506000910152565b60008251612e1b818460208701612ddd565b9190910192915050565b6020815260008251806020840152612e44816040850160208701612ddd565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220e553d66d03fe796be21a0d2fe4862c321cb3105aee3afe28587a61812e8591f964736f6c634300080f0033
Deployed Bytecode Sourcemap
482:14384:10:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11594:172;;;;;;:::i;:::-;;:::i;:::-;;1431:23;;;;;;;;;345:25:15;;;333:2;318:18;1431:23:10;;;;;;;;1748:44;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;994:25:15;;;1050:2;1035:18;;1028:34;;;;1078:18;;;1071:34;982:2;967:18;1748:44:10;792:319:15;1050:28:10;;;;;;6401:1422;;;;;;:::i;:::-;;:::i;1477:28::-;;;;;;8703:136;;;;;;:::i;:::-;;:::i;901:25::-;;;;;;;;;;;;;;;1281:14:15;;1274:22;1256:41;;1244:2;1229:18;901:25:10;1116:187:15;9121:406:10;;;;;;:::i;:::-;;:::i;1135:25::-;;;;;;3301:1407;;;;;;:::i;:::-;;:::i;1286:31::-;;;;;;1668:101:2;;;:::i;9611:86:10:-;;;:::i;1363:29::-;;;;;;1036:85:2;1082:7;1108:6;;;1036:85;;;2855:42:15;2843:55;;;2825:74;;2813:2;2798:18;1036:85:2;2679:226:15;964:31:10;;;;;;837:24;;;;;;;;;;;;10916:530;;;;;;:::i;:::-;;:::i;14611:112::-;;;;;;:::i;:::-;;:::i;9915:465::-;;;;;;:::i;:::-;;:::i;1215:30::-;;;;;;4714:1543;;;;;;:::i;:::-;;:::i;653:33::-;;;;;;;;;728:25;;;;;;;;;1658;;;;;;;;;1540:31;;;;;;2040:22;;;;;;;;;7958:633;;;:::i;14729:135::-;;;;;;:::i;:::-;;:::i;1918:198:2:-;;;;;;:::i;:::-;;:::i;11932:780:10:-;;;;;;:::i;:::-;;:::i;1602:25::-;;;;;;;;;10544:136;;;;;;:::i;:::-;;:::i;11594:172::-;1082:7:2;1108:6;1248:23;1108:6;719:10:5;1248:23:2;1240:68;;;;;;;4614:2:15;1240:68:2;;;4596:21:15;;;4633:18;;;4626:30;4692:34;4672:18;;;4665:62;4744:18;;1240:68:2;;;;;;;;;11678:14:10::1;:32:::0;;;11725:34:::1;::::0;345:25:15;;;11725:34:10::1;::::0;333:2:15;318:18;11725:34:10::1;;;;;;;;11594:172:::0;:::o;6401:1422::-;1744:1:3;2325:7;;:19;2317:63;;;;;;;4975:2:15;2317:63:3;;;4957:21:15;5014:2;4994:18;;;4987:30;5053:33;5033:18;;;5026:61;5104:18;;2317:63:3;4773:355:15;2317:63:3;1744:1;2455:7;:18;6501:10:10::1;6468:21;6492:20:::0;;;:8:::1;:20;::::0;;;;6530:11;;:22;-1:-1:-1;6530:22:10::1;6522:62;;;::::0;::::1;::::0;;5335:2:15;6522:62:10::1;::::0;::::1;5317:21:15::0;5374:2;5354:18;;;5347:30;5413:29;5393:18;;;5386:57;5460:18;;6522:62:10::1;5133:351:15::0;6522:62:10::1;6632:15;6621:8;;6602:4;:16;;;:27;;;;:::i;:::-;:45;6594:89;;;::::0;::::1;::::0;;6013:2:15;6594:89:10::1;::::0;::::1;5995:21:15::0;6052:2;6032:18;;;6025:30;6091:33;6071:18;;;6064:61;6142:18;;6594:89:10::1;5811:355:15::0;6594:89:10::1;6694:13;:11;:13::i;:::-;6718:15;6736:76;6796:4;:15;;;6736:55;6774:16;;6736:33;6752:16;;6736:4;:11;;;:15;;:33;;;;:::i;:::-;:37:::0;::::1;:55::i;:::-;:59:::0;::::1;:76::i;:::-;6718:94:::0;-1:-1:-1;6827:11:10;;6823:775:::1;;6919:11:::0;;7012:10:::1;::::0;7005:40:::1;::::0;;;;7034:10:::1;7005:40;::::0;::::1;2825:74:15::0;6888:28:10::1;::::0;7012:10:::1;;::::0;7005:28:::1;::::0;2798:18:15;;7005:40:10::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6970:75:::0;-1:-1:-1;7064:33:10::1;:20:::0;7089:7;7064:24:::1;:33::i;:::-;:38:::0;:70;::::1;;;;7133:1;7106:24;:28;7064:70;7060:528;;;7154:11;::::0;:54:::1;::::0;:11:::1;;7187:10;7200:7:::0;7154:24:::1;:54::i;:::-;7240:11:::0;;:24:::1;::::0;7256:7;7240:15:::1;:24::i;:::-;7226:38:::0;;7282:19:::1;::::0;;:72:::1;::::0;;;;7317:10:::1;7282:72:::0;;::::1;6534:74:15::0;;;;6624:18;;;6617:34;;;7282:19:10::1;;::::0;:34:::1;::::0;6507:18:15;;7282:72:10::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;7377:46:10::1;::::0;7407:15:::1;345:25:15::0;;7395:10:10::1;::::0;-1:-1:-1;7377:46:10::1;::::0;-1:-1:-1;333:2:15;318:18;7377:46:10::1;;;;;;;7060:528;;;7477:11:::0;;:24:::1;::::0;7493:7;7477:15:::1;:24::i;:::-;7463:38:::0;;7519:11:::1;::::0;:54:::1;::::0;:11:::1;;7552:10;7565:7:::0;7519:24:::1;:54::i;:::-;6840:758;;6823:775;7612:11:::0;;7608:80:::1;;7639:38;7657:10;7669:7;7639:17;:38::i;:::-;7754:16;::::0;7732::::1;::::0;7716:11;;:55:::1;::::0;7754:16;7716:33:::1;::::0;:11;:15:::1;:33::i;:55::-;7698:15;::::0;::::1;:73:::0;7787:29:::1;::::0;345:25:15;;;7796:10:10::1;::::0;7787:29:::1;::::0;333:2:15;318:18;7787:29:10::1;;;;;;;;-1:-1:-1::0;;1701:1:3;2628:22;;-1:-1:-1;6401:1422:10:o;8703:136::-;1082:7:2;1108:6;1248:23;1108:6;719:10:5;1248:23:2;1240:68;;;;;;;4614:2:15;1240:68:2;;;4596:21:15;;;4633:18;;;4626:30;4692:34;4672:18;;;4665:62;4744:18;;1240:68:2;4412:356:15;1240:68:2;8782:11:10::1;::::0;:50:::1;::::0;;;;8811:10:::1;8782:50;::::0;::::1;6534:74:15::0;6624:18;;;6617:34;;;8782:11:10::1;::::0;;::::1;::::0;:20:::1;::::0;6507:18:15;;8782:50:10::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;8703:136:::0;:::o;9121:406::-;1082:7:2;1108:6;1248:23;1108:6;719:10:5;1248:23:2;1240:68;;;;;;;4614:2:15;1240:68:2;;;4596:21:15;;;4633:18;;;4626:30;4692:34;4672:18;;;4665:62;4744:18;;1240:68:2;4412:356:15;1240:68:2;9256:11:10::1;::::0;::::1;::::0;;::::1;9231:37:::0;;::::1;::::0;9223:72:::1;;;::::0;::::1;::::0;;7114:2:15;9223:72:10::1;::::0;::::1;7096:21:15::0;7153:2;7133:18;;;7126:30;7192:24;7172:18;;;7165:52;7234:18;;9223:72:10::1;6912:346:15::0;9223:72:10::1;9338:11;::::0;::::1;::::0;;::::1;9313:37:::0;;::::1;::::0;9305:72:::1;;;::::0;::::1;::::0;;7465:2:15;9305:72:10::1;::::0;::::1;7447:21:15::0;7504:2;7484:18;;;7477:30;7543:24;7523:18;;;7516:52;7585:18;;9305:72:10::1;7263:346:15::0;9305:72:10::1;9388:69;:34;::::0;::::1;9431:10;9444:12:::0;9388:34:::1;:69::i;:::-;9473:47;::::0;;6564:42:15;6552:55;;6534:74;;6639:2;6624:18;;6617:34;;;9473:47:10::1;::::0;6507:18:15;9473:47:10::1;;;;;;;;9121:406:::0;;:::o;3301:1407::-;3623:13;;;;;;;3622:14;3614:46;;;;;;;7816:2:15;3614:46:10;;;7798:21:15;7855:2;7835:18;;;7828:30;7894:21;7874:18;;;7867:49;7933:18;;3614:46:10;7614:343:15;3614:46:10;3692:18;;;;3678:10;:32;3670:56;;;;;;;8164:2:15;3670:56:10;;;8146:21:15;8203:2;8183:18;;;8176:30;8242:13;8222:18;;;8215:41;8273:18;;3670:56:10;7962:335:15;3670:56:10;3779:13;:20;;3810:11;:26;;;;;;;;;;;;;;3846:11;:26;;;;;;;;;;;3882:14;:32;;;3924:10;:24;;;3958:13;:30;;;3998:8;:20;;;4028:7;:16;;;;;;;;;;;-1:-1:-1;4054:24:10;;;;;;;;;;;;;4089:46;;;;;3779:20;4089:46;;;4150:21;;4146:121;;4187:12;:19;;;;;;;;4220:16;:36;;;4146:121;4315:11;;:22;;;;;;;;4277:27;;4315:11;;;:20;;:22;;;;;;;;;;;;;;:11;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4307:31;;4277:61;;4378:2;4356:19;:24;4348:59;;;;;;;8782:2:15;4348:59:10;;;8764:21:15;8821:2;8801:18;;;8794:30;8860:24;8840:18;;;8833:52;8902:18;;4348:59:10;8580:346:15;4348:59:10;4450:36;4458:2;4466:19;4450:15;:36::i;:::-;4445:42;;:2;:42;:::i;:::-;4418:16;:70;4570:10;;4552:15;:28;4676:25;4694:6;4676:17;:25::i;:::-;3604:1104;3301:1407;;;;;;;;;:::o;1668:101:2:-;1082:7;1108:6;1248:23;1108:6;719:10:5;1248:23:2;1240:68;;;;;;;4614:2:15;1240:68:2;;;4596:21:15;;;4633:18;;;4626:30;4692:34;4672:18;;;4665:62;4744:18;;1240:68:2;4412:356:15;1240:68:2;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;9611:86:10:-;1082:7:2;1108:6;1248:23;1108:6;719:10:5;1248:23:2;1240:68;;;;;;;4614:2:15;1240:68:2;;;4596:21:15;;;4633:18;;;4626:30;4692:34;4672:18;;;4665:62;4744:18;;1240:68:2;4412:356:15;1240:68:2;9678:12:10::1;9662:13;:28:::0;9611:86::o;10916:530::-;1082:7:2;1108:6;1248:23;1108:6;719:10:5;1248:23:2;1240:68;;;;;;;4614:2:15;1240:68:2;;;4596:21:15;;;4633:18;;;4626:30;4692:34;4672:18;;;4665:62;4744:18;;1240:68:2;4412:356:15;1240:68:2;11045:14:10::1;11031:11;:28;11023:87;;;::::0;::::1;::::0;;10627:2:15;11023:87:10::1;::::0;::::1;10609:21:15::0;10666:2;10646:18;;;10639:30;10705:34;10685:18;;;10678:62;10776:16;10756:18;;;10749:44;10810:19;;11023:87:10::1;10425:410:15::0;11023:87:10::1;11143:11;11128:12;:26;11120:87;;;::::0;::::1;::::0;;11042:2:15;11120:87:10::1;::::0;::::1;11024:21:15::0;11081:2;11061:18;;;11054:30;11120:34;11100:18;;;11093:62;11191:18;11171;;;11164:46;11227:19;;11120:87:10::1;10840:412:15::0;11120:87:10::1;11218:10;:24:::0;;;11252:13:::1;:30:::0;;;11346:15:::1;:28:::0;;;11390:49:::1;::::0;;11431:25:15;;;11487:2;11472:18;;11465:34;;;11390:49:10::1;::::0;11404:18:15;11390:49:10::1;11257:248:15::0;14611:112:10;1082:7:2;1108:6;1248:23;1108:6;719:10:5;1248:23:2;1240:68;;;;;;;4614:2:15;1240:68:2;;;4596:21:15;;;4633:18;;;4626:30;4692:34;4672:18;;;4665:62;4744:18;;1240:68:2;4412:356:15;1240:68:2;14686:28:10::1;::::0;:20:::1;::::0;::::1;::::0;:28;::::1;;;::::0;14707:6;;14686:28:::1;::::0;;;14707:6;14686:20;:28;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;14611:112:::0;;:::o;9915:465::-;1082:7:2;1108:6;1248:23;1108:6;719:10:5;1248:23:2;1240:68;;;;;;;4614:2:15;1240:68:2;;;4596:21:15;;;4633:18;;;4626:30;4692:34;4672:18;;;4665:62;4744:18;;1240:68:2;4412:356:15;1240:68:2;10031:12:10::1;::::0;;;::::1;;;10023:36;;;::::0;::::1;::::0;;11712:2:15;10023:36:10::1;::::0;::::1;11694:21:15::0;11751:2;11731:18;;;11724:30;11790:13;11770:18;;;11763:41;11821:18;;10023:36:10::1;11510:335:15::0;10023:36:10::1;10073:13;10069:260;;;10130:16;;10110:17;:36;10102:73;;;::::0;::::1;::::0;;12052:2:15;10102:73:10::1;::::0;::::1;12034:21:15::0;12091:2;12071:18;;;12064:30;12130:26;12110:18;;;12103:54;12174:18;;10102:73:10::1;11850:348:15::0;10102:73:10::1;10189:16;:36:::0;;;10069:260:::1;;;10256:12;:28:::0;;;::::1;::::0;;::::1;;;;::::0;;-1:-1:-1;10298:16:10::1;:20:::0;10069:260:::1;10343:30;10356:16;;10343:30;;;;345:25:15::0;;333:2;318:18;;199:177;4714:1543:10;1744:1:3;2325:7;;:19;2317:63;;;;;;;4975:2:15;2317:63:3;;;4957:21:15;5014:2;4994:18;;;4987:30;5053:33;5033:18;;;5026:61;5104:18;;2317:63:3;4773:355:15;2317:63:3;1744:1;2455:7;:18;4813:10:10::1;4780:21;4804:20:::0;;;:8:::1;:20;::::0;;;;4839:12:::1;::::0;;;::::1;;;4835:123;;;4903:16;::::0;4887:11;;4875:24:::1;::::0;:7;;:11:::1;:24::i;:::-;:44;;4867:80;;;::::0;::::1;::::0;;12405:2:15;4867:80:10::1;::::0;::::1;12387:21:15::0;12444:2;12424:18;;;12417:30;12483:25;12463:18;;;12456:53;12526:18;;4867:80:10::1;12203:347:15::0;4867:80:10::1;4968:13;:11;:13::i;:::-;4996:11:::0;;:15;4992:241:::1;;5027:15;5045:76;5105:4;:15;;;5045:55;5083:16;;5045:33;5061:16;;5045:4;:11;;;:15;;:33;;;;:::i;:76::-;5027:94:::0;-1:-1:-1;5139:11:10;;5135:88:::1;;5170:38;5188:10;5200:7;5170:17;:38::i;:::-;5013:220;4992:241;5247:11:::0;;5243:880:::1;;5339:11:::0;;5432:10:::1;::::0;5425:40:::1;::::0;;;;5454:10:::1;5425:40;::::0;::::1;2825:74:15::0;5308:28:10::1;::::0;5432:10:::1;;::::0;5425:28:::1;::::0;2798:18:15;;5425:40:10::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5390:75:::0;-1:-1:-1;5484:25:10;;:58;::::1;;;-1:-1:-1::0;5513:29:10;;5484:58:::1;5480:633;;;5562:11;::::0;:73:::1;::::0;:11:::1;;5599:10;5620:4;5627:7:::0;5562:28:::1;:73::i;:::-;5667:11:::0;;:24:::1;::::0;5683:7;5667:15:::1;:24::i;:::-;5653:38:::0;;5709:19:::1;::::0;;:49:::1;::::0;;;;5744:10:::1;5709:49:::0;;::::1;6534:74:15::0;;;;5709:19:10;6624:18:15;;;6617:34;5709:19:10::1;;::::0;:34:::1;::::0;6507:18:15;;5709:49:10::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;5795:15:10::1;5776:16;::::0;::::1;:34:::0;;;5833:44:::1;::::0;345:25:15;;;5849:10:10::1;::::0;-1:-1:-1;5833:44:10::1;::::0;-1:-1:-1;333:2:15;318:18;5833:44:10::1;;;;;;;5480:633;;;5917:11;::::0;:73:::1;::::0;:11:::1;;5954:10;5975:4;5982:7:::0;5917:28:::1;:73::i;:::-;6022:11:::0;;:24:::1;::::0;6038:7;6022:15:::1;:24::i;:::-;6008:38:::0;;6083:15:::1;6064:16;::::0;::::1;:34:::0;5480:633:::1;5260:863;;5243:880;6189:16;::::0;6167::::1;::::0;6151:11;;:55:::1;::::0;6189:16;6151:33:::1;::::0;:11;:15:::1;:33::i;:55::-;6133:15;::::0;::::1;:73:::0;6222:28:::1;::::0;345:25:15;;;6230:10:10::1;::::0;6222:28:::1;::::0;333:2:15;318:18;6222:28:10::1;;;;;;;-1:-1:-1::0;;1701:1:3;2628:22;;4714:1543:10:o;7958:633::-;1744:1:3;2325:7;;:19;2317:63;;;;;;;4975:2:15;2317:63:3;;;4957:21:15;5014:2;4994:18;;;4987:30;5053:33;5033:18;;;5026:61;5104:18;;2317:63:3;4773:355:15;2317:63:3;1744:1;2455:7;:18;8052:10:10::1;8019:21;8043:20:::0;;;:8:::1;:20;::::0;;;;;8100:11;;8163:10:::1;::::0;8156:40;;;;;::::1;::::0;::::1;2825:74:15::0;;;;8043:20:10;;8100:11;;8019:21;8043:20:::1;8163:10;::::0;8156:28:::1;::::0;2798:18:15;;8156:40:10::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8220:1;8206:15:::0;;;8231::::1;::::0;::::1;:19:::0;8121:75;-1:-1:-1;8265:20:10;;8261:266:::1;;8301:11;::::0;:63:::1;::::0;:11:::1;;8334:10;8347:16:::0;8301:24:::1;:63::i;:::-;8378:19;::::0;;:72:::1;::::0;;;;8413:10:::1;8378:72:::0;;::::1;6534:74:15::0;;;;6624:18;;;6617:34;;;8378:19:10::1;;::::0;:34:::1;::::0;6507:18:15;;8378:72:10::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;8469:46:10::1;::::0;8499:15:::1;345:25:15::0;;8487:10:10::1;::::0;-1:-1:-1;8469:46:10::1;::::0;-1:-1:-1;333:2:15;318:18;8469:46:10::1;;;;;;;8261:266;8572:11:::0;;8542:42:::1;::::0;345:25:15;;;8560:10:10::1;::::0;8542:42:::1;::::0;333:2:15;318:18;8542:42:10::1;199:177:15::0;14729:135:10;1082:7:2;1108:6;1248:23;1108:6;719:10:5;1248:23:2;1240:68;;;;;;;4614:2:15;1240:68:2;;;4596:21:15;;;4633:18;;;4626:30;4692:34;4672:18;;;4665:62;4744:18;;1240:68:2;4412:356:15;1240:68:2;14810:7:10::1;:21:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;;14841:6:::1;:16:::0;14729:135::o;1918:198:2:-;1082:7;1108:6;1248:23;1108:6;719:10:5;1248:23:2;1240:68;;;;;;;4614:2:15;1240:68:2;;;4596:21:15;;;4633:18;;;4626:30;4692:34;4672:18;;;4665:62;4744:18;;1240:68:2;4412:356:15;1240:68:2;2006:22:::1;::::0;::::1;1998:73;;;::::0;::::1;::::0;;13067:2:15;1998:73:2::1;::::0;::::1;13049:21:15::0;13106:2;13086:18;;;13079:30;13145:34;13125:18;;;13118:62;13216:8;13196:18;;;13189:36;13242:19;;1998:73:2::1;12865:402:15::0;1998:73:2::1;2081:28;2100:8;2081:18;:28::i;:::-;1918:198:::0;:::o;11932:780:10:-;12036:15;;;;11993:7;12036:15;;;:8;:15;;;;;;12089:11;;:36;;;;;12119:4;12089:36;;;2825:74:15;11993:7:10;;12036:15;;11993:7;;12089:11;;;;:21;;2798:18:15;;12089:36:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12061:64;;12154:15;;12139:12;:30;:56;;;;-1:-1:-1;12173:22:10;;;12139:56;12135:571;;;12211:18;12232:45;12247:15;;12264:12;12232:14;:45::i;:::-;12211:66;;12291:19;12313:30;12328:14;;12313:10;:14;;:30;;;;:::i;:::-;12291:52;;12357:29;12401:78;12422:56;12460:17;12422:33;12438:16;;12422:11;:15;;:33;;;;:::i;:56::-;12401:16;;;:20;:78::i;:::-;12357:122;;12500:81;12565:4;:15;;;12500:60;12543:16;;12500:38;12516:21;12500:4;:11;;;:15;;:38;;;;:::i;:81::-;12493:88;11932:780;-1:-1:-1;;;;;;;11932:780:10:o;12135:571::-;12619:76;12679:4;:15;;;12619:55;12657:16;;12619:33;12635:16;;12619:4;:11;;;:15;;:33;;;;:::i;:76::-;12612:83;11932:780;-1:-1:-1;;;;11932:780:10:o;10544:136::-;1082:7:2;1108:6;1248:23;1108:6;719:10:5;1248:23:2;1240:68;;;;;;;4614:2:15;1240:68:2;;;4596:21:15;;;4633:18;;;4626:30;4692:34;4672:18;;;4665:62;4744:18;;1240:68:2;4412:356:15;1240:68:2;10616:8:10::1;:20:::0;;;10651:22:::1;::::0;345:25:15;;;10651:22:10::1;::::0;333:2:15;318:18;10651:22:10::1;199:177:15::0;13375:715:10;13437:15;;13421:12;:31;13417:68;;13375:715::o;13417:68::-;13523:11;;:36;;;;;13553:4;13523:36;;;2825:74:15;13495:25:10;;13523:11;;;:21;;2798:18:15;;13523:36:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13495:64;;13574:17;13595:1;13574:22;13570:103;;-1:-1:-1;13630:12:10;13612:15;:30;13375:715::o;13570:103::-;13683:18;13704:45;13719:15;;13736:12;13704:14;:45::i;:::-;13683:66;;13759:19;13781:30;13796:14;;13781:10;:14;;:30;;;;:::i;:::-;13821:11;;13838:7;;13863:6;;13759:52;;-1:-1:-1;13821:11:10;;;;;:16;;13838:7;;;;13847:34;;13875:5;;13847:23;;13759:52;;13847:15;:23::i;:34::-;13821:61;;;;;;;;;;6564:42:15;6552:55;;;13821:61:10;;;6534:74:15;6624:18;;;6617:34;6507:18;;13821:61:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13892:11:10;;:44;;;;;13917:4;13892:44;;;6534:74:15;6624:18;;;6617:34;;;13892:11:10;;;;;-1:-1:-1;13892:16:10;;-1:-1:-1;6507:18:15;;13892:44:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13965:78;13986:56;14024:17;13986:33;14002:16;;13986:11;:15;;:33;;;;:::i;13965:78::-;13946:16;:97;-1:-1:-1;;14071:12:10;14053:15;:30;-1:-1:-1;13375:715:10:o;3451:96:9:-;3509:7;3535:5;3539:1;3535;:5;:::i;:::-;3528:12;;3451:96;;;;;:::o;3836:::-;3894:7;3920:5;3924:1;3920;:5;:::i;3108:96::-;3166:7;3192:5;3196:1;3192;:5;:::i;751:205:14:-;890:58;;6564:42:15;6552:55;;890:58:14;;;6534:74:15;6624:18;;;6617:34;;;863:86:14;;883:5;;913:23;;6507:18:15;;890:58:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;863:19;:86::i;12825:454:10:-;12924:11;;:36;;;;;12954:4;12924:36;;;2825:74:15;12901:20:10;;12924:11;;;:21;;2798:18:15;;12924:36:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12901:59;;12970:20;13022:12;13012:7;:22;13008:193;;;13068:11;;:39;;;;;:11;6552:55:15;;;13068:39:10;;;6534:74:15;6624:18;;;6617:34;;;13068:11:10;;;;:20;;6507:18:15;;13068:39:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13050:57;;13008:193;;;13156:11;;:34;;;;;:11;6552:55:15;;;13156:34:10;;;6534:74:15;6624:18;;;6617:34;;;13156:11:10;;;;:20;;6507:18:15;;13156:34:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;13138:52;;13008:193;13218:15;13210:62;;;;;;;14116:2:15;13210:62:10;;;14098:21:15;14155:2;14135:18;;;14128:30;14194:34;14174:18;;;14167:62;14265:4;14245:18;;;14238:32;14287:19;;13210:62:10;13914:398:15;13210:62:10;12891:388;;12825:454;;:::o;2270:187:2:-;2343:16;2362:6;;;2378:17;;;;;;;;;;2410:40;;2362:6;;;;;;;2410:40;;2343:16;2410:40;2333:124;2270:187;:::o;2741:96:9:-;2799:7;2825:5;2829:1;2825;:5;:::i;962:241:14:-;1127:68;;14529:42:15;14598:15;;;1127:68:14;;;14580:34:15;14650:15;;14630:18;;;14623:43;14682:18;;;14675:34;;;1100:96:14;;1120:5;;1150:27;;14492:18:15;;1127:68:14;14317:398:15;14257:301:10;14332:7;14362:13;;14355:3;:20;14351:201;;14398:14;:3;14406:5;14398:7;:14::i;:::-;14391:21;;;;14351:201;14442:13;;14433:5;:22;14429:123;;-1:-1:-1;14478:1:10;14471:8;;14429:123;14517:13;;:24;;14535:5;14517:17;:24::i;3219:763:14:-;3638:23;3664:69;3692:4;3664:69;;;;;;;;;;;;;;;;;3672:5;3664:27;;;;:69;;;;;:::i;:::-;3747:17;;3638:95;;-1:-1:-1;3747:21:14;3743:233;;3899:10;3888:30;;;;;;;;;;;;:::i;:::-;3880:85;;;;;;;14922:2:15;3880:85:14;;;14904:21:15;14961:2;14941:18;;;14934:30;15000:34;14980:18;;;14973:62;15071:12;15051:18;;;15044:40;15101:19;;3880:85:14;14720:406:15;3861:223:4;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;;3861:223;;;;;;:::o;4948:499::-;5113:12;5170:5;5145:21;:30;;5137:81;;;;;;;15333:2:15;5137:81:4;;;15315:21:15;15372:2;15352:18;;;15345:30;15411:34;15391:18;;;15384:62;15482:8;15462:18;;;15455:36;15508:19;;5137:81:4;15131:402:15;5137:81:4;1465:19;;;;5228:60;;;;;;;15740:2:15;5228:60:4;;;15722:21:15;15779:2;15759:18;;;15752:30;15818:31;15798:18;;;15791:59;15867:18;;5228:60:4;15538:353:15;5228:60:4;5300:12;5314:23;5341:6;:11;;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;7707;7735:7;7731:516;;;-1:-1:-1;7765:10:4;7758:17;;7731:516;7876:17;;:21;7872:365;;8070:10;8064:17;8130:15;8117:10;8113:2;8109:19;8102:44;7872:365;8209:12;8202:20;;;;;;;;;;;:::i;14:180:15:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:15;;14:180;-1:-1:-1;14:180:15:o;381:154::-;467:42;460:5;456:54;449:5;446:65;436:93;;525:1;522;515:12;540:247;599:6;652:2;640:9;631:7;627:23;623:32;620:52;;;668:1;665;658:12;620:52;707:9;694:23;726:31;751:5;726:31;:::i;1308:315::-;1376:6;1384;1437:2;1425:9;1416:7;1412:23;1408:32;1405:52;;;1453:1;1450;1443:12;1405:52;1492:9;1479:23;1511:31;1536:5;1511:31;:::i;:::-;1561:5;1613:2;1598:18;;;;1585:32;;-1:-1:-1;;;1308:315:15:o;1628:1046::-;1789:6;1797;1805;1813;1821;1829;1837;1845;1853;1906:3;1894:9;1885:7;1881:23;1877:33;1874:53;;;1923:1;1920;1913:12;1874:53;1962:9;1949:23;1981:31;2006:5;1981:31;:::i;:::-;2031:5;-1:-1:-1;2088:2:15;2073:18;;2060:32;2101:33;2060:32;2101:33;:::i;:::-;2153:7;-1:-1:-1;2207:2:15;2192:18;;2179:32;;-1:-1:-1;2258:2:15;2243:18;;2230:32;;-1:-1:-1;2309:3:15;2294:19;;2281:33;;-1:-1:-1;2361:3:15;2346:19;;2333:33;;-1:-1:-1;2413:3:15;2398:19;;2385:33;;-1:-1:-1;2470:3:15;2455:19;;2442:33;2484;2442;2484;:::i;:::-;2536:7;-1:-1:-1;2595:3:15;2580:19;;2567:33;2609;2567;2609;:::i;:::-;2661:7;2651:17;;;1628:1046;;;;;;;;;;;:::o;2910:248::-;2978:6;2986;3039:2;3027:9;3018:7;3014:23;3010:32;3007:52;;;3055:1;3052;3045:12;3007:52;-1:-1:-1;;3078:23:15;;;3148:2;3133:18;;;3120:32;;-1:-1:-1;2910:248:15:o;3163:315::-;3231:6;3239;3292:2;3280:9;3271:7;3267:23;3263:32;3260:52;;;3308:1;3305;3298:12;3260:52;3344:9;3331:23;3321:33;;3404:2;3393:9;3389:18;3376:32;3417:31;3442:5;3417:31;:::i;:::-;3467:5;3457:15;;;3163:315;;;;;:::o;3483:118::-;3569:5;3562:13;3555:21;3548:5;3545:32;3535:60;;3591:1;3588;3581:12;3606:309;3671:6;3679;3732:2;3720:9;3711:7;3707:23;3703:32;3700:52;;;3748:1;3745;3738:12;3700:52;3787:9;3774:23;3806:28;3828:5;3806:28;:::i;5489:184::-;5541:77;5538:1;5531:88;5638:4;5635:1;5628:15;5662:4;5659:1;5652:15;5678:128;5718:3;5749:1;5745:6;5742:1;5739:13;5736:39;;;5755:18;;:::i;:::-;-1:-1:-1;5791:9:15;;5678:128::o;6171:184::-;6241:6;6294:2;6282:9;6273:7;6269:23;6265:32;6262:52;;;6310:1;6307;6300:12;6262:52;-1:-1:-1;6333:16:15;;6171:184;-1:-1:-1;6171:184:15:o;6662:245::-;6729:6;6782:2;6770:9;6761:7;6757:23;6753:32;6750:52;;;6798:1;6795;6788:12;6750:52;6830:9;6824:16;6849:28;6871:5;6849:28;:::i;8302:273::-;8370:6;8423:2;8411:9;8402:7;8398:23;8394:32;8391:52;;;8439:1;8436;8429:12;8391:52;8471:9;8465:16;8521:4;8514:5;8510:16;8503:5;8500:27;8490:55;;8541:1;8538;8531:12;8931:482;9020:1;9063:5;9020:1;9077:330;9098:7;9088:8;9085:21;9077:330;;;9217:4;9149:66;9145:77;9139:4;9136:87;9133:113;;;9226:18;;:::i;:::-;9276:7;9266:8;9262:22;9259:55;;;9296:16;;;;9259:55;9375:22;;;;9335:15;;;;9077:330;;;9081:3;8931:482;;;;;:::o;9418:866::-;9467:5;9497:8;9487:80;;-1:-1:-1;9538:1:15;9552:5;;9487:80;9586:4;9576:76;;-1:-1:-1;9623:1:15;9637:5;;9576:76;9668:4;9686:1;9681:59;;;;9754:1;9749:130;;;;9661:218;;9681:59;9711:1;9702:10;;9725:5;;;9749:130;9786:3;9776:8;9773:17;9770:43;;;9793:18;;:::i;:::-;-1:-1:-1;;9849:1:15;9835:16;;9864:5;;9661:218;;9963:2;9953:8;9950:16;9944:3;9938:4;9935:13;9931:36;9925:2;9915:8;9912:16;9907:2;9901:4;9898:12;9894:35;9891:77;9888:159;;;-1:-1:-1;10000:19:15;;;10032:5;;9888:159;10079:34;10104:8;10098:4;10079:34;:::i;:::-;10209:6;10141:66;10137:79;10128:7;10125:92;10122:118;;;10220:18;;:::i;:::-;10258:20;;9418:866;-1:-1:-1;;;9418:866:15:o;10289:131::-;10349:5;10378:36;10405:8;10399:4;10378:36;:::i;13272:228::-;13312:7;13438:1;13370:66;13366:74;13363:1;13360:81;13355:1;13348:9;13341:17;13337:105;13334:131;;;13445:18;;:::i;:::-;-1:-1:-1;13485:9:15;;13272:228::o;13505:274::-;13545:1;13571;13561:189;;13606:77;13603:1;13596:88;13707:4;13704:1;13697:15;13735:4;13732:1;13725:15;13561:189;-1:-1:-1;13764:9:15;;13505:274::o;13784:125::-;13824:4;13852:1;13849;13846:8;13843:34;;;13857:18;;:::i;:::-;-1:-1:-1;13894:9:15;;13784:125::o;15896:258::-;15968:1;15978:113;15992:6;15989:1;15986:13;15978:113;;;16068:11;;;16062:18;16049:11;;;16042:39;16014:2;16007:10;15978:113;;;16109:6;16106:1;16103:13;16100:48;;;-1:-1:-1;;16144:1:15;16126:16;;16119:27;15896:258::o;16159:274::-;16288:3;16326:6;16320:13;16342:53;16388:6;16383:3;16376:4;16368:6;16364:17;16342:53;:::i;:::-;16411:16;;;;;16159:274;-1:-1:-1;;16159:274:15:o;16438:442::-;16587:2;16576:9;16569:21;16550:4;16619:6;16613:13;16662:6;16657:2;16646:9;16642:18;16635:34;16678:66;16737:6;16732:2;16721:9;16717:18;16712:2;16704:6;16700:15;16678:66;:::i;:::-;16796:2;16784:15;16801:66;16780:88;16765:104;;;;16871:2;16761:113;;16438:442;-1:-1:-1;;16438:442:15:o
Swarm Source
ipfs://e553d66d03fe796be21a0d2fe4862c321cb3105aee3afe28587a61812e8591f9
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.