ERC-20
DeFi
Overview
Max Total Supply
2,990,239.025930597716721663 sdMAV
Holders
169 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
sdMAV
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-09-22 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /** * @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 amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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); } /** * @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; } } /** * @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}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * 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}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @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 override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override 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 `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` 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 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); 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 `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); 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 * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `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. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` 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 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } /** * @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); } /** * @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); } /** * @dev Interface of the OFT standard */ interface IOFT is IOFTCore, IERC20 { } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } 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; } 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; } 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); } /* * @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. */ 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; } } /* * 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) { 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); } } 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) } } } /* * 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); } } // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } 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 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); _lzSend(_dstChainId, lzPayload, _refundAddress, _zroPaymentAddress, _adapterParams, msg.value); 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); } // 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; } } /// @title sdMAVOft /// @author StakeDAO /// @notice A token that represents the Token deposited by a user into the Depositor /// @dev Minting & Burning was modified to be used by the operator contract sdMAV is OFT { error ONLY_OPERATOR(); address public operator; constructor(string memory _name, string memory _symbol, address _lzEndpoint) OFT(_name, _symbol, _lzEndpoint) { operator = msg.sender; } /// @notice Set a new operator that can mint and burn sdToken /// @param _operator new operator address function setOperator(address _operator) external { if (msg.sender != operator) revert ONLY_OPERATOR(); operator = _operator; } /// @notice mint new sdToken, callable only by the operator /// @param _to recipient to mint for /// @param _amount amount to mint function mint(address _to, uint256 _amount) external { if (msg.sender != operator) revert ONLY_OPERATOR(); _mint(_to, _amount); } /// @notice burn sdToken, callable only by the operator /// @param _from sdToken holder /// @param _amount amount to burn function burn(address _from, uint256 _amount) external { if (msg.sender != operator) revert ONLY_OPERATOR(); _burn(_from, _amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_lzEndpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ONLY_OPERATOR","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":"amount","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":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":"subtractedValue","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":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"}],"name":"failedMessages","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"forceResumeReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"nonpayable","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":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"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":"address","name":"_operator","type":"address"}],"name":"setOperator","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":"amount","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":"amount","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"}]
Contract Creation Code
60a06040523480156200001157600080fd5b506040516200395638038062003956833981016040819052620000349162000253565b82828282828280806200004733620000a6565b60601b6001600160601b031916608052505081516200006e90600a906020850190620000f6565b5080516200008490600b906020840190620000f6565b5050600c80546001600160a01b03191633179055506200033395505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200010490620002e0565b90600052602060002090601f01602090048101928262000128576000855562000173565b82601f106200014357805160ff191683800117855562000173565b8280016001018555821562000173579182015b828111156200017357825182559160200191906001019062000156565b506200018192915062000185565b5090565b5b8082111562000181576000815560010162000186565b600082601f830112620001ae57600080fd5b81516001600160401b0380821115620001cb57620001cb6200031d565b604051601f8301601f19908116603f01168101908282118183101715620001f657620001f66200031d565b816040528381526020925086838588010111156200021357600080fd5b600091505b8382101562000237578582018301518183018401529082019062000218565b83821115620002495760008385830101525b9695505050505050565b6000806000606084860312156200026957600080fd5b83516001600160401b03808211156200028157600080fd5b6200028f878388016200019c565b94506020860151915080821115620002a657600080fd5b50620002b5868287016200019c565b604086015190935090506001600160a01b0381168114620002d557600080fd5b809150509250925092565b600181811c90821680620002f557607f821691505b602082108114156200031757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c6135cc6200038a6000396000818161079c0152818161093701528181610c5601528181610d1601528181610db401528181610f990152818161155f01528181611a0a015261264501526135cc6000f3fe6080604052600436106102ad5760003560e01c80637533d78811610175578063b3ab15fb116100dc578063df2a5b3b11610095578063ed629c5c1161006f578063ed629c5c146108c7578063f2fde38b146108e1578063f5ecbdbc14610901578063fc0c546a1461092157600080fd5b8063df2a5b3b14610867578063eab45d9c14610887578063eb8d72b7146108a757600080fd5b8063b3ab15fb146107be578063baf3292d146107de578063c4461834146107fe578063cbed8b9c14610814578063d1deba1f14610834578063dd62ed3e1461084757600080fd5b80639dc29fac1161012e5780639dc29fac146106ea5780639f38369a1461070a578063a457c2d71461072a578063a6c3d1651461074a578063a9059cbb1461076a578063b353aaa71461078a57600080fd5b80637533d7881461062a5780638cfd8f5c1461064a5780638da5cb5b146106825780639358928b146106a0578063950c8a74146106b557806395d89b41146106d557600080fd5b80633d8b38f61161021957806351905636116101d25780635190563614610525578063570ca735146105385780635b8c41e61461057057806366ad5c8a146105bf57806370a08231146105df578063715018a61461061557600080fd5b80633d8b38f61461045b5780633f1f4fa41461047b57806340c10f19146104a857806342d65a8d146104c857806344770515146104e85780634c42899a146104fd57600080fd5b806310ddb1371161026b57806310ddb1371461038b57806318160ddd146103ab57806323b872dd146103ca5780632a205e3d146103ea578063313ce5671461041f578063395093511461043b57600080fd5b80621d3567146102b257806301ffc9a7146102d457806306fdde031461030957806307e0db171461032b578063095ea7b31461034b5780630df374831461036b575b600080fd5b3480156102be57600080fd5b506102d26102cd366004612e54565b610934565b005b3480156102e057600080fd5b506102f46102ef366004612ce6565b610b65565b60405190151581526020015b60405180910390f35b34801561031557600080fd5b5061031e610ba3565b60405161030091906131e9565b34801561033757600080fd5b506102d2610346366004612d44565b610c35565b34801561035757600080fd5b506102f4610366366004612c9f565b610cbe565b34801561037757600080fd5b506102d2610386366004613100565b610cd6565b34801561039757600080fd5b506102d26103a6366004612d44565b610cf5565b3480156103b757600080fd5b506009545b604051908152602001610300565b3480156103d657600080fd5b506102f46103e5366004612b95565b610d4d565b3480156103f657600080fd5b5061040a610405366004612db5565b610d71565b60408051928352602083019190915201610300565b34801561042b57600080fd5b5060405160128152602001610300565b34801561044757600080fd5b506102f4610456366004612c9f565b610e53565b34801561046757600080fd5b506102f4610476366004612d61565b610e75565b34801561048757600080fd5b506103bc610496366004612d44565b60036020526000908152604090205481565b3480156104b457600080fd5b506102d26104c3366004612c9f565b610f41565b3480156104d457600080fd5b506102d26104e3366004612d61565b610f7a565b3480156104f457600080fd5b506103bc600081565b34801561050957600080fd5b50610512600081565b60405161ffff9091168152602001610300565b6102d2610533366004612bd6565b611000565b34801561054457600080fd5b50600c54610558906001600160a01b031681565b6040516001600160a01b039091168152602001610300565b34801561057c57600080fd5b506103bc61058b366004612f42565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156105cb57600080fd5b506102d26105da366004612e54565b611085565b3480156105eb57600080fd5b506103bc6105fa366004612b3f565b6001600160a01b031660009081526007602052604090205490565b34801561062157600080fd5b506102d2611161565b34801561063657600080fd5b5061031e610645366004612d44565b611175565b34801561065657600080fd5b506103bc610665366004612fdf565b600260209081526000928352604080842090915290825290205481565b34801561068e57600080fd5b506000546001600160a01b0316610558565b3480156106ac57600080fd5b506103bc61120f565b3480156106c157600080fd5b50600454610558906001600160a01b031681565b3480156106e157600080fd5b5061031e61121f565b3480156106f657600080fd5b506102d2610705366004612c9f565b61122e565b34801561071657600080fd5b5061031e610725366004612d44565b611263565b34801561073657600080fd5b506102f4610745366004612c9f565b61137a565b34801561075657600080fd5b506102d2610765366004612d61565b6113f5565b34801561077657600080fd5b506102f4610785366004612c9f565b611488565b34801561079657600080fd5b506105587f000000000000000000000000000000000000000000000000000000000000000081565b3480156107ca57600080fd5b506102d26107d9366004612b3f565b611496565b3480156107ea57600080fd5b506102d26107f9366004612b3f565b6114e3565b34801561080a57600080fd5b506103bc61271081565b34801561082057600080fd5b506102d261082f36600461308e565b611540565b6102d2610842366004612e54565b6115ca565b34801561085357600080fd5b506103bc610862366004612b5c565b6117e0565b34801561087357600080fd5b506102d261088236600461305e565b61180b565b34801561089357600080fd5b506102d26108a2366004612ccb565b6118bd565b3480156108b357600080fd5b506102d26108c2366004612d61565b611906565b3480156108d357600080fd5b506006546102f49060ff1681565b3480156108ed57600080fd5b506102d26108fc366004612b3f565b611960565b34801561090d57600080fd5b5061031e61091c36600461300d565b6119d9565b34801561092d57600080fd5b5030610558565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146109b15760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546109cf9061350a565b80601f01602080910402602001604051908101604052809291908181526020018280546109fb9061350a565b8015610a485780601f10610a1d57610100808354040283529160200191610a48565b820191906000526020600020905b815481529060010190602001808311610a2b57829003601f168201915b50505050509050805186869050148015610a63575060008151115b8015610a8b575080516020820120604051610a819088908890613197565b6040518091039020145b610ae65760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016109a8565b610b5c8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611a9992505050565b50505050505050565b60006001600160e01b031982161580610b8e57506001600160e01b031982166336372b0760e01b145b80610b9d5750610b9d82611b12565b92915050565b6060600a8054610bb29061350a565b80601f0160208091040260200160405190810160405280929190818152602001828054610bde9061350a565b8015610c2b5780601f10610c0057610100808354040283529160200191610c2b565b820191906000526020600020905b815481529060010190602001808311610c0e57829003601f168201915b5050505050905090565b610c3d611b47565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610ca357600080fd5b505af1158015610cb7573d6000803e3d6000fd5b5050505050565b600033610ccc818585611ba1565b5060019392505050565b610cde611b47565b61ffff909116600090815260036020526040902055565b610cfd611b47565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610c89565b600033610d5b858285611cc6565b610d66858585611d40565b506001949350505050565b600080600080898989604051602001610d8d9493929190613292565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340a7bb1090610df3908d90309086908c908c908c9060040161321e565b604080518083038186803b158015610e0a57600080fd5b505afa158015610e1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e42919061311e565b925092505097509795505050505050565b600033610ccc818585610e6683836117e0565b610e7091906134af565b611ba1565b61ffff831660009081526001602052604081208054829190610e969061350a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec29061350a565b8015610f0f5780601f10610ee457610100808354040283529160200191610f0f565b820191906000526020600020905b815481529060010190602001808311610ef257829003601f168201915b505050505090508383604051610f26929190613197565b60405180910390208180519060200120149150509392505050565b600c546001600160a01b03163314610f6c57604051630c57b38f60e31b815260040160405180910390fd5b610f768282611eeb565b5050565b610f82611b47565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610fd290869086908690600401613274565b600060405180830381600087803b158015610fec57600080fd5b505af1158015610b5c573d6000803e3d6000fd5b61107a898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528c93508b92508a918a908a9081908401838280828437600092019190915250611fac92505050565b505050505050505050565b3330146110e35760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016109a8565b6111598686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061205392505050565b505050505050565b611169611b47565b61117360006120ba565b565b6001602052600090815260409020805461118e9061350a565b80601f01602080910402602001604051908101604052809291908181526020018280546111ba9061350a565b80156112075780601f106111dc57610100808354040283529160200191611207565b820191906000526020600020905b8154815290600101906020018083116111ea57829003601f168201915b505050505081565b600061121a60095490565b905090565b6060600b8054610bb29061350a565b600c546001600160a01b0316331461125957604051630c57b38f60e31b815260040160405180910390fd5b610f76828261210a565b61ffff81166000908152600160205260408120805460609291906112869061350a565b80601f01602080910402602001604051908101604052809291908181526020018280546112b29061350a565b80156112ff5780601f106112d4576101008083540402835291602001916112ff565b820191906000526020600020905b8154815290600101906020018083116112e257829003601f168201915b505050505090508051600014156113585760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016109a8565b61137360006014835161136b91906134c7565b83919061223b565b9392505050565b6000338161138882866117e0565b9050838110156113e85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109a8565b610d668286868403611ba1565b6113fd611b47565b818130604051602001611412939291906131a7565b60408051601f1981840301815291815261ffff851660009081526001602090815291902082516114479391929091019061296c565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161147b93929190613274565b60405180910390a1505050565b600033610ccc818585611d40565b600c546001600160a01b031633146114c157604051630c57b38f60e31b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6114eb611b47565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b611548611b47565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c9061159c908890889088908890889060040161342a565b600060405180830381600087803b1580156115b657600080fd5b505af115801561107a573d6000803e3d6000fd5b61ffff861660009081526005602052604080822090516115ed9088908890613197565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061166d5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016109a8565b80838360405161167e929190613197565b6040518091039020146116dd5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016109a8565b61ffff871660009081526005602052604080822090516117009089908990613197565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611798918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061205392505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e587878787856040516117cf9594939291906132c1565b60405180910390a150505050505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b611813611b47565b6000811161185b5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016109a8565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161147b565b6118c5611b47565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001611535565b61190e611b47565b61ffff8316600090815260016020526040902061192c9083836129f0565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161147b93929190613274565b611968611b47565b6001600160a01b0381166119cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a8565b6119d6816120ba565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc9060840160006040518083038186803b158015611a5457600080fd5b505afa158015611a68573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a909190810190612d10565b95945050505050565b600080611afc5a60966366ad5c8a60e01b89898989604051602401611ac19493929190613383565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190612348565b91509150816111595761115986868686856123d2565b60006001600160e01b03198216630a72677560e11b1480610b9d57506301ffc9a760e01b6001600160e01b0319831614610b9d565b6000546001600160a01b031633146111735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a8565b6001600160a01b038316611c035760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109a8565b6001600160a01b038216611c645760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109a8565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000611cd284846117e0565b90506000198114611d3a5781811015611d2d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109a8565b611d3a8484848403611ba1565b50505050565b6001600160a01b038316611da45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109a8565b6001600160a01b038216611e065760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109a8565b6001600160a01b03831660009081526007602052604090205481811015611e7e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109a8565b6001600160a01b0380851660008181526007602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ede9086815260200190565b60405180910390a3611d3a565b6001600160a01b038216611f415760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109a8565b8060096000828254611f5391906134af565b90915550506001600160a01b0382166000818152600760209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b611fba86600083600061246f565b6000611fc8888888886124e9565b90506000808783604051602001611fe193929190613356565b604051602081830303815290604052905061200088828787873461251b565b886001600160a01b03168861ffff167f39a4c66499bcf4b56d79f0dde8ed7a9d4925a0df55825206b2b8531e202be0d089856040516120409291906131fc565b60405180910390a3505050505050505050565b602081015161ffff81166120725761206d858585856126c1565b610cb7565b60405162461bcd60e51b815260206004820152601c60248201527f4f4654436f72653a20756e6b6e6f776e207061636b657420747970650000000060448201526064016109a8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821661216a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109a8565b6001600160a01b038216600090815260076020526040902054818110156121de5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109a8565b6001600160a01b03831660008181526007602090815260408083208686039055600980548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611cb9565b505050565b60608161224981601f6134af565b10156122885760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016109a8565b61229282846134af565b845110156122d65760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016109a8565b6060821580156122f5576040519150600082526020820160405261233f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561232e578051835260209283019201612316565b5050858452601f01601f1916604052505b50949350505050565b6000606060008060008661ffff166001600160401b0381111561236d5761236d61355b565b6040519080825280601f01601f191660200182016040528015612397576020820181803683370190505b50905060008087516020890160008d8df191503d9250868311156123b9578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff1681526020019081526020016000208560405161240391906131cd565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061246090879087908790879087906133cc565b60405180910390a15050505050565b60065460ff161561248b576124868484848461274b565b611d3a565b815115611d3a5760405162461bcd60e51b815260206004820152602660248201527f4f4654436f72653a205f61646170746572506172616d73206d7573742062652060448201526532b6b83a3c9760d11b60648201526084016109a8565b6000336001600160a01b038616811461250757612507868285611cc6565b612511868461210a565b5090949350505050565b61ffff8616600090815260016020526040812080546125399061350a565b80601f01602080910402602001604051908101604052809291908181526020018280546125659061350a565b80156125b25780601f10612587576101008083540402835291602001916125b2565b820191906000526020600020905b81548152906001019060200180831161259557829003601f168201915b505050505090508051600014156126245760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016109a8565b61262f87875161282a565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612686908b9086908c908c908c908c906004016132fc565b6000604051808303818588803b15801561269f57600080fd5b505af11580156126b3573d6000803e3d6000fd5b505050505050505050505050565b600080828060200190518101906126d89190612ee9565b9093509150600090506126eb8382612898565b90506126f88782846128fd565b9150806001600160a01b03168761ffff167fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf8460405161273a91815260200190565b60405180910390a350505050505050565b600061275683612910565b61ffff8087166000908152600260209081526040808320938916835292905290812054919250906127889084906134af565b9050600081116127da5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f742073657400000000000060448201526064016109a8565b808210156111595760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f77000000000060448201526064016109a8565b61ffff82166000908152600360205260409020548061284857506127105b808211156122365760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016109a8565b60006128a58260146134af565b835110156128ed5760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b60448201526064016109a8565b500160200151600160601b900490565b60006129098383611eeb565b5092915050565b60006022825110156129645760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d730000000060448201526064016109a8565b506022015190565b8280546129789061350a565b90600052602060002090601f01602090048101928261299a57600085556129e0565b82601f106129b357805160ff19168380011785556129e0565b828001600101855582156129e0579182015b828111156129e05782518255916020019190600101906129c5565b506129ec929150612a64565b5090565b8280546129fc9061350a565b90600052602060002090601f016020900481019282612a1e57600085556129e0565b82601f10612a375782800160ff198235161785556129e0565b828001600101855582156129e0579182015b828111156129e0578235825591602001919060010190612a49565b5b808211156129ec5760008155600101612a65565b80358015158114612a8957600080fd5b919050565b60008083601f840112612aa057600080fd5b5081356001600160401b03811115612ab757600080fd5b602083019150836020828501011115612acf57600080fd5b9250929050565b600082601f830112612ae757600080fd5b8151612afa612af582613488565b613458565b818152846020838601011115612b0f57600080fd5b612b208260208301602087016134de565b949350505050565b80356001600160401b0381168114612a8957600080fd5b600060208284031215612b5157600080fd5b813561137381613571565b60008060408385031215612b6f57600080fd5b8235612b7a81613571565b91506020830135612b8a81613571565b809150509250929050565b600080600060608486031215612baa57600080fd5b8335612bb581613571565b92506020840135612bc581613571565b929592945050506040919091013590565b600080600080600080600080600060e08a8c031215612bf457600080fd5b8935612bff81613571565b985060208a0135612c0f81613586565b975060408a01356001600160401b0380821115612c2b57600080fd5b612c378d838e01612a8e565b909950975060608c0135965060808c01359150612c5382613571565b90945060a08b013590612c6582613571565b90935060c08b01359080821115612c7b57600080fd5b50612c888c828d01612a8e565b915080935050809150509295985092959850929598565b60008060408385031215612cb257600080fd5b8235612cbd81613571565b946020939093013593505050565b600060208284031215612cdd57600080fd5b61137382612a79565b600060208284031215612cf857600080fd5b81356001600160e01b03198116811461137357600080fd5b600060208284031215612d2257600080fd5b81516001600160401b03811115612d3857600080fd5b612b2084828501612ad6565b600060208284031215612d5657600080fd5b813561137381613586565b600080600060408486031215612d7657600080fd5b8335612d8181613586565b925060208401356001600160401b03811115612d9c57600080fd5b612da886828701612a8e565b9497909650939450505050565b600080600080600080600060a0888a031215612dd057600080fd5b8735612ddb81613586565b965060208801356001600160401b0380821115612df757600080fd5b612e038b838c01612a8e565b909850965060408a01359550869150612e1e60608b01612a79565b945060808a0135915080821115612e3457600080fd5b50612e418a828b01612a8e565b989b979a50959850939692959293505050565b60008060008060008060808789031215612e6d57600080fd5b8635612e7881613586565b955060208701356001600160401b0380821115612e9457600080fd5b612ea08a838b01612a8e565b9097509550859150612eb460408a01612b28565b94506060890135915080821115612eca57600080fd5b50612ed789828a01612a8e565b979a9699509497509295939492505050565b600080600060608486031215612efe57600080fd5b8351612f0981613586565b60208501519093506001600160401b03811115612f2557600080fd5b612f3186828701612ad6565b925050604084015190509250925092565b600080600060608486031215612f5757600080fd5b8335612f6281613586565b925060208401356001600160401b03811115612f7d57600080fd5b8401601f81018613612f8e57600080fd5b8035612f9c612af582613488565b818152876020838501011115612fb157600080fd5b81602084016020830137600060208383010152809450505050612fd660408501612b28565b90509250925092565b60008060408385031215612ff257600080fd5b8235612ffd81613586565b91506020830135612b8a81613586565b6000806000806080858703121561302357600080fd5b843561302e81613586565b9350602085013561303e81613586565b9250604085013561304e81613571565b9396929550929360600135925050565b60008060006060848603121561307357600080fd5b833561307e81613586565b92506020840135612bc581613586565b6000806000806000608086880312156130a657600080fd5b85356130b181613586565b945060208601356130c181613586565b93506040860135925060608601356001600160401b038111156130e357600080fd5b6130ef88828901612a8e565b969995985093965092949392505050565b6000806040838503121561311357600080fd5b8235612cbd81613586565b6000806040838503121561313157600080fd5b505080516020909101519092909150565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600081518084526131838160208601602086016134de565b601f01601f19169290920160200192915050565b8183823760009101908152919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600082516131df8184602087016134de565b9190910192915050565b602081526000611373602083018461316b565b60408152600061320f604083018561316b565b90508260208301529392505050565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061324c9083018761316b565b85151560608401528281036080840152613267818587613142565b9998505050505050505050565b61ffff84168152604060208201526000611a90604083018486613142565b61ffff851681526060602082015260006132b0606083018587613142565b905082604083015295945050505050565b61ffff861681526080602082015260006132df608083018688613142565b6001600160401b0394909416604083015250606001529392505050565b61ffff8716815260c06020820152600061331960c083018861316b565b828103604084015261332b818861316b565b6001600160a01b0387811660608601528616608085015283810360a08501529050613267818561316b565b61ffff84168152606060208201526000613373606083018561316b565b9050826040830152949350505050565b61ffff851681526080602082015260006133a0608083018661316b565b6001600160401b038516604084015282810360608401526133c1818561316b565b979650505050505050565b61ffff8616815260a0602082015260006133e960a083018761316b565b6001600160401b0386166040840152828103606084015261340a818661316b565b9050828103608084015261341e818561316b565b98975050505050505050565b600061ffff8088168352808716602084015250846040830152608060608301526133c1608083018486613142565b604051601f8201601f191681016001600160401b03811182821017156134805761348061355b565b604052919050565b60006001600160401b038211156134a1576134a161355b565b50601f01601f191660200190565b600082198211156134c2576134c2613545565b500190565b6000828210156134d9576134d9613545565b500390565b60005b838110156134f95781810151838201526020016134e1565b83811115611d3a5750506000910152565b600181811c9082168061351e57607f821691505b6020821081141561353f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146119d657600080fd5b61ffff811681146119d657600080fdfea26469706673582212209c569a8f9358bdad22e7341db5a5d728d6174f8c657e061d27c4bc8a2fa19daa64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675000000000000000000000000000000000000000000000000000000000000000d5374616b652044414f204d415600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000573644d4156000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102ad5760003560e01c80637533d78811610175578063b3ab15fb116100dc578063df2a5b3b11610095578063ed629c5c1161006f578063ed629c5c146108c7578063f2fde38b146108e1578063f5ecbdbc14610901578063fc0c546a1461092157600080fd5b8063df2a5b3b14610867578063eab45d9c14610887578063eb8d72b7146108a757600080fd5b8063b3ab15fb146107be578063baf3292d146107de578063c4461834146107fe578063cbed8b9c14610814578063d1deba1f14610834578063dd62ed3e1461084757600080fd5b80639dc29fac1161012e5780639dc29fac146106ea5780639f38369a1461070a578063a457c2d71461072a578063a6c3d1651461074a578063a9059cbb1461076a578063b353aaa71461078a57600080fd5b80637533d7881461062a5780638cfd8f5c1461064a5780638da5cb5b146106825780639358928b146106a0578063950c8a74146106b557806395d89b41146106d557600080fd5b80633d8b38f61161021957806351905636116101d25780635190563614610525578063570ca735146105385780635b8c41e61461057057806366ad5c8a146105bf57806370a08231146105df578063715018a61461061557600080fd5b80633d8b38f61461045b5780633f1f4fa41461047b57806340c10f19146104a857806342d65a8d146104c857806344770515146104e85780634c42899a146104fd57600080fd5b806310ddb1371161026b57806310ddb1371461038b57806318160ddd146103ab57806323b872dd146103ca5780632a205e3d146103ea578063313ce5671461041f578063395093511461043b57600080fd5b80621d3567146102b257806301ffc9a7146102d457806306fdde031461030957806307e0db171461032b578063095ea7b31461034b5780630df374831461036b575b600080fd5b3480156102be57600080fd5b506102d26102cd366004612e54565b610934565b005b3480156102e057600080fd5b506102f46102ef366004612ce6565b610b65565b60405190151581526020015b60405180910390f35b34801561031557600080fd5b5061031e610ba3565b60405161030091906131e9565b34801561033757600080fd5b506102d2610346366004612d44565b610c35565b34801561035757600080fd5b506102f4610366366004612c9f565b610cbe565b34801561037757600080fd5b506102d2610386366004613100565b610cd6565b34801561039757600080fd5b506102d26103a6366004612d44565b610cf5565b3480156103b757600080fd5b506009545b604051908152602001610300565b3480156103d657600080fd5b506102f46103e5366004612b95565b610d4d565b3480156103f657600080fd5b5061040a610405366004612db5565b610d71565b60408051928352602083019190915201610300565b34801561042b57600080fd5b5060405160128152602001610300565b34801561044757600080fd5b506102f4610456366004612c9f565b610e53565b34801561046757600080fd5b506102f4610476366004612d61565b610e75565b34801561048757600080fd5b506103bc610496366004612d44565b60036020526000908152604090205481565b3480156104b457600080fd5b506102d26104c3366004612c9f565b610f41565b3480156104d457600080fd5b506102d26104e3366004612d61565b610f7a565b3480156104f457600080fd5b506103bc600081565b34801561050957600080fd5b50610512600081565b60405161ffff9091168152602001610300565b6102d2610533366004612bd6565b611000565b34801561054457600080fd5b50600c54610558906001600160a01b031681565b6040516001600160a01b039091168152602001610300565b34801561057c57600080fd5b506103bc61058b366004612f42565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156105cb57600080fd5b506102d26105da366004612e54565b611085565b3480156105eb57600080fd5b506103bc6105fa366004612b3f565b6001600160a01b031660009081526007602052604090205490565b34801561062157600080fd5b506102d2611161565b34801561063657600080fd5b5061031e610645366004612d44565b611175565b34801561065657600080fd5b506103bc610665366004612fdf565b600260209081526000928352604080842090915290825290205481565b34801561068e57600080fd5b506000546001600160a01b0316610558565b3480156106ac57600080fd5b506103bc61120f565b3480156106c157600080fd5b50600454610558906001600160a01b031681565b3480156106e157600080fd5b5061031e61121f565b3480156106f657600080fd5b506102d2610705366004612c9f565b61122e565b34801561071657600080fd5b5061031e610725366004612d44565b611263565b34801561073657600080fd5b506102f4610745366004612c9f565b61137a565b34801561075657600080fd5b506102d2610765366004612d61565b6113f5565b34801561077657600080fd5b506102f4610785366004612c9f565b611488565b34801561079657600080fd5b506105587f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67581565b3480156107ca57600080fd5b506102d26107d9366004612b3f565b611496565b3480156107ea57600080fd5b506102d26107f9366004612b3f565b6114e3565b34801561080a57600080fd5b506103bc61271081565b34801561082057600080fd5b506102d261082f36600461308e565b611540565b6102d2610842366004612e54565b6115ca565b34801561085357600080fd5b506103bc610862366004612b5c565b6117e0565b34801561087357600080fd5b506102d261088236600461305e565b61180b565b34801561089357600080fd5b506102d26108a2366004612ccb565b6118bd565b3480156108b357600080fd5b506102d26108c2366004612d61565b611906565b3480156108d357600080fd5b506006546102f49060ff1681565b3480156108ed57600080fd5b506102d26108fc366004612b3f565b611960565b34801561090d57600080fd5b5061031e61091c36600461300d565b6119d9565b34801561092d57600080fd5b5030610558565b337f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316146109b15760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546109cf9061350a565b80601f01602080910402602001604051908101604052809291908181526020018280546109fb9061350a565b8015610a485780601f10610a1d57610100808354040283529160200191610a48565b820191906000526020600020905b815481529060010190602001808311610a2b57829003601f168201915b50505050509050805186869050148015610a63575060008151115b8015610a8b575080516020820120604051610a819088908890613197565b6040518091039020145b610ae65760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016109a8565b610b5c8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611a9992505050565b50505050505050565b60006001600160e01b031982161580610b8e57506001600160e01b031982166336372b0760e01b145b80610b9d5750610b9d82611b12565b92915050565b6060600a8054610bb29061350a565b80601f0160208091040260200160405190810160405280929190818152602001828054610bde9061350a565b8015610c2b5780601f10610c0057610100808354040283529160200191610c2b565b820191906000526020600020905b815481529060010190602001808311610c0e57829003601f168201915b5050505050905090565b610c3d611b47565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610ca357600080fd5b505af1158015610cb7573d6000803e3d6000fd5b5050505050565b600033610ccc818585611ba1565b5060019392505050565b610cde611b47565b61ffff909116600090815260036020526040902055565b610cfd611b47565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316906310ddb13790602401610c89565b600033610d5b858285611cc6565b610d66858585611d40565b506001949350505050565b600080600080898989604051602001610d8d9493929190613292565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67516906340a7bb1090610df3908d90309086908c908c908c9060040161321e565b604080518083038186803b158015610e0a57600080fd5b505afa158015610e1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e42919061311e565b925092505097509795505050505050565b600033610ccc818585610e6683836117e0565b610e7091906134af565b611ba1565b61ffff831660009081526001602052604081208054829190610e969061350a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec29061350a565b8015610f0f5780601f10610ee457610100808354040283529160200191610f0f565b820191906000526020600020905b815481529060010190602001808311610ef257829003601f168201915b505050505090508383604051610f26929190613197565b60405180910390208180519060200120149150509392505050565b600c546001600160a01b03163314610f6c57604051630c57b38f60e31b815260040160405180910390fd5b610f768282611eeb565b5050565b610f82611b47565b6040516342d65a8d60e01b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67516906342d65a8d90610fd290869086908690600401613274565b600060405180830381600087803b158015610fec57600080fd5b505af1158015610b5c573d6000803e3d6000fd5b61107a898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528c93508b92508a918a908a9081908401838280828437600092019190915250611fac92505050565b505050505050505050565b3330146110e35760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016109a8565b6111598686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061205392505050565b505050505050565b611169611b47565b61117360006120ba565b565b6001602052600090815260409020805461118e9061350a565b80601f01602080910402602001604051908101604052809291908181526020018280546111ba9061350a565b80156112075780601f106111dc57610100808354040283529160200191611207565b820191906000526020600020905b8154815290600101906020018083116111ea57829003601f168201915b505050505081565b600061121a60095490565b905090565b6060600b8054610bb29061350a565b600c546001600160a01b0316331461125957604051630c57b38f60e31b815260040160405180910390fd5b610f76828261210a565b61ffff81166000908152600160205260408120805460609291906112869061350a565b80601f01602080910402602001604051908101604052809291908181526020018280546112b29061350a565b80156112ff5780601f106112d4576101008083540402835291602001916112ff565b820191906000526020600020905b8154815290600101906020018083116112e257829003601f168201915b505050505090508051600014156113585760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016109a8565b61137360006014835161136b91906134c7565b83919061223b565b9392505050565b6000338161138882866117e0565b9050838110156113e85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109a8565b610d668286868403611ba1565b6113fd611b47565b818130604051602001611412939291906131a7565b60408051601f1981840301815291815261ffff851660009081526001602090815291902082516114479391929091019061296c565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161147b93929190613274565b60405180910390a1505050565b600033610ccc818585611d40565b600c546001600160a01b031633146114c157604051630c57b38f60e31b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6114eb611b47565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b611548611b47565b6040516332fb62e760e21b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675169063cbed8b9c9061159c908890889088908890889060040161342a565b600060405180830381600087803b1580156115b657600080fd5b505af115801561107a573d6000803e3d6000fd5b61ffff861660009081526005602052604080822090516115ed9088908890613197565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061166d5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016109a8565b80838360405161167e929190613197565b6040518091039020146116dd5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016109a8565b61ffff871660009081526005602052604080822090516117009089908990613197565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252611798918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061205392505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e587878787856040516117cf9594939291906132c1565b60405180910390a150505050505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b611813611b47565b6000811161185b5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016109a8565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161147b565b6118c5611b47565b6006805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001611535565b61190e611b47565b61ffff8316600090815260016020526040902061192c9083836129f0565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161147b93929190613274565b611968611b47565b6001600160a01b0381166119cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a8565b6119d6816120ba565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b03169063f5ecbdbc9060840160006040518083038186803b158015611a5457600080fd5b505afa158015611a68573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a909190810190612d10565b95945050505050565b600080611afc5a60966366ad5c8a60e01b89898989604051602401611ac19493929190613383565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190612348565b91509150816111595761115986868686856123d2565b60006001600160e01b03198216630a72677560e11b1480610b9d57506301ffc9a760e01b6001600160e01b0319831614610b9d565b6000546001600160a01b031633146111735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a8565b6001600160a01b038316611c035760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109a8565b6001600160a01b038216611c645760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109a8565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000611cd284846117e0565b90506000198114611d3a5781811015611d2d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109a8565b611d3a8484848403611ba1565b50505050565b6001600160a01b038316611da45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109a8565b6001600160a01b038216611e065760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109a8565b6001600160a01b03831660009081526007602052604090205481811015611e7e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109a8565b6001600160a01b0380851660008181526007602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ede9086815260200190565b60405180910390a3611d3a565b6001600160a01b038216611f415760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109a8565b8060096000828254611f5391906134af565b90915550506001600160a01b0382166000818152600760209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b611fba86600083600061246f565b6000611fc8888888886124e9565b90506000808783604051602001611fe193929190613356565b604051602081830303815290604052905061200088828787873461251b565b886001600160a01b03168861ffff167f39a4c66499bcf4b56d79f0dde8ed7a9d4925a0df55825206b2b8531e202be0d089856040516120409291906131fc565b60405180910390a3505050505050505050565b602081015161ffff81166120725761206d858585856126c1565b610cb7565b60405162461bcd60e51b815260206004820152601c60248201527f4f4654436f72653a20756e6b6e6f776e207061636b657420747970650000000060448201526064016109a8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821661216a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109a8565b6001600160a01b038216600090815260076020526040902054818110156121de5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109a8565b6001600160a01b03831660008181526007602090815260408083208686039055600980548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611cb9565b505050565b60608161224981601f6134af565b10156122885760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016109a8565b61229282846134af565b845110156122d65760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016109a8565b6060821580156122f5576040519150600082526020820160405261233f565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561232e578051835260209283019201612316565b5050858452601f01601f1916604052505b50949350505050565b6000606060008060008661ffff166001600160401b0381111561236d5761236d61355b565b6040519080825280601f01601f191660200182016040528015612397576020820181803683370190505b50905060008087516020890160008d8df191503d9250868311156123b9578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff1681526020019081526020016000208560405161240391906131cd565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061246090879087908790879087906133cc565b60405180910390a15050505050565b60065460ff161561248b576124868484848461274b565b611d3a565b815115611d3a5760405162461bcd60e51b815260206004820152602660248201527f4f4654436f72653a205f61646170746572506172616d73206d7573742062652060448201526532b6b83a3c9760d11b60648201526084016109a8565b6000336001600160a01b038616811461250757612507868285611cc6565b612511868461210a565b5090949350505050565b61ffff8616600090815260016020526040812080546125399061350a565b80601f01602080910402602001604051908101604052809291908181526020018280546125659061350a565b80156125b25780601f10612587576101008083540402835291602001916125b2565b820191906000526020600020905b81548152906001019060200180831161259557829003601f168201915b505050505090508051600014156126245760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016109a8565b61262f87875161282a565b60405162c5803160e81b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675169063c5803100908490612686908b9086908c908c908c908c906004016132fc565b6000604051808303818588803b15801561269f57600080fd5b505af11580156126b3573d6000803e3d6000fd5b505050505050505050505050565b600080828060200190518101906126d89190612ee9565b9093509150600090506126eb8382612898565b90506126f88782846128fd565b9150806001600160a01b03168761ffff167fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf8460405161273a91815260200190565b60405180910390a350505050505050565b600061275683612910565b61ffff8087166000908152600260209081526040808320938916835292905290812054919250906127889084906134af565b9050600081116127da5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f742073657400000000000060448201526064016109a8565b808210156111595760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f77000000000060448201526064016109a8565b61ffff82166000908152600360205260409020548061284857506127105b808211156122365760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016109a8565b60006128a58260146134af565b835110156128ed5760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b60448201526064016109a8565b500160200151600160601b900490565b60006129098383611eeb565b5092915050565b60006022825110156129645760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d730000000060448201526064016109a8565b506022015190565b8280546129789061350a565b90600052602060002090601f01602090048101928261299a57600085556129e0565b82601f106129b357805160ff19168380011785556129e0565b828001600101855582156129e0579182015b828111156129e05782518255916020019190600101906129c5565b506129ec929150612a64565b5090565b8280546129fc9061350a565b90600052602060002090601f016020900481019282612a1e57600085556129e0565b82601f10612a375782800160ff198235161785556129e0565b828001600101855582156129e0579182015b828111156129e0578235825591602001919060010190612a49565b5b808211156129ec5760008155600101612a65565b80358015158114612a8957600080fd5b919050565b60008083601f840112612aa057600080fd5b5081356001600160401b03811115612ab757600080fd5b602083019150836020828501011115612acf57600080fd5b9250929050565b600082601f830112612ae757600080fd5b8151612afa612af582613488565b613458565b818152846020838601011115612b0f57600080fd5b612b208260208301602087016134de565b949350505050565b80356001600160401b0381168114612a8957600080fd5b600060208284031215612b5157600080fd5b813561137381613571565b60008060408385031215612b6f57600080fd5b8235612b7a81613571565b91506020830135612b8a81613571565b809150509250929050565b600080600060608486031215612baa57600080fd5b8335612bb581613571565b92506020840135612bc581613571565b929592945050506040919091013590565b600080600080600080600080600060e08a8c031215612bf457600080fd5b8935612bff81613571565b985060208a0135612c0f81613586565b975060408a01356001600160401b0380821115612c2b57600080fd5b612c378d838e01612a8e565b909950975060608c0135965060808c01359150612c5382613571565b90945060a08b013590612c6582613571565b90935060c08b01359080821115612c7b57600080fd5b50612c888c828d01612a8e565b915080935050809150509295985092959850929598565b60008060408385031215612cb257600080fd5b8235612cbd81613571565b946020939093013593505050565b600060208284031215612cdd57600080fd5b61137382612a79565b600060208284031215612cf857600080fd5b81356001600160e01b03198116811461137357600080fd5b600060208284031215612d2257600080fd5b81516001600160401b03811115612d3857600080fd5b612b2084828501612ad6565b600060208284031215612d5657600080fd5b813561137381613586565b600080600060408486031215612d7657600080fd5b8335612d8181613586565b925060208401356001600160401b03811115612d9c57600080fd5b612da886828701612a8e565b9497909650939450505050565b600080600080600080600060a0888a031215612dd057600080fd5b8735612ddb81613586565b965060208801356001600160401b0380821115612df757600080fd5b612e038b838c01612a8e565b909850965060408a01359550869150612e1e60608b01612a79565b945060808a0135915080821115612e3457600080fd5b50612e418a828b01612a8e565b989b979a50959850939692959293505050565b60008060008060008060808789031215612e6d57600080fd5b8635612e7881613586565b955060208701356001600160401b0380821115612e9457600080fd5b612ea08a838b01612a8e565b9097509550859150612eb460408a01612b28565b94506060890135915080821115612eca57600080fd5b50612ed789828a01612a8e565b979a9699509497509295939492505050565b600080600060608486031215612efe57600080fd5b8351612f0981613586565b60208501519093506001600160401b03811115612f2557600080fd5b612f3186828701612ad6565b925050604084015190509250925092565b600080600060608486031215612f5757600080fd5b8335612f6281613586565b925060208401356001600160401b03811115612f7d57600080fd5b8401601f81018613612f8e57600080fd5b8035612f9c612af582613488565b818152876020838501011115612fb157600080fd5b81602084016020830137600060208383010152809450505050612fd660408501612b28565b90509250925092565b60008060408385031215612ff257600080fd5b8235612ffd81613586565b91506020830135612b8a81613586565b6000806000806080858703121561302357600080fd5b843561302e81613586565b9350602085013561303e81613586565b9250604085013561304e81613571565b9396929550929360600135925050565b60008060006060848603121561307357600080fd5b833561307e81613586565b92506020840135612bc581613586565b6000806000806000608086880312156130a657600080fd5b85356130b181613586565b945060208601356130c181613586565b93506040860135925060608601356001600160401b038111156130e357600080fd5b6130ef88828901612a8e565b969995985093965092949392505050565b6000806040838503121561311357600080fd5b8235612cbd81613586565b6000806040838503121561313157600080fd5b505080516020909101519092909150565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600081518084526131838160208601602086016134de565b601f01601f19169290920160200192915050565b8183823760009101908152919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600082516131df8184602087016134de565b9190910192915050565b602081526000611373602083018461316b565b60408152600061320f604083018561316b565b90508260208301529392505050565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061324c9083018761316b565b85151560608401528281036080840152613267818587613142565b9998505050505050505050565b61ffff84168152604060208201526000611a90604083018486613142565b61ffff851681526060602082015260006132b0606083018587613142565b905082604083015295945050505050565b61ffff861681526080602082015260006132df608083018688613142565b6001600160401b0394909416604083015250606001529392505050565b61ffff8716815260c06020820152600061331960c083018861316b565b828103604084015261332b818861316b565b6001600160a01b0387811660608601528616608085015283810360a08501529050613267818561316b565b61ffff84168152606060208201526000613373606083018561316b565b9050826040830152949350505050565b61ffff851681526080602082015260006133a0608083018661316b565b6001600160401b038516604084015282810360608401526133c1818561316b565b979650505050505050565b61ffff8616815260a0602082015260006133e960a083018761316b565b6001600160401b0386166040840152828103606084015261340a818661316b565b9050828103608084015261341e818561316b565b98975050505050505050565b600061ffff8088168352808716602084015250846040830152608060608301526133c1608083018486613142565b604051601f8201601f191681016001600160401b03811182821017156134805761348061355b565b604052919050565b60006001600160401b038211156134a1576134a161355b565b50601f01601f191660200190565b600082198211156134c2576134c2613545565b500190565b6000828210156134d9576134d9613545565b500390565b60005b838110156134f95781810151838201526020016134e1565b83811115611d3a5750506000910152565b600181811c9082168061351e57607f821691505b6020821081141561353f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146119d657600080fd5b61ffff811681146119d657600080fdfea26469706673582212209c569a8f9358bdad22e7341db5a5d728d6174f8c657e061d27c4bc8a2fa19daa64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675000000000000000000000000000000000000000000000000000000000000000d5374616b652044414f204d415600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000573644d4156000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Stake DAO MAV
Arg [1] : _symbol (string): sdMAV
Arg [2] : _lzEndpoint (address): 0x66A71Dcef29A0fFBDBE3c6a460a3B5BC225Cd675
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [4] : 5374616b652044414f204d415600000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 73644d4156000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
70437:1124:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50255:762;;;;;;;;;;-1:-1:-1;50255:762:0;;;;;:::i;:::-;;:::i;:::-;;69270:255;;;;;;;;;;-1:-1:-1;69270:255:0;;;;;:::i;:::-;;:::i;:::-;;;13482:14:1;;13475:22;13457:41;;13445:2;13430:18;69270:255:0;;;;;;;;6021:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;53553:123::-;;;;;;;;;;-1:-1:-1;53553:123:0;;;;;:::i;:::-;;:::i;8381:201::-;;;;;;;;;;-1:-1:-1;8381:201:0;;;;;:::i;:::-;;:::i;55478:142::-;;;;;;;;;;-1:-1:-1;55478:142:0;;;;;:::i;:::-;;:::i;53684:129::-;;;;;;;;;;-1:-1:-1;53684:129:0;;;;;:::i;:::-;;:::i;7150:108::-;;;;;;;;;;-1:-1:-1;7238:12:0;;7150:108;;;13655:25:1;;;13643:2;13628:18;7150:108:0;13509:177:1;9162:261:0;;;;;;;;;;-1:-1:-1;9162:261:0;;;;;:::i;:::-;;:::i;65959:427::-;;;;;;;;;;-1:-1:-1;65959:427:0;;;;;:::i;:::-;;:::i;:::-;;;;32000:25:1;;;32056:2;32041:18;;32034:34;;;;31973:18;65959:427:0;31826:248:1;6992:93:0;;;;;;;;;;-1:-1:-1;6992:93:0;;7075:2;32221:36:1;;32209:2;32194:18;6992:93:0;32079:184:1;9832:238:0;;;;;;;;;;-1:-1:-1;9832:238:0;;;;;:::i;:::-;;:::i;55718:250::-;;;;;;;;;;-1:-1:-1;55718:250:0;;;;;:::i;:::-;;:::i;49797:53::-;;;;;;;;;;-1:-1:-1;49797:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;71105:152;;;;;;;;;;-1:-1:-1;71105:152:0;;;;;:::i;:::-;;:::i;53821:178::-;;;;;;;;;;-1:-1:-1;53821:178:0;;;;;:::i;:::-;;:::i;65511:37::-;;;;;;;;;;;;65547:1;65511:37;;65577:34;;;;;;;;;;;;65610:1;65577:34;;;;;25897:6:1;25885:19;;;25867:38;;25855:2;25840:18;65577:34:0;25723:188:1;66394:334:0;;;;;;:::i;:::-;;:::i;70498:23::-;;;;;;;;;;-1:-1:-1;70498:23:0;;;;-1:-1:-1;;;;;70498:23:0;;;;;;-1:-1:-1;;;;;13273:32:1;;;13255:51;;13243:2;13228:18;70498:23:0;13109:203:1;61948:85:0;;;;;;;;;;-1:-1:-1;61948:85:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63170:346;;;;;;;;;;-1:-1:-1;63170:346:0;;;;;:::i;:::-;;:::i;7321:127::-;;;;;;;;;;-1:-1:-1;7321:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;7422:18:0;7395:7;7422:18;;;:9;:18;;;;;;;7321:127;22007:103;;;;;;;;;;;;;:::i;49667:51::-;;;;;;;;;;-1:-1:-1;49667:51:0;;;;;:::i;:::-;;:::i;49725:65::-;;;;;;;;;;-1:-1:-1;49725:65:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;21366:87;;;;;;;;;;-1:-1:-1;21412:7:0;21439:6;-1:-1:-1;;;;;21439:6:0;21366:87;;69644:112;;;;;;;;;;;;;:::i;49857:23::-;;;;;;;;;;-1:-1:-1;49857:23:0;;;;-1:-1:-1;;;;;49857:23:0;;;6240:104;;;;;;;;;;;;;:::i;71402:156::-;;;;;;;;;;-1:-1:-1;71402:156:0;;;;;:::i;:::-;;:::i;54650:330::-;;;;;;;;;;-1:-1:-1;54650:330:0;;;;;:::i;:::-;;:::i;10573:436::-;;;;;;;;;;-1:-1:-1;10573:436:0;;;;;:::i;:::-;;:::i;54361:281::-;;;;;;;;;;-1:-1:-1;54361:281:0;;;;;:::i;:::-;;:::i;7654:193::-;;;;;;;;;;-1:-1:-1;7654:193:0;;;;;:::i;:::-;;:::i;49614:46::-;;;;;;;;;;;;;;;70802:149;;;;;;;;;;-1:-1:-1;70802:149:0;;;;;:::i;:::-;;:::i;54988:136::-;;;;;;;;;;-1:-1:-1;54988:136:0;;;;;:::i;:::-;;:::i;49550:55::-;;;;;;;;;;;;49600:5;49550:55;;53341:204;;;;;;;;;;-1:-1:-1;53341:204:0;;;;;:::i;:::-;;:::i;63702:767::-;;;;;;:::i;:::-;;:::i;7910:151::-;;;;;;;;;;-1:-1:-1;7910:151:0;;;;;:::i;:::-;;:::i;55132:284::-;;;;;;;;;;-1:-1:-1;55132:284:0;;;;;:::i;:::-;;:::i;66736:223::-;;;;;;;;;;-1:-1:-1;66736:223:0;;;;;:::i;:::-;;:::i;54146:207::-;;;;;;;;;;-1:-1:-1;54146:207:0;;;;;:::i;:::-;;:::i;65620:34::-;;;;;;;;;;-1:-1:-1;65620:34:0;;;;;;;;22265:201;;;;;;;;;;-1:-1:-1;22265:201:0;;;;;:::i;:::-;;:::i;53068:211::-;;;;;;;;;;-1:-1:-1;53068:211:0;;;;;:::i;:::-;;:::i;69533:103::-;;;;;;;;;;-1:-1:-1;69623:4:0;69533:103;;50255:762;3907:10;50495;-1:-1:-1;;;;;50471:35:0;;50463:78;;;;-1:-1:-1;;;50463:78:0;;22879:2:1;50463:78:0;;;22861:21:1;22918:2;22898:18;;;22891:30;22957:32;22937:18;;;22930:60;23007:18;;50463:78:0;;;;;;;;;50583:32;;;50554:26;50583:32;;;:19;:32;;;;;50554:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50789:13;:20;50767:11;;:18;;:42;:70;;;;;50836:1;50813:13;:20;:24;50767:70;:124;;;;-1:-1:-1;50867:24:0;;;;;;50841:22;;;;50851:11;;;;50841:22;:::i;:::-;;;;;;;;:50;50767:124;50759:175;;;;-1:-1:-1;;;50759:175:0;;24391:2:1;50759:175:0;;;24373:21:1;24430:2;24410:18;;;24403:30;24469:34;24449:18;;;24442:62;-1:-1:-1;;;24520:18:1;;;24513:36;24566:19;;50759:175:0;24189:402:1;50759:175:0;50947:62;50966:11;50979;;50947:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50947:62:0;;;;;;;;;;;;;;;;;;;;;;50992:6;;-1:-1:-1;50947:62:0;-1:-1:-1;51000:8:0;;;;;;50947:62;;51000:8;;;;50947:62;;;;;;;;;-1:-1:-1;50947:18:0;;-1:-1:-1;;;50947:62:0:i;:::-;50386:631;50255:762;;;;;;:::o;69270:255::-;69373:4;-1:-1:-1;;;;;;69397:37:0;;;;:80;;-1:-1:-1;;;;;;;69438:39:0;;-1:-1:-1;;;69438:39:0;69397:80;:120;;;;69481:36;69505:11;69481:23;:36::i;:::-;69390:127;69270:255;-1:-1:-1;;69270:255:0:o;6021:100::-;6075:13;6108:5;6101:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6021:100;:::o;53553:123::-;21252:13;:11;:13::i;:::-;53633:35:::1;::::0;-1:-1:-1;;;53633:35:0;;25897:6:1;25885:19;;53633:35:0::1;::::0;::::1;25867:38:1::0;53633:10:0::1;-1:-1:-1::0;;;;;53633:25:0::1;::::0;::::1;::::0;25840:18:1;;53633:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;53553:123:::0;:::o;8381:201::-;8464:4;3907:10;8520:32;3907:10;8536:7;8545:6;8520:8;:32::i;:::-;-1:-1:-1;8570:4:0;;8381:201;-1:-1:-1;;;8381:201:0:o;55478:142::-;21252:13;:11;:13::i;:::-;55569:35:::1;::::0;;::::1;;::::0;;;:22:::1;:35;::::0;;;;:43;55478:142::o;53684:129::-;21252:13;:11;:13::i;:::-;53767:38:::1;::::0;-1:-1:-1;;;53767:38:0;;25897:6:1;25885:19;;53767:38:0::1;::::0;::::1;25867::1::0;53767:10:0::1;-1:-1:-1::0;;;;;53767:28:0::1;::::0;::::1;::::0;25840:18:1;;53767:38:0::1;25723:188:1::0;9162:261:0;9259:4;3907:10;9317:38;9333:4;3907:10;9348:6;9317:15;:38::i;:::-;9366:27;9376:4;9382:2;9386:6;9366:9;:27::i;:::-;-1:-1:-1;9411:4:0;;9162:261;-1:-1:-1;;;;9162:261:0:o;65959:427::-;66128:14;66144:11;66212:20;65610:1;66255:10;;66267:7;66235:40;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;66235:40:0;;;;;;;;;;-1:-1:-1;;;66293:85:0;;66235:40;-1:-1:-1;;;;;;66293:10:0;:23;;;;:85;;66317:11;;66338:4;;66235:40;;66354:7;;66363:14;;;;66293:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;66286:92;;;;;65959:427;;;;;;;;;;:::o;9832:238::-;9920:4;3907:10;9976:64;3907:10;9992:7;10029:10;10001:25;3907:10;9992:7;10001:9;:25::i;:::-;:38;;;;:::i;:::-;9976:8;:64::i;55718:250::-;55860:32;;;55814:4;55860:32;;;:19;:32;;;;;55831:61;;55814:4;;55860:32;55831:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55948:11;;55938:22;;;;;;;:::i;:::-;;;;;;;;55920:13;55910:24;;;;;;:50;55903:57;;;55718:250;;;;;:::o;71105:152::-;71187:8;;-1:-1:-1;;;;;71187:8:0;71173:10;:22;71169:50;;71204:15;;-1:-1:-1;;;71204:15:0;;;;;;;;;;;71169:50;71230:19;71236:3;71241:7;71230:5;:19::i;:::-;71105:152;;:::o;53821:178::-;21252:13;:11;:13::i;:::-;53936:55:::1;::::0;-1:-1:-1;;;53936:55:0;;-1:-1:-1;;;;;53936:10:0::1;:29;::::0;::::1;::::0;:55:::1;::::0;53966:11;;53979;;;;53936:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;66394:334:::0;66622:98;66628:5;66635:11;66648:10;;66622:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;66622:98:0;;;;;;;;;;;;;;;;;;;;;;66660:7;;-1:-1:-1;66669:14:0;;-1:-1:-1;66685:18:0;;66705:14;;;;;;66622:98;;66705:14;;;;66622:98;;;;;;;;;-1:-1:-1;66622:5:0;;-1:-1:-1;;;66622:98:0:i;:::-;66394:334;;;;;;;;;:::o;63170:346::-;3907:10;63384:4;63360:29;63352:80;;;;-1:-1:-1;;;63352:80:0;;15224:2:1;63352:80:0;;;15206:21:1;15263:2;15243:18;;;15236:30;15302:34;15282:18;;;15275:62;-1:-1:-1;;;15353:18:1;;;15346:36;15399:19;;63352:80:0;15022:402:1;63352:80:0;63443:65;63465:11;63478;;63443:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;63443:65:0;;;;;;;;;;;;;;;;;;;;;;63491:6;;-1:-1:-1;63443:65:0;-1:-1:-1;63499:8:0;;;;;;63443:65;;63499:8;;;;63443:65;;;;;;;;;-1:-1:-1;63443:21:0;;-1:-1:-1;;;63443:65:0:i;:::-;63170:346;;;;;;:::o;22007:103::-;21252:13;:11;:13::i;:::-;22072:30:::1;22099:1;22072:18;:30::i;:::-;22007:103::o:0;49667:51::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;69644:112::-;69711:4;69735:13;7238:12;;;7150:108;69735:13;69728:20;;69644:112;:::o;6240:104::-;6296:13;6329:7;6322:14;;;;;:::i;71402:156::-;71486:8;;-1:-1:-1;;;;;71486:8:0;71472:10;:22;71468:50;;71503:15;;-1:-1:-1;;;71503:15:0;;;;;;;;;;;71468:50;71529:21;71535:5;71542:7;71529:5;:21::i;54650:330::-;54774:35;;;54754:17;54774:35;;;:19;:35;;;;;54754:55;;54729:12;;54754:17;54774:35;54754:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54828:4;:11;54843:1;54828:16;;54820:58;;;;-1:-1:-1;;;54820:58:0;;16035:2:1;54820:58:0;;;16017:21:1;16074:2;16054:18;;;16047:30;16113:31;16093:18;;;16086:59;16162:18;;54820:58:0;15833:353:1;54820:58:0;54896:31;54907:1;54924:2;54910:4;:11;:16;;;;:::i;:::-;54896:4;;:31;:10;:31::i;:::-;54889:38;54650:330;-1:-1:-1;;;54650:330:0:o;10573:436::-;10666:4;3907:10;10666:4;10749:25;3907:10;10766:7;10749:9;:25::i;:::-;10722:52;;10813:15;10793:16;:35;;10785:85;;;;-1:-1:-1;;;10785:85:0;;24798:2:1;10785:85:0;;;24780:21:1;24837:2;24817:18;;;24810:30;24876:34;24856:18;;;24849:62;-1:-1:-1;;;24927:18:1;;;24920:35;24972:19;;10785:85:0;24596:401:1;10785:85:0;10906:60;10915:5;10922:7;10950:15;10931:16;:34;10906:8;:60::i;54361:281::-;21252:13;:11;:13::i;:::-;54533:14:::1;;54557:4;54516:47;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;54516:47:0;;::::1;::::0;;;;;;54478:35:::1;::::0;::::1;;::::0;;;:19:::1;54516:47;54478:35:::0;;;;;;:85;;::::1;::::0;:35;;:85;;::::1;::::0;::::1;:::i;:::-;;54579:55;54603:14;54619;;54579:55;;;;;;;;:::i;:::-;;;;;;;;54361:281:::0;;;:::o;7654:193::-;7733:4;3907:10;7789:28;3907:10;7806:2;7810:6;7789:9;:28::i;70802:149::-;70880:8;;-1:-1:-1;;;;;70880:8:0;70866:10;:22;70862:50;;70897:15;;-1:-1:-1;;;70897:15:0;;;;;;;;;;;70862:50;70923:8;:20;;-1:-1:-1;;;;;;70923:20:0;-1:-1:-1;;;;;70923:20:0;;;;;;;;;;70802:149::o;54988:136::-;21252:13;:11;:13::i;:::-;55058:8:::1;:20:::0;;-1:-1:-1;;;;;;55058:20:0::1;-1:-1:-1::0;;;;;55058:20:0;::::1;::::0;;::::1;::::0;;;55094:22:::1;::::0;13255:51:1;;;55094:22:0::1;::::0;13243:2:1;13228:18;55094:22:0::1;;;;;;;;54988:136:::0;:::o;53341:204::-;21252:13;:11;:13::i;:::-;53475:62:::1;::::0;-1:-1:-1;;;53475:62:0;;-1:-1:-1;;;;;53475:10:0::1;:20;::::0;::::1;::::0;:62:::1;::::0;53496:8;;53506;;53516:11;;53529:7;;;;53475:62:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;63702:767:::0;63913:27;;;63891:19;63913:27;;;:14;:27;;;;;;:40;;;;63941:11;;;;63913:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63913:48:0;;;;;;;;;;;;-1:-1:-1;63913:48:0;63972:73;;;;-1:-1:-1;;;63972:73:0;;18667:2:1;63972:73:0;;;18649:21:1;18706:2;18686:18;;;18679:30;18745:34;18725:18;;;18718:62;-1:-1:-1;;;18796:18:1;;;18789:33;18839:19;;63972:73:0;18465:399:1;63972:73:0;64087:11;64074:8;;64064:19;;;;;;;:::i;:::-;;;;;;;;:34;64056:80;;;;-1:-1:-1;;;64056:80:0;;23989:2:1;64056:80:0;;;23971:21:1;24028:2;24008:18;;;24001:30;24067:34;24047:18;;;24040:62;-1:-1:-1;;;24118:18:1;;;24111:31;24159:19;;64056:80:0;23787:397:1;64056:80:0;64184:27;;;64243:1;64184:27;;;:14;:27;;;;;;:40;;;;64212:11;;;;64184:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;64184:48:0;;;;;;;;;;;;:61;;;;64314:65;;;;;;;;;;;;;;;;;;;64336:11;;64349;;64314:65;;;;;;64349:11;64314:65;;64349:11;64314:65;;;;;;;;;-1:-1:-1;;64314:65:0;;;;;;;;;;;;;;;;;;;;;;64362:6;;-1:-1:-1;64314:65:0;-1:-1:-1;64370:8:0;;;;;;64314:65;;64370:8;;;;64314:65;;;;;;;;;-1:-1:-1;64314:21:0;;-1:-1:-1;;;64314:65:0:i;:::-;64395:66;64415:11;64428;;64441:6;64449:11;64395:66;;;;;;;;;;:::i;:::-;;;;;;;;63835:634;63702:767;;;;;;:::o;7910:151::-;-1:-1:-1;;;;;8026:18:0;;;7999:7;8026:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;7910:151::o;55132:284::-;21252:13;:11;:13::i;:::-;55256:1:::1;55246:7;:11;55238:45;;;::::0;-1:-1:-1;;;55238:45:0;;17152:2:1;55238:45:0::1;::::0;::::1;17134:21:1::0;17191:2;17171:18;;;17164:30;-1:-1:-1;;;17210:18:1;;;17203:51;17271:18;;55238:45:0::1;16950:345:1::0;55238:45:0::1;55294:28;::::0;;::::1;;::::0;;;:15:::1;:28;::::0;;;;;;;:41;;::::1;::::0;;;;;;;;;;:51;;;55361:47;;31001:34:1;;;31051:18;;31044:43;;;;31103:18;;;31096:34;;;55361:47:0::1;::::0;30964:2:1;30949:18;55361:47:0::1;30778:358:1::0;66736:223:0;21252:13;:11;:13::i;:::-;66837:22:::1;:48:::0;;-1:-1:-1;;66837:48:0::1;::::0;::::1;;::::0;;::::1;::::0;;;66901:50:::1;::::0;13457:41:1;;;66901:50:0::1;::::0;13445:2:1;13430:18;66901:50:0::1;13317:187:1::0;54146:207:0;21252:13;:11;:13::i;:::-;54247:35:::1;::::0;::::1;;::::0;;;:19:::1;:35;::::0;;;;:43:::1;::::0;54285:5;;54247:43:::1;:::i;:::-;;54306:39;54323:14;54339:5;;54306:39;;;;;;;;:::i;22265:201::-:0;21252:13;:11;:13::i;:::-;-1:-1:-1;;;;;22354:22:0;::::1;22346:73;;;::::0;-1:-1:-1;;;22346:73:0;;17857:2:1;22346:73:0::1;::::0;::::1;17839:21:1::0;17896:2;17876:18;;;17869:30;17935:34;17915:18;;;17908:62;-1:-1:-1;;;17986:18:1;;;17979:36;18032:19;;22346:73:0::1;17655:402:1::0;22346:73:0::1;22430:28;22449:8;22430:18;:28::i;:::-;22265:201:::0;:::o;53068:211::-;53203:68;;-1:-1:-1;;;53203:68:0;;30554:6:1;30587:15;;;53203:68:0;;;30569:34:1;30639:15;;30619:18;;;30612:43;53252:4:0;30671:18:1;;;30664:60;30740:18;;;30733:34;;;53171:12:0;;53203:10;-1:-1:-1;;;;;53203:20:0;;;;30516:19:1;;53203:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53203:68:0;;;;;;;;;;;;:::i;:::-;53196:75;53068:211;-1:-1:-1;;;;;53068:211:0:o;62317:514::-;62467:12;62481:19;62504:153;62538:9;62549:3;62577:34;;;62613:11;62626;62639:6;62647:8;62554:102;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;62554:102:0;;;;;;;;;;;;;;-1:-1:-1;;;;;62554:102:0;-1:-1:-1;;;;;;62554:102:0;;;;;;;;;;62512:4;;62504:153;;:33;:153::i;:::-;62466:191;;;;62717:7;62712:112;;62741:71;62761:11;62774;62787:6;62795:8;62805:6;62741:19;:71::i;65736:215::-;65838:4;-1:-1:-1;;;;;;65862:41:0;;-1:-1:-1;;;65862:41:0;;:81;;-1:-1:-1;;;;;;;;;;65352:40:0;;;65907:36;65243:157;21531:132;21412:7;21439:6;-1:-1:-1;;;;;21439:6:0;3907:10;21595:23;21587:68;;;;-1:-1:-1;;;21587:68:0;;21360:2:1;21587:68:0;;;21342:21:1;;;21379:18;;;21372:30;21438:34;21418:18;;;21411:62;21490:18;;21587:68:0;21158:356:1;14566:346:0;-1:-1:-1;;;;;14668:19:0;;14660:68;;;;-1:-1:-1;;;14660:68:0;;23238:2:1;14660:68:0;;;23220:21:1;23277:2;23257:18;;;23250:30;23316:34;23296:18;;;23289:62;-1:-1:-1;;;23367:18:1;;;23360:34;23411:19;;14660:68:0;23036:400:1;14660:68:0;-1:-1:-1;;;;;14747:21:0;;14739:68;;;;-1:-1:-1;;;14739:68:0;;18264:2:1;14739:68:0;;;18246:21:1;18303:2;18283:18;;;18276:30;18342:34;18322:18;;;18315:62;-1:-1:-1;;;18393:18:1;;;18386:32;18435:19;;14739:68:0;18062:398:1;14739:68:0;-1:-1:-1;;;;;14820:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14872:32;;13655:25:1;;;14872:32:0;;13628:18:1;14872:32:0;;;;;;;;14566:346;;;:::o;15203:419::-;15304:24;15331:25;15341:5;15348:7;15331:9;:25::i;:::-;15304:52;;-1:-1:-1;;15371:16:0;:37;15367:248;;15453:6;15433:16;:26;;15425:68;;;;-1:-1:-1;;;15425:68:0;;19071:2:1;15425:68:0;;;19053:21:1;19110:2;19090:18;;;19083:30;19149:31;19129:18;;;19122:59;19198:18;;15425:68:0;18869:353:1;15425:68:0;15537:51;15546:5;15553:7;15581:6;15562:16;:25;15537:8;:51::i;:::-;15293:329;15203:419;;;:::o;11479:806::-;-1:-1:-1;;;;;11576:18:0;;11568:68;;;;-1:-1:-1;;;11568:68:0;;22473:2:1;11568:68:0;;;22455:21:1;22512:2;22492:18;;;22485:30;22551:34;22531:18;;;22524:62;-1:-1:-1;;;22602:18:1;;;22595:35;22647:19;;11568:68:0;22271:401:1;11568:68:0;-1:-1:-1;;;;;11655:16:0;;11647:64;;;;-1:-1:-1;;;11647:64:0;;15631:2:1;11647:64:0;;;15613:21:1;15670:2;15650:18;;;15643:30;15709:34;15689:18;;;15682:62;-1:-1:-1;;;15760:18:1;;;15753:33;15803:19;;11647:64:0;15429:399:1;11647:64:0;-1:-1:-1;;;;;11797:15:0;;11775:19;11797:15;;;:9;:15;;;;;;11831:21;;;;11823:72;;;;-1:-1:-1;;;11823:72:0;;19429:2:1;11823:72:0;;;19411:21:1;19468:2;19448:18;;;19441:30;19507:34;19487:18;;;19480:62;-1:-1:-1;;;19558:18:1;;;19551:36;19604:19;;11823:72:0;19227:402:1;11823:72:0;-1:-1:-1;;;;;11931:15:0;;;;;;;:9;:15;;;;;;11949:20;;;11931:38;;12149:13;;;;;;;;;;:23;;;;;;12201:26;;;;;;11963:6;13655:25:1;;13643:2;13628:18;;13509:177;12201:26:0;;;;;;;;12240:37;13453:675;12572:548;-1:-1:-1;;;;;12656:21:0;;12648:65;;;;-1:-1:-1;;;12648:65:0;;25204:2:1;12648:65:0;;;25186:21:1;25243:2;25223:18;;;25216:30;25282:33;25262:18;;;25255:61;25333:18;;12648:65:0;25002:355:1;12648:65:0;12804:6;12788:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;12959:18:0;;;;;;:9;:18;;;;;;;;:28;;;;;;13014:37;13655:25:1;;;13014:37:0;;13628:18:1;13014:37:0;;;;;;;71105:152;;:::o;67424:614::-;67630:71;67650:11;65610:1;67672:14;65547:1;67630:19;:71::i;:::-;67714:11;67728:51;67739:5;67746:11;67759:10;67771:7;67728:10;:51::i;:::-;67714:65;;67792:22;65610:1;67837:10;67849:6;67817:39;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;67792:64;;67867:94;67875:11;67888:9;67899:14;67915:18;67935:14;67951:9;67867:7;:94::i;:::-;68004:5;-1:-1:-1;;;;;67979:51:0;67991:11;67979:51;;;68011:10;68023:6;67979:51;;;;;;;:::i;:::-;;;;;;;;67619:419;;67424:614;;;;;;;:::o;66967:449::-;67205:2;67191:17;;67185:24;67236:21;;;67232:177;;67274:52;67283:11;67296;67309:6;67317:8;67274;:52::i;:::-;67232:177;;;67359:38;;-1:-1:-1;;;67359:38:0;;14867:2:1;67359:38:0;;;14849:21:1;14906:2;14886:18;;;14879:30;14945;14925:18;;;14918:58;14993:18;;67359:38:0;14665:352:1;22626:191:0;22700:16;22719:6;;-1:-1:-1;;;;;22736:17:0;;;-1:-1:-1;;;;;;22736:17:0;;;;;;22769:40;;22719:6;;;;;;;22769:40;;22700:16;22769:40;22689:128;22626:191;:::o;13453:675::-;-1:-1:-1;;;;;13537:21:0;;13529:67;;;;-1:-1:-1;;;13529:67:0;;22071:2:1;13529:67:0;;;22053:21:1;22110:2;22090:18;;;22083:30;22149:34;22129:18;;;22122:62;-1:-1:-1;;;22200:18:1;;;22193:31;22241:19;;13529:67:0;21869:397:1;13529:67:0;-1:-1:-1;;;;;13696:18:0;;13671:22;13696:18;;;:9;:18;;;;;;13733:24;;;;13725:71;;;;-1:-1:-1;;;13725:71:0;;16749:2:1;13725:71:0;;;16731:21:1;16788:2;16768:18;;;16761:30;16827:34;16807:18;;;16800:62;-1:-1:-1;;;16878:18:1;;;16871:32;16920:19;;13725:71:0;16547:398:1;13725:71:0;-1:-1:-1;;;;;13832:18:0;;;;;;:9;:18;;;;;;;;13853:23;;;13832:44;;13971:12;:22;;;;;;;14022:37;13655:25:1;;;13832:18:0;;;14022:37;;13628:18:1;14022:37:0;13509:177:1;14072:48:0;13518:610;13453:675;;:::o;39375:2779::-;39516:12;39570:7;39554:12;39570:7;39564:2;39554:12;:::i;:::-;:23;;39546:50;;;;-1:-1:-1;;;39546:50:0;;19836:2:1;39546:50:0;;;19818:21:1;19875:2;19855:18;;;19848:30;-1:-1:-1;;;19894:18:1;;;19887:44;19948:18;;39546:50:0;19634:338:1;39546:50:0;39632:16;39641:7;39632:6;:16;:::i;:::-;39615:6;:13;:33;;39607:63;;;;-1:-1:-1;;;39607:63:0;;23643:2:1;39607:63:0;;;23625:21:1;23682:2;23662:18;;;23655:30;-1:-1:-1;;;23701:18:1;;;23694:47;23758:18;;39607:63:0;23441:341:1;39607:63:0;39683:22;39749:15;;39778:1933;;;;41855:4;41849:11;41836:24;;42036:1;42025:9;42018:20;42086:4;42075:9;42071:20;42065:4;42058:34;39742:2365;;39778:1933;39955:4;39949:11;39936:24;;40592:2;40583:7;40579:16;40964:9;40957:17;40951:4;40947:28;40935:9;40924;40920:25;40916:60;41013:7;41009:2;41005:16;41262:6;41248:9;41241:17;41235:4;41231:28;41219:9;41211:6;41207:22;41203:57;41199:70;41041:426;41296:3;41292:2;41289:11;41041:426;;;41438:9;;41427:21;;41338:4;41330:13;;;;41371;41041:426;;;-1:-1:-1;;41487:26:0;;;41691:2;41674:11;-1:-1:-1;;41670:25:0;41664:4;41657:39;-1:-1:-1;39742:2365:0;-1:-1:-1;42137:9:0;39375:2779;-1:-1:-1;;;;39375:2779:0:o;57040:1275::-;57202:4;57208:12;57270:15;57296:13;57320:24;57357:8;57347:19;;-1:-1:-1;;;;;57347:19:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57347:19:0;;57320:46;;57848:1;57822;57788:9;57782:16;57753:4;57742:9;57738:20;57707:1;57672:7;57646:4;57627:247;57615:259;;57939:16;57928:27;;57984:8;57975:7;57972:21;57969:78;;;58024:8;58013:19;;57969:78;58130:7;58117:11;58110:28;58248:7;58245:1;58238:4;58225:11;58221:22;58206:50;58285:8;;;;-1:-1:-1;57040:1275:0;-1:-1:-1;;;;;;57040:1275:0:o;62839:323::-;63063:8;63053:19;;;;;;63002:14;:27;63017:11;63002:27;;;;;;;;;;;;;;;63030:11;63002:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63002:48:0;;;;;;;;;:70;;;;63088:66;;;;63102:11;;63115;;63043:6;;63136:8;;63146:7;;63088:66;:::i;:::-;;;;;;;;62839:323;;;;;:::o;68429:373::-;68571:22;;;;68567:228;;;68610:63;68625:11;68638:7;68647:14;68663:9;68610:14;:63::i;:::-;68567:228;;;68714:21;;:26;68706:77;;;;-1:-1:-1;;;68706:77:0;;20953:2:1;68706:77:0;;;20935:21:1;20992:2;20972:18;;;20965:30;21031:34;21011:18;;;21004:62;-1:-1:-1;;;21082:18:1;;;21075:36;21128:19;;68706:77:0;20751:402:1;69764:290:0;69869:4;3907:10;-1:-1:-1;;;;;69931:16:0;;;;69927:62;;69949:40;69965:5;69972:7;69981;69949:15;:40::i;:::-;70000:21;70006:5;70013:7;70000:5;:21::i;:::-;-1:-1:-1;70039:7:0;;69764:290;-1:-1:-1;;;;69764:290:0:o;51306:553::-;51529:32;;;51500:26;51529:32;;;:19;:32;;;;;51500:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51580:13;:20;51604:1;51580:25;;51572:86;;;;-1:-1:-1;;;51572:86:0;;20179:2:1;51572:86:0;;;20161:21:1;20218:2;20198:18;;;20191:30;20257:34;20237:18;;;20230:62;-1:-1:-1;;;20308:18:1;;;20301:46;20364:19;;51572:86:0;19977:412:1;51572:86:0;51669:47;51687:11;51700:8;:15;51669:17;:47::i;:::-;51727:124;;-1:-1:-1;;;51727:124:0;;-1:-1:-1;;;;;51727:10:0;:15;;;;51750:10;;51727:124;;51762:11;;51775:13;;51790:8;;51800:14;;51816:18;;51836:14;;51727:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51489:370;51306:553;;;;;;:::o;68046:375::-;68160:27;68189:11;68215:8;68204:43;;;;;;;;;;;;:::i;:::-;68157:90;;-1:-1:-1;68157:90:0;-1:-1:-1;68260:10:0;;-1:-1:-1;68273:27:0;68157:90;68260:10;68273:24;:27::i;:::-;68260:40;;68322:34;68332:11;68345:2;68349:6;68322:9;:34::i;:::-;68313:43;;68402:2;-1:-1:-1;;;;;68372:41:0;68389:11;68372:41;;;68406:6;68372:41;;;;13655:25:1;;13643:2;13628:18;;13509:177;68372:41:0;;;;;;;;68146:275;;;68046:375;;;;:::o;51867:420::-;52003:21;52027:28;52040:14;52027:12;:28::i;:::-;52085;;;;52066:16;52085:28;;;:15;:28;;;;;;;;:35;;;;;;;;;;;;52003:52;;-1:-1:-1;52066:16:0;52085:47;;52123:9;;52085:47;:::i;:::-;52066:66;;52165:1;52151:11;:15;52143:54;;;;-1:-1:-1;;;52143:54:0;;17502:2:1;52143:54:0;;;17484:21:1;17541:2;17521:18;;;17514:30;17580:28;17560:18;;;17553:56;17626:18;;52143:54:0;17300:350:1;52143:54:0;52236:11;52216:16;:31;;52208:71;;;;-1:-1:-1;;;52208:71:0;;16393:2:1;52208:71:0;;;16375:21:1;16432:2;16412:18;;;16405:30;16471:29;16451:18;;;16444:57;16518:18;;52208:71:0;16191:351:1;52574:389:0;52697:35;;;52673:21;52697:35;;;:22;:35;;;;;;52747:21;52743:125;;-1:-1:-1;49600:5:0;52743:125;52902:16;52886:12;:32;;52878:77;;;;-1:-1:-1;;;52878:77:0;;25564:2:1;52878:77:0;;;25546:21:1;;;25583:18;;;25576:30;25642:34;25622:18;;;25615:62;25694:18;;52878:77:0;25362:356:1;42162:363:0;42241:7;42286:11;:6;42295:2;42286:11;:::i;:::-;42269:6;:13;:28;;42261:62;;;;-1:-1:-1;;;42261:62:0;;21721:2:1;42261:62:0;;;21703:21:1;21760:2;21740:18;;;21733:30;-1:-1:-1;;;21779:18:1;;;21772:51;21840:18;;42261:62:0;21519:345:1;42261:62:0;-1:-1:-1;42415:30:0;42431:4;42415:30;42409:37;-1:-1:-1;;;42405:71:0;;;42162:363::o;70062:171::-;70157:4;70174:26;70180:10;70192:7;70174:5;:26::i;:::-;-1:-1:-1;70218:7:0;70062:171;-1:-1:-1;;70062:171:0:o;52295:271::-;52377:13;52436:2;52411:14;:21;:27;;52403:68;;;;-1:-1:-1;;;52403:68:0;;20596:2:1;52403:68:0;;;20578:21:1;20635:2;20615:18;;;20608:30;20674;20654:18;;;20647:58;20722:18;;52403:68:0;20394:352:1;52403:68:0;-1:-1:-1;52544:2:0;52524:23;52518:30;;52295:271::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:160:1;79:20;;135:13;;128:21;118:32;;108:60;;164:1;161;154:12;108:60;14:160;;;:::o;179:347::-;230:8;240:6;294:3;287:4;279:6;275:17;271:27;261:55;;312:1;309;302:12;261:55;-1:-1:-1;335:20:1;;-1:-1:-1;;;;;367:30:1;;364:50;;;410:1;407;400:12;364:50;447:4;439:6;435:17;423:29;;499:3;492:4;483:6;475;471:19;467:30;464:39;461:59;;;516:1;513;506:12;461:59;179:347;;;;;:::o;531:428::-;584:5;637:3;630:4;622:6;618:17;614:27;604:55;;655:1;652;645:12;604:55;684:6;678:13;715:48;731:31;759:2;731:31;:::i;:::-;715:48;:::i;:::-;788:2;779:7;772:19;834:3;827:4;822:2;814:6;810:15;806:26;803:35;800:55;;;851:1;848;841:12;800:55;864:64;925:2;918:4;909:7;905:18;898:4;890:6;886:17;864:64;:::i;:::-;946:7;531:428;-1:-1:-1;;;;531:428:1:o;964:171::-;1031:20;;-1:-1:-1;;;;;1080:30:1;;1070:41;;1060:69;;1125:1;1122;1115:12;1140:247;1199:6;1252:2;1240:9;1231:7;1227:23;1223:32;1220:52;;;1268:1;1265;1258:12;1220:52;1307:9;1294:23;1326:31;1351:5;1326:31;:::i;1392:388::-;1460:6;1468;1521:2;1509:9;1500:7;1496:23;1492:32;1489:52;;;1537:1;1534;1527:12;1489:52;1576:9;1563:23;1595:31;1620:5;1595:31;:::i;:::-;1645:5;-1:-1:-1;1702:2:1;1687:18;;1674:32;1715:33;1674:32;1715:33;:::i;:::-;1767:7;1757:17;;;1392:388;;;;;:::o;1785:456::-;1862:6;1870;1878;1931:2;1919:9;1910:7;1906:23;1902:32;1899:52;;;1947:1;1944;1937:12;1899:52;1986:9;1973:23;2005:31;2030:5;2005:31;:::i;:::-;2055:5;-1:-1:-1;2112:2:1;2097:18;;2084:32;2125:33;2084:32;2125:33;:::i;:::-;1785:456;;2177:7;;-1:-1:-1;;;2231:2:1;2216:18;;;;2203:32;;1785:456::o;2246:1353::-;2388:6;2396;2404;2412;2420;2428;2436;2444;2452;2505:3;2493:9;2484:7;2480:23;2476:33;2473:53;;;2522:1;2519;2512:12;2473:53;2561:9;2548:23;2580:31;2605:5;2580:31;:::i;:::-;2630:5;-1:-1:-1;2687:2:1;2672:18;;2659:32;2700;2659;2700;:::i;:::-;2751:7;-1:-1:-1;2809:2:1;2794:18;;2781:32;-1:-1:-1;;;;;2862:14:1;;;2859:34;;;2889:1;2886;2879:12;2859:34;2928:58;2978:7;2969:6;2958:9;2954:22;2928:58;:::i;:::-;3005:8;;-1:-1:-1;2902:84:1;-1:-1:-1;3087:2:1;3072:18;;3059:32;;-1:-1:-1;3143:3:1;3128:19;;3115:33;;-1:-1:-1;3157:33:1;3115;3157;:::i;:::-;3209:7;;-1:-1:-1;3268:3:1;3253:19;;3240:33;;3282;3240;3282;:::i;:::-;3334:7;;-1:-1:-1;3394:3:1;3379:19;;3366:33;;3411:16;;;3408:36;;;3440:1;3437;3430:12;3408:36;;3479:60;3531:7;3520:8;3509:9;3505:24;3479:60;:::i;:::-;3453:86;;3558:8;3548:18;;;3585:8;3575:18;;;2246:1353;;;;;;;;;;;:::o;3604:315::-;3672:6;3680;3733:2;3721:9;3712:7;3708:23;3704:32;3701:52;;;3749:1;3746;3739:12;3701:52;3788:9;3775:23;3807:31;3832:5;3807:31;:::i;:::-;3857:5;3909:2;3894:18;;;;3881:32;;-1:-1:-1;;;3604:315:1:o;3924:180::-;3980:6;4033:2;4021:9;4012:7;4008:23;4004:32;4001:52;;;4049:1;4046;4039:12;4001:52;4072:26;4088:9;4072:26;:::i;4109:286::-;4167:6;4220:2;4208:9;4199:7;4195:23;4191:32;4188:52;;;4236:1;4233;4226:12;4188:52;4262:23;;-1:-1:-1;;;;;;4314:32:1;;4304:43;;4294:71;;4361:1;4358;4351:12;4400:335;4479:6;4532:2;4520:9;4511:7;4507:23;4503:32;4500:52;;;4548:1;4545;4538:12;4500:52;4581:9;4575:16;-1:-1:-1;;;;;4606:6:1;4603:30;4600:50;;;4646:1;4643;4636:12;4600:50;4669:60;4721:7;4712:6;4701:9;4697:22;4669:60;:::i;4740:245::-;4798:6;4851:2;4839:9;4830:7;4826:23;4822:32;4819:52;;;4867:1;4864;4857:12;4819:52;4906:9;4893:23;4925:30;4949:5;4925:30;:::i;4990:542::-;5068:6;5076;5084;5137:2;5125:9;5116:7;5112:23;5108:32;5105:52;;;5153:1;5150;5143:12;5105:52;5192:9;5179:23;5211:30;5235:5;5211:30;:::i;:::-;5260:5;-1:-1:-1;5316:2:1;5301:18;;5288:32;-1:-1:-1;;;;;5332:30:1;;5329:50;;;5375:1;5372;5365:12;5329:50;5414:58;5464:7;5455:6;5444:9;5440:22;5414:58;:::i;:::-;4990:542;;5491:8;;-1:-1:-1;5388:84:1;;-1:-1:-1;;;;4990:542:1:o;5537:988::-;5650:6;5658;5666;5674;5682;5690;5698;5751:3;5739:9;5730:7;5726:23;5722:33;5719:53;;;5768:1;5765;5758:12;5719:53;5807:9;5794:23;5826:30;5850:5;5826:30;:::i;:::-;5875:5;-1:-1:-1;5931:2:1;5916:18;;5903:32;-1:-1:-1;;;;;5984:14:1;;;5981:34;;;6011:1;6008;6001:12;5981:34;6050:58;6100:7;6091:6;6080:9;6076:22;6050:58;:::i;:::-;6127:8;;-1:-1:-1;6024:84:1;-1:-1:-1;6209:2:1;6194:18;;6181:32;;-1:-1:-1;6024:84:1;;-1:-1:-1;6232:35:1;6263:2;6248:18;;6232:35;:::i;:::-;6222:45;;6320:3;6309:9;6305:19;6292:33;6276:49;;6350:2;6340:8;6337:16;6334:36;;;6366:1;6363;6356:12;6334:36;;6405:60;6457:7;6446:8;6435:9;6431:24;6405:60;:::i;:::-;5537:988;;;;-1:-1:-1;5537:988:1;;-1:-1:-1;5537:988:1;;;;6379:86;;-1:-1:-1;;;5537:988:1:o;6530:923::-;6636:6;6644;6652;6660;6668;6676;6729:3;6717:9;6708:7;6704:23;6700:33;6697:53;;;6746:1;6743;6736:12;6697:53;6785:9;6772:23;6804:30;6828:5;6804:30;:::i;:::-;6853:5;-1:-1:-1;6909:2:1;6894:18;;6881:32;-1:-1:-1;;;;;6962:14:1;;;6959:34;;;6989:1;6986;6979:12;6959:34;7028:58;7078:7;7069:6;7058:9;7054:22;7028:58;:::i;:::-;7105:8;;-1:-1:-1;7002:84:1;-1:-1:-1;7002:84:1;;-1:-1:-1;7159:37:1;7192:2;7177:18;;7159:37;:::i;:::-;7149:47;;7249:2;7238:9;7234:18;7221:32;7205:48;;7278:2;7268:8;7265:16;7262:36;;;7294:1;7291;7284:12;7262:36;;7333:60;7385:7;7374:8;7363:9;7359:24;7333:60;:::i;:::-;6530:923;;;;-1:-1:-1;6530:923:1;;-1:-1:-1;6530:923:1;;7412:8;;6530:923;-1:-1:-1;;;6530:923:1:o;7458:522::-;7554:6;7562;7570;7623:2;7611:9;7602:7;7598:23;7594:32;7591:52;;;7639:1;7636;7629:12;7591:52;7671:9;7665:16;7690:30;7714:5;7690:30;:::i;:::-;7788:2;7773:18;;7767:25;7739:5;;-1:-1:-1;;;;;;7804:30:1;;7801:50;;;7847:1;7844;7837:12;7801:50;7870:60;7922:7;7913:6;7902:9;7898:22;7870:60;:::i;:::-;7860:70;;;7970:2;7959:9;7955:18;7949:25;7939:35;;7458:522;;;;;:::o;7985:876::-;8069:6;8077;8085;8138:2;8126:9;8117:7;8113:23;8109:32;8106:52;;;8154:1;8151;8144:12;8106:52;8193:9;8180:23;8212:30;8236:5;8212:30;:::i;:::-;8261:5;-1:-1:-1;8317:2:1;8302:18;;8289:32;-1:-1:-1;;;;;8333:30:1;;8330:50;;;8376:1;8373;8366:12;8330:50;8399:22;;8452:4;8444:13;;8440:27;-1:-1:-1;8430:55:1;;8481:1;8478;8471:12;8430:55;8517:2;8504:16;8542:48;8558:31;8586:2;8558:31;:::i;8542:48::-;8613:2;8606:5;8599:17;8653:7;8648:2;8643;8639;8635:11;8631:20;8628:33;8625:53;;;8674:1;8671;8664:12;8625:53;8729:2;8724;8720;8716:11;8711:2;8704:5;8700:14;8687:45;8773:1;8768:2;8763;8756:5;8752:14;8748:23;8741:34;8794:5;8784:15;;;;;8818:37;8851:2;8840:9;8836:18;8818:37;:::i;:::-;8808:47;;7985:876;;;;;:::o;8866:384::-;8932:6;8940;8993:2;8981:9;8972:7;8968:23;8964:32;8961:52;;;9009:1;9006;8999:12;8961:52;9048:9;9035:23;9067:30;9091:5;9067:30;:::i;:::-;9116:5;-1:-1:-1;9173:2:1;9158:18;;9145:32;9186;9145;9186;:::i;9255:594::-;9339:6;9347;9355;9363;9416:3;9404:9;9395:7;9391:23;9387:33;9384:53;;;9433:1;9430;9423:12;9384:53;9472:9;9459:23;9491:30;9515:5;9491:30;:::i;:::-;9540:5;-1:-1:-1;9597:2:1;9582:18;;9569:32;9610;9569;9610;:::i;:::-;9661:7;-1:-1:-1;9720:2:1;9705:18;;9692:32;9733:33;9692:32;9733:33;:::i;:::-;9255:594;;;;-1:-1:-1;9785:7:1;;9839:2;9824:18;9811:32;;-1:-1:-1;;9255:594:1:o;9854:452::-;9929:6;9937;9945;9998:2;9986:9;9977:7;9973:23;9969:32;9966:52;;;10014:1;10011;10004:12;9966:52;10053:9;10040:23;10072:30;10096:5;10072:30;:::i;:::-;10121:5;-1:-1:-1;10178:2:1;10163:18;;10150:32;10191;10150;10191;:::i;10311:750::-;10406:6;10414;10422;10430;10438;10491:3;10479:9;10470:7;10466:23;10462:33;10459:53;;;10508:1;10505;10498:12;10459:53;10547:9;10534:23;10566:30;10590:5;10566:30;:::i;:::-;10615:5;-1:-1:-1;10672:2:1;10657:18;;10644:32;10685;10644;10685;:::i;:::-;10736:7;-1:-1:-1;10790:2:1;10775:18;;10762:32;;-1:-1:-1;10845:2:1;10830:18;;10817:32;-1:-1:-1;;;;;10861:30:1;;10858:50;;;10904:1;10901;10894:12;10858:50;10943:58;10993:7;10984:6;10973:9;10969:22;10943:58;:::i;:::-;10311:750;;;;-1:-1:-1;10311:750:1;;-1:-1:-1;11020:8:1;;10917:84;10311:750;-1:-1:-1;;;10311:750:1:o;11066:313::-;11133:6;11141;11194:2;11182:9;11173:7;11169:23;11165:32;11162:52;;;11210:1;11207;11200:12;11162:52;11249:9;11236:23;11268:30;11292:5;11268:30;:::i;11384:245::-;11463:6;11471;11524:2;11512:9;11503:7;11499:23;11495:32;11492:52;;;11540:1;11537;11530:12;11492:52;-1:-1:-1;;11563:16:1;;11619:2;11604:18;;;11598:25;11563:16;;11598:25;;-1:-1:-1;11384:245:1:o;11634:266::-;11722:6;11717:3;11710:19;11774:6;11767:5;11760:4;11755:3;11751:14;11738:43;-1:-1:-1;11826:1:1;11801:16;;;11819:4;11797:27;;;11790:38;;;;11882:2;11861:15;;;-1:-1:-1;;11857:29:1;11848:39;;;11844:50;;11634:266::o;11905:257::-;11946:3;11984:5;11978:12;12011:6;12006:3;11999:19;12027:63;12083:6;12076:4;12071:3;12067:14;12060:4;12053:5;12049:16;12027:63;:::i;:::-;12144:2;12123:15;-1:-1:-1;;12119:29:1;12110:39;;;;12151:4;12106:50;;11905:257;-1:-1:-1;;11905:257:1:o;12167:271::-;12350:6;12342;12337:3;12324:33;12306:3;12376:16;;12401:13;;;12376:16;12167:271;-1:-1:-1;12167:271:1:o;12443:382::-;12654:6;12646;12641:3;12628:33;12746:2;12742:15;;;;-1:-1:-1;;12738:53:1;12680:16;;12727:65;;;12816:2;12808:11;;12443:382;-1:-1:-1;12443:382:1:o;12830:274::-;12959:3;12997:6;12991:13;13013:53;13059:6;13054:3;13047:4;13039:6;13035:17;13013:53;:::i;:::-;13082:16;;;;;12830:274;-1:-1:-1;;12830:274:1:o;13691:217::-;13838:2;13827:9;13820:21;13801:4;13858:44;13898:2;13887:9;13883:18;13875:6;13858:44;:::i;13913:288::-;14088:2;14077:9;14070:21;14051:4;14108:44;14148:2;14137:9;14133:18;14125:6;14108:44;:::i;:::-;14100:52;;14188:6;14183:2;14172:9;14168:18;14161:34;13913:288;;;;;:::o;25916:667::-;26207:6;26195:19;;26177:38;;-1:-1:-1;;;;;26251:32:1;;26246:2;26231:18;;26224:60;26271:3;26315:2;26300:18;;26293:31;;;-1:-1:-1;;26347:45:1;;26372:19;;26364:6;26347:45;:::i;:::-;26442:6;26435:14;26428:22;26423:2;26412:9;26408:18;26401:50;26500:9;26492:6;26488:22;26482:3;26471:9;26467:19;26460:51;26528:49;26570:6;26562;26554;26528:49;:::i;:::-;26520:57;25916:667;-1:-1:-1;;;;;;;;;25916:667:1:o;26588:326::-;26783:6;26775;26771:19;26760:9;26753:38;26827:2;26822;26811:9;26807:18;26800:30;26734:4;26847:61;26904:2;26893:9;26889:18;26881:6;26873;26847:61;:::i;26919:397::-;27142:6;27134;27130:19;27119:9;27112:38;27186:2;27181;27170:9;27166:18;27159:30;27093:4;27206:61;27263:2;27252:9;27248:18;27240:6;27232;27206:61;:::i;:::-;27198:69;;27303:6;27298:2;27287:9;27283:18;27276:34;26919:397;;;;;;;:::o;27321:493::-;27570:6;27562;27558:19;27547:9;27540:38;27614:3;27609:2;27598:9;27594:18;27587:31;27521:4;27635:62;27692:3;27681:9;27677:19;27669:6;27661;27635:62;:::i;:::-;-1:-1:-1;;;;;27733:31:1;;;;27728:2;27713:18;;27706:59;-1:-1:-1;27796:2:1;27781:18;27774:34;27627:70;27321:493;-1:-1:-1;;;27321:493:1:o;27819:837::-;28168:6;28160;28156:19;28145:9;28138:38;28212:3;28207:2;28196:9;28192:18;28185:31;28119:4;28239:45;28279:3;28268:9;28264:19;28256:6;28239:45;:::i;:::-;28332:9;28324:6;28320:22;28315:2;28304:9;28300:18;28293:50;28366:32;28391:6;28383;28366:32;:::i;:::-;-1:-1:-1;;;;;28472:15:1;;;28467:2;28452:18;;28445:43;28525:15;;28519:3;28504:19;;28497:44;28578:22;;;28425:3;28557:19;;28550:51;28352:46;-1:-1:-1;28618:32:1;28352:46;28635:6;28618:32;:::i;28661:370::-;28874:6;28866;28862:19;28851:9;28844:38;28918:2;28913;28902:9;28898:18;28891:30;28825:4;28938:44;28978:2;28967:9;28963:18;28955:6;28938:44;:::i;:::-;28930:52;;29018:6;29013:2;29002:9;28998:18;28991:34;28661:370;;;;;;:::o;29036:555::-;29293:6;29285;29281:19;29270:9;29263:38;29337:3;29332:2;29321:9;29317:18;29310:31;29244:4;29364:45;29404:3;29393:9;29389:19;29381:6;29364:45;:::i;:::-;-1:-1:-1;;;;;29449:6:1;29445:31;29440:2;29429:9;29425:18;29418:59;29525:9;29517:6;29513:22;29508:2;29497:9;29493:18;29486:50;29553:32;29578:6;29570;29553:32;:::i;:::-;29545:40;29036:555;-1:-1:-1;;;;;;;29036:555:1:o;29596:716::-;29899:6;29891;29887:19;29876:9;29869:38;29943:3;29938:2;29927:9;29923:18;29916:31;29850:4;29970:45;30010:3;29999:9;29995:19;29987:6;29970:45;:::i;:::-;-1:-1:-1;;;;;30055:6:1;30051:31;30046:2;30035:9;30031:18;30024:59;30131:9;30123:6;30119:22;30114:2;30103:9;30099:18;30092:50;30165:32;30190:6;30182;30165:32;:::i;:::-;30151:46;;30246:9;30238:6;30234:22;30228:3;30217:9;30213:19;30206:51;30274:32;30299:6;30291;30274:32;:::i;:::-;30266:40;29596:716;-1:-1:-1;;;;;;;;29596:716:1:o;31141:498::-;31341:4;31370:6;31415:2;31407:6;31403:15;31392:9;31385:34;31467:2;31459:6;31455:15;31450:2;31439:9;31435:18;31428:43;;31507:6;31502:2;31491:9;31487:18;31480:34;31550:3;31545:2;31534:9;31530:18;31523:31;31571:62;31628:3;31617:9;31613:19;31605:6;31597;31571:62;:::i;32268:275::-;32339:2;32333:9;32404:2;32385:13;;-1:-1:-1;;32381:27:1;32369:40;;-1:-1:-1;;;;;32424:34:1;;32460:22;;;32421:62;32418:88;;;32486:18;;:::i;:::-;32522:2;32515:22;32268:275;;-1:-1:-1;32268:275:1:o;32548:186::-;32596:4;-1:-1:-1;;;;;32621:6:1;32618:30;32615:56;;;32651:18;;:::i;:::-;-1:-1:-1;32717:2:1;32696:15;-1:-1:-1;;32692:29:1;32723:4;32688:40;;32548:186::o;32739:128::-;32779:3;32810:1;32806:6;32803:1;32800:13;32797:39;;;32816:18;;:::i;:::-;-1:-1:-1;32852:9:1;;32739:128::o;32872:125::-;32912:4;32940:1;32937;32934:8;32931:34;;;32945:18;;:::i;:::-;-1:-1:-1;32982:9:1;;32872:125::o;33002:258::-;33074:1;33084:113;33098:6;33095:1;33092:13;33084:113;;;33174:11;;;33168:18;33155:11;;;33148:39;33120:2;33113:10;33084:113;;;33215:6;33212:1;33209:13;33206:48;;;-1:-1:-1;;33250:1:1;33232:16;;33225:27;33002:258::o;33265:380::-;33344:1;33340:12;;;;33387;;;33408:61;;33462:4;33454:6;33450:17;33440:27;;33408:61;33515:2;33507:6;33504:14;33484:18;33481:38;33478:161;;;33561:10;33556:3;33552:20;33549:1;33542:31;33596:4;33593:1;33586:15;33624:4;33621:1;33614:15;33478:161;;33265:380;;;:::o;33650:127::-;33711:10;33706:3;33702:20;33699:1;33692:31;33742:4;33739:1;33732:15;33766:4;33763:1;33756:15;33782:127;33843:10;33838:3;33834:20;33831:1;33824:31;33874:4;33871:1;33864:15;33898:4;33895:1;33888:15;33914:131;-1:-1:-1;;;;;33989:31:1;;33979:42;;33969:70;;34035:1;34032;34025:12;34050:117;34135:6;34128:5;34124:18;34117:5;34114:29;34104:57;;34157:1;34154;34147:12
Swarm Source
ipfs://9c569a8f9358bdad22e7341db5a5d728d6174f8c657e061d27c4bc8a2fa19daa
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.