More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 410 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Create Token | 10941861 | 133 days ago | IN | 0 ETH | 0.00000003 | ||||
New Offer ETH | 10017130 | 154 days ago | IN | 0.001 ETH | 0.00000069 | ||||
Create Token | 10005095 | 154 days ago | IN | 0 ETH | 0.00000017 | ||||
Create Token | 10004260 | 154 days ago | IN | 0 ETH | 0.00000021 | ||||
New Offer ETH | 8709047 | 184 days ago | IN | 0.0005 ETH | 0.00000232 | ||||
New Offer ETH | 8709033 | 184 days ago | IN | 0.0005 ETH | 0.00000236 | ||||
New Offer ETH | 8680279 | 185 days ago | IN | 0.001 ETH | 0.00000296 | ||||
New Offer ETH | 7981926 | 201 days ago | IN | 0.0001 ETH | 0.00000842 | ||||
New Offer ETH | 7980678 | 201 days ago | IN | 0.0001 ETH | 0.00000615 | ||||
New Offer ETH | 7980535 | 201 days ago | IN | 0.0001 ETH | 0.00000646 | ||||
New Offer ETH | 7979741 | 201 days ago | IN | 0.0001 ETH | 0.00000649 | ||||
New Offer ETH | 7979729 | 201 days ago | IN | 0.0001 ETH | 0.00000643 | ||||
New Offer ETH | 7979640 | 201 days ago | IN | 0.001 ETH | 0.00000686 | ||||
Cancel Offer | 7487942 | 213 days ago | IN | 0 ETH | 0.00000006 | ||||
Cancel Offer | 7388805 | 215 days ago | IN | 0 ETH | 0.00000018 | ||||
Cancel Offer | 7388754 | 215 days ago | IN | 0 ETH | 0.00000019 | ||||
Cancel Offer | 7388624 | 215 days ago | IN | 0 ETH | 0.00000019 | ||||
Cancel Offer | 6985067 | 224 days ago | IN | 0 ETH | 0.0000001 | ||||
Cancel Offer | 6797015 | 229 days ago | IN | 0 ETH | 0.00000033 | ||||
New Offer ETH | 6797007 | 229 days ago | IN | 0.00001 ETH | 0.00000125 | ||||
Cancel Offer | 6796227 | 229 days ago | IN | 0 ETH | 0.00000033 | ||||
New Offer ETH | 6796218 | 229 days ago | IN | 0.000001 ETH | 0.00000124 | ||||
Cancel Offer | 6560173 | 234 days ago | IN | 0 ETH | 0 | ||||
New Offer ETH | 6560162 | 234 days ago | IN | 0.00001 ETH | 0 | ||||
Create Token | 6546938 | 234 days ago | IN | 0 ETH | 0.00000002 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
7487942 | 213 days ago | 0.000001 ETH | ||||
7487942 | 213 days ago | 0.000099 ETH | ||||
7388805 | 215 days ago | 0.000333 ETH | ||||
7388805 | 215 days ago | 0.032967 ETH | ||||
7388754 | 215 days ago | 0.001 ETH | ||||
7388754 | 215 days ago | 0.099 ETH | ||||
7388624 | 215 days ago | 0.0015 ETH | ||||
7388624 | 215 days ago | 0.1485 ETH | ||||
6985067 | 224 days ago | 0.00001 ETH | ||||
6985067 | 224 days ago | 0.00099 ETH | ||||
6797015 | 229 days ago | 0.0000001 ETH | ||||
6797015 | 229 days ago | 0.0000099 ETH | ||||
6796227 | 229 days ago | 0.00000001 ETH | ||||
6796227 | 229 days ago | 0.00000099 ETH | ||||
6560173 | 234 days ago | 0.0000001 ETH | ||||
6560173 | 234 days ago | 0.0000099 ETH | ||||
5329631 | 262 days ago | 0.0001 ETH | ||||
5329631 | 262 days ago | 0.0000001 ETH | ||||
5329631 | 262 days ago | 0.0000001 ETH | ||||
5329631 | 262 days ago | 1 ETH | ||||
5329631 | 262 days ago | 1 ETH | ||||
5329631 | 262 days ago | 0.01 ETH | ||||
5329631 | 262 days ago | 0.01 ETH | ||||
5329631 | 262 days ago | 1 ETH | ||||
5329631 | 262 days ago | 0.651 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Market
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.24; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "./interfaces/IBlast.sol"; import "./interfaces/IBlastPoints.sol"; struct Token { address token; uint48 settleTime; uint48 settleDuration; uint152 settleRate; // number of token per point uint8 status; } struct Offer { uint8 offerType; bytes32 tokenId; uint256 amount; uint256 value; uint256 collateral; uint256 status; address offeredBy; address filledBy; uint256 filledTime; // time offer was filled uint256 chainId; // the chain in which the token transfer will take place } struct Config { uint256 pledgeRate; uint256 feeRefund; uint256 feeSettle; uint256 climbRate; address feeWallet; } contract Market is Pausable, AccessControl, ReentrancyGuard { using SafeERC20 for IERC20; uint256 constant WEI6 = 10 ** 6; uint8 constant SQUARE = 2; uint8 constant MAX_OFFERS_IN_TX = 200; uint16 constant THREE_YEARS = 1095; uint256 constant TEN_PERCENT = WEI6 / 100; uint8 constant OFFER_BUY = 1; uint8 constant OFFER_SELL = 2; // Status uint8 constant STATUS_OFFER_OPEN = 1; uint8 constant STATUS_OFFER_FILLED = 2; uint8 constant STATUS_OFFER_CANCELLED = 3; uint8 constant STATUS_OFFER_SETTLE_FILLED = 4; uint8 constant STATUS_OFFER_SETTLE_CANCELLED = 5; uint8 constant STATUS_TOKEN_ACTIVE = 1; uint8 constant STATUS_TOKEN_INACTIVE = 2; uint8 constant STATUS_TOKEN_SETTLE = 3; uint256 constant INITIAL_SETTLED_FEE = WEI6 / 200; // 0.5% uint256 constant INITIAL_REFUND_FEE = WEI6 / 200; // 0.5% uint256 constant INITIAL_CLIMB_RATE = WEI6 / 40000; // 25% bytes32 constant OPERATOR_ROLE = keccak256("OPERATOR_ROLE"); bytes32 constant CHAIN_MANAGER_ROLE = keccak256("CHAIN_MANAGER_ROLE"); bytes32 constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); IBlast immutable BLAST; /// @custom:storage-location erc7201:gibble.xyz.PointsMarket struct MarketStorage { mapping(address => bool) acceptedTokens; mapping(bytes32 => Token) tokens; mapping(uint256 => Offer) offers; uint256 lastOfferId; Config config; } // keccak256(abi.encode(uint256(keccak256("gibble.xyz.PointsMarket")) - 1)) & ~bytes32(uint256(0xff)) bytes32 private constant MARKETSTORAGELOCATION = 0x8496807dd2bf40ef0449b1c8abc6a2a63c065c0593131743c641d6d91e9a6c00; function _getOwnStorage() private pure returns (MarketStorage storage $) { assembly { $.slot := MARKETSTORAGELOCATION } } // event event NewToken(bytes32 indexed tokenId, uint256 settleDuration); event NewOffer( uint256 indexed id, uint8 offerType, bytes32 tokenId, uint256 amount, uint256 value, uint256 collateral, address doer, uint256 chainId ); event TakeOffer(uint256 indexed id, address doer); event CancelOffer(uint256 indexed offerId, address doer); event SettleFilled( uint256 indexed offerId, uint256 amount, uint256 value, uint256 fee, address doer ); event SettleCancelled( uint256 indexed offerId, uint256 collateral, uint256 valueToBuyer, uint256 valueToSeller, uint256 collateralToDeduct, uint256 fee, address doer ); event UpdateConfig( address oldFeeWallet, uint256 oldFeeSettle, uint256 oldFeeRefund, uint256 oldPledgeRate, uint256 oldClimbRate, address newFeeWallet, uint256 newFeeSettle, uint256 newFeeRefund, uint256 newPledgeRate, uint256 newClimbRate ); event TokenToSettlePhase( bytes32 tokenId, address token, uint256 settleRate, uint256 settleTime ); event UpdateTokenStatus( bytes32 tokenId, uint8 oldValue, uint8 newValue ); event TokenForceCancelSettlePhase(bytes32 tokenId); constructor( address _operator, address _pauser, address _pointsOperator, address _chainManager, address _blastPointsAddress, address _blastAddress ) { _grantRole(DEFAULT_ADMIN_ROLE, _pauser); _grantRole(OPERATOR_ROLE, _operator); _grantRole(PAUSER_ROLE, _pauser); _grantRole(CHAIN_MANAGER_ROLE, _chainManager); // init value MarketStorage storage $ = _getOwnStorage(); $.config.pledgeRate = WEI6; // 1:1 $.config.feeWallet = _operator; $.config.feeSettle = INITIAL_SETTLED_FEE; // 0.5% $.config.feeRefund = INITIAL_REFUND_FEE; // 0.5% $.config.climbRate = INITIAL_CLIMB_RATE; // 25% BLAST = IBlast(_blastAddress); BLAST.configureClaimableGas(); BLAST.configureClaimableYield(); IBlastPoints(_blastPointsAddress).configurePointsOperator(_pointsOperator); } /////////////////////////// ////// SYSTEM ACTION ////// /////////////////////////// //claim yield that was generated by the contract and send it to the disburse contract function claimAllYield(address disburser) external onlyRole(OPERATOR_ROLE) { (uint256 yield) = BLAST.claimAllYield(address(this), disburser); require(yield > 0, "Y0"); } function claimMyContractsGas() external onlyRole(OPERATOR_ROLE) { (uint256 gasYield) = BLAST.claimAllGas(address(this), msg.sender); require(gasYield > 0, "G0"); } function setGovernor(address _gov) external onlyRole(OPERATOR_ROLE) { BLAST.configureGovernor(_gov); } function setYieldMode() external onlyRole(OPERATOR_ROLE) { BLAST.configureClaimableYield(); } function pause() external onlyRole(PAUSER_ROLE) { _pause(); } function unpause() external onlyRole(PAUSER_ROLE) { _unpause(); } function createToken(bytes32 tokenId, uint48 settleDuration) external onlyRole(OPERATOR_ROLE) { MarketStorage storage $ = _getOwnStorage(); require(settleDuration >= 1 days, "S0"); require($.tokens[tokenId].status == 0, "T0"); Token storage _token = $.tokens[tokenId]; _token.settleDuration = settleDuration; _token.status = STATUS_TOKEN_ACTIVE; emit NewToken(tokenId, settleDuration); } function tokenToSettlePhase( bytes32 tokenId, address tokenAddress, uint152 settleRate ) external onlyRole(OPERATOR_ROLE) { MarketStorage storage $ = _getOwnStorage(); Token storage _token = $.tokens[tokenId]; require(tokenAddress != address(0), "T1"); require(settleRate > 0, "S1"); require( _token.status == STATUS_TOKEN_ACTIVE || _token.status == STATUS_TOKEN_INACTIVE, "T2" ); _token.token = tokenAddress; _token.settleRate = settleRate; // update token settle status & time _token.status = STATUS_TOKEN_SETTLE; _token.settleTime = uint48(block.timestamp); emit TokenToSettlePhase(tokenId, tokenAddress, settleRate, block.timestamp); } function tokenToggleActivation(bytes32 tokenId) external onlyRole(OPERATOR_ROLE) { MarketStorage storage $ = _getOwnStorage(); Token storage _token = $.tokens[tokenId]; uint8 fromStatus = _token.status; uint8 toStatus = fromStatus == STATUS_TOKEN_ACTIVE ? STATUS_TOKEN_INACTIVE : STATUS_TOKEN_ACTIVE; _token.status = toStatus; emit UpdateTokenStatus(tokenId, fromStatus, toStatus); } // in case wrong setting for settle function tokenForceCancelSettlePhase(bytes32 tokenId) external onlyRole(OPERATOR_ROLE) { MarketStorage storage $ = _getOwnStorage(); Token storage _token = $.tokens[tokenId]; require(_token.status == STATUS_TOKEN_SETTLE, "T2"); _token.status = STATUS_TOKEN_INACTIVE; emit TokenForceCancelSettlePhase(tokenId); } // force cancel offer - by Operator // refund for both seller & buyer function forceCancelOffer(uint256 offerId) public nonReentrant onlyRole(OPERATOR_ROLE) { MarketStorage storage $ = _getOwnStorage(); Offer storage offer = $.offers[offerId]; require( offer.status == STATUS_OFFER_OPEN || offer.status == STATUS_OFFER_FILLED, "O0" ); // calculate refund uint256 buyerRefundValue = 0; uint256 sellerRefundValue = 0; address buyer = address(0); address seller = address(0); if (offer.offerType == OFFER_BUY) { buyerRefundValue = offer.value; // must refund buyer = offer.offeredBy; if (offer.status == STATUS_OFFER_FILLED) { // only when offer filled sellerRefundValue = offer.collateral; seller = offer.filledBy; } } else { sellerRefundValue = offer.collateral; // must refund seller = offer.offeredBy; if (offer.status == STATUS_OFFER_FILLED) { // only when offer filled buyerRefundValue = offer.value; buyer = offer.filledBy; } } // refund ETH if (buyerRefundValue > 0 && buyer != address(0)) { (bool success,) = buyer.call{value: buyerRefundValue}(""); require(success, "TFB"); } if (sellerRefundValue > 0 && seller != address(0)) { (bool success,) = seller.call{value: sellerRefundValue}(""); require(success, "TFS"); } offer.status = STATUS_OFFER_CANCELLED; emit CancelOffer(offerId, msg.sender); } function newOfferETH( uint8 offerType, bytes32 tokenId, uint256 amount, uint256 value, uint256 chainId ) external payable nonReentrant whenNotPaused { MarketStorage storage $ = _getOwnStorage(); Token storage token = $.tokens[tokenId]; require(token.status == STATUS_TOKEN_ACTIVE, "T2"); require(amount > 0 && value > 0, "IAV"); // collateral uint256 collateral = (value * $.config.pledgeRate) / WEI6; uint256 _ethAmount = offerType == OFFER_BUY ? value : collateral; require(_ethAmount <= msg.value, "IF"); // create new offer _newOffer(offerType, tokenId, amount, value, collateral, chainId); } function takeOfferETH(uint256 offerId) external payable nonReentrant { MarketStorage storage $ = _getOwnStorage(); Offer storage offer = $.offers[offerId]; Token storage token = $.tokens[offer.tokenId]; // verify existed offer & still open require(offer.amount > 0, "O1"); require(offer.status == STATUS_OFFER_OPEN, "O2"); require(token.status == STATUS_TOKEN_ACTIVE, "T2"); // transfer exchange token to fill order uint256 _ethAmount; if (offer.offerType == OFFER_BUY) { _ethAmount = offer.collateral; // fill collateral to sell } else { _ethAmount = offer.value; } require(msg.value >= _ethAmount, "IF"); // update offer status offer.status = STATUS_OFFER_FILLED; offer.filledBy = msg.sender; emit TakeOffer(offerId, msg.sender); } // close unfullfilled offer - by Offer owner function cancelOffer(uint256 offerId) public nonReentrant { MarketStorage storage $ = _getOwnStorage(); Offer storage offer = $.offers[offerId]; require(msg.sender == offer.offeredBy, "O3"); require(offer.status == STATUS_OFFER_OPEN, "O2"); // calculate refund uint256 refundValue; if (offer.offerType == OFFER_BUY) { refundValue = offer.value; } else { refundValue = offer.collateral; } uint256 refundFee = (refundValue * $.config.feeRefund) / WEI6; refundValue -= refundFee; // refund ETH (bool success1,) = offer.offeredBy.call{value: refundValue}(""); (bool success2,) = $.config.feeWallet.call{value: refundFee}(""); require(success1 && success2, "TFF"); offer.status = STATUS_OFFER_CANCELLED; emit CancelOffer(offerId, msg.sender); } function settleFilled(uint256 offerId) public nonReentrant { MarketStorage storage $ = _getOwnStorage(); Offer storage offer = $.offers[offerId]; Token storage token = $.tokens[offer.tokenId]; // check condition require(token.token != address(0), "T5"); address buyer = offer.offerType == OFFER_BUY ? offer.offeredBy : offer.filledBy; address seller = offer.offerType == OFFER_SELL ? offer.offeredBy : offer.filledBy; require(seller == msg.sender, "SO"); // transfer token to buyer IERC20 iToken = IERC20(token.token); // calculate token amount base on it's decimals uint256 tokenAmount = (offer.amount * token.settleRate) / WEI6; // transfer token from seller to buyer iToken.safeTransferFrom(msg.sender, buyer, tokenAmount); _settleFilled(offerId, tokenAmount, seller); } // settle order - from an other child chain either L1/L2 function settleFilledXChain( uint256 offerId, uint256 chainId, address tokenAddress, uint256 tokenAmount, address sourceChainSeller ) external nonReentrant onlyRole(CHAIN_MANAGER_ROLE) { MarketStorage storage $ = _getOwnStorage(); Offer storage offer = $.offers[offerId]; Token storage token = $.tokens[offer.tokenId]; uint256 requiredTokenAmount = (offer.amount * token.settleRate) / WEI6; // check conditions require(offer.chainId == chainId, "C0"); require(token.token == tokenAddress, "T1"); require(requiredTokenAmount == tokenAmount, "T7"); address seller = offer.offerType == OFFER_SELL ? offer.offeredBy : offer.filledBy; require(seller == sourceChainSeller, "SO"); _settleFilled(offerId, tokenAmount, seller); } // cancel unsettled order by token buyer or by operator after fullfill time frame // token seller lose collateral to token buyer function settleCancelled(uint256 offerId) public nonReentrant { MarketStorage storage $ = _getOwnStorage(); Offer storage offer = $.offers[offerId]; Token storage token = $.tokens[offer.tokenId]; // check condition require(token.status == STATUS_TOKEN_SETTLE, "T2"); require(block.timestamp > token.settleTime + token.settleDuration, "S4"); require(offer.status == STATUS_OFFER_FILLED, "O0"); address buyer = offer.offerType == OFFER_BUY ? offer.offeredBy : offer.filledBy; address seller = offer.offerType == OFFER_BUY ? offer.filledBy : offer.offeredBy; require(buyer == msg.sender || hasRole(OPERATOR_ROLE, msg.sender), "BOO"); uint valueMinusFees = offer.value - (offer.value * $.config.feeSettle) / WEI6; //added check to ensure that the time to deduct is not greater than the settleTime + settleDuration uint timeToDeductTill = (block.timestamp > token.settleTime + token.settleDuration) ? token.settleTime + token.settleDuration : block.timestamp; uint256 collateralToDeduct = calculate(valueMinusFees, $.config.climbRate, ((timeToDeductTill - offer.filledTime) / 1 days)); // multiply by 2 to account for both buyer and seller uint256 settleFeeTotal = ((collateralToDeduct * $.config.feeSettle) * 2) / WEI6; uint256 settleFeeIndividual = settleFeeTotal / 2; uint256 totalValueToBuyer = (offer.value + collateralToDeduct) - settleFeeIndividual; uint256 totalValueToSeller = (offer.value - collateralToDeduct) - settleFeeIndividual; // by ETH (bool success1,) = buyer.call{value: totalValueToBuyer}(""); (bool success2,) = $.config.feeWallet.call{value: settleFeeTotal}(""); (bool success3,) = seller.call{value: totalValueToSeller}(""); require(success1 && success2 && success3, "TFF"); offer.status = STATUS_OFFER_SETTLE_CANCELLED; emit SettleCancelled( offerId, offer.collateral, totalValueToBuyer, totalValueToSeller, collateralToDeduct, settleFeeIndividual, msg.sender ); } // create a collateral liquidiation curve function calculate( uint256 collateralInETH, uint256 climbRate, uint256 daysPassed ) public pure returns (uint256) { require(collateralInETH > 0, "C1"); require(climbRate > 0, "C2"); require(daysPassed > 0 && daysPassed <= THREE_YEARS, "D0"); // 3 years as max duration uint256 cd = (climbRate * (daysPassed ** SQUARE)); uint256 cdNext = 100 + cd; uint256 result = (collateralInETH * cd) / cdNext; return result; } // Batch actions function forceCancelOffers(uint256[] memory offerIds) external { require(offerIds.length <= MAX_OFFERS_IN_TX, "O4"); for (uint256 i = 0; i < offerIds.length; i++) { forceCancelOffer(offerIds[i]); } } function cancelOffers(uint256[] memory offerIds) external { require(offerIds.length <= MAX_OFFERS_IN_TX, "O4"); for (uint256 i = 0; i < offerIds.length; i++) { cancelOffer(offerIds[i]); } } function settleFilleds(uint256[] memory offerIds) external { require(offerIds.length <= MAX_OFFERS_IN_TX, "O4"); for (uint256 i = 0; i < offerIds.length; i++) { settleFilled(offerIds[i]); } } function settleCancelleds(uint256[] memory offerIds) external { require(offerIds.length <= MAX_OFFERS_IN_TX, "O4"); for (uint256 i = 0; i < offerIds.length; i++) { settleCancelled(offerIds[i]); } } /////////////////////////// ///////// SETTER ////////// /////////////////////////// function updateConfig( address feeWallet_, uint256 feeSettle_, uint256 feeRefund_, uint256 pledgeRate_, uint256 climbRate_ ) external onlyRole(OPERATOR_ROLE) { MarketStorage storage $ = _getOwnStorage(); require(feeWallet_ != address(0), "IA"); require(feeSettle_ <= TEN_PERCENT, "SF"); require(feeRefund_ <= TEN_PERCENT, "CF"); emit UpdateConfig( $.config.feeWallet, $.config.feeSettle, $.config.feeRefund, $.config.pledgeRate, $.config.climbRate, feeWallet_, feeSettle_, feeRefund_, pledgeRate_, climbRate_ ); // update $.config.feeWallet = feeWallet_; $.config.feeSettle = feeSettle_; $.config.feeRefund = feeRefund_; $.config.pledgeRate = pledgeRate_; $.config.climbRate = climbRate_; } /////////////////////////// ///////// GETTER ////////// /////////////////////////// function offers(uint256 id) external view returns (Offer memory) { MarketStorage storage $ = _getOwnStorage(); return $.offers[id]; } function feeSettle() external view returns (uint256) { MarketStorage storage $ = _getOwnStorage(); return $.config.feeSettle; } function timeToLiquidate(bytes32 id) external view returns (bool) { MarketStorage storage $ = _getOwnStorage(); Token storage token = $.tokens[id]; if(token.status == STATUS_TOKEN_SETTLE) return block.timestamp > token.settleTime + token.settleDuration; return false; } /////////////////////////// //////// INTERNAL ///////// /////////////////////////// function _newOffer( uint8 offerType, bytes32 tokenId, uint256 amount, uint256 value, uint256 collateral, uint256 chainId ) internal { MarketStorage storage $ = _getOwnStorage(); // create new offer $.offers[++$.lastOfferId] = Offer( offerType, tokenId, amount, value, collateral, STATUS_OFFER_OPEN, msg.sender, address(0), block.timestamp, chainId ); emit NewOffer($.lastOfferId, offerType, tokenId, amount, value, collateral, msg.sender, chainId); } function _settleFilled( uint256 offerId, uint256 tokenAmount, address seller ) internal { MarketStorage storage $ = _getOwnStorage(); Offer storage offer = $.offers[offerId]; Token storage token = $.tokens[offer.tokenId]; require(token.status == STATUS_TOKEN_SETTLE, "T2"); require(token.settleRate > 0, "T6"); require(offer.status == STATUS_OFFER_FILLED, "O2"); require(block.timestamp > token.settleTime, "S2"); require(block.timestamp < token.settleTime + token.settleDuration, "S3"); // transfer liquid to seller uint256 settleFee = (offer.value * $.config.feeSettle) / WEI6; uint256 totalValue = offer.value + offer.collateral - settleFee; (bool success1,) = seller.call{value: totalValue}(""); (bool success2,) = $.config.feeWallet.call{value: settleFee}(""); require(success1 && success2, "TFF"); offer.status = STATUS_OFFER_SETTLE_FILLED; emit SettleFilled(offerId, tokenAmount, totalValue, settleFee, seller); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol) pragma solidity ^0.8.20; import {IAccessControl} from "./IAccessControl.sol"; import {Context} from "../utils/Context.sol"; import {ERC165} from "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address account => bool) hasRole; bytes32 adminRole; } mapping(bytes32 role => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual returns (bool) { return _roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { if (!hasRole(role, account)) { _roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { if (hasRole(role, account)) { _roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev The `account` is missing a role. */ error AccessControlUnauthorizedAccount(address account, bytes32 neededRole); /** * @dev The caller of a function is not the expected one. * * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}. */ error AccessControlBadConfirmation(); /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; import {IERC20Permit} from "../extensions/IERC20Permit.sol"; import {Address} from "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev An operation with an ERC20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data); if (returndata.length != 0 && !abi.decode(returndata, (bool))) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { bool private _paused; /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); /** * @dev The operation failed because the contract is paused. */ error EnforcedPause(); /** * @dev The operation failed because the contract is not paused. */ error ExpectedPause(); /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { if (paused()) { revert EnforcedPause(); } } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { if (!paused()) { revert ExpectedPause(); } } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol) pragma solidity ^0.8.20; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant NOT_ENTERED = 1; uint256 private constant ENTERED = 2; uint256 private _status; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); constructor() { _status = NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be NOT_ENTERED if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == ENTERED; } }
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.24; enum YieldMode { AUTOMATIC, VOID, CLAIMABLE } enum GasMode { VOID, CLAIMABLE } interface IBlast { function configureClaimableGas() external; function configureClaimableYield() external; function configureGovernor(address _governor) external; function claimAllGas(address contractAddress, address recipient) external returns (uint256); // claim yield function claimYield(address contractAddress, address recipientOfYield, uint256 amount) external returns (uint256); function claimAllYield(address contractAddress, address recipientOfYield) external returns (uint256); }
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.24; interface IBlastPoints { function configurePointsOperator(address operator) external; }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"address","name":"_pauser","type":"address"},{"internalType":"address","name":"_pointsOperator","type":"address"},{"internalType":"address","name":"_chainManager","type":"address"},{"internalType":"address","name":"_blastPointsAddress","type":"address"},{"internalType":"address","name":"_blastAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"offerId","type":"uint256"},{"indexed":false,"internalType":"address","name":"doer","type":"address"}],"name":"CancelOffer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"offerType","type":"uint8"},{"indexed":false,"internalType":"bytes32","name":"tokenId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"collateral","type":"uint256"},{"indexed":false,"internalType":"address","name":"doer","type":"address"},{"indexed":false,"internalType":"uint256","name":"chainId","type":"uint256"}],"name":"NewOffer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"tokenId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"settleDuration","type":"uint256"}],"name":"NewToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"offerId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"collateral","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"valueToBuyer","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"valueToSeller","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"collateralToDeduct","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"},{"indexed":false,"internalType":"address","name":"doer","type":"address"}],"name":"SettleCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"offerId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"},{"indexed":false,"internalType":"address","name":"doer","type":"address"}],"name":"SettleFilled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"doer","type":"address"}],"name":"TakeOffer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"tokenId","type":"bytes32"}],"name":"TokenForceCancelSettlePhase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"tokenId","type":"bytes32"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"settleRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"settleTime","type":"uint256"}],"name":"TokenToSettlePhase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldFeeWallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"oldFeeSettle","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldFeeRefund","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldPledgeRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldClimbRate","type":"uint256"},{"indexed":false,"internalType":"address","name":"newFeeWallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"newFeeSettle","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newFeeRefund","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPledgeRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newClimbRate","type":"uint256"}],"name":"UpdateConfig","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"tokenId","type":"bytes32"},{"indexed":false,"internalType":"uint8","name":"oldValue","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"newValue","type":"uint8"}],"name":"UpdateTokenStatus","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"collateralInETH","type":"uint256"},{"internalType":"uint256","name":"climbRate","type":"uint256"},{"internalType":"uint256","name":"daysPassed","type":"uint256"}],"name":"calculate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"offerId","type":"uint256"}],"name":"cancelOffer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"offerIds","type":"uint256[]"}],"name":"cancelOffers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"disburser","type":"address"}],"name":"claimAllYield","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimMyContractsGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"tokenId","type":"bytes32"},{"internalType":"uint48","name":"settleDuration","type":"uint48"}],"name":"createToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeSettle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"offerId","type":"uint256"}],"name":"forceCancelOffer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"offerIds","type":"uint256[]"}],"name":"forceCancelOffers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"offerType","type":"uint8"},{"internalType":"bytes32","name":"tokenId","type":"bytes32"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"chainId","type":"uint256"}],"name":"newOfferETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"offers","outputs":[{"components":[{"internalType":"uint8","name":"offerType","type":"uint8"},{"internalType":"bytes32","name":"tokenId","type":"bytes32"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"collateral","type":"uint256"},{"internalType":"uint256","name":"status","type":"uint256"},{"internalType":"address","name":"offeredBy","type":"address"},{"internalType":"address","name":"filledBy","type":"address"},{"internalType":"uint256","name":"filledTime","type":"uint256"},{"internalType":"uint256","name":"chainId","type":"uint256"}],"internalType":"struct Offer","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gov","type":"address"}],"name":"setGovernor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setYieldMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"offerId","type":"uint256"}],"name":"settleCancelled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"offerIds","type":"uint256[]"}],"name":"settleCancelleds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"offerId","type":"uint256"}],"name":"settleFilled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"offerId","type":"uint256"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"address","name":"sourceChainSeller","type":"address"}],"name":"settleFilledXChain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"offerIds","type":"uint256[]"}],"name":"settleFilleds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"offerId","type":"uint256"}],"name":"takeOfferETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"timeToLiquidate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"tokenId","type":"bytes32"}],"name":"tokenForceCancelSettlePhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"tokenId","type":"bytes32"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint152","name":"settleRate","type":"uint152"}],"name":"tokenToSettlePhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"tokenId","type":"bytes32"}],"name":"tokenToggleActivation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeWallet_","type":"address"},{"internalType":"uint256","name":"feeSettle_","type":"uint256"},{"internalType":"uint256","name":"feeRefund_","type":"uint256"},{"internalType":"uint256","name":"pledgeRate_","type":"uint256"},{"internalType":"uint256","name":"climbRate_","type":"uint256"}],"name":"updateConfig","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620065c2380380620065c2833981810160405281019062000037919062000549565b60008060006101000a81548160ff02191690831515021790555060016002819055506200006e6000801b866200034160201b60201c565b50620000a17f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929876200034160201b60201c565b50620000d47f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a866200034160201b60201c565b50620001077f23878d7036183277afdccb9a63f858828e2c3714b28756783a9729affff30955846200034160201b60201c565b5060006200011a6200044460201b60201c565b9050620f42408160040160000181905550868160040160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c8620f42406200018391906200061e565b816004016002018190555060c8620f4240620001a091906200061e565b8160040160010181905550619c40620f4240620001be91906200061e565b81600401600301819055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff16634e606c476040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156200024857600080fd5b505af11580156200025d573d6000803e3d6000fd5b5050505060805173ffffffffffffffffffffffffffffffffffffffff1663f098767a6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620002ac57600080fd5b505af1158015620002c1573d6000803e3d6000fd5b505050508273ffffffffffffffffffffffffffffffffffffffff166336b91f2b866040518263ffffffff1660e01b815260040162000300919062000667565b600060405180830381600087803b1580156200031b57600080fd5b505af115801562000330573d6000803e3d6000fd5b505050505050505050505062000684565b60006200035583836200046c60201b60201c565b6200043957600180600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003d5620004d760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4600190506200043e565b600090505b92915050565b60007f8496807dd2bf40ef0449b1c8abc6a2a63c065c0593131743c641d6d91e9a6c00905090565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200051182620004e4565b9050919050565b620005238162000504565b81146200052f57600080fd5b50565b600081519050620005438162000518565b92915050565b60008060008060008060c08789031215620005695762000568620004df565b5b60006200057989828a0162000532565b96505060206200058c89828a0162000532565b95505060406200059f89828a0162000532565b9450506060620005b289828a0162000532565b9350506080620005c589828a0162000532565b92505060a0620005d889828a0162000532565b9150509295509295509295565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006200062b82620005e5565b91506200063883620005e5565b9250826200064b576200064a620005ef565b5b828204905092915050565b620006618162000504565b82525050565b60006020820190506200067e600083018462000656565b92915050565b608051615f0d620006b560003960008181610832015281816119350152818161241d015261252f0152615f0d6000f3fe6080604052600436106101f95760003560e01c806376fbc5441161010d578063aaab596a116100a0578063e4cb62c01161006f578063e4cb62c0146106a9578063e53d71fb146106d2578063e97cf883146106fd578063ef706adf1461073a578063f1ee8fdd14610763576101f9565b8063aaab596a14610605578063c2d94aec1461062e578063c42cf53514610657578063d547741f14610680576101f9565b80638a72ea6a116100dc5780638a72ea6a146105445780638ef225531461058157806391d148541461059d578063a217fddf146105da576101f9565b806376fbc544146104d157806377d5d2dc146104ed5780638456cb591461050457806386aa7db01461051b576101f9565b80632f2ff15d116101905780635c975abb1161015f5780635c975abb14610402578063627be0d71461042d57806363b7e980146104565780636a951f201461047f5780637400f52d146104a8576101f9565b80632f2ff15d1461037057806336568abe146103995780633f4ba83a146103c25780634ae25a86146103d9576101f9565b806323f9b10a116101cc57806323f9b10a146102a4578063248a9ca3146102e157806328c8c85a1461031e5780632a0979b414610347576101f9565b806301ffc9a7146101fe5780630b20f4e91461023b57806317b137ba146102525780631f4846d81461027b575b600080fd5b34801561020a57600080fd5b50610225600480360381019061022091906140e3565b61078c565b604051610232919061412b565b60405180910390f35b34801561024757600080fd5b50610250610806565b005b34801561025e57600080fd5b50610279600480360381019061027491906142d5565b6108b3565b005b34801561028757600080fd5b506102a2600480360381019061029d91906142d5565b61093b565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190614354565b6109c3565b6040516102d8919061412b565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190614354565b610a5f565b6040516103159190614390565b60405180910390f35b34801561032a57600080fd5b50610345600480360381019061034091906143ab565b610a7f565b005b34801561035357600080fd5b5061036e60048036038101906103699190614436565b610e6c565b005b34801561037c57600080fd5b50610397600480360381019061039291906144b1565b611155565b005b3480156103a557600080fd5b506103c060048036038101906103bb91906144b1565b611177565b005b3480156103ce57600080fd5b506103d76111f2565b005b3480156103e557600080fd5b5061040060048036038101906103fb91906142d5565b611227565b005b34801561040e57600080fd5b506104176112af565b604051610424919061412b565b60405180910390f35b34801561043957600080fd5b50610454600480360381019061044f91906144f1565b6112c5565b005b34801561046257600080fd5b5061047d600480360381019061047891906142d5565b611519565b005b34801561048b57600080fd5b506104a660048036038101906104a19190614354565b6115a1565b005b3480156104b457600080fd5b506104cf60048036038101906104ca9190614354565b611682565b005b6104eb60048036038101906104e691906145a5565b611786565b005b3480156104f957600080fd5b50610502611907565b005b34801561051057600080fd5b50610519611a1a565b005b34801561052757600080fd5b50610542600480360381019061053d919061466b565b611a4f565b005b34801561055057600080fd5b5061056b600480360381019061056691906143ab565b611cef565b60405161057891906147c6565b60405180910390f35b61059b600480360381019061059691906143ab565b611e3b565b005b3480156105a957600080fd5b506105c460048036038101906105bf91906144b1565b61207f565b6040516105d1919061412b565b60405180910390f35b3480156105e657600080fd5b506105ef6120ea565b6040516105fc9190614390565b60405180910390f35b34801561061157600080fd5b5061062c600480360381019061062791906143ab565b6120f1565b005b34801561063a57600080fd5b50610655600480360381019061065091906147e2565b6123ef565b005b34801561066357600080fd5b5061067e600480360381019061067991906147e2565b612503565b005b34801561068c57600080fd5b506106a760048036038101906106a291906144b1565b6125bc565b005b3480156106b557600080fd5b506106d060048036038101906106cb91906143ab565b6125de565b005b3480156106de57600080fd5b506106e7612c78565b6040516106f4919061481e565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190614839565b612c93565b604051610731919061481e565b60405180910390f35b34801561074657600080fd5b50610761600480360381019061075c91906143ab565b612dc4565b005b34801561076f57600080fd5b5061078a600480360381019061078591906148ca565b6130f7565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ff57506107fe82613283565b5b9050919050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929610830816132ed565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f098767a6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561089857600080fd5b505af11580156108ac573d6000803e3d6000fd5b5050505050565b60c860ff16815111156108fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f290614967565b60405180910390fd5b60005b81518110156109375761092a82828151811061091d5761091c614987565b5b60200260200101516120f1565b80806001019150506108fe565b5050565b60c860ff1681511115610983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097a90614967565b60405180910390fd5b60005b81518110156109bf576109b28282815181106109a5576109a4614987565b5b60200260200101516125de565b8080600101915050610986565b5050565b6000806109ce613301565b905060008160010160008581526020019081526020016000209050600360ff168160010160139054906101000a900460ff1660ff1603610a535780600001601a9054906101000a900465ffffffffffff168160000160149054906101000a900465ffffffffffff16610a4091906149e5565b65ffffffffffff16421192505050610a5a565b6000925050505b919050565b600060016000838152602001908152602001600020600101549050919050565b610a87613329565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929610ab1816132ed565b6000610abb613301565b905060008160020160008581526020019081526020016000209050600160ff1681600501541480610af35750600260ff168160050154145b610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2990614a6b565b60405180910390fd5b600080600080600160ff168560000160009054906101000a900460ff1660ff1603610bc857846003015493508460060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150600260ff16856005015403610bc357846004015492508460070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b610c35565b846004015492508460060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600260ff16856005015403610c3457846003015493508460070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505b5b600084118015610c725750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15610d255760008273ffffffffffffffffffffffffffffffffffffffff1685604051610c9d90614abc565b60006040518083038185875af1925050503d8060008114610cda576040519150601f19603f3d011682016040523d82523d6000602084013e610cdf565b606091505b5050905080610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a90614b1d565b60405180910390fd5b505b600083118015610d625750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b15610e155760008173ffffffffffffffffffffffffffffffffffffffff1684604051610d8d90614abc565b60006040518083038185875af1925050503d8060008114610dca576040519150601f19603f3d011682016040523d82523d6000602084013e610dcf565b606091505b5050905080610e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0a90614b89565b60405180910390fd5b505b600360ff168560050181905550877fc4caef7e3533865382e608c341581a5e2a1b0d1ac37b0aaf58023ccd4eedfd8e33604051610e529190614bb8565b60405180910390a250505050505050610e6961336d565b50565b610e74613329565b7f23878d7036183277afdccb9a63f858828e2c3714b28756783a9729affff30955610e9e816132ed565b6000610ea8613301565b90506000816002016000898152602001908152602001600020905060008260010160008360010154815260200190815260200160002090506000620f42408260010160009054906101000a900472ffffffffffffffffffffffffffffffffffffff1672ffffffffffffffffffffffffffffffffffffff168460020154610f2e9190614bd3565b610f389190614c44565b905088836009015414610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7790614cc1565b60405180910390fd5b8773ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611012576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100990614d2d565b60405180910390fd5b868114611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104b90614d99565b60405180910390fd5b6000600260ff168460000160009054906101000a900460ff1660ff161461109f578360070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166110c5565b8360060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112c90614e05565b60405180910390fd5b6111408b8983613377565b50505050505061114e61336d565b5050505050565b61115e82610a5f565b611167816132ed565b61117183836137a4565b50505050565b61117f613895565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111e3576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111ed828261389d565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61121c816132ed565b611224613990565b50565b60c860ff168151111561126f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126690614967565b60405180910390fd5b60005b81518110156112ab5761129e82828151811061129157611290614987565b5b6020026020010151612dc4565b8080600101915050611272565b5050565b60008060009054906101000a900460ff16905090565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9296112ef816132ed565b60006112f9613301565b9050600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff160361136a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136190614e71565b60405180910390fd5b6064620f424061137a9190614c44565b8611156113bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b390614edd565b60405180910390fd5b6064620f42406113cc9190614c44565b85111561140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590614f49565b60405180910390fd5b7f3de8bf4f71fc1012f16ad776ffda5a83ca47676880583f0d526db743a80d45658160040160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600401600201548360040160010154846004016000015485600401600301548c8c8c8c8c6040516114929a99989796959493929190614f69565b60405180910390a1868160040160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085816004016002018190555084816004016001018190555083816004016000018190555082816004016003018190555050505050505050565b60c860ff1681511115611561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155890614967565b60405180910390fd5b60005b815181101561159d5761159082828151811061158357611582614987565b5b6020026020010151610a7f565b8080600101915050611564565b5050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9296115cb816132ed565b60006115d5613301565b90506000816001016000858152602001908152602001600020905060008160010160139054906101000a900460ff1690506000600160ff168260ff161461161d576001611620565b60025b9050808360010160136101000a81548160ff021916908360ff1602179055507f853e3a954af7889419a6922a1bc350b54c6217937a4a2aed1176ed3f5a1dfb5286838360405161167293929190615014565b60405180910390a1505050505050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9296116ac816132ed565b60006116b6613301565b905060008160010160008581526020019081526020016000209050600360ff168160010160139054906101000a900460ff1660ff161461172b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172290615097565b60405180910390fd5b60028160010160136101000a81548160ff021916908360ff1602179055507f6ac56c552b96d07b41e8ee97200f747e7476892e0e2e53e9803199bfe014b0a8846040516117789190614390565b60405180910390a150505050565b61178e613329565b6117966139f2565b60006117a0613301565b905060008160010160008781526020019081526020016000209050600160ff168160010160139054906101000a900460ff1660ff1614611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c90615097565b60405180910390fd5b6000851180156118255750600084115b611864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185b90615103565b60405180910390fd5b6000620f424083600401600001548661187d9190614bd3565b6118879190614c44565b90506000600160ff168960ff161461189f57816118a1565b855b9050348111156118e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dd9061516f565b60405180910390fd5b6118f489898989868a613a33565b5050505061190061336d565b5050505050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929611931816132ed565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663954fa5ee30336040518363ffffffff1660e01b815260040161198e92919061518f565b6020604051808303816000875af11580156119ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d191906151cd565b905060008111611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d90615246565b60405180910390fd5b5050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a611a44816132ed565b611a4c613c2f565b50565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929611a79816132ed565b6000611a83613301565b905060008160010160008781526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0490614d2d565b60405180910390fd5b60008472ffffffffffffffffffffffffffffffffffffff1611611b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5c906152b2565b60405180910390fd5b600160ff168160010160139054906101000a900460ff1660ff161480611ba25750600260ff168160010160139054906101000a900460ff1660ff16145b611be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd890615097565b60405180910390fd5b848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838160010160006101000a81548172ffffffffffffffffffffffffffffffffffffff021916908372ffffffffffffffffffffffffffffffffffffff16021790555060038160010160136101000a81548160ff021916908360ff160217905550428160000160146101000a81548165ffffffffffff021916908365ffffffffffff1602179055507f973839ac031e9779c3158a52ae98cb3b0be8a378b1adc2b2ce2c14f89c81489586868642604051611cdf949392919061530d565b60405180910390a1505050505050565b611cf7613ff2565b6000611d01613301565b9050806002016000848152602001908152602001600020604051806101400160405290816000820160009054906101000a900460ff1660ff1660ff16815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160088201548152602001600982015481525050915050919050565b611e43613329565b6000611e4d613301565b90506000816002016000848152602001908152602001600020905060008260010160008360010154815260200190815260200160002090506000826002015411611ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec39061539e565b60405180910390fd5b600160ff16826005015414611f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0d9061540a565b60405180910390fd5b600160ff168160010160139054906101000a900460ff1660ff1614611f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6790615097565b60405180910390fd5b6000600160ff168360000160009054906101000a900460ff1660ff1603611f9d5782600401549050611fa5565b826003015490505b80341015611fe8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdf9061516f565b60405180910390fd5b600260ff168360050181905550338360070160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550847f6ae14ff42c59ec9566264aa2ee8dbabd9ed770da1db37e92e32e89a721a444b3336040516120689190614bb8565b60405180910390a25050505061207c61336d565b50565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b6120f9613329565b6000612103613301565b9050600081600201600084815260200190815260200160002090506000826001016000836001015481526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036121ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c590615476565b60405180910390fd5b6000600160ff168360000160009054906101000a900460ff1660ff1614612219578260070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661223f565b8260060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90506000600260ff168460000160009054906101000a900460ff1660ff161461228c578360070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166122b2565b8360060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612322576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231990614e05565b60405180910390fd5b60008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000620f42408560010160009054906101000a900472ffffffffffffffffffffffffffffffffffffff1672ffffffffffffffffffffffffffffffffffffff1687600201546123999190614bd3565b6123a39190614c44565b90506123d23385838573ffffffffffffffffffffffffffffffffffffffff16613c91909392919063ffffffff16565b6123dd888285613377565b505050505050506123ec61336d565b50565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929612419816132ed565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663860043b630856040518363ffffffff1660e01b815260040161247692919061518f565b6020604051808303816000875af1158015612495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b991906151cd565b9050600081116124fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f5906154e2565b60405180910390fd5b505050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92961252d816132ed565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663eb864698836040518263ffffffff1660e01b81526004016125869190614bb8565b600060405180830381600087803b1580156125a057600080fd5b505af11580156125b4573d6000803e3d6000fd5b505050505050565b6125c582610a5f565b6125ce816132ed565b6125d8838361389d565b50505050565b6125e6613329565b60006125f0613301565b9050600081600201600084815260200190815260200160002090506000826001016000836001015481526020019081526020016000209050600360ff168160010160139054906101000a900460ff1660ff1614612682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267990615097565b60405180910390fd5b80600001601a9054906101000a900465ffffffffffff168160000160149054906101000a900465ffffffffffff166126ba91906149e5565b65ffffffffffff164211612703576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fa9061554e565b60405180910390fd5b600260ff1682600501541461274d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274490614a6b565b60405180910390fd5b6000600160ff168360000160009054906101000a900460ff1660ff1614612798578260070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127be565b8260060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90506000600160ff168460000160009054906101000a900460ff1660ff161461280b578360060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612831565b8360070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16148061289357506128927f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9293361207f565b5b6128d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c9906155ba565b60405180910390fd5b6000620f4240866004016002015486600301546128ef9190614bd3565b6128f99190614c44565b856003015461290891906155da565b9050600084600001601a9054906101000a900465ffffffffffff168560000160149054906101000a900465ffffffffffff1661294491906149e5565b65ffffffffffff1642116129585742612999565b84600001601a9054906101000a900465ffffffffffff168560000160149054906101000a900465ffffffffffff1661299091906149e5565b65ffffffffffff165b905060006129cc838960040160030154620151808a60080154866129bd91906155da565b6129c79190614c44565b612c93565b90506000620f424060028a60040160020154846129e99190614bd3565b6129f39190614bd3565b6129fd9190614c44565b90506000600282612a0e9190614c44565b9050600081848b60030154612a23919061560e565b612a2d91906155da565b9050600082858c60030154612a4291906155da565b612a4c91906155da565b905060008973ffffffffffffffffffffffffffffffffffffffff1683604051612a7490614abc565b60006040518083038185875af1925050503d8060008114612ab1576040519150601f19603f3d011682016040523d82523d6000602084013e612ab6565b606091505b5050905060008d60040160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1686604051612b0790614abc565b60006040518083038185875af1925050503d8060008114612b44576040519150601f19603f3d011682016040523d82523d6000602084013e612b49565b606091505b5050905060008a73ffffffffffffffffffffffffffffffffffffffff1684604051612b7390614abc565b60006040518083038185875af1925050503d8060008114612bb0576040519150601f19603f3d011682016040523d82523d6000602084013e612bb5565b606091505b50509050828015612bc35750815b8015612bcc5750805b612c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c029061568e565b60405180910390fd5b600560ff168e600501819055508f7f3b2036a2e447fb85b6ab87bc16a88221edb7b371d4d660e139c7d7b08c8cb3258f6004015487878c8b33604051612c56969594939291906156ae565b60405180910390a2505050505050505050505050505050612c7561336d565b50565b600080612c83613301565b9050806004016002015491505090565b6000808411612cd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cce9061575b565b60405180910390fd5b60008311612d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d11906157c7565b60405180910390fd5b600082118015612d30575061044761ffff168211155b612d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6690615833565b60405180910390fd5b6000600283612d7e9190615986565b84612d899190614bd3565b90506000816064612d9a919061560e565b90506000818388612dab9190614bd3565b612db59190614c44565b90508093505050509392505050565b612dcc613329565b6000612dd6613301565b9050600081600201600084815260200190815260200160002090508060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7a90615a1d565b60405180910390fd5b600160ff16816005015414612ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec49061540a565b60405180910390fd5b6000600160ff168260000160009054906101000a900460ff1660ff1603612efa5781600301549050612f02565b816004015490505b6000620f4240846004016001015483612f1b9190614bd3565b612f259190614c44565b90508082612f3391906155da565b915060008360060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051612f7f90614abc565b60006040518083038185875af1925050503d8060008114612fbc576040519150601f19603f3d011682016040523d82523d6000602084013e612fc1565b606091505b5050905060008560040160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168360405161301290614abc565b60006040518083038185875af1925050503d806000811461304f576040519150601f19603f3d011682016040523d82523d6000602084013e613054565b606091505b505090508180156130625750805b6130a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130989061568e565b60405180910390fd5b600360ff168560050181905550867fc4caef7e3533865382e608c341581a5e2a1b0d1ac37b0aaf58023ccd4eedfd8e336040516130de9190614bb8565b60405180910390a25050505050506130f461336d565b50565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929613121816132ed565b600061312b613301565b9050620151808365ffffffffffff16101561317b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317290615a89565b60405180910390fd5b600081600101600086815260200190815260200160002060010160139054906101000a900460ff1660ff16146131e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131dd90615af5565b60405180910390fd5b600081600101600086815260200190815260200160002090508381600001601a6101000a81548165ffffffffffff021916908365ffffffffffff16021790555060018160010160136101000a81548160ff021916908360ff160217905550847f1da02fe9181848bf1b401dde762d155f0da084c24db69129a3c7479f970ddbcc856040516132749190615b46565b60405180910390a25050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6132fe816132f9613895565b613d13565b50565b60007f8496807dd2bf40ef0449b1c8abc6a2a63c065c0593131743c641d6d91e9a6c00905090565b6002805403613364576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028081905550565b6001600281905550565b6000613381613301565b9050600081600201600086815260200190815260200160002090506000826001016000836001015481526020019081526020016000209050600360ff168160010160139054906101000a900460ff1660ff1614613413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340a90615097565b60405180910390fd5b60008160010160009054906101000a900472ffffffffffffffffffffffffffffffffffffff1672ffffffffffffffffffffffffffffffffffffff161161348e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348590615bad565b60405180910390fd5b600260ff168260050154146134d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134cf9061540a565b60405180910390fd5b8060000160149054906101000a900465ffffffffffff1665ffffffffffff164211613538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352f90615c19565b60405180910390fd5b80600001601a9054906101000a900465ffffffffffff168160000160149054906101000a900465ffffffffffff1661357091906149e5565b65ffffffffffff1642106135b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b090615c85565b60405180910390fd5b6000620f4240846004016002015484600301546135d69190614bd3565b6135e09190614c44565b9050600081846004015485600301546135f9919061560e565b61360391906155da565b905060008673ffffffffffffffffffffffffffffffffffffffff168260405161362b90614abc565b60006040518083038185875af1925050503d8060008114613668576040519150601f19603f3d011682016040523d82523d6000602084013e61366d565b606091505b5050905060008660040160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16846040516136be90614abc565b60006040518083038185875af1925050503d80600081146136fb576040519150601f19603f3d011682016040523d82523d6000602084013e613700565b606091505b5050905081801561370e5750805b61374d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137449061568e565b60405180910390fd5b600460ff168660050181905550897f2b1a0733c12483858d171164709b0b59935e493143d5850558417f1b0476db398a85878c6040516137909493929190615ca5565b60405180910390a250505050505050505050565b60006137b0838361207f565b61388a57600180600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613827613895565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001905061388f565b600090505b92915050565b600033905090565b60006138a9838361207f565b156139855760006001600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613922613895565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a46001905061398a565b600090505b92915050565b613998613d64565b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6139db613895565b6040516139e89190614bb8565b60405180910390a1565b6139fa6112af565b15613a31576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6000613a3d613301565b90506040518061014001604052808860ff168152602001878152602001868152602001858152602001848152602001600160ff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001428152602001838152508160020160008360030160008154613ad090615cea565b919050819055815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e08201518160070160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101008201518160080155610120820151816009015590505080600301547fbc0e1731d435d82a9289444dc131750403a00202bb3be9109e73dc735fcf31a488888888883389604051613c1e9796959493929190615d32565b60405180910390a250505050505050565b613c376139f2565b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613c7a613895565b604051613c879190614bb8565b60405180910390a1565b613d0d848573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401613cc693929190615da1565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613da4565b50505050565b613d1d828261207f565b613d605780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401613d57929190615dd8565b60405180910390fd5b5050565b613d6c6112af565b613da2576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6000613dcf828473ffffffffffffffffffffffffffffffffffffffff16613e3b90919063ffffffff16565b90506000815114158015613df4575080806020019051810190613df29190615e2d565b155b15613e3657826040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401613e2d9190614bb8565b60405180910390fd5b505050565b6060613e4983836000613e51565b905092915050565b606081471015613e9857306040517fcd786059000000000000000000000000000000000000000000000000000000008152600401613e8f9190614bb8565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168486604051613ec19190615ec0565b60006040518083038185875af1925050503d8060008114613efe576040519150601f19603f3d011682016040523d82523d6000602084013e613f03565b606091505b5091509150613f13868383613f1e565b925050509392505050565b606082613f3357613f2e82613fad565b613fa5565b60008251148015613f5b575060008473ffffffffffffffffffffffffffffffffffffffff163b145b15613f9d57836040517f9996b315000000000000000000000000000000000000000000000000000000008152600401613f949190614bb8565b60405180910390fd5b819050613fa6565b5b9392505050565b600081511115613fc05780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604051806101400160405280600060ff1681526020016000801916815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6140c08161408b565b81146140cb57600080fd5b50565b6000813590506140dd816140b7565b92915050565b6000602082840312156140f9576140f8614081565b5b6000614107848285016140ce565b91505092915050565b60008115159050919050565b61412581614110565b82525050565b6000602082019050614140600083018461411c565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6141948261414b565b810181811067ffffffffffffffff821117156141b3576141b261415c565b5b80604052505050565b60006141c6614077565b90506141d2828261418b565b919050565b600067ffffffffffffffff8211156141f2576141f161415c565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61421b81614208565b811461422657600080fd5b50565b60008135905061423881614212565b92915050565b600061425161424c846141d7565b6141bc565b9050808382526020820190506020840283018581111561427457614273614203565b5b835b8181101561429d57806142898882614229565b845260208401935050602081019050614276565b5050509392505050565b600082601f8301126142bc576142bb614146565b5b81356142cc84826020860161423e565b91505092915050565b6000602082840312156142eb576142ea614081565b5b600082013567ffffffffffffffff81111561430957614308614086565b5b614315848285016142a7565b91505092915050565b6000819050919050565b6143318161431e565b811461433c57600080fd5b50565b60008135905061434e81614328565b92915050565b60006020828403121561436a57614369614081565b5b60006143788482850161433f565b91505092915050565b61438a8161431e565b82525050565b60006020820190506143a56000830184614381565b92915050565b6000602082840312156143c1576143c0614081565b5b60006143cf84828501614229565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614403826143d8565b9050919050565b614413816143f8565b811461441e57600080fd5b50565b6000813590506144308161440a565b92915050565b600080600080600060a0868803121561445257614451614081565b5b600061446088828901614229565b955050602061447188828901614229565b945050604061448288828901614421565b935050606061449388828901614229565b92505060806144a488828901614421565b9150509295509295909350565b600080604083850312156144c8576144c7614081565b5b60006144d68582860161433f565b92505060206144e785828601614421565b9150509250929050565b600080600080600060a0868803121561450d5761450c614081565b5b600061451b88828901614421565b955050602061452c88828901614229565b945050604061453d88828901614229565b935050606061454e88828901614229565b925050608061455f88828901614229565b9150509295509295909350565b600060ff82169050919050565b6145828161456c565b811461458d57600080fd5b50565b60008135905061459f81614579565b92915050565b600080600080600060a086880312156145c1576145c0614081565b5b60006145cf88828901614590565b95505060206145e08882890161433f565b94505060406145f188828901614229565b935050606061460288828901614229565b925050608061461388828901614229565b9150509295509295909350565b600072ffffffffffffffffffffffffffffffffffffff82169050919050565b61464881614620565b811461465357600080fd5b50565b6000813590506146658161463f565b92915050565b60008060006060848603121561468457614683614081565b5b60006146928682870161433f565b93505060206146a386828701614421565b92505060406146b486828701614656565b9150509250925092565b6146c78161456c565b82525050565b6146d68161431e565b82525050565b6146e581614208565b82525050565b6146f4816143f8565b82525050565b6101408201600082015161471160008501826146be565b50602082015161472460208501826146cd565b50604082015161473760408501826146dc565b50606082015161474a60608501826146dc565b50608082015161475d60808501826146dc565b5060a082015161477060a08501826146dc565b5060c082015161478360c08501826146eb565b5060e082015161479660e08501826146eb565b506101008201516147ab6101008501826146dc565b506101208201516147c06101208501826146dc565b50505050565b6000610140820190506147dc60008301846146fa565b92915050565b6000602082840312156147f8576147f7614081565b5b600061480684828501614421565b91505092915050565b61481881614208565b82525050565b6000602082019050614833600083018461480f565b92915050565b60008060006060848603121561485257614851614081565b5b600061486086828701614229565b935050602061487186828701614229565b925050604061488286828701614229565b9150509250925092565b600065ffffffffffff82169050919050565b6148a78161488c565b81146148b257600080fd5b50565b6000813590506148c48161489e565b92915050565b600080604083850312156148e1576148e0614081565b5b60006148ef8582860161433f565b9250506020614900858286016148b5565b9150509250929050565b600082825260208201905092915050565b7f4f34000000000000000000000000000000000000000000000000000000000000600082015250565b600061495160028361490a565b915061495c8261491b565b602082019050919050565b6000602082019050818103600083015261498081614944565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149f08261488c565b91506149fb8361488c565b9250828201905065ffffffffffff811115614a1957614a186149b6565b5b92915050565b7f4f30000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a5560028361490a565b9150614a6082614a1f565b602082019050919050565b60006020820190508181036000830152614a8481614a48565b9050919050565b600081905092915050565b50565b6000614aa6600083614a8b565b9150614ab182614a96565b600082019050919050565b6000614ac782614a99565b9150819050919050565b7f5446420000000000000000000000000000000000000000000000000000000000600082015250565b6000614b0760038361490a565b9150614b1282614ad1565b602082019050919050565b60006020820190508181036000830152614b3681614afa565b9050919050565b7f5446530000000000000000000000000000000000000000000000000000000000600082015250565b6000614b7360038361490a565b9150614b7e82614b3d565b602082019050919050565b60006020820190508181036000830152614ba281614b66565b9050919050565b614bb2816143f8565b82525050565b6000602082019050614bcd6000830184614ba9565b92915050565b6000614bde82614208565b9150614be983614208565b9250828202614bf781614208565b91508282048414831517614c0e57614c0d6149b6565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c4f82614208565b9150614c5a83614208565b925082614c6a57614c69614c15565b5b828204905092915050565b7f4330000000000000000000000000000000000000000000000000000000000000600082015250565b6000614cab60028361490a565b9150614cb682614c75565b602082019050919050565b60006020820190508181036000830152614cda81614c9e565b9050919050565b7f5431000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d1760028361490a565b9150614d2282614ce1565b602082019050919050565b60006020820190508181036000830152614d4681614d0a565b9050919050565b7f5437000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d8360028361490a565b9150614d8e82614d4d565b602082019050919050565b60006020820190508181036000830152614db281614d76565b9050919050565b7f534f000000000000000000000000000000000000000000000000000000000000600082015250565b6000614def60028361490a565b9150614dfa82614db9565b602082019050919050565b60006020820190508181036000830152614e1e81614de2565b9050919050565b7f4941000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e5b60028361490a565b9150614e6682614e25565b602082019050919050565b60006020820190508181036000830152614e8a81614e4e565b9050919050565b7f5346000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ec760028361490a565b9150614ed282614e91565b602082019050919050565b60006020820190508181036000830152614ef681614eba565b9050919050565b7f4346000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f3360028361490a565b9150614f3e82614efd565b602082019050919050565b60006020820190508181036000830152614f6281614f26565b9050919050565b600061014082019050614f7f600083018d614ba9565b614f8c602083018c61480f565b614f99604083018b61480f565b614fa6606083018a61480f565b614fb3608083018961480f565b614fc060a0830188614ba9565b614fcd60c083018761480f565b614fda60e083018661480f565b614fe861010083018561480f565b614ff661012083018461480f565b9b9a5050505050505050505050565b61500e8161456c565b82525050565b60006060820190506150296000830186614381565b6150366020830185615005565b6150436040830184615005565b949350505050565b7f5432000000000000000000000000000000000000000000000000000000000000600082015250565b600061508160028361490a565b915061508c8261504b565b602082019050919050565b600060208201905081810360008301526150b081615074565b9050919050565b7f4941560000000000000000000000000000000000000000000000000000000000600082015250565b60006150ed60038361490a565b91506150f8826150b7565b602082019050919050565b6000602082019050818103600083015261511c816150e0565b9050919050565b7f4946000000000000000000000000000000000000000000000000000000000000600082015250565b600061515960028361490a565b915061516482615123565b602082019050919050565b600060208201905081810360008301526151888161514c565b9050919050565b60006040820190506151a46000830185614ba9565b6151b16020830184614ba9565b9392505050565b6000815190506151c781614212565b92915050565b6000602082840312156151e3576151e2614081565b5b60006151f1848285016151b8565b91505092915050565b7f4730000000000000000000000000000000000000000000000000000000000000600082015250565b600061523060028361490a565b915061523b826151fa565b602082019050919050565b6000602082019050818103600083015261525f81615223565b9050919050565b7f5331000000000000000000000000000000000000000000000000000000000000600082015250565b600061529c60028361490a565b91506152a782615266565b602082019050919050565b600060208201905081810360008301526152cb8161528f565b9050919050565b6000819050919050565b60006152f76152f26152ed84614620565b6152d2565b614208565b9050919050565b615307816152dc565b82525050565b60006080820190506153226000830187614381565b61532f6020830186614ba9565b61533c60408301856152fe565b615349606083018461480f565b95945050505050565b7f4f31000000000000000000000000000000000000000000000000000000000000600082015250565b600061538860028361490a565b915061539382615352565b602082019050919050565b600060208201905081810360008301526153b78161537b565b9050919050565b7f4f32000000000000000000000000000000000000000000000000000000000000600082015250565b60006153f460028361490a565b91506153ff826153be565b602082019050919050565b60006020820190508181036000830152615423816153e7565b9050919050565b7f5435000000000000000000000000000000000000000000000000000000000000600082015250565b600061546060028361490a565b915061546b8261542a565b602082019050919050565b6000602082019050818103600083015261548f81615453565b9050919050565b7f5930000000000000000000000000000000000000000000000000000000000000600082015250565b60006154cc60028361490a565b91506154d782615496565b602082019050919050565b600060208201905081810360008301526154fb816154bf565b9050919050565b7f5334000000000000000000000000000000000000000000000000000000000000600082015250565b600061553860028361490a565b915061554382615502565b602082019050919050565b600060208201905081810360008301526155678161552b565b9050919050565b7f424f4f0000000000000000000000000000000000000000000000000000000000600082015250565b60006155a460038361490a565b91506155af8261556e565b602082019050919050565b600060208201905081810360008301526155d381615597565b9050919050565b60006155e582614208565b91506155f083614208565b9250828203905081811115615608576156076149b6565b5b92915050565b600061561982614208565b915061562483614208565b925082820190508082111561563c5761563b6149b6565b5b92915050565b7f5446460000000000000000000000000000000000000000000000000000000000600082015250565b600061567860038361490a565b915061568382615642565b602082019050919050565b600060208201905081810360008301526156a78161566b565b9050919050565b600060c0820190506156c3600083018961480f565b6156d0602083018861480f565b6156dd604083018761480f565b6156ea606083018661480f565b6156f7608083018561480f565b61570460a0830184614ba9565b979650505050505050565b7f4331000000000000000000000000000000000000000000000000000000000000600082015250565b600061574560028361490a565b91506157508261570f565b602082019050919050565b6000602082019050818103600083015261577481615738565b9050919050565b7f4332000000000000000000000000000000000000000000000000000000000000600082015250565b60006157b160028361490a565b91506157bc8261577b565b602082019050919050565b600060208201905081810360008301526157e0816157a4565b9050919050565b7f4430000000000000000000000000000000000000000000000000000000000000600082015250565b600061581d60028361490a565b9150615828826157e7565b602082019050919050565b6000602082019050818103600083015261584c81615810565b9050919050565b60008160011c9050919050565b6000808291508390505b60018511156158aa57808604811115615886576158856149b6565b5b60018516156158955780820291505b80810290506158a385615853565b945061586a565b94509492505050565b6000826158c3576001905061597f565b816158d1576000905061597f565b81600181146158e757600281146158f157615920565b600191505061597f565b60ff841115615903576159026149b6565b5b8360020a91508482111561591a576159196149b6565b5b5061597f565b5060208310610133831016604e8410600b84101617156159555782820a9050838111156159505761594f6149b6565b5b61597f565b6159628484846001615860565b92509050818404811115615979576159786149b6565b5b81810290505b9392505050565b600061599182614208565b915061599c8361456c565b92506159c97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846158b3565b905092915050565b7f4f33000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a0760028361490a565b9150615a12826159d1565b602082019050919050565b60006020820190508181036000830152615a36816159fa565b9050919050565b7f5330000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a7360028361490a565b9150615a7e82615a3d565b602082019050919050565b60006020820190508181036000830152615aa281615a66565b9050919050565b7f5430000000000000000000000000000000000000000000000000000000000000600082015250565b6000615adf60028361490a565b9150615aea82615aa9565b602082019050919050565b60006020820190508181036000830152615b0e81615ad2565b9050919050565b6000615b30615b2b615b268461488c565b6152d2565b614208565b9050919050565b615b4081615b15565b82525050565b6000602082019050615b5b6000830184615b37565b92915050565b7f5436000000000000000000000000000000000000000000000000000000000000600082015250565b6000615b9760028361490a565b9150615ba282615b61565b602082019050919050565b60006020820190508181036000830152615bc681615b8a565b9050919050565b7f5332000000000000000000000000000000000000000000000000000000000000600082015250565b6000615c0360028361490a565b9150615c0e82615bcd565b602082019050919050565b60006020820190508181036000830152615c3281615bf6565b9050919050565b7f5333000000000000000000000000000000000000000000000000000000000000600082015250565b6000615c6f60028361490a565b9150615c7a82615c39565b602082019050919050565b60006020820190508181036000830152615c9e81615c62565b9050919050565b6000608082019050615cba600083018761480f565b615cc7602083018661480f565b615cd4604083018561480f565b615ce16060830184614ba9565b95945050505050565b6000615cf582614208565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615d2757615d266149b6565b5b600182019050919050565b600060e082019050615d47600083018a615005565b615d546020830189614381565b615d61604083018861480f565b615d6e606083018761480f565b615d7b608083018661480f565b615d8860a0830185614ba9565b615d9560c083018461480f565b98975050505050505050565b6000606082019050615db66000830186614ba9565b615dc36020830185614ba9565b615dd0604083018461480f565b949350505050565b6000604082019050615ded6000830185614ba9565b615dfa6020830184614381565b9392505050565b615e0a81614110565b8114615e1557600080fd5b50565b600081519050615e2781615e01565b92915050565b600060208284031215615e4357615e42614081565b5b6000615e5184828501615e18565b91505092915050565b600081519050919050565b60005b83811015615e83578082015181840152602081019050615e68565b60008484015250505050565b6000615e9a82615e5a565b615ea48185614a8b565b9350615eb4818560208601615e65565b80840191505092915050565b6000615ecc8284615e8f565b91508190509291505056fea264697066735822122029c58aadb1b958cbd0342df1e43fea436b89f2cb7e40640f85f69ea6e7d4270064736f6c634300081800330000000000000000000000009b5c4f656375aecae5be67a0ba58bbd70cb3054d0000000000000000000000002d6d4cb45464212c08a530efed3c1d590accdda700000000000000000000000059dc594247860510dec31c3bbdf5f05ae777dfc5000000000000000000000000fe92cdf46ad1dc6c5d312eaf52f4292468929d4e0000000000000000000000002536fe9ab3f511540f2f9e2ec2a805005c3dd8000000000000000000000000004300000000000000000000000000000000000002
Deployed Bytecode
0x6080604052600436106101f95760003560e01c806376fbc5441161010d578063aaab596a116100a0578063e4cb62c01161006f578063e4cb62c0146106a9578063e53d71fb146106d2578063e97cf883146106fd578063ef706adf1461073a578063f1ee8fdd14610763576101f9565b8063aaab596a14610605578063c2d94aec1461062e578063c42cf53514610657578063d547741f14610680576101f9565b80638a72ea6a116100dc5780638a72ea6a146105445780638ef225531461058157806391d148541461059d578063a217fddf146105da576101f9565b806376fbc544146104d157806377d5d2dc146104ed5780638456cb591461050457806386aa7db01461051b576101f9565b80632f2ff15d116101905780635c975abb1161015f5780635c975abb14610402578063627be0d71461042d57806363b7e980146104565780636a951f201461047f5780637400f52d146104a8576101f9565b80632f2ff15d1461037057806336568abe146103995780633f4ba83a146103c25780634ae25a86146103d9576101f9565b806323f9b10a116101cc57806323f9b10a146102a4578063248a9ca3146102e157806328c8c85a1461031e5780632a0979b414610347576101f9565b806301ffc9a7146101fe5780630b20f4e91461023b57806317b137ba146102525780631f4846d81461027b575b600080fd5b34801561020a57600080fd5b50610225600480360381019061022091906140e3565b61078c565b604051610232919061412b565b60405180910390f35b34801561024757600080fd5b50610250610806565b005b34801561025e57600080fd5b50610279600480360381019061027491906142d5565b6108b3565b005b34801561028757600080fd5b506102a2600480360381019061029d91906142d5565b61093b565b005b3480156102b057600080fd5b506102cb60048036038101906102c69190614354565b6109c3565b6040516102d8919061412b565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190614354565b610a5f565b6040516103159190614390565b60405180910390f35b34801561032a57600080fd5b50610345600480360381019061034091906143ab565b610a7f565b005b34801561035357600080fd5b5061036e60048036038101906103699190614436565b610e6c565b005b34801561037c57600080fd5b50610397600480360381019061039291906144b1565b611155565b005b3480156103a557600080fd5b506103c060048036038101906103bb91906144b1565b611177565b005b3480156103ce57600080fd5b506103d76111f2565b005b3480156103e557600080fd5b5061040060048036038101906103fb91906142d5565b611227565b005b34801561040e57600080fd5b506104176112af565b604051610424919061412b565b60405180910390f35b34801561043957600080fd5b50610454600480360381019061044f91906144f1565b6112c5565b005b34801561046257600080fd5b5061047d600480360381019061047891906142d5565b611519565b005b34801561048b57600080fd5b506104a660048036038101906104a19190614354565b6115a1565b005b3480156104b457600080fd5b506104cf60048036038101906104ca9190614354565b611682565b005b6104eb60048036038101906104e691906145a5565b611786565b005b3480156104f957600080fd5b50610502611907565b005b34801561051057600080fd5b50610519611a1a565b005b34801561052757600080fd5b50610542600480360381019061053d919061466b565b611a4f565b005b34801561055057600080fd5b5061056b600480360381019061056691906143ab565b611cef565b60405161057891906147c6565b60405180910390f35b61059b600480360381019061059691906143ab565b611e3b565b005b3480156105a957600080fd5b506105c460048036038101906105bf91906144b1565b61207f565b6040516105d1919061412b565b60405180910390f35b3480156105e657600080fd5b506105ef6120ea565b6040516105fc9190614390565b60405180910390f35b34801561061157600080fd5b5061062c600480360381019061062791906143ab565b6120f1565b005b34801561063a57600080fd5b50610655600480360381019061065091906147e2565b6123ef565b005b34801561066357600080fd5b5061067e600480360381019061067991906147e2565b612503565b005b34801561068c57600080fd5b506106a760048036038101906106a291906144b1565b6125bc565b005b3480156106b557600080fd5b506106d060048036038101906106cb91906143ab565b6125de565b005b3480156106de57600080fd5b506106e7612c78565b6040516106f4919061481e565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190614839565b612c93565b604051610731919061481e565b60405180910390f35b34801561074657600080fd5b50610761600480360381019061075c91906143ab565b612dc4565b005b34801561076f57600080fd5b5061078a600480360381019061078591906148ca565b6130f7565b005b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ff57506107fe82613283565b5b9050919050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929610830816132ed565b7f000000000000000000000000430000000000000000000000000000000000000273ffffffffffffffffffffffffffffffffffffffff1663f098767a6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561089857600080fd5b505af11580156108ac573d6000803e3d6000fd5b5050505050565b60c860ff16815111156108fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f290614967565b60405180910390fd5b60005b81518110156109375761092a82828151811061091d5761091c614987565b5b60200260200101516120f1565b80806001019150506108fe565b5050565b60c860ff1681511115610983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097a90614967565b60405180910390fd5b60005b81518110156109bf576109b28282815181106109a5576109a4614987565b5b60200260200101516125de565b8080600101915050610986565b5050565b6000806109ce613301565b905060008160010160008581526020019081526020016000209050600360ff168160010160139054906101000a900460ff1660ff1603610a535780600001601a9054906101000a900465ffffffffffff168160000160149054906101000a900465ffffffffffff16610a4091906149e5565b65ffffffffffff16421192505050610a5a565b6000925050505b919050565b600060016000838152602001908152602001600020600101549050919050565b610a87613329565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929610ab1816132ed565b6000610abb613301565b905060008160020160008581526020019081526020016000209050600160ff1681600501541480610af35750600260ff168160050154145b610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2990614a6b565b60405180910390fd5b600080600080600160ff168560000160009054906101000a900460ff1660ff1603610bc857846003015493508460060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150600260ff16856005015403610bc357846004015492508460070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b610c35565b846004015492508460060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600260ff16856005015403610c3457846003015493508460070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505b5b600084118015610c725750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15610d255760008273ffffffffffffffffffffffffffffffffffffffff1685604051610c9d90614abc565b60006040518083038185875af1925050503d8060008114610cda576040519150601f19603f3d011682016040523d82523d6000602084013e610cdf565b606091505b5050905080610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a90614b1d565b60405180910390fd5b505b600083118015610d625750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b15610e155760008173ffffffffffffffffffffffffffffffffffffffff1684604051610d8d90614abc565b60006040518083038185875af1925050503d8060008114610dca576040519150601f19603f3d011682016040523d82523d6000602084013e610dcf565b606091505b5050905080610e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0a90614b89565b60405180910390fd5b505b600360ff168560050181905550877fc4caef7e3533865382e608c341581a5e2a1b0d1ac37b0aaf58023ccd4eedfd8e33604051610e529190614bb8565b60405180910390a250505050505050610e6961336d565b50565b610e74613329565b7f23878d7036183277afdccb9a63f858828e2c3714b28756783a9729affff30955610e9e816132ed565b6000610ea8613301565b90506000816002016000898152602001908152602001600020905060008260010160008360010154815260200190815260200160002090506000620f42408260010160009054906101000a900472ffffffffffffffffffffffffffffffffffffff1672ffffffffffffffffffffffffffffffffffffff168460020154610f2e9190614bd3565b610f389190614c44565b905088836009015414610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7790614cc1565b60405180910390fd5b8773ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611012576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100990614d2d565b60405180910390fd5b868114611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104b90614d99565b60405180910390fd5b6000600260ff168460000160009054906101000a900460ff1660ff161461109f578360070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166110c5565b8360060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112c90614e05565b60405180910390fd5b6111408b8983613377565b50505050505061114e61336d565b5050505050565b61115e82610a5f565b611167816132ed565b61117183836137a4565b50505050565b61117f613895565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111e3576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111ed828261389d565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61121c816132ed565b611224613990565b50565b60c860ff168151111561126f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126690614967565b60405180910390fd5b60005b81518110156112ab5761129e82828151811061129157611290614987565b5b6020026020010151612dc4565b8080600101915050611272565b5050565b60008060009054906101000a900460ff16905090565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9296112ef816132ed565b60006112f9613301565b9050600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff160361136a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136190614e71565b60405180910390fd5b6064620f424061137a9190614c44565b8611156113bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b390614edd565b60405180910390fd5b6064620f42406113cc9190614c44565b85111561140e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140590614f49565b60405180910390fd5b7f3de8bf4f71fc1012f16ad776ffda5a83ca47676880583f0d526db743a80d45658160040160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600401600201548360040160010154846004016000015485600401600301548c8c8c8c8c6040516114929a99989796959493929190614f69565b60405180910390a1868160040160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085816004016002018190555084816004016001018190555083816004016000018190555082816004016003018190555050505050505050565b60c860ff1681511115611561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155890614967565b60405180910390fd5b60005b815181101561159d5761159082828151811061158357611582614987565b5b6020026020010151610a7f565b8080600101915050611564565b5050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9296115cb816132ed565b60006115d5613301565b90506000816001016000858152602001908152602001600020905060008160010160139054906101000a900460ff1690506000600160ff168260ff161461161d576001611620565b60025b9050808360010160136101000a81548160ff021916908360ff1602179055507f853e3a954af7889419a6922a1bc350b54c6217937a4a2aed1176ed3f5a1dfb5286838360405161167293929190615014565b60405180910390a1505050505050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9296116ac816132ed565b60006116b6613301565b905060008160010160008581526020019081526020016000209050600360ff168160010160139054906101000a900460ff1660ff161461172b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172290615097565b60405180910390fd5b60028160010160136101000a81548160ff021916908360ff1602179055507f6ac56c552b96d07b41e8ee97200f747e7476892e0e2e53e9803199bfe014b0a8846040516117789190614390565b60405180910390a150505050565b61178e613329565b6117966139f2565b60006117a0613301565b905060008160010160008781526020019081526020016000209050600160ff168160010160139054906101000a900460ff1660ff1614611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c90615097565b60405180910390fd5b6000851180156118255750600084115b611864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185b90615103565b60405180910390fd5b6000620f424083600401600001548661187d9190614bd3565b6118879190614c44565b90506000600160ff168960ff161461189f57816118a1565b855b9050348111156118e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dd9061516f565b60405180910390fd5b6118f489898989868a613a33565b5050505061190061336d565b5050505050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929611931816132ed565b60007f000000000000000000000000430000000000000000000000000000000000000273ffffffffffffffffffffffffffffffffffffffff1663954fa5ee30336040518363ffffffff1660e01b815260040161198e92919061518f565b6020604051808303816000875af11580156119ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d191906151cd565b905060008111611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d90615246565b60405180910390fd5b5050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a611a44816132ed565b611a4c613c2f565b50565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929611a79816132ed565b6000611a83613301565b905060008160010160008781526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0490614d2d565b60405180910390fd5b60008472ffffffffffffffffffffffffffffffffffffff1611611b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5c906152b2565b60405180910390fd5b600160ff168160010160139054906101000a900460ff1660ff161480611ba25750600260ff168160010160139054906101000a900460ff1660ff16145b611be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd890615097565b60405180910390fd5b848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838160010160006101000a81548172ffffffffffffffffffffffffffffffffffffff021916908372ffffffffffffffffffffffffffffffffffffff16021790555060038160010160136101000a81548160ff021916908360ff160217905550428160000160146101000a81548165ffffffffffff021916908365ffffffffffff1602179055507f973839ac031e9779c3158a52ae98cb3b0be8a378b1adc2b2ce2c14f89c81489586868642604051611cdf949392919061530d565b60405180910390a1505050505050565b611cf7613ff2565b6000611d01613301565b9050806002016000848152602001908152602001600020604051806101400160405290816000820160009054906101000a900460ff1660ff1660ff16815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016007820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160088201548152602001600982015481525050915050919050565b611e43613329565b6000611e4d613301565b90506000816002016000848152602001908152602001600020905060008260010160008360010154815260200190815260200160002090506000826002015411611ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec39061539e565b60405180910390fd5b600160ff16826005015414611f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0d9061540a565b60405180910390fd5b600160ff168160010160139054906101000a900460ff1660ff1614611f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6790615097565b60405180910390fd5b6000600160ff168360000160009054906101000a900460ff1660ff1603611f9d5782600401549050611fa5565b826003015490505b80341015611fe8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdf9061516f565b60405180910390fd5b600260ff168360050181905550338360070160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550847f6ae14ff42c59ec9566264aa2ee8dbabd9ed770da1db37e92e32e89a721a444b3336040516120689190614bb8565b60405180910390a25050505061207c61336d565b50565b60006001600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b6120f9613329565b6000612103613301565b9050600081600201600084815260200190815260200160002090506000826001016000836001015481526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036121ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c590615476565b60405180910390fd5b6000600160ff168360000160009054906101000a900460ff1660ff1614612219578260070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661223f565b8260060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90506000600260ff168460000160009054906101000a900460ff1660ff161461228c578360070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166122b2565b8360060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612322576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231990614e05565b60405180910390fd5b60008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000620f42408560010160009054906101000a900472ffffffffffffffffffffffffffffffffffffff1672ffffffffffffffffffffffffffffffffffffff1687600201546123999190614bd3565b6123a39190614c44565b90506123d23385838573ffffffffffffffffffffffffffffffffffffffff16613c91909392919063ffffffff16565b6123dd888285613377565b505050505050506123ec61336d565b50565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929612419816132ed565b60007f000000000000000000000000430000000000000000000000000000000000000273ffffffffffffffffffffffffffffffffffffffff1663860043b630856040518363ffffffff1660e01b815260040161247692919061518f565b6020604051808303816000875af1158015612495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b991906151cd565b9050600081116124fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f5906154e2565b60405180910390fd5b505050565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92961252d816132ed565b7f000000000000000000000000430000000000000000000000000000000000000273ffffffffffffffffffffffffffffffffffffffff1663eb864698836040518263ffffffff1660e01b81526004016125869190614bb8565b600060405180830381600087803b1580156125a057600080fd5b505af11580156125b4573d6000803e3d6000fd5b505050505050565b6125c582610a5f565b6125ce816132ed565b6125d8838361389d565b50505050565b6125e6613329565b60006125f0613301565b9050600081600201600084815260200190815260200160002090506000826001016000836001015481526020019081526020016000209050600360ff168160010160139054906101000a900460ff1660ff1614612682576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267990615097565b60405180910390fd5b80600001601a9054906101000a900465ffffffffffff168160000160149054906101000a900465ffffffffffff166126ba91906149e5565b65ffffffffffff164211612703576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fa9061554e565b60405180910390fd5b600260ff1682600501541461274d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274490614a6b565b60405180910390fd5b6000600160ff168360000160009054906101000a900460ff1660ff1614612798578260070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127be565b8260060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90506000600160ff168460000160009054906101000a900460ff1660ff161461280b578360060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612831565b8360070160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff165b90503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16148061289357506128927f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9293361207f565b5b6128d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c9906155ba565b60405180910390fd5b6000620f4240866004016002015486600301546128ef9190614bd3565b6128f99190614c44565b856003015461290891906155da565b9050600084600001601a9054906101000a900465ffffffffffff168560000160149054906101000a900465ffffffffffff1661294491906149e5565b65ffffffffffff1642116129585742612999565b84600001601a9054906101000a900465ffffffffffff168560000160149054906101000a900465ffffffffffff1661299091906149e5565b65ffffffffffff165b905060006129cc838960040160030154620151808a60080154866129bd91906155da565b6129c79190614c44565b612c93565b90506000620f424060028a60040160020154846129e99190614bd3565b6129f39190614bd3565b6129fd9190614c44565b90506000600282612a0e9190614c44565b9050600081848b60030154612a23919061560e565b612a2d91906155da565b9050600082858c60030154612a4291906155da565b612a4c91906155da565b905060008973ffffffffffffffffffffffffffffffffffffffff1683604051612a7490614abc565b60006040518083038185875af1925050503d8060008114612ab1576040519150601f19603f3d011682016040523d82523d6000602084013e612ab6565b606091505b5050905060008d60040160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1686604051612b0790614abc565b60006040518083038185875af1925050503d8060008114612b44576040519150601f19603f3d011682016040523d82523d6000602084013e612b49565b606091505b5050905060008a73ffffffffffffffffffffffffffffffffffffffff1684604051612b7390614abc565b60006040518083038185875af1925050503d8060008114612bb0576040519150601f19603f3d011682016040523d82523d6000602084013e612bb5565b606091505b50509050828015612bc35750815b8015612bcc5750805b612c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c029061568e565b60405180910390fd5b600560ff168e600501819055508f7f3b2036a2e447fb85b6ab87bc16a88221edb7b371d4d660e139c7d7b08c8cb3258f6004015487878c8b33604051612c56969594939291906156ae565b60405180910390a2505050505050505050505050505050612c7561336d565b50565b600080612c83613301565b9050806004016002015491505090565b6000808411612cd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cce9061575b565b60405180910390fd5b60008311612d1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d11906157c7565b60405180910390fd5b600082118015612d30575061044761ffff168211155b612d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6690615833565b60405180910390fd5b6000600283612d7e9190615986565b84612d899190614bd3565b90506000816064612d9a919061560e565b90506000818388612dab9190614bd3565b612db59190614c44565b90508093505050509392505050565b612dcc613329565b6000612dd6613301565b9050600081600201600084815260200190815260200160002090508060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7a90615a1d565b60405180910390fd5b600160ff16816005015414612ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec49061540a565b60405180910390fd5b6000600160ff168260000160009054906101000a900460ff1660ff1603612efa5781600301549050612f02565b816004015490505b6000620f4240846004016001015483612f1b9190614bd3565b612f259190614c44565b90508082612f3391906155da565b915060008360060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051612f7f90614abc565b60006040518083038185875af1925050503d8060008114612fbc576040519150601f19603f3d011682016040523d82523d6000602084013e612fc1565b606091505b5050905060008560040160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168360405161301290614abc565b60006040518083038185875af1925050503d806000811461304f576040519150601f19603f3d011682016040523d82523d6000602084013e613054565b606091505b505090508180156130625750805b6130a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130989061568e565b60405180910390fd5b600360ff168560050181905550867fc4caef7e3533865382e608c341581a5e2a1b0d1ac37b0aaf58023ccd4eedfd8e336040516130de9190614bb8565b60405180910390a25050505050506130f461336d565b50565b7f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929613121816132ed565b600061312b613301565b9050620151808365ffffffffffff16101561317b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317290615a89565b60405180910390fd5b600081600101600086815260200190815260200160002060010160139054906101000a900460ff1660ff16146131e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131dd90615af5565b60405180910390fd5b600081600101600086815260200190815260200160002090508381600001601a6101000a81548165ffffffffffff021916908365ffffffffffff16021790555060018160010160136101000a81548160ff021916908360ff160217905550847f1da02fe9181848bf1b401dde762d155f0da084c24db69129a3c7479f970ddbcc856040516132749190615b46565b60405180910390a25050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6132fe816132f9613895565b613d13565b50565b60007f8496807dd2bf40ef0449b1c8abc6a2a63c065c0593131743c641d6d91e9a6c00905090565b6002805403613364576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60028081905550565b6001600281905550565b6000613381613301565b9050600081600201600086815260200190815260200160002090506000826001016000836001015481526020019081526020016000209050600360ff168160010160139054906101000a900460ff1660ff1614613413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340a90615097565b60405180910390fd5b60008160010160009054906101000a900472ffffffffffffffffffffffffffffffffffffff1672ffffffffffffffffffffffffffffffffffffff161161348e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348590615bad565b60405180910390fd5b600260ff168260050154146134d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134cf9061540a565b60405180910390fd5b8060000160149054906101000a900465ffffffffffff1665ffffffffffff164211613538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352f90615c19565b60405180910390fd5b80600001601a9054906101000a900465ffffffffffff168160000160149054906101000a900465ffffffffffff1661357091906149e5565b65ffffffffffff1642106135b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b090615c85565b60405180910390fd5b6000620f4240846004016002015484600301546135d69190614bd3565b6135e09190614c44565b9050600081846004015485600301546135f9919061560e565b61360391906155da565b905060008673ffffffffffffffffffffffffffffffffffffffff168260405161362b90614abc565b60006040518083038185875af1925050503d8060008114613668576040519150601f19603f3d011682016040523d82523d6000602084013e61366d565b606091505b5050905060008660040160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16846040516136be90614abc565b60006040518083038185875af1925050503d80600081146136fb576040519150601f19603f3d011682016040523d82523d6000602084013e613700565b606091505b5050905081801561370e5750805b61374d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137449061568e565b60405180910390fd5b600460ff168660050181905550897f2b1a0733c12483858d171164709b0b59935e493143d5850558417f1b0476db398a85878c6040516137909493929190615ca5565b60405180910390a250505050505050505050565b60006137b0838361207f565b61388a57600180600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613827613895565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001905061388f565b600090505b92915050565b600033905090565b60006138a9838361207f565b156139855760006001600085815260200190815260200160002060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613922613895565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a46001905061398a565b600090505b92915050565b613998613d64565b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6139db613895565b6040516139e89190614bb8565b60405180910390a1565b6139fa6112af565b15613a31576040517fd93c066500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6000613a3d613301565b90506040518061014001604052808860ff168152602001878152602001868152602001858152602001848152602001600160ff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001428152602001838152508160020160008360030160008154613ad090615cea565b919050819055815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060e08201518160070160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101008201518160080155610120820151816009015590505080600301547fbc0e1731d435d82a9289444dc131750403a00202bb3be9109e73dc735fcf31a488888888883389604051613c1e9796959493929190615d32565b60405180910390a250505050505050565b613c376139f2565b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613c7a613895565b604051613c879190614bb8565b60405180910390a1565b613d0d848573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401613cc693929190615da1565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613da4565b50505050565b613d1d828261207f565b613d605780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401613d57929190615dd8565b60405180910390fd5b5050565b613d6c6112af565b613da2576040517f8dfc202b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b6000613dcf828473ffffffffffffffffffffffffffffffffffffffff16613e3b90919063ffffffff16565b90506000815114158015613df4575080806020019051810190613df29190615e2d565b155b15613e3657826040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401613e2d9190614bb8565b60405180910390fd5b505050565b6060613e4983836000613e51565b905092915050565b606081471015613e9857306040517fcd786059000000000000000000000000000000000000000000000000000000008152600401613e8f9190614bb8565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168486604051613ec19190615ec0565b60006040518083038185875af1925050503d8060008114613efe576040519150601f19603f3d011682016040523d82523d6000602084013e613f03565b606091505b5091509150613f13868383613f1e565b925050509392505050565b606082613f3357613f2e82613fad565b613fa5565b60008251148015613f5b575060008473ffffffffffffffffffffffffffffffffffffffff163b145b15613f9d57836040517f9996b315000000000000000000000000000000000000000000000000000000008152600401613f949190614bb8565b60405180910390fd5b819050613fa6565b5b9392505050565b600081511115613fc05780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604051806101400160405280600060ff1681526020016000801916815260200160008152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160008152602001600081525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6140c08161408b565b81146140cb57600080fd5b50565b6000813590506140dd816140b7565b92915050565b6000602082840312156140f9576140f8614081565b5b6000614107848285016140ce565b91505092915050565b60008115159050919050565b61412581614110565b82525050565b6000602082019050614140600083018461411c565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6141948261414b565b810181811067ffffffffffffffff821117156141b3576141b261415c565b5b80604052505050565b60006141c6614077565b90506141d2828261418b565b919050565b600067ffffffffffffffff8211156141f2576141f161415c565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61421b81614208565b811461422657600080fd5b50565b60008135905061423881614212565b92915050565b600061425161424c846141d7565b6141bc565b9050808382526020820190506020840283018581111561427457614273614203565b5b835b8181101561429d57806142898882614229565b845260208401935050602081019050614276565b5050509392505050565b600082601f8301126142bc576142bb614146565b5b81356142cc84826020860161423e565b91505092915050565b6000602082840312156142eb576142ea614081565b5b600082013567ffffffffffffffff81111561430957614308614086565b5b614315848285016142a7565b91505092915050565b6000819050919050565b6143318161431e565b811461433c57600080fd5b50565b60008135905061434e81614328565b92915050565b60006020828403121561436a57614369614081565b5b60006143788482850161433f565b91505092915050565b61438a8161431e565b82525050565b60006020820190506143a56000830184614381565b92915050565b6000602082840312156143c1576143c0614081565b5b60006143cf84828501614229565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614403826143d8565b9050919050565b614413816143f8565b811461441e57600080fd5b50565b6000813590506144308161440a565b92915050565b600080600080600060a0868803121561445257614451614081565b5b600061446088828901614229565b955050602061447188828901614229565b945050604061448288828901614421565b935050606061449388828901614229565b92505060806144a488828901614421565b9150509295509295909350565b600080604083850312156144c8576144c7614081565b5b60006144d68582860161433f565b92505060206144e785828601614421565b9150509250929050565b600080600080600060a0868803121561450d5761450c614081565b5b600061451b88828901614421565b955050602061452c88828901614229565b945050604061453d88828901614229565b935050606061454e88828901614229565b925050608061455f88828901614229565b9150509295509295909350565b600060ff82169050919050565b6145828161456c565b811461458d57600080fd5b50565b60008135905061459f81614579565b92915050565b600080600080600060a086880312156145c1576145c0614081565b5b60006145cf88828901614590565b95505060206145e08882890161433f565b94505060406145f188828901614229565b935050606061460288828901614229565b925050608061461388828901614229565b9150509295509295909350565b600072ffffffffffffffffffffffffffffffffffffff82169050919050565b61464881614620565b811461465357600080fd5b50565b6000813590506146658161463f565b92915050565b60008060006060848603121561468457614683614081565b5b60006146928682870161433f565b93505060206146a386828701614421565b92505060406146b486828701614656565b9150509250925092565b6146c78161456c565b82525050565b6146d68161431e565b82525050565b6146e581614208565b82525050565b6146f4816143f8565b82525050565b6101408201600082015161471160008501826146be565b50602082015161472460208501826146cd565b50604082015161473760408501826146dc565b50606082015161474a60608501826146dc565b50608082015161475d60808501826146dc565b5060a082015161477060a08501826146dc565b5060c082015161478360c08501826146eb565b5060e082015161479660e08501826146eb565b506101008201516147ab6101008501826146dc565b506101208201516147c06101208501826146dc565b50505050565b6000610140820190506147dc60008301846146fa565b92915050565b6000602082840312156147f8576147f7614081565b5b600061480684828501614421565b91505092915050565b61481881614208565b82525050565b6000602082019050614833600083018461480f565b92915050565b60008060006060848603121561485257614851614081565b5b600061486086828701614229565b935050602061487186828701614229565b925050604061488286828701614229565b9150509250925092565b600065ffffffffffff82169050919050565b6148a78161488c565b81146148b257600080fd5b50565b6000813590506148c48161489e565b92915050565b600080604083850312156148e1576148e0614081565b5b60006148ef8582860161433f565b9250506020614900858286016148b5565b9150509250929050565b600082825260208201905092915050565b7f4f34000000000000000000000000000000000000000000000000000000000000600082015250565b600061495160028361490a565b915061495c8261491b565b602082019050919050565b6000602082019050818103600083015261498081614944565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149f08261488c565b91506149fb8361488c565b9250828201905065ffffffffffff811115614a1957614a186149b6565b5b92915050565b7f4f30000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a5560028361490a565b9150614a6082614a1f565b602082019050919050565b60006020820190508181036000830152614a8481614a48565b9050919050565b600081905092915050565b50565b6000614aa6600083614a8b565b9150614ab182614a96565b600082019050919050565b6000614ac782614a99565b9150819050919050565b7f5446420000000000000000000000000000000000000000000000000000000000600082015250565b6000614b0760038361490a565b9150614b1282614ad1565b602082019050919050565b60006020820190508181036000830152614b3681614afa565b9050919050565b7f5446530000000000000000000000000000000000000000000000000000000000600082015250565b6000614b7360038361490a565b9150614b7e82614b3d565b602082019050919050565b60006020820190508181036000830152614ba281614b66565b9050919050565b614bb2816143f8565b82525050565b6000602082019050614bcd6000830184614ba9565b92915050565b6000614bde82614208565b9150614be983614208565b9250828202614bf781614208565b91508282048414831517614c0e57614c0d6149b6565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c4f82614208565b9150614c5a83614208565b925082614c6a57614c69614c15565b5b828204905092915050565b7f4330000000000000000000000000000000000000000000000000000000000000600082015250565b6000614cab60028361490a565b9150614cb682614c75565b602082019050919050565b60006020820190508181036000830152614cda81614c9e565b9050919050565b7f5431000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d1760028361490a565b9150614d2282614ce1565b602082019050919050565b60006020820190508181036000830152614d4681614d0a565b9050919050565b7f5437000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d8360028361490a565b9150614d8e82614d4d565b602082019050919050565b60006020820190508181036000830152614db281614d76565b9050919050565b7f534f000000000000000000000000000000000000000000000000000000000000600082015250565b6000614def60028361490a565b9150614dfa82614db9565b602082019050919050565b60006020820190508181036000830152614e1e81614de2565b9050919050565b7f4941000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e5b60028361490a565b9150614e6682614e25565b602082019050919050565b60006020820190508181036000830152614e8a81614e4e565b9050919050565b7f5346000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ec760028361490a565b9150614ed282614e91565b602082019050919050565b60006020820190508181036000830152614ef681614eba565b9050919050565b7f4346000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f3360028361490a565b9150614f3e82614efd565b602082019050919050565b60006020820190508181036000830152614f6281614f26565b9050919050565b600061014082019050614f7f600083018d614ba9565b614f8c602083018c61480f565b614f99604083018b61480f565b614fa6606083018a61480f565b614fb3608083018961480f565b614fc060a0830188614ba9565b614fcd60c083018761480f565b614fda60e083018661480f565b614fe861010083018561480f565b614ff661012083018461480f565b9b9a5050505050505050505050565b61500e8161456c565b82525050565b60006060820190506150296000830186614381565b6150366020830185615005565b6150436040830184615005565b949350505050565b7f5432000000000000000000000000000000000000000000000000000000000000600082015250565b600061508160028361490a565b915061508c8261504b565b602082019050919050565b600060208201905081810360008301526150b081615074565b9050919050565b7f4941560000000000000000000000000000000000000000000000000000000000600082015250565b60006150ed60038361490a565b91506150f8826150b7565b602082019050919050565b6000602082019050818103600083015261511c816150e0565b9050919050565b7f4946000000000000000000000000000000000000000000000000000000000000600082015250565b600061515960028361490a565b915061516482615123565b602082019050919050565b600060208201905081810360008301526151888161514c565b9050919050565b60006040820190506151a46000830185614ba9565b6151b16020830184614ba9565b9392505050565b6000815190506151c781614212565b92915050565b6000602082840312156151e3576151e2614081565b5b60006151f1848285016151b8565b91505092915050565b7f4730000000000000000000000000000000000000000000000000000000000000600082015250565b600061523060028361490a565b915061523b826151fa565b602082019050919050565b6000602082019050818103600083015261525f81615223565b9050919050565b7f5331000000000000000000000000000000000000000000000000000000000000600082015250565b600061529c60028361490a565b91506152a782615266565b602082019050919050565b600060208201905081810360008301526152cb8161528f565b9050919050565b6000819050919050565b60006152f76152f26152ed84614620565b6152d2565b614208565b9050919050565b615307816152dc565b82525050565b60006080820190506153226000830187614381565b61532f6020830186614ba9565b61533c60408301856152fe565b615349606083018461480f565b95945050505050565b7f4f31000000000000000000000000000000000000000000000000000000000000600082015250565b600061538860028361490a565b915061539382615352565b602082019050919050565b600060208201905081810360008301526153b78161537b565b9050919050565b7f4f32000000000000000000000000000000000000000000000000000000000000600082015250565b60006153f460028361490a565b91506153ff826153be565b602082019050919050565b60006020820190508181036000830152615423816153e7565b9050919050565b7f5435000000000000000000000000000000000000000000000000000000000000600082015250565b600061546060028361490a565b915061546b8261542a565b602082019050919050565b6000602082019050818103600083015261548f81615453565b9050919050565b7f5930000000000000000000000000000000000000000000000000000000000000600082015250565b60006154cc60028361490a565b91506154d782615496565b602082019050919050565b600060208201905081810360008301526154fb816154bf565b9050919050565b7f5334000000000000000000000000000000000000000000000000000000000000600082015250565b600061553860028361490a565b915061554382615502565b602082019050919050565b600060208201905081810360008301526155678161552b565b9050919050565b7f424f4f0000000000000000000000000000000000000000000000000000000000600082015250565b60006155a460038361490a565b91506155af8261556e565b602082019050919050565b600060208201905081810360008301526155d381615597565b9050919050565b60006155e582614208565b91506155f083614208565b9250828203905081811115615608576156076149b6565b5b92915050565b600061561982614208565b915061562483614208565b925082820190508082111561563c5761563b6149b6565b5b92915050565b7f5446460000000000000000000000000000000000000000000000000000000000600082015250565b600061567860038361490a565b915061568382615642565b602082019050919050565b600060208201905081810360008301526156a78161566b565b9050919050565b600060c0820190506156c3600083018961480f565b6156d0602083018861480f565b6156dd604083018761480f565b6156ea606083018661480f565b6156f7608083018561480f565b61570460a0830184614ba9565b979650505050505050565b7f4331000000000000000000000000000000000000000000000000000000000000600082015250565b600061574560028361490a565b91506157508261570f565b602082019050919050565b6000602082019050818103600083015261577481615738565b9050919050565b7f4332000000000000000000000000000000000000000000000000000000000000600082015250565b60006157b160028361490a565b91506157bc8261577b565b602082019050919050565b600060208201905081810360008301526157e0816157a4565b9050919050565b7f4430000000000000000000000000000000000000000000000000000000000000600082015250565b600061581d60028361490a565b9150615828826157e7565b602082019050919050565b6000602082019050818103600083015261584c81615810565b9050919050565b60008160011c9050919050565b6000808291508390505b60018511156158aa57808604811115615886576158856149b6565b5b60018516156158955780820291505b80810290506158a385615853565b945061586a565b94509492505050565b6000826158c3576001905061597f565b816158d1576000905061597f565b81600181146158e757600281146158f157615920565b600191505061597f565b60ff841115615903576159026149b6565b5b8360020a91508482111561591a576159196149b6565b5b5061597f565b5060208310610133831016604e8410600b84101617156159555782820a9050838111156159505761594f6149b6565b5b61597f565b6159628484846001615860565b92509050818404811115615979576159786149b6565b5b81810290505b9392505050565b600061599182614208565b915061599c8361456c565b92506159c97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846158b3565b905092915050565b7f4f33000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a0760028361490a565b9150615a12826159d1565b602082019050919050565b60006020820190508181036000830152615a36816159fa565b9050919050565b7f5330000000000000000000000000000000000000000000000000000000000000600082015250565b6000615a7360028361490a565b9150615a7e82615a3d565b602082019050919050565b60006020820190508181036000830152615aa281615a66565b9050919050565b7f5430000000000000000000000000000000000000000000000000000000000000600082015250565b6000615adf60028361490a565b9150615aea82615aa9565b602082019050919050565b60006020820190508181036000830152615b0e81615ad2565b9050919050565b6000615b30615b2b615b268461488c565b6152d2565b614208565b9050919050565b615b4081615b15565b82525050565b6000602082019050615b5b6000830184615b37565b92915050565b7f5436000000000000000000000000000000000000000000000000000000000000600082015250565b6000615b9760028361490a565b9150615ba282615b61565b602082019050919050565b60006020820190508181036000830152615bc681615b8a565b9050919050565b7f5332000000000000000000000000000000000000000000000000000000000000600082015250565b6000615c0360028361490a565b9150615c0e82615bcd565b602082019050919050565b60006020820190508181036000830152615c3281615bf6565b9050919050565b7f5333000000000000000000000000000000000000000000000000000000000000600082015250565b6000615c6f60028361490a565b9150615c7a82615c39565b602082019050919050565b60006020820190508181036000830152615c9e81615c62565b9050919050565b6000608082019050615cba600083018761480f565b615cc7602083018661480f565b615cd4604083018561480f565b615ce16060830184614ba9565b95945050505050565b6000615cf582614208565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615d2757615d266149b6565b5b600182019050919050565b600060e082019050615d47600083018a615005565b615d546020830189614381565b615d61604083018861480f565b615d6e606083018761480f565b615d7b608083018661480f565b615d8860a0830185614ba9565b615d9560c083018461480f565b98975050505050505050565b6000606082019050615db66000830186614ba9565b615dc36020830185614ba9565b615dd0604083018461480f565b949350505050565b6000604082019050615ded6000830185614ba9565b615dfa6020830184614381565b9392505050565b615e0a81614110565b8114615e1557600080fd5b50565b600081519050615e2781615e01565b92915050565b600060208284031215615e4357615e42614081565b5b6000615e5184828501615e18565b91505092915050565b600081519050919050565b60005b83811015615e83578082015181840152602081019050615e68565b60008484015250505050565b6000615e9a82615e5a565b615ea48185614a8b565b9350615eb4818560208601615e65565b80840191505092915050565b6000615ecc8284615e8f565b91508190509291505056fea264697066735822122029c58aadb1b958cbd0342df1e43fea436b89f2cb7e40640f85f69ea6e7d4270064736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009b5c4f656375aecae5be67a0ba58bbd70cb3054d0000000000000000000000002d6d4cb45464212c08a530efed3c1d590accdda700000000000000000000000059dc594247860510dec31c3bbdf5f05ae777dfc5000000000000000000000000fe92cdf46ad1dc6c5d312eaf52f4292468929d4e0000000000000000000000002536fe9ab3f511540f2f9e2ec2a805005c3dd8000000000000000000000000004300000000000000000000000000000000000002
-----Decoded View---------------
Arg [0] : _operator (address): 0x9b5c4F656375AecaE5bE67A0BA58BbD70CB3054d
Arg [1] : _pauser (address): 0x2D6d4Cb45464212C08A530eFEd3c1D590aCCdda7
Arg [2] : _pointsOperator (address): 0x59Dc594247860510deC31C3BbdF5f05ae777dFc5
Arg [3] : _chainManager (address): 0xfE92cDF46ad1dC6C5D312eAf52f4292468929d4e
Arg [4] : _blastPointsAddress (address): 0x2536FE9ab3F511540F2f9e2eC2A805005C3Dd800
Arg [5] : _blastAddress (address): 0x4300000000000000000000000000000000000002
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000009b5c4f656375aecae5be67a0ba58bbd70cb3054d
Arg [1] : 0000000000000000000000002d6d4cb45464212c08a530efed3c1d590accdda7
Arg [2] : 00000000000000000000000059dc594247860510dec31c3bbdf5f05ae777dfc5
Arg [3] : 000000000000000000000000fe92cdf46ad1dc6c5d312eaf52f4292468929d4e
Arg [4] : 0000000000000000000000002536fe9ab3f511540f2f9e2ec2a805005c3dd800
Arg [5] : 0000000000000000000000004300000000000000000000000000000000000002
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
BLAST | 100.00% | $1,899.34 | 0.4543 | $862.8 |
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.