Source Code
Overview
ETH Balance
0.0001 ETH
Token Holdings
More Info
ContractCreator
TokenTracker
Multichain Info
N/A
Latest 25 from a total of 2,168 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint | 7212910 | 18 hrs ago | IN | 0.00005 ETH | 0.00005996 | ||||
Mint | 7212896 | 18 hrs ago | IN | 0.00005 ETH | 0.000089 | ||||
Withdraw | 7029525 | 28 days ago | IN | 0 ETH | 0.00038208 | ||||
Mint | 6952798 | 39 days ago | IN | 0.003 ETH | 0.0000873 | ||||
Send From | 6952649 | 39 days ago | IN | 2.57356332 ETH | 0.0004556 | ||||
Mint | 6952645 | 39 days ago | IN | 0.001 ETH | 0.00009461 | ||||
Send From | 6950725 | 40 days ago | IN | 2.58241249 ETH | 0.00043939 | ||||
Mint | 6950721 | 40 days ago | IN | 0.00005 ETH | 0.00009836 | ||||
Withdraw | 6911364 | 46 days ago | IN | 0 ETH | 0.00008109 | ||||
Mint | 6897845 | 48 days ago | IN | 0.00005 ETH | 0.00053487 | ||||
Mint | 6893271 | 49 days ago | IN | 0.00005 ETH | 0.00062916 | ||||
Send From | 6823103 | 60 days ago | IN | 1.94044829 ETH | 0.34401269 | ||||
Mint | 6823101 | 60 days ago | IN | 0.001 ETH | 0.07349667 | ||||
Mint | 6795919 | 64 days ago | IN | 0.00075 ETH | 0.00764636 | ||||
Withdraw | 6776207 | 68 days ago | IN | 0 ETH | 0.00416319 | ||||
Mint | 6708622 | 79 days ago | IN | 0.00005 ETH | 0.00053817 | ||||
Withdraw | 6467300 | 118 days ago | IN | 0 ETH | 0.00068499 | ||||
Mint | 6429554 | 124 days ago | IN | 0.00005 ETH | 0.00036483 | ||||
Mint | 6417290 | 126 days ago | IN | 0.005 ETH | 0.00032234 | ||||
Mint | 6390478 | 130 days ago | IN | 0.00005 ETH | 0.0004077 | ||||
Mint | 6389074 | 130 days ago | IN | 0.5 ETH | 0.00016082 | ||||
Mint | 6374694 | 133 days ago | IN | 0.00005 ETH | 0.00065583 | ||||
Withdraw | 6357060 | 136 days ago | IN | 0 ETH | 0.00018011 | ||||
Mint | 6346073 | 138 days ago | IN | 0.005 ETH | 0.00008148 | ||||
Mint | 6339465 | 139 days ago | IN | 0.00005 ETH | 0.00146035 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
7029525 | 28 days ago | 0.00505 ETH | ||||
6952649 | 39 days ago | 2.57306332 ETH | ||||
6950725 | 40 days ago | 2.58191249 ETH | ||||
6911364 | 46 days ago | 0.00235 ETH | ||||
6823103 | 60 days ago | 1.93994829 ETH | ||||
6776207 | 68 days ago | 0.00005 ETH | ||||
6467300 | 118 days ago | 0.50515 ETH | ||||
6357060 | 136 days ago | 0.0054 ETH | ||||
6244155 | 154 days ago | 0.00075 ETH | ||||
6149162 | 168 days ago | 17.5013 ETH | ||||
6121792 | 171 days ago | 6.34683619 ETH | ||||
6013097 | 188 days ago | 0.0025 ETH | ||||
5930591 | 200 days ago | 0.0065 ETH | ||||
5920137 | 202 days ago | 1.65309403 ETH | ||||
5882017 | 208 days ago | 0.06055 ETH | ||||
5817616 | 217 days ago | 5.07015816 ETH | ||||
5813827 | 218 days ago | 9.50549618 ETH | ||||
5804784 | 219 days ago | 0.6184 ETH | ||||
5781477 | 223 days ago | 8.4296812 ETH | ||||
5767117 | 225 days ago | 0.0921 ETH | ||||
5765048 | 225 days ago | 4.16671327 ETH | ||||
5738786 | 229 days ago | 6.45939309 ETH | ||||
5733351 | 230 days ago | 4.57885949 ETH | ||||
5724844 | 231 days ago | 4.59485613 ETH | ||||
5716989 | 232 days ago | 14.89040496 ETH |
Loading...
Loading
Contract Name:
Merkly
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./OFT.sol"; contract Merkly is OFT { uint public fee = 0.0000025 ether; constructor(address _layerZeroEndpoint) OFT("Merkly OFT", "MERK", _layerZeroEndpoint) {} function mint(address _to, uint256 _amount) external payable { require(_amount * fee <= msg.value, "Not enough ether"); _mint(_to, _amount * 10 ** decimals()); } function setFee(uint _fee) external onlyOwner { fee = _fee; } 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.19; /** * @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 pragma solidity ^0.8.19; /** * @dev Standard ERC20 Errors * Interface of the ERC6093 custom errors for ERC20 tokens * as defined in https://eips.ethereum.org/EIPS/eip-6093 */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the ERC6093 custom errors for ERC721 tokens * as defined in https://eips.ethereum.org/EIPS/eip-6093 */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the ERC6093 custom errors for ERC1155 tokens * as defined in https://eips.ethereum.org/EIPS/eip-6093 */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.19; import {IERC165} from "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.19; import {IERC20} from "./IERC20.sol"; import {IERC20Metadata} from "./IERC20Metadata.sol"; import {Context} from "./Context.sol"; import {IERC20Errors} from "./draft-IERC6093.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Indicates a failed `decreaseAllowance` request. */ error ERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `requestedDecrease`. * * NOTE: Although this function is designed to avoid double spending with {approval}, * it can still be frontrunned, preventing any attempt of allowance reduction. */ function decreaseAllowance(address spender, uint256 requestedDecrease) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); if (currentAllowance < requestedDecrease) { revert ERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } unchecked { _approve(owner, spender, currentAllowance - requestedDecrease); } return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` (or `to`) is * the zero address. All customizations to transfers, mints, and burns should be done by overriding this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, by transferring it to address(0). * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 value) internal virtual { _approve(owner, spender, value, true); } /** * @dev Alternative version of {_approve} with an optional flag that can enable or disable the Approval event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to true * using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } }
// 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.19; /** * @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.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.19; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.19; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.19; import {IERC20} from "./IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT 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 lzApp 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: MIT 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: MIT 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.5.0; import "./IOFTCore.sol"; import "./IERC20.sol"; /** * @dev Interface of the OFT standard */ interface IOFT is IOFTCore, IERC20 { }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "./IERC165.sol"; /** * @dev Interface of the IOFT core standard */ interface IOFTCore is IERC165 { /** * @dev estimate send token `_tokenId` to (`_dstChainId`, `_toAddress`) * _dstChainId - L0 defined chain id to send tokens too * _toAddress - dynamic bytes array which contains the address to whom you are sending tokens to on the dstChain * _amount - amount of the tokens to transfer * _useZro - indicates to use zro to pay L0 fees * _adapterParam - flexible bytes array to indicate messaging adapter services in L0 */ function estimateSendFee(uint16 _dstChainId, bytes calldata _toAddress, uint _amount, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee); /** * @dev send `_amount` amount of token to (`_dstChainId`, `_toAddress`) from `_from` * `_from` the owner of token * `_dstChainId` the destination chain identifier * `_toAddress` can be any size depending on the `dstChainId`. * `_amount` the quantity of tokens in wei * `_refundAddress` the address LayerZero refunds if too much message fee is sent * `_zroPaymentAddress` set to address(0x0) if not paying in ZRO (LayerZero Token) * `_adapterParams` is a flexible bytes array to indicate messaging adapter services */ function sendFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable; /** * @dev returns the circulating amount of tokens on current chain */ function circulatingSupply() external view returns (uint); /** * @dev returns the address of the ERC20 token */ function token() external view returns (address); /** * @dev Emitted when `_amount` tokens are moved from the `_sender` to (`_dstChainId`, `_toAddress`) * `_nonce` is the outbound nonce */ event SendToChain(uint16 indexed _dstChainId, address indexed _from, bytes _toAddress, uint _amount); /** * @dev Emitted when `_amount` tokens are received from `_srcChainId` into the `_toAddress` on the local chain. * `_nonce` is the inbound nonce. */ event ReceiveFromChain(uint16 indexed _srcChainId, address indexed _to, uint _amount); event SetUseCustomAdapterParams(bool _useCustomAdapterParams); }
// 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 constant public 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) Ownable(msg.sender) { 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 _remoteChainId, bytes calldata _path) external onlyOwner { trustedRemoteLookup[_remoteChainId] = _path; emit SetTrustedRemote(_remoteChainId, _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 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 pragma solidity ^0.8.0; import "./ERC20.sol"; import "./IERC165.sol"; import "./IOFT.sol"; import "./OFTCore.sol"; // override decimal() function is needed contract OFT is OFTCore, ERC20, IOFT { constructor(string memory _name, string memory _symbol, address _lzEndpoint) ERC20(_name, _symbol) OFTCore(_lzEndpoint) {} function supportsInterface(bytes4 interfaceId) public view virtual override(OFTCore, IERC165) returns (bool) { return interfaceId == type(IOFT).interfaceId || interfaceId == type(IERC20).interfaceId || super.supportsInterface(interfaceId); } function token() public view virtual override returns (address) { return address(this); } function circulatingSupply() public view virtual override returns (uint) { return totalSupply(); } function _debitFrom(address _from, uint16, bytes memory, uint _amount) internal virtual override returns(uint) { address spender = _msgSender(); if (_from != spender) _spendAllowance(_from, spender, _amount); _burn(_from, _amount); return _amount; } function _creditTo(uint16, address _toAddress, uint _amount) internal virtual override returns(uint) { _mint(_toAddress, _amount); return _amount; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./NonblockingLzApp.sol"; import "./IOFTCore.sol"; import "./ERC165.sol"; abstract contract OFTCore is NonblockingLzApp, ERC165, IOFTCore { using BytesLib for bytes; uint public constant NO_EXTRA_GAS = 0; // packet type uint16 public constant PT_SEND = 0; bool public useCustomAdapterParams; constructor(address _lzEndpoint) NonblockingLzApp(_lzEndpoint) {} function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IOFTCore).interfaceId || super.supportsInterface(interfaceId); } function estimateSendFee(uint16 _dstChainId, bytes calldata _toAddress, uint _amount, bool _useZro, bytes calldata _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) { // mock the payload for sendFrom() bytes memory payload = abi.encode(PT_SEND, _toAddress, _amount); return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams); } function estimateSendFee2(uint16 _dstChainId, bytes memory payload, bool _useZro, bytes memory _adapterParams) public view virtual returns (uint nativeFee, uint zroFee) { return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams); } function sendFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) public payable virtual override { _send(_from, _dstChainId, _toAddress, _amount, _refundAddress, _zroPaymentAddress, _adapterParams); } function setUseCustomAdapterParams(bool _useCustomAdapterParams) public virtual onlyOwner { useCustomAdapterParams = _useCustomAdapterParams; emit SetUseCustomAdapterParams(_useCustomAdapterParams); } function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override { uint16 packetType; assembly { packetType := mload(add(_payload, 32)) } if (packetType == PT_SEND) { _sendAck(_srcChainId, _srcAddress, _nonce, _payload); } else { revert("OFTCore: unknown packet type"); } } function _send(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) internal virtual { _checkAdapterParams(_dstChainId, PT_SEND, _adapterParams, NO_EXTRA_GAS); uint amount = _debitFrom(_from, _dstChainId, _toAddress, _amount); bytes memory lzPayload = abi.encode(PT_SEND, _toAddress, amount); (uint nativeFee,) = estimateSendFee2(_dstChainId, lzPayload, false, _adapterParams); require(msg.value >= nativeFee, "Not enough gas to send"); _lzSend(_dstChainId, lzPayload, _refundAddress, _zroPaymentAddress, _adapterParams, nativeFee); emit SendToChain(_dstChainId, _from, _toAddress, amount); } function _sendAck(uint16 _srcChainId, bytes memory, uint64, bytes memory _payload) internal virtual { (, bytes memory toAddressBytes, uint amount) = abi.decode(_payload, (uint16, bytes, uint)); address to = toAddressBytes.toAddress(0); amount = _creditTo(_srcChainId, to, amount); emit ReceiveFromChain(_srcChainId, to, amount); } function _checkAdapterParams(uint16 _dstChainId, uint16 _pkType, bytes memory _adapterParams, uint _extraGas) internal virtual { if (useCustomAdapterParams) { _checkGasLimit(_dstChainId, _pkType, _adapterParams, _extraGas); } else { require(_adapterParams.length == 0, "OFTCore: _adapterParams must be empty."); } } function _debitFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _amount) internal virtual returns(uint); function _creditTo(uint16 _srcChainId, address _toAddress, uint _amount) internal virtual returns(uint); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.19; import {Context} from "./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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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); } }
[{"inputs":[{"internalType":"address","name":"_layerZeroEndpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"currentAllowance","type":"uint256"},{"internalType":"uint256","name":"requestedDecrease","type":"uint256"}],"name":"ERC20FailedDecreaseAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":true,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ReceiveFromChain","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":true,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"bytes","name":"_toAddress","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"SendToChain","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":false,"internalType":"bool","name":"_useCustomAdapterParams","type":"bool"}],"name":"SetUseCustomAdapterParams","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_PAYLOAD_SIZE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NO_EXTRA_GAS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PT_SEND","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"requestedDecrease","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_useZro","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateSendFee","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"payload","type":"bytes"},{"internalType":"bool","name":"_useZro","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateSendFee2","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","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":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"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":"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":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"address","name":"_zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"sendFrom","outputs":[],"stateMutability":"payable","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":"_fee","type":"uint256"}],"name":"setFee","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":"_remoteChainId","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":"bool","name":"_useCustomAdapterParams","type":"bool"}],"name":"setUseCustomAdapterParams","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":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"useCustomAdapterParams","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60a0604052650246139ca800600c553480156200001b57600080fd5b5060405162003a1038038062003a108339810160408190526200003e9162000120565b6040518060400160405280600a81526020016913595c9adb1e4813d19560b21b815250604051806040016040528060048152602001634d45524b60e01b815250828282828080336200009681620000d060201b60201c565b506001600160a01b031660805250600a9050620000b48382620001f7565b50600b620000c38282620001f7565b50505050505050620002c3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156200013357600080fd5b81516001600160a01b03811681146200014b57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200017d57607f821691505b6020821081036200019e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001f257600081815260208120601f850160051c81016020861015620001cd5750805b601f850160051c820191505b81811015620001ee57828155600101620001d9565b5050505b505050565b81516001600160401b0381111562000213576200021362000152565b6200022b8162000224845462000168565b84620001a4565b602080601f8311600181146200026357600084156200024a5750858301515b600019600386901b1c1916600185901b178555620001ee565b600085815260208120601f198616915b82811015620002945788860151825594840194600190910190840162000273565b5085821015620002b35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6080516136f26200031e600039600081816107ae0152818161093f01528181610c5e01528181610d1e01528181610dbc0152818161102c01528181611206015281816115f201528181611a5f015261248901526136f26000f3fe6080604052600436106102c85760003560e01c8063715018a611610175578063baf3292d116100dc578063df2a5b3b11610095578063ed629c5c1161006f578063ed629c5c146108cf578063f2fde38b146108e9578063f5ecbdbc14610909578063fc0c546a1461092957600080fd5b8063df2a5b3b1461086f578063eab45d9c1461088f578063eb8d72b7146108af57600080fd5b8063baf3292d146107d0578063c4461834146107f0578063cbed8b9c14610806578063d1deba1f14610826578063dd62ed3e14610839578063ddca3f431461085957600080fd5b806395d89b411161012e57806395d89b41146107075780639f38369a1461071c578063a457c2d71461073c578063a6c3d1651461075c578063a9059cbb1461077c578063b353aaa71461079c57600080fd5b8063715018a6146106335780637533d788146106485780638cfd8f5c146106685780638da5cb5b146106a05780639358928b146106d2578063950c8a74146106e757600080fd5b80633ccfd60b116102345780634c42899a116101ed57806366ad5c8a116101c757806366ad5c8a1461059d57806369fe0e2d146105bd5780636d413538146105dd57806370a08231146105fd57600080fd5b80634c42899a14610513578063519056361461053b5780635b8c41e61461054e57600080fd5b80633ccfd60b146104765780633d8b38f61461047e5780633f1f4fa41461049e57806340c10f19146104cb57806342d65a8d146104de57806344770515146104fe57600080fd5b806310ddb1371161028657806310ddb137146103a657806318160ddd146103c657806323b872dd146103e55780632a205e3d14610405578063313ce5671461043a578063395093511461045657600080fd5b80621d3567146102cd57806301ffc9a7146102ef57806306fdde031461032457806307e0db1714610346578063095ea7b3146103665780630df3748314610386575b600080fd5b3480156102d957600080fd5b506102ed6102e836600461285d565b61093c565b005b3480156102fb57600080fd5b5061030f61030a3660046128f2565b610b6d565b60405190151581526020015b60405180910390f35b34801561033057600080fd5b50610339610bab565b60405161031b919061296c565b34801561035257600080fd5b506102ed61036136600461297f565b610c3d565b34801561037257600080fd5b5061030f6103813660046129b1565b610cc6565b34801561039257600080fd5b506102ed6103a13660046129dd565b610cde565b3480156103b257600080fd5b506102ed6103c136600461297f565b610cfd565b3480156103d257600080fd5b506009545b60405190815260200161031b565b3480156103f157600080fd5b5061030f6104003660046129fb565b610d55565b34801561041157600080fd5b50610425610420366004612a4c565b610d79565b6040805192835260208301919091520161031b565b34801561044657600080fd5b506040516012815260200161031b565b34801561046257600080fd5b5061030f6104713660046129b1565b610e4c565b6102ed610e6e565b34801561048a57600080fd5b5061030f610499366004612aeb565b610ece565b3480156104aa57600080fd5b506103d76104b936600461297f565b60036020526000908152604090205481565b6102ed6104d93660046129b1565b610f9a565b3480156104ea57600080fd5b506102ed6104f9366004612aeb565b61100d565b34801561050a57600080fd5b506103d7600081565b34801561051f57600080fd5b50610528600081565b60405161ffff909116815260200161031b565b6102ed610549366004612b3f565b611093565b34801561055a57600080fd5b506103d7610569366004612ccb565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156105a957600080fd5b506102ed6105b836600461285d565b611118565b3480156105c957600080fd5b506102ed6105d8366004612d2a565b6111f4565b3480156105e957600080fd5b506104256105f8366004612d43565b611201565b34801561060957600080fd5b506103d7610618366004612dc9565b6001600160a01b031660009081526007602052604090205490565b34801561063f57600080fd5b506102ed6112a5565b34801561065457600080fd5b5061033961066336600461297f565b6112b9565b34801561067457600080fd5b506103d7610683366004612de6565b600260209081526000928352604080842090915290825290205481565b3480156106ac57600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161031b565b3480156106de57600080fd5b506103d7611353565b3480156106f357600080fd5b506004546106ba906001600160a01b031681565b34801561071357600080fd5b50610339611363565b34801561072857600080fd5b5061033961073736600461297f565b611372565b34801561074857600080fd5b5061030f6107573660046129b1565b611488565b34801561076857600080fd5b506102ed610777366004612aeb565b6114df565b34801561078857600080fd5b5061030f6107973660046129b1565b611568565b3480156107a857600080fd5b506106ba7f000000000000000000000000000000000000000000000000000000000000000081565b3480156107dc57600080fd5b506102ed6107eb366004612dc9565b611576565b3480156107fc57600080fd5b506103d761271081565b34801561081257600080fd5b506102ed610821366004612e1f565b6115d3565b6102ed61083436600461285d565b61165d565b34801561084557600080fd5b506103d7610854366004612e91565b611873565b34801561086557600080fd5b506103d7600c5481565b34801561087b57600080fd5b506102ed61088a366004612ebf565b61189e565b34801561089b57600080fd5b506102ed6108aa366004612eef565b611950565b3480156108bb57600080fd5b506102ed6108ca366004612aeb565b611999565b3480156108db57600080fd5b5060065461030f9060ff1681565b3480156108f557600080fd5b506102ed610904366004612dc9565b6119f3565b34801561091557600080fd5b50610339610924366004612f0a565b611a2e565b34801561093557600080fd5b50306106ba565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146109b95760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546109d790612f5b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0390612f5b565b8015610a505780601f10610a2557610100808354040283529160200191610a50565b820191906000526020600020905b815481529060010190602001808311610a3357829003601f168201915b50505050509050805186869050148015610a6b575060008151115b8015610a93575080516020820120604051610a899088908890612f95565b6040518091039020145b610aee5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016109b0565b610b648787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611adf92505050565b50505050505050565b60006001600160e01b031982161580610b9657506001600160e01b031982166336372b0760e01b145b80610ba55750610ba582611b58565b92915050565b6060600a8054610bba90612f5b565b80601f0160208091040260200160405190810160405280929190818152602001828054610be690612f5b565b8015610c335780601f10610c0857610100808354040283529160200191610c33565b820191906000526020600020905b815481529060010190602001808311610c1657829003601f168201915b5050505050905090565b610c45611b8d565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610cab57600080fd5b505af1158015610cbf573d6000803e3d6000fd5b5050505050565b600033610cd4818585611bba565b5060019392505050565b610ce6611b8d565b61ffff909116600090815260036020526040902055565b610d05611b8d565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610c91565b600033610d63858285611bcc565b610d6e858585611c32565b506001949350505050565b600080600080898989604051602001610d959493929190612fce565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340a7bb1090610dfb908d90309086908c908c908c90600401612ffd565b6040805180830381865afa158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190613053565b925092505097509795505050505050565b600033610cd4818585610e5f8383611873565b610e69919061308d565b611bba565b610e76611b8d565b604051600090339047908381818185875af1925050503d8060008114610eb8576040519150601f19603f3d011682016040523d82523d6000602084013e610ebd565b606091505b5050905080610ecb57600080fd5b50565b61ffff831660009081526001602052604081208054829190610eef90612f5b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1b90612f5b565b8015610f685780601f10610f3d57610100808354040283529160200191610f68565b820191906000526020600020905b815481529060010190602001808311610f4b57829003601f168201915b505050505090508383604051610f7f929190612f95565b60405180910390208180519060200120149150509392505050565b34600c5482610fa991906130a0565b1115610fea5760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b60448201526064016109b0565b61100982610ffa6012600a61319b565b61100490846130a0565b611c91565b5050565b611015611b8d565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90611065908690869086906004016131aa565b600060405180830381600087803b15801561107f57600080fd5b505af1158015610b64573d6000803e3d6000fd5b61110d898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528c93508b92508a918a908a9081908401838280828437600092019190915250611cc792505050565b505050505050505050565b3330146111765760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016109b0565b6111ec8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611dca92505050565b505050505050565b6111fc611b8d565b600c55565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166340a7bb1087308888886040518663ffffffff1660e01b81526004016112589594939291906131c8565b6040805180830381865afa158015611274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112989190613053565b9150915094509492505050565b6112ad611b8d565b6112b76000611e31565b565b600160205260009081526040902080546112d290612f5b565b80601f01602080910402602001604051908101604052809291908181526020018280546112fe90612f5b565b801561134b5780601f106113205761010080835404028352916020019161134b565b820191906000526020600020905b81548152906001019060200180831161132e57829003601f168201915b505050505081565b600061135e60095490565b905090565b6060600b8054610bba90612f5b565b61ffff811660009081526001602052604081208054606092919061139590612f5b565b80601f01602080910402602001604051908101604052809291908181526020018280546113c190612f5b565b801561140e5780601f106113e35761010080835404028352916020019161140e565b820191906000526020600020905b8154815290600101906020018083116113f157829003601f168201915b5050505050905080516000036114665760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016109b0565b611481600060148351611479919061321c565b839190611e81565b9392505050565b600033816114968286611873565b9050838110156114d257604051632983c0c360e21b81526001600160a01b038616600482015260248101829052604481018590526064016109b0565b610d6e8286868403611bba565b6114e7611b8d565b8181306040516020016114fc9392919061322f565b60408051601f1981840301815291815261ffff8516600090815260016020522090611527908261329b565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161155b939291906131aa565b60405180910390a1505050565b600033610cd4818585611c32565b61157e611b8d565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b6115db611b8d565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c9061162f908890889088908890889060040161335a565b600060405180830381600087803b15801561164957600080fd5b505af115801561110d573d6000803e3d6000fd5b61ffff861660009081526005602052604080822090516116809088908890612f95565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806117005760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016109b0565b808383604051611711929190612f95565b6040518091039020146117705760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016109b0565b61ffff871660009081526005602052604080822090516117939089908990612f95565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f8801829004820283018201905286825261182b918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611dca92505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e58787878785604051611862959493929190613393565b60405180910390a150505050505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b6118a6611b8d565b600081116118ee5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016109b0565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161155b565b611958611b8d565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a4906020016115c8565b6119a1611b8d565b61ffff831660009081526001602052604090206119bf8284836133ce565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161155b939291906131aa565b6119fb611b8d565b6001600160a01b038116611a2557604051631e4fbdf760e01b8152600060048201526024016109b0565b610ecb81611e31565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611aae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ad691908101906134da565b95945050505050565b600080611b425a60966366ad5c8a60e01b89898989604051602401611b07949392919061350e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190611f8e565b91509150816111ec576111ec8686868685612018565b60006001600160e01b03198216630a72677560e11b1480610ba557506301ffc9a760e01b6001600160e01b0319831614610ba5565b6000546001600160a01b031633146112b75760405163118cdaa760e01b81523360048201526024016109b0565b611bc783838360016120b5565b505050565b6000611bd88484611873565b90506000198114611c2c5781811015611c1d57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016109b0565b611c2c848484840360006120b5565b50505050565b6001600160a01b038316611c5c57604051634b637e8f60e11b8152600060048201526024016109b0565b6001600160a01b038216611c865760405163ec442f0560e01b8152600060048201526024016109b0565b611bc783838361218a565b6001600160a01b038216611cbb5760405163ec442f0560e01b8152600060048201526024016109b0565b6110096000838361218a565b611cd58660008360006122b4565b6000611ce38888888861232e565b90506000808783604051602001611cfc9392919061354c565b60405160208183030381529060405290506000611d1c8983600087611201565b50905080341015611d685760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da0819d85cc81d1bc81cd95b9960521b60448201526064016109b0565b611d76898388888886612360565b896001600160a01b03168961ffff167f39a4c66499bcf4b56d79f0dde8ed7a9d4925a0df55825206b2b8531e202be0d08a86604051611db6929190613579565b60405180910390a350505050505050505050565b602081015161ffff8116611de957611de485858585612505565b610cbf565b60405162461bcd60e51b815260206004820152601c60248201527f4f4654436f72653a20756e6b6e6f776e207061636b657420747970650000000060448201526064016109b0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606081611e8f81601f61308d565b1015611ece5760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016109b0565b611ed8828461308d565b84511015611f1c5760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016109b0565b606082158015611f3b5760405191506000825260208201604052611f85565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015611f74578051835260209283019201611f5c565b5050858452601f01601f1916604052505b50949350505050565b6000606060008060008661ffff166001600160401b03811115611fb357611fb3612c08565b6040519080825280601f01601f191660200182016040528015611fdd576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115611fff578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff16815260200190815260200160002085604051612049919061359b565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906120a690879087908790879087906135b7565b60405180910390a15050505050565b6001600160a01b0384166120df5760405163e602df0560e01b8152600060048201526024016109b0565b6001600160a01b03831661210957604051634a1406b160e11b8152600060048201526024016109b0565b6001600160a01b0380851660009081526008602090815260408083209387168352929052208290558015611c2c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161217c91815260200190565b60405180910390a350505050565b6001600160a01b0383166121b55780600960008282546121aa919061308d565b909155506122279050565b6001600160a01b038316600090815260076020526040902054818110156122085760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016109b0565b6001600160a01b03841660009081526007602052604090209082900390555b6001600160a01b03821661224357600980548290039055612262565b6001600160a01b03821660009081526007602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516122a791815260200190565b60405180910390a3505050565b60065460ff16156122d0576122cb8484848461258f565b611c2c565b815115611c2c5760405162461bcd60e51b815260206004820152602660248201527f4f4654436f72653a205f61646170746572506172616d73206d7573742062652060448201526532b6b83a3c9760d11b60648201526084016109b0565b6000336001600160a01b038616811461234c5761234c868285611bcc565b612356868461266e565b5090949350505050565b61ffff86166000908152600160205260408120805461237e90612f5b565b80601f01602080910402602001604051908101604052809291908181526020018280546123aa90612f5b565b80156123f75780601f106123cc576101008083540402835291602001916123f7565b820191906000526020600020905b8154815290600101906020018083116123da57829003601f168201915b5050505050905080516000036124685760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016109b0565b6124738787516126a4565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c58031009084906124ca908b9086908c908c908c908c90600401613609565b6000604051808303818588803b1580156124e357600080fd5b505af11580156124f7573d6000803e3d6000fd5b505050505050505050505050565b6000808280602001905181019061251c9190613663565b90935091506000905061252f8382612715565b905061253c87828461277a565b9150806001600160a01b03168761ffff167fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf8460405161257e91815260200190565b60405180910390a350505050505050565b600061259a8361278d565b61ffff8087166000908152600260209081526040808320938916835292905290812054919250906125cc90849061308d565b90506000811161261e5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f742073657400000000000060448201526064016109b0565b808210156111ec5760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f77000000000060448201526064016109b0565b6001600160a01b03821661269857604051634b637e8f60e11b8152600060048201526024016109b0565b6110098260008361218a565b61ffff8216600090815260036020526040812054908190036126c557506127105b80821115611bc75760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016109b0565b600061272282601461308d565b8351101561276a5760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b60448201526064016109b0565b500160200151600160601b900490565b60006127868383611c91565b5092915050565b60006022825110156127e15760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d730000000060448201526064016109b0565b506022015190565b61ffff81168114610ecb57600080fd5b60008083601f84011261280b57600080fd5b5081356001600160401b0381111561282257600080fd5b60208301915083602082850101111561283a57600080fd5b9250929050565b80356001600160401b038116811461285857600080fd5b919050565b6000806000806000806080878903121561287657600080fd5b8635612881816127e9565b955060208701356001600160401b038082111561289d57600080fd5b6128a98a838b016127f9565b90975095508591506128bd60408a01612841565b945060608901359150808211156128d357600080fd5b506128e089828a016127f9565b979a9699509497509295939492505050565b60006020828403121561290457600080fd5b81356001600160e01b03198116811461148157600080fd5b60005b8381101561293757818101518382015260200161291f565b50506000910152565b6000815180845261295881602086016020860161291c565b601f01601f19169290920160200192915050565b6020815260006114816020830184612940565b60006020828403121561299157600080fd5b8135611481816127e9565b6001600160a01b0381168114610ecb57600080fd5b600080604083850312156129c457600080fd5b82356129cf8161299c565b946020939093013593505050565b600080604083850312156129f057600080fd5b82356129cf816127e9565b600080600060608486031215612a1057600080fd5b8335612a1b8161299c565b92506020840135612a2b8161299c565b929592945050506040919091013590565b8035801515811461285857600080fd5b600080600080600080600060a0888a031215612a6757600080fd5b8735612a72816127e9565b965060208801356001600160401b0380821115612a8e57600080fd5b612a9a8b838c016127f9565b909850965060408a01359550869150612ab560608b01612a3c565b945060808a0135915080821115612acb57600080fd5b50612ad88a828b016127f9565b989b979a50959850939692959293505050565b600080600060408486031215612b0057600080fd5b8335612b0b816127e9565b925060208401356001600160401b03811115612b2657600080fd5b612b32868287016127f9565b9497909650939450505050565b600080600080600080600080600060e08a8c031215612b5d57600080fd5b8935612b688161299c565b985060208a0135612b78816127e9565b975060408a01356001600160401b0380821115612b9457600080fd5b612ba08d838e016127f9565b909950975060608c0135965060808c01359150612bbc8261299c565b90945060a08b013590612bce8261299c565b90935060c08b01359080821115612be457600080fd5b50612bf18c828d016127f9565b915080935050809150509295985092959850929598565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612c4657612c46612c08565b604052919050565b60006001600160401b03821115612c6757612c67612c08565b50601f01601f191660200190565b600082601f830112612c8657600080fd5b8135612c99612c9482612c4e565b612c1e565b818152846020838601011115612cae57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612ce057600080fd5b8335612ceb816127e9565b925060208401356001600160401b03811115612d0657600080fd5b612d1286828701612c75565b925050612d2160408501612841565b90509250925092565b600060208284031215612d3c57600080fd5b5035919050565b60008060008060808587031215612d5957600080fd5b8435612d64816127e9565b935060208501356001600160401b0380821115612d8057600080fd5b612d8c88838901612c75565b9450612d9a60408801612a3c565b93506060870135915080821115612db057600080fd5b50612dbd87828801612c75565b91505092959194509250565b600060208284031215612ddb57600080fd5b81356114818161299c565b60008060408385031215612df957600080fd5b8235612e04816127e9565b91506020830135612e14816127e9565b809150509250929050565b600080600080600060808688031215612e3757600080fd5b8535612e42816127e9565b94506020860135612e52816127e9565b93506040860135925060608601356001600160401b03811115612e7457600080fd5b612e80888289016127f9565b969995985093965092949392505050565b60008060408385031215612ea457600080fd5b8235612eaf8161299c565b91506020830135612e148161299c565b600080600060608486031215612ed457600080fd5b8335612edf816127e9565b92506020840135612a2b816127e9565b600060208284031215612f0157600080fd5b61148182612a3c565b60008060008060808587031215612f2057600080fd5b8435612f2b816127e9565b93506020850135612f3b816127e9565b92506040850135612f4b8161299c565b9396929550929360600135925050565b600181811c90821680612f6f57607f821691505b602082108103612f8f57634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff85168152606060208201526000612fec606083018587612fa5565b905082604083015295945050505050565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061302b90830187612940565b85151560608401528281036080840152613046818587612fa5565b9998505050505050505050565b6000806040838503121561306657600080fd5b505080516020909101519092909150565b634e487b7160e01b600052601160045260246000fd5b80820180821115610ba557610ba5613077565b8082028115828204841417610ba557610ba5613077565b600181815b808511156130f25781600019048211156130d8576130d8613077565b808516156130e557918102915b93841c93908002906130bc565b509250929050565b60008261310957506001610ba5565b8161311657506000610ba5565b816001811461312c576002811461313657613152565b6001915050610ba5565b60ff84111561314757613147613077565b50506001821b610ba5565b5060208310610133831016604e8410600b8410161715613175575081810a610ba5565b61317f83836130b7565b806000190482111561319357613193613077565b029392505050565b600061148160ff8416836130fa565b61ffff84168152604060208201526000611ad6604083018486612fa5565b61ffff861681526001600160a01b038516602082015260a0604082018190526000906131f690830186612940565b841515606084015282810360808401526132108185612940565b98975050505050505050565b81810381811115610ba557610ba5613077565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611bc757600081815260208120601f850160051c8101602086101561327c5750805b601f850160051c820191505b818110156111ec57828155600101613288565b81516001600160401b038111156132b4576132b4612c08565b6132c8816132c28454612f5b565b84613255565b602080601f8311600181146132fd57600084156132e55750858301515b600019600386901b1c1916600185901b1785556111ec565b600085815260208120601f198616915b8281101561332c5788860151825594840194600190910190840161330d565b508582101561334a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152613388608083018486612fa5565b979650505050505050565b61ffff861681526080602082015260006133b1608083018688612fa5565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b038311156133e5576133e5612c08565b6133f9836133f38354612f5b565b83613255565b6000601f84116001811461342d57600085156134155750838201355b600019600387901b1c1916600186901b178355610cbf565b600083815260209020601f19861690835b8281101561345e578685013582556020948501946001909201910161343e565b508682101561347b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600082601f83011261349e57600080fd5b81516134ac612c9482612c4e565b8181528460208386010111156134c157600080fd5b6134d282602083016020870161291c565b949350505050565b6000602082840312156134ec57600080fd5b81516001600160401b0381111561350257600080fd5b6134d28482850161348d565b61ffff8516815260806020820152600061352b6080830186612940565b6001600160401b038516604084015282810360608401526133888185612940565b61ffff841681526060602082015260006135696060830185612940565b9050826040830152949350505050565b60408152600061358c6040830185612940565b90508260208301529392505050565b600082516135ad81846020870161291c565b9190910192915050565b61ffff8616815260a0602082015260006135d460a0830187612940565b6001600160401b038616604084015282810360608401526135f58186612940565b905082810360808401526132108185612940565b61ffff8716815260c06020820152600061362660c0830188612940565b82810360408401526136388188612940565b6001600160a01b0387811660608601528616608085015283810360a085015290506130468185612940565b60008060006060848603121561367857600080fd5b8351613683816127e9565b60208501519093506001600160401b0381111561369f57600080fd5b6136ab8682870161348d565b92505060408401519050925092509256fea2646970667358221220c5b0c8a705e0fbd783562ca9680813e064c97a0e8de4f71501601c1d6d1d00b864736f6c634300081300330000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a91
Deployed Bytecode
0x6080604052600436106102c85760003560e01c8063715018a611610175578063baf3292d116100dc578063df2a5b3b11610095578063ed629c5c1161006f578063ed629c5c146108cf578063f2fde38b146108e9578063f5ecbdbc14610909578063fc0c546a1461092957600080fd5b8063df2a5b3b1461086f578063eab45d9c1461088f578063eb8d72b7146108af57600080fd5b8063baf3292d146107d0578063c4461834146107f0578063cbed8b9c14610806578063d1deba1f14610826578063dd62ed3e14610839578063ddca3f431461085957600080fd5b806395d89b411161012e57806395d89b41146107075780639f38369a1461071c578063a457c2d71461073c578063a6c3d1651461075c578063a9059cbb1461077c578063b353aaa71461079c57600080fd5b8063715018a6146106335780637533d788146106485780638cfd8f5c146106685780638da5cb5b146106a05780639358928b146106d2578063950c8a74146106e757600080fd5b80633ccfd60b116102345780634c42899a116101ed57806366ad5c8a116101c757806366ad5c8a1461059d57806369fe0e2d146105bd5780636d413538146105dd57806370a08231146105fd57600080fd5b80634c42899a14610513578063519056361461053b5780635b8c41e61461054e57600080fd5b80633ccfd60b146104765780633d8b38f61461047e5780633f1f4fa41461049e57806340c10f19146104cb57806342d65a8d146104de57806344770515146104fe57600080fd5b806310ddb1371161028657806310ddb137146103a657806318160ddd146103c657806323b872dd146103e55780632a205e3d14610405578063313ce5671461043a578063395093511461045657600080fd5b80621d3567146102cd57806301ffc9a7146102ef57806306fdde031461032457806307e0db1714610346578063095ea7b3146103665780630df3748314610386575b600080fd5b3480156102d957600080fd5b506102ed6102e836600461285d565b61093c565b005b3480156102fb57600080fd5b5061030f61030a3660046128f2565b610b6d565b60405190151581526020015b60405180910390f35b34801561033057600080fd5b50610339610bab565b60405161031b919061296c565b34801561035257600080fd5b506102ed61036136600461297f565b610c3d565b34801561037257600080fd5b5061030f6103813660046129b1565b610cc6565b34801561039257600080fd5b506102ed6103a13660046129dd565b610cde565b3480156103b257600080fd5b506102ed6103c136600461297f565b610cfd565b3480156103d257600080fd5b506009545b60405190815260200161031b565b3480156103f157600080fd5b5061030f6104003660046129fb565b610d55565b34801561041157600080fd5b50610425610420366004612a4c565b610d79565b6040805192835260208301919091520161031b565b34801561044657600080fd5b506040516012815260200161031b565b34801561046257600080fd5b5061030f6104713660046129b1565b610e4c565b6102ed610e6e565b34801561048a57600080fd5b5061030f610499366004612aeb565b610ece565b3480156104aa57600080fd5b506103d76104b936600461297f565b60036020526000908152604090205481565b6102ed6104d93660046129b1565b610f9a565b3480156104ea57600080fd5b506102ed6104f9366004612aeb565b61100d565b34801561050a57600080fd5b506103d7600081565b34801561051f57600080fd5b50610528600081565b60405161ffff909116815260200161031b565b6102ed610549366004612b3f565b611093565b34801561055a57600080fd5b506103d7610569366004612ccb565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156105a957600080fd5b506102ed6105b836600461285d565b611118565b3480156105c957600080fd5b506102ed6105d8366004612d2a565b6111f4565b3480156105e957600080fd5b506104256105f8366004612d43565b611201565b34801561060957600080fd5b506103d7610618366004612dc9565b6001600160a01b031660009081526007602052604090205490565b34801561063f57600080fd5b506102ed6112a5565b34801561065457600080fd5b5061033961066336600461297f565b6112b9565b34801561067457600080fd5b506103d7610683366004612de6565b600260209081526000928352604080842090915290825290205481565b3480156106ac57600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161031b565b3480156106de57600080fd5b506103d7611353565b3480156106f357600080fd5b506004546106ba906001600160a01b031681565b34801561071357600080fd5b50610339611363565b34801561072857600080fd5b5061033961073736600461297f565b611372565b34801561074857600080fd5b5061030f6107573660046129b1565b611488565b34801561076857600080fd5b506102ed610777366004612aeb565b6114df565b34801561078857600080fd5b5061030f6107973660046129b1565b611568565b3480156107a857600080fd5b506106ba7f0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a9181565b3480156107dc57600080fd5b506102ed6107eb366004612dc9565b611576565b3480156107fc57600080fd5b506103d761271081565b34801561081257600080fd5b506102ed610821366004612e1f565b6115d3565b6102ed61083436600461285d565b61165d565b34801561084557600080fd5b506103d7610854366004612e91565b611873565b34801561086557600080fd5b506103d7600c5481565b34801561087b57600080fd5b506102ed61088a366004612ebf565b61189e565b34801561089b57600080fd5b506102ed6108aa366004612eef565b611950565b3480156108bb57600080fd5b506102ed6108ca366004612aeb565b611999565b3480156108db57600080fd5b5060065461030f9060ff1681565b3480156108f557600080fd5b506102ed610904366004612dc9565b6119f3565b34801561091557600080fd5b50610339610924366004612f0a565b611a2e565b34801561093557600080fd5b50306106ba565b337f0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a916001600160a01b0316146109b95760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546109d790612f5b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0390612f5b565b8015610a505780601f10610a2557610100808354040283529160200191610a50565b820191906000526020600020905b815481529060010190602001808311610a3357829003601f168201915b50505050509050805186869050148015610a6b575060008151115b8015610a93575080516020820120604051610a899088908890612f95565b6040518091039020145b610aee5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016109b0565b610b648787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611adf92505050565b50505050505050565b60006001600160e01b031982161580610b9657506001600160e01b031982166336372b0760e01b145b80610ba55750610ba582611b58565b92915050565b6060600a8054610bba90612f5b565b80601f0160208091040260200160405190810160405280929190818152602001828054610be690612f5b565b8015610c335780601f10610c0857610100808354040283529160200191610c33565b820191906000526020600020905b815481529060010190602001808311610c1657829003601f168201915b5050505050905090565b610c45611b8d565b6040516307e0db1760e01b815261ffff821660048201527f0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a916001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610cab57600080fd5b505af1158015610cbf573d6000803e3d6000fd5b5050505050565b600033610cd4818585611bba565b5060019392505050565b610ce6611b8d565b61ffff909116600090815260036020526040902055565b610d05611b8d565b6040516310ddb13760e01b815261ffff821660048201527f0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a916001600160a01b0316906310ddb13790602401610c91565b600033610d63858285611bcc565b610d6e858585611c32565b506001949350505050565b600080600080898989604051602001610d959493929190612fce565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a9116906340a7bb1090610dfb908d90309086908c908c908c90600401612ffd565b6040805180830381865afa158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190613053565b925092505097509795505050505050565b600033610cd4818585610e5f8383611873565b610e69919061308d565b611bba565b610e76611b8d565b604051600090339047908381818185875af1925050503d8060008114610eb8576040519150601f19603f3d011682016040523d82523d6000602084013e610ebd565b606091505b5050905080610ecb57600080fd5b50565b61ffff831660009081526001602052604081208054829190610eef90612f5b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1b90612f5b565b8015610f685780601f10610f3d57610100808354040283529160200191610f68565b820191906000526020600020905b815481529060010190602001808311610f4b57829003601f168201915b505050505090508383604051610f7f929190612f95565b60405180910390208180519060200120149150509392505050565b34600c5482610fa991906130a0565b1115610fea5760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b60448201526064016109b0565b61100982610ffa6012600a61319b565b61100490846130a0565b611c91565b5050565b611015611b8d565b6040516342d65a8d60e01b81526001600160a01b037f0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a9116906342d65a8d90611065908690869086906004016131aa565b600060405180830381600087803b15801561107f57600080fd5b505af1158015610b64573d6000803e3d6000fd5b61110d898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528c93508b92508a918a908a9081908401838280828437600092019190915250611cc792505050565b505050505050505050565b3330146111765760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016109b0565b6111ec8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611dca92505050565b505050505050565b6111fc611b8d565b600c55565b6000807f0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a916001600160a01b03166340a7bb1087308888886040518663ffffffff1660e01b81526004016112589594939291906131c8565b6040805180830381865afa158015611274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112989190613053565b9150915094509492505050565b6112ad611b8d565b6112b76000611e31565b565b600160205260009081526040902080546112d290612f5b565b80601f01602080910402602001604051908101604052809291908181526020018280546112fe90612f5b565b801561134b5780601f106113205761010080835404028352916020019161134b565b820191906000526020600020905b81548152906001019060200180831161132e57829003601f168201915b505050505081565b600061135e60095490565b905090565b6060600b8054610bba90612f5b565b61ffff811660009081526001602052604081208054606092919061139590612f5b565b80601f01602080910402602001604051908101604052809291908181526020018280546113c190612f5b565b801561140e5780601f106113e35761010080835404028352916020019161140e565b820191906000526020600020905b8154815290600101906020018083116113f157829003601f168201915b5050505050905080516000036114665760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016109b0565b611481600060148351611479919061321c565b839190611e81565b9392505050565b600033816114968286611873565b9050838110156114d257604051632983c0c360e21b81526001600160a01b038616600482015260248101829052604481018590526064016109b0565b610d6e8286868403611bba565b6114e7611b8d565b8181306040516020016114fc9392919061322f565b60408051601f1981840301815291815261ffff8516600090815260016020522090611527908261329b565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161155b939291906131aa565b60405180910390a1505050565b600033610cd4818585611c32565b61157e611b8d565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b6115db611b8d565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a91169063cbed8b9c9061162f908890889088908890889060040161335a565b600060405180830381600087803b15801561164957600080fd5b505af115801561110d573d6000803e3d6000fd5b61ffff861660009081526005602052604080822090516116809088908890612f95565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806117005760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016109b0565b808383604051611711929190612f95565b6040518091039020146117705760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016109b0565b61ffff871660009081526005602052604080822090516117939089908990612f95565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f8801829004820283018201905286825261182b918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611dca92505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e58787878785604051611862959493929190613393565b60405180910390a150505050505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b6118a6611b8d565b600081116118ee5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016109b0565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161155b565b611958611b8d565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a4906020016115c8565b6119a1611b8d565b61ffff831660009081526001602052604090206119bf8284836133ce565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161155b939291906131aa565b6119fb611b8d565b6001600160a01b038116611a2557604051631e4fbdf760e01b8152600060048201526024016109b0565b610ecb81611e31565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a916001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611aae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ad691908101906134da565b95945050505050565b600080611b425a60966366ad5c8a60e01b89898989604051602401611b07949392919061350e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190611f8e565b91509150816111ec576111ec8686868685612018565b60006001600160e01b03198216630a72677560e11b1480610ba557506301ffc9a760e01b6001600160e01b0319831614610ba5565b6000546001600160a01b031633146112b75760405163118cdaa760e01b81523360048201526024016109b0565b611bc783838360016120b5565b505050565b6000611bd88484611873565b90506000198114611c2c5781811015611c1d57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016109b0565b611c2c848484840360006120b5565b50505050565b6001600160a01b038316611c5c57604051634b637e8f60e11b8152600060048201526024016109b0565b6001600160a01b038216611c865760405163ec442f0560e01b8152600060048201526024016109b0565b611bc783838361218a565b6001600160a01b038216611cbb5760405163ec442f0560e01b8152600060048201526024016109b0565b6110096000838361218a565b611cd58660008360006122b4565b6000611ce38888888861232e565b90506000808783604051602001611cfc9392919061354c565b60405160208183030381529060405290506000611d1c8983600087611201565b50905080341015611d685760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da0819d85cc81d1bc81cd95b9960521b60448201526064016109b0565b611d76898388888886612360565b896001600160a01b03168961ffff167f39a4c66499bcf4b56d79f0dde8ed7a9d4925a0df55825206b2b8531e202be0d08a86604051611db6929190613579565b60405180910390a350505050505050505050565b602081015161ffff8116611de957611de485858585612505565b610cbf565b60405162461bcd60e51b815260206004820152601c60248201527f4f4654436f72653a20756e6b6e6f776e207061636b657420747970650000000060448201526064016109b0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606081611e8f81601f61308d565b1015611ece5760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016109b0565b611ed8828461308d565b84511015611f1c5760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016109b0565b606082158015611f3b5760405191506000825260208201604052611f85565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015611f74578051835260209283019201611f5c565b5050858452601f01601f1916604052505b50949350505050565b6000606060008060008661ffff166001600160401b03811115611fb357611fb3612c08565b6040519080825280601f01601f191660200182016040528015611fdd576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115611fff578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff16815260200190815260200160002085604051612049919061359b565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906120a690879087908790879087906135b7565b60405180910390a15050505050565b6001600160a01b0384166120df5760405163e602df0560e01b8152600060048201526024016109b0565b6001600160a01b03831661210957604051634a1406b160e11b8152600060048201526024016109b0565b6001600160a01b0380851660009081526008602090815260408083209387168352929052208290558015611c2c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161217c91815260200190565b60405180910390a350505050565b6001600160a01b0383166121b55780600960008282546121aa919061308d565b909155506122279050565b6001600160a01b038316600090815260076020526040902054818110156122085760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016109b0565b6001600160a01b03841660009081526007602052604090209082900390555b6001600160a01b03821661224357600980548290039055612262565b6001600160a01b03821660009081526007602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516122a791815260200190565b60405180910390a3505050565b60065460ff16156122d0576122cb8484848461258f565b611c2c565b815115611c2c5760405162461bcd60e51b815260206004820152602660248201527f4f4654436f72653a205f61646170746572506172616d73206d7573742062652060448201526532b6b83a3c9760d11b60648201526084016109b0565b6000336001600160a01b038616811461234c5761234c868285611bcc565b612356868461266e565b5090949350505050565b61ffff86166000908152600160205260408120805461237e90612f5b565b80601f01602080910402602001604051908101604052809291908181526020018280546123aa90612f5b565b80156123f75780601f106123cc576101008083540402835291602001916123f7565b820191906000526020600020905b8154815290600101906020018083116123da57829003601f168201915b5050505050905080516000036124685760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016109b0565b6124738787516126a4565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a91169063c58031009084906124ca908b9086908c908c908c908c90600401613609565b6000604051808303818588803b1580156124e357600080fd5b505af11580156124f7573d6000803e3d6000fd5b505050505050505050505050565b6000808280602001905181019061251c9190613663565b90935091506000905061252f8382612715565b905061253c87828461277a565b9150806001600160a01b03168761ffff167fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf8460405161257e91815260200190565b60405180910390a350505050505050565b600061259a8361278d565b61ffff8087166000908152600260209081526040808320938916835292905290812054919250906125cc90849061308d565b90506000811161261e5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f742073657400000000000060448201526064016109b0565b808210156111ec5760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f77000000000060448201526064016109b0565b6001600160a01b03821661269857604051634b637e8f60e11b8152600060048201526024016109b0565b6110098260008361218a565b61ffff8216600090815260036020526040812054908190036126c557506127105b80821115611bc75760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016109b0565b600061272282601461308d565b8351101561276a5760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b60448201526064016109b0565b500160200151600160601b900490565b60006127868383611c91565b5092915050565b60006022825110156127e15760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d730000000060448201526064016109b0565b506022015190565b61ffff81168114610ecb57600080fd5b60008083601f84011261280b57600080fd5b5081356001600160401b0381111561282257600080fd5b60208301915083602082850101111561283a57600080fd5b9250929050565b80356001600160401b038116811461285857600080fd5b919050565b6000806000806000806080878903121561287657600080fd5b8635612881816127e9565b955060208701356001600160401b038082111561289d57600080fd5b6128a98a838b016127f9565b90975095508591506128bd60408a01612841565b945060608901359150808211156128d357600080fd5b506128e089828a016127f9565b979a9699509497509295939492505050565b60006020828403121561290457600080fd5b81356001600160e01b03198116811461148157600080fd5b60005b8381101561293757818101518382015260200161291f565b50506000910152565b6000815180845261295881602086016020860161291c565b601f01601f19169290920160200192915050565b6020815260006114816020830184612940565b60006020828403121561299157600080fd5b8135611481816127e9565b6001600160a01b0381168114610ecb57600080fd5b600080604083850312156129c457600080fd5b82356129cf8161299c565b946020939093013593505050565b600080604083850312156129f057600080fd5b82356129cf816127e9565b600080600060608486031215612a1057600080fd5b8335612a1b8161299c565b92506020840135612a2b8161299c565b929592945050506040919091013590565b8035801515811461285857600080fd5b600080600080600080600060a0888a031215612a6757600080fd5b8735612a72816127e9565b965060208801356001600160401b0380821115612a8e57600080fd5b612a9a8b838c016127f9565b909850965060408a01359550869150612ab560608b01612a3c565b945060808a0135915080821115612acb57600080fd5b50612ad88a828b016127f9565b989b979a50959850939692959293505050565b600080600060408486031215612b0057600080fd5b8335612b0b816127e9565b925060208401356001600160401b03811115612b2657600080fd5b612b32868287016127f9565b9497909650939450505050565b600080600080600080600080600060e08a8c031215612b5d57600080fd5b8935612b688161299c565b985060208a0135612b78816127e9565b975060408a01356001600160401b0380821115612b9457600080fd5b612ba08d838e016127f9565b909950975060608c0135965060808c01359150612bbc8261299c565b90945060a08b013590612bce8261299c565b90935060c08b01359080821115612be457600080fd5b50612bf18c828d016127f9565b915080935050809150509295985092959850929598565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612c4657612c46612c08565b604052919050565b60006001600160401b03821115612c6757612c67612c08565b50601f01601f191660200190565b600082601f830112612c8657600080fd5b8135612c99612c9482612c4e565b612c1e565b818152846020838601011115612cae57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612ce057600080fd5b8335612ceb816127e9565b925060208401356001600160401b03811115612d0657600080fd5b612d1286828701612c75565b925050612d2160408501612841565b90509250925092565b600060208284031215612d3c57600080fd5b5035919050565b60008060008060808587031215612d5957600080fd5b8435612d64816127e9565b935060208501356001600160401b0380821115612d8057600080fd5b612d8c88838901612c75565b9450612d9a60408801612a3c565b93506060870135915080821115612db057600080fd5b50612dbd87828801612c75565b91505092959194509250565b600060208284031215612ddb57600080fd5b81356114818161299c565b60008060408385031215612df957600080fd5b8235612e04816127e9565b91506020830135612e14816127e9565b809150509250929050565b600080600080600060808688031215612e3757600080fd5b8535612e42816127e9565b94506020860135612e52816127e9565b93506040860135925060608601356001600160401b03811115612e7457600080fd5b612e80888289016127f9565b969995985093965092949392505050565b60008060408385031215612ea457600080fd5b8235612eaf8161299c565b91506020830135612e148161299c565b600080600060608486031215612ed457600080fd5b8335612edf816127e9565b92506020840135612a2b816127e9565b600060208284031215612f0157600080fd5b61148182612a3c565b60008060008060808587031215612f2057600080fd5b8435612f2b816127e9565b93506020850135612f3b816127e9565b92506040850135612f4b8161299c565b9396929550929360600135925050565b600181811c90821680612f6f57607f821691505b602082108103612f8f57634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff85168152606060208201526000612fec606083018587612fa5565b905082604083015295945050505050565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061302b90830187612940565b85151560608401528281036080840152613046818587612fa5565b9998505050505050505050565b6000806040838503121561306657600080fd5b505080516020909101519092909150565b634e487b7160e01b600052601160045260246000fd5b80820180821115610ba557610ba5613077565b8082028115828204841417610ba557610ba5613077565b600181815b808511156130f25781600019048211156130d8576130d8613077565b808516156130e557918102915b93841c93908002906130bc565b509250929050565b60008261310957506001610ba5565b8161311657506000610ba5565b816001811461312c576002811461313657613152565b6001915050610ba5565b60ff84111561314757613147613077565b50506001821b610ba5565b5060208310610133831016604e8410600b8410161715613175575081810a610ba5565b61317f83836130b7565b806000190482111561319357613193613077565b029392505050565b600061148160ff8416836130fa565b61ffff84168152604060208201526000611ad6604083018486612fa5565b61ffff861681526001600160a01b038516602082015260a0604082018190526000906131f690830186612940565b841515606084015282810360808401526132108185612940565b98975050505050505050565b81810381811115610ba557610ba5613077565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611bc757600081815260208120601f850160051c8101602086101561327c5750805b601f850160051c820191505b818110156111ec57828155600101613288565b81516001600160401b038111156132b4576132b4612c08565b6132c8816132c28454612f5b565b84613255565b602080601f8311600181146132fd57600084156132e55750858301515b600019600386901b1c1916600185901b1785556111ec565b600085815260208120601f198616915b8281101561332c5788860151825594840194600190910190840161330d565b508582101561334a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152613388608083018486612fa5565b979650505050505050565b61ffff861681526080602082015260006133b1608083018688612fa5565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b038311156133e5576133e5612c08565b6133f9836133f38354612f5b565b83613255565b6000601f84116001811461342d57600085156134155750838201355b600019600387901b1c1916600186901b178355610cbf565b600083815260209020601f19861690835b8281101561345e578685013582556020948501946001909201910161343e565b508682101561347b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600082601f83011261349e57600080fd5b81516134ac612c9482612c4e565b8181528460208386010111156134c157600080fd5b6134d282602083016020870161291c565b949350505050565b6000602082840312156134ec57600080fd5b81516001600160401b0381111561350257600080fd5b6134d28482850161348d565b61ffff8516815260806020820152600061352b6080830186612940565b6001600160401b038516604084015282810360608401526133888185612940565b61ffff841681526060602082015260006135696060830185612940565b9050826040830152949350505050565b60408152600061358c6040830185612940565b90508260208301529392505050565b600082516135ad81846020870161291c565b9190910192915050565b61ffff8616815260a0602082015260006135d460a0830187612940565b6001600160401b038616604084015282810360608401526135f58186612940565b905082810360808401526132108185612940565b61ffff8716815260c06020820152600061362660c0830188612940565b82810360408401526136388188612940565b6001600160a01b0387811660608601528616608085015283810360a085015290506130468185612940565b60008060006060848603121561367857600080fd5b8351613683816127e9565b60208501519093506001600160401b0381111561369f57600080fd5b6136ab8682870161348d565b92505060408401519050925092509256fea2646970667358221220c5b0c8a705e0fbd783562ca9680813e064c97a0e8de4f71501601c1d6d1d00b864736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a91
-----Decoded View---------------
Arg [0] : _layerZeroEndpoint (address): 0x7cacBe439EaD55fa1c22790330b12835c6884a91
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007cacbe439ead55fa1c22790330b12835c6884a91
Deployed Bytecode Sourcemap
79:618:15:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1203:753:14;;;;;;;;;;-1:-1:-1;1203:753:14;;;;;:::i;:::-;;:::i;:::-;;362:253:17;;;;;;;;;;-1:-1:-1;362:253:17;;;;;:::i;:::-;;:::i;:::-;;;2048:14:21;;2041:22;2023:41;;2011:2;1996:18;362:253:17;;;;;;;;2392:89:3;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;4448:121:14:-;;;;;;;;;;-1:-1:-1;4448:121:14;;;;;:::i;:::-;;:::i;4611:186:3:-;;;;;;;;;;-1:-1:-1;4611:186:3;;;;;:::i;:::-;;:::i;6331:140:14:-;;;;;;;;;;-1:-1:-1;6331:140:14;;;;;:::i;:::-;;:::i;4575:127::-;;;;;;;;;;-1:-1:-1;4575:127:14;;;;;:::i;:::-;;:::i;3462:97:3:-;;;;;;;;;;-1:-1:-1;3540:12:3;;3462:97;;;4001:25:21;;;3989:2;3974:18;3462:97:3;3855:177:21;5357:244:3;;;;;;;;;;-1:-1:-1;5357:244:3;;;;;:::i;:::-;;:::i;676:423:18:-;;;;;;;;;;-1:-1:-1;676:423:18;;;;;:::i;:::-;;:::i;:::-;;;;5830:25:21;;;5886:2;5871:18;;5864:34;;;;5803:18;676:423:18;5656:248:21;3320:82:3;;;;;;;;;;-1:-1:-1;3320:82:3;;3393:2;6051:36:21;;6039:2;6024:18;3320:82:3;5909:184:21;5996:234:3;;;;;;;;;;-1:-1:-1;5996:234:3;;;;;:::i;:::-;;:::i;508:187:15:-;;;:::i;6566:247:14:-;;;;;;;;;;-1:-1:-1;6566:247:14;;;;;:::i;:::-;;:::i;737:53::-;;;;;;;;;;-1:-1:-1;737:53:14;;;;;:::i;:::-;;;;;;;;;;;;;;242:181:15;;;;;;:::i;:::-;;:::i;4708:176:14:-;;;;;;;;;;-1:-1:-1;4708:176:14;;;;;:::i;:::-;;:::i;241:37:18:-;;;;;;;;;;;;277:1;241:37;;304:34;;;;;;;;;;;;337:1;304:34;;;;;6819:6:21;6807:19;;;6789:38;;6777:2;6762:18;304:34:18;6645:188:21;1389:332:18;;;;;;:::i;:::-;;:::i;611:85:16:-;;;;;;;;;;-1:-1:-1;611:85:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1814:342;;;;;;;;;;-1:-1:-1;1814:342:16;;;;;:::i;:::-;;:::i;429:73:15:-;;;;;;;;;;-1:-1:-1;429:73:15;;;;;:::i;:::-;;:::i;1105:278:18:-;;;;;;;;;;-1:-1:-1;1105:278:18;;;;;:::i;:::-;;:::i;3617:116:3:-;;;;;;;;;;-1:-1:-1;3617:116:3;;;;;:::i;:::-;-1:-1:-1;;;;;3708:18:3;3682:7;3708:18;;;:9;:18;;;;;;;3617:116;2182:101:19;;;;;;;;;;;;;:::i;609:51:14:-;;;;;;;;;;-1:-1:-1;609:51:14;;;;;:::i;:::-;;:::i;666:65::-;;;;;;;;;;-1:-1:-1;666:65:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1527:85:19;;;;;;;;;;-1:-1:-1;1573:7:19;1599:6;-1:-1:-1;;;;;1599:6:19;1527:85;;;-1:-1:-1;;;;;11937:32:21;;;11919:51;;11907:2;11892:18;1527:85:19;11773:203:21;728:110:17;;;;;;;;;;;;;:::i;796:23:14:-;;;;;;;;;;-1:-1:-1;796:23:14;;;;-1:-1:-1;;;;;796:23:14;;;2594:93:3;;;;;;;;;;;;;:::i;5521:326:14:-;;;;;;;;;;-1:-1:-1;5521:326:14;;;;;:::i;:::-;;:::i;6899:493:3:-;;;;;;;;;;-1:-1:-1;6899:493:3;;;;;:::i;:::-;;:::i;5237:278:14:-;;;;;;;;;;-1:-1:-1;5237:278:14;;;;;:::i;:::-;;:::i;3928:178:3:-;;;;;;;;;;-1:-1:-1;3928:178:3;;;;;:::i;:::-;;:::i;557:46:14:-;;;;;;;;;;;;;;;5853:133;;;;;;;;;;-1:-1:-1;5853:133:14;;;;;:::i;:::-;;:::i;495:55::-;;;;;;;;;;;;545:5;495:55;;4240:202;;;;;;;;;;-1:-1:-1;4240:202:14;;;;;:::i;:::-;;:::i;2337:757:16:-;;;;;;:::i;:::-;;:::i;4164:140:3:-;;;;;;;;;;-1:-1:-1;4164:140:3;;;;;:::i;:::-;;:::i;108:33:15:-;;;;;;;;;;;;;;;;5992:280:14;;;;;;;;;;-1:-1:-1;5992:280:14;;;;;:::i;:::-;;:::i;1727:220:18:-;;;;;;;;;;-1:-1:-1;1727:220:18;;;;;:::i;:::-;;:::i;5027:204:14:-;;;;;;;;;;-1:-1:-1;5027:204:14;;;;;:::i;:::-;;:::i;345:34:18:-;;;;;;;;;;-1:-1:-1;345:34:18;;;;;;;;2432:215:19;;;;;;;;;;-1:-1:-1;2432:215:19;;;;;:::i;:::-;;:::i;3972:209:14:-;;;;;;;;;;-1:-1:-1;3972:209:14;;;;;:::i;:::-;;:::i;621:101:17:-;;;;;;;;;;-1:-1:-1;710:4:17;621:101;;1203:753:14;720:10:1;1441::14;-1:-1:-1;;;;;1417:35:14;;1409:78;;;;-1:-1:-1;;;1409:78:14;;14807:2:21;1409:78:14;;;14789:21:21;14846:2;14826:18;;;14819:30;14885:32;14865:18;;;14858:60;14935:18;;1409:78:14;;;;;;;;;1527:32;;;1498:26;1527:32;;;:19;:32;;;;;1498:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1731:13;:20;1709:11;;:18;;:42;:70;;;;;1778:1;1755:13;:20;:24;1709:70;:124;;;;-1:-1:-1;1809:24:14;;;;;;1783:22;;;;1793:11;;;;1783:22;:::i;:::-;;;;;;;;:50;1709:124;1701:175;;;;-1:-1:-1;;;1701:175:14;;15827:2:21;1701:175:14;;;15809:21:21;15866:2;15846:18;;;15839:30;15905:34;15885:18;;;15878:62;-1:-1:-1;;;15956:18:21;;;15949:36;16002:19;;1701:175:14;15625:402:21;1701:175:14;1887:62;1906:11;1919;;1887:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1887:62:14;;;;;;;;;;;;;;;;;;;;;;1932:6;;-1:-1:-1;1887:62:14;-1:-1:-1;1940:8:14;;;;;;1887:62;;1940:8;;;;1887:62;;;;;;;;;-1:-1:-1;1887:18:14;;-1:-1:-1;;;1887:62:14:i;:::-;1334:622;1203:753;;;;;;:::o;362:253:17:-;465:4;-1:-1:-1;;;;;;488:37:17;;;;:80;;-1:-1:-1;;;;;;;529:39:17;;-1:-1:-1;;;529:39:17;488:80;:120;;;;572:36;596:11;572:23;:36::i;:::-;481:127;362:253;-1:-1:-1;;362:253:17:o;2392:89:3:-;2437:13;2469:5;2462:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2392:89;:::o;4448:121:14:-;1420:13:19;:11;:13::i;:::-;4527:35:14::1;::::0;-1:-1:-1;;;4527:35:14;;6819:6:21;6807:19;;4527:35:14::1;::::0;::::1;6789:38:21::0;4527:10:14::1;-1:-1:-1::0;;;;;4527:25:14::1;::::0;::::1;::::0;6762:18:21;;4527:35:14::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4448:121:::0;:::o;4611:186:3:-;4684:4;720:10:1;4738:31:3;720:10:1;4754:7:3;4763:5;4738:8;:31::i;:::-;-1:-1:-1;4786:4:3;;4611:186;-1:-1:-1;;;4611:186:3:o;6331:140:14:-;1420:13:19;:11;:13::i;:::-;6421:35:14::1;::::0;;::::1;;::::0;;;:22:::1;:35;::::0;;;;:43;6331:140::o;4575:127::-;1420:13:19;:11;:13::i;:::-;4657:38:14::1;::::0;-1:-1:-1;;;4657:38:14;;6819:6:21;6807:19;;4657:38:14::1;::::0;::::1;6789::21::0;4657:10:14::1;-1:-1:-1::0;;;;;4657:28:14::1;::::0;::::1;::::0;6762:18:21;;4657:38:14::1;6645:188:21::0;5357:244:3;5444:4;720:10:1;5500:37:3;5516:4;720:10:1;5531:5:3;5500:15;:37::i;:::-;5547:26;5557:4;5563:2;5567:5;5547:9;:26::i;:::-;-1:-1:-1;5590:4:3;;5357:244;-1:-1:-1;;;;5357:244:3:o;676:423:18:-;845:14;861:11;927:20;337:1;970:10;;982:7;950:40;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;950:40:18;;;;;;;;;;-1:-1:-1;;;1007:85:18;;950:40;-1:-1:-1;;;;;;1007:10:18;:23;;;;:85;;1031:11;;1052:4;;950:40;;1068:7;;1077:14;;;;1007:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1000:92;;;;;676:423;;;;;;;;;;:::o;5996:234:3:-;6084:4;720:10:1;6138:64:3;720:10:1;6154:7:3;6191:10;6163:25;720:10:1;6154:7:3;6163:9;:25::i;:::-;:38;;;;:::i;:::-;6138:8;:64::i;508:187:15:-;1420:13:19;:11;:13::i;:::-;582:80:15::1;::::0;564:12:::1;::::0;590:10:::1;::::0;627:21:::1;::::0;564:12;582:80;564:12;582:80;627:21;590:10;582:80:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;563:99;;;680:7;672:16;;;::::0;::::1;;553:142;508:187::o:0;6566:247:14:-;6707:32;;;6662:4;6707:32;;;:19;:32;;;;;6678:61;;6662:4;;6707:32;6678:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6794:11;;6784:22;;;;;;;:::i;:::-;;;;;;;;6766:13;6756:24;;;;;;:50;6749:57;;;6566:247;;;;;:::o;242:181:15:-;338:9;331:3;;321:7;:13;;;;:::i;:::-;:26;;313:55;;;;-1:-1:-1;;;313:55:15;;18475:2:21;313:55:15;;;18457:21:21;18514:2;18494:18;;;18487:30;-1:-1:-1;;;18533:18:21;;;18526:46;18589:18;;313:55:15;18273:340:21;313:55:15;378:38;384:3;399:16;3393:2:3;399::15;:16;:::i;:::-;389:26;;:7;:26;:::i;:::-;378:5;:38::i;:::-;242:181;;:::o;4708:176:14:-;1420:13:19;:11;:13::i;:::-;4822:55:14::1;::::0;-1:-1:-1;;;4822:55:14;;-1:-1:-1;;;;;4822:10:14::1;:29;::::0;::::1;::::0;:55:::1;::::0;4852:11;;4865;;;;4822:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;1389:332:18::0;1616:98;1622:5;1629:11;1642:10;;1616:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1616:98:18;;;;;;;;;;;;;;;;;;;;;;1654:7;;-1:-1:-1;1663:14:18;;-1:-1:-1;1679:18:18;;1699:14;;;;;;1616:98;;1699:14;;;;1616:98;;;;;;;;;-1:-1:-1;1616:5:18;;-1:-1:-1;;;1616:98:18:i;:::-;1389:332;;;;;;;;;:::o;1814:342:16:-;720:10:1;2026:4:16;2002:29;1994:80;;;;-1:-1:-1;;;1994:80:16;;20534:2:21;1994:80:16;;;20516:21:21;20573:2;20553:18;;;20546:30;20612:34;20592:18;;;20585:62;-1:-1:-1;;;20663:18:21;;;20656:36;20709:19;;1994:80:16;20332:402:21;1994:80:16;2084:65;2106:11;2119;;2084:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2084:65:16;;;;;;;;;;;;;;;;;;;;;;2132:6;;-1:-1:-1;2084:65:16;-1:-1:-1;2140:8:16;;;;;;2084:65;;2140:8;;;;2084:65;;;;;;;;;-1:-1:-1;2084:21:16;;-1:-1:-1;;;2084:65:16:i;:::-;1814:342;;;;;;:::o;429:73:15:-;1420:13:19;:11;:13::i;:::-;485:3:15::1;:10:::0;429:73::o;1105:278:18:-;1245:14;1261:11;1291:10;-1:-1:-1;;;;;1291:23:18;;1315:11;1336:4;1343:7;1352;1361:14;1291:85;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1284:92;;;;1105:278;;;;;;;:::o;2182:101:19:-;1420:13;:11;:13::i;:::-;2246:30:::1;2273:1;2246:18;:30::i;:::-;2182:101::o:0;609:51:14:-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;728:110:17:-;795:4;818:13;3540:12:3;;;3462:97;818:13:17;811:20;;728:110;:::o;2594:93:3:-;2641:13;2673:7;2666:14;;;;;:::i;5521:326:14:-;5644:35;;;5624:17;5644:35;;;:19;:35;;;;;5624:55;;5600:12;;5624:17;5644:35;5624:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5697:4;:11;5712:1;5697:16;5689:58;;;;-1:-1:-1;;;5689:58:14;;21588:2:21;5689:58:14;;;21570:21:21;21627:2;21607:18;;;21600:30;21666:31;21646:18;;;21639:59;21715:18;;5689:58:14;21386:353:21;5689:58:14;5764:31;5775:1;5792:2;5778:4;:11;:16;;;;:::i;:::-;5764:4;;:31;:10;:31::i;:::-;5757:38;5521:326;-1:-1:-1;;;5521:326:14:o;6899:493:3:-;6994:4;720:10:1;6994:4:3;7075:25;720:10:1;7092:7:3;7075:9;:25::i;:::-;7048:52;;7133:17;7114:16;:36;7110:148;;;7173:74;;-1:-1:-1;;;7173:74:3;;-1:-1:-1;;;;;22097:32:21;;7173:74:3;;;22079:51:21;22146:18;;;22139:34;;;22189:18;;;22182:34;;;22052:18;;7173:74:3;21877:345:21;7110:148:3;7291:62;7300:5;7307:7;7335:17;7316:16;:36;7291:8;:62::i;5237:278:14:-;1420:13:19;:11;:13::i;:::-;5408:14:14::1;;5432:4;5391:47;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;5391:47:14;;::::1;::::0;;;;;;5353:35:::1;::::0;::::1;;::::0;;;:19:::1;5391:47;5353:35:::0;;;:85:::1;::::0;:35;:85:::1;:::i;:::-;;5453:55;5477:14;5493;;5453:55;;;;;;;;:::i;:::-;;;;;;;;5237:278:::0;;;:::o;3928:178:3:-;3997:4;720:10:1;4051:27:3;720:10:1;4068:2:3;4072:5;4051:9;:27::i;5853:133:14:-;1420:13:19;:11;:13::i;:::-;5922:8:14::1;:20:::0;;-1:-1:-1;;;;;;5922:20:14::1;-1:-1:-1::0;;;;;5922:20:14;::::1;::::0;;::::1;::::0;;;5957:22:::1;::::0;11919:51:21;;;5957:22:14::1;::::0;11907:2:21;11892:18;5957:22:14::1;;;;;;;;5853:133:::0;:::o;4240:202::-;1420:13:19;:11;:13::i;:::-;4373:62:14::1;::::0;-1:-1:-1;;;4373:62:14;;-1:-1:-1;;;;;4373:10:14::1;:20;::::0;::::1;::::0;:62:::1;::::0;4394:8;;4404;;4414:11;;4427:7;;;;4373:62:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;2337:757:16::0;2546:27;;;2524:19;2546:27;;;:14;:27;;;;;;:40;;;;2574:11;;;;2546:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2546:48:16;;;;;;;;;;;;-1:-1:-1;2546:48:16;2604:73;;;;-1:-1:-1;;;2604:73:16;;25495:2:21;2604:73:16;;;25477:21:21;25534:2;25514:18;;;25507:30;25573:34;25553:18;;;25546:62;-1:-1:-1;;;25624:18:21;;;25617:33;25667:19;;2604:73:16;25293:399:21;2604:73:16;2718:11;2705:8;;2695:19;;;;;;;:::i;:::-;;;;;;;;:34;2687:80;;;;-1:-1:-1;;;2687:80:16;;25899:2:21;2687:80:16;;;25881:21:21;25938:2;25918:18;;;25911:30;25977:34;25957:18;;;25950:62;-1:-1:-1;;;26028:18:21;;;26021:31;26069:19;;2687:80:16;25697:397:21;2687:80:16;2813:27;;;2872:1;2813:27;;;:14;:27;;;;;;:40;;;;2841:11;;;;2813:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2813:48:16;;;;;;;;;;;;:61;;;;2941:65;;;;;;;;;;;;;;;;;;;2963:11;;2976;;2941:65;;;;;;2976:11;2941:65;;2976:11;2941:65;;;;;;;;;-1:-1:-1;;2941:65:16;;;;;;;;;;;;;;;;;;;;;;2989:6;;-1:-1:-1;2941:65:16;-1:-1:-1;2997:8:16;;;;;;2941:65;;2997:8;;;;2941:65;;;;;;;;;-1:-1:-1;2941:21:16;;-1:-1:-1;;;2941:65:16:i;:::-;3021:66;3041:11;3054;;3067:6;3075:11;3021:66;;;;;;;;;;:::i;:::-;;;;;;;;2470:624;2337:757;;;;;;:::o;4164:140:3:-;-1:-1:-1;;;;;4270:18:3;;;4244:7;4270:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;4164:140::o;5992:280:14:-;1420:13:19;:11;:13::i;:::-;6115:1:14::1;6105:7;:11;6097:45;;;::::0;-1:-1:-1;;;6097:45:14;;26799:2:21;6097:45:14::1;::::0;::::1;26781:21:21::0;26838:2;26818:18;;;26811:30;-1:-1:-1;;;26857:18:21;;;26850:51;26918:18;;6097:45:14::1;26597:345:21::0;6097:45:14::1;6152:28;::::0;;::::1;;::::0;;;:15:::1;:28;::::0;;;;;;;:41;;::::1;::::0;;;;;;;;;;:51;;;6218:47;;27170:34:21;;;27220:18;;27213:43;;;;27272:18;;;27265:34;;;6218:47:14::1;::::0;27133:2:21;27118:18;6218:47:14::1;26947:358:21::0;1727:220:18;1420:13:19;:11;:13::i;:::-;1827:22:18::1;:48:::0;;-1:-1:-1;;1827:48:18::1;::::0;::::1;;::::0;;::::1;::::0;;;1890:50:::1;::::0;2023:41:21;;;1890:50:18::1;::::0;2011:2:21;1996:18;1890:50:18::1;1883:187:21::0;5027:204:14;1420:13:19;:11;:13::i;:::-;5127:35:14::1;::::0;::::1;;::::0;;;:19:::1;:35;::::0;;;;:43:::1;5165:5:::0;;5127:35;:43:::1;:::i;:::-;;5185:39;5202:14;5218:5;;5185:39;;;;;;;;:::i;2432:215:19:-:0;1420:13;:11;:13::i;:::-;-1:-1:-1;;;;;2516:22:19;::::1;2512:91;;2561:31;::::0;-1:-1:-1;;;2561:31:19;;2589:1:::1;2561:31;::::0;::::1;11919:51:21::0;11892:18;;2561:31:19::1;11773:203:21::0;2512:91:19::1;2612:28;2631:8;2612:18;:28::i;3972:209:14:-:0;4106:68;;-1:-1:-1;;;4106:68:14;;28754:6:21;28787:15;;;4106:68:14;;;28769:34:21;28839:15;;28819:18;;;28812:43;4155:4:14;28871:18:21;;;28864:60;28940:18;;;28933:34;;;4075:12:14;;4106:10;-1:-1:-1;;;;;4106:20:14;;;;28716:19:21;;4106:68:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4106:68:14;;;;;;;;;;;;:::i;:::-;4099:75;3972:209;-1:-1:-1;;;;;3972:209:14:o;974:508:16:-;1123:12;1137:19;1160:153;1194:9;1205:3;1233:34;;;1269:11;1282;1295:6;1303:8;1210:102;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1210:102:16;;;;;;;;;;;;;;-1:-1:-1;;;;;1210:102:16;-1:-1:-1;;;;;;1210:102:16;;;;;;;;;;1168:4;;1160:153;;:33;:153::i;:::-;1122:191;;;;1371:7;1366:110;;1394:71;1414:11;1427;1440:6;1448:8;1458:6;1394:19;:71::i;457:213:18:-;559:4;-1:-1:-1;;;;;;582:41:18;;-1:-1:-1;;;582:41:18;;:81;;-1:-1:-1;;;;;;;;;;846:40:2;;;627:36:18;747:146:2;1685:162:19;1573:7;1599:6;-1:-1:-1;;;;;1599:6:19;720:10:1;1744:23:19;1740:101;;1790:40;;-1:-1:-1;;;1790:40:19;;720:10:1;1790:40:19;;;11919:51:21;11892:18;;1790:40:19;11773:203:21;10984:136:3;11076:37;11085:5;11092:7;11101:5;11108:4;11076:8;:37::i;:::-;10984:136;;;:::o;12679:477::-;12778:24;12805:25;12815:5;12822:7;12805:9;:25::i;:::-;12778:52;;-1:-1:-1;;12844:16:3;:37;12840:310;;12920:5;12901:16;:24;12897:130;;;12952:60;;-1:-1:-1;;;12952:60:3;;-1:-1:-1;;;;;22097:32:21;;12952:60:3;;;22079:51:21;22146:18;;;22139:34;;;22189:18;;;22182:34;;;22052:18;;12952:60:3;21877:345:21;12897:130:3;13068:57;13077:5;13084:7;13112:5;13093:16;:24;13119:5;13068:8;:57::i;:::-;12768:388;12679:477;;;:::o;7765:300::-;-1:-1:-1;;;;;7848:18:3;;7844:86;;7889:30;;-1:-1:-1;;;7889:30:3;;7916:1;7889:30;;;11919:51:21;11892:18;;7889:30:3;11773:203:21;7844:86:3;-1:-1:-1;;;;;7943:16:3;;7939:86;;7982:32;;-1:-1:-1;;;7982:32:3;;8011:1;7982:32;;;11919:51:21;11892:18;;7982:32:3;11773:203:21;7939:86:3;8034:24;8042:4;8048:2;8052:5;8034:7;:24::i;9823:208::-;-1:-1:-1;;;;;9893:21:3;;9889:91;;9937:32;;-1:-1:-1;;;9937:32:3;;9966:1;9937:32;;;11919:51:21;11892:18;;9937:32:3;11773:203:21;9889:91:3;9989:35;10005:1;10009:7;10018:5;9989:7;:35::i;2397:776:18:-;2602:71;2622:11;337:1;2644:14;277:1;2602:19;:71::i;:::-;2684:11;2698:51;2709:5;2716:11;2729:10;2741:7;2698:10;:51::i;:::-;2684:65;;2760:22;337:1;2805:10;2817:6;2785:39;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2760:64;;2836:14;2856:63;2873:11;2886:9;2897:5;2904:14;2856:16;:63::i;:::-;2835:84;;;2950:9;2937;:22;;2929:57;;;;-1:-1:-1;;;2929:57:18;;30904:2:21;2929:57:18;;;30886:21:21;30943:2;30923:18;;;30916:30;-1:-1:-1;;;30962:18:21;;;30955:52;31024:18;;2929:57:18;30702:346:21;2929:57:18;3005:94;3013:11;3026:9;3037:14;3053:18;3073:14;3089:9;3005:7;:94::i;:::-;3140:5;-1:-1:-1;;;;;3115:51:18;3127:11;3115:51;;;3147:10;3159:6;3115:51;;;;;;;:::i;:::-;;;;;;;;2592:581;;;2397:776;;;;;;;:::o;1953:438::-;2188:2;2174:17;;2168:24;2216:21;;;2212:173;;2253:52;2262:11;2275;2288:6;2296:8;2253;:52::i;:::-;2212:173;;;2336:38;;-1:-1:-1;;;2336:38:18;;31549:2:21;2336:38:18;;;31531:21:21;31588:2;31568:18;;;31561:30;31627;31607:18;;;31600:58;31675:18;;2336:38:18;31347:352:21;2801:187:19;2874:16;2893:6;;-1:-1:-1;;;;;2909:17:19;;;-1:-1:-1;;;;;;2909:17:19;;;;;;2941:40;;2893:6;;;;;;;2941:40;;2874:16;2941:40;2864:124;2801:187;:::o;8865:2712:0:-;8999:12;9051:7;9035:12;9051:7;9045:2;9035:12;:::i;:::-;:23;;9027:50;;;;-1:-1:-1;;;9027:50:0;;31906:2:21;9027:50:0;;;31888:21:21;31945:2;31925:18;;;31918:30;-1:-1:-1;;;31964:18:21;;;31957:44;32018:18;;9027:50:0;31704:338:21;9027:50:0;9112:16;9121:7;9112:6;:16;:::i;:::-;9095:6;:13;:33;;9087:63;;;;-1:-1:-1;;;9087:63:0;;32249:2:21;9087:63:0;;;32231:21:21;32288:2;32268:18;;;32261:30;-1:-1:-1;;;32307:18:21;;;32300:47;32364:18;;9087:63:0;32047:341:21;9087:63:0;9161:22;9224:15;;9252:1895;;;;11288:4;11282:11;11269:24;;11466:1;11455:9;11448:20;11514:4;11503:9;11499:20;11493:4;11486:34;9217:2317;;9252:1895;9426:4;9420:11;9407:24;;10053:2;10044:7;10040:16;10419:9;10412:17;10406:4;10402:28;10390:9;10379;10375:25;10371:60;10467:7;10463:2;10459:16;10711:6;10697:9;10690:17;10684:4;10680:28;10668:9;10660:6;10656:22;10652:57;10648:70;10493:417;10744:3;10740:2;10737:11;10493:417;;;10882:9;;10871:21;;10785:4;10777:13;;;;10817;10493:417;;;-1:-1:-1;;10928:26:0;;;11128:2;11111:11;-1:-1:-1;;11107:25:0;11101:4;11094:39;-1:-1:-1;9217:2317:0;-1:-1:-1;11561:9:0;8865:2712;-1:-1:-1;;;;8865:2712:0:o;1118:1240:4:-;1275:4;1281:12;1341:15;1366:13;1389:24;1426:8;1416:19;;-1:-1:-1;;;;;1416:19:4;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1416:19:4;;1389:46;;1904:1;1879;1846:9;1840:16;1812:4;1801:9;1797:20;1767:1;1733:7;1708:4;1690:239;1678:251;;1992:16;1981:27;;2036:8;2027:7;2024:21;2021:76;;;2075:8;2064:19;;2021:76;2178:7;2165:11;2158:28;2294:7;2291:1;2284:4;2271:11;2267:22;2252:50;2329:8;;;;-1:-1:-1;1118:1240:4;-1:-1:-1;;;;;;1118:1240:4:o;1488:320:16:-;1711:8;1701:19;;;;;;1650:14;:27;1665:11;1650:27;;;;;;;;;;;;;;;1678:11;1650:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1650:48:16;;;;;;;;;:70;;;;1735:66;;;;1749:11;;1762;;1691:6;;1783:8;;1793:7;;1735:66;:::i;:::-;;;;;;;;1488:320;;;;;:::o;11968:432:3:-;-1:-1:-1;;;;;12080:19:3;;12076:89;;12122:32;;-1:-1:-1;;;12122:32:3;;12151:1;12122:32;;;11919:51:21;11892:18;;12122:32:3;11773:203:21;12076:89:3;-1:-1:-1;;;;;12178:21:3;;12174:90;;12222:31;;-1:-1:-1;;;12222:31:3;;12250:1;12222:31;;;11919:51:21;11892:18;;12222:31:3;11773:203:21;12174:90:3;-1:-1:-1;;;;;12273:18:3;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;12318:76;;;;12368:7;-1:-1:-1;;;;;12352:31:3;12361:5;-1:-1:-1;;;;;12352:31:3;;12377:5;12352:31;;;;4001:25:21;;3989:2;3974:18;;3855:177;12352:31:3;;;;;;;;11968:432;;;;:::o;8373:1107::-;-1:-1:-1;;;;;8462:18:3;;8458:540;;8614:5;8598:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;8458:540:3;;-1:-1:-1;8458:540:3;;-1:-1:-1;;;;;8672:15:3;;8650:19;8672:15;;;:9;:15;;;;;;8705:19;;;8701:115;;;8751:50;;-1:-1:-1;;;8751:50:3;;-1:-1:-1;;;;;22097:32:21;;8751:50:3;;;22079:51:21;22146:18;;;22139:34;;;22189:18;;;22182:34;;;22052:18;;8751:50:3;21877:345:21;8701:115:3;-1:-1:-1;;;;;8936:15:3;;;;;;:9;:15;;;;;8954:19;;;;8936:37;;8458:540;-1:-1:-1;;;;;9012:16:3;;9008:425;;9175:12;:21;;;;;;;9008:425;;;-1:-1:-1;;;;;9386:13:3;;;;;;:9;:13;;;;;:22;;;;;;9008:425;9463:2;-1:-1:-1;;;;;9448:25:3;9457:4;-1:-1:-1;;;;;9448:25:3;;9467:5;9448:25;;;;4001::21;;3989:2;3974:18;;3855:177;9448:25:3;;;;;;;;8373:1107;;;:::o;3553:367:18:-;3694:22;;;;3690:224;;;3732:63;3747:11;3760:7;3769:14;3785:9;3732:14;:63::i;:::-;3690:224;;;3834:21;;:26;3826:77;;;;-1:-1:-1;;;3826:77:18;;33611:2:21;3826:77:18;;;33593:21:21;33650:2;33630:18;;;33623:30;33689:34;33669:18;;;33662:62;-1:-1:-1;;;33740:18:21;;;33733:36;33786:19;;3826:77:18;33409:402:21;844:285:17;949:4;720:10:1;-1:-1:-1;;;;;1009:16:17;;;;1005:62;;1027:40;1043:5;1050:7;1059;1027:15;:40::i;:::-;1077:21;1083:5;1090:7;1077:5;:21::i;:::-;-1:-1:-1;1115:7:17;;844:285;-1:-1:-1;;;;844:285:17:o;2240:548:14:-;2462:32;;;2433:26;2462:32;;;:19;:32;;;;;2433:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2512:13;:20;2536:1;2512:25;2504:86;;;;-1:-1:-1;;;2504:86:14;;34018:2:21;2504:86:14;;;34000:21:21;34057:2;34037:18;;;34030:30;34096:34;34076:18;;;34069:62;-1:-1:-1;;;34147:18:21;;;34140:46;34203:19;;2504:86:14;33816:412:21;2504:86:14;2600:47;2618:11;2631:8;:15;2600:17;:47::i;:::-;2657:124;;-1:-1:-1;;;2657:124:14;;-1:-1:-1;;;;;2657:10:14;:15;;;;2680:10;;2657:124;;2692:11;;2705:13;;2720:8;;2730:14;;2746:18;;2766:14;;2657:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2423:365;2240:548;;;;;;:::o;3179:368:18:-;3292:27;3321:11;3347:8;3336:43;;;;;;;;;;;;:::i;:::-;3289:90;;-1:-1:-1;3289:90:18;-1:-1:-1;3390:10:18;;-1:-1:-1;3403:27:18;3289:90;3390:10;3403:24;:27::i;:::-;3390:40;;3450:34;3460:11;3473:2;3477:6;3450:9;:34::i;:::-;3441:43;;3529:2;-1:-1:-1;;;;;3499:41:18;3516:11;3499:41;;;3533:6;3499:41;;;;4001:25:21;;3989:2;3974:18;;3855:177;3499:41:18;;;;;;;;3279:268;;;3179:368;;;;:::o;2794:415:14:-;2929:21;2953:28;2966:14;2953:12;:28::i;:::-;3010;;;;2991:16;3010:28;;;:15;:28;;;;;;;;:35;;;;;;;;;;;;2929:52;;-1:-1:-1;2991:16:14;3010:47;;3048:9;;3010:47;:::i;:::-;2991:66;;3089:1;3075:11;:15;3067:54;;;;-1:-1:-1;;;3067:54:14;;35807:2:21;3067:54:14;;;35789:21:21;35846:2;35826:18;;;35819:30;35885:28;35865:18;;;35858:56;35931:18;;3067:54:14;35605:350:21;3067:54:14;3159:11;3139:16;:31;;3131:71;;;;-1:-1:-1;;;3131:71:14;;36162:2:21;3131:71:14;;;36144:21:21;36201:2;36181:18;;;36174:30;36240:29;36220:18;;;36213:57;36287:18;;3131:71:14;35960:351:21;10356:206:3;-1:-1:-1;;;;;10426:21:3;;10422:89;;10470:30;;-1:-1:-1;;;10470:30:3;;10497:1;10470:30;;;11919:51:21;11892:18;;10470:30:3;11773:203:21;10422:89:3;10520:35;10528:7;10545:1;10549:5;10520:7;:35::i;3487:383:14:-;3609:35;;;3585:21;3609:35;;;:22;:35;;;;;;;3658:21;;;3654:123;;-1:-1:-1;545:5:14;3654:123;3810:16;3794:12;:32;;3786:77;;;;-1:-1:-1;;;3786:77:14;;36518:2:21;3786:77:14;;;36500:21:21;;;36537:18;;;36530:30;36596:34;36576:18;;;36569:62;36648:18;;3786:77:14;36316:356:21;11583:354:0;11662:7;11706:11;:6;11715:2;11706:11;:::i;:::-;11689:6;:13;:28;;11681:62;;;;-1:-1:-1;;;11681:62:0;;36879:2:21;11681:62:0;;;36861:21:21;36918:2;36898:18;;;36891:30;-1:-1:-1;;;36937:18:21;;;36930:51;36998:18;;11681:62:0;36677:345:21;11681:62:0;-1:-1:-1;11831:30:0;11847:4;11831:30;11825:37;-1:-1:-1;;;11821:71:0;;;11583:354::o;1135:168:17:-;1230:4;1246:26;1252:10;1264:7;1246:5;:26::i;:::-;-1:-1:-1;1289:7:17;1135:168;-1:-1:-1;;1135:168:17:o;3215:266:14:-;3297:13;3355:2;3330:14;:21;:27;;3322:68;;;;-1:-1:-1;;;3322:68:14;;37229:2:21;3322:68:14;;;37211:21:21;37268:2;37248:18;;;37241:30;37307;37287:18;;;37280:58;37355:18;;3322:68:14;37027:352:21;3322:68:14;-1:-1:-1;3461:2:14;3441:23;3435:30;;3215:266::o;14:117:21:-;99:6;92:5;88:18;81:5;78:29;68:57;;121:1;118;111:12;136:347;187:8;197:6;251:3;244:4;236:6;232:17;228:27;218:55;;269:1;266;259:12;218:55;-1:-1:-1;292:20:21;;-1:-1:-1;;;;;324:30:21;;321:50;;;367:1;364;357:12;321:50;404:4;396:6;392:17;380:29;;456:3;449:4;440:6;432;428:19;424:30;421:39;418:59;;;473:1;470;463:12;418:59;136:347;;;;;:::o;488:171::-;555:20;;-1:-1:-1;;;;;604:30:21;;594:41;;584:69;;649:1;646;639:12;584:69;488:171;;;:::o;664:923::-;770:6;778;786;794;802;810;863:3;851:9;842:7;838:23;834:33;831:53;;;880:1;877;870:12;831:53;919:9;906:23;938:30;962:5;938:30;:::i;:::-;987:5;-1:-1:-1;1043:2:21;1028:18;;1015:32;-1:-1:-1;;;;;1096:14:21;;;1093:34;;;1123:1;1120;1113:12;1093:34;1162:58;1212:7;1203:6;1192:9;1188:22;1162:58;:::i;:::-;1239:8;;-1:-1:-1;1136:84:21;-1:-1:-1;1136:84:21;;-1:-1:-1;1293:37:21;1326:2;1311:18;;1293:37;:::i;:::-;1283:47;;1383:2;1372:9;1368:18;1355:32;1339:48;;1412:2;1402:8;1399:16;1396:36;;;1428:1;1425;1418:12;1396:36;;1467:60;1519:7;1508:8;1497:9;1493:24;1467:60;:::i;:::-;664:923;;;;-1:-1:-1;664:923:21;;-1:-1:-1;664:923:21;;1546:8;;664:923;-1:-1:-1;;;664:923:21:o;1592:286::-;1650:6;1703:2;1691:9;1682:7;1678:23;1674:32;1671:52;;;1719:1;1716;1709:12;1671:52;1745:23;;-1:-1:-1;;;;;;1797:32:21;;1787:43;;1777:71;;1844:1;1841;1834:12;2075:250;2160:1;2170:113;2184:6;2181:1;2178:13;2170:113;;;2260:11;;;2254:18;2241:11;;;2234:39;2206:2;2199:10;2170:113;;;-1:-1:-1;;2317:1:21;2299:16;;2292:27;2075:250::o;2330:271::-;2372:3;2410:5;2404:12;2437:6;2432:3;2425:19;2453:76;2522:6;2515:4;2510:3;2506:14;2499:4;2492:5;2488:16;2453:76;:::i;:::-;2583:2;2562:15;-1:-1:-1;;2558:29:21;2549:39;;;;2590:4;2545:50;;2330:271;-1:-1:-1;;2330:271:21:o;2606:220::-;2755:2;2744:9;2737:21;2718:4;2775:45;2816:2;2805:9;2801:18;2793:6;2775:45;:::i;2831:245::-;2889:6;2942:2;2930:9;2921:7;2917:23;2913:32;2910:52;;;2958:1;2955;2948:12;2910:52;2997:9;2984:23;3016:30;3040:5;3016:30;:::i;3081:131::-;-1:-1:-1;;;;;3156:31:21;;3146:42;;3136:70;;3202:1;3199;3192:12;3217:315;3285:6;3293;3346:2;3334:9;3325:7;3321:23;3317:32;3314:52;;;3362:1;3359;3352:12;3314:52;3401:9;3388:23;3420:31;3445:5;3420:31;:::i;:::-;3470:5;3522:2;3507:18;;;;3494:32;;-1:-1:-1;;;3217:315:21:o;3537:313::-;3604:6;3612;3665:2;3653:9;3644:7;3640:23;3636:32;3633:52;;;3681:1;3678;3671:12;3633:52;3720:9;3707:23;3739:30;3763:5;3739:30;:::i;4037:456::-;4114:6;4122;4130;4183:2;4171:9;4162:7;4158:23;4154:32;4151:52;;;4199:1;4196;4189:12;4151:52;4238:9;4225:23;4257:31;4282:5;4257:31;:::i;:::-;4307:5;-1:-1:-1;4364:2:21;4349:18;;4336:32;4377:33;4336:32;4377:33;:::i;:::-;4037:456;;4429:7;;-1:-1:-1;;;4483:2:21;4468:18;;;;4455:32;;4037:456::o;4498:160::-;4563:20;;4619:13;;4612:21;4602:32;;4592:60;;4648:1;4645;4638:12;4663:988;4776:6;4784;4792;4800;4808;4816;4824;4877:3;4865:9;4856:7;4852:23;4848:33;4845:53;;;4894:1;4891;4884:12;4845:53;4933:9;4920:23;4952:30;4976:5;4952:30;:::i;:::-;5001:5;-1:-1:-1;5057:2:21;5042:18;;5029:32;-1:-1:-1;;;;;5110:14:21;;;5107:34;;;5137:1;5134;5127:12;5107:34;5176:58;5226:7;5217:6;5206:9;5202:22;5176:58;:::i;:::-;5253:8;;-1:-1:-1;5150:84:21;-1:-1:-1;5335:2:21;5320:18;;5307:32;;-1:-1:-1;5150:84:21;;-1:-1:-1;5358:35:21;5389:2;5374:18;;5358:35;:::i;:::-;5348:45;;5446:3;5435:9;5431:19;5418:33;5402:49;;5476:2;5466:8;5463:16;5460:36;;;5492:1;5489;5482:12;5460:36;;5531:60;5583:7;5572:8;5561:9;5557:24;5531:60;:::i;:::-;4663:988;;;;-1:-1:-1;4663:988:21;;-1:-1:-1;4663:988:21;;;;5505:86;;-1:-1:-1;;;4663:988:21:o;6098:542::-;6176:6;6184;6192;6245:2;6233:9;6224:7;6220:23;6216:32;6213:52;;;6261:1;6258;6251:12;6213:52;6300:9;6287:23;6319:30;6343:5;6319:30;:::i;:::-;6368:5;-1:-1:-1;6424:2:21;6409:18;;6396:32;-1:-1:-1;;;;;6440:30:21;;6437:50;;;6483:1;6480;6473:12;6437:50;6522:58;6572:7;6563:6;6552:9;6548:22;6522:58;:::i;:::-;6098:542;;6599:8;;-1:-1:-1;6496:84:21;;-1:-1:-1;;;;6098:542:21:o;6838:1353::-;6980:6;6988;6996;7004;7012;7020;7028;7036;7044;7097:3;7085:9;7076:7;7072:23;7068:33;7065:53;;;7114:1;7111;7104:12;7065:53;7153:9;7140:23;7172:31;7197:5;7172:31;:::i;:::-;7222:5;-1:-1:-1;7279:2:21;7264:18;;7251:32;7292;7251;7292;:::i;:::-;7343:7;-1:-1:-1;7401:2:21;7386:18;;7373:32;-1:-1:-1;;;;;7454:14:21;;;7451:34;;;7481:1;7478;7471:12;7451:34;7520:58;7570:7;7561:6;7550:9;7546:22;7520:58;:::i;:::-;7597:8;;-1:-1:-1;7494:84:21;-1:-1:-1;7679:2:21;7664:18;;7651:32;;-1:-1:-1;7735:3:21;7720:19;;7707:33;;-1:-1:-1;7749:33:21;7707;7749;:::i;:::-;7801:7;;-1:-1:-1;7860:3:21;7845:19;;7832:33;;7874;7832;7874;:::i;:::-;7926:7;;-1:-1:-1;7986:3:21;7971:19;;7958:33;;8003:16;;;8000:36;;;8032:1;8029;8022:12;8000:36;;8071:60;8123:7;8112:8;8101:9;8097:24;8071:60;:::i;:::-;8045:86;;8150:8;8140:18;;;8177:8;8167:18;;;6838:1353;;;;;;;;;;;:::o;8196:127::-;8257:10;8252:3;8248:20;8245:1;8238:31;8288:4;8285:1;8278:15;8312:4;8309:1;8302:15;8328:275;8399:2;8393:9;8464:2;8445:13;;-1:-1:-1;;8441:27:21;8429:40;;-1:-1:-1;;;;;8484:34:21;;8520:22;;;8481:62;8478:88;;;8546:18;;:::i;:::-;8582:2;8575:22;8328:275;;-1:-1:-1;8328:275:21:o;8608:186::-;8656:4;-1:-1:-1;;;;;8681:6:21;8678:30;8675:56;;;8711:18;;:::i;:::-;-1:-1:-1;8777:2:21;8756:15;-1:-1:-1;;8752:29:21;8783:4;8748:40;;8608:186::o;8799:462::-;8841:5;8894:3;8887:4;8879:6;8875:17;8871:27;8861:55;;8912:1;8909;8902:12;8861:55;8948:6;8935:20;8979:48;8995:31;9023:2;8995:31;:::i;:::-;8979:48;:::i;:::-;9052:2;9043:7;9036:19;9098:3;9091:4;9086:2;9078:6;9074:15;9070:26;9067:35;9064:55;;;9115:1;9112;9105:12;9064:55;9180:2;9173:4;9165:6;9161:17;9154:4;9145:7;9141:18;9128:55;9228:1;9203:16;;;9221:4;9199:27;9192:38;;;;9207:7;8799:462;-1:-1:-1;;;8799:462:21:o;9266:525::-;9350:6;9358;9366;9419:2;9407:9;9398:7;9394:23;9390:32;9387:52;;;9435:1;9432;9425:12;9387:52;9474:9;9461:23;9493:30;9517:5;9493:30;:::i;:::-;9542:5;-1:-1:-1;9598:2:21;9583:18;;9570:32;-1:-1:-1;;;;;9614:30:21;;9611:50;;;9657:1;9654;9647:12;9611:50;9680:49;9721:7;9712:6;9701:9;9697:22;9680:49;:::i;:::-;9670:59;;;9748:37;9781:2;9770:9;9766:18;9748:37;:::i;:::-;9738:47;;9266:525;;;;;:::o;9978:180::-;10037:6;10090:2;10078:9;10069:7;10065:23;10061:32;10058:52;;;10106:1;10103;10096:12;10058:52;-1:-1:-1;10129:23:21;;9978:180;-1:-1:-1;9978:180:21:o;10163:741::-;10263:6;10271;10279;10287;10340:3;10328:9;10319:7;10315:23;10311:33;10308:53;;;10357:1;10354;10347:12;10308:53;10396:9;10383:23;10415:30;10439:5;10415:30;:::i;:::-;10464:5;-1:-1:-1;10520:2:21;10505:18;;10492:32;-1:-1:-1;;;;;10573:14:21;;;10570:34;;;10600:1;10597;10590:12;10570:34;10623:49;10664:7;10655:6;10644:9;10640:22;10623:49;:::i;:::-;10613:59;;10691:35;10722:2;10711:9;10707:18;10691:35;:::i;:::-;10681:45;;10779:2;10768:9;10764:18;10751:32;10735:48;;10808:2;10798:8;10795:16;10792:36;;;10824:1;10821;10814:12;10792:36;;10847:51;10890:7;10879:8;10868:9;10864:24;10847:51;:::i;:::-;10837:61;;;10163:741;;;;;;;:::o;10909:247::-;10968:6;11021:2;11009:9;11000:7;10996:23;10992:32;10989:52;;;11037:1;11034;11027:12;10989:52;11076:9;11063:23;11095:31;11120:5;11095:31;:::i;11384:384::-;11450:6;11458;11511:2;11499:9;11490:7;11486:23;11482:32;11479:52;;;11527:1;11524;11517:12;11479:52;11566:9;11553:23;11585:30;11609:5;11585:30;:::i;:::-;11634:5;-1:-1:-1;11691:2:21;11676:18;;11663:32;11704;11663;11704;:::i;:::-;11755:7;11745:17;;;11384:384;;;;;:::o;12216:750::-;12311:6;12319;12327;12335;12343;12396:3;12384:9;12375:7;12371:23;12367:33;12364:53;;;12413:1;12410;12403:12;12364:53;12452:9;12439:23;12471:30;12495:5;12471:30;:::i;:::-;12520:5;-1:-1:-1;12577:2:21;12562:18;;12549:32;12590;12549;12590;:::i;:::-;12641:7;-1:-1:-1;12695:2:21;12680:18;;12667:32;;-1:-1:-1;12750:2:21;12735:18;;12722:32;-1:-1:-1;;;;;12766:30:21;;12763:50;;;12809:1;12806;12799:12;12763:50;12848:58;12898:7;12889:6;12878:9;12874:22;12848:58;:::i;:::-;12216:750;;;;-1:-1:-1;12216:750:21;;-1:-1:-1;12925:8:21;;12822:84;12216:750;-1:-1:-1;;;12216:750:21:o;12971:388::-;13039:6;13047;13100:2;13088:9;13079:7;13075:23;13071:32;13068:52;;;13116:1;13113;13106:12;13068:52;13155:9;13142:23;13174:31;13199:5;13174:31;:::i;:::-;13224:5;-1:-1:-1;13281:2:21;13266:18;;13253:32;13294:33;13253:32;13294:33;:::i;13364:452::-;13439:6;13447;13455;13508:2;13496:9;13487:7;13483:23;13479:32;13476:52;;;13524:1;13521;13514:12;13476:52;13563:9;13550:23;13582:30;13606:5;13582:30;:::i;:::-;13631:5;-1:-1:-1;13688:2:21;13673:18;;13660:32;13701;13660;13701;:::i;13821:180::-;13877:6;13930:2;13918:9;13909:7;13905:23;13901:32;13898:52;;;13946:1;13943;13936:12;13898:52;13969:26;13985:9;13969:26;:::i;14006:594::-;14090:6;14098;14106;14114;14167:3;14155:9;14146:7;14142:23;14138:33;14135:53;;;14184:1;14181;14174:12;14135:53;14223:9;14210:23;14242:30;14266:5;14242:30;:::i;:::-;14291:5;-1:-1:-1;14348:2:21;14333:18;;14320:32;14361;14320;14361;:::i;:::-;14412:7;-1:-1:-1;14471:2:21;14456:18;;14443:32;14484:33;14443:32;14484:33;:::i;:::-;14006:594;;;;-1:-1:-1;14536:7:21;;14590:2;14575:18;14562:32;;-1:-1:-1;;14006:594:21:o;14964:380::-;15043:1;15039:12;;;;15086;;;15107:61;;15161:4;15153:6;15149:17;15139:27;;15107:61;15214:2;15206:6;15203:14;15183:18;15180:38;15177:161;;15260:10;15255:3;15251:20;15248:1;15241:31;15295:4;15292:1;15285:15;15323:4;15320:1;15313:15;15177:161;;14964:380;;;:::o;15349:271::-;15532:6;15524;15519:3;15506:33;15488:3;15558:16;;15583:13;;;15558:16;15349:271;-1:-1:-1;15349:271:21:o;16032:266::-;16120:6;16115:3;16108:19;16172:6;16165:5;16158:4;16153:3;16149:14;16136:43;-1:-1:-1;16224:1:21;16199:16;;;16217:4;16195:27;;;16188:38;;;;16280:2;16259:15;;;-1:-1:-1;;16255:29:21;16246:39;;;16242:50;;16032:266::o;16303:397::-;16526:6;16518;16514:19;16503:9;16496:38;16570:2;16565;16554:9;16550:18;16543:30;16477:4;16590:61;16647:2;16636:9;16632:18;16624:6;16616;16590:61;:::i;:::-;16582:69;;16687:6;16682:2;16671:9;16667:18;16660:34;16303:397;;;;;;;:::o;16705:668::-;16996:6;16984:19;;16966:38;;-1:-1:-1;;;;;17040:32:21;;17035:2;17020:18;;17013:60;17060:3;17104:2;17089:18;;17082:31;;;-1:-1:-1;;17136:46:21;;17162:19;;17154:6;17136:46;:::i;:::-;17232:6;17225:14;17218:22;17213:2;17202:9;17198:18;17191:50;17290:9;17282:6;17278:22;17272:3;17261:9;17257:19;17250:51;17318:49;17360:6;17352;17344;17318:49;:::i;:::-;17310:57;16705:668;-1:-1:-1;;;;;;;;;16705:668:21:o;17378:245::-;17457:6;17465;17518:2;17506:9;17497:7;17493:23;17489:32;17486:52;;;17534:1;17531;17524:12;17486:52;-1:-1:-1;;17557:16:21;;17613:2;17598:18;;;17592:25;17557:16;;17592:25;;-1:-1:-1;17378:245:21:o;17628:127::-;17689:10;17684:3;17680:20;17677:1;17670:31;17720:4;17717:1;17710:15;17744:4;17741:1;17734:15;17760:125;17825:9;;;17846:10;;;17843:36;;;17859:18;;:::i;18100:168::-;18173:9;;;18204;;18221:15;;;18215:22;;18201:37;18191:71;;18242:18;;:::i;18618:422::-;18707:1;18750:5;18707:1;18764:270;18785:7;18775:8;18772:21;18764:270;;;18844:4;18840:1;18836:6;18832:17;18826:4;18823:27;18820:53;;;18853:18;;:::i;:::-;18903:7;18893:8;18889:22;18886:55;;;18923:16;;;;18886:55;19002:22;;;;18962:15;;;;18764:270;;;18768:3;18618:422;;;;;:::o;19045:806::-;19094:5;19124:8;19114:80;;-1:-1:-1;19165:1:21;19179:5;;19114:80;19213:4;19203:76;;-1:-1:-1;19250:1:21;19264:5;;19203:76;19295:4;19313:1;19308:59;;;;19381:1;19376:130;;;;19288:218;;19308:59;19338:1;19329:10;;19352:5;;;19376:130;19413:3;19403:8;19400:17;19397:43;;;19420:18;;:::i;:::-;-1:-1:-1;;19476:1:21;19462:16;;19491:5;;19288:218;;19590:2;19580:8;19577:16;19571:3;19565:4;19562:13;19558:36;19552:2;19542:8;19539:16;19534:2;19528:4;19525:12;19521:35;19518:77;19515:159;;;-1:-1:-1;19627:19:21;;;19659:5;;19515:159;19706:34;19731:8;19725:4;19706:34;:::i;:::-;19776:6;19772:1;19768:6;19764:19;19755:7;19752:32;19749:58;;;19787:18;;:::i;:::-;19825:20;;19045:806;-1:-1:-1;;;19045:806:21:o;19856:140::-;19914:5;19943:47;19984:4;19974:8;19970:19;19964:4;19943:47;:::i;20001:326::-;20196:6;20188;20184:19;20173:9;20166:38;20240:2;20235;20224:9;20220:18;20213:30;20147:4;20260:61;20317:2;20306:9;20302:18;20294:6;20286;20260:61;:::i;20739:642::-;21020:6;21008:19;;20990:38;;-1:-1:-1;;;;;21064:32:21;;21059:2;21044:18;;21037:60;21084:3;21128:2;21113:18;;21106:31;;;-1:-1:-1;;21160:46:21;;21186:19;;21178:6;21160:46;:::i;:::-;21256:6;21249:14;21242:22;21237:2;21226:9;21222:18;21215:50;21314:9;21306:6;21302:22;21296:3;21285:9;21281:19;21274:51;21342:33;21368:6;21360;21342:33;:::i;:::-;21334:41;20739:642;-1:-1:-1;;;;;;;;20739:642:21:o;21744:128::-;21811:9;;;21832:11;;;21829:37;;;21846:18;;:::i;22227:360::-;22438:6;22430;22425:3;22412:33;22508:2;22504:15;;;;-1:-1:-1;;22500:53:21;22464:16;;22489:65;;;22578:2;22570:11;;22227:360;-1:-1:-1;22227:360:21:o;22717:544::-;22818:2;22813:3;22810:11;22807:448;;;22854:1;22879:5;22875:2;22868:17;22924:4;22920:2;22910:19;22994:2;22982:10;22978:19;22975:1;22971:27;22965:4;22961:38;23030:4;23018:10;23015:20;23012:47;;;-1:-1:-1;23053:4:21;23012:47;23108:2;23103:3;23099:12;23096:1;23092:20;23086:4;23082:31;23072:41;;23163:82;23181:2;23174:5;23171:13;23163:82;;;23226:17;;;23207:1;23196:13;23163:82;;23437:1348;23561:3;23555:10;-1:-1:-1;;;;;23580:6:21;23577:30;23574:56;;;23610:18;;:::i;:::-;23639:96;23728:6;23688:38;23720:4;23714:11;23688:38;:::i;:::-;23682:4;23639:96;:::i;:::-;23790:4;;23854:2;23843:14;;23871:1;23866:662;;;;24572:1;24589:6;24586:89;;;-1:-1:-1;24641:19:21;;;24635:26;24586:89;-1:-1:-1;;23394:1:21;23390:11;;;23386:24;23382:29;23372:40;23418:1;23414:11;;;23369:57;24688:81;;23836:943;;23866:662;22664:1;22657:14;;;22701:4;22688:18;;-1:-1:-1;;23902:20:21;;;24019:236;24033:7;24030:1;24027:14;24019:236;;;24122:19;;;24116:26;24101:42;;24214:27;;;;24182:1;24170:14;;;;24049:19;;24019:236;;;24023:3;24283:6;24274:7;24271:19;24268:201;;;24344:19;;;24338:26;-1:-1:-1;;24427:1:21;24423:14;;;24439:3;24419:24;24415:37;24411:42;24396:58;24381:74;;24268:201;-1:-1:-1;;;;;24515:1:21;24499:14;;;24495:22;24482:36;;-1:-1:-1;23437:1348:21:o;24790:498::-;24990:4;25019:6;25064:2;25056:6;25052:15;25041:9;25034:34;25116:2;25108:6;25104:15;25099:2;25088:9;25084:18;25077:43;;25156:6;25151:2;25140:9;25136:18;25129:34;25199:3;25194:2;25183:9;25179:18;25172:31;25220:62;25277:3;25266:9;25262:19;25254:6;25246;25220:62;:::i;:::-;25212:70;24790:498;-1:-1:-1;;;;;;;24790:498:21:o;26099:493::-;26348:6;26340;26336:19;26325:9;26318:38;26392:3;26387:2;26376:9;26372:18;26365:31;26299:4;26413:62;26470:3;26459:9;26455:19;26447:6;26439;26413:62;:::i;:::-;-1:-1:-1;;;;;26511:31:21;;;;26506:2;26491:18;;26484:59;-1:-1:-1;26574:2:21;26559:18;26552:34;26405:70;26099:493;-1:-1:-1;;;26099:493:21:o;27310:1202::-;-1:-1:-1;;;;;27427:3:21;27424:27;27421:53;;;27454:18;;:::i;:::-;27483:93;27572:3;27532:38;27564:4;27558:11;27532:38;:::i;:::-;27526:4;27483:93;:::i;:::-;27602:1;27627:2;27622:3;27619:11;27644:1;27639:615;;;;28298:1;28315:3;28312:93;;;-1:-1:-1;28371:19:21;;;28358:33;28312:93;-1:-1:-1;;23394:1:21;23390:11;;;23386:24;23382:29;23372:40;23418:1;23414:11;;;23369:57;28418:78;;27612:894;;27639:615;22664:1;22657:14;;;22701:4;22688:18;;-1:-1:-1;;27675:17:21;;;27775:9;27797:229;27811:7;27808:1;27805:14;27797:229;;;27900:19;;;27887:33;27872:49;;28007:4;27992:20;;;;27960:1;27948:14;;;;27827:12;27797:229;;;27801:3;28054;28045:7;28042:16;28039:159;;;28178:1;28174:6;28168:3;28162;28159:1;28155:11;28151:21;28147:34;28143:39;28130:9;28125:3;28121:19;28108:33;28104:79;28096:6;28089:95;28039:159;;;28241:1;28235:3;28232:1;28228:11;28224:19;28218:4;28211:33;27612:894;;27310:1202;;;:::o;28978:441::-;29031:5;29084:3;29077:4;29069:6;29065:17;29061:27;29051:55;;29102:1;29099;29092:12;29051:55;29131:6;29125:13;29162:48;29178:31;29206:2;29178:31;:::i;29162:48::-;29235:2;29226:7;29219:19;29281:3;29274:4;29269:2;29261:6;29257:15;29253:26;29250:35;29247:55;;;29298:1;29295;29288:12;29247:55;29311:77;29385:2;29378:4;29369:7;29365:18;29358:4;29350:6;29346:17;29311:77;:::i;:::-;29406:7;28978:441;-1:-1:-1;;;;28978:441:21:o;29424:335::-;29503:6;29556:2;29544:9;29535:7;29531:23;29527:32;29524:52;;;29572:1;29569;29562:12;29524:52;29605:9;29599:16;-1:-1:-1;;;;;29630:6:21;29627:30;29624:50;;;29670:1;29667;29660:12;29624:50;29693:60;29745:7;29736:6;29725:9;29721:22;29693:60;:::i;29764:557::-;30021:6;30013;30009:19;29998:9;29991:38;30065:3;30060:2;30049:9;30045:18;30038:31;29972:4;30092:46;30133:3;30122:9;30118:19;30110:6;30092:46;:::i;:::-;-1:-1:-1;;;;;30178:6:21;30174:31;30169:2;30158:9;30154:18;30147:59;30254:9;30246:6;30242:22;30237:2;30226:9;30222:18;30215:50;30282:33;30308:6;30300;30282:33;:::i;30326:371::-;30539:6;30531;30527:19;30516:9;30509:38;30583:2;30578;30567:9;30563:18;30556:30;30490:4;30603:45;30644:2;30633:9;30629:18;30621:6;30603:45;:::i;:::-;30595:53;;30684:6;30679:2;30668:9;30664:18;30657:34;30326:371;;;;;;:::o;31053:289::-;31228:2;31217:9;31210:21;31191:4;31248:45;31289:2;31278:9;31274:18;31266:6;31248:45;:::i;:::-;31240:53;;31329:6;31324:2;31313:9;31309:18;31302:34;31053:289;;;;;:::o;32393:287::-;32522:3;32560:6;32554:13;32576:66;32635:6;32630:3;32623:4;32615:6;32611:17;32576:66;:::i;:::-;32658:16;;;;;32393:287;-1:-1:-1;;32393:287:21:o;32685:719::-;32988:6;32980;32976:19;32965:9;32958:38;33032:3;33027:2;33016:9;33012:18;33005:31;32939:4;33059:46;33100:3;33089:9;33085:19;33077:6;33059:46;:::i;:::-;-1:-1:-1;;;;;33145:6:21;33141:31;33136:2;33125:9;33121:18;33114:59;33221:9;33213:6;33209:22;33204:2;33193:9;33189:18;33182:50;33255:33;33281:6;33273;33255:33;:::i;:::-;33241:47;;33337:9;33329:6;33325:22;33319:3;33308:9;33304:19;33297:51;33365:33;33391:6;33383;33365:33;:::i;34233:840::-;34582:6;34574;34570:19;34559:9;34552:38;34626:3;34621:2;34610:9;34606:18;34599:31;34533:4;34653:46;34694:3;34683:9;34679:19;34671:6;34653:46;:::i;:::-;34747:9;34739:6;34735:22;34730:2;34719:9;34715:18;34708:50;34781:33;34807:6;34799;34781:33;:::i;:::-;-1:-1:-1;;;;;34888:15:21;;;34883:2;34868:18;;34861:43;34941:15;;34935:3;34920:19;;34913:44;34994:22;;;34841:3;34973:19;;34966:51;34767:47;-1:-1:-1;35034:33:21;34767:47;35052:6;35034:33;:::i;35078:522::-;35174:6;35182;35190;35243:2;35231:9;35222:7;35218:23;35214:32;35211:52;;;35259:1;35256;35249:12;35211:52;35291:9;35285:16;35310:30;35334:5;35310:30;:::i;:::-;35408:2;35393:18;;35387:25;35359:5;;-1:-1:-1;;;;;;35424:30:21;;35421:50;;;35467:1;35464;35457:12;35421:50;35490:60;35542:7;35533:6;35522:9;35518:22;35490:60;:::i;:::-;35480:70;;;35590:2;35579:9;35575:18;35569:25;35559:35;;35078:522;;;;;:::o
Swarm Source
ipfs://c5b0c8a705e0fbd783562ca9680813e064c97a0e8de4f71501601c1d6d1d00b8
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.