Source Code
Overview
GLMR Balance
GLMR Value
$0.00View more zero value Internal Transactions in Advanced View mode
Cross-Chain Transactions
Loading...
Loading
Contract Name:
OperationalStaking
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 1000000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol";
contract OperationalStaking is OwnableUpgradeable {
using SafeERC20Upgradeable for IERC20Upgradeable;
uint256 public constant DIVIDER = 10**18; // 18 decimals used for scaling rates
uint128 public constant REWARD_REDEEM_THRESHOLD = 10**8; // minimum number of tokens that can be redeemed
IERC20Upgradeable public CQT;
uint128 public rewardPool; // how many tokens are allocated for rewards
uint128 public validatorCoolDown; // how many blocks until validator unstaking is unlocked
uint128 public delegatorCoolDown; // how many blocks until delegator unstaking is unlocked
uint128 public maxCapMultiplier; // *see readme
uint128 public validatorMaxStake; // how many tokens validators can stake at most
address public stakingManager;
uint128 public validatorsN; // number of validators, used to get validator ids
mapping(uint128 => Validator) internal _validators; // id -> validator instance
struct Staking {
uint128 shares; // # of validator shares that the delegator owns
uint128 staked; // # of CQT that a delegator delegated originally through stake() transaction
}
struct Unstaking {
uint128 coolDownEnd; // epoch when unstaking can be redeemed
uint128 amount; // # of unstaked CQT
}
struct Validator {
uint128 commissionAvailableToRedeem;
uint128 exchangeRate; // validator exchange rate
address _address; // wallet address of the operator which is mapped to the validator instance
uint128 delegated; // track amount of tokens delegated
uint128 totalShares; // total number of validator shares
uint128 commissionRate;
uint256 disabledAtBlock;
mapping(address => Staking) stakings;
mapping(address => Unstaking[]) unstakings;
}
event Initialized(address cqt, uint128 validatorCoolDown, uint128 delegatorCoolDown, uint128 maxCapMultiplier, uint128 validatorMaxStake);
event RewardTokensDeposited(uint128 amount);
event ValidatorAdded(uint128 indexed id, uint128 commissionRate, address indexed validator);
event Staked(uint128 indexed validatorId, address delegator, uint128 amount);
event Unstaked(uint128 indexed validatorId, address indexed delegator, uint128 amount, uint128 unstakeId);
event RecoveredUnstake(uint128 indexed validatorId, address indexed delegator, uint128 amount, uint128 unstakingId);
event UnstakeRedeemed(uint128 indexed validatorId, address indexed delegator, uint128 indexed unstakeId, uint128 amount);
event AllocatedTokensTaken(uint128 amount);
event RewardFailedDueLowPool(uint128 indexed validatorId, uint128 amount);
event RewardFailedDueZeroStake(uint128 indexed validatorId, uint128 amount);
event RewardRedeemed(uint128 indexed validatorId, address indexed beneficiary, uint128 amount);
event CommissionRewardRedeemed(uint128 indexed validatorId, address indexed beneficiary, uint128 amount);
event StakingManagerAddressChanged(address indexed operationalManager);
event ValidatorCommissionRateChanged(uint128 indexed validatorId, uint128 amount);
event ValidatorMaxCapChanged(uint128 amount);
event ValidatorDisabled(uint128 indexed validatorId, uint256 blockNumber);
event Redelegated(uint128 indexed oldValidatorId, uint128 indexed newValidatorId, address indexed delegator, uint128 amount, uint128 unstakingId);
event MaxCapMultiplierChanged(uint128 newMaxCapMultiplier);
event ValidatorEnabled(uint128 indexed validatorId);
event ValidatorAddressChanged(uint128 indexed validatorId, address indexed newAddress);
modifier onlyStakingManager() {
require(stakingManager == msg.sender, "Caller is not stakingManager");
_;
}
function initialize(
address cqt,
uint128 dCoolDown,
uint128 vCoolDown,
uint128 maxCapM,
uint128 vMaxStake
) external initializer {
__Ownable_init();
validatorCoolDown = vCoolDown; // 180*6857 = ~ 6 months
delegatorCoolDown = dCoolDown; // 28*6857 = ~ 28 days
maxCapMultiplier = maxCapM;
validatorMaxStake = vMaxStake;
CQT = IERC20Upgradeable(cqt);
emit Initialized(cqt, vCoolDown, dCoolDown, maxCapM, vMaxStake);
}
function setStakingManagerAddress(address newAddress) external onlyOwner {
require(newAddress != address(0), "Invalid address");
stakingManager = newAddress;
emit StakingManagerAddressChanged(newAddress);
}
/*
* Transfer CQT from the owner to the contract for reward allocation
*/
function depositRewardTokens(uint128 amount) external onlyOwner {
require(amount > 0, "Amount is 0");
unchecked {
rewardPool += amount;
}
_transferToContract(msg.sender, amount);
emit RewardTokensDeposited(amount);
}
/*
* Transfer reward CQT from the contract to the owner
*/
function takeOutRewardTokens(uint128 amount) external onlyOwner {
require(amount > 0, "Amount is 0");
require(amount <= rewardPool, "Reward pool is too small");
unchecked {
rewardPool -= amount;
}
emit AllocatedTokensTaken(amount);
_transferFromContract(msg.sender, amount);
}
/*
* Updates validator max cap multiplier that determines how many tokens can be delegated
*/
function setMaxCapMultiplier(uint128 newMaxCapMultiplier) external onlyOwner {
require(newMaxCapMultiplier > 0, "Must be greater than 0");
maxCapMultiplier = newMaxCapMultiplier;
emit MaxCapMultiplierChanged(newMaxCapMultiplier);
}
/*
* Updates maximum number of tokens that a validator can stake
*/
function setValidatorMaxStake(uint128 maxStake) external onlyOwner {
require(maxStake > 0, "Provided max stake is 0");
validatorMaxStake = maxStake;
emit ValidatorMaxCapChanged(maxStake);
}
/*
* Adds new validator instance
*/
function addValidator(address validator, uint128 commissionRate) external onlyStakingManager returns (uint256 id) {
require(commissionRate < DIVIDER, "Rate must be less than 100%");
require(validator != address(0), "Validator address is 0");
Validator storage v = _validators[validatorsN]; // use current number of validators for the id of a new validator instance
v._address = validator;
v.exchangeRate = uint128(DIVIDER); // make it 1:1 initially
v.commissionRate = commissionRate;
v.disabledAtBlock = 1; // set it to 1 to indicate that the validator is disabled
emit ValidatorAdded(validatorsN, commissionRate, validator);
unchecked {
validatorsN += 1;
}
return validatorsN - 1;
}
/*
* Reward emission
*/
function rewardValidators(uint128[] calldata ids, uint128[] calldata amounts) external onlyStakingManager {
require(ids.length == amounts.length, "Given ids and amounts arrays must be of the same length");
uint128 newRewardPool = rewardPool;
uint128 amount;
uint128 validatorId;
uint128 commissionPaid;
for (uint256 j = 0; j < ids.length; j++) {
amount = amounts[j];
validatorId = ids[j];
// make sure there are enough tokens in the reward pool
if (newRewardPool < amount) {
emit RewardFailedDueLowPool(validatorId, amount);
} else {
Validator storage v = _validators[validatorId];
// make sure validator has tokens staked (nothing was unstaked right before the reward emission)
uint256 totalShares = uint256(v.totalShares);
if (totalShares == 0) {
emit RewardFailedDueZeroStake(validatorId, amount);
} else {
commissionPaid = uint128((uint256(amount) * uint256(v.commissionRate)) / DIVIDER);
v.exchangeRate += uint128(((amount - commissionPaid) * DIVIDER) / totalShares); // distribute the tokens by increasing the exchange rate
// commission is not compounded
// commisison is distributed under the validator instance
v.commissionAvailableToRedeem += commissionPaid;
newRewardPool -= amount;
}
}
}
rewardPool = newRewardPool; // can never access these tokens anymore, reserved for validator rewards
}
/*
* Disables validator instance starting from the given block
*/
function disableValidator(uint128 validatorId, uint256 blockNumber) external onlyStakingManager {
require(validatorId < validatorsN, "Invalid validator");
require(blockNumber > 0, "Disable block cannot be 0");
_validators[validatorId].disabledAtBlock = blockNumber;
emit ValidatorDisabled(validatorId, blockNumber);
}
/*
* Enables validator instance by setting the disabledAtBlock to 0
*/
function enableValidator(uint128 validatorId) external onlyStakingManager {
require(validatorId < validatorsN, "Invalid validator");
_validators[validatorId].disabledAtBlock = 0;
emit ValidatorEnabled(validatorId);
}
/*
* Updates validator comission rate
* Commission rate is a number between 0 and 10^18 (0%-100%)
*/
function setValidatorCommissionRate(uint128 validatorId, uint128 amount) external onlyOwner {
require(validatorId < validatorsN, "Invalid validator");
require(amount < DIVIDER, "Rate must be less than 100%");
_validators[validatorId].commissionRate = amount;
emit ValidatorCommissionRateChanged(validatorId, amount);
}
/*
* Used to transfer CQT from delegators, validators, and the owner to the contract
*/
function _transferToContract(address from, uint128 amount) internal {
CQT.safeTransferFrom(from, address(this), amount);
}
/*
* Used to transfer CQT from contract, for reward redemption or transferring out unstaked tokens
*/
function _transferFromContract(address to, uint128 amount) internal {
CQT.safeTransfer(to, amount);
}
/*
* Used to convert validator shares to CQT
*/
function _sharesToTokens(uint128 sharesN, uint128 rate) internal pure returns (uint128) {
return uint128((uint256(sharesN) * uint256(rate)) / DIVIDER);
}
/*
* Used to convert CQT to validator shares
*/
function _tokensToShares(uint128 amount, uint128 rate) internal pure returns (uint128) {
return uint128((uint256(amount) * DIVIDER) / uint256(rate));
}
/*
* Delegates tokens under the provided validator
*/
function stake(uint128 validatorId, uint128 amount) external {
_stake(validatorId, amount, true);
}
/*
* withTransfer is set to false when delegators recover unstaked or redelegated tokens.
* These tokens are already in the contract.
*/
function _stake(
uint128 validatorId,
uint128 amount,
bool withTransfer
) internal {
require(validatorId < validatorsN, "Invalid validator");
require(amount >= REWARD_REDEEM_THRESHOLD, "Stake amount is too small");
Validator storage v = _validators[validatorId];
bool isValidator = msg.sender == v._address;
// validators should be able to stake if they are disabled.
if (!isValidator) require(v.disabledAtBlock == 0, "Validator is disabled");
uint128 sharesAdd = _tokensToShares(amount, v.exchangeRate);
Staking storage s = v.stakings[msg.sender];
if (isValidator) {
// the compounded rewards are not included in max stake check
// hence we use s.staked instead of s.shares for valueStaked calculation
uint128 valueStaked = s.staked + amount;
require(valueStaked <= validatorMaxStake, "Validator max stake exceeded");
} else {
// cannot stake more than validator delegation max cap
uint128 delegationMaxCap = v.stakings[v._address].staked * maxCapMultiplier;
uint128 newDelegated = v.delegated + amount;
require(newDelegated <= delegationMaxCap, "Validator max delegation exceeded");
v.delegated = newDelegated;
}
// "buy/mint" shares
v.totalShares += sharesAdd;
s.shares += sharesAdd;
// keep track of staked tokens
s.staked += amount;
if (withTransfer) _transferToContract(msg.sender, amount);
emit Staked(validatorId, msg.sender, amount);
}
/*
* Undelegates tokens from the provided validator
*/
function unstake(uint128 validatorId, uint128 amount) external {
require(validatorId < validatorsN, "Invalid validator");
require(amount >= REWARD_REDEEM_THRESHOLD, "Unstake amount is too small");
Validator storage v = _validators[validatorId];
Staking storage s = v.stakings[msg.sender];
require(s.staked >= amount, "Staked < amount provided");
bool isValidator = msg.sender == v._address;
if (isValidator && v.disabledAtBlock == 0) {
// validators will have to disable themselves if they want to unstake tokens below delegation max cap
uint128 newValidatorMaxCap = (s.staked - amount) * maxCapMultiplier;
require(v.delegated <= newValidatorMaxCap, "Cannot unstake beyond max cap");
}
if (!isValidator) {
v.delegated -= amount;
}
uint128 sharesRemove = _tokensToShares(amount, v.exchangeRate);
// "sell/burn" shares
// sometimes due to conversion inconsistencies shares to remove might end up being bigger than shares stored
// so we have to reassign it to allow the full unstake
if (sharesRemove > s.shares) sharesRemove = s.shares;
unchecked {
s.shares -= sharesRemove;
}
v.totalShares -= sharesRemove;
// remove staked tokens
unchecked {
s.staked -= amount;
}
// create unstaking instance
uint128 coolDownEnd = uint128(v.disabledAtBlock != 0 ? v.disabledAtBlock : block.number);
unchecked {
coolDownEnd += (isValidator ? validatorCoolDown : delegatorCoolDown);
}
uint128 unstakeId = uint128(v.unstakings[msg.sender].length);
v.unstakings[msg.sender].push(Unstaking(coolDownEnd, amount));
emit Unstaked(validatorId, msg.sender, amount, unstakeId);
}
/*
* Restakes unstaked tokens
*/
function recoverUnstaking(
uint128 amount,
uint128 validatorId,
uint128 unstakingId
) external {
require(validatorId < validatorsN, "Invalid validator");
require(_validators[validatorId].unstakings[msg.sender].length > unstakingId, "Unstaking does not exist");
Unstaking storage us = _validators[validatorId].unstakings[msg.sender][unstakingId];
require(us.amount >= amount, "Unstaking has less tokens");
unchecked {
us.amount -= amount;
}
// set cool down end to 0 to release gas if new unstaking amount is 0
if (us.amount == 0) us.coolDownEnd = 0;
emit RecoveredUnstake(validatorId, msg.sender, amount, unstakingId);
_stake(validatorId, amount, false);
}
/*
* Transfers out unlocked unstaked tokens back to the delegator
*/
function transferUnstakedOut(
uint128 amount,
uint128 validatorId,
uint128 unstakingId
) external {
require(validatorId < validatorsN, "Invalid validator");
require(_validators[validatorId].unstakings[msg.sender].length > unstakingId, "Unstaking does not exist");
Unstaking storage us = _validators[validatorId].unstakings[msg.sender][unstakingId];
require(uint128(block.number) > us.coolDownEnd, "Cooldown period has not ended");
require(us.amount >= amount, "Amount is too high");
unchecked {
us.amount -= amount;
}
// set cool down end to 0 to release gas if new unstaking amount is 0
if (us.amount == 0) us.coolDownEnd = 0;
emit UnstakeRedeemed(validatorId, msg.sender, unstakingId, amount);
_transferFromContract(msg.sender, amount);
}
/*
* Redeems all available rewards
*/
function redeemAllRewards(uint128 validatorId, address beneficiary) external {
_redeemRewards(validatorId, beneficiary, 0); // pass 0 to request full amount
}
/*
* Redeems partial rewards
*/
function redeemRewards(
uint128 validatorId,
address beneficiary,
uint128 amount
) external {
require(amount > 0, "Amount is 0");
_redeemRewards(validatorId, beneficiary, amount);
}
function _redeemRewards(
uint128 validatorId,
address beneficiary,
uint128 amount
) internal {
require(validatorId < validatorsN, "Invalid validator");
require(beneficiary != address(0x0), "Invalid beneficiary");
Validator storage v = _validators[validatorId];
Staking storage s = v.stakings[msg.sender];
// how many tokens a delegator/validator has in total on the contract
// include earned commission if the delegator is the validator
uint128 totalValue = _sharesToTokens(s.shares, v.exchangeRate);
bool redeemAll = amount == 0; // amount is 0 when it's requested to redeem all rewards
if (redeemAll) {
// can only redeem > redeem threshold
require(totalValue - s.staked >= REWARD_REDEEM_THRESHOLD, "Nothing to redeem");
}
// making sure that amount of rewards exist
else {
require(totalValue - s.staked >= amount, "Requested amount is too high");
require(amount >= REWARD_REDEEM_THRESHOLD, "Requested amount must be higher than redeem threshold");
}
uint128 amountToRedeem = redeemAll ? totalValue - s.staked : amount;
// "sell/burn" the reward shares
uint128 validatorSharesRemove = _tokensToShares(amountToRedeem, v.exchangeRate);
if (validatorSharesRemove > s.shares) validatorSharesRemove = s.shares;
unchecked {
v.totalShares -= validatorSharesRemove;
}
unchecked {
s.shares -= validatorSharesRemove;
}
emit RewardRedeemed(validatorId, beneficiary, amountToRedeem);
_transferFromContract(beneficiary, amountToRedeem);
}
function redeemCommission(
uint128 validatorId,
address beneficiary,
uint128 amount
) public {
require(validatorId < validatorsN, "Invalid validator");
require(beneficiary != address(0x0), "Invalid beneficiary");
Validator storage v = _validators[validatorId];
require(v._address == msg.sender, "The sender is not the validator");
require(v.commissionAvailableToRedeem > 0, "No commission available to redeem");
require(amount > 0, "The requested amount is 0");
require(amount <= v.commissionAvailableToRedeem, "Requested amount is higher than commission available to redeem");
unchecked {
v.commissionAvailableToRedeem -= amount;
}
_transferFromContract(beneficiary, amount);
emit CommissionRewardRedeemed(validatorId, beneficiary, amount);
}
function redeemAllCommission(uint128 validatorId, address beneficiary) external {
redeemCommission(validatorId, beneficiary, _validators[validatorId].commissionAvailableToRedeem);
}
/*
* Redelegates tokens to another validator if a validator got disabled.
* First the tokens need to be unstaked
*/
function redelegateUnstaked(
uint128 amount,
uint128 oldValidatorId,
uint128 newValidatorId,
uint128 unstakingId
) external {
require(oldValidatorId < validatorsN, "Invalid validator");
Validator storage v = _validators[oldValidatorId];
require(v.disabledAtBlock != 0, "Validator is not disabled");
require(v._address != msg.sender, "Validator cannot redelegate");
require(v.unstakings[msg.sender].length > unstakingId, "Unstaking does not exist");
Unstaking storage us = v.unstakings[msg.sender][unstakingId];
require(us.amount >= amount, "Unstaking has less tokens");
// stake tokens back to the contract using new validator, set withTransfer to false since the tokens are already in the contract
unchecked {
us.amount -= amount;
}
// set cool down end to 0 to release gas if new unstaking amount is 0
if (us.amount == 0) us.coolDownEnd = 0;
emit Redelegated(oldValidatorId, newValidatorId, msg.sender, amount, unstakingId);
_stake(newValidatorId, amount, false);
}
/*
* Changes the validator staking address, this will transfer validator staking data and optionally unstakings
*/
function setValidatorAddress(uint128 validatorId, address newAddress) external {
Validator storage v = _validators[validatorId];
require(msg.sender == v._address, "Sender is not the validator");
require(v._address != newAddress, "The new address cannot be equal to the current validator address");
require(newAddress != address(0), "Invalid validator address");
v.stakings[newAddress].shares += v.stakings[msg.sender].shares;
v.stakings[newAddress].staked += v.stakings[msg.sender].staked;
delete v.stakings[msg.sender];
Unstaking[] storage oldUnstakings = v.unstakings[msg.sender];
uint256 length = oldUnstakings.length;
require(length <= 300, "Cannot transfer more than 300 unstakings");
Unstaking[] storage newUnstakings = v.unstakings[newAddress];
for (uint128 i = 0; i < length; ++i) {
newUnstakings.push(oldUnstakings[i]);
}
delete v.unstakings[msg.sender];
v._address = newAddress;
emit ValidatorAddressChanged(validatorId, newAddress);
}
/*
* Gets metadata
*/
function getMetadata()
external
view
returns (
address CQTaddress,
address _stakingManager,
uint128 _validatorsN,
uint128 _rewardPool,
uint128 _validatorCoolDown,
uint128 _delegatorCoolDown,
uint128 _maxCapMultiplier,
uint128 _validatorMaxStake
)
{
return (address(CQT), stakingManager, validatorsN, rewardPool, validatorCoolDown, delegatorCoolDown, maxCapMultiplier, validatorMaxStake);
}
/*
* Returns validator metadata with how many tokens were staked and delegated excluding compounded rewards
*/
function getValidatorMetadata(uint128 validatorId)
public
view
returns (
address _address,
uint128 staked,
uint128 delegated,
uint128 commissionRate,
uint256 disabledAtBlock
)
{
require(validatorId < validatorsN, "Invalid validator");
Validator storage v = _validators[validatorId];
return (v._address, v.stakings[v._address].staked, v.delegated, v.commissionRate, v.disabledAtBlock);
}
/*
* Returns metadata for each validator
*/
function getAllValidatorsMetadata()
external
view
returns (
address[] memory addresses,
uint128[] memory staked,
uint128[] memory delegated,
uint128[] memory commissionRates,
uint256[] memory disabledAtBlocks
)
{
return getValidatorsMetadata(0, validatorsN);
}
/*
* Returns metadata for validators whose ids are between startId and endId exclusively
*/
function getValidatorsMetadata(uint128 startId, uint128 endId)
public
view
returns (
address[] memory addresses,
uint128[] memory staked,
uint128[] memory delegated,
uint128[] memory commissionRates,
uint256[] memory disabledAtBlocks
)
{
require(endId <= validatorsN, "Invalid end id");
require(startId < endId, "Start id must be less than end id");
uint128 n = endId - startId;
addresses = new address[](n);
staked = new uint128[](n);
delegated = new uint128[](n);
commissionRates = new uint128[](n);
disabledAtBlocks = new uint256[](n);
uint128 i;
for (uint128 id = startId; id < endId; ++id) {
i = id - startId;
(addresses[i], staked[i], delegated[i], commissionRates[i], disabledAtBlocks[i]) = getValidatorMetadata(id);
}
return (addresses, staked, delegated, commissionRates, disabledAtBlocks);
}
/*
* Returns validator staked and delegated token amounts, excluding compounded rewards
*/
function getValidatorStakingData(uint128 validatorId) external view returns (uint128 staked, uint128 delegated) {
require(validatorId < validatorsN, "Invalid validator");
Validator storage v = _validators[validatorId];
return (v.stakings[v._address].staked, v.delegated);
}
/*
* Returns validator staked and delegated token amounts, including compounded rewards
*/
function getValidatorCompoundedStakingData(uint128 validatorId) external view returns (uint128 staked, uint128 delegated) {
Validator storage v = _validators[validatorId];
// this includes staked + compounded rewards
staked = _sharesToTokens(v.stakings[v._address].shares, v.exchangeRate);
// this includes delegated + compounded rewards
delegated = _sharesToTokens(v.totalShares, v.exchangeRate) - staked;
return (staked, delegated);
}
/*
* Returns the amount that's staked, earned by delegator plus unstaking information.
* CommissionEarned is for validators
*/
function getDelegatorMetadata(address delegator, uint128 validatorId)
external
view
returns (
uint128 staked,
uint128 rewards,
uint128 commissionEarned,
uint128[] memory unstakingAmounts,
uint128[] memory unstakingsEndEpochs
)
{
require(validatorId < validatorsN, "Invalid validator");
Validator storage v = _validators[validatorId];
Staking storage s = v.stakings[delegator];
staked = s.staked;
uint128 sharesValue = _sharesToTokens(s.shares, v.exchangeRate);
if (sharesValue <= s.staked) rewards = 0;
else rewards = sharesValue - s.staked;
// if requested delegator is the requested validator
if (v._address == delegator) commissionEarned = v.commissionAvailableToRedeem;
Unstaking[] memory unstakings = v.unstakings[delegator];
uint256 unstakingsN = unstakings.length;
unstakingAmounts = new uint128[](unstakingsN);
unstakingsEndEpochs = new uint128[](unstakingsN);
for (uint256 i = 0; i < unstakingsN; i++) {
unstakingAmounts[i] = unstakings[i].amount;
unstakingsEndEpochs[i] = unstakings[i].coolDownEnd;
}
return (staked, rewards, commissionEarned, unstakingAmounts, unstakingsEndEpochs);
}
function renounceOwnership() public virtual override onlyOwner {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20Upgradeable {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
function __Ownable_init() internal onlyInitializing {
__Ownable_init_unchained();
}
function __Ownable_init_unchained() internal onlyInitializing {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
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);
}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[49] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20Upgradeable.sol";
import "../extensions/draft-IERC20PermitUpgradeable.sol";
import "../../../utils/AddressUpgradeable.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 SafeERC20Upgradeable {
using AddressUpgradeable for address;
function safeTransfer(
IERC20Upgradeable token,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(
IERC20Upgradeable 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(
IERC20Upgradeable 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'
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(
IERC20Upgradeable token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(
IERC20Upgradeable token,
address spender,
uint256 value
) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
}
function safePermit(
IERC20PermitUpgradeable token,
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) internal {
uint256 nonceBefore = token.nonces(owner);
token.permit(owner, spender, value, deadline, v, r, s);
uint256 nonceAfter = token.nonces(owner);
require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
}
/**
* @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(IERC20Upgradeable 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
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";
/**
* @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 ContextUpgradeable is Initializable {
function __Context_init() internal onlyInitializing {
}
function __Context_init_unchained() internal onlyInitializing {
}
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
/**
* @dev This empty reserved space is put in place to allow future versions to add new
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[50] private __gap;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)
pragma solidity ^0.8.2;
import "../../utils/AddressUpgradeable.sol";
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
*
* The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
* reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
* case an upgrade adds a module that needs to be initialized.
*
* For example:
*
* [.hljs-theme-light.nopadding]
* ```
* contract MyToken is ERC20Upgradeable {
* function initialize() initializer public {
* __ERC20_init("MyToken", "MTK");
* }
* }
* contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
* function initializeV2() reinitializer(2) public {
* __ERC20Permit_init("MyToken");
* }
* }
* ```
*
* TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
*
* CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
*
* [CAUTION]
* ====
* Avoid leaving a contract uninitialized.
*
* An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
* contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
* the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
*
* [.hljs-theme-light.nopadding]
* ```
* /// @custom:oz-upgrades-unsafe-allow constructor
* constructor() {
* _disableInitializers();
* }
* ```
* ====
*/
abstract contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
* @custom:oz-retyped-from bool
*/
uint8 private _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private _initializing;
/**
* @dev Triggered when the contract has been initialized or reinitialized.
*/
event Initialized(uint8 version);
/**
* @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
* `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
*/
modifier initializer() {
bool isTopLevelCall = !_initializing;
require(
(isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
"Initializable: contract is already initialized"
);
_initialized = 1;
if (isTopLevelCall) {
_initializing = true;
}
_;
if (isTopLevelCall) {
_initializing = false;
emit Initialized(1);
}
}
/**
* @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
* contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
* used to initialize parent contracts.
*
* `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
* initialization step. This is essential to configure modules that are added through upgrades and that require
* initialization.
*
* Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
* a contract, executing them in the right order is up to the developer or operator.
*/
modifier reinitializer(uint8 version) {
require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
_initialized = version;
_initializing = true;
_;
_initializing = false;
emit Initialized(version);
}
/**
* @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
* {initializer} and {reinitializer} modifiers, directly or indirectly.
*/
modifier onlyInitializing() {
require(_initializing, "Initializable: contract is not initializing");
_;
}
/**
* @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
* Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
* to any version. It is recommended to use this to lock implementation contracts that are designed to be called
* through proxies.
*/
function _disableInitializers() internal virtual {
require(!_initializing, "Initializable: contract is initializing");
if (_initialized < type(uint8).max) {
_initialized = type(uint8).max;
emit Initialized(type(uint8).max);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library AddressUpgradeable {
/**
* @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 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
/// @solidity memory-safe-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 (token/ERC20/extensions/draft-IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20PermitUpgradeable {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}{
"optimizer": {
"enabled": true,
"runs": 1000000
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"}],"name":"AllocatedTokensTaken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"}],"name":"CommissionRewardRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"cqt","type":"address"},{"indexed":false,"internalType":"uint128","name":"validatorCoolDown","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"delegatorCoolDown","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"maxCapMultiplier","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"validatorMaxStake","type":"uint128"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint128","name":"newMaxCapMultiplier","type":"uint128"}],"name":"MaxCapMultiplierChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"},{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"unstakingId","type":"uint128"}],"name":"RecoveredUnstake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"oldValidatorId","type":"uint128"},{"indexed":true,"internalType":"uint128","name":"newValidatorId","type":"uint128"},{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"unstakingId","type":"uint128"}],"name":"Redelegated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"}],"name":"RewardFailedDueLowPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"}],"name":"RewardFailedDueZeroStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"}],"name":"RewardRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"}],"name":"RewardTokensDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"},{"indexed":false,"internalType":"address","name":"delegator","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operationalManager","type":"address"}],"name":"StakingManagerAddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"},{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"uint128","name":"unstakeId","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"}],"name":"UnstakeRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"},{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"unstakeId","type":"uint128"}],"name":"Unstaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"id","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"commissionRate","type":"uint128"},{"indexed":true,"internalType":"address","name":"validator","type":"address"}],"name":"ValidatorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"ValidatorAddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"}],"name":"ValidatorCommissionRateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"ValidatorDisabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint128","name":"validatorId","type":"uint128"}],"name":"ValidatorEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint128","name":"amount","type":"uint128"}],"name":"ValidatorMaxCapChanged","type":"event"},{"inputs":[],"name":"CQT","outputs":[{"internalType":"contract IERC20Upgradeable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DIVIDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARD_REDEEM_THRESHOLD","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"validator","type":"address"},{"internalType":"uint128","name":"commissionRate","type":"uint128"}],"name":"addValidator","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"delegatorCoolDown","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"depositRewardTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"disableValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"}],"name":"enableValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllValidatorsMetadata","outputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint128[]","name":"staked","type":"uint128[]"},{"internalType":"uint128[]","name":"delegated","type":"uint128[]"},{"internalType":"uint128[]","name":"commissionRates","type":"uint128[]"},{"internalType":"uint256[]","name":"disabledAtBlocks","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"},{"internalType":"uint128","name":"validatorId","type":"uint128"}],"name":"getDelegatorMetadata","outputs":[{"internalType":"uint128","name":"staked","type":"uint128"},{"internalType":"uint128","name":"rewards","type":"uint128"},{"internalType":"uint128","name":"commissionEarned","type":"uint128"},{"internalType":"uint128[]","name":"unstakingAmounts","type":"uint128[]"},{"internalType":"uint128[]","name":"unstakingsEndEpochs","type":"uint128[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMetadata","outputs":[{"internalType":"address","name":"CQTaddress","type":"address"},{"internalType":"address","name":"_stakingManager","type":"address"},{"internalType":"uint128","name":"_validatorsN","type":"uint128"},{"internalType":"uint128","name":"_rewardPool","type":"uint128"},{"internalType":"uint128","name":"_validatorCoolDown","type":"uint128"},{"internalType":"uint128","name":"_delegatorCoolDown","type":"uint128"},{"internalType":"uint128","name":"_maxCapMultiplier","type":"uint128"},{"internalType":"uint128","name":"_validatorMaxStake","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"}],"name":"getValidatorCompoundedStakingData","outputs":[{"internalType":"uint128","name":"staked","type":"uint128"},{"internalType":"uint128","name":"delegated","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"}],"name":"getValidatorMetadata","outputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint128","name":"staked","type":"uint128"},{"internalType":"uint128","name":"delegated","type":"uint128"},{"internalType":"uint128","name":"commissionRate","type":"uint128"},{"internalType":"uint256","name":"disabledAtBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"}],"name":"getValidatorStakingData","outputs":[{"internalType":"uint128","name":"staked","type":"uint128"},{"internalType":"uint128","name":"delegated","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"startId","type":"uint128"},{"internalType":"uint128","name":"endId","type":"uint128"}],"name":"getValidatorsMetadata","outputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint128[]","name":"staked","type":"uint128[]"},{"internalType":"uint128[]","name":"delegated","type":"uint128[]"},{"internalType":"uint128[]","name":"commissionRates","type":"uint128[]"},{"internalType":"uint256[]","name":"disabledAtBlocks","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"cqt","type":"address"},{"internalType":"uint128","name":"dCoolDown","type":"uint128"},{"internalType":"uint128","name":"vCoolDown","type":"uint128"},{"internalType":"uint128","name":"maxCapM","type":"uint128"},{"internalType":"uint128","name":"vMaxStake","type":"uint128"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxCapMultiplier","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"uint128","name":"validatorId","type":"uint128"},{"internalType":"uint128","name":"unstakingId","type":"uint128"}],"name":"recoverUnstaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"},{"internalType":"address","name":"beneficiary","type":"address"}],"name":"redeemAllCommission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"},{"internalType":"address","name":"beneficiary","type":"address"}],"name":"redeemAllRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"redeemCommission","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"redeemRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"uint128","name":"oldValidatorId","type":"uint128"},{"internalType":"uint128","name":"newValidatorId","type":"uint128"},{"internalType":"uint128","name":"unstakingId","type":"uint128"}],"name":"redelegateUnstaked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPool","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128[]","name":"ids","type":"uint128[]"},{"internalType":"uint128[]","name":"amounts","type":"uint128[]"}],"name":"rewardValidators","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"newMaxCapMultiplier","type":"uint128"}],"name":"setMaxCapMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setStakingManagerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"},{"internalType":"address","name":"newAddress","type":"address"}],"name":"setValidatorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"},{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"setValidatorCommissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"maxStake","type":"uint128"}],"name":"setValidatorMaxStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"},{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"takeOutRewardTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"amount","type":"uint128"},{"internalType":"uint128","name":"validatorId","type":"uint128"},{"internalType":"uint128","name":"unstakingId","type":"uint128"}],"name":"transferUnstakedOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"validatorId","type":"uint128"},{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"validatorCoolDown","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"validatorMaxStake","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"validatorsN","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b50615b6180620000216000396000f3fe608060405234801561001057600080fd5b50600436106102d35760003560e01c8063715018a6116101865780639ea05077116100e3578063ad9e91ee11610097578063edff4b6111610071578063edff4b611461078d578063f1aa0c65146107a0578063f2fde38b146107b357600080fd5b8063ad9e91ee1461074b578063dfc50f651461075e578063eabc89d71461077a57600080fd5b8063a2e7e441116100c8578063a2e7e44114610712578063a3e89bac14610725578063a50481f11461073857600080fd5b80639ea05077146106e35780639f10816f146106f657600080fd5b80638a8103241161013a5780638da5cb5b1161011f5780638da5cb5b1461069f57806391609449146106bd5780639860fa25146106d057600080fd5b80638a810324146106705780638b877db21461068c57600080fd5b80638459ec681161016b5780638459ec68146105e057806387326a0c146105f3578063884ef0aa1461065d57600080fd5b8063715018a6146105405780637a5b4f591461054857600080fd5b8063445c81d71161023457806362043bd8116101e8578063650de76b116101cd578063650de76b146104e157806366666aa9146105115780636cb4ded31461052d57600080fd5b806362043bd8146104b15780636459db95146104ce57600080fd5b806353b749221161021957806353b749221461044a5780635b2167231461047a578063605a50171461049e57600080fd5b8063445c81d7146103fb5780634c4a17091461040e57600080fd5b806322828cc21161028b57806337e15bce1161027057806337e15bce146103c25780633a64440b146103d557806340e7e9f0146103e857600080fd5b806322828cc21461038f5780632a019e6f146103af57600080fd5b80630b56a2bc116102bc5780630b56a2bc1461031e5780630f04adfe1461033757806317c2b0a91461037c57600080fd5b806307fd8763146102d857806309991223146102ed575b600080fd5b6102eb6102e6366004615412565b6107c6565b005b6102f86305f5e10081565b6040516fffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6103266107d6565b6040516103159594939291906154c2565b6065546103579073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610315565b6102eb61038a366004615412565b610818565b6069546103579073ffffffffffffffffffffffffffffffffffffffff1681565b6102eb6103bd366004615592565b6109b5565b6102eb6103d03660046155d5565b610a41565b6102eb6103e33660046155f0565b610b35565b6102eb6103f636600461561c565b610e87565b6102eb610409366004615670565b611256565b61042161041c36600461569a565b61177c565b604080516fffffffffffffffffffffffffffffffff938416815292909116602083015201610315565b6066546102f89070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1681565b61048d6104883660046156b5565b611846565b6040516103159594939291906156d1565b6102eb6104ac36600461576c565b611c12565b6104c0670de0b6b3a764000081565b604051908152602001610315565b6102eb6104dc366004615670565b61205e565b6067546102f89070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1681565b6066546102f8906fffffffffffffffffffffffffffffffff1681565b6102eb61053b36600461569a565b61208f565b6102eb61217e565b606554606954606a546066546067546068546040805173ffffffffffffffffffffffffffffffffffffffff97881681529690951660208701526fffffffffffffffffffffffffffffffff938416948601949094528282166060860152700100000000000000000000000000000000918290048316608086015282811660a086015204811660c08401521660e082015261010001610315565b6102eb6105ee366004615670565b612188565b61060661060136600461569a565b612194565b6040805173ffffffffffffffffffffffffffffffffffffffff90961686526fffffffffffffffffffffffffffffffff948516602087015292841692850192909252919091166060830152608082015260a001610315565b6102eb61066b3660046155f0565b6122a7565b606a546102f8906fffffffffffffffffffffffffffffffff1681565b6102eb61069a36600461569a565b612578565b60335473ffffffffffffffffffffffffffffffffffffffff16610357565b6102eb6106cb366004615412565b612704565b6104216106de36600461569a565b612c8f565b6102eb6106f136600461569a565b612d87565b6068546102f8906fffffffffffffffffffffffffffffffff1681565b6104c06107203660046156b5565b612e7a565b610326610733366004615412565b61316c565b6102eb6107463660046157d8565b6135e8565b6102eb61075936600461583d565b613881565b6067546102f8906fffffffffffffffffffffffffffffffff1681565b6102eb610788366004615592565b613a46565b6102eb61079b36600461569a565b613e5e565b6102eb6107ae36600461569a565b613fb0565b6102eb6107c13660046155d5565b6140c2565b6107d282826001614176565b5050565b60608060608060606108076000606a60009054906101000a90046fffffffffffffffffffffffffffffffff1661316c565b945094509450945094509091929394565b610820614758565b606a546fffffffffffffffffffffffffffffffff908116908316106108a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f7200000000000000000000000000000060448201526064015b60405180910390fd5b670de0b6b3a7640000816fffffffffffffffffffffffffffffffff1610610929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f52617465206d757374206265206c657373207468616e20313030250000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8281166000818152606b602090815260409182902060030180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000169486169485179055905192835290917f0f8cc456c84d934a2b1eb24d7b56c2304c9e61aed06c7e67aa5167ff06c0bc6591015b60405180910390a25050565b6000816fffffffffffffffffffffffffffffffff1611610a31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f416d6f756e742069732030000000000000000000000000000000000000000000604482015260640161089d565b610a3c8383836147d9565b505050565b610a49614758565b73ffffffffffffffffffffffffffffffffffffffff8116610ac6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f496e76616c696420616464726573730000000000000000000000000000000000604482015260640161089d565b606980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f806e006f6f107ac370f162bdeec43a7db0f2d47ca85ba3da932d442771912a3590600090a250565b606a546fffffffffffffffffffffffffffffffff90811690831610610bb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8281166000908152606b6020908152604080832033845260060190915290205490821610610c51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e7374616b696e6720646f6573206e6f742065786973740000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8083166000908152606b602090815260408083203384526006019091528120805491929091908416908110610c9957610c99615867565b600091825260209091200180549091506fffffffffffffffffffffffffffffffff9081164390911611610d28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f436f6f6c646f776e20706572696f6420686173206e6f7420656e646564000000604482015260640161089d565b80546fffffffffffffffffffffffffffffffff808616700100000000000000000000000000000000909204161015610dbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f416d6f756e7420697320746f6f20686967680000000000000000000000000000604482015260640161089d565b80546fffffffffffffffffffffffffffffffff80821670010000000000000000000000000000000092839004821687900382168302178084559190910416600003610e285780547fffffffffffffffffffffffffffffffff000000000000000000000000000000001681555b6040516fffffffffffffffffffffffffffffffff85811682528084169133918616907fa907b4e09e37315c70c013b1855950857585ae1efd206f344d5507f3b7a440d79060200160405180910390a4610e813385614ce4565b50505050565b606a546fffffffffffffffffffffffffffffffff90811690841610610f08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff83166000908152606b602052604081206004810154909103610f97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f56616c696461746f72206973206e6f742064697361626c656400000000000000604482015260640161089d565b60018101543373ffffffffffffffffffffffffffffffffffffffff9091160361101c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f56616c696461746f722063616e6e6f7420726564656c65676174650000000000604482015260640161089d565b3360009081526006820160205260409020546fffffffffffffffffffffffffffffffff8316106110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e7374616b696e6720646f6573206e6f742065786973740000000000000000604482015260640161089d565b336000908152600682016020526040812080546fffffffffffffffffffffffffffffffff85169081106110dd576110dd615867565b600091825260209091200180549091506fffffffffffffffffffffffffffffffff80881670010000000000000000000000000000000090920416101561117f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f556e7374616b696e6720686173206c65737320746f6b656e7300000000000000604482015260640161089d565b80546fffffffffffffffffffffffffffffffff808216700100000000000000000000000000000000928390048216899003821683021780845591909104166000036111eb5780547fffffffffffffffffffffffffffffffff000000000000000000000000000000001681555b604080516fffffffffffffffffffffffffffffffff88811682528581166020830152339281881692918916917fad667f96915cdefb4384b6fc59780e6f35a72cffecee152d5b83c2ec4bd16e3a910160405180910390a461124e84876000614176565b505050505050565b6fffffffffffffffffffffffffffffffff82166000908152606b60205260409020600181015473ffffffffffffffffffffffffffffffffffffffff1633146112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f53656e646572206973206e6f74207468652076616c696461746f720000000000604482015260640161089d565b600181015473ffffffffffffffffffffffffffffffffffffffff8084169116036113a857604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f546865206e657720616464726573732063616e6e6f7420626520657175616c2060448201527f746f207468652063757272656e742076616c696461746f722061646472657373606482015260840161089d565b73ffffffffffffffffffffffffffffffffffffffff8216611425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f496e76616c69642076616c696461746f72206164647265737300000000000000604482015260640161089d565b3360009081526005820160205260408082205473ffffffffffffffffffffffffffffffffffffffff8516835290822080546fffffffffffffffffffffffffffffffff928316939192611479918591166158c5565b82546101009290920a6fffffffffffffffffffffffffffffffff8181021990931691831602179091553360009081526005840160205260408082205473ffffffffffffffffffffffffffffffffffffffff871683529120805470010000000000000000000000000000000092839004841694509092601092611500928692919004166158c5565b82546fffffffffffffffffffffffffffffffff9182166101009390930a9283029190920219909116179055503360009081526005820160209081526040808320839055600684019091529020805461012c8111156115e0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f43616e6e6f74207472616e73666572206d6f7265207468616e2033303020756e60448201527f7374616b696e6773000000000000000000000000000000000000000000000000606482015260840161089d565b73ffffffffffffffffffffffffffffffffffffffff841660009081526006840160205260408120905b82816fffffffffffffffffffffffffffffffff1610156116d7578184826fffffffffffffffffffffffffffffffff168154811061164857611648615867565b6000918252602080832084546001810186559484529220910180549190920180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff928316908117825592547001000000000000000000000000000000009081900490921690910290911790556116d0816158f9565b9050611609565b5033600090815260068501602052604081206116f2916153bb565b6001840180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87169081179091556040516fffffffffffffffffffffffffffffffff8816907f440fb92be8d36802cfffb11ceda74bc13f38abab2e6f8675b9b1725787a6e52990600090a3505050505050565b6fffffffffffffffffffffffffffffffff8082166000908152606b60209081526040808320600181015473ffffffffffffffffffffffffffffffffffffffff168452600581019092528220548154929384936117f09282169170010000000000000000000000000000000090910416614d1a565b600282015482549194508491611834916fffffffffffffffffffffffffffffffff700100000000000000000000000000000000918290048116929190910416614d1a565b61183e9190615928565b915050915091565b606a546000908190819060609081906fffffffffffffffffffffffffffffffff908116908716106118d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8087166000908152606b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8c1684526005810190925282208054825470010000000000000000000000000000000080830487169b50939592949361194c9392831692910416614d1a565b82549091506fffffffffffffffffffffffffffffffff70010000000000000000000000000000000090910481169082161161198a57600096506119bf565b81546119bc9070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1682615928565b96505b600183015473ffffffffffffffffffffffffffffffffffffffff808c169116036119fa5782546fffffffffffffffffffffffffffffffff1695505b73ffffffffffffffffffffffffffffffffffffffff8a166000908152600684016020908152604080832080548251818502810185019093528083529192909190849084015b82821015611a9e57600084815260209081902060408051808201909152908401546fffffffffffffffffffffffffffffffff80821683527001000000000000000000000000000000009091041681830152825260019092019101611a3f565b505082519293508291505067ffffffffffffffff811115611ac157611ac1615959565b604051908082528060200260200182016040528015611aea578160200160208202803683370190505b5096508067ffffffffffffffff811115611b0657611b06615959565b604051908082528060200260200182016040528015611b2f578160200160208202803683370190505b50955060005b81811015611c0257828181518110611b4f57611b4f615867565b602002602001015160200151888281518110611b6d57611b6d615867565b60200260200101906fffffffffffffffffffffffffffffffff1690816fffffffffffffffffffffffffffffffff1681525050828181518110611bb157611bb1615867565b602002602001015160000151878281518110611bcf57611bcf615867565b6fffffffffffffffffffffffffffffffff9092166020928302919091019091015280611bfa81615988565b915050611b35565b5050505050509295509295909350565b60695473ffffffffffffffffffffffffffffffffffffffff163314611c93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43616c6c6572206973206e6f74207374616b696e674d616e6167657200000000604482015260640161089d565b828114611d22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f476976656e2069647320616e6420616d6f756e747320617272617973206d757360448201527f74206265206f66207468652073616d65206c656e677468000000000000000000606482015260840161089d565b6066546fffffffffffffffffffffffffffffffff1660008080805b8781101561201257868682818110611d5757611d57615867565b9050602002016020810190611d6c919061569a565b9350888882818110611d8057611d80615867565b9050602002016020810190611d95919061569a565b9250836fffffffffffffffffffffffffffffffff16856fffffffffffffffffffffffffffffffff161015611e11576040516fffffffffffffffffffffffffffffffff85811682528416907f0fe05e323c51ec64db29d65e4471f535fbed63586f534f452455b30e985424839060200160405180910390a2612000565b6fffffffffffffffffffffffffffffffff8084166000908152606b60205260408120600281015490927001000000000000000000000000000000009091041690819003611ea6576040516fffffffffffffffffffffffffffffffff87811682528616907f7110409a3c69501d520618529eec9541a3d35ae7b4c5df2a4e5271438105cee39060200160405180910390a2611ffd565b6003820154670de0b6b3a764000090611ed5906fffffffffffffffffffffffffffffffff9081169089166159c0565b611edf91906159fd565b935080670de0b6b3a7640000611ef58689615928565b6fffffffffffffffffffffffffffffffff16611f1191906159c0565b611f1b91906159fd565b82548390601090611f5390849070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff166158c5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550838260000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611fb891906158c5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055508587611ffa9190615928565b96505b50505b8061200a81615988565b915050611d3d565b5050606680547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff9490941693909317909255505050505050565b6fffffffffffffffffffffffffffffffff8083166000908152606b60205260409020546107d2918491849116613a46565b612097614758565b6000816fffffffffffffffffffffffffffffffff1611612113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652067726561746572207468616e203000000000000000000000604482015260640161089d565b606780546fffffffffffffffffffffffffffffffff908116700100000000000000000000000000000000918416918202179091556040519081527fbe85ebc47051eb40cf466cba324b4ceee119941ef0101ec0123999a5b6794099906020015b60405180910390a150565b612186614758565b565b6107d2828260006147d9565b606a5460009081908190819081906fffffffffffffffffffffffffffffffff90811690871610612220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b505050506fffffffffffffffffffffffffffffffff9182166000908152606b60209081526040808320600181015473ffffffffffffffffffffffffffffffffffffffff168085526005820190935292205460028301546003840154600490940154929670010000000000000000000000000000000090920486169590811694509290921691565b606a546fffffffffffffffffffffffffffffffff90811690831610612328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8281166000908152606b60209081526040808320338452600601909152902054908216106123c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e7374616b696e6720646f6573206e6f742065786973740000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8083166000908152606b60209081526040808320338452600601909152812080549192909190841690811061240b5761240b615867565b600091825260209091200180549091506fffffffffffffffffffffffffffffffff8086167001000000000000000000000000000000009092041610156124ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f556e7374616b696e6720686173206c65737320746f6b656e7300000000000000604482015260640161089d565b80546fffffffffffffffffffffffffffffffff808216700100000000000000000000000000000000928390048216879003821683021780845591909104166000036125195780547fffffffffffffffffffffffffffffffff000000000000000000000000000000001681555b604080516fffffffffffffffffffffffffffffffff868116825284811660208301523392908616917ff9087cb83487275bb1784df2905fb9038a38f2423637cba5910e5e638147b546910160405180910390a3610e8183856000614176565b612580614758565b6000816fffffffffffffffffffffffffffffffff16116125fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f416d6f756e742069732030000000000000000000000000000000000000000000604482015260640161089d565b6066546fffffffffffffffffffffffffffffffff908116908216111561267e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f52657761726420706f6f6c20697320746f6f20736d616c6c0000000000000000604482015260640161089d565b606680547fffffffffffffffffffffffffffffffff0000000000000000000000000000000081166fffffffffffffffffffffffffffffffff91821684900382161790915560405190821681527fb377d2221ae3ae0038f8a2593ce854d79cc6d598036b3acb67a2bed08557ee2e9060200160405180910390a16127013382614ce4565b50565b606a546fffffffffffffffffffffffffffffffff90811690831610612785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6305f5e1006fffffffffffffffffffffffffffffffff82161015612805576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f556e7374616b6520616d6f756e7420697320746f6f20736d616c6c0000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8083166000908152606b602090815260408083203384526005810190925290912080549192909184821670010000000000000000000000000000000090910490911610156128c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5374616b6564203c20616d6f756e742070726f76696465640000000000000000604482015260640161089d565b600182015473ffffffffffffffffffffffffffffffffffffffff1633148080156128ec57506004830154155b156129c35760675482546000916fffffffffffffffffffffffffffffffff70010000000000000000000000000000000091829004811692612931928992910416615928565b61293b9190615a38565b60028501549091506fffffffffffffffffffffffffffffffff808316911611156129c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f43616e6e6f7420756e7374616b65206265796f6e64206d617820636170000000604482015260640161089d565b505b80612a28576002830180548591906000906129f19084906fffffffffffffffffffffffffffffffff16615928565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505b8254600090612a5e90869070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16614d55565b83549091506fffffffffffffffffffffffffffffffff9081169082161115612a96575081546fffffffffffffffffffffffffffffffff165b82547fffffffffffffffffffffffffffffffff0000000000000000000000000000000081166fffffffffffffffffffffffffffffffff91821683900382161784556002850180548392601091612b02918591700100000000000000000000000000000000900416615928565b82546fffffffffffffffffffffffffffffffff9182166101009390930a9283029282021916919091179091558454700100000000000000000000000000000000808204831689900383160291161784555060048401546000908103612b675743612b6d565b84600401545b905082612b8e576067546fffffffffffffffffffffffffffffffff16612bb8565b60665470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff165b33600081815260068801602090815260408083208054825180840184526fffffffffffffffffffffffffffffffff9790980187811689528d881689860190815260018301845592865293909420965190518616700100000000000000000000000000000000029086161795830195909555935190928a16907ffd593fe24ae9d02e348b533a8253aaf9904b266a7b65556ae6181dd5cc58703b90612c7d908b9086906fffffffffffffffffffffffffffffffff92831681529116602082015260400190565b60405180910390a35050505050505050565b606a5460009081906fffffffffffffffffffffffffffffffff90811690841610612d15576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b50506fffffffffffffffffffffffffffffffff9081166000908152606b60209081526040808320600181015473ffffffffffffffffffffffffffffffffffffffff1684526005810190925290912054600290910154700100000000000000000000000000000000909104821692911690565b612d8f614758565b6000816fffffffffffffffffffffffffffffffff1611612e0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f50726f7669646564206d6178207374616b652069732030000000000000000000604482015260640161089d565b606880547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff83169081179091556040519081527fc85c2d6ddb875b53634093f65fbea4ed8eba0b4efca26b87bc17ffedb668916490602001612173565b60695460009073ffffffffffffffffffffffffffffffffffffffff163314612efe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43616c6c6572206973206e6f74207374616b696e674d616e6167657200000000604482015260640161089d565b670de0b6b3a7640000826fffffffffffffffffffffffffffffffff1610612f81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f52617465206d757374206265206c657373207468616e20313030250000000000604482015260640161089d565b73ffffffffffffffffffffffffffffffffffffffff8316612ffe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f56616c696461746f722061646472657373206973203000000000000000000000604482015260640161089d565b606a80546fffffffffffffffffffffffffffffffff9081166000908152606b6020908152604091829020600180820180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8b1690811790915582548616770de0b6b3a7640000000000000000000000000000000000001783556003830180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000168a881690811790915560048401929092559554935190815290949392909216917f5a7dc0f8a1745e71f29bb12198638d3c7284ae1227928e679ab6bf3dc1f28617910160405180910390a3606a80547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811660016fffffffffffffffffffffffffffffffff928316810190921690811790925561315291615928565b6fffffffffffffffffffffffffffffffff16949350505050565b606a5460609081908190819081906fffffffffffffffffffffffffffffffff90811690871611156131f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c696420656e64206964000000000000000000000000000000000000604482015260640161089d565b856fffffffffffffffffffffffffffffffff16876fffffffffffffffffffffffffffffffff16106132ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f5374617274206964206d757374206265206c657373207468616e20656e64206960448201527f6400000000000000000000000000000000000000000000000000000000000000606482015260840161089d565b60006132b88888615928565b9050806fffffffffffffffffffffffffffffffff1667ffffffffffffffff8111156132e5576132e5615959565b60405190808252806020026020018201604052801561330e578160200160208202803683370190505b509550806fffffffffffffffffffffffffffffffff1667ffffffffffffffff81111561333c5761333c615959565b604051908082528060200260200182016040528015613365578160200160208202803683370190505b509450806fffffffffffffffffffffffffffffffff1667ffffffffffffffff81111561339357613393615959565b6040519080825280602002602001820160405280156133bc578160200160208202803683370190505b509350806fffffffffffffffffffffffffffffffff1667ffffffffffffffff8111156133ea576133ea615959565b604051908082528060200260200182016040528015613413578160200160208202803683370190505b509250806fffffffffffffffffffffffffffffffff1667ffffffffffffffff81111561344157613441615959565b60405190808252806020026020018201604052801561346a578160200160208202803683370190505b5091506000885b886fffffffffffffffffffffffffffffffff16816fffffffffffffffffffffffffffffffff1610156135db576134a78a82615928565b91506134b281612194565b8c876fffffffffffffffffffffffffffffffff16815181106134d6576134d6615867565b602002602001018c886fffffffffffffffffffffffffffffffff168151811061350157613501615867565b602002602001018c896fffffffffffffffffffffffffffffffff168151811061352c5761352c615867565b602002602001018c8a6fffffffffffffffffffffffffffffffff168151811061355757613557615867565b602002602001018c8b6fffffffffffffffffffffffffffffffff168151811061358257613582615867565b60209081029190910101949094526fffffffffffffffffffffffffffffffff9485169093529383169091529216905273ffffffffffffffffffffffffffffffffffffffff90911690526135d4816158f9565b9050613471565b5050509295509295909350565b600054610100900460ff16158080156136085750600054600160ff909116105b806136225750303b158015613622575060005460ff166001145b6136ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161089d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561370c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b613714614d90565b606680546fffffffffffffffffffffffffffffffff908116700100000000000000000000000000000000878316818102929092179093558782168683169384028117606755606880547fffffffffffffffffffffffffffffffff00000000000000000000000000000000169387169384179055606580547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8c1690811790915560408051918252602082019390935291820152606081019290925260808201527f0d020790a4661b48ba70c972576a0ef9415e63f7d4f70620772b456804be11859060a00160405180910390a1801561124e57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050505050565b60695473ffffffffffffffffffffffffffffffffffffffff163314613902576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43616c6c6572206973206e6f74207374616b696e674d616e6167657200000000604482015260640161089d565b606a546fffffffffffffffffffffffffffffffff90811690831610613983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b600081116139ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f44697361626c6520626c6f636b2063616e6e6f74206265203000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff82166000818152606b602052604090819020600401839055517f890228cff135716fe461694a594a1308c48a00abf62b3fcff51a2fbabf234712906109a99084815260200190565b606a546fffffffffffffffffffffffffffffffff90811690841610613ac7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b73ffffffffffffffffffffffffffffffffffffffff8216613b44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e76616c69642062656e656669636961727900000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff83166000908152606b60205260409020600181015473ffffffffffffffffffffffffffffffffffffffff163314613be8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5468652073656e646572206973206e6f74207468652076616c696461746f7200604482015260640161089d565b80546fffffffffffffffffffffffffffffffff16613c88576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4e6f20636f6d6d697373696f6e20617661696c61626c6520746f20726564656560448201527f6d00000000000000000000000000000000000000000000000000000000000000606482015260840161089d565b6000826fffffffffffffffffffffffffffffffff1611613d04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f5468652072657175657374656420616d6f756e74206973203000000000000000604482015260640161089d565b80546fffffffffffffffffffffffffffffffff9081169083161115613dab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f52657175657374656420616d6f756e7420697320686967686572207468616e2060448201527f636f6d6d697373696f6e20617661696c61626c6520746f2072656465656d0000606482015260840161089d565b80546fffffffffffffffffffffffffffffffff808216849003167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116178155613df68383614ce4565b6040516fffffffffffffffffffffffffffffffff838116825273ffffffffffffffffffffffffffffffffffffffff851691908616907fca484c45ad2d2422ff409731d1783446054a9a6549f63f4e668f85d03513624c9060200160405180910390a350505050565b60695473ffffffffffffffffffffffffffffffffffffffff163314613edf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43616c6c6572206973206e6f74207374616b696e674d616e6167657200000000604482015260640161089d565b606a546fffffffffffffffffffffffffffffffff90811690821610613f60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff81166000818152606b6020526040808220600401829055517f553b029ba5c74688a5da732136d246f722502db24ed6b4aaf1cdc9f2f9ef23ef9190a250565b613fb8614758565b6000816fffffffffffffffffffffffffffffffff1611614034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f416d6f756e742069732030000000000000000000000000000000000000000000604482015260640161089d565b606680546fffffffffffffffffffffffffffffffff8082168401167fffffffffffffffffffffffffffffffff000000000000000000000000000000009091161790556140803382614e2f565b6040516fffffffffffffffffffffffffffffffff821681527f2db5044922a44e715fdfd31c569712694c5956bbd41e06011f1c8ed339f5ff8f90602001612173565b6140ca614758565b73ffffffffffffffffffffffffffffffffffffffff811661416d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161089d565b61270181614e66565b606a546fffffffffffffffffffffffffffffffff908116908416106141f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6305f5e1006fffffffffffffffffffffffffffffffff83161015614277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f5374616b6520616d6f756e7420697320746f6f20736d616c6c00000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff83166000908152606b60205260409020600181015473ffffffffffffffffffffffffffffffffffffffff1633148061432657600482015415614326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f56616c696461746f722069732064697361626c65640000000000000000000000604482015260640161089d565b815460009061435c90869070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16614d55565b336000908152600585016020526040902090915082156144375780546000906143ac90889070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff166158c5565b6068549091506fffffffffffffffffffffffffffffffff9081169082161115614431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f56616c696461746f72206d6178207374616b6520657863656564656400000000604482015260640161089d565b506145c2565b606754600185015473ffffffffffffffffffffffffffffffffffffffff166000908152600586016020526040812054909161449f916fffffffffffffffffffffffffffffffff7001000000000000000000000000000000009283900481169290910416615a38565b60028601549091506000906144c79089906fffffffffffffffffffffffffffffffff166158c5565b9050816fffffffffffffffffffffffffffffffff16816fffffffffffffffffffffffffffffffff16111561457d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f56616c696461746f72206d61782064656c65676174696f6e206578636565646560448201527f6400000000000000000000000000000000000000000000000000000000000000606482015260840161089d565b6002860180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055505b818460020160108282829054906101000a90046fffffffffffffffffffffffffffffffff166145f191906158c5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550818160000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661465691906158c5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550858160000160108282829054906101000a90046fffffffffffffffffffffffffffffffff166146bb91906158c5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055508415614701576147013387614e2f565b604080513381526fffffffffffffffffffffffffffffffff88811660208301528916917fc833924412a8727ace4d92945c637ad2d4b389e582bfd4a95cdee608eee9720a910160405180910390a250505050505050565b60335473ffffffffffffffffffffffffffffffffffffffff163314612186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161089d565b606a546fffffffffffffffffffffffffffffffff9081169084161061485a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b73ffffffffffffffffffffffffffffffffffffffff82166148d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e76616c69642062656e656669636961727900000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8084166000908152606b60209081526040808320338452600581019092528220805482549294919392614934929182169170010000000000000000000000000000000090910416614d1a565b90506fffffffffffffffffffffffffffffffff8416158015614a075782546305f5e100906149889070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1684615928565b6fffffffffffffffffffffffffffffffff161015614a02576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e6f7468696e6720746f2072656465656d000000000000000000000000000000604482015260640161089d565b614b5e565b82546fffffffffffffffffffffffffffffffff80871691614a3e917001000000000000000000000000000000009091041684615928565b6fffffffffffffffffffffffffffffffff161015614ab8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f52657175657374656420616d6f756e7420697320746f6f206869676800000000604482015260640161089d565b6305f5e1006fffffffffffffffffffffffffffffffff86161015614b5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f52657175657374656420616d6f756e74206d757374206265206869676865722060448201527f7468616e2072656465656d207468726573686f6c640000000000000000000000606482015260840161089d565b600081614b6b5785614b9d565b8354614b9d9070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1684615928565b8554909150600090614bd690839070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16614d55565b85549091506fffffffffffffffffffffffffffffffff9081169082161115614c0e575083546fffffffffffffffffffffffffffffffff165b6002860180546fffffffffffffffffffffffffffffffff80821670010000000000000000000000000000000092839004821685900382169092029190911790915585547fffffffffffffffffffffffffffffffff0000000000000000000000000000000081169082168390038216178655604051838216815273ffffffffffffffffffffffffffffffffffffffff8a16918b16907fbf3f2aa111a63b63567f864e18723c486b9276b75fdadebb83f62cd228263e0c9060200160405180910390a3614cd98883614ce4565b505050505050505050565b6065546107d29073ffffffffffffffffffffffffffffffffffffffff16836fffffffffffffffffffffffffffffffff8416614edd565b6000670de0b6b3a7640000614d446fffffffffffffffffffffffffffffffff8085169086166159c0565b614d4e91906159fd565b9392505050565b6000816fffffffffffffffffffffffffffffffff16670de0b6b3a7640000846fffffffffffffffffffffffffffffffff16614d4491906159c0565b600054610100900460ff16614e27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161089d565b612186614fb1565b6065546107d29073ffffffffffffffffffffffffffffffffffffffff1683306fffffffffffffffffffffffffffffffff8516615051565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610a3c9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526150af565b600054610100900460ff16615048576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161089d565b61218633614e66565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610e819085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401614f2f565b6000615111826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166151bb9092919063ffffffff16565b805190915015610a3c578080602001905181019061512f9190615a70565b610a3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161089d565b60606151ca84846000856151d2565b949350505050565b606082471015615264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161089d565b73ffffffffffffffffffffffffffffffffffffffff85163b6152e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161089d565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161530b9190615abe565b60006040518083038185875af1925050503d8060008114615348576040519150601f19603f3d011682016040523d82523d6000602084013e61534d565b606091505b509150915061535d828286615368565b979650505050505050565b60608315615377575081614d4e565b8251156153875782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089d9190615ada565b508054600082559060005260206000209081019061270191905b808211156153e957600081556001016153d5565b5090565b80356fffffffffffffffffffffffffffffffff8116811461540d57600080fd5b919050565b6000806040838503121561542557600080fd5b61542e836153ed565b915061543c602084016153ed565b90509250929050565b600081518084526020808501945080840160005b838110156154875781516fffffffffffffffffffffffffffffffff1687529582019590820190600101615459565b509495945050505050565b600081518084526020808501945080840160005b83811015615487578151875295820195908201906001016154a6565b60a0808252865190820181905260009060209060c0840190828a01845b8281101561551157815173ffffffffffffffffffffffffffffffffffffffff16845292840192908401906001016154df565b505050838103828501526155258189615445565b915050828103604084015261553a8187615445565b9050828103606084015261554e8186615445565b905082810360808401526155628185615492565b98975050505050505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461540d57600080fd5b6000806000606084860312156155a757600080fd5b6155b0846153ed565b92506155be6020850161556e565b91506155cc604085016153ed565b90509250925092565b6000602082840312156155e757600080fd5b614d4e8261556e565b60008060006060848603121561560557600080fd5b61560e846153ed565b92506155be602085016153ed565b6000806000806080858703121561563257600080fd5b61563b856153ed565b9350615649602086016153ed565b9250615657604086016153ed565b9150615665606086016153ed565b905092959194509250565b6000806040838503121561568357600080fd5b61568c836153ed565b915061543c6020840161556e565b6000602082840312156156ac57600080fd5b614d4e826153ed565b600080604083850312156156c857600080fd5b61542e8361556e565b60006fffffffffffffffffffffffffffffffff8088168352808716602084015280861660408401525060a0606083015261570e60a0830185615445565b82810360808401526155628185615445565b60008083601f84011261573257600080fd5b50813567ffffffffffffffff81111561574a57600080fd5b6020830191508360208260051b850101111561576557600080fd5b9250929050565b6000806000806040858703121561578257600080fd5b843567ffffffffffffffff8082111561579a57600080fd5b6157a688838901615720565b909650945060208701359150808211156157bf57600080fd5b506157cc87828801615720565b95989497509550505050565b600080600080600060a086880312156157f057600080fd5b6157f98661556e565b9450615807602087016153ed565b9350615815604087016153ed565b9250615823606087016153ed565b9150615831608087016153ed565b90509295509295909350565b6000806040838503121561585057600080fd5b615859836153ed565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006fffffffffffffffffffffffffffffffff8083168185168083038211156158f0576158f0615896565b01949350505050565b60006fffffffffffffffffffffffffffffffff80831681810361591e5761591e615896565b6001019392505050565b60006fffffffffffffffffffffffffffffffff8381169083168181101561595157615951615896565b039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036159b9576159b9615896565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156159f8576159f8615896565b500290565b600082615a33577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60006fffffffffffffffffffffffffffffffff80831681851681830481118215151615615a6757615a67615896565b02949350505050565b600060208284031215615a8257600080fd5b81518015158114614d4e57600080fd5b60005b83811015615aad578181015183820152602001615a95565b83811115610e815750506000910152565b60008251615ad0818460208701615a92565b9190910192915050565b6020815260008251806020840152615af9816040850160208701615a92565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea26469706673582212205fe5351ed9558e30721866e05ff37854e674e3ae5a481cc3924cd6195a80eac764736f6c634300080d0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102d35760003560e01c8063715018a6116101865780639ea05077116100e3578063ad9e91ee11610097578063edff4b6111610071578063edff4b611461078d578063f1aa0c65146107a0578063f2fde38b146107b357600080fd5b8063ad9e91ee1461074b578063dfc50f651461075e578063eabc89d71461077a57600080fd5b8063a2e7e441116100c8578063a2e7e44114610712578063a3e89bac14610725578063a50481f11461073857600080fd5b80639ea05077146106e35780639f10816f146106f657600080fd5b80638a8103241161013a5780638da5cb5b1161011f5780638da5cb5b1461069f57806391609449146106bd5780639860fa25146106d057600080fd5b80638a810324146106705780638b877db21461068c57600080fd5b80638459ec681161016b5780638459ec68146105e057806387326a0c146105f3578063884ef0aa1461065d57600080fd5b8063715018a6146105405780637a5b4f591461054857600080fd5b8063445c81d71161023457806362043bd8116101e8578063650de76b116101cd578063650de76b146104e157806366666aa9146105115780636cb4ded31461052d57600080fd5b806362043bd8146104b15780636459db95146104ce57600080fd5b806353b749221161021957806353b749221461044a5780635b2167231461047a578063605a50171461049e57600080fd5b8063445c81d7146103fb5780634c4a17091461040e57600080fd5b806322828cc21161028b57806337e15bce1161027057806337e15bce146103c25780633a64440b146103d557806340e7e9f0146103e857600080fd5b806322828cc21461038f5780632a019e6f146103af57600080fd5b80630b56a2bc116102bc5780630b56a2bc1461031e5780630f04adfe1461033757806317c2b0a91461037c57600080fd5b806307fd8763146102d857806309991223146102ed575b600080fd5b6102eb6102e6366004615412565b6107c6565b005b6102f86305f5e10081565b6040516fffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6103266107d6565b6040516103159594939291906154c2565b6065546103579073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610315565b6102eb61038a366004615412565b610818565b6069546103579073ffffffffffffffffffffffffffffffffffffffff1681565b6102eb6103bd366004615592565b6109b5565b6102eb6103d03660046155d5565b610a41565b6102eb6103e33660046155f0565b610b35565b6102eb6103f636600461561c565b610e87565b6102eb610409366004615670565b611256565b61042161041c36600461569a565b61177c565b604080516fffffffffffffffffffffffffffffffff938416815292909116602083015201610315565b6066546102f89070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1681565b61048d6104883660046156b5565b611846565b6040516103159594939291906156d1565b6102eb6104ac36600461576c565b611c12565b6104c0670de0b6b3a764000081565b604051908152602001610315565b6102eb6104dc366004615670565b61205e565b6067546102f89070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1681565b6066546102f8906fffffffffffffffffffffffffffffffff1681565b6102eb61053b36600461569a565b61208f565b6102eb61217e565b606554606954606a546066546067546068546040805173ffffffffffffffffffffffffffffffffffffffff97881681529690951660208701526fffffffffffffffffffffffffffffffff938416948601949094528282166060860152700100000000000000000000000000000000918290048316608086015282811660a086015204811660c08401521660e082015261010001610315565b6102eb6105ee366004615670565b612188565b61060661060136600461569a565b612194565b6040805173ffffffffffffffffffffffffffffffffffffffff90961686526fffffffffffffffffffffffffffffffff948516602087015292841692850192909252919091166060830152608082015260a001610315565b6102eb61066b3660046155f0565b6122a7565b606a546102f8906fffffffffffffffffffffffffffffffff1681565b6102eb61069a36600461569a565b612578565b60335473ffffffffffffffffffffffffffffffffffffffff16610357565b6102eb6106cb366004615412565b612704565b6104216106de36600461569a565b612c8f565b6102eb6106f136600461569a565b612d87565b6068546102f8906fffffffffffffffffffffffffffffffff1681565b6104c06107203660046156b5565b612e7a565b610326610733366004615412565b61316c565b6102eb6107463660046157d8565b6135e8565b6102eb61075936600461583d565b613881565b6067546102f8906fffffffffffffffffffffffffffffffff1681565b6102eb610788366004615592565b613a46565b6102eb61079b36600461569a565b613e5e565b6102eb6107ae36600461569a565b613fb0565b6102eb6107c13660046155d5565b6140c2565b6107d282826001614176565b5050565b60608060608060606108076000606a60009054906101000a90046fffffffffffffffffffffffffffffffff1661316c565b945094509450945094509091929394565b610820614758565b606a546fffffffffffffffffffffffffffffffff908116908316106108a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f7200000000000000000000000000000060448201526064015b60405180910390fd5b670de0b6b3a7640000816fffffffffffffffffffffffffffffffff1610610929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f52617465206d757374206265206c657373207468616e20313030250000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8281166000818152606b602090815260409182902060030180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000169486169485179055905192835290917f0f8cc456c84d934a2b1eb24d7b56c2304c9e61aed06c7e67aa5167ff06c0bc6591015b60405180910390a25050565b6000816fffffffffffffffffffffffffffffffff1611610a31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f416d6f756e742069732030000000000000000000000000000000000000000000604482015260640161089d565b610a3c8383836147d9565b505050565b610a49614758565b73ffffffffffffffffffffffffffffffffffffffff8116610ac6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f496e76616c696420616464726573730000000000000000000000000000000000604482015260640161089d565b606980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f806e006f6f107ac370f162bdeec43a7db0f2d47ca85ba3da932d442771912a3590600090a250565b606a546fffffffffffffffffffffffffffffffff90811690831610610bb6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8281166000908152606b6020908152604080832033845260060190915290205490821610610c51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e7374616b696e6720646f6573206e6f742065786973740000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8083166000908152606b602090815260408083203384526006019091528120805491929091908416908110610c9957610c99615867565b600091825260209091200180549091506fffffffffffffffffffffffffffffffff9081164390911611610d28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f436f6f6c646f776e20706572696f6420686173206e6f7420656e646564000000604482015260640161089d565b80546fffffffffffffffffffffffffffffffff808616700100000000000000000000000000000000909204161015610dbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f416d6f756e7420697320746f6f20686967680000000000000000000000000000604482015260640161089d565b80546fffffffffffffffffffffffffffffffff80821670010000000000000000000000000000000092839004821687900382168302178084559190910416600003610e285780547fffffffffffffffffffffffffffffffff000000000000000000000000000000001681555b6040516fffffffffffffffffffffffffffffffff85811682528084169133918616907fa907b4e09e37315c70c013b1855950857585ae1efd206f344d5507f3b7a440d79060200160405180910390a4610e813385614ce4565b50505050565b606a546fffffffffffffffffffffffffffffffff90811690841610610f08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff83166000908152606b602052604081206004810154909103610f97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f56616c696461746f72206973206e6f742064697361626c656400000000000000604482015260640161089d565b60018101543373ffffffffffffffffffffffffffffffffffffffff9091160361101c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f56616c696461746f722063616e6e6f7420726564656c65676174650000000000604482015260640161089d565b3360009081526006820160205260409020546fffffffffffffffffffffffffffffffff8316106110a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e7374616b696e6720646f6573206e6f742065786973740000000000000000604482015260640161089d565b336000908152600682016020526040812080546fffffffffffffffffffffffffffffffff85169081106110dd576110dd615867565b600091825260209091200180549091506fffffffffffffffffffffffffffffffff80881670010000000000000000000000000000000090920416101561117f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f556e7374616b696e6720686173206c65737320746f6b656e7300000000000000604482015260640161089d565b80546fffffffffffffffffffffffffffffffff808216700100000000000000000000000000000000928390048216899003821683021780845591909104166000036111eb5780547fffffffffffffffffffffffffffffffff000000000000000000000000000000001681555b604080516fffffffffffffffffffffffffffffffff88811682528581166020830152339281881692918916917fad667f96915cdefb4384b6fc59780e6f35a72cffecee152d5b83c2ec4bd16e3a910160405180910390a461124e84876000614176565b505050505050565b6fffffffffffffffffffffffffffffffff82166000908152606b60205260409020600181015473ffffffffffffffffffffffffffffffffffffffff1633146112fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f53656e646572206973206e6f74207468652076616c696461746f720000000000604482015260640161089d565b600181015473ffffffffffffffffffffffffffffffffffffffff8084169116036113a857604080517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482015260248101919091527f546865206e657720616464726573732063616e6e6f7420626520657175616c2060448201527f746f207468652063757272656e742076616c696461746f722061646472657373606482015260840161089d565b73ffffffffffffffffffffffffffffffffffffffff8216611425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f496e76616c69642076616c696461746f72206164647265737300000000000000604482015260640161089d565b3360009081526005820160205260408082205473ffffffffffffffffffffffffffffffffffffffff8516835290822080546fffffffffffffffffffffffffffffffff928316939192611479918591166158c5565b82546101009290920a6fffffffffffffffffffffffffffffffff8181021990931691831602179091553360009081526005840160205260408082205473ffffffffffffffffffffffffffffffffffffffff871683529120805470010000000000000000000000000000000092839004841694509092601092611500928692919004166158c5565b82546fffffffffffffffffffffffffffffffff9182166101009390930a9283029190920219909116179055503360009081526005820160209081526040808320839055600684019091529020805461012c8111156115e0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f43616e6e6f74207472616e73666572206d6f7265207468616e2033303020756e60448201527f7374616b696e6773000000000000000000000000000000000000000000000000606482015260840161089d565b73ffffffffffffffffffffffffffffffffffffffff841660009081526006840160205260408120905b82816fffffffffffffffffffffffffffffffff1610156116d7578184826fffffffffffffffffffffffffffffffff168154811061164857611648615867565b6000918252602080832084546001810186559484529220910180549190920180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff928316908117825592547001000000000000000000000000000000009081900490921690910290911790556116d0816158f9565b9050611609565b5033600090815260068501602052604081206116f2916153bb565b6001840180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87169081179091556040516fffffffffffffffffffffffffffffffff8816907f440fb92be8d36802cfffb11ceda74bc13f38abab2e6f8675b9b1725787a6e52990600090a3505050505050565b6fffffffffffffffffffffffffffffffff8082166000908152606b60209081526040808320600181015473ffffffffffffffffffffffffffffffffffffffff168452600581019092528220548154929384936117f09282169170010000000000000000000000000000000090910416614d1a565b600282015482549194508491611834916fffffffffffffffffffffffffffffffff700100000000000000000000000000000000918290048116929190910416614d1a565b61183e9190615928565b915050915091565b606a546000908190819060609081906fffffffffffffffffffffffffffffffff908116908716106118d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8087166000908152606b6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8c1684526005810190925282208054825470010000000000000000000000000000000080830487169b50939592949361194c9392831692910416614d1a565b82549091506fffffffffffffffffffffffffffffffff70010000000000000000000000000000000090910481169082161161198a57600096506119bf565b81546119bc9070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1682615928565b96505b600183015473ffffffffffffffffffffffffffffffffffffffff808c169116036119fa5782546fffffffffffffffffffffffffffffffff1695505b73ffffffffffffffffffffffffffffffffffffffff8a166000908152600684016020908152604080832080548251818502810185019093528083529192909190849084015b82821015611a9e57600084815260209081902060408051808201909152908401546fffffffffffffffffffffffffffffffff80821683527001000000000000000000000000000000009091041681830152825260019092019101611a3f565b505082519293508291505067ffffffffffffffff811115611ac157611ac1615959565b604051908082528060200260200182016040528015611aea578160200160208202803683370190505b5096508067ffffffffffffffff811115611b0657611b06615959565b604051908082528060200260200182016040528015611b2f578160200160208202803683370190505b50955060005b81811015611c0257828181518110611b4f57611b4f615867565b602002602001015160200151888281518110611b6d57611b6d615867565b60200260200101906fffffffffffffffffffffffffffffffff1690816fffffffffffffffffffffffffffffffff1681525050828181518110611bb157611bb1615867565b602002602001015160000151878281518110611bcf57611bcf615867565b6fffffffffffffffffffffffffffffffff9092166020928302919091019091015280611bfa81615988565b915050611b35565b5050505050509295509295909350565b60695473ffffffffffffffffffffffffffffffffffffffff163314611c93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43616c6c6572206973206e6f74207374616b696e674d616e6167657200000000604482015260640161089d565b828114611d22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f476976656e2069647320616e6420616d6f756e747320617272617973206d757360448201527f74206265206f66207468652073616d65206c656e677468000000000000000000606482015260840161089d565b6066546fffffffffffffffffffffffffffffffff1660008080805b8781101561201257868682818110611d5757611d57615867565b9050602002016020810190611d6c919061569a565b9350888882818110611d8057611d80615867565b9050602002016020810190611d95919061569a565b9250836fffffffffffffffffffffffffffffffff16856fffffffffffffffffffffffffffffffff161015611e11576040516fffffffffffffffffffffffffffffffff85811682528416907f0fe05e323c51ec64db29d65e4471f535fbed63586f534f452455b30e985424839060200160405180910390a2612000565b6fffffffffffffffffffffffffffffffff8084166000908152606b60205260408120600281015490927001000000000000000000000000000000009091041690819003611ea6576040516fffffffffffffffffffffffffffffffff87811682528616907f7110409a3c69501d520618529eec9541a3d35ae7b4c5df2a4e5271438105cee39060200160405180910390a2611ffd565b6003820154670de0b6b3a764000090611ed5906fffffffffffffffffffffffffffffffff9081169089166159c0565b611edf91906159fd565b935080670de0b6b3a7640000611ef58689615928565b6fffffffffffffffffffffffffffffffff16611f1191906159c0565b611f1b91906159fd565b82548390601090611f5390849070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff166158c5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550838260000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16611fb891906158c5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055508587611ffa9190615928565b96505b50505b8061200a81615988565b915050611d3d565b5050606680547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff9490941693909317909255505050505050565b6fffffffffffffffffffffffffffffffff8083166000908152606b60205260409020546107d2918491849116613a46565b612097614758565b6000816fffffffffffffffffffffffffffffffff1611612113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d7573742062652067726561746572207468616e203000000000000000000000604482015260640161089d565b606780546fffffffffffffffffffffffffffffffff908116700100000000000000000000000000000000918416918202179091556040519081527fbe85ebc47051eb40cf466cba324b4ceee119941ef0101ec0123999a5b6794099906020015b60405180910390a150565b612186614758565b565b6107d2828260006147d9565b606a5460009081908190819081906fffffffffffffffffffffffffffffffff90811690871610612220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b505050506fffffffffffffffffffffffffffffffff9182166000908152606b60209081526040808320600181015473ffffffffffffffffffffffffffffffffffffffff168085526005820190935292205460028301546003840154600490940154929670010000000000000000000000000000000090920486169590811694509290921691565b606a546fffffffffffffffffffffffffffffffff90811690831610612328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8281166000908152606b60209081526040808320338452600601909152902054908216106123c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f556e7374616b696e6720646f6573206e6f742065786973740000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8083166000908152606b60209081526040808320338452600601909152812080549192909190841690811061240b5761240b615867565b600091825260209091200180549091506fffffffffffffffffffffffffffffffff8086167001000000000000000000000000000000009092041610156124ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f556e7374616b696e6720686173206c65737320746f6b656e7300000000000000604482015260640161089d565b80546fffffffffffffffffffffffffffffffff808216700100000000000000000000000000000000928390048216879003821683021780845591909104166000036125195780547fffffffffffffffffffffffffffffffff000000000000000000000000000000001681555b604080516fffffffffffffffffffffffffffffffff868116825284811660208301523392908616917ff9087cb83487275bb1784df2905fb9038a38f2423637cba5910e5e638147b546910160405180910390a3610e8183856000614176565b612580614758565b6000816fffffffffffffffffffffffffffffffff16116125fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f416d6f756e742069732030000000000000000000000000000000000000000000604482015260640161089d565b6066546fffffffffffffffffffffffffffffffff908116908216111561267e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f52657761726420706f6f6c20697320746f6f20736d616c6c0000000000000000604482015260640161089d565b606680547fffffffffffffffffffffffffffffffff0000000000000000000000000000000081166fffffffffffffffffffffffffffffffff91821684900382161790915560405190821681527fb377d2221ae3ae0038f8a2593ce854d79cc6d598036b3acb67a2bed08557ee2e9060200160405180910390a16127013382614ce4565b50565b606a546fffffffffffffffffffffffffffffffff90811690831610612785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6305f5e1006fffffffffffffffffffffffffffffffff82161015612805576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f556e7374616b6520616d6f756e7420697320746f6f20736d616c6c0000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8083166000908152606b602090815260408083203384526005810190925290912080549192909184821670010000000000000000000000000000000090910490911610156128c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5374616b6564203c20616d6f756e742070726f76696465640000000000000000604482015260640161089d565b600182015473ffffffffffffffffffffffffffffffffffffffff1633148080156128ec57506004830154155b156129c35760675482546000916fffffffffffffffffffffffffffffffff70010000000000000000000000000000000091829004811692612931928992910416615928565b61293b9190615a38565b60028501549091506fffffffffffffffffffffffffffffffff808316911611156129c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f43616e6e6f7420756e7374616b65206265796f6e64206d617820636170000000604482015260640161089d565b505b80612a28576002830180548591906000906129f19084906fffffffffffffffffffffffffffffffff16615928565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055505b8254600090612a5e90869070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16614d55565b83549091506fffffffffffffffffffffffffffffffff9081169082161115612a96575081546fffffffffffffffffffffffffffffffff165b82547fffffffffffffffffffffffffffffffff0000000000000000000000000000000081166fffffffffffffffffffffffffffffffff91821683900382161784556002850180548392601091612b02918591700100000000000000000000000000000000900416615928565b82546fffffffffffffffffffffffffffffffff9182166101009390930a9283029282021916919091179091558454700100000000000000000000000000000000808204831689900383160291161784555060048401546000908103612b675743612b6d565b84600401545b905082612b8e576067546fffffffffffffffffffffffffffffffff16612bb8565b60665470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff165b33600081815260068801602090815260408083208054825180840184526fffffffffffffffffffffffffffffffff9790980187811689528d881689860190815260018301845592865293909420965190518616700100000000000000000000000000000000029086161795830195909555935190928a16907ffd593fe24ae9d02e348b533a8253aaf9904b266a7b65556ae6181dd5cc58703b90612c7d908b9086906fffffffffffffffffffffffffffffffff92831681529116602082015260400190565b60405180910390a35050505050505050565b606a5460009081906fffffffffffffffffffffffffffffffff90811690841610612d15576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b50506fffffffffffffffffffffffffffffffff9081166000908152606b60209081526040808320600181015473ffffffffffffffffffffffffffffffffffffffff1684526005810190925290912054600290910154700100000000000000000000000000000000909104821692911690565b612d8f614758565b6000816fffffffffffffffffffffffffffffffff1611612e0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f50726f7669646564206d6178207374616b652069732030000000000000000000604482015260640161089d565b606880547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff83169081179091556040519081527fc85c2d6ddb875b53634093f65fbea4ed8eba0b4efca26b87bc17ffedb668916490602001612173565b60695460009073ffffffffffffffffffffffffffffffffffffffff163314612efe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43616c6c6572206973206e6f74207374616b696e674d616e6167657200000000604482015260640161089d565b670de0b6b3a7640000826fffffffffffffffffffffffffffffffff1610612f81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f52617465206d757374206265206c657373207468616e20313030250000000000604482015260640161089d565b73ffffffffffffffffffffffffffffffffffffffff8316612ffe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f56616c696461746f722061646472657373206973203000000000000000000000604482015260640161089d565b606a80546fffffffffffffffffffffffffffffffff9081166000908152606b6020908152604091829020600180820180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8b1690811790915582548616770de0b6b3a7640000000000000000000000000000000000001783556003830180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000168a881690811790915560048401929092559554935190815290949392909216917f5a7dc0f8a1745e71f29bb12198638d3c7284ae1227928e679ab6bf3dc1f28617910160405180910390a3606a80547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811660016fffffffffffffffffffffffffffffffff928316810190921690811790925561315291615928565b6fffffffffffffffffffffffffffffffff16949350505050565b606a5460609081908190819081906fffffffffffffffffffffffffffffffff90811690871611156131f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c696420656e64206964000000000000000000000000000000000000604482015260640161089d565b856fffffffffffffffffffffffffffffffff16876fffffffffffffffffffffffffffffffff16106132ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f5374617274206964206d757374206265206c657373207468616e20656e64206960448201527f6400000000000000000000000000000000000000000000000000000000000000606482015260840161089d565b60006132b88888615928565b9050806fffffffffffffffffffffffffffffffff1667ffffffffffffffff8111156132e5576132e5615959565b60405190808252806020026020018201604052801561330e578160200160208202803683370190505b509550806fffffffffffffffffffffffffffffffff1667ffffffffffffffff81111561333c5761333c615959565b604051908082528060200260200182016040528015613365578160200160208202803683370190505b509450806fffffffffffffffffffffffffffffffff1667ffffffffffffffff81111561339357613393615959565b6040519080825280602002602001820160405280156133bc578160200160208202803683370190505b509350806fffffffffffffffffffffffffffffffff1667ffffffffffffffff8111156133ea576133ea615959565b604051908082528060200260200182016040528015613413578160200160208202803683370190505b509250806fffffffffffffffffffffffffffffffff1667ffffffffffffffff81111561344157613441615959565b60405190808252806020026020018201604052801561346a578160200160208202803683370190505b5091506000885b886fffffffffffffffffffffffffffffffff16816fffffffffffffffffffffffffffffffff1610156135db576134a78a82615928565b91506134b281612194565b8c876fffffffffffffffffffffffffffffffff16815181106134d6576134d6615867565b602002602001018c886fffffffffffffffffffffffffffffffff168151811061350157613501615867565b602002602001018c896fffffffffffffffffffffffffffffffff168151811061352c5761352c615867565b602002602001018c8a6fffffffffffffffffffffffffffffffff168151811061355757613557615867565b602002602001018c8b6fffffffffffffffffffffffffffffffff168151811061358257613582615867565b60209081029190910101949094526fffffffffffffffffffffffffffffffff9485169093529383169091529216905273ffffffffffffffffffffffffffffffffffffffff90911690526135d4816158f9565b9050613471565b5050509295509295909350565b600054610100900460ff16158080156136085750600054600160ff909116105b806136225750303b158015613622575060005460ff166001145b6136ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161089d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561370c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b613714614d90565b606680546fffffffffffffffffffffffffffffffff908116700100000000000000000000000000000000878316818102929092179093558782168683169384028117606755606880547fffffffffffffffffffffffffffffffff00000000000000000000000000000000169387169384179055606580547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8c1690811790915560408051918252602082019390935291820152606081019290925260808201527f0d020790a4661b48ba70c972576a0ef9415e63f7d4f70620772b456804be11859060a00160405180910390a1801561124e57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050505050565b60695473ffffffffffffffffffffffffffffffffffffffff163314613902576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43616c6c6572206973206e6f74207374616b696e674d616e6167657200000000604482015260640161089d565b606a546fffffffffffffffffffffffffffffffff90811690831610613983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b600081116139ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f44697361626c6520626c6f636b2063616e6e6f74206265203000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff82166000818152606b602052604090819020600401839055517f890228cff135716fe461694a594a1308c48a00abf62b3fcff51a2fbabf234712906109a99084815260200190565b606a546fffffffffffffffffffffffffffffffff90811690841610613ac7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b73ffffffffffffffffffffffffffffffffffffffff8216613b44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e76616c69642062656e656669636961727900000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff83166000908152606b60205260409020600181015473ffffffffffffffffffffffffffffffffffffffff163314613be8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5468652073656e646572206973206e6f74207468652076616c696461746f7200604482015260640161089d565b80546fffffffffffffffffffffffffffffffff16613c88576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4e6f20636f6d6d697373696f6e20617661696c61626c6520746f20726564656560448201527f6d00000000000000000000000000000000000000000000000000000000000000606482015260840161089d565b6000826fffffffffffffffffffffffffffffffff1611613d04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f5468652072657175657374656420616d6f756e74206973203000000000000000604482015260640161089d565b80546fffffffffffffffffffffffffffffffff9081169083161115613dab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f52657175657374656420616d6f756e7420697320686967686572207468616e2060448201527f636f6d6d697373696f6e20617661696c61626c6520746f2072656465656d0000606482015260840161089d565b80546fffffffffffffffffffffffffffffffff808216849003167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116178155613df68383614ce4565b6040516fffffffffffffffffffffffffffffffff838116825273ffffffffffffffffffffffffffffffffffffffff851691908616907fca484c45ad2d2422ff409731d1783446054a9a6549f63f4e668f85d03513624c9060200160405180910390a350505050565b60695473ffffffffffffffffffffffffffffffffffffffff163314613edf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f43616c6c6572206973206e6f74207374616b696e674d616e6167657200000000604482015260640161089d565b606a546fffffffffffffffffffffffffffffffff90811690821610613f60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff81166000818152606b6020526040808220600401829055517f553b029ba5c74688a5da732136d246f722502db24ed6b4aaf1cdc9f2f9ef23ef9190a250565b613fb8614758565b6000816fffffffffffffffffffffffffffffffff1611614034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f416d6f756e742069732030000000000000000000000000000000000000000000604482015260640161089d565b606680546fffffffffffffffffffffffffffffffff8082168401167fffffffffffffffffffffffffffffffff000000000000000000000000000000009091161790556140803382614e2f565b6040516fffffffffffffffffffffffffffffffff821681527f2db5044922a44e715fdfd31c569712694c5956bbd41e06011f1c8ed339f5ff8f90602001612173565b6140ca614758565b73ffffffffffffffffffffffffffffffffffffffff811661416d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161089d565b61270181614e66565b606a546fffffffffffffffffffffffffffffffff908116908416106141f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b6305f5e1006fffffffffffffffffffffffffffffffff83161015614277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f5374616b6520616d6f756e7420697320746f6f20736d616c6c00000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff83166000908152606b60205260409020600181015473ffffffffffffffffffffffffffffffffffffffff1633148061432657600482015415614326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f56616c696461746f722069732064697361626c65640000000000000000000000604482015260640161089d565b815460009061435c90869070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16614d55565b336000908152600585016020526040902090915082156144375780546000906143ac90889070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff166158c5565b6068549091506fffffffffffffffffffffffffffffffff9081169082161115614431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f56616c696461746f72206d6178207374616b6520657863656564656400000000604482015260640161089d565b506145c2565b606754600185015473ffffffffffffffffffffffffffffffffffffffff166000908152600586016020526040812054909161449f916fffffffffffffffffffffffffffffffff7001000000000000000000000000000000009283900481169290910416615a38565b60028601549091506000906144c79089906fffffffffffffffffffffffffffffffff166158c5565b9050816fffffffffffffffffffffffffffffffff16816fffffffffffffffffffffffffffffffff16111561457d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f56616c696461746f72206d61782064656c65676174696f6e206578636565646560448201527f6400000000000000000000000000000000000000000000000000000000000000606482015260840161089d565b6002860180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055505b818460020160108282829054906101000a90046fffffffffffffffffffffffffffffffff166145f191906158c5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550818160000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661465691906158c5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550858160000160108282829054906101000a90046fffffffffffffffffffffffffffffffff166146bb91906158c5565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055508415614701576147013387614e2f565b604080513381526fffffffffffffffffffffffffffffffff88811660208301528916917fc833924412a8727ace4d92945c637ad2d4b389e582bfd4a95cdee608eee9720a910160405180910390a250505050505050565b60335473ffffffffffffffffffffffffffffffffffffffff163314612186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161089d565b606a546fffffffffffffffffffffffffffffffff9081169084161061485a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c69642076616c696461746f72000000000000000000000000000000604482015260640161089d565b73ffffffffffffffffffffffffffffffffffffffff82166148d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496e76616c69642062656e656669636961727900000000000000000000000000604482015260640161089d565b6fffffffffffffffffffffffffffffffff8084166000908152606b60209081526040808320338452600581019092528220805482549294919392614934929182169170010000000000000000000000000000000090910416614d1a565b90506fffffffffffffffffffffffffffffffff8416158015614a075782546305f5e100906149889070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1684615928565b6fffffffffffffffffffffffffffffffff161015614a02576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e6f7468696e6720746f2072656465656d000000000000000000000000000000604482015260640161089d565b614b5e565b82546fffffffffffffffffffffffffffffffff80871691614a3e917001000000000000000000000000000000009091041684615928565b6fffffffffffffffffffffffffffffffff161015614ab8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f52657175657374656420616d6f756e7420697320746f6f206869676800000000604482015260640161089d565b6305f5e1006fffffffffffffffffffffffffffffffff86161015614b5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f52657175657374656420616d6f756e74206d757374206265206869676865722060448201527f7468616e2072656465656d207468726573686f6c640000000000000000000000606482015260840161089d565b600081614b6b5785614b9d565b8354614b9d9070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1684615928565b8554909150600090614bd690839070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16614d55565b85549091506fffffffffffffffffffffffffffffffff9081169082161115614c0e575083546fffffffffffffffffffffffffffffffff165b6002860180546fffffffffffffffffffffffffffffffff80821670010000000000000000000000000000000092839004821685900382169092029190911790915585547fffffffffffffffffffffffffffffffff0000000000000000000000000000000081169082168390038216178655604051838216815273ffffffffffffffffffffffffffffffffffffffff8a16918b16907fbf3f2aa111a63b63567f864e18723c486b9276b75fdadebb83f62cd228263e0c9060200160405180910390a3614cd98883614ce4565b505050505050505050565b6065546107d29073ffffffffffffffffffffffffffffffffffffffff16836fffffffffffffffffffffffffffffffff8416614edd565b6000670de0b6b3a7640000614d446fffffffffffffffffffffffffffffffff8085169086166159c0565b614d4e91906159fd565b9392505050565b6000816fffffffffffffffffffffffffffffffff16670de0b6b3a7640000846fffffffffffffffffffffffffffffffff16614d4491906159c0565b600054610100900460ff16614e27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161089d565b612186614fb1565b6065546107d29073ffffffffffffffffffffffffffffffffffffffff1683306fffffffffffffffffffffffffffffffff8516615051565b6033805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610a3c9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526150af565b600054610100900460ff16615048576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840161089d565b61218633614e66565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610e819085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401614f2f565b6000615111826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166151bb9092919063ffffffff16565b805190915015610a3c578080602001905181019061512f9190615a70565b610a3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161089d565b60606151ca84846000856151d2565b949350505050565b606082471015615264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161089d565b73ffffffffffffffffffffffffffffffffffffffff85163b6152e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161089d565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161530b9190615abe565b60006040518083038185875af1925050503d8060008114615348576040519150601f19603f3d011682016040523d82523d6000602084013e61534d565b606091505b509150915061535d828286615368565b979650505050505050565b60608315615377575081614d4e565b8251156153875782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089d9190615ada565b508054600082559060005260206000209081019061270191905b808211156153e957600081556001016153d5565b5090565b80356fffffffffffffffffffffffffffffffff8116811461540d57600080fd5b919050565b6000806040838503121561542557600080fd5b61542e836153ed565b915061543c602084016153ed565b90509250929050565b600081518084526020808501945080840160005b838110156154875781516fffffffffffffffffffffffffffffffff1687529582019590820190600101615459565b509495945050505050565b600081518084526020808501945080840160005b83811015615487578151875295820195908201906001016154a6565b60a0808252865190820181905260009060209060c0840190828a01845b8281101561551157815173ffffffffffffffffffffffffffffffffffffffff16845292840192908401906001016154df565b505050838103828501526155258189615445565b915050828103604084015261553a8187615445565b9050828103606084015261554e8186615445565b905082810360808401526155628185615492565b98975050505050505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461540d57600080fd5b6000806000606084860312156155a757600080fd5b6155b0846153ed565b92506155be6020850161556e565b91506155cc604085016153ed565b90509250925092565b6000602082840312156155e757600080fd5b614d4e8261556e565b60008060006060848603121561560557600080fd5b61560e846153ed565b92506155be602085016153ed565b6000806000806080858703121561563257600080fd5b61563b856153ed565b9350615649602086016153ed565b9250615657604086016153ed565b9150615665606086016153ed565b905092959194509250565b6000806040838503121561568357600080fd5b61568c836153ed565b915061543c6020840161556e565b6000602082840312156156ac57600080fd5b614d4e826153ed565b600080604083850312156156c857600080fd5b61542e8361556e565b60006fffffffffffffffffffffffffffffffff8088168352808716602084015280861660408401525060a0606083015261570e60a0830185615445565b82810360808401526155628185615445565b60008083601f84011261573257600080fd5b50813567ffffffffffffffff81111561574a57600080fd5b6020830191508360208260051b850101111561576557600080fd5b9250929050565b6000806000806040858703121561578257600080fd5b843567ffffffffffffffff8082111561579a57600080fd5b6157a688838901615720565b909650945060208701359150808211156157bf57600080fd5b506157cc87828801615720565b95989497509550505050565b600080600080600060a086880312156157f057600080fd5b6157f98661556e565b9450615807602087016153ed565b9350615815604087016153ed565b9250615823606087016153ed565b9150615831608087016153ed565b90509295509295909350565b6000806040838503121561585057600080fd5b615859836153ed565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006fffffffffffffffffffffffffffffffff8083168185168083038211156158f0576158f0615896565b01949350505050565b60006fffffffffffffffffffffffffffffffff80831681810361591e5761591e615896565b6001019392505050565b60006fffffffffffffffffffffffffffffffff8381169083168181101561595157615951615896565b039392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036159b9576159b9615896565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156159f8576159f8615896565b500290565b600082615a33577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60006fffffffffffffffffffffffffffffffff80831681851681830481118215151615615a6757615a67615896565b02949350505050565b600060208284031215615a8257600080fd5b81518015158114614d4e57600080fd5b60005b83811015615aad578181015183820152602001615a95565b83811115610e815750506000910152565b60008251615ad0818460208701615a92565b9190910192915050565b6020815260008251806020840152615af9816040850160208701615a92565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea26469706673582212205fe5351ed9558e30721866e05ff37854e674e3ae5a481cc3924cd6195a80eac764736f6c634300080d0033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in GLMR
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.