Source Code
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
StakingContract
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.8.10;
import "./libs/BytesLib.sol";
import "./interfaces/IFeeRecipient.sol";
import "./interfaces/IDepositContract.sol";
import "./libs/StakingContractStorageLib.sol";
import "@openzeppelin/contracts/proxy/Clones.sol";
/// @title Ethereum Staking Contract
/// @author Kiln
/// @notice You can use this contract to store validator keys and have users fund them and trigger deposits.
contract StakingContract {
using StakingContractStorageLib for bytes32;
uint256 internal constant EXECUTION_LAYER_SALT_PREFIX = 0;
uint256 internal constant CONSENSUS_LAYER_SALT_PREFIX = 1;
uint256 public constant SIGNATURE_LENGTH = 96;
uint256 public constant PUBLIC_KEY_LENGTH = 48;
uint256 public constant DEPOSIT_SIZE = 32 ether;
// this is the equivalent of Uint256Lib.toLittleEndian64(DEPOSIT_SIZE / 1000000000 wei);
uint256 constant DEPOSIT_SIZE_AMOUNT_LITTLEENDIAN64 =
0x0040597307000000000000000000000000000000000000000000000000000000;
uint256 internal constant BASIS_POINTS = 10_000;
uint256 internal constant WITHDRAWAL_CREDENTIAL_PREFIX_01 =
0x0100000000000000000000000000000000000000000000000000000000000000;
error Forbidden();
error InvalidFee();
error Deactivated();
error NoOperators();
error InvalidCall();
error Unauthorized();
error DepositFailure();
error DepositsStopped();
error InvalidArgument();
error UnsortedIndexes();
error InvalidPublicKeys();
error InvalidSignatures();
error InvalidWithdrawer();
error InvalidZeroAddress();
error AlreadyInitialized();
error InvalidDepositValue();
error NotEnoughValidators();
error InvalidValidatorCount();
error DuplicateValidatorKey(bytes);
error FundedValidatorDeletionAttempt();
error OperatorLimitTooHigh(uint256 limit, uint256 keyCount);
error MaximumOperatorCountAlreadyReached();
error LastEditAfterSnapshot();
error PublicKeyNotInContract();
struct ValidatorAllocationCache {
bool used;
uint8 operatorIndex;
uint32 funded;
uint32 toDeposit;
uint32 available;
}
event Deposit(address indexed caller, address indexed withdrawer, bytes publicKey, bytes signature);
event ValidatorKeysAdded(uint256 indexed operatorIndex, bytes publicKeys, bytes signatures);
event ValidatorKeyRemoved(uint256 indexed operatorIndex, bytes publicKey);
event ChangedWithdrawer(bytes publicKey, address newWithdrawer);
event ChangedOperatorLimit(uint256 operatorIndex, uint256 limit);
event ChangedTreasury(address newTreasury);
event ChangedGlobalFee(uint256 newGlobalFee);
event ChangedOperatorFee(uint256 newOperatorFee);
event ChangedAdmin(address newAdmin);
event ChangedDepositsStopped(bool isStopped);
event NewOperator(address operatorAddress, address feeRecipientAddress, uint256 index);
event ChangedOperatorAddresses(uint256 operatorIndex, address operatorAddress, address feeRecipientAddress);
event DeactivatedOperator(uint256 _operatorIndex);
event ActivatedOperator(uint256 _operatorIndex);
event SetWithdrawerCustomizationStatus(bool _status);
event ExitRequest(address caller, bytes pubkey);
event ValidatorsEdited(uint256 blockNumber);
/// @notice Ensures an initialisation call has been called only once per _version value
/// @param _version The current initialisation value
modifier init(uint256 _version) {
if (_version != StakingContractStorageLib.getVersion() + 1) {
revert AlreadyInitialized();
}
StakingContractStorageLib.setVersion(_version);
_;
}
/// @notice Ensures that the caller is the admin
modifier onlyAdmin() {
if (msg.sender != StakingContractStorageLib.getAdmin()) {
revert Unauthorized();
}
_;
}
/// @notice Ensures that the caller is the admin or the operator
modifier onlyActiveOperatorOrAdmin(uint256 _operatorIndex) {
if (msg.sender == StakingContractStorageLib.getAdmin()) {
_;
} else {
_onlyActiveOperator(_operatorIndex);
_;
}
}
/// @notice Ensures that the caller is the admin
modifier onlyActiveOperator(uint256 _operatorIndex) {
_onlyActiveOperator(_operatorIndex);
_;
}
/// @notice Ensures that the caller is the operator fee recipient
modifier onlyActiveOperatorFeeRecipient(uint256 _operatorIndex) {
StakingContractStorageLib.OperatorInfo storage operatorInfo = StakingContractStorageLib.getOperators().value[
_operatorIndex
];
if (operatorInfo.deactivated) {
revert Deactivated();
}
if (msg.sender != operatorInfo.feeRecipient) {
revert Unauthorized();
}
_;
}
/// @notice Explicit deposit method using msg.sender
/// @dev A multiple of 32 ETH should be sent
function deposit() external payable {
_deposit();
}
/// @notice Implicit deposit method
/// @dev A multiple of 32 ETH should be sent
/// @dev The withdrawer is set to the message sender address
receive() external payable {
_deposit();
}
/// @notice Fallback detection
/// @dev Fails on any call that fallbacks
fallback() external payable {
revert InvalidCall();
}
function initialize_1(
address _admin,
address _treasury,
address _depositContract,
address _elDispatcher,
address _clDispatcher,
address _feeRecipientImplementation,
uint256 _globalFee,
uint256 _operatorFee,
uint256 globalCommissionLimitBPS,
uint256 operatorCommissionLimitBPS
) external init(1) {
_checkAddress(_admin);
StakingContractStorageLib.setAdmin(_admin);
_checkAddress(_treasury);
StakingContractStorageLib.setTreasury(_treasury);
if (_globalFee > BASIS_POINTS) {
revert InvalidFee();
}
StakingContractStorageLib.setGlobalFee(_globalFee);
if (_operatorFee > BASIS_POINTS) {
revert InvalidFee();
}
StakingContractStorageLib.setOperatorFee(_operatorFee);
_checkAddress(_elDispatcher);
StakingContractStorageLib.setELDispatcher(_elDispatcher);
_checkAddress(_clDispatcher);
StakingContractStorageLib.setCLDispatcher(_clDispatcher);
_checkAddress(_depositContract);
StakingContractStorageLib.setDepositContract(_depositContract);
_checkAddress(_feeRecipientImplementation);
StakingContractStorageLib.setFeeRecipientImplementation(_feeRecipientImplementation);
initialize_2(globalCommissionLimitBPS, operatorCommissionLimitBPS);
}
function initialize_2(uint256 globalCommissionLimitBPS, uint256 operatorCommissionLimitBPS) public init(2) {
if (globalCommissionLimitBPS > BASIS_POINTS) {
revert InvalidFee();
}
StakingContractStorageLib.setGlobalCommissionLimit(globalCommissionLimitBPS);
if (operatorCommissionLimitBPS > BASIS_POINTS) {
revert InvalidFee();
}
StakingContractStorageLib.setOperatorCommissionLimit(operatorCommissionLimitBPS);
}
/// @notice Changes the behavior of the withdrawer customization logic
/// @param _enabled True to allow users to customize the withdrawer
function setWithdrawerCustomizationEnabled(bool _enabled) external onlyAdmin {
StakingContractStorageLib.setWithdrawerCustomizationEnabled(_enabled);
emit SetWithdrawerCustomizationStatus(_enabled);
}
/// @notice Retrieve system admin
function getAdmin() external view returns (address) {
return StakingContractStorageLib.getAdmin();
}
/// @notice Set new treasury
/// @dev Only callable by admin
/// @param _newTreasury New Treasury address
function setTreasury(address _newTreasury) external onlyAdmin {
emit ChangedTreasury(_newTreasury);
StakingContractStorageLib.setTreasury(_newTreasury);
}
/// @notice Retrieve system treasury
function getTreasury() external view returns (address) {
return StakingContractStorageLib.getTreasury();
}
/// @notice Retrieve the global fee
function getGlobalFee() external view returns (uint256) {
return StakingContractStorageLib.getGlobalFee();
}
/// @notice Retrieve the operator fee
function getOperatorFee() external view returns (uint256) {
return StakingContractStorageLib.getOperatorFee();
}
/// @notice Compute the Execution Layer Fee recipient address for a given validator public key
/// @param _publicKey Validator to get the recipient
function getELFeeRecipient(bytes calldata _publicKey) external view returns (address) {
return _getDeterministicReceiver(_publicKey, EXECUTION_LAYER_SALT_PREFIX);
}
/// @notice Compute the Consensus Layer Fee recipient address for a given validator public key
/// @param _publicKey Validator to get the recipient
function getCLFeeRecipient(bytes calldata _publicKey) external view returns (address) {
return _getDeterministicReceiver(_publicKey, CONSENSUS_LAYER_SALT_PREFIX);
}
/// @notice Retrieve the Execution & Consensus Layer Fee operator recipient for a given public key
function getOperatorFeeRecipient(bytes32 pubKeyRoot) external view returns (address) {
if (StakingContractStorageLib.getOperatorIndexPerValidator().value[pubKeyRoot].enabled == false) {
revert PublicKeyNotInContract();
}
return
StakingContractStorageLib
.getOperators()
.value[StakingContractStorageLib.getOperatorIndexPerValidator().value[pubKeyRoot].operatorIndex]
.feeRecipient;
}
/// @notice Retrieve withdrawer of public key
/// @notice In case the validator is not enabled, it will return address(0)
/// @param _publicKey Public Key to check
function getWithdrawer(bytes calldata _publicKey) external view returns (address) {
return _getWithdrawer(_getPubKeyRoot(_publicKey));
}
/// @notice Retrieve withdrawer of public key root
/// @notice In case the validator is not enabled, it will return address(0)
/// @param _publicKeyRoot Hash of the public key
function getWithdrawerFromPublicKeyRoot(bytes32 _publicKeyRoot) external view returns (address) {
return _getWithdrawer(_publicKeyRoot);
}
/// @notice Retrieve whether the validator exit has been requested
/// @notice In case the validator is not enabled, it will return false
/// @param _publicKeyRoot Public Key Root to check
function getExitRequestedFromRoot(bytes32 _publicKeyRoot) external view returns (bool) {
return _getExitRequest(_publicKeyRoot);
}
/// @notice Return true if the validator already went through the exit logic
/// @notice In case the validator is not enabled, it will return false
/// @param _publicKeyRoot Public Key Root of the validator
function getWithdrawnFromPublicKeyRoot(bytes32 _publicKeyRoot) external view returns (bool) {
return StakingContractStorageLib.getWithdrawnMap().value[_publicKeyRoot];
}
/// @notice Retrieve the enabled status of public key root, true if the key is in the contract
/// @param _publicKeyRoot Hash of the public key
function getEnabledFromPublicKeyRoot(bytes32 _publicKeyRoot) external view returns (bool) {
return StakingContractStorageLib.getOperatorIndexPerValidator().value[_publicKeyRoot].enabled;
}
/// @notice Allows the CLDispatcher to signal a validator went through the exit logic
/// @param _publicKeyRoot Public Key Root of the validator
function toggleWithdrawnFromPublicKeyRoot(bytes32 _publicKeyRoot) external {
if (msg.sender != StakingContractStorageLib.getCLDispatcher()) {
revert Unauthorized();
}
StakingContractStorageLib.getWithdrawnMap().value[_publicKeyRoot] = true;
}
/// @notice Returns false if the users can deposit, true if deposits are stopped
function getDepositsStopped() external view returns (bool) {
return StakingContractStorageLib.getDepositStopped();
}
/// @notice Retrieve operator details
/// @param _operatorIndex Operator index
function getOperator(uint256 _operatorIndex)
external
view
returns (
address operatorAddress,
address feeRecipientAddress,
uint256 limit,
uint256 keys,
uint256 funded,
uint256 available,
bool deactivated
)
{
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
if (_operatorIndex < operators.value.length) {
StakingContractStorageLib.ValidatorsFundingInfo memory _operatorInfo = StakingContractStorageLib
.getValidatorsFundingInfo(_operatorIndex);
StakingContractStorageLib.OperatorInfo storage _operator = operators.value[_operatorIndex];
(operatorAddress, feeRecipientAddress, limit, keys, deactivated) = (
_operator.operator,
_operator.feeRecipient,
_operator.limit,
_operator.publicKeys.length,
_operator.deactivated
);
(funded, available) = (_operatorInfo.funded, _operatorInfo.availableKeys);
}
}
/// @notice Get details about a validator
/// @param _operatorIndex Index of the operator running the validator
/// @param _validatorIndex Index of the validator
function getValidator(uint256 _operatorIndex, uint256 _validatorIndex)
external
view
returns (
bytes memory publicKey,
bytes memory signature,
address withdrawer,
bool funded
)
{
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
publicKey = operators.value[_operatorIndex].publicKeys[_validatorIndex];
signature = operators.value[_operatorIndex].signatures[_validatorIndex];
withdrawer = _getWithdrawer(_getPubKeyRoot(publicKey));
funded = _validatorIndex < StakingContractStorageLib.getValidatorsFundingInfo(_operatorIndex).funded;
}
/// @notice Get the total available keys that are ready to be used for deposits
function getAvailableValidatorCount() external view returns (uint256) {
return StakingContractStorageLib.getTotalAvailableValidators();
}
/// @notice Set new admin
/// @dev Only callable by admin
/// @param _newAdmin New Administrator address
function transferOwnership(address _newAdmin) external onlyAdmin {
StakingContractStorageLib.setPendingAdmin(_newAdmin);
}
/// @notice New admin must accept its role by calling this method
/// @dev Only callable by new admin
function acceptOwnership() external {
address newAdmin = StakingContractStorageLib.getPendingAdmin();
if (msg.sender != newAdmin) {
revert Unauthorized();
}
StakingContractStorageLib.setAdmin(newAdmin);
StakingContractStorageLib.setPendingAdmin(address(0));
emit ChangedAdmin(newAdmin);
}
/// @notice Get the new admin's address previously set for an ownership transfer
function getPendingAdmin() external view returns (address) {
return StakingContractStorageLib.getPendingAdmin();
}
/// @notice Add new operator
/// @dev Only callable by admin
/// @param _operatorAddress Operator address allowed to add / remove validators
/// @param _feeRecipientAddress Privileged operator address used to manage rewards and operator addresses
function addOperator(address _operatorAddress, address _feeRecipientAddress) external onlyAdmin returns (uint256) {
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
StakingContractStorageLib.OperatorInfo memory newOperator;
if (operators.value.length == 1) {
revert MaximumOperatorCountAlreadyReached();
}
newOperator.operator = _operatorAddress;
newOperator.feeRecipient = _feeRecipientAddress;
operators.value.push(newOperator);
uint256 operatorIndex = operators.value.length - 1;
emit NewOperator(_operatorAddress, _feeRecipientAddress, operatorIndex);
return operatorIndex;
}
/// @notice Set new operator addresses (operations and reward management)
/// @dev Only callable by fee recipient address manager
/// @param _operatorIndex Index of the operator to update
/// @param _operatorAddress New operator address for operations management
/// @param _feeRecipientAddress New operator address for reward management
function setOperatorAddresses(
uint256 _operatorIndex,
address _operatorAddress,
address _feeRecipientAddress
) external onlyActiveOperatorFeeRecipient(_operatorIndex) {
_checkAddress(_operatorAddress);
_checkAddress(_feeRecipientAddress);
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
operators.value[_operatorIndex].operator = _operatorAddress;
operators.value[_operatorIndex].feeRecipient = _feeRecipientAddress;
emit ChangedOperatorAddresses(_operatorIndex, _operatorAddress, _feeRecipientAddress);
}
/// @notice Set withdrawer for public key
/// @dev Only callable by current public key withdrawer
/// @param _publicKey Public key to change withdrawer
/// @param _newWithdrawer New withdrawer address
function setWithdrawer(bytes calldata _publicKey, address _newWithdrawer) external {
if (!StakingContractStorageLib.getWithdrawerCustomizationEnabled()) {
revert Forbidden();
}
_checkAddress(_newWithdrawer);
bytes32 pubkeyRoot = _getPubKeyRoot(_publicKey);
StakingContractStorageLib.WithdrawersSlot storage withdrawers = StakingContractStorageLib.getWithdrawers();
if (withdrawers.value[pubkeyRoot] != msg.sender) {
revert Unauthorized();
}
emit ChangedWithdrawer(_publicKey, _newWithdrawer);
withdrawers.value[pubkeyRoot] = _newWithdrawer;
}
/// @notice Set operator staking limits
/// @dev Only callable by admin
/// @dev Limit should not exceed the validator key count of the operator
/// @dev Keys should be registered before limit is increased
/// @dev Allows all keys to be verified by the system admin before limit is increased
/// @param _operatorIndex Operator Index
/// @param _limit New staking limit
/// @param _snapshot Block number at which verification was done
function setOperatorLimit(
uint256 _operatorIndex,
uint256 _limit,
uint256 _snapshot
) external onlyAdmin {
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
if (operators.value[_operatorIndex].deactivated) {
revert Deactivated();
}
uint256 publicKeyCount = operators.value[_operatorIndex].publicKeys.length;
if (publicKeyCount < _limit) {
revert OperatorLimitTooHigh(_limit, publicKeyCount);
}
if (
operators.value[_operatorIndex].limit < _limit &&
StakingContractStorageLib.getLastValidatorEdit() > _snapshot
) {
revert LastEditAfterSnapshot();
}
operators.value[_operatorIndex].limit = _limit;
_updateAvailableValidatorCount(_operatorIndex);
emit ChangedOperatorLimit(_operatorIndex, _limit);
}
/// @notice Deactivates an operator and changes the fee recipient address and the staking limit
/// @param _operatorIndex Operator Index
/// @param _temporaryFeeRecipient Temporary address to receive funds decided by the system admin
function deactivateOperator(uint256 _operatorIndex, address _temporaryFeeRecipient) external onlyAdmin {
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
operators.value[_operatorIndex].limit = 0;
emit ChangedOperatorLimit(_operatorIndex, 0);
operators.value[_operatorIndex].deactivated = true;
emit DeactivatedOperator(_operatorIndex);
operators.value[_operatorIndex].feeRecipient = _temporaryFeeRecipient;
emit ChangedOperatorAddresses(_operatorIndex, operators.value[_operatorIndex].operator, _temporaryFeeRecipient);
_updateAvailableValidatorCount(_operatorIndex);
}
/// @notice Activates an operator, without changing its 0 staking limit
/// @param _operatorIndex Operator Index
/// @param _newFeeRecipient Sets the fee recipient address
function activateOperator(uint256 _operatorIndex, address _newFeeRecipient) external onlyAdmin {
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
operators.value[_operatorIndex].deactivated = false;
emit ActivatedOperator(_operatorIndex);
operators.value[_operatorIndex].feeRecipient = _newFeeRecipient;
emit ChangedOperatorAddresses(_operatorIndex, operators.value[_operatorIndex].operator, _newFeeRecipient);
}
/// @notice Change the Operator fee
/// @param _operatorFee Fee in Basis Point
function setOperatorFee(uint256 _operatorFee) external onlyAdmin {
if (_operatorFee > StakingContractStorageLib.getOperatorCommissionLimit()) {
revert InvalidFee();
}
StakingContractStorageLib.setOperatorFee(_operatorFee);
emit ChangedOperatorFee(_operatorFee);
}
/// @notice Change the Global fee
/// @param _globalFee Fee in Basis Point
function setGlobalFee(uint256 _globalFee) external onlyAdmin {
if (_globalFee > StakingContractStorageLib.getGlobalCommissionLimit()) {
revert InvalidFee();
}
StakingContractStorageLib.setGlobalFee(_globalFee);
emit ChangedGlobalFee(_globalFee);
}
/// @notice Add new validator public keys and signatures
/// @dev Only callable by operator
/// @param _operatorIndex Operator Index
/// @param _keyCount Number of keys added
/// @param _publicKeys Concatenated _keyCount public keys
/// @param _signatures Concatenated _keyCount signatures
function addValidators(
uint256 _operatorIndex,
uint256 _keyCount,
bytes calldata _publicKeys,
bytes calldata _signatures
) external onlyActiveOperator(_operatorIndex) {
if (_keyCount == 0) {
revert InvalidArgument();
}
if (_publicKeys.length % PUBLIC_KEY_LENGTH != 0 || _publicKeys.length / PUBLIC_KEY_LENGTH != _keyCount) {
revert InvalidPublicKeys();
}
if (_signatures.length % SIGNATURE_LENGTH != 0 || _signatures.length / SIGNATURE_LENGTH != _keyCount) {
revert InvalidSignatures();
}
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
StakingContractStorageLib.OperatorIndexPerValidatorSlot
storage operatorIndexPerValidator = StakingContractStorageLib.getOperatorIndexPerValidator();
for (uint256 i; i < _keyCount; ) {
bytes memory publicKey = BytesLib.slice(_publicKeys, i * PUBLIC_KEY_LENGTH, PUBLIC_KEY_LENGTH);
bytes memory signature = BytesLib.slice(_signatures, i * SIGNATURE_LENGTH, SIGNATURE_LENGTH);
operators.value[_operatorIndex].publicKeys.push(publicKey);
operators.value[_operatorIndex].signatures.push(signature);
bytes32 pubKeyRoot = _getPubKeyRoot(publicKey);
if (operatorIndexPerValidator.value[pubKeyRoot].enabled) {
revert DuplicateValidatorKey(publicKey);
}
operatorIndexPerValidator.value[pubKeyRoot] = StakingContractStorageLib.OperatorIndex({
enabled: true,
operatorIndex: uint32(_operatorIndex)
});
unchecked {
++i;
}
}
emit ValidatorKeysAdded(_operatorIndex, _publicKeys, _signatures);
_updateLastValidatorsEdit();
_updateAvailableValidatorCount(_operatorIndex);
}
/// @notice Remove unfunded validators
/// @dev Only callable by operator
/// @dev Indexes should be provided in decreasing order
/// @dev The limit will be set to the lowest removed operator index to ensure all changes above the
/// lowest removed validator key are verified by the system administrator
/// @param _operatorIndex Operator Index
/// @param _indexes List of indexes to delete, in decreasing order
function removeValidators(uint256 _operatorIndex, uint256[] calldata _indexes)
external
onlyActiveOperatorOrAdmin(_operatorIndex)
{
if (_indexes.length == 0) {
revert InvalidArgument();
}
StakingContractStorageLib.ValidatorsFundingInfo memory operatorInfo = StakingContractStorageLib
.getValidatorsFundingInfo(_operatorIndex);
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
StakingContractStorageLib.OperatorIndexPerValidatorSlot
storage operatorIndexPerValidator = StakingContractStorageLib.getOperatorIndexPerValidator();
if (_indexes[_indexes.length - 1] < operatorInfo.funded) {
revert FundedValidatorDeletionAttempt();
}
for (uint256 i; i < _indexes.length; ) {
if (i > 0 && _indexes[i] >= _indexes[i - 1]) {
revert UnsortedIndexes();
}
bytes32 pubKeyRoot = _getPubKeyRoot(operators.value[_operatorIndex].publicKeys[_indexes[i]]);
operatorIndexPerValidator.value[pubKeyRoot].enabled = false;
operatorIndexPerValidator.value[pubKeyRoot].operatorIndex = 0;
emit ValidatorKeyRemoved(_operatorIndex, operators.value[_operatorIndex].publicKeys[_indexes[i]]);
if (_indexes[i] == operators.value[_operatorIndex].publicKeys.length - 1) {
operators.value[_operatorIndex].publicKeys.pop();
operators.value[_operatorIndex].signatures.pop();
} else {
operators.value[_operatorIndex].publicKeys[_indexes[i]] = operators.value[_operatorIndex].publicKeys[
operators.value[_operatorIndex].publicKeys.length - 1
];
operators.value[_operatorIndex].publicKeys.pop();
operators.value[_operatorIndex].signatures[_indexes[i]] = operators.value[_operatorIndex].signatures[
operators.value[_operatorIndex].signatures.length - 1
];
operators.value[_operatorIndex].signatures.pop();
}
unchecked {
++i;
}
}
if (_indexes[_indexes.length - 1] < operators.value[_operatorIndex].limit) {
operators.value[_operatorIndex].limit = _indexes[_indexes.length - 1];
emit ChangedOperatorLimit(_operatorIndex, _indexes[_indexes.length - 1]);
}
_updateLastValidatorsEdit();
_updateAvailableValidatorCount(_operatorIndex);
}
/// @notice Withdraw the Execution Layer Fee for given validators public keys
/// @dev Funds are sent to the withdrawer account
/// @dev This method is public on purpose
/// @param _publicKeys Validators to withdraw Execution Layer Fees from
function batchWithdrawELFee(bytes calldata _publicKeys) external {
if (_publicKeys.length % PUBLIC_KEY_LENGTH != 0) {
revert InvalidPublicKeys();
}
for (uint256 i = 0; i < _publicKeys.length; ) {
bytes memory publicKey = BytesLib.slice(_publicKeys, i, PUBLIC_KEY_LENGTH);
_onlyWithdrawerOrAdmin(publicKey);
_deployAndWithdraw(publicKey, EXECUTION_LAYER_SALT_PREFIX, StakingContractStorageLib.getELDispatcher());
unchecked {
i += PUBLIC_KEY_LENGTH;
}
}
}
/// @notice Withdraw the Consensus Layer Fee for given validators public keys
/// @dev Funds are sent to the withdrawer account
/// @dev This method is public on purpose
/// @param _publicKeys Validators to withdraw Consensus Layer Fees from
function batchWithdrawCLFee(bytes calldata _publicKeys) external {
if (_publicKeys.length % PUBLIC_KEY_LENGTH != 0) {
revert InvalidPublicKeys();
}
for (uint256 i = 0; i < _publicKeys.length; ) {
bytes memory publicKey = BytesLib.slice(_publicKeys, i, PUBLIC_KEY_LENGTH);
_onlyWithdrawerOrAdmin(publicKey);
_deployAndWithdraw(publicKey, CONSENSUS_LAYER_SALT_PREFIX, StakingContractStorageLib.getCLDispatcher());
unchecked {
i += PUBLIC_KEY_LENGTH;
}
}
}
/// @notice Withdraw both Consensus and Execution Layer Fees for given validators public keys
/// @dev Funds are sent to the withdrawer account
/// @param _publicKeys Validators to withdraw fees from
function batchWithdraw(bytes calldata _publicKeys) external {
if (_publicKeys.length % PUBLIC_KEY_LENGTH != 0) {
revert InvalidPublicKeys();
}
for (uint256 i = 0; i < _publicKeys.length; ) {
bytes memory publicKey = BytesLib.slice(_publicKeys, i, PUBLIC_KEY_LENGTH);
_onlyWithdrawerOrAdmin(publicKey);
_deployAndWithdraw(publicKey, EXECUTION_LAYER_SALT_PREFIX, StakingContractStorageLib.getELDispatcher());
_deployAndWithdraw(publicKey, CONSENSUS_LAYER_SALT_PREFIX, StakingContractStorageLib.getCLDispatcher());
unchecked {
i += PUBLIC_KEY_LENGTH;
}
}
}
/// @notice Withdraw the Execution Layer Fee for a given validator public key
/// @dev Funds are sent to the withdrawer account
/// @param _publicKey Validator to withdraw Execution Layer Fees from
function withdrawELFee(bytes calldata _publicKey) external {
_onlyWithdrawerOrAdmin(_publicKey);
_deployAndWithdraw(_publicKey, EXECUTION_LAYER_SALT_PREFIX, StakingContractStorageLib.getELDispatcher());
}
/// @notice Withdraw the Consensus Layer Fee for a given validator public key
/// @dev Funds are sent to the withdrawer account
/// @param _publicKey Validator to withdraw Consensus Layer Fees from
function withdrawCLFee(bytes calldata _publicKey) external {
_onlyWithdrawerOrAdmin(_publicKey);
_deployAndWithdraw(_publicKey, CONSENSUS_LAYER_SALT_PREFIX, StakingContractStorageLib.getCLDispatcher());
}
/// @notice Withdraw both Consensus and Execution Layer Fee for a given validator public key
/// @dev Reverts if any is null
/// @param _publicKey Validator to withdraw Execution and Consensus Layer Fees from
function withdraw(bytes calldata _publicKey) external {
_onlyWithdrawerOrAdmin(_publicKey);
_deployAndWithdraw(_publicKey, EXECUTION_LAYER_SALT_PREFIX, StakingContractStorageLib.getELDispatcher());
_deployAndWithdraw(_publicKey, CONSENSUS_LAYER_SALT_PREFIX, StakingContractStorageLib.getCLDispatcher());
}
function requestValidatorsExit(bytes calldata _publicKeys) external {
if (_publicKeys.length % PUBLIC_KEY_LENGTH != 0) {
revert InvalidPublicKeys();
}
for (uint256 i = 0; i < _publicKeys.length; ) {
bytes memory publicKey = BytesLib.slice(_publicKeys, i, PUBLIC_KEY_LENGTH);
bytes32 pubKeyRoot = _getPubKeyRoot(publicKey);
address withdrawer = _getWithdrawer(pubKeyRoot);
if (msg.sender != withdrawer) {
revert Unauthorized();
}
_setExitRequest(pubKeyRoot, true);
emit ExitRequest(withdrawer, publicKey);
unchecked {
i += PUBLIC_KEY_LENGTH;
}
}
}
/// @notice Utility to stop or allow deposits
function setDepositsStopped(bool val) external onlyAdmin {
emit ChangedDepositsStopped(val);
StakingContractStorageLib.setDepositStopped(val);
}
/// ██ ███ ██ ████████ ███████ ██████ ███ ██ █████ ██
/// ██ ████ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██
/// ██ ██ ██ ██ ██ █████ ██████ ██ ██ ██ ███████ ██
/// ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
/// ██ ██ ████ ██ ███████ ██ ██ ██ ████ ██ ██ ███████
function _onlyWithdrawerOrAdmin(bytes memory _publicKey) internal view {
if (
msg.sender != _getWithdrawer(_getPubKeyRoot(_publicKey)) &&
StakingContractStorageLib.getAdmin() != msg.sender
) {
revert InvalidWithdrawer();
}
}
function _onlyActiveOperator(uint256 _operatorIndex) internal view {
StakingContractStorageLib.OperatorInfo storage operatorInfo = StakingContractStorageLib.getOperators().value[
_operatorIndex
];
if (operatorInfo.deactivated) {
revert Deactivated();
}
if (msg.sender != operatorInfo.operator) {
revert Unauthorized();
}
}
function _getPubKeyRoot(bytes memory _publicKey) internal pure returns (bytes32) {
return sha256(abi.encodePacked(_publicKey, bytes16(0)));
}
function _getWithdrawer(bytes32 _publicKeyRoot) internal view returns (address) {
return StakingContractStorageLib.getWithdrawers().value[_publicKeyRoot];
}
function _getExitRequest(bytes32 _publicKeyRoot) internal view returns (bool) {
return StakingContractStorageLib.getExitRequestMap().value[_publicKeyRoot];
}
function _setExitRequest(bytes32 _publicKeyRoot, bool _value) internal {
StakingContractStorageLib.getExitRequestMap().value[_publicKeyRoot] = _value;
}
function _updateAvailableValidatorCount(uint256 _operatorIndex) internal {
StakingContractStorageLib.ValidatorsFundingInfo memory validatorFundingInfo = StakingContractStorageLib
.getValidatorsFundingInfo(_operatorIndex);
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
uint32 oldAvailableCount = validatorFundingInfo.availableKeys;
uint32 newAvailableCount = 0;
uint256 cap = operators.value[_operatorIndex].limit;
if (cap <= validatorFundingInfo.funded) {
StakingContractStorageLib.setValidatorsFundingInfo(_operatorIndex, 0, validatorFundingInfo.funded);
} else {
newAvailableCount = uint32(cap - validatorFundingInfo.funded);
StakingContractStorageLib.setValidatorsFundingInfo(
_operatorIndex,
newAvailableCount,
validatorFundingInfo.funded
);
}
if (oldAvailableCount != newAvailableCount) {
StakingContractStorageLib.setTotalAvailableValidators(
(StakingContractStorageLib.getTotalAvailableValidators() - oldAvailableCount) + newAvailableCount
);
}
}
function _updateLastValidatorsEdit() internal {
StakingContractStorageLib.setLastValidatorEdit(block.number);
emit ValidatorsEdited(block.number);
}
function _addressToWithdrawalCredentials(address _recipient) internal pure returns (bytes32) {
return bytes32(uint256(uint160(_recipient)) + WITHDRAWAL_CREDENTIAL_PREFIX_01);
}
function _depositValidatorsOfOperator(uint256 _operatorIndex, uint256 _validatorCount) internal {
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
StakingContractStorageLib.OperatorInfo storage operator = operators.value[_operatorIndex];
StakingContractStorageLib.ValidatorsFundingInfo memory vfi = StakingContractStorageLib.getValidatorsFundingInfo(
_operatorIndex
);
for (uint256 i = vfi.funded; i < vfi.funded + _validatorCount; ) {
bytes memory publicKey = operator.publicKeys[i];
bytes memory signature = operator.signatures[i];
address consensusLayerRecipient = _getDeterministicReceiver(publicKey, CONSENSUS_LAYER_SALT_PREFIX);
bytes32 withdrawalCredentials = _addressToWithdrawalCredentials(consensusLayerRecipient);
bytes32 pubkeyRoot = _getPubKeyRoot(publicKey);
_depositValidator(publicKey, pubkeyRoot, signature, withdrawalCredentials);
StakingContractStorageLib.getWithdrawers().value[pubkeyRoot] = msg.sender;
emit Deposit(msg.sender, msg.sender, publicKey, signature);
unchecked {
++i;
}
}
StakingContractStorageLib.setValidatorsFundingInfo(
_operatorIndex,
uint32(vfi.availableKeys - _validatorCount),
uint32(vfi.funded + _validatorCount)
);
}
/// @notice Internal utility to deposit a public key, its signature and 32 ETH to the consensus layer
/// @param _publicKey The Public Key to deposit
/// @param _signature The Signature to deposit
/// @param _withdrawalCredentials The Withdrawal Credentials to deposit
function _depositValidator(
bytes memory _publicKey,
bytes32 _pubkeyRoot,
bytes memory _signature,
bytes32 _withdrawalCredentials
) internal {
bytes32 signatureRoot = sha256(
abi.encodePacked(
sha256(BytesLib.slice(_signature, 0, 64)),
sha256(abi.encodePacked(BytesLib.slice(_signature, 64, SIGNATURE_LENGTH - 64), bytes32(0)))
)
);
bytes32 depositDataRoot = sha256(
abi.encodePacked(
sha256(abi.encodePacked(_pubkeyRoot, _withdrawalCredentials)),
sha256(abi.encodePacked(DEPOSIT_SIZE_AMOUNT_LITTLEENDIAN64, signatureRoot))
)
);
uint256 targetBalance = address(this).balance - DEPOSIT_SIZE;
IDepositContract(StakingContractStorageLib.getDepositContract()).deposit{value: DEPOSIT_SIZE}(
_publicKey,
abi.encodePacked(_withdrawalCredentials),
_signature,
depositDataRoot
);
if (address(this).balance != targetBalance) {
revert DepositFailure();
}
}
function _depositOnOneOperator(uint256 _depositCount, uint256 _totalAvailableValidators) internal {
StakingContractStorageLib.setTotalAvailableValidators(_totalAvailableValidators - _depositCount);
_depositValidatorsOfOperator(0, _depositCount);
}
function _deposit() internal {
if (StakingContractStorageLib.getDepositStopped()) {
revert DepositsStopped();
}
if (msg.value == 0 || msg.value % DEPOSIT_SIZE != 0) {
revert InvalidDepositValue();
}
uint256 totalAvailableValidators = StakingContractStorageLib.getTotalAvailableValidators();
uint256 depositCount = msg.value / DEPOSIT_SIZE;
if (depositCount > totalAvailableValidators) {
revert NotEnoughValidators();
}
StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();
if (operators.value.length == 0) {
revert NoOperators();
}
_depositOnOneOperator(depositCount, totalAvailableValidators);
}
function _min(uint256 _a, uint256 _b) internal pure returns (uint256) {
if (_a < _b) {
return _a;
}
return _b;
}
/// @notice Internal utility to compute the receiver deterministic address
/// @param _publicKey Public Key assigned to the receiver
/// @param _prefix Prefix used to generate multiple receivers per public key
function _getDeterministicReceiver(bytes memory _publicKey, uint256 _prefix) internal view returns (address) {
bytes32 publicKeyRoot = _getPubKeyRoot(_publicKey);
bytes32 salt = sha256(abi.encodePacked(_prefix, publicKeyRoot));
address implementation = StakingContractStorageLib.getFeeRecipientImplementation();
return Clones.predictDeterministicAddress(implementation, salt);
}
/// @notice Internal utility to deploy and withdraw the fees from a receiver
/// @param _publicKey Public Key assigned to the receiver
/// @param _prefix Prefix used to generate multiple receivers per public key
/// @param _dispatcher Address of the dispatcher contract
function _deployAndWithdraw(
bytes memory _publicKey,
uint256 _prefix,
address _dispatcher
) internal {
bytes32 publicKeyRoot = _getPubKeyRoot(_publicKey);
bytes32 feeRecipientSalt = sha256(abi.encodePacked(_prefix, publicKeyRoot));
address implementation = StakingContractStorageLib.getFeeRecipientImplementation();
address feeRecipientAddress = Clones.predictDeterministicAddress(implementation, feeRecipientSalt);
if (feeRecipientAddress.code.length == 0) {
Clones.cloneDeterministic(implementation, feeRecipientSalt);
IFeeRecipient(feeRecipientAddress).init(_dispatcher, publicKeyRoot);
}
IFeeRecipient(feeRecipientAddress).withdraw();
}
function _checkAddress(address _address) internal pure {
if (_address == address(0)) {
revert InvalidZeroAddress();
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)
pragma solidity ^0.8.0;
/**
* @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
* proxy whose upgrades are fully controlled by the current implementation.
*/
interface IERC1822Proxiable {
/**
* @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
* address.
*
* IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
* bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
* function revert if invoked through a proxy.
*/
function proxiableUUID() external view returns (bytes32);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)
pragma solidity ^0.8.0;
/**
* @dev This is the interface that {BeaconProxy} expects of its beacon.
*/
interface IBeacon {
/**
* @dev Must return an address that can be used as a delegate call target.
*
* {BeaconProxy} will check that this address is a contract.
*/
function implementation() external view returns (address);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/Clones.sol)
pragma solidity ^0.8.0;
/**
* @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for
* deploying minimal proxy contracts, also known as "clones".
*
* > To simply and cheaply clone contract functionality in an immutable way, this standard specifies
* > a minimal bytecode implementation that delegates all calls to a known, fixed address.
*
* The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2`
* (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the
* deterministic method.
*
* _Available since v3.4._
*/
library Clones {
/**
* @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
*
* This function uses the create opcode, which should never revert.
*/
function clone(address implementation) internal returns (address instance) {
assembly {
let ptr := mload(0x40)
mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
mstore(add(ptr, 0x14), shl(0x60, implementation))
mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)
instance := create(0, ptr, 0x37)
}
require(instance != address(0), "ERC1167: create failed");
}
/**
* @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
*
* This function uses the create2 opcode and a `salt` to deterministically deploy
* the clone. Using the same `implementation` and `salt` multiple time will revert, since
* the clones cannot be deployed twice at the same address.
*/
function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) {
assembly {
let ptr := mload(0x40)
mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
mstore(add(ptr, 0x14), shl(0x60, implementation))
mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)
instance := create2(0, ptr, 0x37, salt)
}
require(instance != address(0), "ERC1167: create2 failed");
}
/**
* @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
*/
function predictDeterministicAddress(
address implementation,
bytes32 salt,
address deployer
) internal pure returns (address predicted) {
assembly {
let ptr := mload(0x40)
mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)
mstore(add(ptr, 0x14), shl(0x60, implementation))
mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000)
mstore(add(ptr, 0x38), shl(0x60, deployer))
mstore(add(ptr, 0x4c), salt)
mstore(add(ptr, 0x6c), keccak256(ptr, 0x37))
predicted := keccak256(add(ptr, 0x37), 0x55)
}
}
/**
* @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
*/
function predictDeterministicAddress(address implementation, bytes32 salt)
internal
view
returns (address predicted)
{
return predictDeterministicAddress(implementation, salt, address(this));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/ERC1967/ERC1967Proxy.sol)
pragma solidity ^0.8.0;
import "../Proxy.sol";
import "./ERC1967Upgrade.sol";
/**
* @dev This contract implements an upgradeable proxy. It is upgradeable because calls are delegated to an
* implementation address that can be changed. This address is stored in storage in the location specified by
* https://eips.ethereum.org/EIPS/eip-1967[EIP1967], so that it doesn't conflict with the storage layout of the
* implementation behind the proxy.
*/
contract ERC1967Proxy is Proxy, ERC1967Upgrade {
/**
* @dev Initializes the upgradeable proxy with an initial implementation specified by `_logic`.
*
* If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded
* function call, and allows initializating the storage of the proxy like a Solidity constructor.
*/
constructor(address _logic, bytes memory _data) payable {
assert(_IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
_upgradeToAndCall(_logic, _data, false);
}
/**
* @dev Returns the current implementation address.
*/
function _implementation() internal view virtual override returns (address impl) {
return ERC1967Upgrade._getImplementation();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/ERC1967/ERC1967Upgrade.sol)
pragma solidity ^0.8.2;
import "../beacon/IBeacon.sol";
import "../../interfaces/draft-IERC1822.sol";
import "../../utils/Address.sol";
import "../../utils/StorageSlot.sol";
/**
* @dev This abstract contract provides getters and event emitting update functions for
* https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
*
* _Available since v4.1._
*
* @custom:oz-upgrades-unsafe-allow delegatecall
*/
abstract contract ERC1967Upgrade {
// This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;
/**
* @dev Storage slot with the address of the current implementation.
* This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
* validated in the constructor.
*/
bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
/**
* @dev Emitted when the implementation is upgraded.
*/
event Upgraded(address indexed implementation);
/**
* @dev Returns the current implementation address.
*/
function _getImplementation() internal view returns (address) {
return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
}
/**
* @dev Stores a new address in the EIP1967 implementation slot.
*/
function _setImplementation(address newImplementation) private {
require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
}
/**
* @dev Perform implementation upgrade
*
* Emits an {Upgraded} event.
*/
function _upgradeTo(address newImplementation) internal {
_setImplementation(newImplementation);
emit Upgraded(newImplementation);
}
/**
* @dev Perform implementation upgrade with additional setup call.
*
* Emits an {Upgraded} event.
*/
function _upgradeToAndCall(
address newImplementation,
bytes memory data,
bool forceCall
) internal {
_upgradeTo(newImplementation);
if (data.length > 0 || forceCall) {
Address.functionDelegateCall(newImplementation, data);
}
}
/**
* @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
*
* Emits an {Upgraded} event.
*/
function _upgradeToAndCallUUPS(
address newImplementation,
bytes memory data,
bool forceCall
) internal {
// Upgrades from old implementations will perform a rollback test. This test requires the new
// implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing
// this special case will break upgrade paths from old UUPS implementation to new ones.
if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {
_setImplementation(newImplementation);
} else {
try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {
require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID");
} catch {
revert("ERC1967Upgrade: new implementation is not UUPS");
}
_upgradeToAndCall(newImplementation, data, forceCall);
}
}
/**
* @dev Storage slot with the admin of the contract.
* This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
* validated in the constructor.
*/
bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;
/**
* @dev Emitted when the admin account has changed.
*/
event AdminChanged(address previousAdmin, address newAdmin);
/**
* @dev Returns the current admin.
*/
function _getAdmin() internal view returns (address) {
return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;
}
/**
* @dev Stores a new address in the EIP1967 admin slot.
*/
function _setAdmin(address newAdmin) private {
require(newAdmin != address(0), "ERC1967: new admin is the zero address");
StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
}
/**
* @dev Changes the admin of the proxy.
*
* Emits an {AdminChanged} event.
*/
function _changeAdmin(address newAdmin) internal {
emit AdminChanged(_getAdmin(), newAdmin);
_setAdmin(newAdmin);
}
/**
* @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
* This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
*/
bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;
/**
* @dev Emitted when the beacon is upgraded.
*/
event BeaconUpgraded(address indexed beacon);
/**
* @dev Returns the current beacon.
*/
function _getBeacon() internal view returns (address) {
return StorageSlot.getAddressSlot(_BEACON_SLOT).value;
}
/**
* @dev Stores a new beacon in the EIP1967 beacon slot.
*/
function _setBeacon(address newBeacon) private {
require(Address.isContract(newBeacon), "ERC1967: new beacon is not a contract");
require(
Address.isContract(IBeacon(newBeacon).implementation()),
"ERC1967: beacon implementation is not a contract"
);
StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;
}
/**
* @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
* not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
*
* Emits a {BeaconUpgraded} event.
*/
function _upgradeBeaconToAndCall(
address newBeacon,
bytes memory data,
bool forceCall
) internal {
_setBeacon(newBeacon);
emit BeaconUpgraded(newBeacon);
if (data.length > 0 || forceCall) {
Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/Proxy.sol)
pragma solidity ^0.8.0;
/**
* @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
* instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
* be specified by overriding the virtual {_implementation} function.
*
* Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
* different contract through the {_delegate} function.
*
* The success and return data of the delegated call will be returned back to the caller of the proxy.
*/
abstract contract Proxy {
/**
* @dev Delegates the current call to `implementation`.
*
* This function does not return to its internal call site, it will return directly to the external caller.
*/
function _delegate(address implementation) internal virtual {
assembly {
// Copy msg.data. We take full control of memory in this inline assembly
// block because it will not return to Solidity code. We overwrite the
// Solidity scratch pad at memory position 0.
calldatacopy(0, 0, calldatasize())
// Call the implementation.
// out and outsize are 0 because we don't know the size yet.
let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)
// Copy the returned data.
returndatacopy(0, 0, returndatasize())
switch result
// delegatecall returns 0 on error.
case 0 {
revert(0, returndatasize())
}
default {
return(0, returndatasize())
}
}
}
/**
* @dev This is a virtual function that should be overriden so it returns the address to which the fallback function
* and {_fallback} should delegate.
*/
function _implementation() internal view virtual returns (address);
/**
* @dev Delegates the current call to the address returned by `_implementation()`.
*
* This function does not return to its internall call site, it will return directly to the external caller.
*/
function _fallback() internal virtual {
_beforeFallback();
_delegate(_implementation());
}
/**
* @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
* function in the contract matches the call data.
*/
fallback() external payable virtual {
_fallback();
}
/**
* @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
* is empty.
*/
receive() external payable virtual {
_fallback();
}
/**
* @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
* call, or as part of the Solidity `fallback` or `receive` functions.
*
* If overriden should call `super._beforeFallback()`.
*/
function _beforeFallback() internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/transparent/TransparentUpgradeableProxy.sol)
pragma solidity ^0.8.0;
import "../ERC1967/ERC1967Proxy.sol";
/**
* @dev This contract implements a proxy that is upgradeable by an admin.
*
* To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector
* clashing], which can potentially be used in an attack, this contract uses the
* https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two
* things that go hand in hand:
*
* 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if
* that call matches one of the admin functions exposed by the proxy itself.
* 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the
* implementation. If the admin tries to call a function on the implementation it will fail with an error that says
* "admin cannot fallback to proxy target".
*
* These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing
* the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due
* to sudden errors when trying to call a function from the proxy implementation.
*
* Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way,
* you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.
*/
contract TransparentUpgradeableProxy is ERC1967Proxy {
/**
* @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and
* optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.
*/
constructor(
address _logic,
address admin_,
bytes memory _data
) payable ERC1967Proxy(_logic, _data) {
assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
_changeAdmin(admin_);
}
/**
* @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.
*/
modifier ifAdmin() {
if (msg.sender == _getAdmin()) {
_;
} else {
_fallback();
}
}
/**
* @dev Returns the current admin.
*
* NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}.
*
* TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
* https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
* `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`
*/
function admin() external ifAdmin returns (address admin_) {
admin_ = _getAdmin();
}
/**
* @dev Returns the current implementation.
*
* NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}.
*
* TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
* https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
* `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`
*/
function implementation() external ifAdmin returns (address implementation_) {
implementation_ = _implementation();
}
/**
* @dev Changes the admin of the proxy.
*
* Emits an {AdminChanged} event.
*
* NOTE: Only the admin can call this function. See {ProxyAdmin-changeProxyAdmin}.
*/
function changeAdmin(address newAdmin) external virtual ifAdmin {
_changeAdmin(newAdmin);
}
/**
* @dev Upgrade the implementation of the proxy.
*
* NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.
*/
function upgradeTo(address newImplementation) external ifAdmin {
_upgradeToAndCall(newImplementation, bytes(""), false);
}
/**
* @dev Upgrade the implementation of the proxy, and then call a function from the new implementation as specified
* by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the
* proxied contract.
*
* NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.
*/
function upgradeToAndCall(address newImplementation, bytes calldata data) external payable ifAdmin {
_upgradeToAndCall(newImplementation, data, true);
}
/**
* @dev Returns the current admin.
*/
function _admin() internal view virtual returns (address) {
return _getAdmin();
}
/**
* @dev Makes sure the admin cannot access the fallback function. See {Proxy-_beforeFallback}.
*/
function _beforeFallback() internal virtual override {
require(msg.sender != _getAdmin(), "TransparentUpgradeableProxy: admin cannot fallback to proxy target");
super._beforeFallback();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol)
pragma solidity ^0.8.0;
/**
* @dev Library for reading and writing primitive types to specific storage slots.
*
* Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
* This library helps with reading and writing to such slots without the need for inline assembly.
*
* The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
*
* Example usage to set ERC1967 implementation slot:
* ```
* contract ERC1967 {
* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
*
* function _getImplementation() internal view returns (address) {
* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
* }
*
* function _setImplementation(address newImplementation) internal {
* require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
* }
* }
* ```
*
* _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
*/
library StorageSlot {
struct AddressSlot {
address value;
}
struct BooleanSlot {
bool value;
}
struct Bytes32Slot {
bytes32 value;
}
struct Uint256Slot {
uint256 value;
}
/**
* @dev Returns an `AddressSlot` with member `value` located at `slot`.
*/
function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `BooleanSlot` with member `value` located at `slot`.
*/
function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
*/
function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
assembly {
r.slot := slot
}
}
/**
* @dev Returns an `Uint256Slot` with member `value` located at `slot`.
*/
function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
assembly {
r.slot := slot
}
}
}//SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.8.10;
import "./interfaces/IFeeDispatcher.sol";
import "./libs/DispatchersStorageLib.sol";
import "./interfaces/IFeeRecipient.sol";
contract AuthorizedFeeRecipient is IFeeRecipient {
/// @notice Constructor replay prevention
bool internal initialized;
/// @notice Address where funds are sent to be dispatched
IFeeDispatcher internal dispatcher;
/// @notice Public Key root assigned to this receiver
bytes32 internal publicKeyRoot;
/// @notice Address of the staking contract
address internal stakingContract;
error AlreadyInitialized();
error Unauthorized();
/// @notice Initializes the receiver
/// @param _dispatcher Address that will handle the fee dispatching
/// @param _publicKeyRoot Public Key root assigned to this receiver
function init(address _dispatcher, bytes32 _publicKeyRoot) external {
if (initialized) {
revert AlreadyInitialized();
}
initialized = true;
dispatcher = IFeeDispatcher(_dispatcher);
publicKeyRoot = _publicKeyRoot;
stakingContract = msg.sender; // The staking contract always calls init
}
/// @notice Empty calldata fallback
receive() external payable {}
/// @notice Non-empty calldata fallback
fallback() external payable {}
/// @notice Triggers a withdrawal by sending its funds + its public key root to the dispatcher
/// @dev Can be called only be called through the staking contract
function withdraw() external {
if (msg.sender != stakingContract) {
revert Unauthorized();
}
dispatcher.dispatch{value: address(this).balance}(publicKeyRoot);
}
/// @notice Retrieve the assigned public key root
function getPublicKeyRoot() external view returns (bytes32) {
return publicKeyRoot;
}
/// @notice retrieve the assigned withdrawer
function getWithdrawer() external view returns (address) {
return dispatcher.getWithdrawer(publicKeyRoot);
}
}//SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.8.10;
import "./libs/DispatchersStorageLib.sol";
import "./interfaces/IStakingContractFeeDetails.sol";
import "./interfaces/IFeeDispatcher.sol";
/// @title Consensus Layer Fee Recipient
/// @author Kiln
/// @notice This contract can be used to receive fees from a validator and split them with a node operator
contract ConsensusLayerFeeDispatcher is IFeeDispatcher {
using DispatchersStorageLib for bytes32;
event Withdrawal(
address indexed withdrawer,
address indexed feeRecipient,
bytes32 pubKeyRoot,
uint256 rewards,
uint256 nodeOperatorFee,
uint256 treasuryFee
);
error TreasuryReceiveError(bytes errorData);
error FeeRecipientReceiveError(bytes errorData);
error WithdrawerReceiveError(bytes errorData);
error ZeroBalanceWithdrawal();
error AlreadyInitialized();
error InvalidCall();
bytes32 internal constant STAKING_CONTRACT_ADDRESS_SLOT =
keccak256("ConsensusLayerFeeRecipient.stakingContractAddress");
uint256 internal constant BASIS_POINTS = 10_000;
bytes32 internal constant VERSION_SLOT = keccak256("ConsensusLayerFeeRecipient.version");
/// @notice Ensures an initialisation call has been called only once per _version value
/// @param _version The current initialisation value
modifier init(uint256 _version) {
if (_version != VERSION_SLOT.getUint256() + 1) {
revert AlreadyInitialized();
}
VERSION_SLOT.setUint256(_version);
_;
}
/// @notice Constructor method allowing us to prevent calls to initCLFR by setting the appropriate version
constructor(uint256 _version) {
VERSION_SLOT.setUint256(_version);
}
/// @notice Initialize the contract by storing the staking contract
/// @param _stakingContract Address of the Staking Contract
function initCLD(address _stakingContract) external init(1) {
STAKING_CONTRACT_ADDRESS_SLOT.setAddress(_stakingContract);
}
/// @notice Performs a withdrawal on this contract's balance
function dispatch(bytes32 _publicKeyRoot) external payable {
IStakingContractFeeDetails stakingContract = IStakingContractFeeDetails(
STAKING_CONTRACT_ADDRESS_SLOT.getAddress()
);
uint256 balance = address(this).balance; // this has taken into account msg.value
if (balance == 0) {
revert ZeroBalanceWithdrawal();
}
bool exitRequested = stakingContract.getExitRequestedFromRoot(_publicKeyRoot);
bool withdrawn = stakingContract.getWithdrawnFromPublicKeyRoot(_publicKeyRoot);
uint256 nonExemptBalance = balance;
if (exitRequested && balance >= 31 ether && !withdrawn) {
// If the skimmed rewards were withdrawn and the validator then underperformed
// an healthy exit can be slightly lower than 32 ETH
// We exempt the balance up to 32 ETH, happens only once.
// !withdrawn prevents this logic being reused to not pay the fee on rewards
uint256 exemption = nonExemptBalance > 32 ether ? 32 ether : nonExemptBalance;
nonExemptBalance -= exemption;
stakingContract.toggleWithdrawnFromPublicKeyRoot(_publicKeyRoot);
}
// In case of slashing the exit is not requested we don't exempt anything
// This is in case of slashing, the staker will be rebated manually
// A slashed validator may have accumulated enough skimmed rewards to still have a balance > 32 ETH
// All of this will be taken into account and the staker will be compensated for the commission taken
// on its principal and the loss according to the SLA described in the Terms&Conditions
uint256 globalFee = (nonExemptBalance * stakingContract.getGlobalFee()) / BASIS_POINTS;
uint256 operatorFee = (globalFee * stakingContract.getOperatorFee()) / BASIS_POINTS;
address operator = stakingContract.getOperatorFeeRecipient(_publicKeyRoot);
address treasury = stakingContract.getTreasury();
address withdrawer = stakingContract.getWithdrawerFromPublicKeyRoot(_publicKeyRoot);
(bool status, bytes memory data) = withdrawer.call{value: balance - globalFee}("");
if (status == false) {
revert WithdrawerReceiveError(data);
}
if (globalFee > 0) {
(status, data) = treasury.call{value: globalFee - operatorFee}("");
if (status == false) {
revert TreasuryReceiveError(data);
}
}
if (operatorFee > 0) {
(status, data) = operator.call{value: operatorFee}("");
if (status == false) {
revert FeeRecipientReceiveError(data);
}
}
emit Withdrawal(
withdrawer,
operator,
_publicKeyRoot,
balance - globalFee,
operatorFee,
globalFee - operatorFee
);
}
/// @notice Retrieve the staking contract address
function getStakingContract() external view returns (address) {
return STAKING_CONTRACT_ADDRESS_SLOT.getAddress();
}
/// @notice Retrieve the assigned withdrawer for the given public key root
/// @param _publicKeyRoot Public key root to get the owner
function getWithdrawer(bytes32 _publicKeyRoot) external view returns (address) {
IStakingContractFeeDetails stakingContract = IStakingContractFeeDetails(
STAKING_CONTRACT_ADDRESS_SLOT.getAddress()
);
return stakingContract.getWithdrawerFromPublicKeyRoot(_publicKeyRoot);
}
receive() external payable {
revert InvalidCall();
}
fallback() external payable {
revert InvalidCall();
}
}//SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.8.10;
import "./libs/DispatchersStorageLib.sol";
import "./interfaces/IStakingContractFeeDetails.sol";
import "./interfaces/IFeeDispatcher.sol";
/// @title Execution Layer Fee Recipient
/// @author Kiln
/// @notice This contract can be used to receive fees from a validator and split them with a node operator
contract ExecutionLayerFeeDispatcher is IFeeDispatcher {
using DispatchersStorageLib for bytes32;
event Withdrawal(
address indexed withdrawer,
address indexed feeRecipient,
bytes32 pubKeyRoot,
uint256 rewards,
uint256 nodeOperatorFee,
uint256 treasuryFee
);
error TreasuryReceiveError(bytes errorData);
error FeeRecipientReceiveError(bytes errorData);
error WithdrawerReceiveError(bytes errorData);
error ZeroBalanceWithdrawal();
error AlreadyInitialized();
error InvalidCall();
bytes32 internal constant STAKING_CONTRACT_ADDRESS_SLOT =
keccak256("ExecutionLayerFeeRecipient.stakingContractAddress");
uint256 internal constant BASIS_POINTS = 10_000;
bytes32 internal constant VERSION_SLOT = keccak256("ExecutionLayerFeeRecipient.version");
/// @notice Ensures an initialisation call has been called only once per _version value
/// @param _version The current initialisation value
modifier init(uint256 _version) {
if (_version != VERSION_SLOT.getUint256() + 1) {
revert AlreadyInitialized();
}
VERSION_SLOT.setUint256(_version);
_;
}
/// @notice Constructor method allowing us to prevent calls to initCLFR by setting the appropriate version
constructor(uint256 _version) {
VERSION_SLOT.setUint256(_version);
}
/// @notice Initialize the contract by storing the staking contract and the public key in storage
/// @param _stakingContract Address of the Staking Contract
function initELD(address _stakingContract) external init(1) {
STAKING_CONTRACT_ADDRESS_SLOT.setAddress(_stakingContract);
}
/// @notice Performs a withdrawal on this contract's balance
function dispatch(bytes32 _publicKeyRoot) external payable {
uint256 balance = address(this).balance;
if (balance == 0) {
revert ZeroBalanceWithdrawal();
}
IStakingContractFeeDetails stakingContract = IStakingContractFeeDetails(
STAKING_CONTRACT_ADDRESS_SLOT.getAddress()
);
address withdrawer = stakingContract.getWithdrawerFromPublicKeyRoot(_publicKeyRoot);
address operator = stakingContract.getOperatorFeeRecipient(_publicKeyRoot);
address treasury = stakingContract.getTreasury();
uint256 globalFee = (balance * stakingContract.getGlobalFee()) / BASIS_POINTS;
uint256 operatorFee = (globalFee * stakingContract.getOperatorFee()) / BASIS_POINTS;
(bool status, bytes memory data) = withdrawer.call{value: balance - globalFee}("");
if (status == false) {
revert WithdrawerReceiveError(data);
}
if (globalFee > 0) {
(status, data) = treasury.call{value: globalFee - operatorFee}("");
if (status == false) {
revert TreasuryReceiveError(data);
}
}
if (operatorFee > 0) {
(status, data) = operator.call{value: operatorFee}("");
if (status == false) {
revert FeeRecipientReceiveError(data);
}
}
emit Withdrawal(
withdrawer,
operator,
_publicKeyRoot,
balance - globalFee,
operatorFee,
globalFee - operatorFee
);
}
/// @notice Retrieve the staking contract address
function getStakingContract() external view returns (address) {
return STAKING_CONTRACT_ADDRESS_SLOT.getAddress();
}
/// @notice Retrieve the assigned withdrawer for the given public key root
/// @param _publicKeyRoot Public key root to get the owner
function getWithdrawer(bytes32 _publicKeyRoot) external view returns (address) {
IStakingContractFeeDetails stakingContract = IStakingContractFeeDetails(
STAKING_CONTRACT_ADDRESS_SLOT.getAddress()
);
return stakingContract.getWithdrawerFromPublicKeyRoot(_publicKeyRoot);
}
receive() external payable {
revert InvalidCall();
}
fallback() external payable {
revert InvalidCall();
}
}//SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.8.10;
import "./interfaces/IFeeDispatcher.sol";
contract FeeRecipient {
/// @notice Constructor replay prevention
bool internal initialized;
/// @notice Address where funds are sent to be dispatched
IFeeDispatcher internal dispatcher;
/// @notice Public Key root assigned to this receiver
bytes32 internal publicKeyRoot;
error AlreadyInitialized();
/// @notice Initializes the receiver
/// @param _dispatcher Address that will handle the fee dispatching
/// @param _publicKeyRoot Public Key root assigned to this receiver
function init(address _dispatcher, bytes32 _publicKeyRoot) external {
if (initialized) {
revert AlreadyInitialized();
}
initialized = true;
dispatcher = IFeeDispatcher(_dispatcher);
publicKeyRoot = _publicKeyRoot;
}
/// @notice Empty calldata fallback
receive() external payable {}
/// @notice Non-empty calldata fallback
fallback() external payable {}
/// @notice Triggers a withdrawal by sending its funds + its public key root to the dispatcher
/// @dev Can be called by any wallet as recipients are not parameters
function withdraw() external {
dispatcher.dispatch{value: address(this).balance}(publicKeyRoot);
}
/// @notice Retrieve the assigned public key root
function getPublicKeyRoot() external view returns (bytes32) {
return publicKeyRoot;
}
/// @notice retrieve the assigned withdrawer
function getWithdrawer() external view returns (address) {
return dispatcher.getWithdrawer(publicKeyRoot);
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.8.10;
interface IDepositContract {
function deposit(
bytes calldata pubkey,
bytes calldata withdrawalCredentials,
bytes calldata signature,
bytes32 depositDataRoot
) external payable;
}// SPDX-License-Identifier: MIT
pragma solidity >=0.8.10;
interface IFeeDispatcher {
function dispatch(bytes32 _publicKeyRoot) external payable;
function getWithdrawer(bytes32 _publicKeyRoot) external view returns (address);
}// SPDX-License-Identifier: MIT
pragma solidity >=0.8.10;
interface IFeeRecipient {
function init(address _dispatcher, bytes32 _publicKeyRoot) external;
function withdraw() external;
}// SPDX-License-Identifier: MIT
pragma solidity >=0.8.10;
interface IStakingContractFeeDetails {
function getWithdrawerFromPublicKeyRoot(bytes32 _publicKeyRoot) external view returns (address);
function getTreasury() external view returns (address);
function getOperatorFeeRecipient(bytes32 pubKeyRoot) external view returns (address);
function getGlobalFee() external view returns (uint256);
function getOperatorFee() external view returns (uint256);
function getExitRequestedFromRoot(bytes32 _publicKeyRoot) external view returns (bool);
function getWithdrawnFromPublicKeyRoot(bytes32 _publicKeyRoot) external view returns (bool);
function toggleWithdrawnFromPublicKeyRoot(bytes32 _publicKeyRoot) external;
}//SPDX-License-Identifier: MIT
pragma solidity >=0.8.10;
/// Based on GNSPS/BytesLib.sol
library BytesLib {
function concat(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bytes memory) {
bytes memory tempBytes;
assembly {
// Get a location of some free memory and store it in tempBytes as
// Solidity does for memory variables.
tempBytes := mload(0x40)
// Store the length of the first bytes array at the beginning of
// the memory for tempBytes.
let length := mload(_preBytes)
mstore(tempBytes, length)
// Maintain a memory counter for the current write location in the
// temp bytes array by adding the 32 bytes for the array length to
// the starting location.
let mc := add(tempBytes, 0x20)
// Stop copying when the memory counter reaches the length of the
// first bytes array.
let end := add(mc, length)
for {
// Initialize a copy counter to the start of the _preBytes data,
// 32 bytes into its memory.
let cc := add(_preBytes, 0x20)
} lt(mc, end) {
// Increase both counters by 32 bytes each iteration.
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
// Write the _preBytes data into the tempBytes memory 32 bytes
// at a time.
mstore(mc, mload(cc))
}
// Add the length of _postBytes to the current length of tempBytes
// and store it as the new length in the first 32 bytes of the
// tempBytes memory.
length := mload(_postBytes)
mstore(tempBytes, add(length, mload(tempBytes)))
// Move the memory counter back from a multiple of 0x20 to the
// actual end of the _preBytes data.
mc := end
// Stop copying when the memory counter reaches the new combined
// length of the arrays.
end := add(mc, length)
for {
let cc := add(_postBytes, 0x20)
} lt(mc, end) {
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
mstore(mc, mload(cc))
}
// Update the free-memory pointer by padding our last write location
// to 32 bytes: add 31 bytes to the end of tempBytes to move to the
// next 32 byte block, then round down to the nearest multiple of
// 32. If the sum of the length of the two arrays is zero then add
// one before rounding down to leave a blank 32 bytes (the length block with 0).
mstore(
0x40,
and(
add(add(end, iszero(add(length, mload(_preBytes)))), 31),
not(31) // Round down to the nearest 32 bytes.
)
)
}
return tempBytes;
}
function slice(
bytes memory _bytes,
uint256 _start,
uint256 _length
) internal pure returns (bytes memory) {
require(_length + 31 >= _length, "slice_overflow");
require(_bytes.length >= _start + _length, "slice_outOfBounds");
bytes memory tempBytes;
assembly {
switch iszero(_length)
case 0 {
// Get a location of some free memory and store it in tempBytes as
// Solidity does for memory variables.
tempBytes := mload(0x40)
// The first word of the slice result is potentially a partial
// word read from the original array. To read it, we calculate
// the length of that partial word and start copying that many
// bytes into the array. The first word we copy will start with
// data we don't care about, but the last `lengthmod` bytes will
// land at the beginning of the contents of the new array. When
// we're done copying, we overwrite the full first word with
// the actual length of the slice.
let lengthmod := and(_length, 31)
// The multiplication in the next line is necessary
// because when slicing multiples of 32 bytes (lengthmod == 0)
// the following copy loop was copying the origin's length
// and then ending prematurely not copying everything it should.
let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))
let end := add(mc, _length)
for {
// The multiplication in the next line has the same exact purpose
// as the one above.
let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)
} lt(mc, end) {
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
mstore(mc, mload(cc))
}
mstore(tempBytes, _length)
//update free-memory pointer
//allocating the array padded to 32 bytes like the compiler does now
mstore(0x40, and(add(mc, 31), not(31)))
}
//if we want a zero-length slice let's just return a zero-length array
default {
tempBytes := mload(0x40)
//zero out the 32 bytes slice we are about to return
//we need to do it because Solidity does not garbage collect
mstore(tempBytes, 0)
mstore(0x40, add(tempBytes, 0x20))
}
}
return tempBytes;
}
}//SPDX-License-Identifier: MIT
pragma solidity >=0.8.10;
library DispatchersStorageLib {
function getUint256(bytes32 position) internal view returns (uint256 data) {
assembly {
data := sload(position)
}
}
function setUint256(bytes32 position, uint256 data) internal {
assembly {
sstore(position, data)
}
}
function getAddress(bytes32 position) internal view returns (address data) {
assembly {
data := sload(position)
}
}
function setAddress(bytes32 position, address data) internal {
assembly {
sstore(position, data)
}
}
}//SPDX-License-Identifier: MIT
pragma solidity >=0.8.10;
library StakingContractStorageLib {
function getUint256(bytes32 position) internal view returns (uint256 data) {
assembly {
data := sload(position)
}
}
function setUint256(bytes32 position, uint256 data) internal {
assembly {
sstore(position, data)
}
}
function getAddress(bytes32 position) internal view returns (address data) {
assembly {
data := sload(position)
}
}
function setAddress(bytes32 position, address data) internal {
assembly {
sstore(position, data)
}
}
function getBool(bytes32 position) internal view returns (bool data) {
assembly {
data := sload(position)
}
}
function setBool(bytes32 position, bool data) internal {
assembly {
sstore(position, data)
}
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant VERSION_SLOT = keccak256("StakingContract.version");
function getVersion() internal view returns (uint256) {
return getUint256(VERSION_SLOT);
}
function setVersion(uint256 _newVersion) internal {
setUint256(VERSION_SLOT, _newVersion);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant ADMIN_SLOT = keccak256("StakingContract.admin");
bytes32 internal constant PENDING_ADMIN_SLOT = keccak256("StakingContract.pendingAdmin");
function getAdmin() internal view returns (address) {
return getAddress(ADMIN_SLOT);
}
function setAdmin(address _newAdmin) internal {
setAddress(ADMIN_SLOT, _newAdmin);
}
function getPendingAdmin() internal view returns (address) {
return getAddress(PENDING_ADMIN_SLOT);
}
function setPendingAdmin(address _newPendingAdmin) internal {
setAddress(PENDING_ADMIN_SLOT, _newPendingAdmin);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant TREASURY_SLOT = keccak256("StakingContract.treasury");
function getTreasury() internal view returns (address) {
return getAddress(TREASURY_SLOT);
}
function setTreasury(address _newTreasury) internal {
setAddress(TREASURY_SLOT, _newTreasury);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant DEPOSIT_CONTRACT_SLOT = keccak256("StakingContract.depositContract");
function getDepositContract() internal view returns (address) {
return getAddress(DEPOSIT_CONTRACT_SLOT);
}
function setDepositContract(address _newDepositContract) internal {
setAddress(DEPOSIT_CONTRACT_SLOT, _newDepositContract);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant OPERATORS_SLOT = keccak256("StakingContract.operators");
struct OperatorInfo {
address operator;
address feeRecipient;
uint256 limit;
bytes[] publicKeys;
bytes[] signatures;
bool deactivated;
}
struct OperatorsSlot {
OperatorInfo[] value;
}
function getOperators() internal pure returns (OperatorsSlot storage p) {
bytes32 slot = OPERATORS_SLOT;
assembly {
p.slot := slot
}
}
/* ========================================
===========================================
=========================================*/
/// Validator funding information is stored in a packed fashion
/// We fit 4 vfi per storage slot.
/// Each vfi is stored in 64 bits, with the following layout:
/// 32 bits for the number of available keys
/// 32 bits for the number of funded keys
uint256 internal constant FUNDED_OFFSET = 32;
bytes32 internal constant VALIDATORS_FUNDING_INFO_SLOT = keccak256("StakingContract.validatorsFundingInfo");
struct ValidatorsFundingInfo {
uint32 availableKeys;
uint32 funded;
}
struct UintToUintMappingSlot {
mapping(uint256 => uint256) value;
}
function getValidatorsFundingInfo(uint256 _index) internal view returns (ValidatorsFundingInfo memory vfi) {
UintToUintMappingSlot storage p;
bytes32 slot = VALIDATORS_FUNDING_INFO_SLOT;
assembly {
p.slot := slot
}
uint256 slotIndex = _index >> 2; // divide by 4
uint256 innerIndex = (_index & 3) << 6; // modulo 4, multiply by 64
uint256 value = p.value[slotIndex] >> innerIndex;
vfi.availableKeys = uint32(value);
vfi.funded = uint32(value >> FUNDED_OFFSET);
}
function setValidatorsFundingInfo(
uint256 _index,
uint32 _availableKeys,
uint32 _funded
) internal {
UintToUintMappingSlot storage p;
bytes32 slot = VALIDATORS_FUNDING_INFO_SLOT;
assembly {
p.slot := slot
}
uint256 slotIndex = _index >> 2; // divide by 4
uint256 innerIndex = (_index & 3) << 6; // modulo 4, multiply by 64
p.value[slotIndex] =
(p.value[slotIndex] & (~(uint256(0xFFFFFFFFFFFFFFFF) << innerIndex))) | // clear the bits we want to set
((uint256(_availableKeys) | (uint256(_funded) << FUNDED_OFFSET)) << innerIndex);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant TOTAL_AVAILABLE_VALIDATORS_SLOT = keccak256("StakingContract.totalAvailableValidators");
function getTotalAvailableValidators() internal view returns (uint256) {
return getUint256(TOTAL_AVAILABLE_VALIDATORS_SLOT);
}
function setTotalAvailableValidators(uint256 _newTotal) internal {
setUint256(TOTAL_AVAILABLE_VALIDATORS_SLOT, _newTotal);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant WITHDRAWERS_SLOT = keccak256("StakingContract.withdrawers");
struct WithdrawersSlot {
mapping(bytes32 => address) value;
}
function getWithdrawers() internal pure returns (WithdrawersSlot storage p) {
bytes32 slot = WITHDRAWERS_SLOT;
assembly {
p.slot := slot
}
}
/* ========================================
===========================================
=========================================*/
struct OperatorIndex {
bool enabled;
uint32 operatorIndex;
}
struct OperatorIndexPerValidatorSlot {
mapping(bytes32 => OperatorIndex) value;
}
bytes32 internal constant OPERATOR_INDEX_PER_VALIDATOR_SLOT =
keccak256("StakingContract.operatorIndexPerValidator");
function getOperatorIndexPerValidator() internal pure returns (OperatorIndexPerValidatorSlot storage p) {
bytes32 slot = OPERATOR_INDEX_PER_VALIDATOR_SLOT;
assembly {
p.slot := slot
}
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant GLOBAL_FEE_SLOT = keccak256("StakingContract.globalFee");
function getGlobalFee() internal view returns (uint256) {
return getUint256(GLOBAL_FEE_SLOT);
}
function setGlobalFee(uint256 _newTreasuryFee) internal {
setUint256(GLOBAL_FEE_SLOT, _newTreasuryFee);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant OPERATOR_FEE_SLOT = keccak256("StakingContract.operatorFee");
function getOperatorFee() internal view returns (uint256) {
return getUint256(OPERATOR_FEE_SLOT);
}
function setOperatorFee(uint256 _newOperatorFee) internal {
setUint256(OPERATOR_FEE_SLOT, _newOperatorFee);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant EL_DISPATCHER_SLOT = keccak256("StakingContract.executionLayerDispatcher");
function getELDispatcher() internal view returns (address) {
return getAddress(EL_DISPATCHER_SLOT);
}
function setELDispatcher(address _newElDispatcher) internal {
setAddress(EL_DISPATCHER_SLOT, _newElDispatcher);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant CL_DISPATCHER_SLOT = keccak256("StakingContract.consensusLayerDispatcher");
function getCLDispatcher() internal view returns (address) {
return getAddress(CL_DISPATCHER_SLOT);
}
function setCLDispatcher(address _newClDispatcher) internal {
setAddress(CL_DISPATCHER_SLOT, _newClDispatcher);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant FEE_RECIPIENT_IMPLEMENTATION_SLOT =
keccak256("StakingContract.feeRecipientImplementation");
function getFeeRecipientImplementation() internal view returns (address) {
return getAddress(FEE_RECIPIENT_IMPLEMENTATION_SLOT);
}
function setFeeRecipientImplementation(address _newFeeRecipientImplementation) internal {
setAddress(FEE_RECIPIENT_IMPLEMENTATION_SLOT, _newFeeRecipientImplementation);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant WITHDRAWER_CUSTOMIZATION_ENABLED_SLOT =
keccak256("StakingContract.withdrawerCustomizationEnabled");
function getWithdrawerCustomizationEnabled() internal view returns (bool) {
return getBool(WITHDRAWER_CUSTOMIZATION_ENABLED_SLOT);
}
function setWithdrawerCustomizationEnabled(bool _enabled) internal {
setBool(WITHDRAWER_CUSTOMIZATION_ENABLED_SLOT, _enabled);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant EXIT_REQUEST_MAPPING_SLOT =
bytes32(uint256(keccak256("StakingContract.exitRequest")) - 1);
struct ExitRequestMap {
mapping(bytes32 => bool) value;
}
function getExitRequestMap() internal pure returns (ExitRequestMap storage p) {
bytes32 slot = EXIT_REQUEST_MAPPING_SLOT;
assembly {
p.slot := slot
}
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant WITHDRAWN_MAPPING_SLOT = bytes32(uint256(keccak256("StakingContract.withdrawn")) - 1);
struct WithdrawnMap {
mapping(bytes32 => bool) value;
}
function getWithdrawnMap() internal pure returns (WithdrawnMap storage p) {
bytes32 slot = WITHDRAWN_MAPPING_SLOT;
assembly {
p.slot := slot
}
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant GLOBAL_COMMISSION_LIMIT_SLOT =
bytes32(uint256(keccak256("StakingContract.globalCommissionLimit")) - 1);
function getGlobalCommissionLimit() internal view returns (uint256) {
return getUint256(GLOBAL_COMMISSION_LIMIT_SLOT);
}
function setGlobalCommissionLimit(uint256 value) internal {
setUint256(GLOBAL_COMMISSION_LIMIT_SLOT, value);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant OPERATOR_COMMISSION_LIMIT_SLOT =
bytes32(uint256(keccak256("StakingContract.operatorCommissionLimit")) - 1);
function getOperatorCommissionLimit() internal view returns (uint256) {
return getUint256(OPERATOR_COMMISSION_LIMIT_SLOT);
}
function setOperatorCommissionLimit(uint256 value) internal {
setUint256(OPERATOR_COMMISSION_LIMIT_SLOT, value);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant DEPOSIT_STOPPED_SLOT = bytes32(uint256(keccak256("StakingContract.depositStopped")) - 1);
function getDepositStopped() internal view returns (bool) {
return getBool(DEPOSIT_STOPPED_SLOT);
}
function setDepositStopped(bool val) internal {
setBool(DEPOSIT_STOPPED_SLOT, val);
}
/* ========================================
===========================================
=========================================*/
bytes32 internal constant LAST_VALIDATOR_EDIT_SLOT =
bytes32(uint256(keccak256("StakingContract.lastValidatorsEdit")) - 1);
function getLastValidatorEdit() internal view returns (uint256) {
return getUint256(LAST_VALIDATOR_EDIT_SLOT);
}
function setLastValidatorEdit(uint256 value) internal {
setUint256(LAST_VALIDATOR_EDIT_SLOT, value);
}
}//SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.8.10;
import "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol";
/// @title TUPProxy (Transparent Upgradeable Pausable Proxy)
/// @author SkillZ
/// @notice This contract extends the Transparent Upgradeable proxy and adds a system wide pause feature.
/// When the system is paused, the fallback will fail no matter what calls are made.
contract TUPProxy is TransparentUpgradeableProxy {
bytes32 private constant _PAUSE_SLOT = bytes32(uint256(keccak256("eip1967.proxy.pause")) - 1);
error CallWhenPaused();
constructor(
address _logic,
address admin_,
bytes memory _data
) payable TransparentUpgradeableProxy(_logic, admin_, _data) {}
/// @dev Retrieves Paused state
/// @return Paused state
function isPaused() external ifAdmin returns (bool) {
return StorageSlot.getBooleanSlot(_PAUSE_SLOT).value;
}
/// @dev Pauses system
function pause() external ifAdmin {
StorageSlot.getBooleanSlot(_PAUSE_SLOT).value = true;
}
/// @dev Unpauses system
function unpause() external ifAdmin {
StorageSlot.getBooleanSlot(_PAUSE_SLOT).value = false;
}
/// @dev Overrides the fallback method to check if system is not paused before
/// @dev Address Zero is allowed to perform calls even if system is paused. This allows
/// view functions to be called when the system is paused as rpc providers can easily
/// set the sender address to zero.
function _beforeFallback() internal override {
if (StorageSlot.getBooleanSlot(_PAUSE_SLOT).value == false || msg.sender == address(0)) {
super._beforeFallback();
} else {
revert CallWhenPaused();
}
}
}{
"optimizer": {
"enabled": true,
"runs": 10000
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"Deactivated","type":"error"},{"inputs":[],"name":"DepositFailure","type":"error"},{"inputs":[],"name":"DepositsStopped","type":"error"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"DuplicateValidatorKey","type":"error"},{"inputs":[],"name":"Forbidden","type":"error"},{"inputs":[],"name":"FundedValidatorDeletionAttempt","type":"error"},{"inputs":[],"name":"InvalidArgument","type":"error"},{"inputs":[],"name":"InvalidCall","type":"error"},{"inputs":[],"name":"InvalidDepositValue","type":"error"},{"inputs":[],"name":"InvalidFee","type":"error"},{"inputs":[],"name":"InvalidPublicKeys","type":"error"},{"inputs":[],"name":"InvalidSignatures","type":"error"},{"inputs":[],"name":"InvalidValidatorCount","type":"error"},{"inputs":[],"name":"InvalidWithdrawer","type":"error"},{"inputs":[],"name":"InvalidZeroAddress","type":"error"},{"inputs":[],"name":"LastEditAfterSnapshot","type":"error"},{"inputs":[],"name":"MaximumOperatorCountAlreadyReached","type":"error"},{"inputs":[],"name":"NoOperators","type":"error"},{"inputs":[],"name":"NotEnoughValidators","type":"error"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"keyCount","type":"uint256"}],"name":"OperatorLimitTooHigh","type":"error"},{"inputs":[],"name":"PublicKeyNotInContract","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnsortedIndexes","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_operatorIndex","type":"uint256"}],"name":"ActivatedOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"ChangedAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isStopped","type":"bool"}],"name":"ChangedDepositsStopped","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newGlobalFee","type":"uint256"}],"name":"ChangedGlobalFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"operatorIndex","type":"uint256"},{"indexed":false,"internalType":"address","name":"operatorAddress","type":"address"},{"indexed":false,"internalType":"address","name":"feeRecipientAddress","type":"address"}],"name":"ChangedOperatorAddresses","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newOperatorFee","type":"uint256"}],"name":"ChangedOperatorFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"operatorIndex","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"limit","type":"uint256"}],"name":"ChangedOperatorLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newTreasury","type":"address"}],"name":"ChangedTreasury","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"publicKey","type":"bytes"},{"indexed":false,"internalType":"address","name":"newWithdrawer","type":"address"}],"name":"ChangedWithdrawer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_operatorIndex","type":"uint256"}],"name":"DeactivatedOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"withdrawer","type":"address"},{"indexed":false,"internalType":"bytes","name":"publicKey","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"signature","type":"bytes"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"bytes","name":"pubkey","type":"bytes"}],"name":"ExitRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"operatorAddress","type":"address"},{"indexed":false,"internalType":"address","name":"feeRecipientAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"NewOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"SetWithdrawerCustomizationStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"operatorIndex","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"publicKey","type":"bytes"}],"name":"ValidatorKeyRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"operatorIndex","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"publicKeys","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"signatures","type":"bytes"}],"name":"ValidatorKeysAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"ValidatorsEdited","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DEPOSIT_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_KEY_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SIGNATURE_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operatorIndex","type":"uint256"},{"internalType":"address","name":"_newFeeRecipient","type":"address"}],"name":"activateOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operatorAddress","type":"address"},{"internalType":"address","name":"_feeRecipientAddress","type":"address"}],"name":"addOperator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operatorIndex","type":"uint256"},{"internalType":"uint256","name":"_keyCount","type":"uint256"},{"internalType":"bytes","name":"_publicKeys","type":"bytes"},{"internalType":"bytes","name":"_signatures","type":"bytes"}],"name":"addValidators","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_publicKeys","type":"bytes"}],"name":"batchWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_publicKeys","type":"bytes"}],"name":"batchWithdrawCLFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_publicKeys","type":"bytes"}],"name":"batchWithdrawELFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operatorIndex","type":"uint256"},{"internalType":"address","name":"_temporaryFeeRecipient","type":"address"}],"name":"deactivateOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAvailableValidatorCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_publicKey","type":"bytes"}],"name":"getCLFeeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDepositsStopped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_publicKey","type":"bytes"}],"name":"getELFeeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_publicKeyRoot","type":"bytes32"}],"name":"getEnabledFromPublicKeyRoot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_publicKeyRoot","type":"bytes32"}],"name":"getExitRequestedFromRoot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGlobalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operatorIndex","type":"uint256"}],"name":"getOperator","outputs":[{"internalType":"address","name":"operatorAddress","type":"address"},{"internalType":"address","name":"feeRecipientAddress","type":"address"},{"internalType":"uint256","name":"limit","type":"uint256"},{"internalType":"uint256","name":"keys","type":"uint256"},{"internalType":"uint256","name":"funded","type":"uint256"},{"internalType":"uint256","name":"available","type":"uint256"},{"internalType":"bool","name":"deactivated","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOperatorFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"pubKeyRoot","type":"bytes32"}],"name":"getOperatorFeeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPendingAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTreasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operatorIndex","type":"uint256"},{"internalType":"uint256","name":"_validatorIndex","type":"uint256"}],"name":"getValidator","outputs":[{"internalType":"bytes","name":"publicKey","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"address","name":"withdrawer","type":"address"},{"internalType":"bool","name":"funded","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_publicKey","type":"bytes"}],"name":"getWithdrawer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_publicKeyRoot","type":"bytes32"}],"name":"getWithdrawerFromPublicKeyRoot","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_publicKeyRoot","type":"bytes32"}],"name":"getWithdrawnFromPublicKeyRoot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_depositContract","type":"address"},{"internalType":"address","name":"_elDispatcher","type":"address"},{"internalType":"address","name":"_clDispatcher","type":"address"},{"internalType":"address","name":"_feeRecipientImplementation","type":"address"},{"internalType":"uint256","name":"_globalFee","type":"uint256"},{"internalType":"uint256","name":"_operatorFee","type":"uint256"},{"internalType":"uint256","name":"globalCommissionLimitBPS","type":"uint256"},{"internalType":"uint256","name":"operatorCommissionLimitBPS","type":"uint256"}],"name":"initialize_1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"globalCommissionLimitBPS","type":"uint256"},{"internalType":"uint256","name":"operatorCommissionLimitBPS","type":"uint256"}],"name":"initialize_2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operatorIndex","type":"uint256"},{"internalType":"uint256[]","name":"_indexes","type":"uint256[]"}],"name":"removeValidators","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_publicKeys","type":"bytes"}],"name":"requestValidatorsExit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setDepositsStopped","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_globalFee","type":"uint256"}],"name":"setGlobalFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operatorIndex","type":"uint256"},{"internalType":"address","name":"_operatorAddress","type":"address"},{"internalType":"address","name":"_feeRecipientAddress","type":"address"}],"name":"setOperatorAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operatorFee","type":"uint256"}],"name":"setOperatorFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_operatorIndex","type":"uint256"},{"internalType":"uint256","name":"_limit","type":"uint256"},{"internalType":"uint256","name":"_snapshot","type":"uint256"}],"name":"setOperatorLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTreasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_publicKey","type":"bytes"},{"internalType":"address","name":"_newWithdrawer","type":"address"}],"name":"setWithdrawer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setWithdrawerCustomizationEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_publicKeyRoot","type":"bytes32"}],"name":"toggleWithdrawnFromPublicKeyRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_publicKey","type":"bytes"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_publicKey","type":"bytes"}],"name":"withdrawCLFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_publicKey","type":"bytes"}],"name":"withdrawELFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
608060405234801561001057600080fd5b50615b2e80620000216000396000f3fe6080604052600436106103015760003560e01c8063a74008011161018f578063d0e30db0116100e1578063e99454f51161008a578063f2fde38b11610064578063f2fde38b146108b1578063fe0e4191146108d1578063fe38231c146108f157610310565b8063e99454f514610851578063ef5e468214610871578063f0f442601461089157610310565b8063dfbe50dd116100bb578063dfbe50dd146107f1578063e00cb6ca14610811578063e8a0c1211461083157610310565b8063d0e30db0146107a9578063d243d69d146107b1578063d2a42747146107d157610310565b8063beee4bbf11610143578063c13d03501161011d578063c13d035014610744578063cac594df14610774578063d04681561461079457610310565b8063beee4bbf146106ef578063bf15af561461070f578063bf509bd41461072457610310565b8063b6b06dec11610174578063b6b06dec1461068f578063b747e7dd146106af578063b86bcaf7146106cf57610310565b8063a74008011461065a578063b4336b841461067a57610310565b806336bf3325116102535780637680fdf5116101fc5780638df4e474116101d65780638df4e474146105fa5780639adf91ee1461061a578063a4d8d2c41461063a57610310565b80637680fdf5146105a557806379ba5097146105c55780638a1af4c4146105da57610310565b806363b4118f1161022d57806363b4118f146105405780636d336fe0146105705780636e9960c31461059057610310565b806336bf3325146104f95780633b19e84a14610516578063540bc5ea1461052b57610310565b80631d095805116102b5578063286966081161028f57806328696608146104a4578063291206f6146104b95780632ba03a79146104d957610310565b80631d0958051461042c5780631ee133431461044c578063227e80fa1461048457610310565b80630ffab6c2116102e65780630ffab6c2146103c95780631864636c146103e95780631bcbfaba1461040957610310565b806305f63c8a146103425780630968f264146103a957610310565b366103105761030e610906565b005b6040517fae962d4e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34801561034e57600080fd5b5061036261035d366004615249565b610a62565b604080516001600160a01b039889168152979096166020880152948601939093526060850191909152608084015260a0830152151560c082015260e0015b60405180910390f35b3480156103b557600080fd5b5061030e6103c43660046152ab565b610b78565b3480156103d557600080fd5b5061030e6103e43660046152ab565b610c49565b3480156103f557600080fd5b5061030e6104043660046152ed565b610cfe565b34801561041557600080fd5b5061041e611c77565b6040519081526020016103a0565b34801561043857600080fd5b5061030e610447366004615249565b611c86565b34801561045857600080fd5b5061046c6104673660046152ab565b611d3f565b6040516001600160a01b0390911681526020016103a0565b34801561049057600080fd5b5061030e61049f366004615388565b611d8c565b3480156104b057600080fd5b5061041e611f15565b3480156104c557600080fd5b5061030e6104d4366004615249565b611f1f565b3480156104e557600080fd5b5061030e6104f43660046152ab565b611fd1565b34801561050557600080fd5b5061041e6801bc16d674ec80000081565b34801561052257600080fd5b5061046c612010565b34801561053757600080fd5b5061041e606081565b34801561054c57600080fd5b5061056061055b3660046153b4565b61201a565b6040516103a0949392919061542e565b34801561057c57600080fd5b5061030e61058b3660046153b4565b61229b565b34801561059c57600080fd5b5061046c61237b565b3480156105b157600080fd5b5061030e6105c0366004615475565b612385565b3480156105d157600080fd5b5061030e6123fe565b3480156105e657600080fd5b5061041e6105f536600461549e565b61247e565b34801561060657600080fd5b5061030e610615366004615475565b61267a565b34801561062657600080fd5b5061046c610635366004615249565b6126ed565b34801561064657600080fd5b5061030e6106553660046154c8565b6127e8565b34801561066657600080fd5b5061046c610675366004615249565b6129c4565b34801561068657600080fd5b5061041e612a00565b34801561069b57600080fd5b5061030e6106aa3660046152ab565b612a0a565b3480156106bb57600080fd5b5061030e6106ca366004615504565b612b52565b3480156106db57600080fd5b5061030e6106ea366004615249565b612f1d565b3480156106fb57600080fd5b5061030e61070a366004615587565b612f7d565b34801561071b57600080fd5b5061041e603081565b34801561073057600080fd5b5061030e61073f3660046152ab565b613190565b34801561075057600080fd5b5061076461075f366004615249565b613212565b60405190151581526020016103a0565b34801561078057600080fd5b5061076461078f366004615249565b61321d565b3480156107a057600080fd5b5061046c61323b565b61030e613245565b3480156107bd57600080fd5b5061046c6107cc3660046152ab565b61324f565b3480156107dd57600080fd5b5061030e6107ec366004615388565b613290565b3480156107fd57600080fd5b5061030e61080c3660046155b3565b61348c565b34801561081d57600080fd5b5061046c61082c3660046152ab565b6135ef565b34801561083d57600080fd5b5061030e61084c3660046152ab565b613633565b34801561085d57600080fd5b5061030e61086c366004615651565b6136f6565b34801561087d57600080fd5b5061030e61088c3660046152ab565b61385d565b34801561089d57600080fd5b5061030e6108ac36600461569c565b613912565b3480156108bd57600080fd5b5061030e6108cc36600461569c565b61398f565b3480156108dd57600080fd5b506107646108ec366004615249565b6139d0565b3480156108fd57600080fd5b506107646139f8565b61090e6139fe565b15610945576040517f753ed9db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34158061096357506109606801bc16d674ec800000346156e6565b15155b1561099a576040517f428243e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006109a4613a32565b905060006109bb6801bc16d674ec80000034615729565b9050818111156109f7576040517fae575a8800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054600003610a53576040517fddf9d24500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a5d8284613a5c565b505050565b6000808080808080807fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054909150891015610b6c576040805180820182526000808252602080830182815260028e901c83527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f082529382205460068e901b60c0161c63ffffffff8181168552911c1690925290506000826000018b81548110610b0e57610b0e61573d565b600091825260209182902060069091020180546001820154600283015460038401546005909401549487015196516001600160a01b039384169f50919092169c50909a5090985063ffffffff93841697509290921694505060ff1691505b50919395979092949650565b610bb782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613a7992505050565b610bff82828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509250610bfa9150613aed9050565b613b17565b610c4582828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610bfa9150613ca29050565b5050565b610c546030826156e6565b15610c8b576040517f337d0f4100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a5d576000610cdc84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525086925060309150613ccc9050565b9050610ce781613a79565b610cf5816001610bfa613ca2565b50603001610c8e565b82610d07613e28565b6001600160a01b0316330361152a576000829003610d51576040517fa9cb9e0d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051808201825260008082526020808301828152600289901c83527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f082529390912054600688901b60c0161c63ffffffff8181168452911c1691829052907fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b39907fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec93902908686610e0260018261576c565b818110610e1157610e1161573d565b905060200201351015610e50576040517f34947ea100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8581101561140d57600081118015610ea557508686610e7360018461576c565b818110610e8257610e8261573d565b90506020020135878783818110610e9b57610e9b61573d565b9050602002013510155b15610edc576040517f35061dff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610fc8846000018a81548110610ef657610ef661573d565b9060005260206000209060060201600301898985818110610f1957610f1961573d565b9050602002013581548110610f3057610f3061573d565b906000526020600020018054610f4590615783565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7190615783565b8015610fbe5780601f10610f9357610100808354040283529160200191610fbe565b820191906000526020600020905b815481529060010190602001808311610fa157829003601f168201915b5050505050613e52565b600081815260208590526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000169055845490915089907f794aacb42d1ea2e7f72809b74e3ce124325a51c3715b873c36807d3ca37e4fd0908690839081106110375761103761573d565b90600052602060002090600602016003018a8a8681811061105a5761105a61573d565b90506020020135815481106110715761107161573d565b9060005260206000200160405161108891906157d6565b60405180910390a26001846000018a815481106110a7576110a761573d565b9060005260206000209060060201600301805490506110c6919061576c565b8888848181106110d8576110d861573d565b905060200201350361118f578360000189815481106110f9576110f961573d565b906000526020600020906006020160030180548061111957611119615896565b6001900381819060005260206000200160006111359190615085565b905583600001898154811061114c5761114c61573d565b906000526020600020906006020160040180548061116c5761116c615896565b6001900381819060005260206000200160006111889190615085565b9055611404565b8360000189815481106111a4576111a461573d565b90600052602060002090600602016003016001856000018b815481106111cc576111cc61573d565b9060005260206000209060060201600301805490506111eb919061576c565b815481106111fb576111fb61573d565b90600052602060002001846000018a8154811061121a5761121a61573d565b906000526020600020906006020160030189898581811061123d5761123d61573d565b90506020020135815481106112545761125461573d565b9060005260206000200190805461126a90615783565b6112759291906150bf565b5083600001898154811061128b5761128b61573d565b90600052602060002090600602016003018054806112ab576112ab615896565b6001900381819060005260206000200160006112c79190615085565b90558360000189815481106112de576112de61573d565b90600052602060002090600602016004016001856000018b815481106113065761130661573d565b906000526020600020906006020160040180549050611325919061576c565b815481106113355761133561573d565b90600052602060002001846000018a815481106113545761135461573d565b90600052602060002090600602016004018989858181106113775761137761573d565b905060200201358154811061138e5761138e61573d565b906000526020600020019080546113a490615783565b6113af9291906150bf565b508360000189815481106113c5576113c561573d565b90600052602060002090600602016004018054806113e5576113e5615896565b6001900381819060005260206000200160006114019190615085565b90555b50600101610e53565b508160000187815481106114235761142361573d565b6000918252602090912060026006909202010154868661144460018261576c565b8181106114535761145361573d565b90506020020135101561151157858561146d60018261576c565b81811061147c5761147c61573d565b905060200201358260000188815481106114985761149861573d565b60009182526020909120600260069092020101557fa4dcee8ff224c7cfd53b1f2cd1f5afd98927d079b4152d639c5e523a52bf1e038787876114db60018261576c565b8181106114ea576114ea61573d565b90506020020135604051611508929190918252602082015260400190565b60405180910390a15b611519613ec7565b61152287613f05565b505050611c71565b611533816140fe565b600082900361156e576040517fa9cb9e0d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051808201825260008082526020808301828152600289901c83527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f082529390912054600688901b60c0161c63ffffffff8181168452911c1691829052907fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b39907fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec9390290868661161f60018261576c565b81811061162e5761162e61573d565b90506020020135101561166d576040517f34947ea100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b85811015611b58576000811180156116c25750868661169060018461576c565b81811061169f5761169f61573d565b905060200201358787838181106116b8576116b861573d565b9050602002013510155b156116f9576040517f35061dff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611713846000018a81548110610ef657610ef661573d565b600081815260208590526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000169055845490915089907f794aacb42d1ea2e7f72809b74e3ce124325a51c3715b873c36807d3ca37e4fd0908690839081106117825761178261573d565b90600052602060002090600602016003018a8a868181106117a5576117a561573d565b90506020020135815481106117bc576117bc61573d565b906000526020600020016040516117d391906157d6565b60405180910390a26001846000018a815481106117f2576117f261573d565b906000526020600020906006020160030180549050611811919061576c565b8888848181106118235761182361573d565b90506020020135036118da578360000189815481106118445761184461573d565b906000526020600020906006020160030180548061186457611864615896565b6001900381819060005260206000200160006118809190615085565b90558360000189815481106118975761189761573d565b90600052602060002090600602016004018054806118b7576118b7615896565b6001900381819060005260206000200160006118d39190615085565b9055611b4f565b8360000189815481106118ef576118ef61573d565b90600052602060002090600602016003016001856000018b815481106119175761191761573d565b906000526020600020906006020160030180549050611936919061576c565b815481106119465761194661573d565b90600052602060002001846000018a815481106119655761196561573d565b90600052602060002090600602016003018989858181106119885761198861573d565b905060200201358154811061199f5761199f61573d565b906000526020600020019080546119b590615783565b6119c09291906150bf565b508360000189815481106119d6576119d661573d565b90600052602060002090600602016003018054806119f6576119f6615896565b600190038181906000526020600020016000611a129190615085565b9055836000018981548110611a2957611a2961573d565b90600052602060002090600602016004016001856000018b81548110611a5157611a5161573d565b906000526020600020906006020160040180549050611a70919061576c565b81548110611a8057611a8061573d565b90600052602060002001846000018a81548110611a9f57611a9f61573d565b9060005260206000209060060201600401898985818110611ac257611ac261573d565b9050602002013581548110611ad957611ad961573d565b90600052602060002001908054611aef90615783565b611afa9291906150bf565b50836000018981548110611b1057611b1061573d565b9060005260206000209060060201600401805480611b3057611b30615896565b600190038181906000526020600020016000611b4c9190615085565b90555b50600101611670565b50816000018781548110611b6e57611b6e61573d565b60009182526020909120600260069092020101548686611b8f60018261576c565b818110611b9e57611b9e61573d565b905060200201351015611c5c578585611bb860018261576c565b818110611bc757611bc761573d565b90506020020135826000018881548110611be357611be361573d565b60009182526020909120600260069092020101557fa4dcee8ff224c7cfd53b1f2cd1f5afd98927d079b4152d639c5e523a52bf1e03878787611c2660018261576c565b818110611c3557611c3561573d565b90506020020135604051611c53929190918252602082015260400190565b60405180910390a15b611c64613ec7565b611c6d87613f05565b5050505b50505050565b6000611c816141ae565b905090565b611c8e613e28565b6001600160a01b0316336001600160a01b031614611cbe576040516282b42960e81b815260040160405180910390fd5b611cc66141d8565b811115611cff576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d0881614208565b6040518181527fd894096cd1f7e89d9b748c7c2358cb699a790a05e97dcde228fe5949b4e80743906020015b60405180910390a150565b6000611d8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250614231915050565b90505b92915050565b611d94613e28565b6001600160a01b0316336001600160a01b031614611dc4576040516282b42960e81b815260040160405180910390fd5b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054600090829085908110611dfc57611dfc61573d565b600091825260209182902060069190910201600501805460ff1916921515929092179091556040518481527f8d0ba049731b0417f85546bc7503de241522c61e7464e87cceff56d3f2586dbc910160405180910390a181816000018481548110611e6857611e6861573d565b906000526020600020906006020160010160006101000a8154816001600160a01b0302191690836001600160a01b031602179055507f97568892aa9e69db7c72b9f32e6d4fe3c0e53b9728a8c0a0f1c2a7eb47c48ad383826000018581548110611ed457611ed461573d565b600091825260209182902060069091020154604080519384526001600160a01b039182169284019290925285169082015260600160405180910390a1505050565b6000611c816142db565b611f27613e28565b6001600160a01b0316336001600160a01b031614611f57576040516282b42960e81b815260040160405180910390fd5b611f5f614305565b811115611f98576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fa181614335565b6040518181527fecd6fc650620aa722cafc3c3e871fa813947eae6f856982d7510a8ff101a507890602001611d34565b610bff82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613a7992505050565b6000611c8161435e565b606080600080807fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b3990508060000187815481106120595761205961573d565b9060005260206000209060060201600301868154811061207b5761207b61573d565b90600052602060002001805461209090615783565b80601f01602080910402602001604051908101604052809291908181526020018280546120bc90615783565b80156121095780601f106120de57610100808354040283529160200191612109565b820191906000526020600020905b8154815290600101906020018083116120ec57829003601f168201915b505050505094508060000187815481106121255761212561573d565b906000526020600020906006020160040186815481106121475761214761573d565b90600052602060002001805461215c90615783565b80601f016020809104026020016040519081016040528092919081815260200182805461218890615783565b80156121d55780601f106121aa576101008083540402835291602001916121d5565b820191906000526020600020905b8154815290600101906020018083116121b857829003601f168201915b505050505093506122226121e886613e52565b60009081527f86647fdbbdb534026d3e0f93a551cecf651c2b40fcdfef4b9fd9ed826133e26560205260409020546001600160a01b031690565b6040805180820182526000808252602080830182815260028d901c83527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f08252939091205460068c901b60c0161c63ffffffff8181168452911c169091529093506020015163ffffffff16861091505092959194509250565b60026122a5614388565b6122b09060016158c5565b81146122e8576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122f1816143b2565b61271083111561232d576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612336836143db565b612710821115612372576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a5d8261440e565b6000611c81613e28565b61238d613e28565b6001600160a01b0316336001600160a01b0316146123bd576040516282b42960e81b815260040160405180910390fd5b60405181151581527f8caf502b0bfa5915a541f14f8b0d091d4837c201b74aa2a7a7f52487a5fe8a819060200160405180910390a16123fb8161443c565b50565b600061240861446a565b9050336001600160a01b03821614612432576040516282b42960e81b815260040160405180910390fd5b61243b81614493565b61244560006144bc565b6040516001600160a01b03821681527ff29c1089a9594c030706593e345bd8f70a26125bfb7bf4c54e757e20f456fd1c90602001611d34565b6000612488613e28565b6001600160a01b0316336001600160a01b0316146124b8576040516282b42960e81b815260040160405180910390fd5b6040805160c0810182526000808252602082018190529181018290526060808201819052608082015260a08101919091527fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054909190600103612548576040517fa20c741300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03808616825284811660208084019182528454600181810187556000878152839020865160069093020180549286167fffffffffffffffffffffffff00000000000000000000000000000000000000009384161781559351908401805491909516911617909255604083015160028201556060830151805184936125da92600385019291019061514a565b50608082015180516125f691600484019160209091019061514a565b5060a091909101516005909101805460ff191691151591909117905581546000906126239060019061576c565b604080516001600160a01b03808a168252881660208201529081018290529091507f2b3c4db2c0f4f51da09c2510a63e1d90235e486e8f075a609103a5c7a07422179060600160405180910390a195945050505050565b612682613e28565b6001600160a01b0316336001600160a01b0316146126b2576040516282b42960e81b815260040160405180910390fd5b6126bb816144e4565b60405181151581527f96639403db35a7ef32b25543bec54f73278d8c5ca82883ef1385ddcb27afa7dc90602001611d34565b60008181527fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec93902602052604081205460ff1615158103612758576040517f9e44bfc500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281527fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec9390260205260409020547fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b3980549091610100900463ffffffff169081106127c5576127c561573d565b60009182526020909120600160069092020101546001600160a01b031692915050565b8260007fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b3980548390811061281e5761281e61573d565b60009182526020909120600690910201600581015490915060ff1615612870576040517f1142a68c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018101546001600160a01b0316331461289c576040516282b42960e81b815260040160405180910390fd5b6128a58461450d565b6128ae8361450d565b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b39805485908290889081106128e5576128e561573d565b906000526020600020906006020160000160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550838160000187815481106129305761293061573d565b60009182526020918290206006919091020160010180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0393841617905560408051898152888416928101929092529186168183015290517f97568892aa9e69db7c72b9f32e6d4fe3c0e53b9728a8c0a0f1c2a7eb47c48ad3916060908290030190a1505050505050565b60008181527f86647fdbbdb534026d3e0f93a551cecf651c2b40fcdfef4b9fd9ed826133e26560205260408120546001600160a01b0316611d86565b6000611c81613a32565b612a156030826156e6565b15612a4c576040517f337d0f4100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a5d576000612a9d84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525086925060309150613ccc9050565b90506000612aaa82613e52565b60008181527f86647fdbbdb534026d3e0f93a551cecf651c2b40fcdfef4b9fd9ed826133e26560205260409020549091506001600160a01b0316338114612b03576040516282b42960e81b815260040160405180910390fd5b612b0e82600161454d565b7fcb773ebd49049a1f68200f0814f547dec2c54293ff2c6a6a4f4d98d6d9cb12298184604051612b3f9291906158dd565b60405180910390a1505050603001612a4f565b85612b5c816140fe565b85600003612b96576040517fa9cb9e0d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ba16030856156e6565b151580612bb8575085612bb5603086615729565b14155b15612bef576040517f337d0f4100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612bfa6060836156e6565b151580612c11575085612c0e606084615729565b14155b15612c48576040517f274cf40100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b397fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec9390260005b88811015612ec2576000612ce589898080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612cde925060309150869050615907565b6030613ccc565b90506000612d3788888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612d30925060609150879050615907565b6060613ccc565b9050846000018c81548110612d4e57612d4e61573d565b600091825260208083206003600690930201919091018054600181018255908352918190208451612d869391909101918501906151a3565b50846000018c81548110612d9c57612d9c61573d565b600091825260208083206004600690930201919091018054600181018255908352918190208351612dd49391909101918401906151a3565b506000612de083613e52565b60008181526020879052604090205490915060ff1615612e3757826040517f5a303adb000000000000000000000000000000000000000000000000000000008152600401612e2e9190615944565b60405180910390fd5b60405180604001604052806001151581526020018e63ffffffff1681525085600001600083815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548163ffffffff021916908363ffffffff160217905550905050836001019350505050612c8d565b50887fb82c87b84f76f39d5f61ed59b411352603805dda6080a2c44b4a86eab141ff1b88888888604051612ef99493929190615982565b60405180910390a2612f09613ec7565b612f1289613f05565b505050505050505050565b612f25613ca2565b6001600160a01b0316336001600160a01b031614612f55576040516282b42960e81b815260040160405180910390fd5b6001612f5f614576565b60009283526020526040909120805460ff1916911515919091179055565b612f85613e28565b6001600160a01b0316336001600160a01b031614612fb5576040516282b42960e81b815260040160405180910390fd5b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054819085908110612fea57612fea61573d565b600091825260209091206005600690920201015460ff1615613038576040517f1142a68c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081600001858154811061304f5761304f61573d565b9060005260206000209060060201600301805490509050838110156130aa576040517f62106cb30000000000000000000000000000000000000000000000000000000081526004810185905260248101829052604401612e2e565b838260000186815481106130c0576130c061573d565b9060005260206000209060060201600201541080156130e55750826130e36145a4565b115b1561311c576040517f474c62e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b838260000186815481106131325761313261573d565b90600052602060002090600602016002018190555061315085613f05565b60408051868152602081018690527fa4dcee8ff224c7cfd53b1f2cd1f5afd98927d079b4152d639c5e523a52bf1e03910160405180910390a15050505050565b6131cf82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613a7992505050565b610c4582828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509250610bfa9150613aed9050565b6000611d86826145d4565b6000613227614576565b600092835260205250604090205460ff1690565b6000611c8161446a565b61324d610906565b565b6000611d8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509250614231915050565b613298613e28565b6001600160a01b0316336001600160a01b0316146132c8576040516282b42960e81b815260040160405180910390fd5b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b3980546000908290859081106133005761330061573d565b9060005260206000209060060201600201819055507fa4dcee8ff224c7cfd53b1f2cd1f5afd98927d079b4152d639c5e523a52bf1e03836000604051613350929190918252602082015260400190565b60405180910390a1600181600001848154811061336f5761336f61573d565b600091825260209182902060069190910201600501805460ff1916921515929092179091556040518481527f4c644bb0e171ba9e5cf08f5d66836528c3947c3512b34dd8e27da30e803527b3910160405180910390a1818160000184815481106133db576133db61573d565b906000526020600020906006020160010160006101000a8154816001600160a01b0302191690836001600160a01b031602179055507f97568892aa9e69db7c72b9f32e6d4fe3c0e53b9728a8c0a0f1c2a7eb47c48ad3838260000185815481106134475761344761573d565b600091825260209182902060069091020154604080519384526001600160a01b039182169284019290925285169082015260600160405180910390a1610a5d83613f05565b6001613496614388565b6134a19060016158c5565b81146134d9576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134e2816143b2565b6134eb8b61450d565b6134f48b614493565b6134fd8a61450d565b6135068a6145de565b612710851115613542576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61354b85614335565b612710841115613587576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61359084614208565b6135998861450d565b6135a288614607565b6135ab8761450d565b6135b487614630565b6135bd8961450d565b6135c689614659565b6135cf8661450d565b6135d886614682565b6135e2838361229b565b5050505050505050505050565b6000611d836121e884848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613e5292505050565b61363e6030826156e6565b15613675576040517f337d0f4100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a5d5760006136c684848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525086925060309150613ccc9050565b90506136d181613a79565b6136df816000610bfa613aed565b6136ed816001610bfa613ca2565b50603001613678565b6136fe6146ab565b613734576040517fee90c46800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61373d8161450d565b600061377e84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613e5292505050565b905060007f86647fdbbdb534026d3e0f93a551cecf651c2b40fcdfef4b9fd9ed826133e2656000838152602082905260409020549091506001600160a01b031633146137dc576040516282b42960e81b815260040160405180910390fd5b7f833a0d0704fbdc6a0f748ebec819c31dde0b532ca9e3e29f56a5c4e8f3cbc0c985858560405161380f939291906159b4565b60405180910390a160009182526020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03929092169190911790555050565b6138686030826156e6565b1561389f576040517f337d0f4100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a5d5760006138f084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525086925060309150613ccc9050565b90506138fb81613a79565b613909816000610bfa613aed565b506030016138a2565b61391a613e28565b6001600160a01b0316336001600160a01b03161461394a576040516282b42960e81b815260040160405180910390fd5b6040516001600160a01b03821681527f63cc689e9d3377465b51fb094ea4ca5e0a1436b21f1ad30d707c696111c665009060200160405180910390a16123fb816145de565b613997613e28565b6001600160a01b0316336001600160a01b0316146139c7576040516282b42960e81b815260040160405180910390fd5b6123fb816144bc565b60007fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec93902613227565b6000611c815b6000611c81613a2e60017fb2e94356976bf59104fa32f6a0cf50947281732def9f18014aacae55ac60c5dd61576c565b5490565b6000611c817f559ad51499ae00ca2e9d9d95aab46737c8904ab7da276613fefda282b2c2ac065490565b613a6e613a69838361576c565b6146d5565b610c456000836146fe565b613a856121e882613e52565b6001600160a01b0316336001600160a01b031614158015613ab6575033613aaa613e28565b6001600160a01b031614155b156123fb576040517fca455fa500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611c817faa81344d5857c875349bc4a95d531a580c46bdd94c41b35b1e072e4d627079f85490565b6000613b2284613e52565b9050600060028483604051602001613b44929190918252602082015260400190565b60408051601f1981840301815290829052613b5e916159e1565b602060405180830381855afa158015613b7b573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190613b9e91906159fd565b90506000613baa614aa3565b90506000613bb88284614acd565b9050806001600160a01b03163b600003613c5357613bd68284614b49565b506040517f2cc0b2540000000000000000000000000000000000000000000000000000000081526001600160a01b03868116600483015260248201869052821690632cc0b25490604401600060405180830381600087803b158015613c3a57600080fd5b505af1158015613c4e573d6000803e3d6000fd5b505050505b806001600160a01b0316633ccfd60b6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015613c8e57600080fd5b505af11580156135e2573d6000803e3d6000fd5b6000611c817fb6d5e19fdd6cde5f03ed4f17c2670deffa47975541fd270b0b17e803297d76085490565b606081613cda81601f6158c5565b1015613d42576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401612e2e565b613d4c82846158c5565b84511015613db6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401612e2e565b606082158015613dd55760405191506000825260208201604052613e1f565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613e0e578051835260209283019201613df6565b5050858452601f01601f1916604052505b50949350505050565b6000611c817ffbeda9bc03875013b12a1ec161efb8e5bf7e58e3cec96a1ea9efd3e264d26e645490565b6000600282600060801b604051602001613e6d929190615a16565b60408051601f1981840301815290829052613e87916159e1565b602060405180830381855afa158015613ea4573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611d8691906159fd565b613ed043614c1a565b6040514381527f55c5aabfc91da783d60f72c41f352ac7f9d507fcd884f41e27e6852305f948ce9060200160405180910390a1565b60408051808201825260008082526020808301828152600286901c83527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f0825293822054600686901b60c0161c63ffffffff8181168552911c1690925280517fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054929350916000908190849087908110613fa257613fa261573d565b9060005260206000209060060201600201549050846020015163ffffffff16811161403157602080860151600288901c60009081527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f083526040902080549190921b67ffffffff0000000016600689901b60c01690811b67ffffffffffffffff90911b199091161790556140b6565b60208501516140469063ffffffff168261576c565b602080870151600289901c60009081527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f083526040902080549190921b67ffffffff000000001663ffffffff84161760068a901b60c01690811b67ffffffffffffffff90911b1990911617905591505b8163ffffffff168363ffffffff16146140f6576140f68263ffffffff168463ffffffff166140e2613a32565b6140ec919061576c565b613a6991906158c5565b505050505050565b60007fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054839081106141335761413361573d565b60009182526020909120600690910201600581015490915060ff1615614185576040517f1142a68c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80546001600160a01b03163314610c45576040516282b42960e81b815260040160405180910390fd5b6000611c817fb88142a0318e2b174876bceb4db9dc318011849c83fb8a8bb2997386d562324a5490565b6000611c81613a2e60017f05896f012c7ab472c495a6810b73fc6183d339203dd1c74344bbfd2e1f5038fe61576c565b6123fb7f41118591c19026bdc7a484e34f80a8e7e632600aff1c72460e9c7dfe94a2dda6829055565b60008061423d84613e52565b905060006002848360405160200161425f929190918252602082015260400190565b60408051601f1981840301815290829052614279916159e1565b602060405180830381855afa158015614296573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906142b991906159fd565b905060006142c5614aa3565b90506142d18183614acd565b9695505050505050565b6000611c817f41118591c19026bdc7a484e34f80a8e7e632600aff1c72460e9c7dfe94a2dda65490565b6000611c81613a2e60017f2ad86e81c1a15749eb0399a4f2566324ade0cc7d7f8592a3db8896a29004bf8161576c565b6123fb7fb88142a0318e2b174876bceb4db9dc318011849c83fb8a8bb2997386d562324a829055565b6000611c817f10c92bb459c0223bf996150f2fb702a8288fb8354a33d5b0212e8e6b8273f55e5490565b6000611c817fd5c553085b8382c47128ae7612257fd5dc3b4fc4d3a108925604d3c8700c025b5490565b6123fb7fd5c553085b8382c47128ae7612257fd5dc3b4fc4d3a108925604d3c8700c025b829055565b6123fb61440960017f2ad86e81c1a15749eb0399a4f2566324ade0cc7d7f8592a3db8896a29004bf8161576c565b829055565b6123fb61440960017f05896f012c7ab472c495a6810b73fc6183d339203dd1c74344bbfd2e1f5038fe61576c565b6123fb61440960017fb2e94356976bf59104fa32f6a0cf50947281732def9f18014aacae55ac60c5dd61576c565b6000611c817e595eca1f8b39945ff4c404827bfa5fd1e295ef3f7d59d120a8ce3bae4e37a05490565b6123fb7ffbeda9bc03875013b12a1ec161efb8e5bf7e58e3cec96a1ea9efd3e264d26e64829055565b6123fb7e595eca1f8b39945ff4c404827bfa5fd1e295ef3f7d59d120a8ce3bae4e37a0829055565b6123fb7fce3b5bd42ef5aae9d7b01cd806ce2a8b66f0a48f2e8b5a15f77dfbbdbbf5144f829055565b6001600160a01b0381166123fb576040517ff6b2911f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80614556614c48565b60009384526020526040909220805460ff19169215159290921790915550565b600080611d8660017fd9ed3684910fa17a5f2ad83fd15b2ccb0abf740b7041631a9fe7daffda0cb9ee61576c565b6000611c81613a2e60017f7d3541d2c0079305636180d42008f210385563932c50e421bd8654ed4a6017eb61576c565b6000613227614c48565b6123fb7f10c92bb459c0223bf996150f2fb702a8288fb8354a33d5b0212e8e6b8273f55e829055565b6123fb7faa81344d5857c875349bc4a95d531a580c46bdd94c41b35b1e072e4d627079f8829055565b6123fb7fb6d5e19fdd6cde5f03ed4f17c2670deffa47975541fd270b0b17e803297d7608829055565b6123fb7fbc8b9852d17d50256bb221fdf6ee12d78dd493d807e907f7d223c40d65abd6b9829055565b6123fb7fd1c64973da70267569571a091966834c1a36bdba47f2a112b6a95bf41fc9c24e829055565b6000611c817fce3b5bd42ef5aae9d7b01cd806ce2a8b66f0a48f2e8b5a15f77dfbbdbbf5144f5490565b6123fb7f559ad51499ae00ca2e9d9d95aab46737c8904ab7da276613fefda282b2c2ac06829055565b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b3980546000908290859081106147365761473661573d565b6000918252602080832060408051808201825285815280840186815260028b901c87527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f08552919095205460068a811b60c0169190911c63ffffffff8181168852941c90931690819052929091020192505b84826020015163ffffffff166147be91906158c5565b8110156149f75760008360030182815481106147dc576147dc61573d565b9060005260206000200180546147f190615783565b80601f016020809104026020016040519081016040528092919081815260200182805461481d90615783565b801561486a5780601f1061483f5761010080835404028352916020019161486a565b820191906000526020600020905b81548152906001019060200180831161484d57829003601f168201915b5050505050905060008460040183815481106148885761488861573d565b90600052602060002001805461489d90615783565b80601f01602080910402602001604051908101604052809291908181526020018280546148c990615783565b80156149165780601f106148eb57610100808354040283529160200191614916565b820191906000526020600020905b8154815290600101906020018083116148f957829003601f168201915b50505050509050600061492a836001614231565b9050600061493782614c76565b9050600061494485613e52565b905061495285828685614cab565b60008181527f86647fdbbdb534026d3e0f93a551cecf651c2b40fcdfef4b9fd9ed826133e26560205260409081902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001633908117909155905181907fac1020908b5f7134d59c1580838eba6fc42dd8c28bae65bf345676bba1913f8e906149df9089908990615a5d565b60405180910390a385600101955050505050506147a8565b50614a9c8585836000015163ffffffff16614a12919061576c565b86846020015163ffffffff16614a2891906158c5565b600283901c60009081527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f060209081526040909120805467ffffffffffffffff60c060069790971b9690961695861b191663ffffffff9490941667ffffffff000000009390921b929092161790921b179055565b5050505050565b6000611c817fd1c64973da70267569571a091966834c1a36bdba47f2a112b6a95bf41fc9c24e5490565b6000611d838383306040517f3d602d80600a3d3981f3363d3d373d3d3d363d730000000000000000000000008152606093841b60148201527f5af43d82803e903d91602b57fd5bf3ff000000000000000000000000000000006028820152921b6038830152604c8201526037808220606c830152605591012090565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528360601b60148201527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006028820152826037826000f59150506001600160a01b038116611d86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f455243313136373a2063726561746532206661696c65640000000000000000006044820152606401612e2e565b6123fb61440960017f7d3541d2c0079305636180d42008f210385563932c50e421bd8654ed4a6017eb61576c565b600080611d8660017f68ed1186fe6f93f91e23b08dcba07651b0153d3ab058aab96212b33aaaf3a89961576c565b6000611d867f01000000000000000000000000000000000000000000000000000000000000006001600160a01b0384166158c5565b6000600280614cbd8560006040613ccc565b604051614cca91906159e1565b602060405180830381855afa158015614ce7573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614d0a91906159fd565b6002614d22866040614d1d81606061576c565b613ccc565b604051614d359190600090602001615a8b565b60408051601f1981840301815290829052614d4f916159e1565b602060405180830381855afa158015614d6c573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614d8f91906159fd565b60408051602081019390935282015260600160408051601f1981840301815290829052614dbb916159e1565b602060405180830381855afa158015614dd8573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614dfb91906159fd565b905060006002808685604051602001614e1e929190918252602082015260400190565b60408051601f1981840301815290829052614e38916159e1565b602060405180830381855afa158015614e55573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614e7891906159fd565b604080517e40597307000000000000000000000000000000000000000000000000000000602082015290810185905260029060600160408051601f1981840301815290829052614ec7916159e1565b602060405180830381855afa158015614ee4573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614f0791906159fd565b60408051602081019390935282015260600160408051601f1981840301815290829052614f33916159e1565b602060405180830381855afa158015614f50573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614f7391906159fd565b90506000614f8a6801bc16d674ec8000004761576c565b9050614f9461505b565b6001600160a01b031663228951186801bc16d674ec8000008987604051602001614fc091815260200190565b60405160208183030381529060405289876040518663ffffffff1660e01b8152600401614ff09493929190615aad565b6000604051808303818588803b15801561500957600080fd5b505af115801561501d573d6000803e3d6000fd5b5050505050804714611c6d576040517f6596d2b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611c817fbc8b9852d17d50256bb221fdf6ee12d78dd493d807e907f7d223c40d65abd6b95490565b50805461509190615783565b6000825580601f106150a1575050565b601f0160209004906000526020600020908101906123fb9190615217565b8280546150cb90615783565b90600052602060002090601f0160209004810192826150ed576000855561513a565b82601f106150fe578054855561513a565b8280016001018555821561513a57600052602060002091601f016020900482015b8281111561513a57825482559160010191906001019061511f565b50615146929150615217565b5090565b828054828255906000526020600020908101928215615197579160200282015b8281111561519757825180516151879184916020909101906151a3565b509160200191906001019061516a565b5061514692915061522c565b8280546151af90615783565b90600052602060002090601f0160209004810192826151d1576000855561513a565b82601f106151ea57805160ff191683800117855561513a565b8280016001018555821561513a579182015b8281111561513a5782518255916020019190600101906151fc565b5b808211156151465760008155600101615218565b808211156151465760006152408282615085565b5060010161522c565b60006020828403121561525b57600080fd5b5035919050565b60008083601f84011261527457600080fd5b50813567ffffffffffffffff81111561528c57600080fd5b6020830191508360208285010111156152a457600080fd5b9250929050565b600080602083850312156152be57600080fd5b823567ffffffffffffffff8111156152d557600080fd5b6152e185828601615262565b90969095509350505050565b60008060006040848603121561530257600080fd5b83359250602084013567ffffffffffffffff8082111561532157600080fd5b818601915086601f83011261533557600080fd5b81358181111561534457600080fd5b8760208260051b850101111561535957600080fd5b6020830194508093505050509250925092565b80356001600160a01b038116811461538357600080fd5b919050565b6000806040838503121561539b57600080fd5b823591506153ab6020840161536c565b90509250929050565b600080604083850312156153c757600080fd5b50508035926020909101359150565b60005b838110156153f15781810151838201526020016153d9565b83811115611c715750506000910152565b6000815180845261541a8160208601602086016153d6565b601f01601f19169290920160200192915050565b6080815260006154416080830187615402565b82810360208401526154538187615402565b6001600160a01b03959095166040840152505090151560609091015292915050565b60006020828403121561548757600080fd5b8135801515811461549757600080fd5b9392505050565b600080604083850312156154b157600080fd5b6154ba8361536c565b91506153ab6020840161536c565b6000806000606084860312156154dd57600080fd5b833592506154ed6020850161536c565b91506154fb6040850161536c565b90509250925092565b6000806000806000806080878903121561551d57600080fd5b8635955060208701359450604087013567ffffffffffffffff8082111561554357600080fd5b61554f8a838b01615262565b9096509450606089013591508082111561556857600080fd5b5061557589828a01615262565b979a9699509497509295939492505050565b60008060006060848603121561559c57600080fd5b505081359360208301359350604090920135919050565b6000806000806000806000806000806101408b8d0312156155d357600080fd5b6155dc8b61536c565b99506155ea60208c0161536c565b98506155f860408c0161536c565b975061560660608c0161536c565b965061561460808c0161536c565b955061562260a08c0161536c565b945060c08b0135935060e08b013592506101008b013591506101208b013590509295989b9194979a5092959850565b60008060006040848603121561566657600080fd5b833567ffffffffffffffff81111561567d57600080fd5b61568986828701615262565b90945092506154fb90506020850161536c565b6000602082840312156156ae57600080fd5b611d838261536c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826156f5576156f56156b7565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082615738576157386156b7565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008282101561577e5761577e6156fa565b500390565b600181811c9082168061579757607f821691505b6020821081036157d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208083526000845481600182811c9150808316806157f857607f831692505b858310810361582e577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b87860183815260200181801561584b576001811461585c57615887565b60ff19861682528782019650615887565b60008b81526020902060005b8681101561588157815484820152908501908901615868565b83019750505b50949998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600082198211156158d8576158d86156fa565b500190565b6001600160a01b03831681526040602082015260006158ff6040830184615402565b949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561593f5761593f6156fa565b500290565b602081526000611d836020830184615402565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b604081526000615996604083018688615957565b82810360208401526159a9818587615957565b979650505050505050565b6040815260006159c8604083018587615957565b90506001600160a01b0383166020830152949350505050565b600082516159f38184602087016153d6565b9190910192915050565b600060208284031215615a0f57600080fd5b5051919050565b60008351615a288184602088016153d6565b7fffffffffffffffffffffffffffffffff00000000000000000000000000000000939093169190920190815260100192915050565b604081526000615a706040830185615402565b8281036020840152615a828185615402565b95945050505050565b60008351615a9d8184602088016153d6565b9190910191825250602001919050565b608081526000615ac06080830187615402565b8281036020840152615ad28187615402565b90508281036040840152615ae68186615402565b9150508260608301529594505050505056fea264697066735822122082f275dcc95ed77ce7470cc6de8ad96480198f43db9aa8fe8aa8314355ecbd8364736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106103015760003560e01c8063a74008011161018f578063d0e30db0116100e1578063e99454f51161008a578063f2fde38b11610064578063f2fde38b146108b1578063fe0e4191146108d1578063fe38231c146108f157610310565b8063e99454f514610851578063ef5e468214610871578063f0f442601461089157610310565b8063dfbe50dd116100bb578063dfbe50dd146107f1578063e00cb6ca14610811578063e8a0c1211461083157610310565b8063d0e30db0146107a9578063d243d69d146107b1578063d2a42747146107d157610310565b8063beee4bbf11610143578063c13d03501161011d578063c13d035014610744578063cac594df14610774578063d04681561461079457610310565b8063beee4bbf146106ef578063bf15af561461070f578063bf509bd41461072457610310565b8063b6b06dec11610174578063b6b06dec1461068f578063b747e7dd146106af578063b86bcaf7146106cf57610310565b8063a74008011461065a578063b4336b841461067a57610310565b806336bf3325116102535780637680fdf5116101fc5780638df4e474116101d65780638df4e474146105fa5780639adf91ee1461061a578063a4d8d2c41461063a57610310565b80637680fdf5146105a557806379ba5097146105c55780638a1af4c4146105da57610310565b806363b4118f1161022d57806363b4118f146105405780636d336fe0146105705780636e9960c31461059057610310565b806336bf3325146104f95780633b19e84a14610516578063540bc5ea1461052b57610310565b80631d095805116102b5578063286966081161028f57806328696608146104a4578063291206f6146104b95780632ba03a79146104d957610310565b80631d0958051461042c5780631ee133431461044c578063227e80fa1461048457610310565b80630ffab6c2116102e65780630ffab6c2146103c95780631864636c146103e95780631bcbfaba1461040957610310565b806305f63c8a146103425780630968f264146103a957610310565b366103105761030e610906565b005b6040517fae962d4e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34801561034e57600080fd5b5061036261035d366004615249565b610a62565b604080516001600160a01b039889168152979096166020880152948601939093526060850191909152608084015260a0830152151560c082015260e0015b60405180910390f35b3480156103b557600080fd5b5061030e6103c43660046152ab565b610b78565b3480156103d557600080fd5b5061030e6103e43660046152ab565b610c49565b3480156103f557600080fd5b5061030e6104043660046152ed565b610cfe565b34801561041557600080fd5b5061041e611c77565b6040519081526020016103a0565b34801561043857600080fd5b5061030e610447366004615249565b611c86565b34801561045857600080fd5b5061046c6104673660046152ab565b611d3f565b6040516001600160a01b0390911681526020016103a0565b34801561049057600080fd5b5061030e61049f366004615388565b611d8c565b3480156104b057600080fd5b5061041e611f15565b3480156104c557600080fd5b5061030e6104d4366004615249565b611f1f565b3480156104e557600080fd5b5061030e6104f43660046152ab565b611fd1565b34801561050557600080fd5b5061041e6801bc16d674ec80000081565b34801561052257600080fd5b5061046c612010565b34801561053757600080fd5b5061041e606081565b34801561054c57600080fd5b5061056061055b3660046153b4565b61201a565b6040516103a0949392919061542e565b34801561057c57600080fd5b5061030e61058b3660046153b4565b61229b565b34801561059c57600080fd5b5061046c61237b565b3480156105b157600080fd5b5061030e6105c0366004615475565b612385565b3480156105d157600080fd5b5061030e6123fe565b3480156105e657600080fd5b5061041e6105f536600461549e565b61247e565b34801561060657600080fd5b5061030e610615366004615475565b61267a565b34801561062657600080fd5b5061046c610635366004615249565b6126ed565b34801561064657600080fd5b5061030e6106553660046154c8565b6127e8565b34801561066657600080fd5b5061046c610675366004615249565b6129c4565b34801561068657600080fd5b5061041e612a00565b34801561069b57600080fd5b5061030e6106aa3660046152ab565b612a0a565b3480156106bb57600080fd5b5061030e6106ca366004615504565b612b52565b3480156106db57600080fd5b5061030e6106ea366004615249565b612f1d565b3480156106fb57600080fd5b5061030e61070a366004615587565b612f7d565b34801561071b57600080fd5b5061041e603081565b34801561073057600080fd5b5061030e61073f3660046152ab565b613190565b34801561075057600080fd5b5061076461075f366004615249565b613212565b60405190151581526020016103a0565b34801561078057600080fd5b5061076461078f366004615249565b61321d565b3480156107a057600080fd5b5061046c61323b565b61030e613245565b3480156107bd57600080fd5b5061046c6107cc3660046152ab565b61324f565b3480156107dd57600080fd5b5061030e6107ec366004615388565b613290565b3480156107fd57600080fd5b5061030e61080c3660046155b3565b61348c565b34801561081d57600080fd5b5061046c61082c3660046152ab565b6135ef565b34801561083d57600080fd5b5061030e61084c3660046152ab565b613633565b34801561085d57600080fd5b5061030e61086c366004615651565b6136f6565b34801561087d57600080fd5b5061030e61088c3660046152ab565b61385d565b34801561089d57600080fd5b5061030e6108ac36600461569c565b613912565b3480156108bd57600080fd5b5061030e6108cc36600461569c565b61398f565b3480156108dd57600080fd5b506107646108ec366004615249565b6139d0565b3480156108fd57600080fd5b506107646139f8565b61090e6139fe565b15610945576040517f753ed9db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34158061096357506109606801bc16d674ec800000346156e6565b15155b1561099a576040517f428243e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006109a4613a32565b905060006109bb6801bc16d674ec80000034615729565b9050818111156109f7576040517fae575a8800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054600003610a53576040517fddf9d24500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a5d8284613a5c565b505050565b6000808080808080807fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054909150891015610b6c576040805180820182526000808252602080830182815260028e901c83527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f082529382205460068e901b60c0161c63ffffffff8181168552911c1690925290506000826000018b81548110610b0e57610b0e61573d565b600091825260209182902060069091020180546001820154600283015460038401546005909401549487015196516001600160a01b039384169f50919092169c50909a5090985063ffffffff93841697509290921694505060ff1691505b50919395979092949650565b610bb782828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613a7992505050565b610bff82828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509250610bfa9150613aed9050565b613b17565b610c4582828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610bfa9150613ca29050565b5050565b610c546030826156e6565b15610c8b576040517f337d0f4100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a5d576000610cdc84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525086925060309150613ccc9050565b9050610ce781613a79565b610cf5816001610bfa613ca2565b50603001610c8e565b82610d07613e28565b6001600160a01b0316330361152a576000829003610d51576040517fa9cb9e0d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051808201825260008082526020808301828152600289901c83527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f082529390912054600688901b60c0161c63ffffffff8181168452911c1691829052907fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b39907fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec93902908686610e0260018261576c565b818110610e1157610e1161573d565b905060200201351015610e50576040517f34947ea100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8581101561140d57600081118015610ea557508686610e7360018461576c565b818110610e8257610e8261573d565b90506020020135878783818110610e9b57610e9b61573d565b9050602002013510155b15610edc576040517f35061dff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610fc8846000018a81548110610ef657610ef661573d565b9060005260206000209060060201600301898985818110610f1957610f1961573d565b9050602002013581548110610f3057610f3061573d565b906000526020600020018054610f4590615783565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7190615783565b8015610fbe5780601f10610f9357610100808354040283529160200191610fbe565b820191906000526020600020905b815481529060010190602001808311610fa157829003601f168201915b5050505050613e52565b600081815260208590526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000169055845490915089907f794aacb42d1ea2e7f72809b74e3ce124325a51c3715b873c36807d3ca37e4fd0908690839081106110375761103761573d565b90600052602060002090600602016003018a8a8681811061105a5761105a61573d565b90506020020135815481106110715761107161573d565b9060005260206000200160405161108891906157d6565b60405180910390a26001846000018a815481106110a7576110a761573d565b9060005260206000209060060201600301805490506110c6919061576c565b8888848181106110d8576110d861573d565b905060200201350361118f578360000189815481106110f9576110f961573d565b906000526020600020906006020160030180548061111957611119615896565b6001900381819060005260206000200160006111359190615085565b905583600001898154811061114c5761114c61573d565b906000526020600020906006020160040180548061116c5761116c615896565b6001900381819060005260206000200160006111889190615085565b9055611404565b8360000189815481106111a4576111a461573d565b90600052602060002090600602016003016001856000018b815481106111cc576111cc61573d565b9060005260206000209060060201600301805490506111eb919061576c565b815481106111fb576111fb61573d565b90600052602060002001846000018a8154811061121a5761121a61573d565b906000526020600020906006020160030189898581811061123d5761123d61573d565b90506020020135815481106112545761125461573d565b9060005260206000200190805461126a90615783565b6112759291906150bf565b5083600001898154811061128b5761128b61573d565b90600052602060002090600602016003018054806112ab576112ab615896565b6001900381819060005260206000200160006112c79190615085565b90558360000189815481106112de576112de61573d565b90600052602060002090600602016004016001856000018b815481106113065761130661573d565b906000526020600020906006020160040180549050611325919061576c565b815481106113355761133561573d565b90600052602060002001846000018a815481106113545761135461573d565b90600052602060002090600602016004018989858181106113775761137761573d565b905060200201358154811061138e5761138e61573d565b906000526020600020019080546113a490615783565b6113af9291906150bf565b508360000189815481106113c5576113c561573d565b90600052602060002090600602016004018054806113e5576113e5615896565b6001900381819060005260206000200160006114019190615085565b90555b50600101610e53565b508160000187815481106114235761142361573d565b6000918252602090912060026006909202010154868661144460018261576c565b8181106114535761145361573d565b90506020020135101561151157858561146d60018261576c565b81811061147c5761147c61573d565b905060200201358260000188815481106114985761149861573d565b60009182526020909120600260069092020101557fa4dcee8ff224c7cfd53b1f2cd1f5afd98927d079b4152d639c5e523a52bf1e038787876114db60018261576c565b8181106114ea576114ea61573d565b90506020020135604051611508929190918252602082015260400190565b60405180910390a15b611519613ec7565b61152287613f05565b505050611c71565b611533816140fe565b600082900361156e576040517fa9cb9e0d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60408051808201825260008082526020808301828152600289901c83527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f082529390912054600688901b60c0161c63ffffffff8181168452911c1691829052907fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b39907fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec9390290868661161f60018261576c565b81811061162e5761162e61573d565b90506020020135101561166d576040517f34947ea100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b85811015611b58576000811180156116c25750868661169060018461576c565b81811061169f5761169f61573d565b905060200201358787838181106116b8576116b861573d565b9050602002013510155b156116f9576040517f35061dff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611713846000018a81548110610ef657610ef661573d565b600081815260208590526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000169055845490915089907f794aacb42d1ea2e7f72809b74e3ce124325a51c3715b873c36807d3ca37e4fd0908690839081106117825761178261573d565b90600052602060002090600602016003018a8a868181106117a5576117a561573d565b90506020020135815481106117bc576117bc61573d565b906000526020600020016040516117d391906157d6565b60405180910390a26001846000018a815481106117f2576117f261573d565b906000526020600020906006020160030180549050611811919061576c565b8888848181106118235761182361573d565b90506020020135036118da578360000189815481106118445761184461573d565b906000526020600020906006020160030180548061186457611864615896565b6001900381819060005260206000200160006118809190615085565b90558360000189815481106118975761189761573d565b90600052602060002090600602016004018054806118b7576118b7615896565b6001900381819060005260206000200160006118d39190615085565b9055611b4f565b8360000189815481106118ef576118ef61573d565b90600052602060002090600602016003016001856000018b815481106119175761191761573d565b906000526020600020906006020160030180549050611936919061576c565b815481106119465761194661573d565b90600052602060002001846000018a815481106119655761196561573d565b90600052602060002090600602016003018989858181106119885761198861573d565b905060200201358154811061199f5761199f61573d565b906000526020600020019080546119b590615783565b6119c09291906150bf565b508360000189815481106119d6576119d661573d565b90600052602060002090600602016003018054806119f6576119f6615896565b600190038181906000526020600020016000611a129190615085565b9055836000018981548110611a2957611a2961573d565b90600052602060002090600602016004016001856000018b81548110611a5157611a5161573d565b906000526020600020906006020160040180549050611a70919061576c565b81548110611a8057611a8061573d565b90600052602060002001846000018a81548110611a9f57611a9f61573d565b9060005260206000209060060201600401898985818110611ac257611ac261573d565b9050602002013581548110611ad957611ad961573d565b90600052602060002001908054611aef90615783565b611afa9291906150bf565b50836000018981548110611b1057611b1061573d565b9060005260206000209060060201600401805480611b3057611b30615896565b600190038181906000526020600020016000611b4c9190615085565b90555b50600101611670565b50816000018781548110611b6e57611b6e61573d565b60009182526020909120600260069092020101548686611b8f60018261576c565b818110611b9e57611b9e61573d565b905060200201351015611c5c578585611bb860018261576c565b818110611bc757611bc761573d565b90506020020135826000018881548110611be357611be361573d565b60009182526020909120600260069092020101557fa4dcee8ff224c7cfd53b1f2cd1f5afd98927d079b4152d639c5e523a52bf1e03878787611c2660018261576c565b818110611c3557611c3561573d565b90506020020135604051611c53929190918252602082015260400190565b60405180910390a15b611c64613ec7565b611c6d87613f05565b5050505b50505050565b6000611c816141ae565b905090565b611c8e613e28565b6001600160a01b0316336001600160a01b031614611cbe576040516282b42960e81b815260040160405180910390fd5b611cc66141d8565b811115611cff576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d0881614208565b6040518181527fd894096cd1f7e89d9b748c7c2358cb699a790a05e97dcde228fe5949b4e80743906020015b60405180910390a150565b6000611d8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250614231915050565b90505b92915050565b611d94613e28565b6001600160a01b0316336001600160a01b031614611dc4576040516282b42960e81b815260040160405180910390fd5b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054600090829085908110611dfc57611dfc61573d565b600091825260209182902060069190910201600501805460ff1916921515929092179091556040518481527f8d0ba049731b0417f85546bc7503de241522c61e7464e87cceff56d3f2586dbc910160405180910390a181816000018481548110611e6857611e6861573d565b906000526020600020906006020160010160006101000a8154816001600160a01b0302191690836001600160a01b031602179055507f97568892aa9e69db7c72b9f32e6d4fe3c0e53b9728a8c0a0f1c2a7eb47c48ad383826000018581548110611ed457611ed461573d565b600091825260209182902060069091020154604080519384526001600160a01b039182169284019290925285169082015260600160405180910390a1505050565b6000611c816142db565b611f27613e28565b6001600160a01b0316336001600160a01b031614611f57576040516282b42960e81b815260040160405180910390fd5b611f5f614305565b811115611f98576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fa181614335565b6040518181527fecd6fc650620aa722cafc3c3e871fa813947eae6f856982d7510a8ff101a507890602001611d34565b610bff82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613a7992505050565b6000611c8161435e565b606080600080807fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b3990508060000187815481106120595761205961573d565b9060005260206000209060060201600301868154811061207b5761207b61573d565b90600052602060002001805461209090615783565b80601f01602080910402602001604051908101604052809291908181526020018280546120bc90615783565b80156121095780601f106120de57610100808354040283529160200191612109565b820191906000526020600020905b8154815290600101906020018083116120ec57829003601f168201915b505050505094508060000187815481106121255761212561573d565b906000526020600020906006020160040186815481106121475761214761573d565b90600052602060002001805461215c90615783565b80601f016020809104026020016040519081016040528092919081815260200182805461218890615783565b80156121d55780601f106121aa576101008083540402835291602001916121d5565b820191906000526020600020905b8154815290600101906020018083116121b857829003601f168201915b505050505093506122226121e886613e52565b60009081527f86647fdbbdb534026d3e0f93a551cecf651c2b40fcdfef4b9fd9ed826133e26560205260409020546001600160a01b031690565b6040805180820182526000808252602080830182815260028d901c83527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f08252939091205460068c901b60c0161c63ffffffff8181168452911c169091529093506020015163ffffffff16861091505092959194509250565b60026122a5614388565b6122b09060016158c5565b81146122e8576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122f1816143b2565b61271083111561232d576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612336836143db565b612710821115612372576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a5d8261440e565b6000611c81613e28565b61238d613e28565b6001600160a01b0316336001600160a01b0316146123bd576040516282b42960e81b815260040160405180910390fd5b60405181151581527f8caf502b0bfa5915a541f14f8b0d091d4837c201b74aa2a7a7f52487a5fe8a819060200160405180910390a16123fb8161443c565b50565b600061240861446a565b9050336001600160a01b03821614612432576040516282b42960e81b815260040160405180910390fd5b61243b81614493565b61244560006144bc565b6040516001600160a01b03821681527ff29c1089a9594c030706593e345bd8f70a26125bfb7bf4c54e757e20f456fd1c90602001611d34565b6000612488613e28565b6001600160a01b0316336001600160a01b0316146124b8576040516282b42960e81b815260040160405180910390fd5b6040805160c0810182526000808252602082018190529181018290526060808201819052608082015260a08101919091527fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054909190600103612548576040517fa20c741300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03808616825284811660208084019182528454600181810187556000878152839020865160069093020180549286167fffffffffffffffffffffffff00000000000000000000000000000000000000009384161781559351908401805491909516911617909255604083015160028201556060830151805184936125da92600385019291019061514a565b50608082015180516125f691600484019160209091019061514a565b5060a091909101516005909101805460ff191691151591909117905581546000906126239060019061576c565b604080516001600160a01b03808a168252881660208201529081018290529091507f2b3c4db2c0f4f51da09c2510a63e1d90235e486e8f075a609103a5c7a07422179060600160405180910390a195945050505050565b612682613e28565b6001600160a01b0316336001600160a01b0316146126b2576040516282b42960e81b815260040160405180910390fd5b6126bb816144e4565b60405181151581527f96639403db35a7ef32b25543bec54f73278d8c5ca82883ef1385ddcb27afa7dc90602001611d34565b60008181527fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec93902602052604081205460ff1615158103612758576040517f9e44bfc500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281527fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec9390260205260409020547fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b3980549091610100900463ffffffff169081106127c5576127c561573d565b60009182526020909120600160069092020101546001600160a01b031692915050565b8260007fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b3980548390811061281e5761281e61573d565b60009182526020909120600690910201600581015490915060ff1615612870576040517f1142a68c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018101546001600160a01b0316331461289c576040516282b42960e81b815260040160405180910390fd5b6128a58461450d565b6128ae8361450d565b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b39805485908290889081106128e5576128e561573d565b906000526020600020906006020160000160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550838160000187815481106129305761293061573d565b60009182526020918290206006919091020160010180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0393841617905560408051898152888416928101929092529186168183015290517f97568892aa9e69db7c72b9f32e6d4fe3c0e53b9728a8c0a0f1c2a7eb47c48ad3916060908290030190a1505050505050565b60008181527f86647fdbbdb534026d3e0f93a551cecf651c2b40fcdfef4b9fd9ed826133e26560205260408120546001600160a01b0316611d86565b6000611c81613a32565b612a156030826156e6565b15612a4c576040517f337d0f4100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a5d576000612a9d84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525086925060309150613ccc9050565b90506000612aaa82613e52565b60008181527f86647fdbbdb534026d3e0f93a551cecf651c2b40fcdfef4b9fd9ed826133e26560205260409020549091506001600160a01b0316338114612b03576040516282b42960e81b815260040160405180910390fd5b612b0e82600161454d565b7fcb773ebd49049a1f68200f0814f547dec2c54293ff2c6a6a4f4d98d6d9cb12298184604051612b3f9291906158dd565b60405180910390a1505050603001612a4f565b85612b5c816140fe565b85600003612b96576040517fa9cb9e0d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ba16030856156e6565b151580612bb8575085612bb5603086615729565b14155b15612bef576040517f337d0f4100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612bfa6060836156e6565b151580612c11575085612c0e606084615729565b14155b15612c48576040517f274cf40100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b397fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec9390260005b88811015612ec2576000612ce589898080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612cde925060309150869050615907565b6030613ccc565b90506000612d3788888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612d30925060609150879050615907565b6060613ccc565b9050846000018c81548110612d4e57612d4e61573d565b600091825260208083206003600690930201919091018054600181018255908352918190208451612d869391909101918501906151a3565b50846000018c81548110612d9c57612d9c61573d565b600091825260208083206004600690930201919091018054600181018255908352918190208351612dd49391909101918401906151a3565b506000612de083613e52565b60008181526020879052604090205490915060ff1615612e3757826040517f5a303adb000000000000000000000000000000000000000000000000000000008152600401612e2e9190615944565b60405180910390fd5b60405180604001604052806001151581526020018e63ffffffff1681525085600001600083815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548163ffffffff021916908363ffffffff160217905550905050836001019350505050612c8d565b50887fb82c87b84f76f39d5f61ed59b411352603805dda6080a2c44b4a86eab141ff1b88888888604051612ef99493929190615982565b60405180910390a2612f09613ec7565b612f1289613f05565b505050505050505050565b612f25613ca2565b6001600160a01b0316336001600160a01b031614612f55576040516282b42960e81b815260040160405180910390fd5b6001612f5f614576565b60009283526020526040909120805460ff1916911515919091179055565b612f85613e28565b6001600160a01b0316336001600160a01b031614612fb5576040516282b42960e81b815260040160405180910390fd5b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054819085908110612fea57612fea61573d565b600091825260209091206005600690920201015460ff1615613038576040517f1142a68c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081600001858154811061304f5761304f61573d565b9060005260206000209060060201600301805490509050838110156130aa576040517f62106cb30000000000000000000000000000000000000000000000000000000081526004810185905260248101829052604401612e2e565b838260000186815481106130c0576130c061573d565b9060005260206000209060060201600201541080156130e55750826130e36145a4565b115b1561311c576040517f474c62e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b838260000186815481106131325761313261573d565b90600052602060002090600602016002018190555061315085613f05565b60408051868152602081018690527fa4dcee8ff224c7cfd53b1f2cd1f5afd98927d079b4152d639c5e523a52bf1e03910160405180910390a15050505050565b6131cf82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613a7992505050565b610c4582828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509250610bfa9150613aed9050565b6000611d86826145d4565b6000613227614576565b600092835260205250604090205460ff1690565b6000611c8161446a565b61324d610906565b565b6000611d8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509250614231915050565b613298613e28565b6001600160a01b0316336001600160a01b0316146132c8576040516282b42960e81b815260040160405180910390fd5b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b3980546000908290859081106133005761330061573d565b9060005260206000209060060201600201819055507fa4dcee8ff224c7cfd53b1f2cd1f5afd98927d079b4152d639c5e523a52bf1e03836000604051613350929190918252602082015260400190565b60405180910390a1600181600001848154811061336f5761336f61573d565b600091825260209182902060069190910201600501805460ff1916921515929092179091556040518481527f4c644bb0e171ba9e5cf08f5d66836528c3947c3512b34dd8e27da30e803527b3910160405180910390a1818160000184815481106133db576133db61573d565b906000526020600020906006020160010160006101000a8154816001600160a01b0302191690836001600160a01b031602179055507f97568892aa9e69db7c72b9f32e6d4fe3c0e53b9728a8c0a0f1c2a7eb47c48ad3838260000185815481106134475761344761573d565b600091825260209182902060069091020154604080519384526001600160a01b039182169284019290925285169082015260600160405180910390a1610a5d83613f05565b6001613496614388565b6134a19060016158c5565b81146134d9576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6134e2816143b2565b6134eb8b61450d565b6134f48b614493565b6134fd8a61450d565b6135068a6145de565b612710851115613542576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61354b85614335565b612710841115613587576040517f58d620b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61359084614208565b6135998861450d565b6135a288614607565b6135ab8761450d565b6135b487614630565b6135bd8961450d565b6135c689614659565b6135cf8661450d565b6135d886614682565b6135e2838361229b565b5050505050505050505050565b6000611d836121e884848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613e5292505050565b61363e6030826156e6565b15613675576040517f337d0f4100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a5d5760006136c684848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525086925060309150613ccc9050565b90506136d181613a79565b6136df816000610bfa613aed565b6136ed816001610bfa613ca2565b50603001613678565b6136fe6146ab565b613734576040517fee90c46800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61373d8161450d565b600061377e84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613e5292505050565b905060007f86647fdbbdb534026d3e0f93a551cecf651c2b40fcdfef4b9fd9ed826133e2656000838152602082905260409020549091506001600160a01b031633146137dc576040516282b42960e81b815260040160405180910390fd5b7f833a0d0704fbdc6a0f748ebec819c31dde0b532ca9e3e29f56a5c4e8f3cbc0c985858560405161380f939291906159b4565b60405180910390a160009182526020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03929092169190911790555050565b6138686030826156e6565b1561389f576040517f337d0f4100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015610a5d5760006138f084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525086925060309150613ccc9050565b90506138fb81613a79565b613909816000610bfa613aed565b506030016138a2565b61391a613e28565b6001600160a01b0316336001600160a01b03161461394a576040516282b42960e81b815260040160405180910390fd5b6040516001600160a01b03821681527f63cc689e9d3377465b51fb094ea4ca5e0a1436b21f1ad30d707c696111c665009060200160405180910390a16123fb816145de565b613997613e28565b6001600160a01b0316336001600160a01b0316146139c7576040516282b42960e81b815260040160405180910390fd5b6123fb816144bc565b60007fc58a51931c529c2a8796a8fad2ae789ee504643b4b567f2c0c97e809cec93902613227565b6000611c815b6000611c81613a2e60017fb2e94356976bf59104fa32f6a0cf50947281732def9f18014aacae55ac60c5dd61576c565b5490565b6000611c817f559ad51499ae00ca2e9d9d95aab46737c8904ab7da276613fefda282b2c2ac065490565b613a6e613a69838361576c565b6146d5565b610c456000836146fe565b613a856121e882613e52565b6001600160a01b0316336001600160a01b031614158015613ab6575033613aaa613e28565b6001600160a01b031614155b156123fb576040517fca455fa500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611c817faa81344d5857c875349bc4a95d531a580c46bdd94c41b35b1e072e4d627079f85490565b6000613b2284613e52565b9050600060028483604051602001613b44929190918252602082015260400190565b60408051601f1981840301815290829052613b5e916159e1565b602060405180830381855afa158015613b7b573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190613b9e91906159fd565b90506000613baa614aa3565b90506000613bb88284614acd565b9050806001600160a01b03163b600003613c5357613bd68284614b49565b506040517f2cc0b2540000000000000000000000000000000000000000000000000000000081526001600160a01b03868116600483015260248201869052821690632cc0b25490604401600060405180830381600087803b158015613c3a57600080fd5b505af1158015613c4e573d6000803e3d6000fd5b505050505b806001600160a01b0316633ccfd60b6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015613c8e57600080fd5b505af11580156135e2573d6000803e3d6000fd5b6000611c817fb6d5e19fdd6cde5f03ed4f17c2670deffa47975541fd270b0b17e803297d76085490565b606081613cda81601f6158c5565b1015613d42576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152606401612e2e565b613d4c82846158c5565b84511015613db6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152606401612e2e565b606082158015613dd55760405191506000825260208201604052613e1f565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613e0e578051835260209283019201613df6565b5050858452601f01601f1916604052505b50949350505050565b6000611c817ffbeda9bc03875013b12a1ec161efb8e5bf7e58e3cec96a1ea9efd3e264d26e645490565b6000600282600060801b604051602001613e6d929190615a16565b60408051601f1981840301815290829052613e87916159e1565b602060405180830381855afa158015613ea4573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611d8691906159fd565b613ed043614c1a565b6040514381527f55c5aabfc91da783d60f72c41f352ac7f9d507fcd884f41e27e6852305f948ce9060200160405180910390a1565b60408051808201825260008082526020808301828152600286901c83527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f0825293822054600686901b60c0161c63ffffffff8181168552911c1690925280517fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054929350916000908190849087908110613fa257613fa261573d565b9060005260206000209060060201600201549050846020015163ffffffff16811161403157602080860151600288901c60009081527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f083526040902080549190921b67ffffffff0000000016600689901b60c01690811b67ffffffffffffffff90911b199091161790556140b6565b60208501516140469063ffffffff168261576c565b602080870151600289901c60009081527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f083526040902080549190921b67ffffffff000000001663ffffffff84161760068a901b60c01690811b67ffffffffffffffff90911b1990911617905591505b8163ffffffff168363ffffffff16146140f6576140f68263ffffffff168463ffffffff166140e2613a32565b6140ec919061576c565b613a6991906158c5565b505050505050565b60007fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b398054839081106141335761413361573d565b60009182526020909120600690910201600581015490915060ff1615614185576040517f1142a68c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80546001600160a01b03163314610c45576040516282b42960e81b815260040160405180910390fd5b6000611c817fb88142a0318e2b174876bceb4db9dc318011849c83fb8a8bb2997386d562324a5490565b6000611c81613a2e60017f05896f012c7ab472c495a6810b73fc6183d339203dd1c74344bbfd2e1f5038fe61576c565b6123fb7f41118591c19026bdc7a484e34f80a8e7e632600aff1c72460e9c7dfe94a2dda6829055565b60008061423d84613e52565b905060006002848360405160200161425f929190918252602082015260400190565b60408051601f1981840301815290829052614279916159e1565b602060405180830381855afa158015614296573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906142b991906159fd565b905060006142c5614aa3565b90506142d18183614acd565b9695505050505050565b6000611c817f41118591c19026bdc7a484e34f80a8e7e632600aff1c72460e9c7dfe94a2dda65490565b6000611c81613a2e60017f2ad86e81c1a15749eb0399a4f2566324ade0cc7d7f8592a3db8896a29004bf8161576c565b6123fb7fb88142a0318e2b174876bceb4db9dc318011849c83fb8a8bb2997386d562324a829055565b6000611c817f10c92bb459c0223bf996150f2fb702a8288fb8354a33d5b0212e8e6b8273f55e5490565b6000611c817fd5c553085b8382c47128ae7612257fd5dc3b4fc4d3a108925604d3c8700c025b5490565b6123fb7fd5c553085b8382c47128ae7612257fd5dc3b4fc4d3a108925604d3c8700c025b829055565b6123fb61440960017f2ad86e81c1a15749eb0399a4f2566324ade0cc7d7f8592a3db8896a29004bf8161576c565b829055565b6123fb61440960017f05896f012c7ab472c495a6810b73fc6183d339203dd1c74344bbfd2e1f5038fe61576c565b6123fb61440960017fb2e94356976bf59104fa32f6a0cf50947281732def9f18014aacae55ac60c5dd61576c565b6000611c817e595eca1f8b39945ff4c404827bfa5fd1e295ef3f7d59d120a8ce3bae4e37a05490565b6123fb7ffbeda9bc03875013b12a1ec161efb8e5bf7e58e3cec96a1ea9efd3e264d26e64829055565b6123fb7e595eca1f8b39945ff4c404827bfa5fd1e295ef3f7d59d120a8ce3bae4e37a0829055565b6123fb7fce3b5bd42ef5aae9d7b01cd806ce2a8b66f0a48f2e8b5a15f77dfbbdbbf5144f829055565b6001600160a01b0381166123fb576040517ff6b2911f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80614556614c48565b60009384526020526040909220805460ff19169215159290921790915550565b600080611d8660017fd9ed3684910fa17a5f2ad83fd15b2ccb0abf740b7041631a9fe7daffda0cb9ee61576c565b6000611c81613a2e60017f7d3541d2c0079305636180d42008f210385563932c50e421bd8654ed4a6017eb61576c565b6000613227614c48565b6123fb7f10c92bb459c0223bf996150f2fb702a8288fb8354a33d5b0212e8e6b8273f55e829055565b6123fb7faa81344d5857c875349bc4a95d531a580c46bdd94c41b35b1e072e4d627079f8829055565b6123fb7fb6d5e19fdd6cde5f03ed4f17c2670deffa47975541fd270b0b17e803297d7608829055565b6123fb7fbc8b9852d17d50256bb221fdf6ee12d78dd493d807e907f7d223c40d65abd6b9829055565b6123fb7fd1c64973da70267569571a091966834c1a36bdba47f2a112b6a95bf41fc9c24e829055565b6000611c817fce3b5bd42ef5aae9d7b01cd806ce2a8b66f0a48f2e8b5a15f77dfbbdbbf5144f5490565b6123fb7f559ad51499ae00ca2e9d9d95aab46737c8904ab7da276613fefda282b2c2ac06829055565b7fd2a2f1f08ad325daf72af0169949ae210065d6916750ff03abd83510331b7b3980546000908290859081106147365761473661573d565b6000918252602080832060408051808201825285815280840186815260028b901c87527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f08552919095205460068a811b60c0169190911c63ffffffff8181168852941c90931690819052929091020192505b84826020015163ffffffff166147be91906158c5565b8110156149f75760008360030182815481106147dc576147dc61573d565b9060005260206000200180546147f190615783565b80601f016020809104026020016040519081016040528092919081815260200182805461481d90615783565b801561486a5780601f1061483f5761010080835404028352916020019161486a565b820191906000526020600020905b81548152906001019060200180831161484d57829003601f168201915b5050505050905060008460040183815481106148885761488861573d565b90600052602060002001805461489d90615783565b80601f01602080910402602001604051908101604052809291908181526020018280546148c990615783565b80156149165780601f106148eb57610100808354040283529160200191614916565b820191906000526020600020905b8154815290600101906020018083116148f957829003601f168201915b50505050509050600061492a836001614231565b9050600061493782614c76565b9050600061494485613e52565b905061495285828685614cab565b60008181527f86647fdbbdb534026d3e0f93a551cecf651c2b40fcdfef4b9fd9ed826133e26560205260409081902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001633908117909155905181907fac1020908b5f7134d59c1580838eba6fc42dd8c28bae65bf345676bba1913f8e906149df9089908990615a5d565b60405180910390a385600101955050505050506147a8565b50614a9c8585836000015163ffffffff16614a12919061576c565b86846020015163ffffffff16614a2891906158c5565b600283901c60009081527f37e2c371bbf1c7a1326d52e30855e9c8b6cac15eda4475320e427b948813a9f060209081526040909120805467ffffffffffffffff60c060069790971b9690961695861b191663ffffffff9490941667ffffffff000000009390921b929092161790921b179055565b5050505050565b6000611c817fd1c64973da70267569571a091966834c1a36bdba47f2a112b6a95bf41fc9c24e5490565b6000611d838383306040517f3d602d80600a3d3981f3363d3d373d3d3d363d730000000000000000000000008152606093841b60148201527f5af43d82803e903d91602b57fd5bf3ff000000000000000000000000000000006028820152921b6038830152604c8201526037808220606c830152605591012090565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528360601b60148201527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006028820152826037826000f59150506001600160a01b038116611d86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f455243313136373a2063726561746532206661696c65640000000000000000006044820152606401612e2e565b6123fb61440960017f7d3541d2c0079305636180d42008f210385563932c50e421bd8654ed4a6017eb61576c565b600080611d8660017f68ed1186fe6f93f91e23b08dcba07651b0153d3ab058aab96212b33aaaf3a89961576c565b6000611d867f01000000000000000000000000000000000000000000000000000000000000006001600160a01b0384166158c5565b6000600280614cbd8560006040613ccc565b604051614cca91906159e1565b602060405180830381855afa158015614ce7573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614d0a91906159fd565b6002614d22866040614d1d81606061576c565b613ccc565b604051614d359190600090602001615a8b565b60408051601f1981840301815290829052614d4f916159e1565b602060405180830381855afa158015614d6c573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614d8f91906159fd565b60408051602081019390935282015260600160408051601f1981840301815290829052614dbb916159e1565b602060405180830381855afa158015614dd8573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614dfb91906159fd565b905060006002808685604051602001614e1e929190918252602082015260400190565b60408051601f1981840301815290829052614e38916159e1565b602060405180830381855afa158015614e55573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614e7891906159fd565b604080517e40597307000000000000000000000000000000000000000000000000000000602082015290810185905260029060600160408051601f1981840301815290829052614ec7916159e1565b602060405180830381855afa158015614ee4573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614f0791906159fd565b60408051602081019390935282015260600160408051601f1981840301815290829052614f33916159e1565b602060405180830381855afa158015614f50573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190614f7391906159fd565b90506000614f8a6801bc16d674ec8000004761576c565b9050614f9461505b565b6001600160a01b031663228951186801bc16d674ec8000008987604051602001614fc091815260200190565b60405160208183030381529060405289876040518663ffffffff1660e01b8152600401614ff09493929190615aad565b6000604051808303818588803b15801561500957600080fd5b505af115801561501d573d6000803e3d6000fd5b5050505050804714611c6d576040517f6596d2b700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611c817fbc8b9852d17d50256bb221fdf6ee12d78dd493d807e907f7d223c40d65abd6b95490565b50805461509190615783565b6000825580601f106150a1575050565b601f0160209004906000526020600020908101906123fb9190615217565b8280546150cb90615783565b90600052602060002090601f0160209004810192826150ed576000855561513a565b82601f106150fe578054855561513a565b8280016001018555821561513a57600052602060002091601f016020900482015b8281111561513a57825482559160010191906001019061511f565b50615146929150615217565b5090565b828054828255906000526020600020908101928215615197579160200282015b8281111561519757825180516151879184916020909101906151a3565b509160200191906001019061516a565b5061514692915061522c565b8280546151af90615783565b90600052602060002090601f0160209004810192826151d1576000855561513a565b82601f106151ea57805160ff191683800117855561513a565b8280016001018555821561513a579182015b8281111561513a5782518255916020019190600101906151fc565b5b808211156151465760008155600101615218565b808211156151465760006152408282615085565b5060010161522c565b60006020828403121561525b57600080fd5b5035919050565b60008083601f84011261527457600080fd5b50813567ffffffffffffffff81111561528c57600080fd5b6020830191508360208285010111156152a457600080fd5b9250929050565b600080602083850312156152be57600080fd5b823567ffffffffffffffff8111156152d557600080fd5b6152e185828601615262565b90969095509350505050565b60008060006040848603121561530257600080fd5b83359250602084013567ffffffffffffffff8082111561532157600080fd5b818601915086601f83011261533557600080fd5b81358181111561534457600080fd5b8760208260051b850101111561535957600080fd5b6020830194508093505050509250925092565b80356001600160a01b038116811461538357600080fd5b919050565b6000806040838503121561539b57600080fd5b823591506153ab6020840161536c565b90509250929050565b600080604083850312156153c757600080fd5b50508035926020909101359150565b60005b838110156153f15781810151838201526020016153d9565b83811115611c715750506000910152565b6000815180845261541a8160208601602086016153d6565b601f01601f19169290920160200192915050565b6080815260006154416080830187615402565b82810360208401526154538187615402565b6001600160a01b03959095166040840152505090151560609091015292915050565b60006020828403121561548757600080fd5b8135801515811461549757600080fd5b9392505050565b600080604083850312156154b157600080fd5b6154ba8361536c565b91506153ab6020840161536c565b6000806000606084860312156154dd57600080fd5b833592506154ed6020850161536c565b91506154fb6040850161536c565b90509250925092565b6000806000806000806080878903121561551d57600080fd5b8635955060208701359450604087013567ffffffffffffffff8082111561554357600080fd5b61554f8a838b01615262565b9096509450606089013591508082111561556857600080fd5b5061557589828a01615262565b979a9699509497509295939492505050565b60008060006060848603121561559c57600080fd5b505081359360208301359350604090920135919050565b6000806000806000806000806000806101408b8d0312156155d357600080fd5b6155dc8b61536c565b99506155ea60208c0161536c565b98506155f860408c0161536c565b975061560660608c0161536c565b965061561460808c0161536c565b955061562260a08c0161536c565b945060c08b0135935060e08b013592506101008b013591506101208b013590509295989b9194979a5092959850565b60008060006040848603121561566657600080fd5b833567ffffffffffffffff81111561567d57600080fd5b61568986828701615262565b90945092506154fb90506020850161536c565b6000602082840312156156ae57600080fd5b611d838261536c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826156f5576156f56156b7565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082615738576157386156b7565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008282101561577e5761577e6156fa565b500390565b600181811c9082168061579757607f821691505b6020821081036157d0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208083526000845481600182811c9150808316806157f857607f831692505b858310810361582e577f4e487b710000000000000000000000000000000000000000000000000000000085526022600452602485fd5b87860183815260200181801561584b576001811461585c57615887565b60ff19861682528782019650615887565b60008b81526020902060005b8681101561588157815484820152908501908901615868565b83019750505b50949998505050505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600082198211156158d8576158d86156fa565b500190565b6001600160a01b03831681526040602082015260006158ff6040830184615402565b949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561593f5761593f6156fa565b500290565b602081526000611d836020830184615402565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b604081526000615996604083018688615957565b82810360208401526159a9818587615957565b979650505050505050565b6040815260006159c8604083018587615957565b90506001600160a01b0383166020830152949350505050565b600082516159f38184602087016153d6565b9190910192915050565b600060208284031215615a0f57600080fd5b5051919050565b60008351615a288184602088016153d6565b7fffffffffffffffffffffffffffffffff00000000000000000000000000000000939093169190920190815260100192915050565b604081526000615a706040830185615402565b8281036020840152615a828185615402565b95945050505050565b60008351615a9d8184602088016153d6565b9190910191825250602001919050565b608081526000615ac06080830187615402565b8281036020840152615ad28187615402565b90508281036040840152615ae68186615402565b9150508260608301529594505050505056fea264697066735822122082f275dcc95ed77ce7470cc6de8ad96480198f43db9aa8fe8aa8314355ecbd8364736f6c634300080d0033
Deployed Bytecode Sourcemap
440:41925:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5267:10;:8;:10::i;:::-;440:41925;;5416:13;;;;;;;;;;;;;;12476:1156;;;;;;;;;;-1:-1:-1;12476:1156:13;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;587:15:22;;;569:34;;639:15;;;;634:2;619:18;;612:43;671:18;;;664:34;;;;729:2;714:18;;707:34;;;;772:3;757:19;;750:35;816:3;801:19;;794:35;873:14;866:22;860:3;845:19;;838:51;495:3;480:19;12476:1156:13;;;;;;;;31412:333;;;;;;;;;;-1:-1:-1;31412:333:13;;;;;:::i;:::-;;:::i;28821:577::-;;;;;;;;;;-1:-1:-1;28821:577:13;;;;;:::i;:::-;;:::i;25135:2581::-;;;;;;;;;;-1:-1:-1;25135:2581:13;;;;;:::i;:::-;;:::i;8376:120::-;;;;;;;;;;;;;:::i;:::-;;;2500:25:22;;;2488:2;2473:18;8376:120:13;2354:177:22;21723:311:13;;;;;;;;;;-1:-1:-1;21723:311:13;;;;;:::i;:::-;;:::i;9168:176::-;;;;;;;;;;-1:-1:-1;9168:176:13;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2700:55:22;;;2682:74;;2670:2;2655:18;9168:176:13;2536:226:22;21121:509:13;;;;;;;;;;-1:-1:-1;21121:509:13;;;;;:::i;:::-;;:::i;8544:124::-;;;;;;;;;;;;;:::i;22123:295::-;;;;;;;;;;-1:-1:-1;22123:295:13;;;;;:::i;:::-;;:::i;30961:224::-;;;;;;;;;;-1:-1:-1;30961:224:13;;;;;:::i;:::-;;:::i;750:47::-;;;;;;;;;;;;789:8;750:47;;8212:118;;;;;;;;;;;;;:::i;647:45::-;;;;;;;;;;;;690:2;647:45;;13812:714;;;;;;;;;;-1:-1:-1;13812:714:13;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;6850:488::-;;;;;;;;;;-1:-1:-1;6850:488:13;;;;;:::i;:::-;;:::i;7755:112::-;;;;;;;;;;;;;:::i;32541:164::-;;;;;;;;;;-1:-1:-1;32541:164:13;;;;;:::i;:::-;;:::i;15138:353::-;;;;;;;;;;;;;:::i;15977:729::-;;;;;;;;;;-1:-1:-1;15977:729:13;;;;;:::i;:::-;;:::i;7491:220::-;;;;;;;;;;-1:-1:-1;7491:220:13;;;;;:::i;:::-;;:::i;9453:483::-;;;;;;;;;;-1:-1:-1;9453:483:13;;;;;:::i;:::-;;:::i;17070:641::-;;;;;;;;;;-1:-1:-1;17070:641:13;;;;;:::i;:::-;;:::i;10460:150::-;;;;;;;;;;-1:-1:-1;10460:150:13;;;;;:::i;:::-;;:::i;14616:149::-;;;;;;;;;;;;;:::i;31751:734::-;;;;;;;;;;-1:-1:-1;31751:734:13;;;;;:::i;:::-;;:::i;22738:1946::-;;;;;;;;;;-1:-1:-1;22738:1946:13;;;;;:::i;:::-;;:::i;11882:282::-;;;;;;;;;;-1:-1:-1;11882:282:13;;;;;:::i;:::-;;:::i;19051:937::-;;;;;;;;;;-1:-1:-1;19051:937:13;;;;;:::i;:::-;;:::i;698:46::-;;;;;;;;;;;;742:2;698:46;;30521:224;;;;;;;;;;-1:-1:-1;30521:224:13;;;;;:::i;:::-;;:::i;10817:142::-;;;;;;;;;;-1:-1:-1;10817:142:13;;;;;:::i;:::-;;:::i;:::-;;;7209:14:22;;7202:22;7184:41;;7172:2;7157:18;10817:142:13;7044:187:22;11184:181:13;;;;;;;;;;-1:-1:-1;11184:181:13;;;;;:::i;:::-;;:::i;15582:126::-;;;;;;;;;;;;;:::i;5007:63::-;;;:::i;8830:176::-;;;;;;;;;;-1:-1:-1;8830:176:13;;;;;:::i;:::-;;:::i;20240:691::-;;;;;;;;;;-1:-1:-1;20240:691:13;;;;;:::i;:::-;;:::i;5442:1402::-;;;;;;;;;;-1:-1:-1;5442:1402:13;;;;;:::i;:::-;;:::i;10118:148::-;;;;;;;;;;-1:-1:-1;10118:148:13;;;;;:::i;:::-;;:::i;29616:689::-;;;;;;;;;;-1:-1:-1;29616:689:13;;;;;:::i;:::-;;:::i;17934:645::-;;;;;;;;;;-1:-1:-1;17934:645:13;;;;;:::i;:::-;;:::i;27980:577::-;;;;;;;;;;-1:-1:-1;27980:577:13;;;;;:::i;:::-;;:::i;7991:174::-;;;;;;;;;;-1:-1:-1;7991:174:13;;;;;:::i;:::-;;:::i;14888:134::-;;;;;;;;;;-1:-1:-1;14888:134:13;;;;;:::i;:::-;;:::i;11523:200::-;;;;;;;;;;-1:-1:-1;11523:200:13;;;;;:::i;:::-;;:::i;12255:128::-;;;;;;;;;;;;;:::i;39569:792::-;39612:45;:43;:45::i;:::-;39608:100;;;39680:17;;;;;;;;;;;;;;39608:100;39721:9;:14;;:47;;-1:-1:-1;39739:24:13;789:8;39739:9;:24;:::i;:::-;:29;;39721:47;39717:106;;;39791:21;;;;;;;;;;;;;;39717:106;39832:32;39867:55;:53;:55::i;:::-;39832:90;-1:-1:-1;39932:20:13;39955:24;789:8;39955:9;:24;:::i;:::-;39932:47;;40008:24;39993:12;:39;39989:98;;;40055:21;;;;;;;;;;;;;;39989:98;3338:38:21;40210:22:13;;40096:57;40210:27;40206:78;;40260:13;;;;;;;;;;;;;;40206:78;40293:61;40315:12;40329:24;40293:21;:61::i;:::-;39598:763;;;39569:792::o;12476:1156::-;12581:23;;;;;;;;3338:38:21;12943:22:13;;12812:100;;-1:-1:-1;12926:39:13;;12922:704;;;-1:-1:-1;;;;;;;;12981:68:13;-1:-1:-1;;;;;;;;;;4879:1:21;4869:11;;;4997:18;;4343:50;4997:18;;;;;;4942:1;4926:17;;;;;4997:32;5039:33;;;;;;5102:22;;5082:43;;;;12981:154:13;;13149:56;13208:9;:15;;13224:14;13208:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;13339:18;;;13375:22;;;13415:15;;;;13448:20;;;:27;13493:21;;;;;13565:20;;;;13587:27;;-1:-1:-1;;;;;13339:18:13;;;;-1:-1:-1;13375:22:13;;;;;-1:-1:-1;13415:15:13;;-1:-1:-1;13448:27:13;;-1:-1:-1;13542:73:13;;;;;-1:-1:-1;13542:73:13;;;;;-1:-1:-1;;13493:21:13;;;-1:-1:-1;12922:704:13;12802:830;12476:1156;;;;;;;;;:::o;31412:333::-;31476:34;31499:10;;31476:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31476:22:13;;-1:-1:-1;;;31476:34:13:i;:::-;31520:104;31539:10;;31520:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31520:104:13;-1:-1:-1;31580:43:13;;-1:-1:-1;31580:41:13;;-1:-1:-1;31580:43:13:i;:::-;31520:18;:104::i;:::-;31634;31653:10;;31634:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;640:1:13;;-1:-1:-1;31694:43:13;;-1:-1:-1;31694:41:13;;-1:-1:-1;31694:43:13:i;31634:104::-;31412:333;;:::o;28821:577::-;28900:38;742:2;28900:11;:38;:::i;:::-;:43;28896:100;;28966:19;;;;;;;;;;;;;;28896:100;29010:9;29005:387;29025:22;;;29005:387;;;29065:22;29090:49;29105:11;;29090:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29118:1:13;;-1:-1:-1;742:2:13;;-1:-1:-1;29090:14:13;;-1:-1:-1;29090:49:13:i;:::-;29065:74;;29153:33;29176:9;29153:22;:33::i;:::-;29200:103;29219:9;640:1;29259:43;:41;:43::i;29200:103::-;-1:-1:-1;742:2:13;29345:22;29005:387;;25135:2581;25265:14;4069:36;:34;:36::i;:::-;-1:-1:-1;;;;;4055:50:13;:10;:50;4051:163;;25318:1:::1;25299:20:::0;;;25295:75:::1;;25342:17;;;;;;;;;;;;;;25295:75;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;4879:1:21;4869:11;;;4997:18;;4343:50;4997:18;;;;;;;4942:1;4926:17;;;;;4997:32;5039:33;;;;;;5102:22;;5082:43;;;;;-1:-1:-1;3338:38:21;;7255:54;;25824:8:13;;25833:19:::1;25851:1;25824:8:::0;25833:19:::1;:::i;:::-;25824:29;;;;;;;:::i;:::-;;;;;;;:51;25820:121;;;25898:32;;;;;;;;;;;;;;25820:121;25955:9;25950:1401;25966:19:::0;;::::1;25950:1401;;;26011:1;26007;:5;:39;;;;-1:-1:-1::0;26031:8:13;;26040:5:::1;26044:1;26040::::0;:5:::1;:::i;:::-;26031:15;;;;;;;:::i;:::-;;;;;;;26016:8;;26025:1;26016:11;;;;;;;:::i;:::-;;;;;;;:30;;26007:39;26003:102;;;26073:17;;;;;;;;;;;;;;26003:102;26119:18;26140:71;26155:9;:15;;26171:14;26155:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;26198:8;;26207:1;26198:11;;;;;;;:::i;:::-;;;;;;;26155:55;;;;;;;;:::i;:::-;;;;;;;;26140:71;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:14;:71::i;:::-;26279:5;26225:43:::0;;;::::1;::::0;;;;;;:59;;26298:61;;;;26415:31;;26119:92;;-1:-1:-1;26399:14:13;;26379:92:::1;::::0;26415:9;;26399:14;;26415:31;::::1;;;;;:::i;:::-;;;;;;;;;;;:42;;26458:8;;26467:1;26458:11;;;;;;;:::i;:::-;;;;;;;26415:55;;;;;;;;:::i;:::-;;;;;;;;26379:92;;;;;;:::i;:::-;;;;;;;;26556:1;26504:9;:15;;26520:14;26504:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:49;;;;:53;;;;:::i;:::-;26489:8;;26498:1;26489:11;;;;;;;:::i;:::-;;;;;;;:68:::0;26485:796:::1;;26577:9;:15;;26593:14;26577:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:48;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;26643:9;:15;;26659:14;26643:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:48;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;26485:796;;;26788:9;:15;;26804:14;26788:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;26904:1;26852:9;:15;;26868:14;26852:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:49;;;;:53;;;;:::i;:::-;26788:135;;;;;;;;:::i;:::-;;;;;;;;26730:9;:15;;26746:14;26730:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;26773:8;;26782:1;26773:11;;;;;;;:::i;:::-;;;;;;;26730:55;;;;;;;;:::i;:::-;;;;;;;;:193;;;;;;:::i;:::-;;;;;;:::i;:::-;;26941:9;:15;;26957:14;26941:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:48;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;27065:9;:15;;27081:14;27065:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;27181:1;27129:9;:15;;27145:14;27129:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:49;;;;:53;;;;:::i;:::-;27065:135;;;;;;;;:::i;:::-;;;;;;;;27007:9;:15;;27023:14;27007:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;27050:8;;27059:1;27050:11;;;;;;;:::i;:::-;;;;;;;27007:55;;;;;;;;:::i;:::-;;;;;;;;:193;;;;;;:::i;:::-;;;;;;:::i;:::-;;27218:9;:15;;27234:14;27218:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:48;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;26485:796;-1:-1:-1::0;27323:3:13::1;;25950:1401;;;;27397:9;:15;;27413:14;27397:31;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:37:::1;:31;::::0;;::::1;;:37;::::0;27365:8;;27374:19:::1;27392:1;27365:8:::0;27374:19:::1;:::i;:::-;27365:29;;;;;;;:::i;:::-;;;;;;;:69;27361:255;;;27490:8:::0;;27499:19:::1;27517:1;27490:8:::0;27499:19:::1;:::i;:::-;27490:29;;;;;;;:::i;:::-;;;;;;;27450:9;:15;;27466:14;27450:31;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:37:::1;:31;::::0;;::::1;;:37;:69:::0;27538:67:::1;27559:14:::0;27575:8;;27584:19:::1;27602:1;27575:8:::0;27584:19:::1;:::i;:::-;27575:29;;;;;;;:::i;:::-;;;;;;;27538:67;;;;;;11926:25:22::0;;;11982:2;11967:18;;11960:34;11914:2;11899:18;;11752:248;27538:67:13::1;;;;;;;;27361:255;27626:27;:25;:27::i;:::-;27663:46;27694:14;27663:30;:46::i;:::-;25285:2431;;;4051:163:::0;;;4153:35;4173:14;4153:19;:35::i;:::-;25318:1:::1;25299:20:::0;;;25295:75:::1;;25342:17;;;;;;;;;;;;;;25295:75;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;4879:1:21;4869:11;;;4997:18;;4343:50;4997:18;;;;;;;4942:1;4926:17;;;;;4997:32;5039:33;;;;;;5102:22;;5082:43;;;;;-1:-1:-1;3338:38:21;;7255:54;;25824:8:13;;25833:19:::1;25851:1;25824:8:::0;25833:19:::1;:::i;:::-;25824:29;;;;;;;:::i;:::-;;;;;;;:51;25820:121;;;25898:32;;;;;;;;;;;;;;25820:121;25955:9;25950:1401;25966:19:::0;;::::1;25950:1401;;;26011:1;26007;:5;:39;;;;-1:-1:-1::0;26031:8:13;;26040:5:::1;26044:1;26040::::0;:5:::1;:::i;:::-;26031:15;;;;;;;:::i;:::-;;;;;;;26016:8;;26025:1;26016:11;;;;;;;:::i;:::-;;;;;;;:30;;26007:39;26003:102;;;26073:17;;;;;;;;;;;;;;26003:102;26119:18;26140:71;26155:9;:15;;26171:14;26155:31;;;;;;;;:::i;26140:71::-;26279:5;26225:43:::0;;;::::1;::::0;;;;;;:59;;26298:61;;;;26415:31;;26119:92;;-1:-1:-1;26399:14:13;;26379:92:::1;::::0;26415:9;;26399:14;;26415:31;::::1;;;;;:::i;:::-;;;;;;;;;;;:42;;26458:8;;26467:1;26458:11;;;;;;;:::i;:::-;;;;;;;26415:55;;;;;;;;:::i;:::-;;;;;;;;26379:92;;;;;;:::i;:::-;;;;;;;;26556:1;26504:9;:15;;26520:14;26504:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:49;;;;:53;;;;:::i;:::-;26489:8;;26498:1;26489:11;;;;;;;:::i;:::-;;;;;;;:68:::0;26485:796:::1;;26577:9;:15;;26593:14;26577:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:48;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;26643:9;:15;;26659:14;26643:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:48;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;26485:796;;;26788:9;:15;;26804:14;26788:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;26904:1;26852:9;:15;;26868:14;26852:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:49;;;;:53;;;;:::i;:::-;26788:135;;;;;;;;:::i;:::-;;;;;;;;26730:9;:15;;26746:14;26730:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;26773:8;;26782:1;26773:11;;;;;;;:::i;:::-;;;;;;;26730:55;;;;;;;;:::i;:::-;;;;;;;;:193;;;;;;:::i;:::-;;;;;;:::i;:::-;;26941:9;:15;;26957:14;26941:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:48;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;27065:9;:15;;27081:14;27065:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;27181:1;27129:9;:15;;27145:14;27129:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:49;;;;:53;;;;:::i;:::-;27065:135;;;;;;;;:::i;:::-;;;;;;;;27007:9;:15;;27023:14;27007:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;27050:8;;27059:1;27050:11;;;;;;;:::i;:::-;;;;;;;27007:55;;;;;;;;:::i;:::-;;;;;;;;:193;;;;;;:::i;:::-;;;;;;:::i;:::-;;27218:9;:15;;27234:14;27218:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:48;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;26485:796;-1:-1:-1::0;27323:3:13::1;;25950:1401;;;;27397:9;:15;;27413:14;27397:31;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:37:::1;:31;::::0;;::::1;;:37;::::0;27365:8;;27374:19:::1;27392:1;27365:8:::0;27374:19:::1;:::i;:::-;27365:29;;;;;;;:::i;:::-;;;;;;;:69;27361:255;;;27490:8:::0;;27499:19:::1;27517:1;27490:8:::0;27499:19:::1;:::i;:::-;27490:29;;;;;;;:::i;:::-;;;;;;;27450:9;:15;;27466:14;27450:31;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:37:::1;:31;::::0;;::::1;;:37;:69:::0;27538:67:::1;27559:14:::0;27575:8;;27584:19:::1;27602:1;27575:8:::0;27584:19:::1;:::i;:::-;27575:29;;;;;;;:::i;:::-;;;;;;;27538:67;;;;;;11926:25:22::0;;;11982:2;11967:18;;11960:34;11914:2;11899:18;;11752:248;27538:67:13::1;;;;;;;;27361:255;27626:27;:25;:27::i;:::-;27663:46;27694:14;27663:30;:46::i;:::-;25285:2431;;;4051:163:::0;25135:2581;;;;:::o;8376:120::-;8423:7;8449:40;:38;:40::i;:::-;8442:47;;8376:120;:::o;21723:311::-;3805:36;:34;:36::i;:::-;-1:-1:-1;;;;;3791:50:13;:10;-1:-1:-1;;;;;3791:50:13;;3787:102;;3864:14;;-1:-1:-1;;;3864:14:13;;;;;;;;;;;3787:102;21817:54:::1;:52;:54::i;:::-;21802:12;:69;21798:119;;;21894:12;;;;;;;;;;;;;;21798:119;21926:54;21967:12;21926:40;:54::i;:::-;21995:32;::::0;2500:25:22;;;21995:32:13::1;::::0;2488:2:22;2473:18;21995:32:13::1;;;;;;;;21723:311:::0;:::o;9168:176::-;9245:7;9271:66;9297:10;;9271:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;640:1:13;;-1:-1:-1;9271:25:13;;-1:-1:-1;;9271:66:13:i;:::-;9264:73;;9168:176;;;;;:::o;21121:509::-;3805:36;:34;:36::i;:::-;-1:-1:-1;;;;;3791:50:13;:10;-1:-1:-1;;;;;3791:50:13;;3787:102;;3864:14;;-1:-1:-1;;;3864:14:13;;;;;;;;;;;3787:102;3338:38:21;21336:31:13;;21226:57:::1;::::0;3338:38:21;;21352:14:13;;21336:31;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;;;::::1;;:43;;:51:::0;;-1:-1:-1;;21336:51:13::1;::::0;::::1;;::::0;;;::::1;::::0;;;21402:33:::1;::::0;2500:25:22;;;21402:33:13::1;::::0;2473:18:22;21402:33:13::1;;;;;;;21492:16;21445:9;:15;;21461:14;21445:31;;;;;;;;:::i;:::-;;;;;;;;;;;:44;;;:63;;;;;-1:-1:-1::0;;;;;21445:63:13::1;;;;;-1:-1:-1::0;;;;;21445:63:13::1;;;;;;21523:100;21548:14;21564:9;:15;;21580:14;21564:31;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;;:40:::0;21523:100:::1;::::0;;12207:25:22;;;-1:-1:-1;;;;;21564:40:13;;::::1;12309:18:22::0;;;12302:43;;;;12381:15;;12361:18;;;12354:43;12195:2;12180:18;21523:100:13::1;;;;;;;21216:414;21121:509:::0;;:::o;8544:124::-;8593:7;8619:42;:40;:42::i;22123:295::-;3805:36;:34;:36::i;:::-;-1:-1:-1;;;;;3791:50:13;:10;-1:-1:-1;;;;;3791:50:13;;3787:102;;3864:14;;-1:-1:-1;;;3864:14:13;;;;;;;;;;;3787:102;22211:52:::1;:50;:52::i;:::-;22198:10;:65;22194:115;;;22286:12;;;;;;;;;;;;;;22194:115;22318:50;22357:10;22318:38;:50::i;:::-;22383:28;::::0;2500:25:22;;;22383:28:13::1;::::0;2488:2:22;2473:18;22383:28:13::1;2354:177:22::0;30961:224:13;31030:34;31053:10;;31030:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31030:22:13;;-1:-1:-1;;;31030:34:13:i;8212:118::-;8258:7;8284:39;:37;:39::i;13812:714::-;13943:22;;14015:18;;;3338:38:21;14083:100:13;;14205:9;:15;;14221:14;14205:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;14248:15;14205:59;;;;;;;;:::i;:::-;;;;;;;;14193:71;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14286:9;:15;;14302:14;14286:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;14329:15;14286:59;;;;;;;;:::i;:::-;;;;;;;;14274:71;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14368:41;14383:25;14398:9;14383:14;:25::i;:::-;34334:7;34360:64;;;6543:40:21;34360:64:13;;;;;;-1:-1:-1;;;;;34360:64:13;;34263:168;14368:41;-1:-1:-1;;;;;;;;;;;;;;;;;;;4879:1:21;4869:11;;;4997:18;;4343:50;4997:18;;;;;;;4942:1;4926:17;;;;;4997:32;5039:33;;;;;;5102:22;;5082:43;;;;14355:54:13;;-1:-1:-1;14446:73:13;;;14428:91;;:15;:91;14419:100;;14073:453;13812:714;;;;;;;:::o;6850:488::-;6954:1;3527:38;:36;:38::i;:::-;:42;;3568:1;3527:42;:::i;:::-;3515:8;:54;3511:112;;3592:20;;;;;;;;;;;;;;3511:112;3633:46;3670:8;3633:36;:46::i;:::-;1071:6:::1;6971:24;:39;6967:89;;;7033:12;;;;;;;;;;;;;;6967:89;7065:76;7116:24;7065:50;:76::i;:::-;1071:6;7155:26;:41;7151:91;;;7219:12;;;;;;;;;;;;;;7151:91;7251:80;7304:26;7251:52;:80::i;7755:112::-:0;7798:7;7824:36;:34;:36::i;32541:164::-;3805:36;:34;:36::i;:::-;-1:-1:-1;;;;;3791:50:13;:10;-1:-1:-1;;;;;3791:50:13;;3787:102;;3864:14;;-1:-1:-1;;;3864:14:13;;;;;;;;;;;3787:102;32613:27:::1;::::0;7209:14:22;;7202:22;7184:41;;32613:27:13::1;::::0;7172:2:22;7157:18;32613:27:13::1;;;;;;;32650:48;32694:3;32650:43;:48::i;:::-;32541:164:::0;:::o;15138:353::-;15184:16;15203:43;:41;:43::i;:::-;15184:62;-1:-1:-1;15261:10:13;-1:-1:-1;;;;;15261:22:13;;;15257:74;;15306:14;;-1:-1:-1;;;15306:14:13;;;;;;;;;;;15257:74;15340:44;15375:8;15340:34;:44::i;:::-;15394:53;15444:1;15394:41;:53::i;:::-;15462:22;;-1:-1:-1;;;;;2700:55:22;;2682:74;;15462:22:13;;2670:2:22;2655:18;15462:22:13;2536:226:22;15977:729:13;16082:7;3805:36;:34;:36::i;:::-;-1:-1:-1;;;;;3791:50:13;:10;-1:-1:-1;;;;;3791:50:13;;3787:102;;3864:14;;-1:-1:-1;;;3864:14:13;;;;;;;;;;;3787:102;-1:-1:-1;;;;;;;;16101:57:13::1;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3338:38:21;16283:22:13;;3338:38:21;;-1:-1:-1;16309:1:13::1;16283:27:::0;16279:101:::1;;16333:36;;;;;;;;;;;;;;16279:101;-1:-1:-1::0;;;;;16389:39:13;;::::1;::::0;;16438:47;;::::1;:24;::::0;;::::1;:47:::0;;;16495:33;;::::1;::::0;;::::1;::::0;;16389:20:::1;16495:33:::0;;;;;;;;::::1;::::0;;::::1;;::::0;;;;::::1;::::0;;;::::1;;::::0;;;;;;::::1;::::0;;;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;;16389:11;;16495:33:::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;16495:33:13::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;16495:33:13::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;-1:-1:-1;;16495:33:13::1;::::0;::::1;;::::0;;;::::1;::::0;;16562:22;;-1:-1:-1;;16562:26:13::1;::::0;-1:-1:-1;;16562:26:13::1;:::i;:::-;16603:66;::::0;;-1:-1:-1;;;;;12822:15:22;;;12804:34;;12874:15;;12869:2;12854:18;;12847:43;12906:18;;;12899:34;;;16538:50:13;;-1:-1:-1;16603:66:13::1;::::0;12731:2:22;12716:18;16603:66:13::1;;;;;;;16686:13:::0;15977:729;-1:-1:-1;;;;;15977:729:13:o;7491:220::-;3805:36;:34;:36::i;:::-;-1:-1:-1;;;;;3791:50:13;:10;-1:-1:-1;;;;;3791:50:13;;3787:102;;3864:14;;-1:-1:-1;;;3864:14:13;;;;;;;;;;;3787:102;7578:69:::1;7638:8;7578:59;:69::i;:::-;7662:42;::::0;7209:14:22;;7202:22;7184:41;;7662:42:13::1;::::0;7172:2:22;7157:18;7662:42:13::1;7044:187:22::0;9453:483:13;9529:7;9552:74;;;7255:54:21;9552:74:13;;;;;:82;;;:91;;;;9548:153;;9666:24;;;;;;;;;;;;;;9548:153;9810:62;:74;;;7255:54:21;9810:74:13;;;;;:88;3338:38:21;9729:170:13;;3338:38:21;;9810:88:13;;;;;;9729:170;;;;;;:::i;:::-;;;;;;;;;:200;:170;;;;;:200;;-1:-1:-1;;;;;9729:200:13;;9453:483;-1:-1:-1;;9453:483:13:o;17070:641::-;17250:14;4544:59;3338:38:21;4606:84:13;;4666:14;;4606:84;;;;;;:::i;:::-;;;;;;;;;;;;;;4705:24;;;;4606:84;;-1:-1:-1;4705:24:13;;4701:75;;;4752:13;;;;;;;;;;;;;;4701:75;4804:25;;;;-1:-1:-1;;;;;4804:25:13;4790:10;:39;4786:91;;4852:14;;-1:-1:-1;;;4852:14:13;;;;;;;;;;;4786:91;17276:31:::1;17290:16;17276:13;:31::i;:::-;17317:35;17331:20;17317:13;:35::i;:::-;3338:38:21::0;17473:31:13;;17516:16;;3338:38:21;;17489:14:13;;17473:31;::::1;;;;;:::i;:::-;;;;;;;;;;;:40;;;:59;;;;;-1:-1:-1::0;;;;;17473:59:13::1;;;;;-1:-1:-1::0;;;;;17473:59:13::1;;;;;;17589:20;17542:9;:15;;17558:14;17542:31;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;;;::::1;;:44;;:67:::0;;;::::1;-1:-1:-1::0;;;;;17542:67:13;;::::1;;::::0;;17624:80:::1;::::0;;12207:25:22;;;12329:15;;;12309:18;;;12302:43;;;;12381:15;;;12361:18;;;12354:43;17624:80:13;;::::1;::::0;12195:2:22;17624:80:13;;;;;;::::1;17266:445;4534:361:::0;17070:641;;;;:::o;10460:150::-;10547:7;34360:64;;;6543:40:21;34360:64:13;;;;;;-1:-1:-1;;;;;34360:64:13;10573:30;34263:168;14616:149;14677:7;14703:55;:53;:55::i;31751:734::-;31833:38;742:2;31833:11;:38;:::i;:::-;:43;31829:100;;31899:19;;;;;;;;;;;;;;31829:100;31943:9;31938:541;31958:22;;;31938:541;;;31998:22;32023:49;32038:11;;32023:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32051:1:13;;-1:-1:-1;742:2:13;;-1:-1:-1;32023:14:13;;-1:-1:-1;32023:49:13:i;:::-;31998:74;;32086:18;32107:25;32122:9;32107:14;:25::i;:::-;32146:18;34360:64;;;6543:40:21;34360:64:13;;;;;;;;-1:-1:-1;;;;;;34360:64:13;32211:10;:24;;32207:84;;32262:14;;-1:-1:-1;;;32262:14:13;;;;;;;;;;;32207:84;32304:33;32320:10;32332:4;32304:15;:33::i;:::-;32356:34;32368:10;32380:9;32356:34;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;742:2:13;32432:22;31938:541;;22738:1946;22926:14;4341:35;4361:14;4341:19;:35::i;:::-;22956:9:::1;22969:1;22956:14:::0;22952:69:::1;;22993:17;;;;;;;;;;;;;;22952:69;23035:38;742:2;23035:11:::0;:38:::1;:::i;:::-;:43:::0;::::1;::::0;:98:::1;;-1:-1:-1::0;23124:9:13;23082:38:::1;742:2;23082:11:::0;:38:::1;:::i;:::-;:51;;23035:98;23031:155;;;23156:19;;;;;;;;;;;;;;23031:155;23200:37;690:2;23200:11:::0;:37:::1;:::i;:::-;:42:::0;::::1;::::0;:96:::1;;-1:-1:-1::0;23287:9:13;23246:37:::1;690:2;23246:11:::0;:37:::1;:::i;:::-;:50;;23200:96;23196:153;;;23319:19;;;;;;;;;;;;;;23196:153;3338:38:21::0;7255:54;23359:57:13::1;23640:869;23660:9;23656:1;:13;23640:869;;;23687:22;23712:69;23727:11;;23712:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;23740:21:13::1;::::0;-1:-1:-1;742:2:13::1;::::0;-1:-1:-1;23740:1:13;;-1:-1:-1;23740:21:13::1;:::i;:::-;742:2;23712:14;:69::i;:::-;23687:94;;23795:22;23820:67;23835:11;;23820:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;23848:20:13::1;::::0;-1:-1:-1;690:2:13::1;::::0;-1:-1:-1;23848:1:13;;-1:-1:-1;23848:20:13::1;:::i;:::-;690:2;23820:14;:67::i;:::-;23795:92;;23902:9;:15;;23918:14;23902:31;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:42:::1;:31;::::0;;::::1;;:42:::0;;;::::1;:58:::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;23974:9;:15;;23990:14;23974:31;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:42:::1;:31;::::0;;::::1;;:42:::0;;;::::1;:58:::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;24047:18;24068:25;24083:9;24068:14;:25::i;:::-;24112:31;:43:::0;;;::::1;::::0;;;;;;:51;24047:46;;-1:-1:-1;24112:51:13::1;;24108:129;;;24212:9;24190:32;;;;;;;;;;;:::i;:::-;;;;;;;;24108:129;24297:141;;;;;;;;24364:4;24297:141;;;;;;24408:14;24297:141;;;;::::0;24251:25:::1;:31;;:43;24283:10;24251:43;;;;;;;;;;;:187;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24481:3;;;;;23673:836;;;23640:869;;;;24543:14;24524:60;24559:11;;24572;;24524:60;;;;;;;;;:::i;:::-;;;;;;;;24594:27;:25;:27::i;:::-;24631:46;24662:14;24631:30;:46::i;:::-;22942:1742;;22738:1946:::0;;;;;;;:::o;11882:282::-;11985:43;:41;:43::i;:::-;-1:-1:-1;;;;;11971:57:13;:10;-1:-1:-1;;;;;11971:57:13;;11967:109;;12051:14;;-1:-1:-1;;;12051:14:13;;;;;;;;;;;11967:109;12153:4;12085:43;:41;:43::i;:::-;:49;:65;;;;;;;;;:72;;-1:-1:-1;;12085:72:13;;;;;;;;;;11882:282::o;19051:937::-;3805:36;:34;:36::i;:::-;-1:-1:-1;;;;;3791:50:13;:10;-1:-1:-1;;;;;3791:50:13;;3787:102;;3864:14;;-1:-1:-1;;;3864:14:13;;;;;;;;;;;3787:102;3338:38:21;19309:31:13;;3338:38:21;;19325:14:13;;19309:31;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:43:::1;:31;::::0;;::::1;;:43;::::0;::::1;;19305:94;;;19375:13;;;;;;;;;;;;;;19305:94;19408:22;19433:9;:15;;19449:14;19433:31;;;;;;;;:::i;:::-;;;;;;;;;;;:42;;:49;;;;19408:74;;19513:6;19496:14;:23;19492:105;;;19542:44;::::0;::::1;::::0;;::::1;::::0;::::1;11926:25:22::0;;;11967:18;;;11960:34;;;11899:18;;19542:44:13::1;11752:248:22::0;19492:105:13::1;19663:6;19623:9;:15;;19639:14;19623:31;;;;;;;;:::i;:::-;;;;;;;;;;;:37;;;:46;:122;;;;;19736:9;19685:48;:46;:48::i;:::-;:60;19623:122;19606:205;;;19777:23;;;;;;;;;;;;;;19606:205;19860:6;19820:9;:15;;19836:14;19820:31;;;;;;;;:::i;:::-;;;;;;;;;;;:37;;:46;;;;19876;19907:14;19876:30;:46::i;:::-;19937:44;::::0;;11926:25:22;;;11982:2;11967:18;;11960:34;;;19937:44:13::1;::::0;11899:18:22;19937:44:13::1;;;;;;;19185:803;;19051:937:::0;;;:::o;30521:224::-;30590:34;30613:10;;30590:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30590:22:13;;-1:-1:-1;;;30590:34:13:i;:::-;30634:104;30653:10;;30634:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30634:104:13;-1:-1:-1;30694:43:13;;-1:-1:-1;30694:41:13;;-1:-1:-1;30694:43:13:i;10817:142::-;10898:4;10921:31;10937:14;10921:15;:31::i;11184:181::-;11270:4;11293:43;:41;:43::i;:::-;:49;:65;;;;;-1:-1:-1;11293:65:13;;;;;;;11184:181::o;15582:126::-;15632:7;15658:43;:41;:43::i;5007:63::-;5053:10;:8;:10::i;:::-;5007:63::o;8830:176::-;8907:7;8933:66;8959:10;;8933:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8933:66:13;-1:-1:-1;8933:25:13;;-1:-1:-1;;8933:66:13:i;20240:691::-;3805:36;:34;:36::i;:::-;-1:-1:-1;;;;;3791:50:13;:10;-1:-1:-1;;;;;3791:50:13;;3787:102;;3864:14;;-1:-1:-1;;;3864:14:13;;;;;;;;;;;3787:102;3338:38:21;20463:31:13;;20353:57:::1;::::0;3338:38:21;;20479:14:13;;20463:31;::::1;;;;;:::i;:::-;;;;;;;;;;;:37;;:41;;;;20519:39;20540:14;20556:1;20519:39;;;;;;11926:25:22::0;;;11982:2;11967:18;;11960:34;11914:2;11899:18;;11752:248;20519:39:13::1;;;;;;;;20614:4;20568:9;:15;;20584:14;20568:31;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;;;::::1;;:43;;:50:::0;;-1:-1:-1;;20568:50:13::1;::::0;::::1;;::::0;;;::::1;::::0;;;20633:35:::1;::::0;2500:25:22;;;20633:35:13::1;::::0;2473:18:22;20633:35:13::1;;;;;;;20725:22;20678:9;:15;;20694:14;20678:31;;;;;;;;:::i;:::-;;;;;;;;;;;:44;;;:69;;;;;-1:-1:-1::0;;;;;20678:69:13::1;;;;;-1:-1:-1::0;;;;;20678:69:13::1;;;;;;20762:106;20787:14;20803:9;:15;;20819:14;20803:31;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;;:40:::0;20762:106:::1;::::0;;12207:25:22;;;-1:-1:-1;;;;;20803:40:13;;::::1;12309:18:22::0;;;12302:43;;;;12381:15;;12361:18;;;12354:43;12195:2;12180:18;20762:106:13::1;;;;;;;20878:46;20909:14;20878:30;:46::i;5442:1402::-:0;5820:1;3527:38;:36;:38::i;:::-;:42;;3568:1;3527:42;:::i;:::-;3515:8;:54;3511:112;;3592:20;;;;;;;;;;;;;;3511:112;3633:46;3670:8;3633:36;:46::i;:::-;5833:21:::1;5847:6;5833:13;:21::i;:::-;5864:42;5899:6;5864:34;:42::i;:::-;5916:24;5930:9;5916:13;:24::i;:::-;5950:48;5988:9;5950:37;:48::i;:::-;1071:6;6013:10;:25;6009:75;;;6061:12;;;;;;;;;;;;;;6009:75;6093:50;6132:10;6093:38;:50::i;:::-;1071:6;6157:12;:27;6153:77;;;6207:12;;;;;;;;;;;;;;6153:77;6239:54;6280:12;6239:40;:54::i;:::-;6304:28;6318:13;6304;:28::i;:::-;6342:56;6384:13;6342:41;:56::i;:::-;6408:28;6422:13;6408;:28::i;:::-;6446:56;6488:13;6446:41;:56::i;:::-;6512:31;6526:16;6512:13;:31::i;:::-;6553:62;6598:16;6553:44;:62::i;:::-;6625:42;6639:27;6625:13;:42::i;:::-;6677:84;6733:27;6677:55;:84::i;:::-;6771:66;6784:24;6810:26;6771:12;:66::i;:::-;5442:1402:::0;;;;;;;;;;;:::o;10118:148::-;10191:7;10217:42;10232:26;10247:10;;10232:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10232:14:13;;-1:-1:-1;;;10232:26:13:i;29616:689::-;29690:38;742:2;29690:11;:38;:::i;:::-;:43;29686:100;;29756:19;;;;;;;;;;;;;;29686:100;29800:9;29795:504;29815:22;;;29795:504;;;29855:22;29880:49;29895:11;;29880:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29908:1:13;;-1:-1:-1;742:2:13;;-1:-1:-1;29880:14:13;;-1:-1:-1;29880:49:13:i;:::-;29855:74;;29943:33;29966:9;29943:22;:33::i;:::-;29990:103;30009:9;577:1;30049:43;:41;:43::i;29990:103::-;30107;30126:9;640:1;30166:43;:41;:43::i;30107:103::-;-1:-1:-1;742:2:13;30252:22;29795:504;;17934:645;18032:61;:59;:61::i;:::-;18027:111;;18116:11;;;;;;;;;;;;;;18027:111;18147:29;18161:14;18147:13;:29::i;:::-;18186:18;18207:26;18222:10;;18207:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18207:14:13;;-1:-1:-1;;;18207:26:13:i;:::-;18186:47;-1:-1:-1;18243:61:13;6543:40:21;18364:17:13;:29;;;;;;;;;;;18243:106;;-1:-1:-1;;;;;;18364:29:13;18397:10;18364:43;18360:95;;18430:14;;-1:-1:-1;;;18430:14:13;;;;;;;;;;;18360:95;18470:45;18488:10;;18500:14;18470:45;;;;;;;;:::i;:::-;;;;;;;;18526:17;:29;;;;;;;;:46;;;;-1:-1:-1;;;;;18526:46:13;;;;;;;;;;-1:-1:-1;;17934:645:13:o;27980:577::-;28059:38;742:2;28059:11;:38;:::i;:::-;:43;28055:100;;28125:19;;;;;;;;;;;;;;28055:100;28169:9;28164:387;28184:22;;;28164:387;;;28224:22;28249:49;28264:11;;28249:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28277:1:13;;-1:-1:-1;742:2:13;;-1:-1:-1;28249:14:13;;-1:-1:-1;28249:49:13:i;:::-;28224:74;;28312:33;28335:9;28312:22;:33::i;:::-;28359:103;28378:9;577:1;28418:43;:41;:43::i;28359:103::-;-1:-1:-1;742:2:13;28504:22;28164:387;;7991:174;3805:36;:34;:36::i;:::-;-1:-1:-1;;;;;3791:50:13;:10;-1:-1:-1;;;;;3791:50:13;;3787:102;;3864:14;;-1:-1:-1;;;3864:14:13;;;;;;;;;;;3787:102;8068:29:::1;::::0;-1:-1:-1;;;;;2700:55:22;;2682:74;;8068:29:13::1;::::0;2670:2:22;2655:18;8068:29:13::1;;;;;;;8107:51;8145:12;8107:37;:51::i;14888:134::-:0;3805:36;:34;:36::i;:::-;-1:-1:-1;;;;;3791:50:13;:10;-1:-1:-1;;;;;3791:50:13;;3787:102;;3864:14;;-1:-1:-1;;;3864:14:13;;;;;;;;;;;3787:102;14963:52:::1;15005:9;14963:41;:52::i;11523:200::-:0;11607:4;7255:54:21;11630:56:13;7316:225:21;12255:128:13;12308:4;12331:45;13159:111:21;13211:4;13234:29;13095:56;13150:1;13103:43;13095:56;:::i;:::-;790:15;;680:141;6067:138;6129:7;6155:43;6007:53;790:15;;680:141;39296:267:13;39404:96;39458:41;39486:13;39458:25;:41;:::i;:::-;39404:53;:96::i;:::-;39510:46;39539:1;39542:13;39510:28;:46::i;33392:288::-;33504:42;33519:26;33534:10;33519:14;:26::i;33504:42::-;-1:-1:-1;;;;;33490:56:13;:10;-1:-1:-1;;;;;33490:56:13;;;:122;;;;-1:-1:-1;33602:10:13;33562:36;:34;:36::i;:::-;-1:-1:-1;;;;;33562:50:13;;;33490:122;33473:201;;;33644:19;;;;;;;;;;;;;;8751:113:21;8801:7;8827:30;8691:53;790:15;;680:141;41453:753:13;41593:21;41617:26;41632:10;41617:14;:26::i;:::-;41593:50;;41653:24;41680:48;41704:7;41713:13;41687:40;;;;;;;;15294:19:22;;;15338:2;15329:12;;15322:28;15375:2;15366:12;;15137:247;41687:40:13;;;;-1:-1:-1;;41687:40:13;;;;;;;;;;41680:48;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;41653:75;;41738:22;41763:57;:55;:57::i;:::-;41738:82;;41830:27;41860:68;41895:14;41911:16;41860:34;:68::i;:::-;41830:98;;41942:19;-1:-1:-1;;;;;41942:31:13;;41977:1;41942:36;41938:207;;41994:59;42020:14;42036:16;41994:25;:59::i;:::-;-1:-1:-1;42067:67:13;;;;;-1:-1:-1;;;;;16049:55:22;;;42067:67:13;;;16031:74:22;16121:18;;;16114:34;;;42067:39:13;;;;;16004:18:22;;42067:67:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41938:207;42168:19;-1:-1:-1;;;;;42154:43:13;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9253:113:21;9303:7;9329:30;9193:53;790:15;;680:141;3086:2776:19;3208:12;3256:7;3240:12;3256:7;3250:2;3240:12;:::i;:::-;:23;;3232:50;;;;;;;16361:2:22;3232:50:19;;;16343:21:22;16400:2;16380:18;;;16373:30;16439:16;16419:18;;;16412:44;16473:18;;3232:50:19;16159:338:22;3232:50:19;3317:16;3326:7;3317:6;:16;:::i;:::-;3300:6;:13;:33;;3292:63;;;;;;;16704:2:22;3292:63:19;;;16686:21:22;16743:2;16723:18;;;16716:30;16782:19;16762:18;;;16755:47;16819:18;;3292:63:19;16502:341:22;3292:63:19;3366:22;3429:15;;3457:1967;;;;5565:4;5559:11;5546:24;;5751:1;5740:9;5733:20;5799:4;5788:9;5784:20;5778:4;5771:34;3422:2397;;3457:1967;3639:4;3633:11;3620:24;;4298:2;4289:7;4285:16;4680:9;4673:17;4667:4;4663:28;4651:9;4640;4636:25;4632:60;4728:7;4724:2;4720:16;4980:6;4966:9;4959:17;4953:4;4949:28;4937:9;4929:6;4925:22;4921:57;4917:70;4754:425;5013:3;5009:2;5006:11;4754:425;;;5151:9;;5140:21;;5054:4;5046:13;;;;5086;4754:425;;;-1:-1:-1;;5197:26:19;;;5405:2;5388:11;-1:-1:-1;;5384:25:19;5378:4;5371:39;-1:-1:-1;3422:2397:19;-1:-1:-1;5846:9:19;3086:2776;-1:-1:-1;;;;3086:2776:19:o;1725:98:21:-;1768:7;1794:22;1590:34;790:15;;680:141;34104:153:13;34176:7;34202:48;34226:10;34246:1;34238:10;;34209:40;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;34209:40:13;;;;;;;;;;34202:48;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;36032:168::-;36088:60;36135:12;36088:46;:60::i;:::-;36163:30;;36180:12;2500:25:22;;36163:30:13;;2488:2:22;2473:18;36163:30:13;;;;;;;36032:168::o;34782:1244::-;-1:-1:-1;;;;;;;;34865:75:13;-1:-1:-1;;;;;;;;;;4879:1:21;4869:11;;;4997:18;;4343:50;4997:18;;;;;;4942:1;4926:17;;;;;4997:32;5039:33;;;;;;5102:22;;5082:43;;;;35170:34:13;;3338:38:21;35266:31:13;;34865:157;;-1:-1:-1;3338:38:21;35032:57:13;;;;3338:38:21;;35282:14:13;;35266:31;;;;;;:::i;:::-;;;;;;;;;;;:37;;;35252:51;;35325:20;:27;;;35318:34;;:3;:34;35314:445;;35438:27;;;;;5458:1:21;5448:11;;;35435:1:13;5594:18:21;;;4343:50;5594:18;;;;;;;5739:33;;;;;;5521:1;5505:17;;;;;5711:77;;;5626:18;5618:41;;;5616:44;5594:67;;;5593:196;5560:229;;35314:445:13;;;35530:27;;;;35524:33;;;;:3;:33;:::i;:::-;35707:27;;;;;5458:1:21;5448:11;;;5276:31;5594:18;;;4343:50;5594:18;;;;;;;5739:33;;;;;;:16;5712:23;;:61;5521:1;5505:17;;;;;5711:77;;;5626:18;5618:41;;;5616:44;5594:67;;;5593:196;5560:229;;35497:61:13;-1:-1:-1;35572:176:13;35794:17;35773:38;;:17;:38;;;35769:251;;35827:182;35978:17;35898:97;;35957:17;35899:75;;:55;:53;:55::i;:::-;:75;;;;:::i;:::-;35898:97;;;;:::i;35827:182::-;34855:1171;;;;;34782:1244;:::o;33686:412::-;33763:59;3338:38:21;33825:84:13;;33885:14;;33825:84;;;;;;:::i;:::-;;;;;;;;;;;;;;33924:24;;;;33825:84;;-1:-1:-1;33924:24:13;;33920:75;;;33971:13;;;;;;;;;;;;;;33920:75;34023:21;;-1:-1:-1;;;;;34023:21:13;34009:10;:35;34005:87;;34067:14;;-1:-1:-1;;;34067:14:13;;;;;;;;;;;7781:107:21;7828:7;7854:27;7736:38;790:15;;680:141;12619:136;12680:7;12706:42;12546:65;12610:1;12554:52;12546:65;:::i;8372:121::-;8440:46;8208:40;8470:15;345:22;;251:132;40747:414:13;40847:7;40866:21;40890:26;40905:10;40890:14;:26::i;:::-;40866:50;;40926:12;40941:48;40965:7;40974:13;40948:40;;;;;;;;15294:19:22;;;15338:2;15329:12;;15322:28;15375:2;15366:12;;15137:247;40948:40:13;;;;-1:-1:-1;;40948:40:13;;;;;;;;;;40941:48;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40926:63;;40999:22;41024:57;:55;:57::i;:::-;40999:82;;41098:56;41133:14;41149:4;41098:34;:56::i;:::-;41091:63;40747:414;-1:-1:-1;;;;;;40747:414:13:o;8255:111:21:-;8304:7;8330:29;8208:40;790:15;;680:141;12060:132;12119:7;12145:40;11989:63;12051:1;11997:50;11989:63;:::i;7894:117::-;7960:44;7736:38;7988:15;345:22;;251:132;2412:104;2458:7;2484:25;2368:37;790:15;;680:141;1188:102;1233:7;1259:24;1145:36;790:15;;680:141;1296:104;1356:37;1145:36;1381:11;345:22;;251:132;12198:122;12266:47;11989:63;12051:1;11997:50;11989:63;:::i;:::-;12307:5;345:22;;251:132;12761:126;12831:49;12546:65;12610:1;12554:52;12546:65;:::i;13276:97::-;13332:34;13095:56;13150:1;13103:43;13095:56;:::i;1931:113::-;1981:7;2007:30;1677:41;790:15;;680:141;1829:96;1885:33;1590:34;1908:9;345:22;;251:132;2050:125;2120:48;1677:41;2151:16;345:22;;251:132;10551:140;10628:56;10335:59;10675:8;345:22;;251:132;42212:151:13;-1:-1:-1;;;;;42281:22:13;;42277:80;;42326:20;;;;;;;;;;;;;;34612:164;34763:6;34693:45;:43;:45::i;:::-;:51;:67;;;;;;;;;:76;;-1:-1:-1;;34693:76:13;;;;;;;;;;;-1:-1:-1;34612:164:13:o;11581:184:21:-;11631:22;;11449:51;11499:1;11457:38;11449:51;:::i;13661:124::-;13716:7;13742:36;13593:60;13652:1;13601:47;13593:60;:::i;34437:169:13:-;34509:4;34532:45;:43;:45::i;2522:108:21:-;2584:39;2368:37;2610:12;345:22;;251:132;8870:125;8940:48;8691:53;8971:16;345:22;;251:132;9372:125;9442:48;9193:53;9473:16;345:22;;251:132;3007:137;3083:54;2831:44;3117:19;345:22;;251:132;9928:182;10026:77;9718:55;10072:30;345:22;;251:132;10401:144;10469:4;10492:46;10335:59;790:15;;680:141;6211:136;6286:54;6007:53;6330:9;345:22;;251:132;36400:1466:13;3338:38:21;36674:31:13;;36506:57;;3338:38:21;;36690:14:13;;36674:31;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;4879:1:21;4869:11;;;4997:18;;4343:50;4997:18;;;;;;;36674:31:13;4926:17:21;;;;;4997:32;;;;5039:33;;;;;;5102:22;;5082:43;;;;;;;36674:31:13;;;;;;-1:-1:-1;36875:779:13;36921:15;36908:3;:10;;;:28;;;;;;:::i;:::-;36904:1;:32;36875:779;;;36954:22;36979:8;:19;;36999:1;36979:22;;;;;;;;:::i;:::-;;;;;;;;36954:47;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37015:22;37040:8;:19;;37060:1;37040:22;;;;;;;;:::i;:::-;;;;;;;;37015:47;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37076:31;37110:65;37136:9;640:1;37110:25;:65::i;:::-;37076:99;;37189:29;37221:56;37253:23;37221:31;:56::i;:::-;37189:88;;37291:18;37312:25;37327:9;37312:14;:25::i;:::-;37291:46;;37351:74;37369:9;37380:10;37392:9;37403:21;37351:17;:74::i;:::-;37439:48;:60;;;6543:40:21;37439:60:13;;;;;;;:73;;;;37502:10;37439:73;;;;;;37531:53;;37502:10;;37531:53;;;;37563:9;;37574;;37531:53;:::i;:::-;;;;;;;;37626:3;;;;;36940:714;;;;;36875:779;;;;37664:195;37728:14;37783:15;37763:3;:17;;;:35;;;;;;:::i;:::-;37833:15;37820:3;:10;;;:28;;;;;;:::i;:::-;5458:1:21;5448:11;;;5276:31;5594:18;;;4343:50;4277:2;5594:18;;;;;;;;;5626;5505:17;5521:1;5505:17;;;;;;;;5618:41;;;5616:44;5594:67;5739:16;5712:23;;;;5739:33;;;;;;;;;5712:61;5711:77;;;5593:196;5560:229;;5138:658;37664:195:13;36496:1370;;;36400:1466;;:::o;9780:142:21:-;9844:7;9870:45;9718:55;790:15;;680:141;3322:233:1;3444:17;3484:64;3512:14;3528:4;3542;2723;2717:11;2753:66;2741:79;;2860:4;2856:25;;;2849:4;2840:14;;2833:49;2918:66;2911:4;2902:14;;2895:90;3021:19;;3014:4;3005:14;;2998:43;3070:4;3061:14;;3054:28;3133:4;3118:20;;;3111:4;3102:14;;3095:44;3191:4;3175:14;;3165:31;;2508:704;1848:550;1932:16;2000:4;1994:11;2030:66;2025:3;2018:79;2143:14;2137:4;2133:25;2126:4;2121:3;2117:14;2110:49;2195:66;2188:4;2183:3;2179:14;2172:90;2309:4;2303;2298:3;2295:1;2287:27;2275:39;-1:-1:-1;;;;;;;2341:22:1;;2333:58;;;;;;;17878:2:22;2333:58:1;;;17860:21:22;17917:2;17897:18;;;17890:30;17956:25;17936:18;;;17929:53;17999:18;;2333:58:1;17676:347:22;13791:114:21;13855:43;13593:60;13652:1;13601:47;13593:60;:::i;11048:191::-;11100:24;;10912:53;10964:1;10920:40;10912:53;:::i;36206:188:13:-;36290:7;36324:62;1151:66;-1:-1:-1;;;;;36324:28:13;;:62;:::i;38157:1133::-;38344:21;38368:228;38422:41;38429:33;38444:10;38456:1;38459:2;38429:14;:33::i;:::-;38422:41;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;38481:91;38505:53;38520:10;38532:2;38536:21;38532:2;690;38536:21;:::i;:::-;38505:14;:53::i;:::-;38488:83;;;;;38568:1;;38488:83;;;:::i;:::-;;;;-1:-1:-1;;38488:83:13;;;;;;;;;;38481:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;38388:198;;;;;;15294:19:22;;;;15329:12;;15322:28;15366:12;;38388:198:13;;;-1:-1:-1;;38388:198:13;;;;;;;;;;38368:228;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;38344:252;;38607:23;38633:232;38687:61;38711:11;38724:22;38694:53;;;;;;;;15294:19:22;;;15338:2;15329:12;;15322:28;15375:2;15366:12;;15137:247;38694:53:13;;;;-1:-1:-1;;38694:53:13;;;;;;;;;;38687:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;38773:67;;;958:66;38773:67;;;15294:19:22;15329:12;;;15322:28;;;38766:75:13;;15366:12:22;;38773:67:13;;;-1:-1:-1;;38773:67:13;;;;;;;;;;38766:75;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;38653:202;;;;;;15294:19:22;;;;15329:12;;15322:28;15366:12;;38653:202:13;;;-1:-1:-1;;38653:202:13;;;;;;;;;;38633:232;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;38607:258;-1:-1:-1;38876:21:13;38900:36;789:8;38900:21;:36;:::i;:::-;38876:60;;38964:46;:44;:46::i;:::-;-1:-1:-1;;;;;38947:72:13;;789:8;39054:10;39095:22;39078:40;;;;;;3566:19:22;;3618:4;3609:14;;3480:149;39078:40:13;;;;;;;;;;;;;39132:10;39156:15;38947:234;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39221:13;39196:21;:38;39192:92;;39257:16;;;;;;;;;;;;;;2882:119:21;2935:7;2961:33;2831:44;790:15;;680:141;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;14:180:22;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:22;;14:180;-1:-1:-1;14:180:22:o;900:347::-;951:8;961:6;1015:3;1008:4;1000:6;996:17;992:27;982:55;;1033:1;1030;1023:12;982:55;-1:-1:-1;1056:20:22;;1099:18;1088:30;;1085:50;;;1131:1;1128;1121:12;1085:50;1168:4;1160:6;1156:17;1144:29;;1220:3;1213:4;1204:6;1196;1192:19;1188:30;1185:39;1182:59;;;1237:1;1234;1227:12;1182:59;900:347;;;;;:::o;1252:409::-;1322:6;1330;1383:2;1371:9;1362:7;1358:23;1354:32;1351:52;;;1399:1;1396;1389:12;1351:52;1439:9;1426:23;1472:18;1464:6;1461:30;1458:50;;;1504:1;1501;1494:12;1458:50;1543:58;1593:7;1584:6;1573:9;1569:22;1543:58;:::i;:::-;1620:8;;1517:84;;-1:-1:-1;1252:409:22;-1:-1:-1;;;;1252:409:22:o;1666:683::-;1761:6;1769;1777;1830:2;1818:9;1809:7;1805:23;1801:32;1798:52;;;1846:1;1843;1836:12;1798:52;1882:9;1869:23;1859:33;;1943:2;1932:9;1928:18;1915:32;1966:18;2007:2;1999:6;1996:14;1993:34;;;2023:1;2020;2013:12;1993:34;2061:6;2050:9;2046:22;2036:32;;2106:7;2099:4;2095:2;2091:13;2087:27;2077:55;;2128:1;2125;2118:12;2077:55;2168:2;2155:16;2194:2;2186:6;2183:14;2180:34;;;2210:1;2207;2200:12;2180:34;2263:7;2258:2;2248:6;2245:1;2241:14;2237:2;2233:23;2229:32;2226:45;2223:65;;;2284:1;2281;2274:12;2223:65;2315:2;2311;2307:11;2297:21;;2337:6;2327:16;;;;;1666:683;;;;;:::o;2767:196::-;2835:20;;-1:-1:-1;;;;;2884:54:22;;2874:65;;2864:93;;2953:1;2950;2943:12;2864:93;2767:196;;;:::o;2968:254::-;3036:6;3044;3097:2;3085:9;3076:7;3072:23;3068:32;3065:52;;;3113:1;3110;3103:12;3065:52;3149:9;3136:23;3126:33;;3178:38;3212:2;3201:9;3197:18;3178:38;:::i;:::-;3168:48;;2968:254;;;;;:::o;3227:248::-;3295:6;3303;3356:2;3344:9;3335:7;3331:23;3327:32;3324:52;;;3372:1;3369;3362:12;3324:52;-1:-1:-1;;3395:23:22;;;3465:2;3450:18;;;3437:32;;-1:-1:-1;3227:248:22:o;3634:258::-;3706:1;3716:113;3730:6;3727:1;3724:13;3716:113;;;3806:11;;;3800:18;3787:11;;;3780:39;3752:2;3745:10;3716:113;;;3847:6;3844:1;3841:13;3838:48;;;-1:-1:-1;;3882:1:22;3864:16;;3857:27;3634:258::o;3897:316::-;3938:3;3976:5;3970:12;4003:6;3998:3;3991:19;4019:63;4075:6;4068:4;4063:3;4059:14;4052:4;4045:5;4041:16;4019:63;:::i;:::-;4127:2;4115:15;-1:-1:-1;;4111:88:22;4102:98;;;;4202:4;4098:109;;3897:316;-1:-1:-1;;3897:316:22:o;4218:580::-;4461:3;4450:9;4443:22;4424:4;4488:45;4528:3;4517:9;4513:19;4505:6;4488:45;:::i;:::-;4581:9;4573:6;4569:22;4564:2;4553:9;4549:18;4542:50;4609:32;4634:6;4626;4609:32;:::i;:::-;-1:-1:-1;;;;;4677:55:22;;;;4672:2;4657:18;;4650:83;-1:-1:-1;;4776:14:22;;4769:22;4764:2;4749:18;;;4742:50;4601:40;4218:580;-1:-1:-1;;4218:580:22:o;4803:273::-;4859:6;4912:2;4900:9;4891:7;4887:23;4883:32;4880:52;;;4928:1;4925;4918:12;4880:52;4967:9;4954:23;5020:5;5013:13;5006:21;4999:5;4996:32;4986:60;;5042:1;5039;5032:12;4986:60;5065:5;4803:273;-1:-1:-1;;;4803:273:22:o;5081:260::-;5149:6;5157;5210:2;5198:9;5189:7;5185:23;5181:32;5178:52;;;5226:1;5223;5216:12;5178:52;5249:29;5268:9;5249:29;:::i;:::-;5239:39;;5297:38;5331:2;5320:9;5316:18;5297:38;:::i;5531:328::-;5608:6;5616;5624;5677:2;5665:9;5656:7;5652:23;5648:32;5645:52;;;5693:1;5690;5683:12;5645:52;5729:9;5716:23;5706:33;;5758:38;5792:2;5781:9;5777:18;5758:38;:::i;:::-;5748:48;;5815:38;5849:2;5838:9;5834:18;5815:38;:::i;:::-;5805:48;;5531:328;;;;;:::o;5864:854::-;5972:6;5980;5988;5996;6004;6012;6065:3;6053:9;6044:7;6040:23;6036:33;6033:53;;;6082:1;6079;6072:12;6033:53;6118:9;6105:23;6095:33;;6175:2;6164:9;6160:18;6147:32;6137:42;;6230:2;6219:9;6215:18;6202:32;6253:18;6294:2;6286:6;6283:14;6280:34;;;6310:1;6307;6300:12;6280:34;6349:58;6399:7;6390:6;6379:9;6375:22;6349:58;:::i;:::-;6426:8;;-1:-1:-1;6323:84:22;-1:-1:-1;6514:2:22;6499:18;;6486:32;;-1:-1:-1;6530:16:22;;;6527:36;;;6559:1;6556;6549:12;6527:36;;6598:60;6650:7;6639:8;6628:9;6624:24;6598:60;:::i;:::-;5864:854;;;;-1:-1:-1;5864:854:22;;-1:-1:-1;5864:854:22;;6677:8;;5864:854;-1:-1:-1;;;5864:854:22:o;6723:316::-;6800:6;6808;6816;6869:2;6857:9;6848:7;6844:23;6840:32;6837:52;;;6885:1;6882;6875:12;6837:52;-1:-1:-1;;6908:23:22;;;6978:2;6963:18;;6950:32;;-1:-1:-1;7029:2:22;7014:18;;;7001:32;;6723:316;-1:-1:-1;6723:316:22:o;7236:835::-;7376:6;7384;7392;7400;7408;7416;7424;7432;7440;7448;7501:3;7489:9;7480:7;7476:23;7472:33;7469:53;;;7518:1;7515;7508:12;7469:53;7541:29;7560:9;7541:29;:::i;:::-;7531:39;;7589:38;7623:2;7612:9;7608:18;7589:38;:::i;:::-;7579:48;;7646:38;7680:2;7669:9;7665:18;7646:38;:::i;:::-;7636:48;;7703:38;7737:2;7726:9;7722:18;7703:38;:::i;:::-;7693:48;;7760:39;7794:3;7783:9;7779:19;7760:39;:::i;:::-;7750:49;;7818:39;7852:3;7841:9;7837:19;7818:39;:::i;:::-;7808:49;;7904:3;7893:9;7889:19;7876:33;7866:43;;7956:3;7945:9;7941:19;7928:33;7918:43;;8008:3;7997:9;7993:19;7980:33;7970:43;;8060:3;8049:9;8045:19;8032:33;8022:43;;7236:835;;;;;;;;;;;;;:::o;8076:483::-;8155:6;8163;8171;8224:2;8212:9;8203:7;8199:23;8195:32;8192:52;;;8240:1;8237;8230:12;8192:52;8280:9;8267:23;8313:18;8305:6;8302:30;8299:50;;;8345:1;8342;8335:12;8299:50;8384:58;8434:7;8425:6;8414:9;8410:22;8384:58;:::i;:::-;8461:8;;-1:-1:-1;8358:84:22;-1:-1:-1;8515:38:22;;-1:-1:-1;8549:2:22;8534:18;;8515:38;:::i;8564:186::-;8623:6;8676:2;8664:9;8655:7;8651:23;8647:32;8644:52;;;8692:1;8689;8682:12;8644:52;8715:29;8734:9;8715:29;:::i;8755:184::-;8807:77;8804:1;8797:88;8904:4;8901:1;8894:15;8928:4;8925:1;8918:15;8944:112;8976:1;9002;8992:35;;9007:18;;:::i;:::-;-1:-1:-1;9041:9:22;;8944:112::o;9061:184::-;9113:77;9110:1;9103:88;9210:4;9207:1;9200:15;9234:4;9231:1;9224:15;9250:120;9290:1;9316;9306:35;;9321:18;;:::i;:::-;-1:-1:-1;9355:9:22;;9250:120::o;9375:184::-;9427:77;9424:1;9417:88;9524:4;9521:1;9514:15;9548:4;9545:1;9538:15;9564:125;9604:4;9632:1;9629;9626:8;9623:34;;;9637:18;;:::i;:::-;-1:-1:-1;9674:9:22;;9564:125::o;9694:437::-;9773:1;9769:12;;;;9816;;;9837:61;;9891:4;9883:6;9879:17;9869:27;;9837:61;9944:2;9936:6;9933:14;9913:18;9910:38;9907:218;;9981:77;9978:1;9971:88;10082:4;10079:1;10072:15;10110:4;10107:1;10100:15;9907:218;;9694:437;;;:::o;10261:1297::-;10368:4;10397:2;10426;10415:9;10408:21;10449:1;10482:6;10476:13;10512:3;10534:1;10562:9;10558:2;10554:18;10544:28;;10622:2;10611:9;10607:18;10644;10634:61;;10688:4;10680:6;10676:17;10666:27;;10634:61;10741:2;10733:6;10730:14;10710:18;10707:38;10704:222;;10780:77;10775:3;10768:90;10881:4;10878:1;10871:15;10911:4;10906:3;10899:17;10704:222;10981:18;;;3566:19;;;3618:4;3609:14;11024:18;11051:158;;;;11223:1;11218:314;;;;11017:515;;11051:158;-1:-1:-1;;11088:9:22;11084:82;11079:3;11072:95;11196:2;11191:3;11187:12;11180:19;;11051:158;;11218:314;10208:1;10201:14;;;10245:4;10232:18;;11312:1;11326:165;11340:6;11337:1;11334:13;11326:165;;;11418:14;;11405:11;;;11398:35;11461:16;;;;11355:10;;11326:165;;;11511:11;;;-1:-1:-1;;11017:515:22;-1:-1:-1;11549:3:22;;10261:1297;-1:-1:-1;;;;;;;;;10261:1297:22:o;11563:184::-;11615:77;11612:1;11605:88;11712:4;11709:1;11702:15;11736:4;11733:1;11726:15;12408:128;12448:3;12479:1;12475:6;12472:1;12469:13;12466:39;;;12485:18;;:::i;:::-;-1:-1:-1;12521:9:22;;12408:128::o;12944:337::-;-1:-1:-1;;;;;13123:6:22;13119:55;13108:9;13101:74;13211:2;13206;13195:9;13191:18;13184:30;13082:4;13231:44;13271:2;13260:9;13256:18;13248:6;13231:44;:::i;:::-;13223:52;12944:337;-1:-1:-1;;;;12944:337:22:o;13286:228::-;13326:7;13452:1;13384:66;13380:74;13377:1;13374:81;13369:1;13362:9;13355:17;13351:105;13348:131;;;13459:18;;:::i;:::-;-1:-1:-1;13499:9:22;;13286:228::o;13519:217::-;13666:2;13655:9;13648:21;13629:4;13686:44;13726:2;13715:9;13711:18;13703:6;13686:44;:::i;13741:325::-;13829:6;13824:3;13817:19;13881:6;13874:5;13867:4;13862:3;13858:14;13845:43;;13933:1;13926:4;13917:6;13912:3;13908:16;13904:27;13897:38;13799:3;14055:4;-1:-1:-1;;13980:2:22;13972:6;13968:15;13964:88;13959:3;13955:98;13951:109;13944:116;;13741:325;;;;:::o;14071:431::-;14284:2;14273:9;14266:21;14247:4;14310:61;14367:2;14356:9;14352:18;14344:6;14336;14310:61;:::i;:::-;14419:9;14411:6;14407:22;14402:2;14391:9;14387:18;14380:50;14447:49;14489:6;14481;14473;14447:49;:::i;:::-;14439:57;14071:431;-1:-1:-1;;;;;;;14071:431:22:o;14768:364::-;14953:2;14942:9;14935:21;14916:4;14973:61;15030:2;15019:9;15015:18;15007:6;14999;14973:61;:::i;:::-;14965:69;;-1:-1:-1;;;;;15074:6:22;15070:55;15065:2;15054:9;15050:18;15043:83;14768:364;;;;;;:::o;15389:274::-;15518:3;15556:6;15550:13;15572:53;15618:6;15613:3;15606:4;15598:6;15594:17;15572:53;:::i;:::-;15641:16;;;;;15389:274;-1:-1:-1;;15389:274:22:o;15668:184::-;15738:6;15791:2;15779:9;15770:7;15766:23;15762:32;15759:52;;;15807:1;15804;15797:12;15759:52;-1:-1:-1;15830:16:22;;15668:184;-1:-1:-1;15668:184:22:o;16848:441::-;17005:3;17043:6;17037:13;17059:53;17105:6;17100:3;17093:4;17085:6;17081:17;17059:53;:::i;:::-;17185:66;17173:79;;;;17134:16;;;;17159:94;;;17280:2;17269:14;;16848:441;-1:-1:-1;;16848:441:22:o;17294:377::-;17487:2;17476:9;17469:21;17450:4;17513:44;17553:2;17542:9;17538:18;17530:6;17513:44;:::i;:::-;17605:9;17597:6;17593:22;17588:2;17577:9;17573:18;17566:50;17633:32;17658:6;17650;17633:32;:::i;:::-;17625:40;17294:377;-1:-1:-1;;;;;17294:377:22:o;18028:370::-;18185:3;18223:6;18217:13;18239:53;18285:6;18280:3;18273:4;18265:6;18261:17;18239:53;:::i;:::-;18314:16;;;;18339:21;;;-1:-1:-1;18387:4:22;18376:16;;18028:370;-1:-1:-1;18028:370:22:o;18842:610::-;19109:3;19098:9;19091:22;19072:4;19136:45;19176:3;19165:9;19161:19;19153:6;19136:45;:::i;:::-;19229:9;19221:6;19217:22;19212:2;19201:9;19197:18;19190:50;19263:32;19288:6;19280;19263:32;:::i;:::-;19249:46;;19343:9;19335:6;19331:22;19326:2;19315:9;19311:18;19304:50;19371:32;19396:6;19388;19371:32;:::i;:::-;19363:40;;;19439:6;19434:2;19423:9;19419:18;19412:34;18842:610;;;;;;;:::o
Swarm Source
ipfs://82f275dcc95ed77ce7470cc6de8ad96480198f43db9aa8fe8aa8314355ecbd83
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.