Spend less on fees, more on crypto. Buy crypto easily with MoonPay Balance. 20M+ users trust MoonPay worldwide.
Don’t invest unless you’re prepared to lose all the money you invest.
3000+ Slots, 20+ Cryptos, 75K Raffle, Sports Promos - World's largest Crypto Casino & Sportsbook - Provably Fair!
Play in crypto to make deposits and withdrawals easy! Register and get a free daily shot at a 100 000 $ jackpot.
Monthly Wagering Contest - $500,000+ rewards. Provably Fair, Low House Edge and best VIP Program!
Daily free Spin 50000 Matic ,760% Deposit Bonus, 20%Rakeback, And Get 1000000 Matic free bonus on BC.Game
Deposit BONUS 300% and Cashbacks. without verification!
Holidays are coming soon! Start betting on 1xBit and get a secret gift from Santa!
Overview
POL Balance
POL Value
$0.00Token Holdings
Could not find any matches!
- ERC-20 Tokens (86)8 ACCESS [ETH-BONK.VIP] TO FARM YOUR COINSERC-20: ! BONK (ACCESS...)9,000,000,000 pol-mat.com -Visit to claim Reward BonusERC-20: ! POL-MAT... (pol-ma...)345,870 ACCESS [TURBO-AI.APP] TO RECEIVE YOUR COINSERC-20: ! TURBO [... (ACCESS...)10,000 AVAXVOUCHER.COM SWAP NOWERC-20: AVAX (AVAXVO...)1 https://t.ly/ethersERC-20: deBridge ... (https:...)1 deBridge Airdrop https://t.ly/ethersERC-20: deBridge ... (deBrid...)1 deBridge Airdrop https://t.ly/ethersERC-20: deBridge ... (deBrid...)1 deBridge Airdrop https://t.ly/ethersERC-20: deBridge ... (deBrid...)1 Debridge Voucher https://t.ly/ethersERC-20: Debridge ... (Debrid...)10,000 $ Check: gasfee.io You received a refundERC-20: GSF ($ Chec...)0.25 MDUSMedieus Token$0.00@0.000244.731106 SIMSimba Empire888ERC20 ***7,864 TokenERC-20 TOKEN*[Suspicious]724,900 TokenERC-20 TOKEN*[Suspicious]714,707 TokenERC-20 TOKEN*[Suspicious]724,900 TokenERC-20 TOKEN*[Suspicious]745,900 TokenERC-20 TOKEN*[Suspicious]8,726 TokenERC-20 TOKEN*[Suspicious]9,543 TokenERC-20 TOKEN*[Suspicious]7,680 TokenERC-20 TOKEN*[Suspicious]9,543 TokenERC-20 TOKEN*[Suspicious]110,000 TokenERC-20 TOKEN*[Suspicious]7,800 TokenERC-20 TOKEN*[Suspicious]9,000,000,000 TokenERC-20 TOKEN*[Suspicious]900,000,000 TokenERC-20 TOKEN*[Suspicious]900,000,000 TokenERC-20 TOKEN*[Suspicious]900,000,000 TokenERC-20 TOKEN*[Suspicious]90,000,000,000 TokenERC-20 TOKEN*[Suspicious]900,000,000 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Suspicious]10,000 TokenERC-20 TOKEN*[Unsafe]10,000 TokenERC-20 TOKEN*[Unsafe]10,000 TokenERC-20 TOKEN*[Unsafe]10,000 TokenERC-20 TOKEN*[Unsafe]10,000 TokenERC-20 TOKEN*[Unsafe]10,000 TokenERC-20 TOKEN*[Unsafe]10,000 TokenERC-20 TOKEN*[Unsafe]90,000,000 TokenERC-20 TOKEN*[Spam]368,520 TokenERC-20 TOKEN*[Spam]550,000 TokenERC-20 TOKEN*[Spam]8,726 TokenERC-20 TOKEN*[Spam]8,400 TokenERC-20 TOKEN*[Spam]22,400 TokenERC-20 TOKEN*[Spam]775 TokenERC-20 TOKEN*[Spam]8 TokenERC-20 TOKEN*[Spam]8,273 TokenERC-20 TOKEN*[Spam]8,273 TokenERC-20 TOKEN*[Spam]85,600 TokenERC-20 TOKEN*[Spam]550,000 TokenERC-20 TOKEN*[Spam]900,000,000 TokenERC-20 TOKEN*[Spam]9,600 TokenERC-20 TOKEN*[Spam]9,000,000,000 TokenERC-20 TOKEN*[Spam]9,000,000,000 TokenERC-20 TOKEN*[Spam]9,000,000,000 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]4,657 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]777 TokenERC-20 TOKEN*[Spam]9,860 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]88,888 TokenERC-20 TOKEN*[Spam]10,000 TokenERC-20 TOKEN*[Spam]777 TokenERC-20 TOKEN*[Spam]7,777 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]5,000 TokenERC-20 TOKEN*[Spam]NFT Tokens (25)http://usdcash.xyz/1000$ AirDropERC-1155NFTVoucher5000$ CYBERERC-1155Vouchers50M $SHIB VoucherERC-1155APE COINAPE NFT TICKETSERC-1155APE COINAPE NFT TICKETSERC-1155deBridge Airdrop https://t.ly/ethersdeBridge Airdropx2ERC-721https://t.ly/ethersdeBridge Airdropx2ERC-721https://t.ly/ethersdeBridge AirdropERC-721deBridge Airdrop https://t.ly/ethersdeBridge Airdrop https://t.ly/ethersERC-721UNI-V3-PoSUniswap V3 Positions NFT-V1ERC-1155ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]
More Info
Private Name Tags
ContractCreator
TokenTracker
Multichain Info
4 addresses found via- Transactions
- Internal Transactions
- Token Transfers (ERC-20)
- NFT Transfers
- Contract
- Events
- Multichain Portfolio
Advanced Filter- Filter by Tx Type:
- Tx
- Internal Tx
- ERC-20
- NFTs
Latest 25 from a total of 63,886 transactions
Transaction Hash MethodBlockFromToSet Approval For... 65111279 2024-12-05 11:22:48 29 hrs ago 1733397768 IN 0 POL$0.00 0.00211248 45.723899 Set Approval For... 60681987 2024-08-17 2:02:43 111 days ago 1723860163 IN 0 POL$0.00 0.00076813 31.62499996 Set Approval For... 58510827 2024-06-23 13:17:13 166 days ago 1719148633 IN 0 POL$0.00 0.00138603 30.00000057 Set Approval For... 58024972 2024-06-11 9:38:15 178 days ago 1718098695 IN 0 POL$0.00 0.00138856 30.00027989 Set Approval For... 57463487 2024-05-27 20:41:43 192 days ago 1716842503 IN 0 POL$0.00 0.00148112 32 Set Approval For... 57356258 2024-05-25 1:41:04 195 days ago 1716601264 IN 0 POL$0.00 0.00143223 31 Withdraw 57122946 2024-05-18 22:01:35 201 days ago 1716069695 IN 0 POL$0.00 0.00070971 30.00000002 Withdraw 56849101 2024-05-11 16:55:35 208 days ago 1715446535 IN 0 POL$0.00 0.00070971 30.00000002 Set Config 56794943 2024-05-10 8:31:55 210 days ago 1715329915 IN 0 POL$0.00 0.00135195 30.4829989 Set Config 56794941 2024-05-10 8:31:51 210 days ago 1715329911 IN 0 POL$0.00 0.00134936 30.4829989 Set Config 56794922 2024-05-10 8:31:11 210 days ago 1715329871 IN 0 POL$0.00 0.00193389 30.09910009 Set Config 56794920 2024-05-10 8:31:07 210 days ago 1715329867 IN 0 POL$0.00 0.00193133 30.09910009 Set Trusted Remo... 56793725 2024-05-10 7:48:11 210 days ago 1715327291 IN 0 POL$0.00 0.00282981 30.00000015 Set Trusted Remo... 56402854 2024-04-30 0:24:36 220 days ago 1714436676 IN 0 POL$0.00 0.00159856 46.18402146 Withdraw 56398256 2024-04-29 21:21:49 220 days ago 1714425709 IN 0 POL$0.00 0.00100037 32.95383671 Cross Chain 56382823 2024-04-29 11:11:56 221 days ago 1714389116 IN 0.28432193 POL$0.20 0.00779941 32.67961494 Cross Chain 56377356 2024-04-29 7:37:26 221 days ago 1714376246 IN 0.06568488 POL$0.05 0.00124735 51.6330969 Cross Chain 56377338 2024-04-29 7:36:48 221 days ago 1714376208 IN 0.08350643 POL$0.06 0.00133795 55.38350825 Cross Chain 56377317 2024-04-29 7:36:04 221 days ago 1714376164 IN 0.06568488 POL$0.05 0.00136943 56.68642137 Cross Chain 56377307 2024-04-29 7:35:34 221 days ago 1714376134 IN 0.2009113 POL$0.14 0.00127191 52.64990413 Cross Chain 56377306 2024-04-29 7:35:30 221 days ago 1714376130 IN 0.06562592 POL$0.05 0.00124148 51.39011074 Cross Chain 56377299 2024-04-29 7:35:02 221 days ago 1714376102 IN 0.08350643 POL$0.06 0.00116296 48.13993485 Cross Chain 56377296 2024-04-29 7:34:50 221 days ago 1714376090 IN 0.06562592 POL$0.05 0.00111302 46.07258198 Cross Chain 56377279 2024-04-29 7:34:10 221 days ago 1714376050 IN 0.2009113 POL$0.14 0.00114854 47.5429958 Cross Chain 56359499 2024-04-28 19:58:08 221 days ago 1714334288 IN 0.88327813 POL$0.62 0.01077154 45.23636889 Latest 25 internal transactions (View All)
Parent Transaction Hash Block From To 56398256 2024-04-29 21:21:49 220 days ago 1714425709 0 POL$0.00 56382823 2024-04-29 11:11:56 221 days ago 1714389116 0.28432193 POL$0.20 56359499 2024-04-28 19:58:08 221 days ago 1714334288 0.88327813 POL$0.62 55112410 2024-03-26 20:20:27 254 days ago 1711484427 0 POL$0.00 54740543 2024-03-16 20:37:03 264 days ago 1710621423 0.72297941 POL$0.51 53900157 2024-02-24 11:56:11 286 days ago 1708775771 98.42 POL$68.77 53715415 2024-02-19 17:53:05 290 days ago 1708365185 0.05075602 POL$0.04 53684029 2024-02-18 22:45:48 291 days ago 1708296348 1.51023652 POL$1.06 53683990 2024-02-18 22:44:26 291 days ago 1708296266 0.94569584 POL$0.66 53681260 2024-02-18 21:04:54 291 days ago 1708290294 0.22942231 POL$0.16 53669527 2024-02-18 13:58:40 292 days ago 1708264720 0.39301382 POL$0.27 53661203 2024-02-18 8:57:51 292 days ago 1708246671 0.05812253 POL$0.04 53640527 2024-02-17 19:55:15 292 days ago 1708199715 0.05593863 POL$0.04 53632556 2024-02-17 15:03:04 293 days ago 1708182184 0.0728432 POL$0.05 53606111 2024-02-16 22:37:43 293 days ago 1708123063 0.69277259 POL$0.48 53596796 2024-02-16 16:57:39 293 days ago 1708102659 1.90914625 POL$1.33 53592439 2024-02-16 14:21:04 294 days ago 1708093264 0.05593863 POL$0.04 53590964 2024-02-16 13:26:24 294 days ago 1708089984 0.05812253 POL$0.04 53590699 2024-02-16 13:16:52 294 days ago 1708089412 0.25561271 POL$0.18 53583069 2024-02-16 8:40:34 294 days ago 1708072834 0.02894509 POL$0.02 53570198 2024-02-16 0:43:33 294 days ago 1708044213 0.05593863 POL$0.04 53568413 2024-02-15 23:37:27 294 days ago 1708040247 1.70190753 POL$1.19 53568327 2024-02-15 23:34:24 294 days ago 1708040064 0.05593863 POL$0.04 53562449 2024-02-15 19:58:43 294 days ago 1708027123 0.05730448 POL$0.04 53560654 2024-02-15 18:52:38 294 days ago 1708023158 0.05593863 POL$0.04 Loading...LoadingContract Name:MerklyLZTest
Compiler Versionv0.8.9+commit.e5eed63a
Contract Source Code (Solidity Multiple files format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import './Ownable.sol'; import './ERC721.sol'; import './ILayerZeroEndpoint.sol'; import './ILayerZeroReceiver.sol'; import './NonblockingLzApp.sol'; error NotTokenOwner(); error InsufficientGas(); error SupplyExceeded(); contract MerklyLZTest is Ownable, ERC721, NonblockingLzApp { uint256 public counter; uint public cost = 0.0005 ether; event ReceivedNFT( uint16 _srcChainId, address _from, uint256 _tokenId, uint256 counter ); constructor( address _endpoint ) ERC721('Merkly com', 'MRKLZ') NonblockingLzApp(_endpoint) {} function setCost(uint _cost) public onlyOwner { cost = _cost; } function mint() external payable { require(msg.value >= cost, "Not enough ether sent"); _mint(msg.sender,(uint256(keccak256(abi.encode(counter,block.timestamp))) % 10000000) + 1); unchecked { ++counter; } } function withdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success); } function crossChain(uint16 dstChainId, uint256 tokenId) public payable { if (msg.sender != ownerOf(tokenId)) revert NotTokenOwner(); // Remove NFT on current chain unchecked { --counter; } _burn(tokenId); bytes memory payload = abi.encode(msg.sender, tokenId); uint16 version = 1; uint256 gasForLzReceive = 350000; bytes memory adapterParams = abi.encodePacked(version, gasForLzReceive); (uint256 messageFee, ) = lzEndpoint.estimateFees( dstChainId, address(this), payload, false, adapterParams ); if (msg.value <= messageFee) revert InsufficientGas(); _lzSend( dstChainId, payload, payable(msg.sender), address(0x0), adapterParams, messageFee+500 ); } function _nonblockingLzReceive( uint16 _srcChainId, bytes memory _srcAddress, uint64 /*_nonce*/, bytes memory _payload ) internal override { address from; assembly { from := mload(add(_srcAddress, 20)) } (address toAddress, uint256 tokenId) = abi.decode( _payload, (address, uint256) ); _mint(toAddress, tokenId); unchecked { ++counter; } emit ReceivedNFT(_srcChainId, from, tokenId, counter); } // Endpoint.sol estimateFees() returns the fees for the message function estimateFees( uint16 dstChainId, uint256 tokenId ) external view returns (uint256) { bytes memory payload = abi.encode(msg.sender, tokenId); uint16 version = 1; uint256 gasForLzReceive = 350000; bytes memory adapterParams = abi.encodePacked(version, gasForLzReceive); (uint256 messageFee, ) = lzEndpoint.estimateFees( dstChainId, address(this), payload, false, adapterParams ); return messageFee; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) 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(errorMessage); } } }
pragma solidity 0.8.9; import './Ownable.sol'; interface MyToken{ function cost() external view returns (uint256); function mint() external payable; } contract AutoMinter is Ownable { MyToken merkly; function setMerkly(address c) public onlyOwner { merkly = MyToken(c); } function mint(uint amount) external payable{ require(amount <= 40, "Too many, bruv"); uint cost = merkly.cost(); require(msg.value >= cost*amount, "Not enough ether sent"); for(uint i = 0; i < amount; i++){ merkly.mint{value:cost}(); } } function withdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success); } }
// SPDX-License-Identifier: Unlicense /* * @title Solidity Bytes Arrays Utils * @author Gonçalo Sá <[email protected]> * * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity. * The library lets you concatenate, slice and type cast bytes arrays both in memory and storage. */ pragma solidity >=0.8.0 <0.9.0; library BytesLib { function concat( bytes memory _preBytes, bytes memory _postBytes ) internal pure returns (bytes memory) { bytes memory tempBytes; assembly { // Get a location of some free memory and store it in tempBytes as // Solidity does for memory variables. tempBytes := mload(0x40) // Store the length of the first bytes array at the beginning of // the memory for tempBytes. let length := mload(_preBytes) mstore(tempBytes, length) // Maintain a memory counter for the current write location in the // temp bytes array by adding the 32 bytes for the array length to // the starting location. let mc := add(tempBytes, 0x20) // Stop copying when the memory counter reaches the length of the // first bytes array. let end := add(mc, length) for { // Initialize a copy counter to the start of the _preBytes data, // 32 bytes into its memory. let cc := add(_preBytes, 0x20) } lt(mc, end) { // Increase both counters by 32 bytes each iteration. mc := add(mc, 0x20) cc := add(cc, 0x20) } { // Write the _preBytes data into the tempBytes memory 32 bytes // at a time. mstore(mc, mload(cc)) } // Add the length of _postBytes to the current length of tempBytes // and store it as the new length in the first 32 bytes of the // tempBytes memory. length := mload(_postBytes) mstore(tempBytes, add(length, mload(tempBytes))) // Move the memory counter back from a multiple of 0x20 to the // actual end of the _preBytes data. mc := end // Stop copying when the memory counter reaches the new combined // length of the arrays. end := add(mc, length) for { let cc := add(_postBytes, 0x20) } lt(mc, end) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { mstore(mc, mload(cc)) } // Update the free-memory pointer by padding our last write location // to 32 bytes: add 31 bytes to the end of tempBytes to move to the // next 32 byte block, then round down to the nearest multiple of // 32. If the sum of the length of the two arrays is zero then add // one before rounding down to leave a blank 32 bytes (the length block with 0). mstore( 0x40, and( add(add(end, iszero(add(length, mload(_preBytes)))), 31), not(31) // Round down to the nearest 32 bytes. ) ) } return tempBytes; } function concatStorage( bytes storage _preBytes, bytes memory _postBytes ) internal { assembly { // Read the first 32 bytes of _preBytes storage, which is the length // of the array. (We don't need to use the offset into the slot // because arrays use the entire slot.) let fslot := sload(_preBytes.slot) // Arrays of 31 bytes or less have an even value in their slot, // while longer arrays have an odd value. The actual length is // the slot divided by two for odd values, and the lowest order // byte divided by two for even values. // If the slot is even, bitwise and the slot with 255 and divide by // two to get the length. If the slot is odd, bitwise and the slot // with -1 and divide by two. let slength := div( and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2 ) let mlength := mload(_postBytes) let newlength := add(slength, mlength) // slength can contain both the length and contents of the array // if length < 32 bytes so let's prepare for that // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage switch add(lt(slength, 32), lt(newlength, 32)) case 2 { // Since the new array still fits in the slot, we just need to // update the contents of the slot. // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length sstore( _preBytes.slot, // all the modifications to the slot are inside this // next block add( // we can just add to the slot contents because the // bytes we want to change are the LSBs fslot, add( mul( div( // load the bytes from memory mload(add(_postBytes, 0x20)), // zero all bytes to the right exp(0x100, sub(32, mlength)) ), // and now shift left the number of bytes to // leave space for the length in the slot exp(0x100, sub(32, newlength)) ), // increase length by the double of the memory // bytes length mul(mlength, 2) ) ) ) } case 1 { // The stored value fits in the slot, but the combined value // will exceed it. // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) let sc := add(keccak256(0x0, 0x20), div(slength, 32)) // save new length sstore(_preBytes.slot, add(mul(newlength, 2), 1)) // The contents of the _postBytes array start 32 bytes into // the structure. Our first read should obtain the `submod` // bytes that can fit into the unused space in the last word // of the stored array. To get this, we read 32 bytes starting // from `submod`, so the data we read overlaps with the array // contents by `submod` bytes. Masking the lowest-order // `submod` bytes allows us to add that value directly to the // stored value. let submod := sub(32, slength) let mc := add(_postBytes, submod) let end := add(_postBytes, mlength) let mask := sub(exp(0x100, submod), 1) sstore( sc, add( and( fslot, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00 ), and(mload(mc), mask) ) ) for { mc := add(mc, 0x20) sc := add(sc, 1) } lt(mc, end) { sc := add(sc, 1) mc := add(mc, 0x20) } { sstore(sc, mload(mc)) } mask := exp(0x100, sub(mc, end)) sstore(sc, mul(div(mload(mc), mask), mask)) } default { // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) // Start copying to the last used word of the stored array. let sc := add(keccak256(0x0, 0x20), div(slength, 32)) // save new length sstore(_preBytes.slot, add(mul(newlength, 2), 1)) // Copy over the first `submod` bytes of the new data as in // case 1 above. let slengthmod := mod(slength, 32) let mlengthmod := mod(mlength, 32) let submod := sub(32, slengthmod) let mc := add(_postBytes, submod) let end := add(_postBytes, mlength) let mask := sub(exp(0x100, submod), 1) sstore(sc, add(sload(sc), and(mload(mc), mask))) for { sc := add(sc, 1) mc := add(mc, 0x20) } lt(mc, end) { sc := add(sc, 1) mc := add(mc, 0x20) } { sstore(sc, mload(mc)) } mask := exp(0x100, sub(mc, end)) sstore(sc, mul(div(mload(mc), mask), mask)) } } } function slice( bytes memory _bytes, uint256 _start, uint256 _length ) internal pure returns (bytes memory) { require(_length + 31 >= _length, "slice_overflow"); require(_bytes.length >= _start + _length, "slice_outOfBounds"); bytes memory tempBytes; assembly { switch iszero(_length) case 0 { // Get a location of some free memory and store it in tempBytes as // Solidity does for memory variables. tempBytes := mload(0x40) // The first word of the slice result is potentially a partial // word read from the original array. To read it, we calculate // the length of that partial word and start copying that many // bytes into the array. The first word we copy will start with // data we don't care about, but the last `lengthmod` bytes will // land at the beginning of the contents of the new array. When // we're done copying, we overwrite the full first word with // the actual length of the slice. let lengthmod := and(_length, 31) // The multiplication in the next line is necessary // because when slicing multiples of 32 bytes (lengthmod == 0) // the following copy loop was copying the origin's length // and then ending prematurely not copying everything it should. let mc := add( add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)) ) let end := add(mc, _length) for { // The multiplication in the next line has the same exact purpose // as the one above. let cc := add( add( add(_bytes, lengthmod), mul(0x20, iszero(lengthmod)) ), _start ) } lt(mc, end) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { mstore(mc, mload(cc)) } mstore(tempBytes, _length) //update free-memory pointer //allocating the array padded to 32 bytes like the compiler does now mstore(0x40, and(add(mc, 31), not(31))) } //if we want a zero-length slice let's just return a zero-length array default { tempBytes := mload(0x40) //zero out the 32 bytes slice we are about to return //we need to do it because Solidity does not garbage collect mstore(tempBytes, 0) mstore(0x40, add(tempBytes, 0x20)) } } return tempBytes; } function toAddress( bytes memory _bytes, uint256 _start ) internal pure returns (address) { require(_bytes.length >= _start + 20, "toAddress_outOfBounds"); address tempAddress; assembly { tempAddress := div( mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000 ) } return tempAddress; } function toUint8( bytes memory _bytes, uint256 _start ) internal pure returns (uint8) { require(_bytes.length >= _start + 1, "toUint8_outOfBounds"); uint8 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x1), _start)) } return tempUint; } function toUint16( bytes memory _bytes, uint256 _start ) internal pure returns (uint16) { require(_bytes.length >= _start + 2, "toUint16_outOfBounds"); uint16 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x2), _start)) } return tempUint; } function toUint32( bytes memory _bytes, uint256 _start ) internal pure returns (uint32) { require(_bytes.length >= _start + 4, "toUint32_outOfBounds"); uint32 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x4), _start)) } return tempUint; } function toUint64( bytes memory _bytes, uint256 _start ) internal pure returns (uint64) { require(_bytes.length >= _start + 8, "toUint64_outOfBounds"); uint64 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x8), _start)) } return tempUint; } function toUint96( bytes memory _bytes, uint256 _start ) internal pure returns (uint96) { require(_bytes.length >= _start + 12, "toUint96_outOfBounds"); uint96 tempUint; assembly { tempUint := mload(add(add(_bytes, 0xc), _start)) } return tempUint; } function toUint128( bytes memory _bytes, uint256 _start ) internal pure returns (uint128) { require(_bytes.length >= _start + 16, "toUint128_outOfBounds"); uint128 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x10), _start)) } return tempUint; } function toUint256( bytes memory _bytes, uint256 _start ) internal pure returns (uint256) { require(_bytes.length >= _start + 32, "toUint256_outOfBounds"); uint256 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x20), _start)) } return tempUint; } function toBytes32( bytes memory _bytes, uint256 _start ) internal pure returns (bytes32) { require(_bytes.length >= _start + 32, "toBytes32_outOfBounds"); bytes32 tempBytes32; assembly { tempBytes32 := mload(add(add(_bytes, 0x20), _start)) } return tempBytes32; } function equal( bytes memory _preBytes, bytes memory _postBytes ) internal pure returns (bool) { bool success = true; assembly { let length := mload(_preBytes) // if lengths don't match the arrays are not equal switch eq(length, mload(_postBytes)) case 1 { // cb is a circuit breaker in the for loop since there's // no said feature for inline assembly loops // cb = 1 - don't breaker // cb = 0 - break let cb := 1 let mc := add(_preBytes, 0x20) let end := add(mc, length) for { let cc := add(_postBytes, 0x20) // the next line is the loop condition: // while(uint256(mc < end) + cb == 2) } eq(add(lt(mc, end), cb), 2) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { // if any of these checks fails then arrays are not equal if iszero(eq(mload(mc), mload(cc))) { // unsuccess: success := 0 cb := 0 } } } default { // unsuccess: success := 0 } } return success; } function equalStorage( bytes storage _preBytes, bytes memory _postBytes ) internal view returns (bool) { bool success = true; assembly { // we know _preBytes_offset is 0 let fslot := sload(_preBytes.slot) // Decode the length of the stored array like in concatStorage(). let slength := div( and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2 ) let mlength := mload(_postBytes) // if lengths don't match the arrays are not equal switch eq(slength, mlength) case 1 { // slength can contain both the length and contents of the array // if length < 32 bytes so let's prepare for that // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage if iszero(iszero(slength)) { switch lt(slength, 32) case 1 { // blank the last byte which is the length fslot := mul(div(fslot, 0x100), 0x100) if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) { // unsuccess: success := 0 } } default { // cb is a circuit breaker in the for loop since there's // no said feature for inline assembly loops // cb = 1 - don't breaker // cb = 0 - break let cb := 1 // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) let sc := keccak256(0x0, 0x20) let mc := add(_postBytes, 0x20) let end := add(mc, mlength) // the next line is the loop condition: // while(uint256(mc < end) + cb == 2) for { } eq(add(lt(mc, end), cb), 2) { sc := add(sc, 1) mc := add(mc, 0x20) } { if iszero(eq(sload(sc), mload(mc))) { // unsuccess: success := 0 cb := 0 } } } } } default { // unsuccess: success := 0 } } return success; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } }
// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity >=0.7.6; library ExcessivelySafeCall { uint256 constant LOW_28_MASK = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff; /// @notice Use when you _really_ really _really_ don't trust the called /// contract. This prevents the called contract from causing reversion of /// the caller in as many ways as we can. /// @dev The main difference between this and a solidity low-level call is /// that we limit the number of bytes that the callee can cause to be /// copied to caller memory. This prevents stupid things like malicious /// contracts returning 10,000,000 bytes causing a local OOG when copying /// to memory. /// @param _target The address to call /// @param _gas The amount of gas to forward to the remote contract /// @param _maxCopy The maximum number of bytes of returndata to copy /// to memory. /// @param _calldata The data to send to the remote contract /// @return success and returndata, as `.call()`. Returndata is capped to /// `_maxCopy` bytes. function excessivelySafeCall( address _target, uint256 _gas, uint16 _maxCopy, bytes memory _calldata ) internal returns (bool, bytes memory) { // set up for assembly call uint256 _toCopy; bool _success; bytes memory _returnData = new bytes(_maxCopy); // dispatch message to recipient // by assembly calling "handle" function // we call via assembly to avoid memcopying a very large returndata // returned by a malicious contract assembly { _success := call( _gas, // gas _target, // recipient 0, // ether value add(_calldata, 0x20), // inloc mload(_calldata), // inlen 0, // outloc 0 // outlen ) // limit our copy to 256 bytes _toCopy := returndatasize() if gt(_toCopy, _maxCopy) { _toCopy := _maxCopy } // Store the length of the copied bytes mstore(_returnData, _toCopy) // copy the bytes from returndata[0:_toCopy] returndatacopy(add(_returnData, 0x20), 0, _toCopy) } return (_success, _returnData); } /// @notice Use when you _really_ really _really_ don't trust the called /// contract. This prevents the called contract from causing reversion of /// the caller in as many ways as we can. /// @dev The main difference between this and a solidity low-level call is /// that we limit the number of bytes that the callee can cause to be /// copied to caller memory. This prevents stupid things like malicious /// contracts returning 10,000,000 bytes causing a local OOG when copying /// to memory. /// @param _target The address to call /// @param _gas The amount of gas to forward to the remote contract /// @param _maxCopy The maximum number of bytes of returndata to copy /// to memory. /// @param _calldata The data to send to the remote contract /// @return success and returndata, as `.call()`. Returndata is capped to /// `_maxCopy` bytes. function excessivelySafeStaticCall( address _target, uint256 _gas, uint16 _maxCopy, bytes memory _calldata ) internal view returns (bool, bytes memory) { // set up for assembly call uint256 _toCopy; bool _success; bytes memory _returnData = new bytes(_maxCopy); // dispatch message to recipient // by assembly calling "handle" function // we call via assembly to avoid memcopying a very large returndata // returned by a malicious contract assembly { _success := staticcall( _gas, // gas _target, // recipient add(_calldata, 0x20), // inloc mload(_calldata), // inlen 0, // outloc 0 // outlen ) // limit our copy to 256 bytes _toCopy := returndatasize() if gt(_toCopy, _maxCopy) { _toCopy := _maxCopy } // Store the length of the copied bytes mstore(_returnData, _toCopy) // copy the bytes from returndata[0:_toCopy] returndatacopy(add(_returnData, 0x20), 0, _toCopy) } return (_success, _returnData); } /** * @notice Swaps function selectors in encoded contract calls * @dev Allows reuse of encoded calldata for functions with identical * argument types but different names. It simply swaps out the first 4 bytes * for the new selector. This function modifies memory in place, and should * only be used with caution. * @param _newSelector The new 4-byte selector * @param _buf The encoded contract args */ function swapSelector( bytes4 _newSelector, bytes memory _buf ) internal pure { require(_buf.length >= 4); uint256 _mask = LOW_28_MASK; assembly { // load the first word of let _word := mload(add(_buf, 0x20)) // mask out the top 4 bytes // /x _word := and(_word, _mask) _word := or(_newSelector, _word) mstore(add(_buf, 0x20), _word) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity >=0.5.0; import "./ILayerZeroUserApplicationConfig.sol"; interface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig { // @notice send a LayerZero message to the specified address at a LayerZero endpoint. // @param _dstChainId - the destination chain identifier // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains // @param _payload - a custom bytes payload to send to the destination contract // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination function send( uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams ) external payable; // @notice used by the messaging library to publish verified payload // @param _srcChainId - the source chain identifier // @param _srcAddress - the source contract (as bytes) at the source chain // @param _dstAddress - the address on destination chain // @param _nonce - the unbound message ordering nonce // @param _gasLimit - the gas limit for external contract execution // @param _payload - verified payload to send to the destination contract function receivePayload( uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload ) external; // @notice get the inboundNonce of a receiver from a source chain which could be EVM or non-EVM chain // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address function getInboundNonce( uint16 _srcChainId, bytes calldata _srcAddress ) external view returns (uint64); // @notice get the outboundNonce from this source chain which, consequently, is always an EVM // @param _srcAddress - the source chain contract address function getOutboundNonce( uint16 _dstChainId, address _srcAddress ) external view returns (uint64); // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery // @param _dstChainId - the destination chain identifier // @param _userApplication - the user app address on this EVM chain // @param _payload - the custom message to send over LayerZero // @param _payInZRO - if false, user app pays the protocol fee in native token // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain function estimateFees( uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam ) external view returns (uint nativeFee, uint zroFee); // @notice get this Endpoint's immutable source identifier function getChainId() external view returns (uint16); // @notice the interface to retry failed message on this Endpoint destination // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address // @param _payload - the payload to be retried function retryPayload( uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload ) external; // @notice query if any STORED payload (message blocking) at the endpoint. // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address function hasStoredPayload( uint16 _srcChainId, bytes calldata _srcAddress ) external view returns (bool); // @notice query if the _libraryAddress is valid for sending msgs. // @param _userApplication - the user app address on this EVM chain function getSendLibraryAddress( address _userApplication ) external view returns (address); // @notice query if the _libraryAddress is valid for receiving msgs. // @param _userApplication - the user app address on this EVM chain function getReceiveLibraryAddress( address _userApplication ) external view returns (address); // @notice query if the non-reentrancy guard for send() is on // @return true if the guard is on. false otherwise function isSendingPayload() external view returns (bool); // @notice query if the non-reentrancy guard for receive() is on // @return true if the guard is on. false otherwise function isReceivingPayload() external view returns (bool); // @notice get the configuration of the LayerZero messaging library of the specified version // @param _version - messaging library version // @param _chainId - the chainId for the pending config change // @param _userApplication - the contract address of the user application // @param _configType - type of configuration. every messaging library has its own convention. function getConfig( uint16 _version, uint16 _chainId, address _userApplication, uint _configType ) external view returns (bytes memory); // @notice get the send() LayerZero messaging library version // @param _userApplication - the contract address of the user application function getSendVersion( address _userApplication ) external view returns (uint16); // @notice get the lzReceive() LayerZero messaging library version // @param _userApplication - the contract address of the user application function getReceiveVersion( address _userApplication ) external view returns (uint16); }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity >=0.5.0; interface ILayerZeroReceiver { // @notice LayerZero endpoint will invoke this function to deliver the message on the destination // @param _srcChainId - the source endpoint identifier // @param _srcAddress - the source sending contract address from the source chain // @param _nonce - the ordered message nonce // @param _payload - the signed payload is the UA bytes has encoded to be sent function lzReceive( uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload ) external; }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity >=0.5.0; interface ILayerZeroUserApplicationConfig { // @notice set the configuration of the LayerZero messaging library of the specified version // @param _version - messaging library version // @param _chainId - the chainId for the pending config change // @param _configType - type of configuration. every messaging library has its own convention. // @param _config - configuration in the bytes. can encode arbitrary content. function setConfig( uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config ) external; // @notice set the send() LayerZero messaging library version to _version // @param _version - new messaging library version function setSendVersion(uint16 _version) external; // @notice set the lzReceive() LayerZero messaging library version to _version // @param _version - new messaging library version function setReceiveVersion(uint16 _version) external; // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload // @param _srcChainId - the chainId of the source chain // @param _srcAddress - the contract address of the source contract at the source chain function forceResumeReceive( uint16 _srcChainId, bytes calldata _srcAddress ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Ownable.sol"; import "./ILayerZeroReceiver.sol"; import "./ILayerZeroUserApplicationConfig.sol"; import "./ILayerZeroEndpoint.sol"; import "./BytesLib.sol"; /* * a generic LzReceiver implementation */ abstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig { using BytesLib for bytes; // ua can not send payload larger than this by default, but it can be changed by the ua owner uint public constant DEFAULT_PAYLOAD_SIZE_LIMIT = 10000; ILayerZeroEndpoint public immutable lzEndpoint; mapping(uint16 => bytes) public trustedRemoteLookup; mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup; mapping(uint16 => uint) public payloadSizeLimitLookup; address public precrime; event SetPrecrime(address precrime); event SetTrustedRemote(uint16 _remoteChainId, bytes _path); event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress); event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas); constructor(address _endpoint) { lzEndpoint = ILayerZeroEndpoint(_endpoint); } function lzReceive( uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload ) public virtual override { // lzReceive must be called by the endpoint for security require( _msgSender() == address(lzEndpoint), "LzApp: invalid endpoint caller" ); bytes memory trustedRemote = trustedRemoteLookup[_srcChainId]; // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote. require( _srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), "LzApp: invalid source sending contract" ); _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload); } // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging function _blockingLzReceive( uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload ) internal virtual; function _lzSend( uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee ) internal virtual { bytes memory trustedRemote = trustedRemoteLookup[_dstChainId]; require( trustedRemote.length != 0, "LzApp: destination chain is not a trusted source" ); _checkPayloadSize(_dstChainId, _payload.length); lzEndpoint.send{value: _nativeFee}( _dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams ); } function _checkGasLimit( uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas ) internal view virtual { uint providedGasLimit = _getGasLimit(_adapterParams); uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas; require(minGasLimit > 0, "LzApp: minGasLimit not set"); require(providedGasLimit >= minGasLimit, "LzApp: gas limit is too low"); } function _getGasLimit( bytes memory _adapterParams ) internal pure virtual returns (uint gasLimit) { require(_adapterParams.length >= 34, "LzApp: invalid adapterParams"); assembly { gasLimit := mload(add(_adapterParams, 34)) } } function _checkPayloadSize( uint16 _dstChainId, uint _payloadSize ) internal view virtual { uint payloadSizeLimit = payloadSizeLimitLookup[_dstChainId]; if (payloadSizeLimit == 0) { // use default if not set payloadSizeLimit = DEFAULT_PAYLOAD_SIZE_LIMIT; } require( _payloadSize <= payloadSizeLimit, "LzApp: payload size is too large" ); } //---------------------------UserApplication config---------------------------------------- function getConfig( uint16 _version, uint16 _chainId, address, uint _configType ) external view returns (bytes memory) { return lzEndpoint.getConfig( _version, _chainId, address(this), _configType ); } // generic config for LayerZero user Application function setConfig( uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config ) external override onlyOwner { lzEndpoint.setConfig(_version, _chainId, _configType, _config); } function setSendVersion(uint16 _version) external override onlyOwner { lzEndpoint.setSendVersion(_version); } function setReceiveVersion(uint16 _version) external override onlyOwner { lzEndpoint.setReceiveVersion(_version); } function forceResumeReceive( uint16 _srcChainId, bytes calldata _srcAddress ) external override onlyOwner { lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress); } // _path = abi.encodePacked(remoteAddress, localAddress) // this function set the trusted path for the cross-chain communication function setTrustedRemote( uint16 _srcChainId, bytes calldata _path ) external onlyOwner { trustedRemoteLookup[_srcChainId] = _path; emit SetTrustedRemote(_srcChainId, _path); } function setTrustedRemoteAddress( uint16 _remoteChainId, bytes calldata _remoteAddress ) external onlyOwner { trustedRemoteLookup[_remoteChainId] = abi.encodePacked( _remoteAddress, address(this) ); emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress); } function getTrustedRemoteAddress( uint16 _remoteChainId ) external view returns (bytes memory) { bytes memory path = trustedRemoteLookup[_remoteChainId]; require(path.length != 0, "LzApp: no trusted path record"); return path.slice(0, path.length - 20); // the last 20 bytes should be address(this) } function setPrecrime(address _precrime) external onlyOwner { precrime = _precrime; emit SetPrecrime(_precrime); } function setMinDstGas( uint16 _dstChainId, uint16 _packetType, uint _minGas ) external onlyOwner { require(_minGas > 0, "LzApp: invalid minGas"); minDstGasLookup[_dstChainId][_packetType] = _minGas; emit SetMinDstGas(_dstChainId, _packetType, _minGas); } // if the size is 0, it means default size limit function setPayloadSizeLimit( uint16 _dstChainId, uint _size ) external onlyOwner { payloadSizeLimitLookup[_dstChainId] = _size; } //--------------------------- VIEW FUNCTION ---------------------------------------- function isTrustedRemote( uint16 _srcChainId, bytes calldata _srcAddress ) external view returns (bool) { bytes memory trustedSource = trustedRemoteLookup[_srcChainId]; return keccak256(trustedSource) == keccak256(_srcAddress); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./LzApp.sol"; import "./ExcessivelySafeCall.sol"; /* * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress) */ abstract contract NonblockingLzApp is LzApp { using ExcessivelySafeCall for address; constructor(address _endpoint) LzApp(_endpoint) {} mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages; event MessageFailed( uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason ); event RetryMessageSuccess( uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash ); // overriding the virtual function in LzReceiver function _blockingLzReceive( uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload ) internal virtual override { (bool success, bytes memory reason) = address(this).excessivelySafeCall( gasleft(), 150, abi.encodeWithSelector( this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload ) ); // try-catch all errors/exceptions if (!success) { _storeFailedMessage( _srcChainId, _srcAddress, _nonce, _payload, reason ); } } function _storeFailedMessage( uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason ) internal virtual { failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload); emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason); } function nonblockingLzReceive( uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload ) public virtual { // only internal transaction require( _msgSender() == address(this), "NonblockingLzApp: caller must be LzApp" ); _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload); } //@notice override this function function _nonblockingLzReceive( uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload ) internal virtual; function retryMessage( uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload ) public payable virtual { // assert there is message to retry bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce]; require( payloadHash != bytes32(0), "NonblockingLzApp: no stored message" ); require( keccak256(_payload) == payloadHash, "NonblockingLzApp: invalid payload" ); // clear the stored message failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0); // execute the message. revert if it fails again _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload); emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
[{"inputs":[{"internalType":"address","name":"_endpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InsufficientGas","type":"error"},{"inputs":[],"name":"NotTokenOwner","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"_payload","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"_reason","type":"bytes"}],"name":"MessageFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"counter","type":"uint256"}],"name":"ReceivedNFT","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes32","name":"_payloadHash","type":"bytes32"}],"name":"RetryMessageSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"_type","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_minDstGas","type":"uint256"}],"name":"SetMinDstGas","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"precrime","type":"address"}],"name":"SetPrecrime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_path","type":"bytes"}],"name":"SetTrustedRemote","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"SetTrustedRemoteAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_PAYLOAD_SIZE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"crossChain","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"estimateFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"}],"name":"failedMessages","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"forceResumeReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_configType","type":"uint256"}],"name":"getConfig","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"}],"name":"getTrustedRemoteAddress","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"isTrustedRemote","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lzEndpoint","outputs":[{"internalType":"contract ILayerZeroEndpoint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"name":"minDstGasLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"nonblockingLzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"payloadSizeLimitLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"precrime","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"retryMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"},{"internalType":"bytes","name":"_config","type":"bytes"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint16","name":"_packetType","type":"uint16"},{"internalType":"uint256","name":"_minGas","type":"uint256"}],"name":"setMinDstGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"setPayloadSizeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_precrime","type":"address"}],"name":"setPrecrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setReceiveVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setSendVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_path","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"setTrustedRemoteAddress","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"trustedRemoteLookup","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60a06040526601c6bf52634000600d553480156200001c57600080fd5b5060405162003a7c38038062003a7c8339810160408190526200003f91620001d9565b80806040518060400160405280600a8152602001694d65726b6c7920636f6d60b01b8152506040518060400160405280600581526020016426a925a62d60d91b8152506200009c62000096620000df60201b60201c565b620000e3565b8151620000b190600190602085019062000133565b508051620000c790600290602084019062000133565b5050506001600160a01b031660805250620002489050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000141906200020b565b90600052602060002090601f016020900481019282620001655760008555620001b0565b82601f106200018057805160ff1916838001178555620001b0565b82800160010185558215620001b0579182015b82811115620001b057825182559160200191906001019062000193565b50620001be929150620001c2565b5090565b5b80821115620001be5760008155600101620001c3565b600060208284031215620001ec57600080fd5b81516001600160a01b03811681146200020457600080fd5b9392505050565b600181811c908216806200022057607f821691505b602082108114156200024257634e487b7160e01b600052602260045260246000fd5b50919050565b6080516137d9620002a3600039600081816106d20152818161086901528181610b9c01528181610d8101528181610f0f01528181611070015281816112770152818161184901528181611c88015261220301526137d96000f3fe6080604052600436106102715760003560e01c806366ad5c8a1161014f578063b353aaa7116100c1578063d1deba1f1161007a578063d1deba1f1461078a578063df2a5b3b1461079d578063e985e9c5146107bd578063eb8d72b714610806578063f2fde38b14610826578063f5ecbdbc1461084657600080fd5b8063b353aaa7146106c0578063b88d4fde146106f4578063baf3292d14610714578063c446183414610734578063c87b56dd1461074a578063cbed8b9c1461076a57600080fd5b80638da5cb5b116101135780638da5cb5b1461060d578063950c8a741461062b57806395d89b411461064b5780639f38369a14610660578063a22cb46514610680578063a6c3d165146106a057600080fd5b806366ad5c8a1461056057806370a0823114610580578063715018a6146105a05780637533d788146105b55780638cfd8f5c146105d557600080fd5b806323b872dd116101e857806342842e0e116101ac57806342842e0e1461047b57806342d65a8d1461049b57806344a0d68a146104bb5780635b8c41e6146104db57806361bc221a1461052a5780636352211e1461054057600080fd5b806323b872dd146103e6578063362790f6146104065780633ccfd60b146104265780633d8b38f61461042e5780633f1f4fa41461044e57600080fd5b8063095ea7b31161023a578063095ea7b3146103475780630df374831461036757806310ddb137146103875780631249c58b146103a757806313faede6146103af5780631e128296146103d357600080fd5b80621d35671461027657806301ffc9a71461029857806306fdde03146102cd57806307e0db17146102ef578063081812fc1461030f575b600080fd5b34801561028257600080fd5b50610296610291366004612ce1565b610866565b005b3480156102a457600080fd5b506102b86102b3366004612d8a565b610a97565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e2610ae9565b6040516102c49190612dff565b3480156102fb57600080fd5b5061029661030a366004612e12565b610b7b565b34801561031b57600080fd5b5061032f61032a366004612e2d565b610c04565b6040516001600160a01b0390911681526020016102c4565b34801561035357600080fd5b50610296610362366004612e5b565b610c2b565b34801561037357600080fd5b50610296610382366004612e87565b610d41565b34801561039357600080fd5b506102966103a2366004612e12565b610d60565b610296610db8565b3480156103bb57600080fd5b506103c5600d5481565b6040519081526020016102c4565b6102966103e1366004612e87565b610e66565b3480156103f257600080fd5b50610296610401366004612ea3565b610fe0565b34801561041257600080fd5b506103c5610421366004612e87565b611011565b610296611111565b34801561043a57600080fd5b506102b8610449366004612ee4565b611171565b34801561045a57600080fd5b506103c5610469366004612e12565b60096020526000908152604090205481565b34801561048757600080fd5b50610296610496366004612ea3565b61123d565b3480156104a757600080fd5b506102966104b6366004612ee4565b611258565b3480156104c757600080fd5b506102966104d6366004612e2d565b6112de565b3480156104e757600080fd5b506103c56104f6366004612ff9565b600b602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561053657600080fd5b506103c5600c5481565b34801561054c57600080fd5b5061032f61055b366004612e2d565b6112eb565b34801561056c57600080fd5b5061029661057b366004612ce1565b61134b565b34801561058c57600080fd5b506103c561059b366004613056565b611427565b3480156105ac57600080fd5b506102966114ad565b3480156105c157600080fd5b506102e26105d0366004612e12565b6114c1565b3480156105e157600080fd5b506103c56105f0366004613073565b600860209081526000928352604080842090915290825290205481565b34801561061957600080fd5b506000546001600160a01b031661032f565b34801561063757600080fd5b50600a5461032f906001600160a01b031681565b34801561065757600080fd5b506102e261155b565b34801561066c57600080fd5b506102e261067b366004612e12565b61156a565b34801561068c57600080fd5b5061029661069b3660046130a6565b611681565b3480156106ac57600080fd5b506102966106bb366004612ee4565b611690565b3480156106cc57600080fd5b5061032f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561070057600080fd5b5061029661070f3660046130e4565b611723565b34801561072057600080fd5b5061029661072f366004613056565b61175b565b34801561074057600080fd5b506103c561271081565b34801561075657600080fd5b506102e2610765366004612e2d565b6117b7565b34801561077657600080fd5b5061029661078536600461314f565b61182a565b610296610798366004612ce1565b6118bf565b3480156107a957600080fd5b506102966107b83660046131bd565b611ad5565b3480156107c957600080fd5b506102b86107d83660046131f9565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561081257600080fd5b50610296610821366004612ee4565b611b87565b34801561083257600080fd5b50610296610841366004613056565b611be1565b34801561085257600080fd5b506102e2610861366004613227565b611c57565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108e35760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff86166000908152600760205260408120805461090190613274565b80601f016020809104026020016040519081016040528092919081815260200182805461092d90613274565b801561097a5780601f1061094f5761010080835404028352916020019161097a565b820191906000526020600020905b81548152906001019060200180831161095d57829003601f168201915b50505050509050805186869050148015610995575060008151115b80156109bd5750805160208201206040516109b390889088906132af565b6040518091039020145b610a185760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016108da565b610a8e8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611d1992505050565b50505050505050565b60006001600160e01b031982166380ac58cd60e01b1480610ac857506001600160e01b03198216635b5e139f60e01b145b80610ae357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060018054610af890613274565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2490613274565b8015610b715780601f10610b4657610100808354040283529160200191610b71565b820191906000526020600020905b815481529060010190602001808311610b5457829003601f168201915b5050505050905090565b610b83611d92565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610be957600080fd5b505af1158015610bfd573d6000803e3d6000fd5b5050505050565b6000610c0f82611dec565b506000908152600560205260409020546001600160a01b031690565b6000610c36826112eb565b9050806001600160a01b0316836001600160a01b03161415610ca45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108da565b336001600160a01b0382161480610cc05750610cc081336107d8565b610d325760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108da565b610d3c8383611e4b565b505050565b610d49611d92565b61ffff909116600090815260096020526040902055565b610d68611d92565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610bcf565b600d54341015610e025760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b60448201526064016108da565b610e5b3362989680600c5442604051602001610e28929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c610e4b91906132bf565b610e569060016132f7565b611eb9565b600c80546001019055565b610e6f816112eb565b6001600160a01b0316336001600160a01b031614610ea0576040516359dc379f60e01b815260040160405180910390fd5b600c8054600019019055610eb381612044565b60408051336020820152808201839052815180820383018152606082018352600160f01b60808301526205573060828084018290528451808503909101815260a284019485905263040a7bb160e41b90945290926001926000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340a7bb1090610f54908a9030908a908790899060a60161330f565b604080518083038186803b158015610f6b57600080fd5b505afa158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa39190613363565b509050803411610fc6576040516307099c5360e21b815260040160405180910390fd5b610a8e878633600086610fdb876101f46132f7565b6120d9565b610fea338261227f565b6110065760405162461bcd60e51b81526004016108da90613387565b610d3c8383836122fd565b60408051336020820152808201839052815180820383018152606082018352600160f01b60808301526205573060828084018290528451808503909101815260a284019485905263040a7bb160e41b90945260009391926001929085907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340a7bb10906110b5908b9030908a908790899060a60161330f565b604080518083038186803b1580156110cc57600080fd5b505afa1580156110e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111049190613363565b5098975050505050505050565b611119611d92565b604051600090339047908381818185875af1925050503d806000811461115b576040519150601f19603f3d011682016040523d82523d6000602084013e611160565b606091505b505090508061116e57600080fd5b50565b61ffff83166000908152600760205260408120805482919061119290613274565b80601f01602080910402602001604051908101604052809291908181526020018280546111be90613274565b801561120b5780601f106111e05761010080835404028352916020019161120b565b820191906000526020600020905b8154815290600101906020018083116111ee57829003601f168201915b5050505050905083836040516112229291906132af565b60405180910390208180519060200120149150509392505050565b610d3c83838360405180602001604052806000815250611723565b611260611d92565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d906112b0908690869086906004016133fd565b600060405180830381600087803b1580156112ca57600080fd5b505af1158015610a8e573d6000803e3d6000fd5b6112e6611d92565b600d55565b6000818152600360205260408120546001600160a01b031680610ae35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108da565b3330146113a95760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016108da565b61141f8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061246192505050565b505050505050565b60006001600160a01b0382166114915760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108da565b506001600160a01b031660009081526004602052604090205490565b6114b5611d92565b6114bf60006124ec565b565b600760205260009081526040902080546114da90613274565b80601f016020809104026020016040519081016040528092919081815260200182805461150690613274565b80156115535780601f1061152857610100808354040283529160200191611553565b820191906000526020600020905b81548152906001019060200180831161153657829003601f168201915b505050505081565b606060028054610af890613274565b61ffff811660009081526007602052604081208054606092919061158d90613274565b80601f01602080910402602001604051908101604052809291908181526020018280546115b990613274565b80156116065780601f106115db57610100808354040283529160200191611606565b820191906000526020600020905b8154815290600101906020018083116115e957829003601f168201915b5050505050905080516000141561165f5760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016108da565b61167a600060148351611672919061341b565b83919061253c565b9392505050565b61168c338383612649565b5050565b611698611d92565b8181306040516020016116ad93929190613432565b60408051601f1981840301815291815261ffff851660009081526007602090815291902082516116e293919290910190612b5e565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611716939291906133fd565b60405180910390a1505050565b61172d338361227f565b6117495760405162461bcd60e51b81526004016108da90613387565b61175584848484612718565b50505050565b611763611d92565b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b9060200160405180910390a150565b60606117c282611dec565b60006117d960408051602081019091526000815290565b905060008151116117f9576040518060200160405280600081525061167a565b806118038461274b565b604051602001611814929190613458565b6040516020818303038152906040529392505050565b611832611d92565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906118869088908890889088908890600401613487565b600060405180830381600087803b1580156118a057600080fd5b505af11580156118b4573d6000803e3d6000fd5b505050505050505050565b61ffff86166000908152600b602052604080822090516118e290889088906132af565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806119625760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016108da565b8083836040516119739291906132af565b6040518091039020146119d25760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016108da565b61ffff87166000908152600b602052604080822090516119f590899089906132af565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611a8d918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061246192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e58787878785604051611ac49594939291906134c0565b60405180910390a150505050505050565b611add611d92565b60008111611b255760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016108da565b61ffff83811660008181526008602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611716565b611b8f611d92565b61ffff83166000908152600760205260409020611bad908383612be2565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611716939291906133fd565b611be9611d92565b6001600160a01b038116611c4e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108da565b61116e816124ec565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc9060840160006040518083038186803b158015611cd257600080fd5b505afa158015611ce6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d0e91908101906134fb565b90505b949350505050565b600080611d7c5a60966366ad5c8a60e01b89898989604051602401611d419493929190613571565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906127e7565b915091508161141f5761141f8686868685612871565b6000546001600160a01b031633146114bf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108da565b6000818152600360205260409020546001600160a01b031661116e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108da565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e80826112eb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216611f0f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108da565b6000818152600360205260409020546001600160a01b031615611f745760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b6000818152600360205260409020546001600160a01b031615611fd95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600061204f826112eb565b905061205a826112eb565b600083815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526004845282852080546000190190558785526003909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61ffff8616600090815260076020526040812080546120f790613274565b80601f016020809104026020016040519081016040528092919081815260200182805461212390613274565b80156121705780601f1061214557610100808354040283529160200191612170565b820191906000526020600020905b81548152906001019060200180831161215357829003601f168201915b505050505090508051600014156121e25760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016108da565b6121ed87875161290e565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612244908b9086908c908c908c908c906004016135af565b6000604051808303818588803b15801561225d57600080fd5b505af1158015612271573d6000803e3d6000fd5b505050505050505050505050565b60008061228b836112eb565b9050806001600160a01b0316846001600160a01b031614806122d257506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80611d115750836001600160a01b03166122eb84610c04565b6001600160a01b031614949350505050565b826001600160a01b0316612310826112eb565b6001600160a01b0316146123365760405162461bcd60e51b81526004016108da90613616565b6001600160a01b0382166123985760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108da565b826001600160a01b03166123ab826112eb565b6001600160a01b0316146123d15760405162461bcd60e51b81526004016108da90613616565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006014840151905060008083806020019051810190612481919061365b565b9150915061248f8282611eb9565b600c8054600101908190556040805161ffff8a1681526001600160a01b038616602082015290810183905260608101919091527f31ae2bb20187b24b2039def7711f43f56311ec96de17b7ef01d1b1da40eb2eee90608001611ac4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60608161254a81601f6132f7565b10156125895760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016108da565b61259382846132f7565b845110156125d75760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016108da565b6060821580156125f65760405191506000825260208201604052612640565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561262f578051835260209283019201612617565b5050858452601f01601f1916604052505b50949350505050565b816001600160a01b0316836001600160a01b031614156126ab5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108da565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6127238484846122fd565b61272f8484848461297c565b6117555760405162461bcd60e51b81526004016108da90613689565b6060600061275883612a86565b60010190506000816001600160401b0381111561277757612777612f36565b6040519080825280601f01601f1916602001820160405280156127a1576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846127da576127df565b6127ab565b509392505050565b6000606060008060008661ffff166001600160401b0381111561280c5761280c612f36565b6040519080825280601f01601f191660200182016040528015612836576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612858578692505b828152826000602083013e909890975095505050505050565b8180519060200120600b60008761ffff1661ffff168152602001908152602001600020856040516128a291906136db565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906128ff90879087908790879087906136f7565b60405180910390a15050505050565b61ffff82166000908152600960205260409020548061292c57506127105b80821115610d3c5760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016108da565b60006001600160a01b0384163b15612a7e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129c0903390899088908890600401613749565b602060405180830381600087803b1580156129da57600080fd5b505af1925050508015612a0a575060408051601f3d908101601f19168201909252612a0791810190613786565b60015b612a64573d808015612a38576040519150601f19603f3d011682016040523d82523d6000602084013e612a3d565b606091505b508051612a5c5760405162461bcd60e51b81526004016108da90613689565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d11565b506001611d11565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612ac55772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612af1576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612b0f57662386f26fc10000830492506010015b6305f5e1008310612b27576305f5e100830492506008015b6127108310612b3b57612710830492506004015b60648310612b4d576064830492506002015b600a8310610ae35760010192915050565b828054612b6a90613274565b90600052602060002090601f016020900481019282612b8c5760008555612bd2565b82601f10612ba557805160ff1916838001178555612bd2565b82800160010185558215612bd2579182015b82811115612bd2578251825591602001919060010190612bb7565b50612bde929150612c56565b5090565b828054612bee90613274565b90600052602060002090601f016020900481019282612c105760008555612bd2565b82601f10612c295782800160ff19823516178555612bd2565b82800160010185558215612bd2579182015b82811115612bd2578235825591602001919060010190612c3b565b5b80821115612bde5760008155600101612c57565b803561ffff81168114612c7d57600080fd5b919050565b60008083601f840112612c9457600080fd5b5081356001600160401b03811115612cab57600080fd5b602083019150836020828501011115612cc357600080fd5b9250929050565b80356001600160401b0381168114612c7d57600080fd5b60008060008060008060808789031215612cfa57600080fd5b612d0387612c6b565b955060208701356001600160401b0380821115612d1f57600080fd5b612d2b8a838b01612c82565b9097509550859150612d3f60408a01612cca565b94506060890135915080821115612d5557600080fd5b50612d6289828a01612c82565b979a9699509497509295939492505050565b6001600160e01b03198116811461116e57600080fd5b600060208284031215612d9c57600080fd5b813561167a81612d74565b60005b83811015612dc2578181015183820152602001612daa565b838111156117555750506000910152565b60008151808452612deb816020860160208601612da7565b601f01601f19169290920160200192915050565b60208152600061167a6020830184612dd3565b600060208284031215612e2457600080fd5b61167a82612c6b565b600060208284031215612e3f57600080fd5b5035919050565b6001600160a01b038116811461116e57600080fd5b60008060408385031215612e6e57600080fd5b8235612e7981612e46565b946020939093013593505050565b60008060408385031215612e9a57600080fd5b612e7983612c6b565b600080600060608486031215612eb857600080fd5b8335612ec381612e46565b92506020840135612ed381612e46565b929592945050506040919091013590565b600080600060408486031215612ef957600080fd5b612f0284612c6b565b925060208401356001600160401b03811115612f1d57600080fd5b612f2986828701612c82565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612f7457612f74612f36565b604052919050565b60006001600160401b03821115612f9557612f95612f36565b50601f01601f191660200190565b600082601f830112612fb457600080fd5b8135612fc7612fc282612f7c565b612f4c565b818152846020838601011115612fdc57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561300e57600080fd5b61301784612c6b565b925060208401356001600160401b0381111561303257600080fd5b61303e86828701612fa3565b92505061304d60408501612cca565b90509250925092565b60006020828403121561306857600080fd5b813561167a81612e46565b6000806040838503121561308657600080fd5b61308f83612c6b565b915061309d60208401612c6b565b90509250929050565b600080604083850312156130b957600080fd5b82356130c481612e46565b9150602083013580151581146130d957600080fd5b809150509250929050565b600080600080608085870312156130fa57600080fd5b843561310581612e46565b9350602085013561311581612e46565b92506040850135915060608501356001600160401b0381111561313757600080fd5b61314387828801612fa3565b91505092959194509250565b60008060008060006080868803121561316757600080fd5b61317086612c6b565b945061317e60208701612c6b565b93506040860135925060608601356001600160401b038111156131a057600080fd5b6131ac88828901612c82565b969995985093965092949392505050565b6000806000606084860312156131d257600080fd5b6131db84612c6b565b92506131e960208501612c6b565b9150604084013590509250925092565b6000806040838503121561320c57600080fd5b823561321781612e46565b915060208301356130d981612e46565b6000806000806080858703121561323d57600080fd5b61324685612c6b565b935061325460208601612c6b565b9250604085013561326481612e46565b9396929550929360600135925050565b600181811c9082168061328857607f821691505b602082108114156132a957634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b6000826132dc57634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b6000821982111561330a5761330a6132e1565b500190565b61ffff861681526001600160a01b038516602082015260a06040820181905260009061333d90830186612dd3565b841515606084015282810360808401526133578185612dd3565b98975050505050505050565b6000806040838503121561337657600080fd5b505080516020909101519092909150565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611d0e6040830184866133d4565b60008282101561342d5761342d6132e1565b500390565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b6000835161346a818460208801612da7565b83519083019061347e818360208801612da7565b01949350505050565b600061ffff8088168352808716602084015250846040830152608060608301526134b56080830184866133d4565b979650505050505050565b61ffff861681526080602082015260006134de6080830186886133d4565b6001600160401b0394909416604083015250606001529392505050565b60006020828403121561350d57600080fd5b81516001600160401b0381111561352357600080fd5b8201601f8101841361353457600080fd5b8051613542612fc282612f7c565b81815285602083850101111561355757600080fd5b613568826020830160208601612da7565b95945050505050565b61ffff8516815260806020820152600061358e6080830186612dd3565b6001600160401b038516604084015282810360608401526134b58185612dd3565b61ffff8716815260c0602082015260006135cc60c0830188612dd3565b82810360408401526135de8188612dd3565b6001600160a01b0387811660608601528616608085015283810360a085015290506136098185612dd3565b9998505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6000806040838503121561366e57600080fd5b825161367981612e46565b6020939093015192949293505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082516136ed818460208701612da7565b9190910192915050565b61ffff8616815260a06020820152600061371460a0830187612dd3565b6001600160401b038616604084015282810360608401526137358186612dd3565b905082810360808401526133578185612dd3565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061377c90830184612dd3565b9695505050505050565b60006020828403121561379857600080fd5b815161167a81612d7456fea2646970667358221220dfd7c460b6418d0cc2f30982b02585905d4002c1c0d3c04d546bc90b94dccac764736f6c634300080900330000000000000000000000003c2269811836af69497e5f486a85d7316753cf62Deployed Bytecode
0x6080604052600436106102715760003560e01c806366ad5c8a1161014f578063b353aaa7116100c1578063d1deba1f1161007a578063d1deba1f1461078a578063df2a5b3b1461079d578063e985e9c5146107bd578063eb8d72b714610806578063f2fde38b14610826578063f5ecbdbc1461084657600080fd5b8063b353aaa7146106c0578063b88d4fde146106f4578063baf3292d14610714578063c446183414610734578063c87b56dd1461074a578063cbed8b9c1461076a57600080fd5b80638da5cb5b116101135780638da5cb5b1461060d578063950c8a741461062b57806395d89b411461064b5780639f38369a14610660578063a22cb46514610680578063a6c3d165146106a057600080fd5b806366ad5c8a1461056057806370a0823114610580578063715018a6146105a05780637533d788146105b55780638cfd8f5c146105d557600080fd5b806323b872dd116101e857806342842e0e116101ac57806342842e0e1461047b57806342d65a8d1461049b57806344a0d68a146104bb5780635b8c41e6146104db57806361bc221a1461052a5780636352211e1461054057600080fd5b806323b872dd146103e6578063362790f6146104065780633ccfd60b146104265780633d8b38f61461042e5780633f1f4fa41461044e57600080fd5b8063095ea7b31161023a578063095ea7b3146103475780630df374831461036757806310ddb137146103875780631249c58b146103a757806313faede6146103af5780631e128296146103d357600080fd5b80621d35671461027657806301ffc9a71461029857806306fdde03146102cd57806307e0db17146102ef578063081812fc1461030f575b600080fd5b34801561028257600080fd5b50610296610291366004612ce1565b610866565b005b3480156102a457600080fd5b506102b86102b3366004612d8a565b610a97565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e2610ae9565b6040516102c49190612dff565b3480156102fb57600080fd5b5061029661030a366004612e12565b610b7b565b34801561031b57600080fd5b5061032f61032a366004612e2d565b610c04565b6040516001600160a01b0390911681526020016102c4565b34801561035357600080fd5b50610296610362366004612e5b565b610c2b565b34801561037357600080fd5b50610296610382366004612e87565b610d41565b34801561039357600080fd5b506102966103a2366004612e12565b610d60565b610296610db8565b3480156103bb57600080fd5b506103c5600d5481565b6040519081526020016102c4565b6102966103e1366004612e87565b610e66565b3480156103f257600080fd5b50610296610401366004612ea3565b610fe0565b34801561041257600080fd5b506103c5610421366004612e87565b611011565b610296611111565b34801561043a57600080fd5b506102b8610449366004612ee4565b611171565b34801561045a57600080fd5b506103c5610469366004612e12565b60096020526000908152604090205481565b34801561048757600080fd5b50610296610496366004612ea3565b61123d565b3480156104a757600080fd5b506102966104b6366004612ee4565b611258565b3480156104c757600080fd5b506102966104d6366004612e2d565b6112de565b3480156104e757600080fd5b506103c56104f6366004612ff9565b600b602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561053657600080fd5b506103c5600c5481565b34801561054c57600080fd5b5061032f61055b366004612e2d565b6112eb565b34801561056c57600080fd5b5061029661057b366004612ce1565b61134b565b34801561058c57600080fd5b506103c561059b366004613056565b611427565b3480156105ac57600080fd5b506102966114ad565b3480156105c157600080fd5b506102e26105d0366004612e12565b6114c1565b3480156105e157600080fd5b506103c56105f0366004613073565b600860209081526000928352604080842090915290825290205481565b34801561061957600080fd5b506000546001600160a01b031661032f565b34801561063757600080fd5b50600a5461032f906001600160a01b031681565b34801561065757600080fd5b506102e261155b565b34801561066c57600080fd5b506102e261067b366004612e12565b61156a565b34801561068c57600080fd5b5061029661069b3660046130a6565b611681565b3480156106ac57600080fd5b506102966106bb366004612ee4565b611690565b3480156106cc57600080fd5b5061032f7f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf6281565b34801561070057600080fd5b5061029661070f3660046130e4565b611723565b34801561072057600080fd5b5061029661072f366004613056565b61175b565b34801561074057600080fd5b506103c561271081565b34801561075657600080fd5b506102e2610765366004612e2d565b6117b7565b34801561077657600080fd5b5061029661078536600461314f565b61182a565b610296610798366004612ce1565b6118bf565b3480156107a957600080fd5b506102966107b83660046131bd565b611ad5565b3480156107c957600080fd5b506102b86107d83660046131f9565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561081257600080fd5b50610296610821366004612ee4565b611b87565b34801561083257600080fd5b50610296610841366004613056565b611be1565b34801561085257600080fd5b506102e2610861366004613227565b611c57565b337f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316146108e35760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff86166000908152600760205260408120805461090190613274565b80601f016020809104026020016040519081016040528092919081815260200182805461092d90613274565b801561097a5780601f1061094f5761010080835404028352916020019161097a565b820191906000526020600020905b81548152906001019060200180831161095d57829003601f168201915b50505050509050805186869050148015610995575060008151115b80156109bd5750805160208201206040516109b390889088906132af565b6040518091039020145b610a185760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016108da565b610a8e8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611d1992505050565b50505050505050565b60006001600160e01b031982166380ac58cd60e01b1480610ac857506001600160e01b03198216635b5e139f60e01b145b80610ae357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060018054610af890613274565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2490613274565b8015610b715780601f10610b4657610100808354040283529160200191610b71565b820191906000526020600020905b815481529060010190602001808311610b5457829003601f168201915b5050505050905090565b610b83611d92565b6040516307e0db1760e01b815261ffff821660048201527f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610be957600080fd5b505af1158015610bfd573d6000803e3d6000fd5b5050505050565b6000610c0f82611dec565b506000908152600560205260409020546001600160a01b031690565b6000610c36826112eb565b9050806001600160a01b0316836001600160a01b03161415610ca45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108da565b336001600160a01b0382161480610cc05750610cc081336107d8565b610d325760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108da565b610d3c8383611e4b565b505050565b610d49611d92565b61ffff909116600090815260096020526040902055565b610d68611d92565b6040516310ddb13760e01b815261ffff821660048201527f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316906310ddb13790602401610bcf565b600d54341015610e025760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b60448201526064016108da565b610e5b3362989680600c5442604051602001610e28929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c610e4b91906132bf565b610e569060016132f7565b611eb9565b600c80546001019055565b610e6f816112eb565b6001600160a01b0316336001600160a01b031614610ea0576040516359dc379f60e01b815260040160405180910390fd5b600c8054600019019055610eb381612044565b60408051336020820152808201839052815180820383018152606082018352600160f01b60808301526205573060828084018290528451808503909101815260a284019485905263040a7bb160e41b90945290926001926000907f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316906340a7bb1090610f54908a9030908a908790899060a60161330f565b604080518083038186803b158015610f6b57600080fd5b505afa158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa39190613363565b509050803411610fc6576040516307099c5360e21b815260040160405180910390fd5b610a8e878633600086610fdb876101f46132f7565b6120d9565b610fea338261227f565b6110065760405162461bcd60e51b81526004016108da90613387565b610d3c8383836122fd565b60408051336020820152808201839052815180820383018152606082018352600160f01b60808301526205573060828084018290528451808503909101815260a284019485905263040a7bb160e41b90945260009391926001929085907f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316906340a7bb10906110b5908b9030908a908790899060a60161330f565b604080518083038186803b1580156110cc57600080fd5b505afa1580156110e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111049190613363565b5098975050505050505050565b611119611d92565b604051600090339047908381818185875af1925050503d806000811461115b576040519150601f19603f3d011682016040523d82523d6000602084013e611160565b606091505b505090508061116e57600080fd5b50565b61ffff83166000908152600760205260408120805482919061119290613274565b80601f01602080910402602001604051908101604052809291908181526020018280546111be90613274565b801561120b5780601f106111e05761010080835404028352916020019161120b565b820191906000526020600020905b8154815290600101906020018083116111ee57829003601f168201915b5050505050905083836040516112229291906132af565b60405180910390208180519060200120149150509392505050565b610d3c83838360405180602001604052806000815250611723565b611260611d92565b6040516342d65a8d60e01b81526001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf6216906342d65a8d906112b0908690869086906004016133fd565b600060405180830381600087803b1580156112ca57600080fd5b505af1158015610a8e573d6000803e3d6000fd5b6112e6611d92565b600d55565b6000818152600360205260408120546001600160a01b031680610ae35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108da565b3330146113a95760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016108da565b61141f8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061246192505050565b505050505050565b60006001600160a01b0382166114915760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108da565b506001600160a01b031660009081526004602052604090205490565b6114b5611d92565b6114bf60006124ec565b565b600760205260009081526040902080546114da90613274565b80601f016020809104026020016040519081016040528092919081815260200182805461150690613274565b80156115535780601f1061152857610100808354040283529160200191611553565b820191906000526020600020905b81548152906001019060200180831161153657829003601f168201915b505050505081565b606060028054610af890613274565b61ffff811660009081526007602052604081208054606092919061158d90613274565b80601f01602080910402602001604051908101604052809291908181526020018280546115b990613274565b80156116065780601f106115db57610100808354040283529160200191611606565b820191906000526020600020905b8154815290600101906020018083116115e957829003601f168201915b5050505050905080516000141561165f5760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016108da565b61167a600060148351611672919061341b565b83919061253c565b9392505050565b61168c338383612649565b5050565b611698611d92565b8181306040516020016116ad93929190613432565b60408051601f1981840301815291815261ffff851660009081526007602090815291902082516116e293919290910190612b5e565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce838383604051611716939291906133fd565b60405180910390a1505050565b61172d338361227f565b6117495760405162461bcd60e51b81526004016108da90613387565b61175584848484612718565b50505050565b611763611d92565b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b9060200160405180910390a150565b60606117c282611dec565b60006117d960408051602081019091526000815290565b905060008151116117f9576040518060200160405280600081525061167a565b806118038461274b565b604051602001611814929190613458565b6040516020818303038152906040529392505050565b611832611d92565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62169063cbed8b9c906118869088908890889088908890600401613487565b600060405180830381600087803b1580156118a057600080fd5b505af11580156118b4573d6000803e3d6000fd5b505050505050505050565b61ffff86166000908152600b602052604080822090516118e290889088906132af565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806119625760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016108da565b8083836040516119739291906132af565b6040518091039020146119d25760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016108da565b61ffff87166000908152600b602052604080822090516119f590899089906132af565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611a8d918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061246192505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e58787878785604051611ac49594939291906134c0565b60405180910390a150505050505050565b611add611d92565b60008111611b255760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016108da565b61ffff83811660008181526008602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac090606001611716565b611b8f611d92565b61ffff83166000908152600760205260409020611bad908383612be2565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611716939291906133fd565b611be9611d92565b6001600160a01b038116611c4e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108da565b61116e816124ec565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b03169063f5ecbdbc9060840160006040518083038186803b158015611cd257600080fd5b505afa158015611ce6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d0e91908101906134fb565b90505b949350505050565b600080611d7c5a60966366ad5c8a60e01b89898989604051602401611d419493929190613571565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906127e7565b915091508161141f5761141f8686868685612871565b6000546001600160a01b031633146114bf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108da565b6000818152600360205260409020546001600160a01b031661116e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108da565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e80826112eb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216611f0f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108da565b6000818152600360205260409020546001600160a01b031615611f745760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b6000818152600360205260409020546001600160a01b031615611fd95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108da565b6001600160a01b038216600081815260046020908152604080832080546001019055848352600390915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600061204f826112eb565b905061205a826112eb565b600083815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526004845282852080546000190190558785526003909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b61ffff8616600090815260076020526040812080546120f790613274565b80601f016020809104026020016040519081016040528092919081815260200182805461212390613274565b80156121705780601f1061214557610100808354040283529160200191612170565b820191906000526020600020905b81548152906001019060200180831161215357829003601f168201915b505050505090508051600014156121e25760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016108da565b6121ed87875161290e565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62169063c5803100908490612244908b9086908c908c908c908c906004016135af565b6000604051808303818588803b15801561225d57600080fd5b505af1158015612271573d6000803e3d6000fd5b505050505050505050505050565b60008061228b836112eb565b9050806001600160a01b0316846001600160a01b031614806122d257506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80611d115750836001600160a01b03166122eb84610c04565b6001600160a01b031614949350505050565b826001600160a01b0316612310826112eb565b6001600160a01b0316146123365760405162461bcd60e51b81526004016108da90613616565b6001600160a01b0382166123985760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108da565b826001600160a01b03166123ab826112eb565b6001600160a01b0316146123d15760405162461bcd60e51b81526004016108da90613616565b600081815260056020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260048552838620805460001901905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006014840151905060008083806020019051810190612481919061365b565b9150915061248f8282611eb9565b600c8054600101908190556040805161ffff8a1681526001600160a01b038616602082015290810183905260608101919091527f31ae2bb20187b24b2039def7711f43f56311ec96de17b7ef01d1b1da40eb2eee90608001611ac4565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60608161254a81601f6132f7565b10156125895760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016108da565b61259382846132f7565b845110156125d75760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016108da565b6060821580156125f65760405191506000825260208201604052612640565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561262f578051835260209283019201612617565b5050858452601f01601f1916604052505b50949350505050565b816001600160a01b0316836001600160a01b031614156126ab5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108da565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6127238484846122fd565b61272f8484848461297c565b6117555760405162461bcd60e51b81526004016108da90613689565b6060600061275883612a86565b60010190506000816001600160401b0381111561277757612777612f36565b6040519080825280601f01601f1916602001820160405280156127a1576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846127da576127df565b6127ab565b509392505050565b6000606060008060008661ffff166001600160401b0381111561280c5761280c612f36565b6040519080825280601f01601f191660200182016040528015612836576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612858578692505b828152826000602083013e909890975095505050505050565b8180519060200120600b60008761ffff1661ffff168152602001908152602001600020856040516128a291906136db565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906128ff90879087908790879087906136f7565b60405180910390a15050505050565b61ffff82166000908152600960205260409020548061292c57506127105b80821115610d3c5760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016108da565b60006001600160a01b0384163b15612a7e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129c0903390899088908890600401613749565b602060405180830381600087803b1580156129da57600080fd5b505af1925050508015612a0a575060408051601f3d908101601f19168201909252612a0791810190613786565b60015b612a64573d808015612a38576040519150601f19603f3d011682016040523d82523d6000602084013e612a3d565b606091505b508051612a5c5760405162461bcd60e51b81526004016108da90613689565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d11565b506001611d11565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612ac55772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612af1576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612b0f57662386f26fc10000830492506010015b6305f5e1008310612b27576305f5e100830492506008015b6127108310612b3b57612710830492506004015b60648310612b4d576064830492506002015b600a8310610ae35760010192915050565b828054612b6a90613274565b90600052602060002090601f016020900481019282612b8c5760008555612bd2565b82601f10612ba557805160ff1916838001178555612bd2565b82800160010185558215612bd2579182015b82811115612bd2578251825591602001919060010190612bb7565b50612bde929150612c56565b5090565b828054612bee90613274565b90600052602060002090601f016020900481019282612c105760008555612bd2565b82601f10612c295782800160ff19823516178555612bd2565b82800160010185558215612bd2579182015b82811115612bd2578235825591602001919060010190612c3b565b5b80821115612bde5760008155600101612c57565b803561ffff81168114612c7d57600080fd5b919050565b60008083601f840112612c9457600080fd5b5081356001600160401b03811115612cab57600080fd5b602083019150836020828501011115612cc357600080fd5b9250929050565b80356001600160401b0381168114612c7d57600080fd5b60008060008060008060808789031215612cfa57600080fd5b612d0387612c6b565b955060208701356001600160401b0380821115612d1f57600080fd5b612d2b8a838b01612c82565b9097509550859150612d3f60408a01612cca565b94506060890135915080821115612d5557600080fd5b50612d6289828a01612c82565b979a9699509497509295939492505050565b6001600160e01b03198116811461116e57600080fd5b600060208284031215612d9c57600080fd5b813561167a81612d74565b60005b83811015612dc2578181015183820152602001612daa565b838111156117555750506000910152565b60008151808452612deb816020860160208601612da7565b601f01601f19169290920160200192915050565b60208152600061167a6020830184612dd3565b600060208284031215612e2457600080fd5b61167a82612c6b565b600060208284031215612e3f57600080fd5b5035919050565b6001600160a01b038116811461116e57600080fd5b60008060408385031215612e6e57600080fd5b8235612e7981612e46565b946020939093013593505050565b60008060408385031215612e9a57600080fd5b612e7983612c6b565b600080600060608486031215612eb857600080fd5b8335612ec381612e46565b92506020840135612ed381612e46565b929592945050506040919091013590565b600080600060408486031215612ef957600080fd5b612f0284612c6b565b925060208401356001600160401b03811115612f1d57600080fd5b612f2986828701612c82565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612f7457612f74612f36565b604052919050565b60006001600160401b03821115612f9557612f95612f36565b50601f01601f191660200190565b600082601f830112612fb457600080fd5b8135612fc7612fc282612f7c565b612f4c565b818152846020838601011115612fdc57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561300e57600080fd5b61301784612c6b565b925060208401356001600160401b0381111561303257600080fd5b61303e86828701612fa3565b92505061304d60408501612cca565b90509250925092565b60006020828403121561306857600080fd5b813561167a81612e46565b6000806040838503121561308657600080fd5b61308f83612c6b565b915061309d60208401612c6b565b90509250929050565b600080604083850312156130b957600080fd5b82356130c481612e46565b9150602083013580151581146130d957600080fd5b809150509250929050565b600080600080608085870312156130fa57600080fd5b843561310581612e46565b9350602085013561311581612e46565b92506040850135915060608501356001600160401b0381111561313757600080fd5b61314387828801612fa3565b91505092959194509250565b60008060008060006080868803121561316757600080fd5b61317086612c6b565b945061317e60208701612c6b565b93506040860135925060608601356001600160401b038111156131a057600080fd5b6131ac88828901612c82565b969995985093965092949392505050565b6000806000606084860312156131d257600080fd5b6131db84612c6b565b92506131e960208501612c6b565b9150604084013590509250925092565b6000806040838503121561320c57600080fd5b823561321781612e46565b915060208301356130d981612e46565b6000806000806080858703121561323d57600080fd5b61324685612c6b565b935061325460208601612c6b565b9250604085013561326481612e46565b9396929550929360600135925050565b600181811c9082168061328857607f821691505b602082108114156132a957634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b6000826132dc57634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b6000821982111561330a5761330a6132e1565b500190565b61ffff861681526001600160a01b038516602082015260a06040820181905260009061333d90830186612dd3565b841515606084015282810360808401526133578185612dd3565b98975050505050505050565b6000806040838503121561337657600080fd5b505080516020909101519092909150565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611d0e6040830184866133d4565b60008282101561342d5761342d6132e1565b500390565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b6000835161346a818460208801612da7565b83519083019061347e818360208801612da7565b01949350505050565b600061ffff8088168352808716602084015250846040830152608060608301526134b56080830184866133d4565b979650505050505050565b61ffff861681526080602082015260006134de6080830186886133d4565b6001600160401b0394909416604083015250606001529392505050565b60006020828403121561350d57600080fd5b81516001600160401b0381111561352357600080fd5b8201601f8101841361353457600080fd5b8051613542612fc282612f7c565b81815285602083850101111561355757600080fd5b613568826020830160208601612da7565b95945050505050565b61ffff8516815260806020820152600061358e6080830186612dd3565b6001600160401b038516604084015282810360608401526134b58185612dd3565b61ffff8716815260c0602082015260006135cc60c0830188612dd3565b82810360408401526135de8188612dd3565b6001600160a01b0387811660608601528616608085015283810360a085015290506136098185612dd3565b9998505050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6000806040838503121561366e57600080fd5b825161367981612e46565b6020939093015192949293505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082516136ed818460208701612da7565b9190910192915050565b61ffff8616815260a06020820152600061371460a0830187612dd3565b6001600160401b038616604084015282810360608401526137358186612dd3565b905082810360808401526133578185612dd3565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061377c90830184612dd3565b9695505050505050565b60006020828403121561379857600080fd5b815161167a81612d7456fea2646970667358221220dfd7c460b6418d0cc2f30982b02585905d4002c1c0d3c04d546bc90b94dccac764736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62
-----Decoded View---------------
Arg [0] : _endpoint (address): 0x3c2269811836af69497E5F486A85D7316753cf62
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62Deployed Bytecode Sourcemap
280:3015:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1195:891:14;;;;;;;;;;-1:-1:-1;1195:891:14;;;;;:::i;:::-;;:::i;:::-;;1505:300:5;;;;;;;;;;-1:-1:-1;1505:300:5;;;;;:::i;:::-;;:::i;:::-;;;2124:14:20;;2117:22;2099:41;;2087:2;2072:18;1505:300:5;;;;;;;;2406:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;5072:121:14:-;;;;;;;;;;-1:-1:-1;5072:121:14;;;;;:::i;:::-;;:::i;3870:167:5:-;;;;;;;;;;-1:-1:-1;3870:167:5;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3440:32:20;;;3422:51;;3410:2;3395:18;3870:167:5;3276:203:20;3403:406:5;;;;;;;;;;-1:-1:-1;3403:406:5;;;;;:::i;:::-;;:::i;7090:162:14:-;;;;;;;;;;-1:-1:-1;7090:162:14;;;;;:::i;:::-;;:::i;5199:127::-;;;;;;;;;;-1:-1:-1;5199:127:14;;;;;:::i;:::-;;:::i;739:254:16:-;;;:::i;373:31::-;;;;;;;;;;;;;;;;;;;4343:25:20;;;4331:2;4316:18;373:31:16;4197:177:20;1193:916:16;;;;;;:::i;:::-;;:::i;4547:326:5:-;;;;;;;;;;-1:-1:-1;4547:326:5;;;;;:::i;:::-;;:::i;2745:548:16:-;;;;;;;;;;-1:-1:-1;2745:548:16;;;;;:::i;:::-;;:::i;1000:187::-;;;:::i;7347:269:14:-;;;;;;;;;;-1:-1:-1;7347:269:14;;;;;:::i;:::-;;:::i;749:53::-;;;;;;;;;;-1:-1:-1;749:53:14;;;;;:::i;:::-;;;;;;;;;;;;;;4939:179:5;;;;;;;;;;-1:-1:-1;4939:179:5;;;;;:::i;:::-;;:::i;5332:198:14:-;;;;;;;;;;-1:-1:-1;5332:198:14;;;;;:::i;:::-;;:::i;658:75:16:-;;;;;;;;;;-1:-1:-1;658:75:16;;;;;:::i;:::-;;:::i;611:93:17:-;;;;;;;;;;-1:-1:-1;611:93:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;345:22:16;;;;;;;;;;;;;;;;2125:219:5;;;;;;;;;;-1:-1:-1;2125:219:5;;;;;:::i;:::-;;:::i;2224:414:17:-;;;;;;;;;;-1:-1:-1;2224:414:17;;;;;:::i;:::-;;:::i;1864:204:5:-;;;;;;;;;;-1:-1:-1;1864:204:5;;;;;:::i;:::-;;:::i;1824:101:18:-;;;;;;;;;;;;;:::i;621:51:14:-;;;;;;;;;;-1:-1:-1;621:51:14;;;;;:::i;:::-;;:::i;678:65::-;;;;;;;;;;-1:-1:-1;678:65:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1194:85:18;;;;;;;;;;-1:-1:-1;1240:7:18;1266:6;-1:-1:-1;;;;;1266:6:18;1194:85;;808:23:14;;;;;;;;;;-1:-1:-1;808:23:14;;;;-1:-1:-1;;;;;808:23:14;;;2568:102:5;;;;;;;;;;;;;:::i;6236:340:14:-;;;;;;;;;;-1:-1:-1;6236:340:14;;;;;:::i;:::-;;:::i;4104:153:5:-;;;;;;;;;;-1:-1:-1;4104:153:5;;;;;:::i;:::-;;:::i;5896:334:14:-;;;;;;;;;;-1:-1:-1;5896:334:14;;;;;:::i;:::-;;:::i;569:46::-;;;;;;;;;;;;;;;5184:314:5;;;;;;;;;;-1:-1:-1;5184:314:5;;;;;:::i;:::-;;:::i;6582:133:14:-;;;;;;;;;;-1:-1:-1;6582:133:14;;;;;:::i;:::-;;:::i;507:55::-;;;;;;;;;;;;557:5;507:55;;2736:276:5;;;;;;;;;;-1:-1:-1;2736:276:5;;;;;:::i;:::-;;:::i;4826:240:14:-;;;;;;;;;;-1:-1:-1;4826:240:14;;;;;:::i;:::-;;:::i;2857:863:17:-;;;;;;:::i;:::-;;:::i;6721:310:14:-;;;;;;;;;;-1:-1:-1;6721:310:14;;;;;:::i;:::-;;:::i;4323:162:5:-;;;;;;;;;;-1:-1:-1;4323:162:5;;;;;:::i;:::-;-1:-1:-1;;;;;4443:25:5;;;4420:4;4443:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4323:162;5673:217:14;;;;;;;;;;-1:-1:-1;5673:217:14;;;;;:::i;:::-;;:::i;2074:198:18:-;;;;;;;;;;-1:-1:-1;2074:198:18;;;;;:::i;:::-;;:::i;4430:337:14:-;;;;;;;;;;-1:-1:-1;4430:337:14;;;;;:::i;:::-;;:::i;1195:891::-;719:10:3;1484::14;-1:-1:-1;;;;;1460:35:14;;1439:112;;;;-1:-1:-1;;;1439:112:14;;11125:2:20;1439:112:14;;;11107:21:20;11164:2;11144:18;;;11137:30;11203:32;11183:18;;;11176:60;11253:18;;1439:112:14;;;;;;;;;1591:32;;;1562:26;1591:32;;;:19;:32;;;;;1562:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1808:13;:20;1786:11;;:18;;:42;:86;;;;;1871:1;1848:13;:20;:24;1786:86;:156;;;;-1:-1:-1;1918:24:14;;;;;;1892:22;;;;1902:11;;;;1892:22;:::i;:::-;;;;;;;;:50;1786:156;1765:241;;;;-1:-1:-1;;;1765:241:14;;12145:2:20;1765:241:14;;;12127:21:20;12184:2;12164:18;;;12157:30;12223:34;12203:18;;;12196:62;-1:-1:-1;;;12274:18:20;;;12267:36;12320:19;;1765:241:14;11943:402:20;1765:241:14;2017:62;2036:11;2049;;2017:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2017:62:14;;;;;;;;;;;;;;;;;;;;;;2062:6;;-1:-1:-1;2017:62:14;-1:-1:-1;2070:8:14;;;;;;2017:62;;2070:8;;;;2017:62;;;;;;;;;-1:-1:-1;2017:18:14;;-1:-1:-1;;;2017:62:14:i;:::-;1364:722;1195:891;;;;;;:::o;1505:300:5:-;1607:4;-1:-1:-1;;;;;;1642:40:5;;-1:-1:-1;;;1642:40:5;;:104;;-1:-1:-1;;;;;;;1698:48:5;;-1:-1:-1;;;1698:48:5;1642:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:4;;;1762:36:5;1623:175;1505:300;-1:-1:-1;;1505:300:5:o;2406:98::-;2460:13;2492:5;2485:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2406:98;:::o;5072:121:14:-;1087:13:18;:11;:13::i;:::-;5151:35:14::1;::::0;-1:-1:-1;;;5151:35:14;;12524:6:20;12512:19;;5151:35:14::1;::::0;::::1;12494:38:20::0;5151:10:14::1;-1:-1:-1::0;;;;;5151:25:14::1;::::0;::::1;::::0;12467:18:20;;5151:35:14::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5072:121:::0;:::o;3870:167:5:-;3946:7;3965:23;3980:7;3965:14;:23::i;:::-;-1:-1:-1;4006:24:5;;;;:15;:24;;;;;;-1:-1:-1;;;;;4006:24:5;;3870:167::o;3403:406::-;3483:13;3499:23;3514:7;3499:14;:23::i;:::-;3483:39;;3546:5;-1:-1:-1;;;;;3540:11:5;:2;-1:-1:-1;;;;;3540:11:5;;;3532:57;;;;-1:-1:-1;;;3532:57:5;;12745:2:20;3532:57:5;;;12727:21:20;12784:2;12764:18;;;12757:30;12823:34;12803:18;;;12796:62;-1:-1:-1;;;12874:18:20;;;12867:31;12915:19;;3532:57:5;12543:397:20;3532:57:5;719:10:3;-1:-1:-1;;;;;3621:21:5;;;;:62;;-1:-1:-1;3646:37:5;3663:5;719:10:3;4323:162:5;:::i;3646:37::-;3600:170;;;;-1:-1:-1;;;3600:170:5;;13147:2:20;3600:170:5;;;13129:21:20;13186:2;13166:18;;;13159:30;13225:34;13205:18;;;13198:62;13296:31;13276:18;;;13269:59;13345:19;;3600:170:5;12945:425:20;3600:170:5;3781:21;3790:2;3794:7;3781:8;:21::i;:::-;3473:336;3403:406;;:::o;7090:162:14:-;1087:13:18;:11;:13::i;:::-;7202:35:14::1;::::0;;::::1;;::::0;;;:22:::1;:35;::::0;;;;:43;7090:162::o;5199:127::-;1087:13:18;:11;:13::i;:::-;5281:38:14::1;::::0;-1:-1:-1;;;5281:38:14;;12524:6:20;12512:19;;5281:38:14::1;::::0;::::1;12494::20::0;5281:10:14::1;-1:-1:-1::0;;;;;5281:28:14::1;::::0;::::1;::::0;12467:18:20;;5281:38:14::1;12350:188:20::0;739:254:16;803:4;;790:9;:17;;782:51;;;;-1:-1:-1;;;782:51:16;;13577:2:20;782:51:16;;;13559:21:20;13616:2;13596:18;;;13589:30;-1:-1:-1;;;13635:18:20;;;13628:51;13696:18;;782:51:16;13375:345:20;782:51:16;843:90;849:10;919:8;890:7;;898:15;879:35;;;;;;;;13899:25:20;;;13955:2;13940:18;;13933:34;13887:2;13872:18;;13725:248;879:35:16;;;;;;;;;;;;;869:46;;;;;;861:55;;:66;;;;:::i;:::-;860:72;;931:1;860:72;:::i;:::-;843:5;:90::i;:::-;969:7;967:9;;;;;;739:254::o;1193:916::-;1292:16;1300:7;1292;:16::i;:::-;-1:-1:-1;;;;;1278:30:16;:10;-1:-1:-1;;;;;1278:30:16;;1274:58;;1317:15;;-1:-1:-1;;;1317:15:16;;;;;;;;;;;1274:58;1408:7;1406:9;;-1:-1:-1;;1406:9:16;;;1435:14;1441:7;1435:5;:14::i;:::-;1483:31;;;1494:10;1483:31;;;14763:51:20;14830:18;;;14823:34;;;1483:31:16;;;;;;;;;14736:18:20;;;1483:31:16;;-1:-1:-1;;;1623:42:16;;;15023:51:20;1578:6:16;15090:11:20;;;;15083:27;;;1623:42:16;;;;;;;;;;15126:12:20;;;1623:42:16;;;;-1:-1:-1;;;1701:151:16;;;1483:31;;1541:1;;-1:-1:-1;;1701:10:16;-1:-1:-1;;;;;1701:23:16;;;;:151;;1738:10;;1770:4;;1483:31;;-1:-1:-1;;1623:42:16;;1701:151;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1676:176;;;1879:10;1866:9;:23;1862:53;;1898:17;;-1:-1:-1;;;1898:17:16;;;;;;;;;;;1862:53;1926:176;1947:10;1971:7;2000:10;2033:3;2051:13;2078:14;:10;2089:3;2078:14;:::i;:::-;1926:7;:176::i;4547:326:5:-;4736:41;719:10:3;4769:7:5;4736:18;:41::i;:::-;4728:99;;;;-1:-1:-1;;;4728:99:5;;;;;;;:::i;:::-;4838:28;4848:4;4854:2;4858:7;4838:9;:28::i;2745:548:16:-;2890:31;;;2901:10;2890:31;;;14763:51:20;14830:18;;;14823:34;;;2890:31:16;;;;;;;;;14736:18:20;;;2890:31:16;;-1:-1:-1;;;3030:42:16;;;15023:51:20;2985:6:16;15090:11:20;;;;15083:27;;;3030:42:16;;;;;;;;;;15126:12:20;;;3030:42:16;;;;-1:-1:-1;;;3108:151:16;;;-1:-1:-1;;2890:31:16;;2948:1;;3030:42;-1:-1:-1;;3108:10:16;-1:-1:-1;;;;;3108:23:16;;;;:151;;3145:10;;3177:4;;2890:31;;-1:-1:-1;;3030:42:16;;3108:151;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;3083:176:16;2745:548;-1:-1:-1;;;;;;;;2745:548:16:o;1000:187::-;1087:13:18;:11;:13::i;:::-;1074:80:16::1;::::0;1056:12:::1;::::0;1082:10:::1;::::0;1119:21:::1;::::0;1056:12;1074:80;1056:12;1074:80;1119:21;1082:10;1074:80:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1055:99;;;1172:7;1164:16;;;::::0;::::1;;1045:142;1000:187::o:0;7347:269:14:-;7510:32;;;7465:4;7510:32;;;:19;:32;;;;;7481:61;;7465:4;;7510:32;7481:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7597:11;;7587:22;;;;;;;:::i;:::-;;;;;;;;7569:13;7559:24;;;;;;:50;7552:57;;;7347:269;;;;;:::o;4939:179:5:-;5072:39;5089:4;5095:2;5099:7;5072:39;;;;;;;;;;;;:16;:39::i;5332:198:14:-;1087:13:18;:11;:13::i;:::-;5468:55:14::1;::::0;-1:-1:-1;;;5468:55:14;;-1:-1:-1;;;;;5468:10:14::1;:29;::::0;::::1;::::0;:55:::1;::::0;5498:11;;5511;;;;5468:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;658:75:16::0;1087:13:18;:11;:13::i;:::-;714:4:16::1;:12:::0;658:75::o;2125:219:5:-;2197:7;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:5;;2259:56;;;;-1:-1:-1;;;2259:56:5;;17474:2:20;2259:56:5;;;17456:21:20;17513:2;17493:18;;;17486:30;-1:-1:-1;;;17532:18:20;;;17525:54;17596:18;;2259:56:5;17272:348:20;2224:414:17;719:10:3;2487:4:17;2463:29;2442:114;;;;-1:-1:-1;;;2442:114:17;;17827:2:20;2442:114:17;;;17809:21:20;17866:2;17846:18;;;17839:30;17905:34;17885:18;;;17878:62;-1:-1:-1;;;17956:18:20;;;17949:36;18002:19;;2442:114:17;17625:402:20;2442:114:17;2566:65;2588:11;2601;;2566:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2566:65:17;;;;;;;;;;;;;;;;;;;;;;2614:6;;-1:-1:-1;2566:65:17;-1:-1:-1;2622:8:17;;;;;;2566:65;;2622:8;;;;2566:65;;;;;;;;;-1:-1:-1;2566:21:17;;-1:-1:-1;;;2566:65:17:i;:::-;2224:414;;;;;;:::o;1864:204:5:-;1936:7;-1:-1:-1;;;;;1963:19:5;;1955:73;;;;-1:-1:-1;;;1955:73:5;;18234:2:20;1955:73:5;;;18216:21:20;18273:2;18253:18;;;18246:30;18312:34;18292:18;;;18285:62;-1:-1:-1;;;18363:18:20;;;18356:39;18412:19;;1955:73:5;18032:405:20;1955:73:5;-1:-1:-1;;;;;;2045:16:5;;;;;:9;:16;;;;;;;1864:204::o;1824:101:18:-;1087:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;621:51:14:-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2568:102:5:-;2624:13;2656:7;2649:14;;;;;:::i;6236:340:14:-;6373:35;;;6353:17;6373:35;;;:19;:35;;;;;6353:55;;6329:12;;6353:17;6373:35;6353:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6426:4;:11;6441:1;6426:16;;6418:58;;;;-1:-1:-1;;;6418:58:14;;18644:2:20;6418:58:14;;;18626:21:20;18683:2;18663:18;;;18656:30;18722:31;18702:18;;;18695:59;18771:18;;6418:58:14;18442:353:20;6418:58:14;6493:31;6504:1;6521:2;6507:4;:11;:16;;;;:::i;:::-;6493:4;;:31;:10;:31::i;:::-;6486:38;6236:340;-1:-1:-1;;;6236:340:14:o;4104:153:5:-;4198:52;719:10:3;4231:8:5;4241;4198:18;:52::i;:::-;4104:153;;:::o;5896:334:14:-;1087:13:18;:11;:13::i;:::-;6102:14:14::1;;6138:4;6072:81;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;6072:81:14;;::::1;::::0;;;;;;6034:35:::1;::::0;::::1;;::::0;;;:19:::1;6072:81;6034:35:::0;;;;;;:119;;::::1;::::0;:35;;:119;;::::1;::::0;::::1;:::i;:::-;;6168:55;6192:14;6208;;6168:55;;;;;;;;:::i;:::-;;;;;;;;5896:334:::0;;;:::o;5184:314:5:-;5352:41;719:10:3;5385:7:5;5352:18;:41::i;:::-;5344:99;;;;-1:-1:-1;;;5344:99:5;;;;;;;:::i;:::-;5453:38;5467:4;5473:2;5477:7;5486:4;5453:13;:38::i;:::-;5184:314;;;;:::o;6582:133:14:-;1087:13:18;:11;:13::i;:::-;6651:8:14::1;:20:::0;;-1:-1:-1;;;;;;6651:20:14::1;-1:-1:-1::0;;;;;6651:20:14;::::1;::::0;;::::1;::::0;;;6686:22:::1;::::0;3422:51:20;;;6686:22:14::1;::::0;3410:2:20;3395:18;6686:22:14::1;;;;;;;6582:133:::0;:::o;2736:276:5:-;2809:13;2834:23;2849:7;2834:14;:23::i;:::-;2868:21;2892:10;3330:9;;;;;;;;;-1:-1:-1;3330:9:5;;;3254:92;2892:10;2868:34;;2943:1;2925:7;2919:21;:25;:86;;;;;;;;;;;;;;;;;2971:7;2980:18;:7;:16;:18::i;:::-;2954:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2912:93;2736:276;-1:-1:-1;;;2736:276:5:o;4826:240:14:-;1087:13:18;:11;:13::i;:::-;4997:62:14::1;::::0;-1:-1:-1;;;4997:62:14;;-1:-1:-1;;;;;4997:10:14::1;:20;::::0;::::1;::::0;:62:::1;::::0;5018:8;;5028;;5038:11;;5051:7;;;;4997:62:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4826:240:::0;;;;;:::o;2857:863:17:-;3104:27;;;3082:19;3104:27;;;:14;:27;;;;;;:40;;;;3132:11;;;;3104:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3104:48:17;;;;;;;;;;;;-1:-1:-1;3104:48:17;3162:107;;;;-1:-1:-1;;;3162:107:17;;20497:2:20;3162:107:17;;;20479:21:20;20536:2;20516:18;;;20509:30;20575:34;20555:18;;;20548:62;-1:-1:-1;;;20626:18:20;;;20619:33;20669:19;;3162:107:17;20295:399:20;3162:107:17;3323:11;3310:8;;3300:19;;;;;;;:::i;:::-;;;;;;;;:34;3279:114;;;;-1:-1:-1;;;3279:114:17;;20901:2:20;3279:114:17;;;20883:21:20;20940:2;20920:18;;;20913:30;20979:34;20959:18;;;20952:62;-1:-1:-1;;;21030:18:20;;;21023:31;21071:19;;3279:114:17;20699:397:20;3279:114:17;3439:27;;;3498:1;3439:27;;;:14;:27;;;;;;:40;;;;3467:11;;;;3439:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3439:48:17;;;;;;;;;;;;:61;;;;3567:65;;;;;;;;;;;;;;;;;;;3589:11;;3602;;3567:65;;;;;;3602:11;3567:65;;3602:11;3567:65;;;;;;;;;-1:-1:-1;;3567:65:17;;;;;;;;;;;;;;;;;;;;;;3615:6;;-1:-1:-1;3567:65:17;-1:-1:-1;3623:8:17;;;;;;3567:65;;3623:8;;;;3567:65;;;;;;;;;-1:-1:-1;3567:21:17;;-1:-1:-1;;;3567:65:17:i;:::-;3647:66;3667:11;3680;;3693:6;3701:11;3647:66;;;;;;;;;;:::i;:::-;;;;;;;;3028:692;2857:863;;;;;;:::o;6721:310:14:-;1087:13:18;:11;:13::i;:::-;6874:1:14::1;6864:7;:11;6856:45;;;::::0;-1:-1:-1;;;6856:45:14;;21801:2:20;6856:45:14::1;::::0;::::1;21783:21:20::0;21840:2;21820:18;;;21813:30;-1:-1:-1;;;21859:18:20;;;21852:51;21920:18;;6856:45:14::1;21599:345:20::0;6856:45:14::1;6911:28;::::0;;::::1;;::::0;;;:15:::1;:28;::::0;;;;;;;:41;;::::1;::::0;;;;;;;;;;:51;;;6977:47;;22172:34:20;;;22222:18;;22215:43;;;;22274:18;;;22267:34;;;6977:47:14::1;::::0;22135:2:20;22120:18;6977:47:14::1;21949:358:20::0;5673:217:14;1087:13:18;:11;:13::i;:::-;5792:32:14::1;::::0;::::1;;::::0;;;:19:::1;:32;::::0;;;;:40:::1;::::0;5827:5;;5792:40:::1;:::i;:::-;;5847:36;5864:11;5877:5;;5847:36;;;;;;;;:::i;2074:198:18:-:0;1087:13;:11;:13::i;:::-;-1:-1:-1;;;;;2162:22:18;::::1;2154:73;;;::::0;-1:-1:-1;;;2154:73:18;;22514:2:20;2154:73:18::1;::::0;::::1;22496:21:20::0;22553:2;22533:18;;;22526:30;22592:34;22572:18;;;22565:62;-1:-1:-1;;;22643:18:20;;;22636:36;22689:19;;2154:73:18::1;22312:402:20::0;2154:73:18::1;2237:28;2256:8;2237:18;:28::i;4430:337:14:-:0;4614:146;;-1:-1:-1;;;4614:146:14;;22956:6:20;22989:15;;;4614:146:14;;;22971:34:20;23041:15;;23021:18;;;23014:43;4712:4:14;23073:18:20;;;23066:60;23142:18;;;23135:34;;;4571:12:14;;4614:10;-1:-1:-1;;;;;4614:20:14;;;;22918:19:20;;4614:146:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4614:146:14;;;;;;;;;;;;:::i;:::-;4595:165;;4430:337;;;;;;;:::o;1066:780:17:-;1253:12;1267:19;1290:293;1337:9;1360:3;1417:34;;;1469:11;1498;1527:6;1551:8;1377:196;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1377:196:17;;;;;;;;;;;;;;-1:-1:-1;;;;;1377:196:17;-1:-1:-1;;;;;;1377:196:17;;;;;;;;;;1298:4;;1290:293;;:33;:293::i;:::-;1252:331;;;;1641:7;1636:204;;1664:165;1701:11;1730;1759:6;1783:8;1809:6;1664:19;:165::i;1352:130:18:-;1240:7;1266:6;-1:-1:-1;;;;;1266:6:18;719:10:3;1415:23:18;1407:68;;;;-1:-1:-1;;;1407:68:18;;24583:2:20;1407:68:18;;;24565:21:20;;;24602:18;;;24595:30;24661:34;24641:18;;;24634:62;24713:18;;1407:68:18;24381:356:20;13401:133:5;7256:4;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:5;13474:53;;;;-1:-1:-1;;;13474:53:5;;17474:2:20;13474:53:5;;;17456:21:20;17513:2;17493:18;;;17486:30;-1:-1:-1;;;17532:18:20;;;17525:54;17596:18;;13474:53:5;17272:348:20;12703:171:5;12777:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;12777:29:5;-1:-1:-1;;;;;12777:29:5;;;;;;;;:24;;12830:23;12777:24;12830:14;:23::i;:::-;-1:-1:-1;;;;;12821:46:5;;;;;;;;;;;12703:171;;:::o;9026:920::-;-1:-1:-1;;;;;9105:16:5;;9097:61;;;;-1:-1:-1;;;9097:61:5;;24944:2:20;9097:61:5;;;24926:21:20;;;24963:18;;;24956:30;25022:34;25002:18;;;24995:62;25074:18;;9097:61:5;24742:356:20;9097:61:5;7256:4;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:5;7279:31;9168:58;;;;-1:-1:-1;;;9168:58:5;;25305:2:20;9168:58:5;;;25287:21:20;25344:2;25324:18;;;25317:30;25383;25363:18;;;25356:58;25431:18;;9168:58:5;25103:352:20;9168:58:5;7256:4;6865:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6865:16:5;7279:31;9372:58;;;;-1:-1:-1;;;9372:58:5;;25305:2:20;9372:58:5;;;25287:21:20;25344:2;25324:18;;;25317:30;25383;25363:18;;;25356:58;25431:18;;9372:58:5;25103:352:20;9372:58:5;-1:-1:-1;;;;;9772:13:5;;;;;;:9;:13;;;;;;;;:18;;9789:1;9772:18;;;9811:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9811:21:5;;;;;9848:33;9819:7;;9772:13;;9848:33;;9772:13;;9848:33;4104:153;;:::o;10272:762::-;10331:13;10347:23;10362:7;10347:14;:23::i;:::-;10331:39;;10542:23;10557:7;10542:14;:23::i;:::-;10610:24;;;;:15;:24;;;;;;;;10603:31;;-1:-1:-1;;;;;;10603:31:5;;;;;;-1:-1:-1;;;;;10850:16:5;;;;;:9;:16;;;;;:21;;-1:-1:-1;;10850:21:5;;;10898:16;;;:7;:16;;;;;;10891:23;;;;;;;10930:36;10534:31;;-1:-1:-1;10626:7:5;;10930:36;;10610:24;;10930:36;4104:153;;:::o;2408:718:14:-;2684:32;;;2655:26;2684:32;;;:19;:32;;;;;2655:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2747:13;:20;2771:1;2747:25;;2726:120;;;;-1:-1:-1;;;2726:120:14;;25662:2:20;2726:120:14;;;25644:21:20;25701:2;25681:18;;;25674:30;25740:34;25720:18;;;25713:62;-1:-1:-1;;;25791:18:20;;;25784:46;25847:19;;2726:120:14;25460:412:20;2726:120:14;2856:47;2874:11;2887:8;:15;2856:17;:47::i;:::-;2913:206;;-1:-1:-1;;;2913:206:14;;-1:-1:-1;;;;;2913:10:14;:15;;;;2936:10;;2913:206;;2961:11;;2986:13;;3013:8;;3035:14;;3063:18;;3095:14;;2913:206;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2645:481;2408:718;;;;;;:::o;7475:261:5:-;7568:4;7584:13;7600:23;7615:7;7600:14;:23::i;:::-;7584:39;;7652:5;-1:-1:-1;;;;;7641:16:5;:7;-1:-1:-1;;;;;7641:16:5;;:52;;;-1:-1:-1;;;;;;4443:25:5;;;4420:4;4443:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7661:32;7641:87;;;;7721:7;-1:-1:-1;;;;;7697:31:5;:20;7709:7;7697:11;:20::i;:::-;-1:-1:-1;;;;;7697:31:5;;7633:96;7475:261;-1:-1:-1;;;;7475:261:5:o;11358:1233::-;11512:4;-1:-1:-1;;;;;11485:31:5;:23;11500:7;11485:14;:23::i;:::-;-1:-1:-1;;;;;11485:31:5;;11477:81;;;;-1:-1:-1;;;11477:81:5;;;;;;;:::i;:::-;-1:-1:-1;;;;;11576:16:5;;11568:65;;;;-1:-1:-1;;;11568:65:5;;27330:2:20;11568:65:5;;;27312:21:20;27369:2;27349:18;;;27342:30;27408:34;27388:18;;;27381:62;-1:-1:-1;;;27459:18:20;;;27452:34;27503:19;;11568:65:5;27128:400:20;11568:65:5;11813:4;-1:-1:-1;;;;;11786:31:5;:23;11801:7;11786:14;:23::i;:::-;-1:-1:-1;;;;;11786:31:5;;11778:81;;;;-1:-1:-1;;;11778:81:5;;;;;;;:::i;:::-;11928:24;;;;:15;:24;;;;;;;;11921:31;;-1:-1:-1;;;;;;11921:31:5;;;;;;-1:-1:-1;;;;;12396:15:5;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12396:20:5;;;12430:13;;;;;;;;;:18;;11921:31;12430:18;;;12468:16;;;:7;:16;;;;;;:21;;;;;;;;;;12505:27;;11944:7;;12505:27;;;3473:336;3403:406;;:::o;2115:556:16:-;2300:12;2376:2;2363:11;2359:20;2353:27;2345:35;;2400:17;2419:15;2462:8;2438:74;;;;;;;;;;;;:::i;:::-;2399:113;;;;2523:25;2529:9;2540:7;2523:5;:25::i;:::-;2584:7;2582:9;;;;;;;;2616:48;;;28117:6:20;28105:19;;28087:38;;-1:-1:-1;;;;;28161:32:20;;28156:2;28141:18;;28134:60;28210:18;;;28203:34;;;28268:2;28253:18;;28246:34;;;;2616:48:16;;28074:3:20;28059:19;2616:48:16;27858:428:20;2426:187:18;2499:16;2518:6;;-1:-1:-1;;;;;2534:17:18;;;-1:-1:-1;;;;;;2534:17:18;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;9558:2986:2:-;9680:12;9728:7;9712:12;9728:7;9722:2;9712:12;:::i;:::-;:23;;9704:50;;;;-1:-1:-1;;;9704:50:2;;28493:2:20;9704:50:2;;;28475:21:20;28532:2;28512:18;;;28505:30;-1:-1:-1;;;28551:18:20;;;28544:44;28605:18;;9704:50:2;28291:338:20;9704:50:2;9789:16;9798:7;9789:6;:16;:::i;:::-;9772:6;:13;:33;;9764:63;;;;-1:-1:-1;;;9764:63:2;;28836:2:20;9764:63:2;;;28818:21:20;28875:2;28855:18;;;28848:30;-1:-1:-1;;;28894:18:20;;;28887:47;28951:18;;9764:63:2;28634:341:20;9764:63:2;9838:22;9901:15;;9929:2177;;;;12247:4;12241:11;12228:24;;12433:1;12422:9;12415:20;12481:4;12470:9;12466:20;12460:4;12453:34;9894:2607;;9929:2177;10111:4;10105:11;10092:24;;10770:2;10761:7;10757:16;11193:9;11186:17;11180:4;11176:28;11144:9;11133;11129:25;11104:118;11258:7;11254:2;11250:16;11641:6;11578:9;11571:17;11565:4;11561:28;11521:9;11513:6;11509:22;11476:139;11447:222;11284:577;11695:3;11691:2;11688:11;11284:577;;;11833:9;;11822:21;;11736:4;11728:13;;;;11768;11284:577;;;-1:-1:-1;;11879:26:2;;;12087:2;12070:11;-1:-1:-1;;12066:25:2;12060:4;12053:39;-1:-1:-1;9894:2607:2;-1:-1:-1;12528:9:2;9558:2986;-1:-1:-1;;;;9558:2986:2:o;13010:307:5:-;13160:8;-1:-1:-1;;;;;13151:17:5;:5;-1:-1:-1;;;;;13151:17:5;;;13143:55;;;;-1:-1:-1;;;13143:55:5;;29182:2:20;13143:55:5;;;29164:21:20;29221:2;29201:18;;;29194:30;29260:27;29240:18;;;29233:55;29305:18;;13143:55:5;28980:349:20;13143:55:5;-1:-1:-1;;;;;13208:25:5;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13208:46:5;;;;;;;;;;13269:41;;2099::20;;;13269::5;;2072:18:20;13269:41:5;;;;;;;13010:307;;;:::o;6359:305::-;6509:28;6519:4;6525:2;6529:7;6509:9;:28::i;:::-;6555:47;6578:4;6584:2;6588:7;6597:4;6555:22;:47::i;:::-;6547:110;;;;-1:-1:-1;;;6547:110:5;;;;;;;:::i;410:696:19:-;466:13;515:14;532:17;543:5;532:10;:17::i;:::-;552:1;532:21;515:38;;567:20;601:6;-1:-1:-1;;;;;590:18:19;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;590:18:19;-1:-1:-1;567:41:19;-1:-1:-1;728:28:19;;;744:2;728:28;783:280;-1:-1:-1;;814:5:19;-1:-1:-1;;;948:2:19;937:14;;932:30;814:5;919:44;1007:2;998:11;;;-1:-1:-1;1031:10:19;1027:21;;1043:5;;1027:21;783:280;;;-1:-1:-1;1083:6:19;410:696;-1:-1:-1;;;410:696:19:o;1122:1280:6:-;1279:4;1285:12;1345:15;1370:13;1393:24;1430:8;1420:19;;-1:-1:-1;;;;;1420:19:6;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1420:19:6;;1393:46;;1936:1;1907;1870:9;1864:16;1832:4;1821:9;1817:20;1783:1;1745:7;1716:4;1694:267;1682:279;;2028:16;2017:27;;2072:8;2063:7;2060:21;2057:76;;;2111:8;2100:19;;2057:76;2218:7;2205:11;2198:28;2338:7;2335:1;2328:4;2315:11;2311:22;2296:50;2373:8;;;;-1:-1:-1;1122:1280:6;-1:-1:-1;;;;;;1122:1280:6:o;1852:366:17:-;2121:8;2111:19;;;;;;2060:14;:27;2075:11;2060:27;;;;;;;;;;;;;;;2088:11;2060:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2060:48:17;;;;;;;;;:70;;;;2145:66;;;;2159:11;;2172;;2101:6;;2193:8;;2203:7;;2145:66;:::i;:::-;;;;;;;;1852:366;;;;;:::o;3877:451:14:-;4021:35;;;3997:21;4021:35;;;:22;:35;;;;;;4070:21;4066:135;;-1:-1:-1;557:5:14;4066:135;4247:16;4231:12;:32;;4210:111;;;;-1:-1:-1;;;4210:111:14;;30958:2:20;4210:111:14;;;30940:21:20;;;30977:18;;;30970:30;31036:34;31016:18;;;31009:62;31088:18;;4210:111:14;30756:356:20;14086:831:5;14235:4;-1:-1:-1;;;;;14255:13:5;;1465:19:0;:23;14251:660:5;;14290:71;;-1:-1:-1;;;14290:71:5;;-1:-1:-1;;;;;14290:36:5;;;;;:71;;719:10:3;;14341:4:5;;14347:7;;14356:4;;14290:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14290:71:5;;;;;;;;-1:-1:-1;;14290:71:5;;;;;;;;;;;;:::i;:::-;;;14286:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14528:13:5;;14524:321;;14570:60;;-1:-1:-1;;;14570:60:5;;;;;;;:::i;14524:321::-;14797:6;14791:13;14782:6;14778:2;14774:15;14767:38;14286:573;-1:-1:-1;;;;;;14411:51:5;-1:-1:-1;;;14411:51:5;;-1:-1:-1;14404:58:5;;14251:660;-1:-1:-1;14896:4:5;14889:11;;9889:890:15;9942:7;;-1:-1:-1;;;10017:15:15;;10013:99;;-1:-1:-1;;;10052:15:15;;;-1:-1:-1;10095:2:15;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:15;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:15;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:15;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:15;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:15;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:15:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:159:20;81:20;;141:6;130:18;;120:29;;110:57;;163:1;160;153:12;110:57;14:159;;;:::o;178:347::-;229:8;239:6;293:3;286:4;278:6;274:17;270:27;260:55;;311:1;308;301:12;260:55;-1:-1:-1;334:20:20;;-1:-1:-1;;;;;366:30:20;;363:50;;;409:1;406;399:12;363:50;446:4;438:6;434:17;422:29;;498:3;491:4;482:6;474;470:19;466:30;463:39;460:59;;;515:1;512;505:12;460:59;178:347;;;;;:::o;530:171::-;597:20;;-1:-1:-1;;;;;646:30:20;;636:41;;626:69;;691:1;688;681:12;706:862;812:6;820;828;836;844;852;905:3;893:9;884:7;880:23;876:33;873:53;;;922:1;919;912:12;873:53;945:28;963:9;945:28;:::i;:::-;935:38;;1024:2;1013:9;1009:18;996:32;-1:-1:-1;;;;;1088:2:20;1080:6;1077:14;1074:34;;;1104:1;1101;1094:12;1074:34;1143:58;1193:7;1184:6;1173:9;1169:22;1143:58;:::i;:::-;1220:8;;-1:-1:-1;1117:84:20;-1:-1:-1;1117:84:20;;-1:-1:-1;1274:37:20;1307:2;1292:18;;1274:37;:::i;:::-;1264:47;;1364:2;1353:9;1349:18;1336:32;1320:48;;1393:2;1383:8;1380:16;1377:36;;;1409:1;1406;1399:12;1377:36;;1448:60;1500:7;1489:8;1478:9;1474:24;1448:60;:::i;:::-;706:862;;;;-1:-1:-1;706:862:20;;-1:-1:-1;706:862:20;;1527:8;;706:862;-1:-1:-1;;;706:862:20:o;1573:131::-;-1:-1:-1;;;;;;1647:32:20;;1637:43;;1627:71;;1694:1;1691;1684:12;1709:245;1767:6;1820:2;1808:9;1799:7;1795:23;1791:32;1788:52;;;1836:1;1833;1826:12;1788:52;1875:9;1862:23;1894:30;1918:5;1894:30;:::i;2151:258::-;2223:1;2233:113;2247:6;2244:1;2241:13;2233:113;;;2323:11;;;2317:18;2304:11;;;2297:39;2269:2;2262:10;2233:113;;;2364:6;2361:1;2358:13;2355:48;;;-1:-1:-1;;2399:1:20;2381:16;;2374:27;2151:258::o;2414:::-;2456:3;2494:5;2488:12;2521:6;2516:3;2509:19;2537:63;2593:6;2586:4;2581:3;2577:14;2570:4;2563:5;2559:16;2537:63;:::i;:::-;2654:2;2633:15;-1:-1:-1;;2629:29:20;2620:39;;;;2661:4;2616:50;;2414:258;-1:-1:-1;;2414:258:20:o;2677:220::-;2826:2;2815:9;2808:21;2789:4;2846:45;2887:2;2876:9;2872:18;2864:6;2846:45;:::i;2902:184::-;2960:6;3013:2;3001:9;2992:7;2988:23;2984:32;2981:52;;;3029:1;3026;3019:12;2981:52;3052:28;3070:9;3052:28;:::i;3091:180::-;3150:6;3203:2;3191:9;3182:7;3178:23;3174:32;3171:52;;;3219:1;3216;3209:12;3171:52;-1:-1:-1;3242:23:20;;3091:180;-1:-1:-1;3091:180:20:o;3484:131::-;-1:-1:-1;;;;;3559:31:20;;3549:42;;3539:70;;3605:1;3602;3595:12;3620:315;3688:6;3696;3749:2;3737:9;3728:7;3724:23;3720:32;3717:52;;;3765:1;3762;3755:12;3717:52;3804:9;3791:23;3823:31;3848:5;3823:31;:::i;:::-;3873:5;3925:2;3910:18;;;;3897:32;;-1:-1:-1;;;3620:315:20:o;3940:252::-;4007:6;4015;4068:2;4056:9;4047:7;4043:23;4039:32;4036:52;;;4084:1;4081;4074:12;4036:52;4107:28;4125:9;4107:28;:::i;4379:456::-;4456:6;4464;4472;4525:2;4513:9;4504:7;4500:23;4496:32;4493:52;;;4541:1;4538;4531:12;4493:52;4580:9;4567:23;4599:31;4624:5;4599:31;:::i;:::-;4649:5;-1:-1:-1;4706:2:20;4691:18;;4678:32;4719:33;4678:32;4719:33;:::i;:::-;4379:456;;4771:7;;-1:-1:-1;;;4825:2:20;4810:18;;;;4797:32;;4379:456::o;4840:481::-;4918:6;4926;4934;4987:2;4975:9;4966:7;4962:23;4958:32;4955:52;;;5003:1;5000;4993:12;4955:52;5026:28;5044:9;5026:28;:::i;:::-;5016:38;;5105:2;5094:9;5090:18;5077:32;-1:-1:-1;;;;;5124:6:20;5121:30;5118:50;;;5164:1;5161;5154:12;5118:50;5203:58;5253:7;5244:6;5233:9;5229:22;5203:58;:::i;:::-;4840:481;;5280:8;;-1:-1:-1;5177:84:20;;-1:-1:-1;;;;4840:481:20:o;5326:127::-;5387:10;5382:3;5378:20;5375:1;5368:31;5418:4;5415:1;5408:15;5442:4;5439:1;5432:15;5458:275;5529:2;5523:9;5594:2;5575:13;;-1:-1:-1;;5571:27:20;5559:40;;-1:-1:-1;;;;;5614:34:20;;5650:22;;;5611:62;5608:88;;;5676:18;;:::i;:::-;5712:2;5705:22;5458:275;;-1:-1:-1;5458:275:20:o;5738:186::-;5786:4;-1:-1:-1;;;;;5811:6:20;5808:30;5805:56;;;5841:18;;:::i;:::-;-1:-1:-1;5907:2:20;5886:15;-1:-1:-1;;5882:29:20;5913:4;5878:40;;5738:186::o;5929:462::-;5971:5;6024:3;6017:4;6009:6;6005:17;6001:27;5991:55;;6042:1;6039;6032:12;5991:55;6078:6;6065:20;6109:48;6125:31;6153:2;6125:31;:::i;:::-;6109:48;:::i;:::-;6182:2;6173:7;6166:19;6228:3;6221:4;6216:2;6208:6;6204:15;6200:26;6197:35;6194:55;;;6245:1;6242;6235:12;6194:55;6310:2;6303:4;6295:6;6291:17;6284:4;6275:7;6271:18;6258:55;6358:1;6333:16;;;6351:4;6329:27;6322:38;;;;6337:7;5929:462;-1:-1:-1;;;5929:462:20:o;6396:464::-;6480:6;6488;6496;6549:2;6537:9;6528:7;6524:23;6520:32;6517:52;;;6565:1;6562;6555:12;6517:52;6588:28;6606:9;6588:28;:::i;:::-;6578:38;;6667:2;6656:9;6652:18;6639:32;-1:-1:-1;;;;;6686:6:20;6683:30;6680:50;;;6726:1;6723;6716:12;6680:50;6749:49;6790:7;6781:6;6770:9;6766:22;6749:49;:::i;:::-;6739:59;;;6817:37;6850:2;6839:9;6835:18;6817:37;:::i;:::-;6807:47;;6396:464;;;;;:::o;7047:247::-;7106:6;7159:2;7147:9;7138:7;7134:23;7130:32;7127:52;;;7175:1;7172;7165:12;7127:52;7214:9;7201:23;7233:31;7258:5;7233:31;:::i;7522:256::-;7588:6;7596;7649:2;7637:9;7628:7;7624:23;7620:32;7617:52;;;7665:1;7662;7655:12;7617:52;7688:28;7706:9;7688:28;:::i;:::-;7678:38;;7735:37;7768:2;7757:9;7753:18;7735:37;:::i;:::-;7725:47;;7522:256;;;;;:::o;7783:416::-;7848:6;7856;7909:2;7897:9;7888:7;7884:23;7880:32;7877:52;;;7925:1;7922;7915:12;7877:52;7964:9;7951:23;7983:31;8008:5;7983:31;:::i;:::-;8033:5;-1:-1:-1;8090:2:20;8075:18;;8062:32;8132:15;;8125:23;8113:36;;8103:64;;8163:1;8160;8153:12;8103:64;8186:7;8176:17;;;7783:416;;;;;:::o;8439:665::-;8534:6;8542;8550;8558;8611:3;8599:9;8590:7;8586:23;8582:33;8579:53;;;8628:1;8625;8618:12;8579:53;8667:9;8654:23;8686:31;8711:5;8686:31;:::i;:::-;8736:5;-1:-1:-1;8793:2:20;8778:18;;8765:32;8806:33;8765:32;8806:33;:::i;:::-;8858:7;-1:-1:-1;8912:2:20;8897:18;;8884:32;;-1:-1:-1;8967:2:20;8952:18;;8939:32;-1:-1:-1;;;;;8983:30:20;;8980:50;;;9026:1;9023;9016:12;8980:50;9049:49;9090:7;9081:6;9070:9;9066:22;9049:49;:::i;:::-;9039:59;;;8439:665;;;;;;;:::o;9109:622::-;9204:6;9212;9220;9228;9236;9289:3;9277:9;9268:7;9264:23;9260:33;9257:53;;;9306:1;9303;9296:12;9257:53;9329:28;9347:9;9329:28;:::i;:::-;9319:38;;9376:37;9409:2;9398:9;9394:18;9376:37;:::i;:::-;9366:47;;9460:2;9449:9;9445:18;9432:32;9422:42;;9515:2;9504:9;9500:18;9487:32;-1:-1:-1;;;;;9534:6:20;9531:30;9528:50;;;9574:1;9571;9564:12;9528:50;9613:58;9663:7;9654:6;9643:9;9639:22;9613:58;:::i;:::-;9109:622;;;;-1:-1:-1;9109:622:20;;-1:-1:-1;9690:8:20;;9587:84;9109:622;-1:-1:-1;;;9109:622:20:o;9736:324::-;9811:6;9819;9827;9880:2;9868:9;9859:7;9855:23;9851:32;9848:52;;;9896:1;9893;9886:12;9848:52;9919:28;9937:9;9919:28;:::i;:::-;9909:38;;9966:37;9999:2;9988:9;9984:18;9966:37;:::i;:::-;9956:47;;10050:2;10039:9;10035:18;10022:32;10012:42;;9736:324;;;;;:::o;10065:388::-;10133:6;10141;10194:2;10182:9;10173:7;10169:23;10165:32;10162:52;;;10210:1;10207;10200:12;10162:52;10249:9;10236:23;10268:31;10293:5;10268:31;:::i;:::-;10318:5;-1:-1:-1;10375:2:20;10360:18;;10347:32;10388:33;10347:32;10388:33;:::i;10458:460::-;10542:6;10550;10558;10566;10619:3;10607:9;10598:7;10594:23;10590:33;10587:53;;;10636:1;10633;10626:12;10587:53;10659:28;10677:9;10659:28;:::i;:::-;10649:38;;10706:37;10739:2;10728:9;10724:18;10706:37;:::i;:::-;10696:47;;10793:2;10782:9;10778:18;10765:32;10806:31;10831:5;10806:31;:::i;:::-;10458:460;;;;-1:-1:-1;10856:5:20;;10908:2;10893:18;10880:32;;-1:-1:-1;;10458:460:20:o;11282:380::-;11361:1;11357:12;;;;11404;;;11425:61;;11479:4;11471:6;11467:17;11457:27;;11425:61;11532:2;11524:6;11521:14;11501:18;11498:38;11495:161;;;11578:10;11573:3;11569:20;11566:1;11559:31;11613:4;11610:1;11603:15;11641:4;11638:1;11631:15;11495:161;;11282:380;;;:::o;11667:271::-;11850:6;11842;11837:3;11824:33;11806:3;11876:16;;11901:13;;;11876:16;11667:271;-1:-1:-1;11667:271:20:o;14110:209::-;14142:1;14168;14158:132;;14212:10;14207:3;14203:20;14200:1;14193:31;14247:4;14244:1;14237:15;14275:4;14272:1;14265:15;14158:132;-1:-1:-1;14304:9:20;;14110:209::o;14324:127::-;14385:10;14380:3;14376:20;14373:1;14366:31;14416:4;14413:1;14406:15;14440:4;14437:1;14430:15;14456:128;14496:3;14527:1;14523:6;14520:1;14517:13;14514:39;;;14533:18;;:::i;:::-;-1:-1:-1;14569:9:20;;14456:128::o;15149:642::-;15430:6;15418:19;;15400:38;;-1:-1:-1;;;;;15474:32:20;;15469:2;15454:18;;15447:60;15494:3;15538:2;15523:18;;15516:31;;;-1:-1:-1;;15570:46:20;;15596:19;;15588:6;15570:46;:::i;:::-;15666:6;15659:14;15652:22;15647:2;15636:9;15632:18;15625:50;15724:9;15716:6;15712:22;15706:3;15695:9;15691:19;15684:51;15752:33;15778:6;15770;15752:33;:::i;:::-;15744:41;15149:642;-1:-1:-1;;;;;;;;15149:642:20:o;15796:245::-;15875:6;15883;15936:2;15924:9;15915:7;15911:23;15907:32;15904:52;;;15952:1;15949;15942:12;15904:52;-1:-1:-1;;15975:16:20;;16031:2;16016:18;;;16010:25;15975:16;;16010:25;;-1:-1:-1;15796:245:20:o;16046:409::-;16248:2;16230:21;;;16287:2;16267:18;;;16260:30;16326:34;16321:2;16306:18;;16299:62;-1:-1:-1;;;16392:2:20;16377:18;;16370:43;16445:3;16430:19;;16046:409::o;16670:266::-;16758:6;16753:3;16746:19;16810:6;16803:5;16796:4;16791:3;16787:14;16774:43;-1:-1:-1;16862:1:20;16837:16;;;16855:4;16833:27;;;16826:38;;;;16918:2;16897:15;;;-1:-1:-1;;16893:29:20;16884:39;;;16880:50;;16670:266::o;16941:326::-;17136:6;17128;17124:19;17113:9;17106:38;17180:2;17175;17164:9;17160:18;17153:30;17087:4;17200:61;17257:2;17246:9;17242:18;17234:6;17226;17200:61;:::i;18800:125::-;18840:4;18868:1;18865;18862:8;18859:34;;;18873:18;;:::i;:::-;-1:-1:-1;18910:9:20;;18800:125::o;18930:382::-;19141:6;19133;19128:3;19115:33;19233:2;19229:15;;;;-1:-1:-1;;19225:53:20;19167:16;;19214:65;;;19303:2;19295:11;;18930:382;-1:-1:-1;18930:382:20:o;19317:470::-;19496:3;19534:6;19528:13;19550:53;19596:6;19591:3;19584:4;19576:6;19572:17;19550:53;:::i;:::-;19666:13;;19625:16;;;;19688:57;19666:13;19625:16;19722:4;19710:17;;19688:57;:::i;:::-;19761:20;;19317:470;-1:-1:-1;;;;19317:470:20:o;19792:498::-;19992:4;20021:6;20066:2;20058:6;20054:15;20043:9;20036:34;20118:2;20110:6;20106:15;20101:2;20090:9;20086:18;20079:43;;20158:6;20153:2;20142:9;20138:18;20131:34;20201:3;20196:2;20185:9;20181:18;20174:31;20222:62;20279:3;20268:9;20264:19;20256:6;20248;20222:62;:::i;:::-;20214:70;19792:498;-1:-1:-1;;;;;;;19792:498:20:o;21101:493::-;21350:6;21342;21338:19;21327:9;21320:38;21394:3;21389:2;21378:9;21374:18;21367:31;21301:4;21415:62;21472:3;21461:9;21457:19;21449:6;21441;21415:62;:::i;:::-;-1:-1:-1;;;;;21513:31:20;;;;21508:2;21493:18;;21486:59;-1:-1:-1;21576:2:20;21561:18;21554:34;21407:70;21101:493;-1:-1:-1;;;21101:493:20:o;23180:634::-;23259:6;23312:2;23300:9;23291:7;23287:23;23283:32;23280:52;;;23328:1;23325;23318:12;23280:52;23361:9;23355:16;-1:-1:-1;;;;;23386:6:20;23383:30;23380:50;;;23426:1;23423;23416:12;23380:50;23449:22;;23502:4;23494:13;;23490:27;-1:-1:-1;23480:55:20;;23531:1;23528;23521:12;23480:55;23560:2;23554:9;23585:48;23601:31;23629:2;23601:31;:::i;23585:48::-;23656:2;23649:5;23642:17;23696:7;23691:2;23686;23682;23678:11;23674:20;23671:33;23668:53;;;23717:1;23714;23707:12;23668:53;23730:54;23781:2;23776;23769:5;23765:14;23760:2;23756;23752:11;23730:54;:::i;:::-;23803:5;23180:634;-1:-1:-1;;;;;23180:634:20:o;23819:557::-;24076:6;24068;24064:19;24053:9;24046:38;24120:3;24115:2;24104:9;24100:18;24093:31;24027:4;24147:46;24188:3;24177:9;24173:19;24165:6;24147:46;:::i;:::-;-1:-1:-1;;;;;24233:6:20;24229:31;24224:2;24213:9;24209:18;24202:59;24309:9;24301:6;24297:22;24292:2;24281:9;24277:18;24270:50;24337:33;24363:6;24355;24337:33;:::i;25877:840::-;26226:6;26218;26214:19;26203:9;26196:38;26270:3;26265:2;26254:9;26250:18;26243:31;26177:4;26297:46;26338:3;26327:9;26323:19;26315:6;26297:46;:::i;:::-;26391:9;26383:6;26379:22;26374:2;26363:9;26359:18;26352:50;26425:33;26451:6;26443;26425:33;:::i;:::-;-1:-1:-1;;;;;26532:15:20;;;26527:2;26512:18;;26505:43;26585:15;;26579:3;26564:19;;26557:44;26638:22;;;26485:3;26617:19;;26610:51;26411:47;-1:-1:-1;26678:33:20;26411:47;26696:6;26678:33;:::i;:::-;26670:41;25877:840;-1:-1:-1;;;;;;;;;25877:840:20:o;26722:401::-;26924:2;26906:21;;;26963:2;26943:18;;;26936:30;27002:34;26997:2;26982:18;;26975:62;-1:-1:-1;;;27068:2:20;27053:18;;27046:35;27113:3;27098:19;;26722:401::o;27533:320::-;27620:6;27628;27681:2;27669:9;27660:7;27656:23;27652:32;27649:52;;;27697:1;27694;27687:12;27649:52;27729:9;27723:16;27748:31;27773:5;27748:31;:::i;:::-;27843:2;27828:18;;;;27822:25;27798:5;;27822:25;;-1:-1:-1;;;27533:320:20:o;29334:414::-;29536:2;29518:21;;;29575:2;29555:18;;;29548:30;29614:34;29609:2;29594:18;;29587:62;-1:-1:-1;;;29680:2:20;29665:18;;29658:48;29738:3;29723:19;;29334:414::o;29753:274::-;29882:3;29920:6;29914:13;29936:53;29982:6;29977:3;29970:4;29962:6;29958:17;29936:53;:::i;:::-;30005:16;;;;;29753:274;-1:-1:-1;;29753:274:20:o;30032:719::-;30335:6;30327;30323:19;30312:9;30305:38;30379:3;30374:2;30363:9;30359:18;30352:31;30286:4;30406:46;30447:3;30436:9;30432:19;30424:6;30406:46;:::i;:::-;-1:-1:-1;;;;;30492:6:20;30488:31;30483:2;30472:9;30468:18;30461:59;30568:9;30560:6;30556:22;30551:2;30540:9;30536:18;30529:50;30602:33;30628:6;30620;30602:33;:::i;:::-;30588:47;;30684:9;30676:6;30672:22;30666:3;30655:9;30651:19;30644:51;30712:33;30738:6;30730;30712:33;:::i;31117:489::-;-1:-1:-1;;;;;31386:15:20;;;31368:34;;31438:15;;31433:2;31418:18;;31411:43;31485:2;31470:18;;31463:34;;;31533:3;31528:2;31513:18;;31506:31;;;31311:4;;31554:46;;31580:19;;31572:6;31554:46;:::i;:::-;31546:54;31117:489;-1:-1:-1;;;;;;31117:489:20:o;31611:249::-;31680:6;31733:2;31721:9;31712:7;31708:23;31704:32;31701:52;;;31749:1;31746;31739:12;31701:52;31781:9;31775:16;31800:30;31824:5;31800:30;:::i
Swarm Source
ipfs://dfd7c460b6418d0cc2f30982b02585905d4002c1c0d3c04d546bc90b94dccac7
Loading...LoadingLoading...Loading
Loading...Loading
Loading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...Loading[ Download: CSV Export ][ Download: CSV Export ]A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.
Address QR Code
My Address - Private Name Tag or Note
My Name Tag:
Private Name Tags (up to 35 characters) can be used for easy identification of addressesPrivate Note:
A private note (up to 500 characters) can be attached to this address.
Please DO NOT store any passwords or private keys here.Compiler specific version warnings:
The compiled contract might be susceptible to VerbatimInvalidDeduplication (low-severity), FullInlinerNonExpressionSplitArgumentEvaluationOrder (low-severity), MissingSideEffectsOnSelectorAccess (low-severity), AbiReencodingHeadOverflowWithStaticArrayCleanup (medium-severity), DirtyBytesArrayToStorage (low-severity), DataLocationChangeInInternalOverride (very low-severity), NestedCalldataArrayAbiReencodingSizeValidation (very low-severity) Solidity Compiler Bugs.
Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Before You Copy
Transaction Private Note
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.