Overview
S Balance
0 S
S Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 10 from a total of 10 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer Ownersh... | 1221422 | 45 days ago | IN | 0 S | 0.00005135 | ||||
Transfer | 1221394 | 45 days ago | IN | 0 S | 0.00006061 | ||||
Set Min Dst Gas | 1221305 | 45 days ago | IN | 0 S | 0.00005701 | ||||
Set Min Dst Gas | 1221294 | 45 days ago | IN | 0 S | 0.00005701 | ||||
Set Min Dst Gas | 1221263 | 45 days ago | IN | 0 S | 0.00005701 | ||||
Set Min Dst Gas | 1221249 | 45 days ago | IN | 0 S | 0.00005701 | ||||
Set Trusted Remo... | 1221163 | 45 days ago | IN | 0 S | 0.00011094 | ||||
Set Trusted Remo... | 1221135 | 45 days ago | IN | 0 S | 0.00011094 | ||||
Set Trusted Remo... | 1221098 | 45 days ago | IN | 0 S | 0.00011094 | ||||
Set Trusted Remo... | 1221079 | 45 days ago | IN | 0 S | 0.00011094 |
Loading...
Loading
Contract Name:
FangDaoCopy
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 1000088 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@layerzerolabs/solidity-examples/contracts/token/oft/v2/fee/OFTWithFee.sol'; contract FangDaoCopy is OFTWithFee { bool private _tradingEnabled = false; mapping(address => bool) private _isWhiteListed; constructor( string memory _name, string memory _symbol, uint8 _sharedDecimals, address _layerZeroEndpoint ) OFTWithFee(_name, _symbol, _sharedDecimals, _layerZeroEndpoint) { _mint(_msgSender(), 2_000_000 * 10 ** 18); } function burn(uint _amount) public { _burn(_msgSender(), _amount); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); bool isAllowedTransfer = _tradingEnabled || from == owner() || to == owner() || _isWhiteListed[from] || _isWhiteListed[to]; if (!isAllowedTransfer) { revert('Trading is not enabled or address not whitelisted'); } } function enableTrading() public onlyOwner { require(!_tradingEnabled, 'Trading is already enabled'); _tradingEnabled = true; } function whitelistAddress(address _address, bool isWhitelisted) public onlyOwner { _isWhiteListed[_address] = isWhitelisted; } }
// SPDX-License-Identifier: Unlicense /* * @title Solidity Bytes Arrays Utils * @author Gonçalo Sá <[email protected]> * * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity. * The library lets you concatenate, slice and type cast bytes arrays both in memory and storage. */ pragma solidity >=0.8.0 <0.9.0; library BytesLib { function concat(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bytes memory) { bytes memory tempBytes; assembly { // Get a location of some free memory and store it in tempBytes as // Solidity does for memory variables. tempBytes := mload(0x40) // Store the length of the first bytes array at the beginning of // the memory for tempBytes. let length := mload(_preBytes) mstore(tempBytes, length) // Maintain a memory counter for the current write location in the // temp bytes array by adding the 32 bytes for the array length to // the starting location. let mc := add(tempBytes, 0x20) // Stop copying when the memory counter reaches the length of the // first bytes array. let end := add(mc, length) for { // Initialize a copy counter to the start of the _preBytes data, // 32 bytes into its memory. let cc := add(_preBytes, 0x20) } lt(mc, end) { // Increase both counters by 32 bytes each iteration. mc := add(mc, 0x20) cc := add(cc, 0x20) } { // Write the _preBytes data into the tempBytes memory 32 bytes // at a time. mstore(mc, mload(cc)) } // Add the length of _postBytes to the current length of tempBytes // and store it as the new length in the first 32 bytes of the // tempBytes memory. length := mload(_postBytes) mstore(tempBytes, add(length, mload(tempBytes))) // Move the memory counter back from a multiple of 0x20 to the // actual end of the _preBytes data. mc := end // Stop copying when the memory counter reaches the new combined // length of the arrays. end := add(mc, length) for { let cc := add(_postBytes, 0x20) } lt(mc, end) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { mstore(mc, mload(cc)) } // Update the free-memory pointer by padding our last write location // to 32 bytes: add 31 bytes to the end of tempBytes to move to the // next 32 byte block, then round down to the nearest multiple of // 32. If the sum of the length of the two arrays is zero then add // one before rounding down to leave a blank 32 bytes (the length block with 0). mstore( 0x40, and( add(add(end, iszero(add(length, mload(_preBytes)))), 31), not(31) // Round down to the nearest 32 bytes. ) ) } return tempBytes; } function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal { assembly { // Read the first 32 bytes of _preBytes storage, which is the length // of the array. (We don't need to use the offset into the slot // because arrays use the entire slot.) let fslot := sload(_preBytes.slot) // Arrays of 31 bytes or less have an even value in their slot, // while longer arrays have an odd value. The actual length is // the slot divided by two for odd values, and the lowest order // byte divided by two for even values. // If the slot is even, bitwise and the slot with 255 and divide by // two to get the length. If the slot is odd, bitwise and the slot // with -1 and divide by two. let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2) let mlength := mload(_postBytes) let newlength := add(slength, mlength) // slength can contain both the length and contents of the array // if length < 32 bytes so let's prepare for that // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage switch add(lt(slength, 32), lt(newlength, 32)) case 2 { // Since the new array still fits in the slot, we just need to // update the contents of the slot. // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length sstore( _preBytes.slot, // all the modifications to the slot are inside this // next block add( // we can just add to the slot contents because the // bytes we want to change are the LSBs fslot, add( mul( div( // load the bytes from memory mload(add(_postBytes, 0x20)), // zero all bytes to the right exp(0x100, sub(32, mlength)) ), // and now shift left the number of bytes to // leave space for the length in the slot exp(0x100, sub(32, newlength)) ), // increase length by the double of the memory // bytes length mul(mlength, 2) ) ) ) } case 1 { // The stored value fits in the slot, but the combined value // will exceed it. // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) let sc := add(keccak256(0x0, 0x20), div(slength, 32)) // save new length sstore(_preBytes.slot, add(mul(newlength, 2), 1)) // The contents of the _postBytes array start 32 bytes into // the structure. Our first read should obtain the `submod` // bytes that can fit into the unused space in the last word // of the stored array. To get this, we read 32 bytes starting // from `submod`, so the data we read overlaps with the array // contents by `submod` bytes. Masking the lowest-order // `submod` bytes allows us to add that value directly to the // stored value. let submod := sub(32, slength) let mc := add(_postBytes, submod) let end := add(_postBytes, mlength) let mask := sub(exp(0x100, submod), 1) sstore(sc, add(and(fslot, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00), and(mload(mc), mask))) for { mc := add(mc, 0x20) sc := add(sc, 1) } lt(mc, end) { sc := add(sc, 1) mc := add(mc, 0x20) } { sstore(sc, mload(mc)) } mask := exp(0x100, sub(mc, end)) sstore(sc, mul(div(mload(mc), mask), mask)) } default { // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) // Start copying to the last used word of the stored array. let sc := add(keccak256(0x0, 0x20), div(slength, 32)) // save new length sstore(_preBytes.slot, add(mul(newlength, 2), 1)) // Copy over the first `submod` bytes of the new data as in // case 1 above. let slengthmod := mod(slength, 32) let mlengthmod := mod(mlength, 32) let submod := sub(32, slengthmod) let mc := add(_postBytes, submod) let end := add(_postBytes, mlength) let mask := sub(exp(0x100, submod), 1) sstore(sc, add(sload(sc), and(mload(mc), mask))) for { sc := add(sc, 1) mc := add(mc, 0x20) } lt(mc, end) { sc := add(sc, 1) mc := add(mc, 0x20) } { sstore(sc, mload(mc)) } mask := exp(0x100, sub(mc, end)) sstore(sc, mul(div(mload(mc), mask), mask)) } } } function slice( bytes memory _bytes, uint _start, uint _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, uint _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, uint _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, uint _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, uint _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, uint _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, uint _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, uint _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, uint _start) internal pure returns (uint) { require(_bytes.length >= _start + 32, "toUint256_outOfBounds"); uint tempUint; assembly { tempUint := mload(add(add(_bytes, 0x20), _start)) } return tempUint; } function toBytes32(bytes memory _bytes, uint _start) internal pure returns (bytes32) { require(_bytes.length >= _start + 32, "toBytes32_outOfBounds"); bytes32 tempBytes32; assembly { tempBytes32 := mload(add(add(_bytes, 0x20), _start)) } return tempBytes32; } function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) { bool success = true; assembly { let length := mload(_preBytes) // if lengths don't match the arrays are not equal switch eq(length, mload(_postBytes)) case 1 { // cb is a circuit breaker in the for loop since there's // no said feature for inline assembly loops // cb = 1 - don't breaker // cb = 0 - break let cb := 1 let mc := add(_preBytes, 0x20) let end := add(mc, length) for { let cc := add(_postBytes, 0x20) // the next line is the loop condition: // while(uint256(mc < end) + cb == 2) } eq(add(lt(mc, end), cb), 2) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { // if any of these checks fails then arrays are not equal if iszero(eq(mload(mc), mload(cc))) { // unsuccess: success := 0 cb := 0 } } } default { // unsuccess: success := 0 } } return success; } function equalStorage(bytes storage _preBytes, bytes memory _postBytes) internal view returns (bool) { bool success = true; assembly { // we know _preBytes_offset is 0 let fslot := sload(_preBytes.slot) // Decode the length of the stored array like in concatStorage(). let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2) let mlength := mload(_postBytes) // if lengths don't match the arrays are not equal switch eq(slength, mlength) case 1 { // slength can contain both the length and contents of the array // if length < 32 bytes so let's prepare for that // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage if iszero(iszero(slength)) { switch lt(slength, 32) case 1 { // blank the last byte which is the length fslot := mul(div(fslot, 0x100), 0x100) if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) { // unsuccess: success := 0 } } default { // cb is a circuit breaker in the for loop since there's // no said feature for inline assembly loops // cb = 1 - don't breaker // cb = 0 - break let cb := 1 // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) let sc := keccak256(0x0, 0x20) let mc := add(_postBytes, 0x20) let end := add(mc, mlength) // the next line is the loop condition: // while(uint256(mc < end) + cb == 2) for { } eq(add(lt(mc, end), cb), 2) { sc := add(sc, 1) mc := add(mc, 0x20) } { if iszero(eq(sload(sc), mload(mc))) { // unsuccess: success := 0 cb := 0 } } } } } default { // unsuccess: success := 0 } } return success; } }
// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity >=0.7.6; library ExcessivelySafeCall { uint 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, uint _gas, uint16 _maxCopy, bytes memory _calldata ) internal returns (bool, bytes memory) { // set up for assembly call uint _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, uint _gas, uint16 _maxCopy, bytes memory _calldata ) internal view returns (bool, bytes memory) { // set up for assembly call uint _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); uint _mask = LOW_28_MASK; assembly { // load the first word of let _word := mload(add(_buf, 0x20)) // mask out the top 4 bytes // /x _word := and(_word, _mask) _word := or(_newSelector, _word) mstore(add(_buf, 0x20), _word) } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "./ILayerZeroUserApplicationConfig.sol"; interface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig { // @notice send a LayerZero message to the specified address at a LayerZero endpoint. // @param _dstChainId - the destination chain identifier // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains // @param _payload - a custom bytes payload to send to the destination contract // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination function send( uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams ) external payable; // @notice used by the messaging library to publish verified payload // @param _srcChainId - the source chain identifier // @param _srcAddress - the source contract (as bytes) at the source chain // @param _dstAddress - the address on destination chain // @param _nonce - the unbound message ordering nonce // @param _gasLimit - the gas limit for external contract execution // @param _payload - verified payload to send to the destination contract function receivePayload( uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload ) external; // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64); // @notice get the outboundNonce from this source chain which, consequently, is always an EVM // @param _srcAddress - the source chain contract address function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64); // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery // @param _dstChainId - the destination chain identifier // @param _userApplication - the user app address on this EVM chain // @param _payload - the custom message to send over LayerZero // @param _payInZRO - if false, user app pays the protocol fee in native token // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain function estimateFees( uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam ) external view returns (uint nativeFee, uint zroFee); // @notice get this Endpoint's immutable source identifier function getChainId() external view returns (uint16); // @notice the interface to retry failed message on this Endpoint destination // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address // @param _payload - the payload to be retried function retryPayload( uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload ) external; // @notice query if any STORED payload (message blocking) at the endpoint. // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool); // @notice query if the _libraryAddress is valid for sending msgs. // @param _userApplication - the user app address on this EVM chain function getSendLibraryAddress(address _userApplication) external view returns (address); // @notice query if the _libraryAddress is valid for receiving msgs. // @param _userApplication - the user app address on this EVM chain function getReceiveLibraryAddress(address _userApplication) external view returns (address); // @notice query if the non-reentrancy guard for send() is on // @return true if the guard is on. false otherwise function isSendingPayload() external view returns (bool); // @notice query if the non-reentrancy guard for receive() is on // @return true if the guard is on. false otherwise function isReceivingPayload() external view returns (bool); // @notice get the configuration of the LayerZero messaging library of the specified version // @param _version - messaging library version // @param _chainId - the chainId for the pending config change // @param _userApplication - the contract address of the user application // @param _configType - type of configuration. every messaging library has its own convention. function getConfig( uint16 _version, uint16 _chainId, address _userApplication, uint _configType ) external view returns (bytes memory); // @notice get the send() LayerZero messaging library version // @param _userApplication - the contract address of the user application function getSendVersion(address _userApplication) external view returns (uint16); // @notice get the lzReceive() LayerZero messaging library version // @param _userApplication - the contract address of the user application function getReceiveVersion(address _userApplication) external view returns (uint16); }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface ILayerZeroReceiver { // @notice LayerZero endpoint will invoke this function to deliver the message on the destination // @param _srcChainId - the source endpoint identifier // @param _srcAddress - the source sending contract address from the source chain // @param _nonce - the ordered message nonce // @param _payload - the signed payload is the UA bytes has encoded to be sent function lzReceive( uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload ) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface ILayerZeroUserApplicationConfig { // @notice set the configuration of the LayerZero messaging library of the specified version // @param _version - messaging library version // @param _chainId - the chainId for the pending config change // @param _configType - type of configuration. every messaging library has its own convention. // @param _config - configuration in the bytes. can encode arbitrary content. function setConfig( uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config ) external; // @notice set the send() LayerZero messaging library version to _version // @param _version - new messaging library version function setSendVersion(uint16 _version) external; // @notice set the lzReceive() LayerZero messaging library version to _version // @param _version - new messaging library version function setReceiveVersion(uint16 _version) external; // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload // @param _srcChainId - the chainId of the source chain // @param _srcAddress - the contract address of the source contract at the source chain function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/ILayerZeroReceiver.sol"; import "./interfaces/ILayerZeroUserApplicationConfig.sol"; import "./interfaces/ILayerZeroEndpoint.sol"; import "../libraries/BytesLib.sol"; /* * a generic LzReceiver implementation */ abstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig { using BytesLib for bytes; // ua can not send payload larger than this by default, but it can be changed by the ua owner uint public constant DEFAULT_PAYLOAD_SIZE_LIMIT = 10000; ILayerZeroEndpoint public immutable lzEndpoint; mapping(uint16 => bytes) public trustedRemoteLookup; mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup; mapping(uint16 => uint) public payloadSizeLimitLookup; address public precrime; event SetPrecrime(address precrime); event SetTrustedRemote(uint16 _remoteChainId, bytes _path); event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress); event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas); constructor(address _endpoint) { lzEndpoint = ILayerZeroEndpoint(_endpoint); } function lzReceive( uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload ) public virtual override { // lzReceive must be called by the endpoint for security require(_msgSender() == address(lzEndpoint), "LzApp: invalid endpoint caller"); bytes memory trustedRemote = trustedRemoteLookup[_srcChainId]; // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote. require( _srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), "LzApp: invalid source sending contract" ); _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload); } // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging function _blockingLzReceive( uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload ) internal virtual; function _lzSend( uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee ) internal virtual { bytes memory trustedRemote = trustedRemoteLookup[_dstChainId]; require(trustedRemote.length != 0, "LzApp: destination chain is not a trusted source"); _checkPayloadSize(_dstChainId, _payload.length); lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams); } function _checkGasLimit( uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas ) internal view virtual { uint providedGasLimit = _getGasLimit(_adapterParams); uint minGasLimit = minDstGasLookup[_dstChainId][_type]; require(minGasLimit > 0, "LzApp: minGasLimit not set"); require(providedGasLimit >= minGasLimit + _extraGas, "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 { minDstGasLookup[_dstChainId][_packetType] = _minGas; emit SetMinDstGas(_dstChainId, _packetType, _minGas); } // if the size is 0, it means default size limit function setPayloadSizeLimit(uint16 _dstChainId, uint _size) external onlyOwner { payloadSizeLimitLookup[_dstChainId] = _size; } //--------------------------- VIEW FUNCTION ---------------------------------------- function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) { bytes memory trustedSource = trustedRemoteLookup[_srcChainId]; return keccak256(trustedSource) == keccak256(_srcAddress); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./LzApp.sol"; import "../libraries/ExcessivelySafeCall.sol"; /* * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress) */ abstract contract NonblockingLzApp is LzApp { using ExcessivelySafeCall for address; constructor(address _endpoint) LzApp(_endpoint) {} mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages; event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason); event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash); // overriding the virtual function in LzReceiver function _blockingLzReceive( uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload ) internal virtual override { (bool success, bytes memory reason) = address(this).excessivelySafeCall( gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload) ); if (!success) { _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason); } } function _storeFailedMessage( uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason ) internal virtual { failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload); emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason); } function nonblockingLzReceive( uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload ) public virtual { // only internal transaction require(_msgSender() == address(this), "NonblockingLzApp: caller must be LzApp"); _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload); } //@notice override this function function _nonblockingLzReceive( uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload ) internal virtual; function retryMessage( uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload ) public payable virtual { // assert there is message to retry bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce]; require(payloadHash != bytes32(0), "NonblockingLzApp: no stored message"); require(keccak256(_payload) == payloadHash, "NonblockingLzApp: invalid payload"); // clear the stored message failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0); // execute the message. revert if it fails again _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload); emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../OFTCoreV2.sol"; import "./IOFTWithFee.sol"; import "./Fee.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract BaseOFTWithFee is OFTCoreV2, Fee, ERC165, IOFTWithFee { constructor(uint8 _sharedDecimals, address _lzEndpoint) OFTCoreV2(_sharedDecimals, _lzEndpoint) { } /************************************************************************ * public functions ************************************************************************/ function sendFrom(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, uint _minAmount, LzCallParams calldata _callParams) public payable virtual override { (_amount,) = _payOFTFee(_from, _dstChainId, _amount); _amount = _send(_from, _dstChainId, _toAddress, _amount, _callParams.refundAddress, _callParams.zroPaymentAddress, _callParams.adapterParams); require(_amount >= _minAmount, "BaseOFTWithFee: amount is less than minAmount"); } function sendAndCall(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, uint _minAmount, bytes calldata _payload, uint64 _dstGasForCall, LzCallParams calldata _callParams) public payable virtual override { (_amount,) = _payOFTFee(_from, _dstChainId, _amount); _amount = _sendAndCall(_from, _dstChainId, _toAddress, _amount, _payload, _dstGasForCall, _callParams.refundAddress, _callParams.zroPaymentAddress, _callParams.adapterParams); require(_amount >= _minAmount, "BaseOFTWithFee: amount is less than minAmount"); } /************************************************************************ * public view functions ************************************************************************/ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IOFTWithFee).interfaceId || super.supportsInterface(interfaceId); } function estimateSendFee(uint16 _dstChainId, bytes32 _toAddress, uint _amount, bool _useZro, bytes calldata _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) { return _estimateSendFee(_dstChainId, _toAddress, _amount, _useZro, _adapterParams); } function estimateSendAndCallFee(uint16 _dstChainId, bytes32 _toAddress, uint _amount, bytes calldata _payload, uint64 _dstGasForCall, bool _useZro, bytes calldata _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) { return _estimateSendAndCallFee(_dstChainId, _toAddress, _amount, _payload, _dstGasForCall, _useZro, _adapterParams); } function circulatingSupply() public view virtual override returns (uint); function token() public view virtual override returns (address); function _transferFrom(address _from, address _to, uint _amount) internal virtual override (Fee, OFTCoreV2) returns (uint); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract Fee is Ownable { uint public constant BP_DENOMINATOR = 10000; mapping(uint16 => FeeConfig) public chainIdToFeeBps; uint16 public defaultFeeBp; address public feeOwner; // defaults to owner struct FeeConfig { uint16 feeBP; bool enabled; } event SetFeeBp(uint16 dstchainId, bool enabled, uint16 feeBp); event SetDefaultFeeBp(uint16 feeBp); event SetFeeOwner(address feeOwner); constructor(){ feeOwner = owner(); } function setDefaultFeeBp(uint16 _feeBp) public virtual onlyOwner { require(_feeBp <= BP_DENOMINATOR, "Fee: fee bp must be <= BP_DENOMINATOR"); defaultFeeBp = _feeBp; emit SetDefaultFeeBp(defaultFeeBp); } function setFeeBp(uint16 _dstChainId, bool _enabled, uint16 _feeBp) public virtual onlyOwner { require(_feeBp <= BP_DENOMINATOR, "Fee: fee bp must be <= BP_DENOMINATOR"); chainIdToFeeBps[_dstChainId] = FeeConfig(_feeBp, _enabled); emit SetFeeBp(_dstChainId, _enabled, _feeBp); } function setFeeOwner(address _feeOwner) public virtual onlyOwner { require(_feeOwner != address(0x0), "Fee: feeOwner cannot be 0x"); feeOwner = _feeOwner; emit SetFeeOwner(_feeOwner); } function quoteOFTFee(uint16 _dstChainId, uint _amount) public virtual view returns (uint fee) { FeeConfig memory config = chainIdToFeeBps[_dstChainId]; if (config.enabled) { fee = _amount * config.feeBP / BP_DENOMINATOR; } else if (defaultFeeBp > 0) { fee = _amount * defaultFeeBp / BP_DENOMINATOR; } else { fee = 0; } } function _payOFTFee(address _from, uint16 _dstChainId, uint _amount) internal virtual returns (uint amount, uint fee) { fee = quoteOFTFee(_dstChainId, _amount); amount = _amount - fee; if (fee > 0) { _transferFrom(_from, feeOwner, fee); } } function _transferFrom(address _from, address _to, uint _amount) internal virtual returns (uint); }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "../interfaces/ICommonOFT.sol"; /** * @dev Interface of the IOFT core standard */ interface IOFTWithFee is ICommonOFT { /** * @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 * `_minAmount` the minimum amount of tokens to receive on dstChain * `_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, bytes32 _toAddress, uint _amount, uint _minAmount, LzCallParams calldata _callParams) external payable; function sendAndCall(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, uint _minAmount, bytes calldata _payload, uint64 _dstGasForCall, LzCallParams calldata _callParams) external payable; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./BaseOFTWithFee.sol"; contract OFTWithFee is BaseOFTWithFee, ERC20 { uint internal immutable ld2sdRate; constructor(string memory _name, string memory _symbol, uint8 _sharedDecimals, address _lzEndpoint) ERC20(_name, _symbol) BaseOFTWithFee(_sharedDecimals, _lzEndpoint) { uint8 decimals = decimals(); require(_sharedDecimals <= decimals, "OFTWithFee: sharedDecimals must be <= decimals"); ld2sdRate = 10 ** (decimals - _sharedDecimals); } /************************************************************************ * public functions ************************************************************************/ function circulatingSupply() public view virtual override returns (uint) { return totalSupply(); } function token() public view virtual override returns (address) { return address(this); } /************************************************************************ * internal functions ************************************************************************/ function _debitFrom(address _from, uint16, bytes32, 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; } function _transferFrom(address _from, address _to, uint _amount) internal virtual override returns (uint) { address spender = _msgSender(); // if transfer from this contract, no need to check allowance if (_from != address(this) && _from != spender) _spendAllowance(_from, spender, _amount); _transfer(_from, _to, _amount); return _amount; } function _ld2sdRate() internal view virtual override returns (uint) { return ld2sdRate; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Interface of the IOFT core standard */ interface ICommonOFT is IERC165 { struct LzCallParams { address payable refundAddress; address zroPaymentAddress; bytes adapterParams; } /** * @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, bytes32 _toAddress, uint _amount, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee); function estimateSendAndCallFee(uint16 _dstChainId, bytes32 _toAddress, uint _amount, bytes calldata _payload, uint64 _dstGasForCall, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee); /** * @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); }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity >=0.5.0; interface IOFTReceiverV2 { /** * @dev Called by the OFT contract when tokens are received from source chain. * @param _srcChainId The chain id of the source chain. * @param _srcAddress The address of the OFT token contract on the source chain. * @param _nonce The nonce of the transaction on the source chain. * @param _from The address of the account who calls the sendAndCall() on the source chain. * @param _amount The amount of tokens to transfer. * @param _payload Additional data with no specified format. */ function onOFTReceived(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes32 _from, uint _amount, bytes calldata _payload) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../../lzApp/NonblockingLzApp.sol"; import "../../../libraries/ExcessivelySafeCall.sol"; import "./interfaces/ICommonOFT.sol"; import "./interfaces/IOFTReceiverV2.sol"; abstract contract OFTCoreV2 is NonblockingLzApp { using BytesLib for bytes; using ExcessivelySafeCall for address; uint public constant NO_EXTRA_GAS = 0; // packet type uint8 public constant PT_SEND = 0; uint8 public constant PT_SEND_AND_CALL = 1; uint8 public immutable sharedDecimals; mapping(uint16 => mapping(bytes => mapping(uint64 => bool))) public creditedPackets; /** * @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, bytes32 indexed _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 CallOFTReceivedSuccess(uint16 indexed _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _hash); event NonContractAddress(address _address); // _sharedDecimals should be the minimum decimals on all chains constructor(uint8 _sharedDecimals, address _lzEndpoint) NonblockingLzApp(_lzEndpoint) { sharedDecimals = _sharedDecimals; } /************************************************************************ * public functions ************************************************************************/ function callOnOFTReceived( uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes32 _from, address _to, uint _amount, bytes calldata _payload, uint _gasForCall ) public virtual { require(_msgSender() == address(this), "OFTCore: caller must be OFTCore"); // send _amount = _transferFrom(address(this), _to, _amount); emit ReceiveFromChain(_srcChainId, _to, _amount); // call IOFTReceiverV2(_to).onOFTReceived{gas: _gasForCall}(_srcChainId, _srcAddress, _nonce, _from, _amount, _payload); } /************************************************************************ * internal functions ************************************************************************/ function _estimateSendFee( uint16 _dstChainId, bytes32 _toAddress, uint _amount, bool _useZro, bytes memory _adapterParams ) internal view virtual returns (uint nativeFee, uint zroFee) { // mock the payload for sendFrom() bytes memory payload = _encodeSendPayload(_toAddress, _ld2sd(_amount)); return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams); } function _estimateSendAndCallFee( uint16 _dstChainId, bytes32 _toAddress, uint _amount, bytes memory _payload, uint64 _dstGasForCall, bool _useZro, bytes memory _adapterParams ) internal view virtual returns (uint nativeFee, uint zroFee) { // mock the payload for sendAndCall() bytes memory payload = _encodeSendAndCallPayload(msg.sender, _toAddress, _ld2sd(_amount), _payload, _dstGasForCall); return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams); } function _nonblockingLzReceive( uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload ) internal virtual override { uint8 packetType = _payload.toUint8(0); if (packetType == PT_SEND) { _sendAck(_srcChainId, _srcAddress, _nonce, _payload); } else if (packetType == PT_SEND_AND_CALL) { _sendAndCallAck(_srcChainId, _srcAddress, _nonce, _payload); } else { revert("OFTCore: unknown packet type"); } } function _send( address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams ) internal virtual returns (uint amount) { _checkGasLimit(_dstChainId, PT_SEND, _adapterParams, NO_EXTRA_GAS); (amount, ) = _removeDust(_amount); amount = _debitFrom(_from, _dstChainId, _toAddress, amount); // amount returned should not have dust require(amount > 0, "OFTCore: amount too small"); bytes memory lzPayload = _encodeSendPayload(_toAddress, _ld2sd(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 { (address to, uint64 amountSD) = _decodeSendPayload(_payload); if (to == address(0)) { to = address(0xdead); } uint amount = _sd2ld(amountSD); amount = _creditTo(_srcChainId, to, amount); emit ReceiveFromChain(_srcChainId, to, amount); } function _sendAndCall( address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, bytes memory _payload, uint64 _dstGasForCall, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams ) internal virtual returns (uint amount) { _checkGasLimit(_dstChainId, PT_SEND_AND_CALL, _adapterParams, _dstGasForCall); (amount, ) = _removeDust(_amount); amount = _debitFrom(_from, _dstChainId, _toAddress, amount); require(amount > 0, "OFTCore: amount too small"); // encode the msg.sender into the payload instead of _from bytes memory lzPayload = _encodeSendAndCallPayload(msg.sender, _toAddress, _ld2sd(amount), _payload, _dstGasForCall); _lzSend(_dstChainId, lzPayload, _refundAddress, _zroPaymentAddress, _adapterParams, msg.value); emit SendToChain(_dstChainId, _from, _toAddress, amount); } function _sendAndCallAck( uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload ) internal virtual { (bytes32 from, address to, uint64 amountSD, bytes memory payloadForCall, uint64 gasForCall) = _decodeSendAndCallPayload(_payload); bool credited = creditedPackets[_srcChainId][_srcAddress][_nonce]; uint amount = _sd2ld(amountSD); // credit to this contract first, and then transfer to receiver only if callOnOFTReceived() succeeds if (!credited) { amount = _creditTo(_srcChainId, address(this), amount); creditedPackets[_srcChainId][_srcAddress][_nonce] = true; } if (!_isContract(to)) { emit NonContractAddress(to); return; } // workaround for stack too deep uint16 srcChainId = _srcChainId; bytes memory srcAddress = _srcAddress; uint64 nonce = _nonce; bytes memory payload = _payload; bytes32 from_ = from; address to_ = to; uint amount_ = amount; bytes memory payloadForCall_ = payloadForCall; // no gas limit for the call if retry uint gas = credited ? gasleft() : gasForCall; (bool success, bytes memory reason) = address(this).excessivelySafeCall( gasleft(), 150, abi.encodeWithSelector(this.callOnOFTReceived.selector, srcChainId, srcAddress, nonce, from_, to_, amount_, payloadForCall_, gas) ); if (success) { bytes32 hash = keccak256(payload); emit CallOFTReceivedSuccess(srcChainId, srcAddress, nonce, hash); } else { // store the failed message into the nonblockingLzApp _storeFailedMessage(srcChainId, srcAddress, nonce, payload, reason); } } function _isContract(address _account) internal view returns (bool) { return _account.code.length > 0; } function _ld2sd(uint _amount) internal view virtual returns (uint64) { uint amountSD = _amount / _ld2sdRate(); require(amountSD <= type(uint64).max, "OFTCore: amountSD overflow"); return uint64(amountSD); } function _sd2ld(uint64 _amountSD) internal view virtual returns (uint) { return _amountSD * _ld2sdRate(); } function _removeDust(uint _amount) internal view virtual returns (uint amountAfter, uint dust) { dust = _amount % _ld2sdRate(); amountAfter = _amount - dust; } function _encodeSendPayload(bytes32 _toAddress, uint64 _amountSD) internal view virtual returns (bytes memory) { return abi.encodePacked(PT_SEND, _toAddress, _amountSD); } function _decodeSendPayload(bytes memory _payload) internal view virtual returns (address to, uint64 amountSD) { require(_payload.toUint8(0) == PT_SEND && _payload.length == 41, "OFTCore: invalid payload"); to = _payload.toAddress(13); // drop the first 12 bytes of bytes32 amountSD = _payload.toUint64(33); } function _encodeSendAndCallPayload( address _from, bytes32 _toAddress, uint64 _amountSD, bytes memory _payload, uint64 _dstGasForCall ) internal view virtual returns (bytes memory) { return abi.encodePacked(PT_SEND_AND_CALL, _toAddress, _amountSD, _addressToBytes32(_from), _dstGasForCall, _payload); } function _decodeSendAndCallPayload(bytes memory _payload) internal view virtual returns ( bytes32 from, address to, uint64 amountSD, bytes memory payload, uint64 dstGasForCall ) { require(_payload.toUint8(0) == PT_SEND_AND_CALL, "OFTCore: invalid payload"); to = _payload.toAddress(13); // drop the first 12 bytes of bytes32 amountSD = _payload.toUint64(33); from = _payload.toBytes32(41); dstGasForCall = _payload.toUint64(73); payload = _payload.slice(81, _payload.length - 81); } function _addressToBytes32(address _address) internal pure virtual returns (bytes32) { return bytes32(uint(uint160(_address))); } function _debitFrom( address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount ) internal virtual returns (uint); function _creditTo( uint16 _srcChainId, address _toAddress, uint _amount ) internal virtual returns (uint); function _transferFrom( address _from, address _to, uint _amount ) internal virtual returns (uint); function _ld2sdRate() internal view virtual returns (uint); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * 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}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 value {ERC20} uses, unless this function is * 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 `sender` to `recipient`. * * 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; } _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; _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; } _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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1000088 }, "viaIR": true, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
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":"uint8","name":"_sharedDecimals","type":"uint8"},{"internalType":"address","name":"_layerZeroEndpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":true,"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":"_hash","type":"bytes32"}],"name":"CallOFTReceivedSuccess","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":false,"internalType":"address","name":"_address","type":"address"}],"name":"NonContractAddress","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":true,"internalType":"bytes32","name":"_toAddress","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"SendToChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"feeBp","type":"uint16"}],"name":"SetDefaultFeeBp","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"dstchainId","type":"uint16"},{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"},{"indexed":false,"internalType":"uint16","name":"feeBp","type":"uint16"}],"name":"SetFeeBp","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"feeOwner","type":"address"}],"name":"SetFeeOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"_type","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_minDstGas","type":"uint256"}],"name":"SetMinDstGas","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"precrime","type":"address"}],"name":"SetPrecrime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_path","type":"bytes"}],"name":"SetTrustedRemote","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"SetTrustedRemoteAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BP_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PT_SEND_AND_CALL","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"uint256","name":"_amount","type":"uint256"}],"name":"burn","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":"bytes32","name":"_from","type":"bytes32"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_payload","type":"bytes"},{"internalType":"uint256","name":"_gasForCall","type":"uint256"}],"name":"callOnOFTReceived","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"chainIdToFeeBps","outputs":[{"internalType":"uint16","name":"feeBP","type":"uint16"},{"internalType":"bool","name":"enabled","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"}],"name":"creditedPackets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"defaultFeeBp","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes32","name":"_toAddress","type":"bytes32"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_payload","type":"bytes"},{"internalType":"uint64","name":"_dstGasForCall","type":"uint64"},{"internalType":"bool","name":"_useZro","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateSendAndCallFee","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes32","name":"_toAddress","type":"bytes32"},{"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":[],"name":"feeOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"nonblockingLzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"payloadSizeLimitLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"precrime","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"quoteOFTFee","outputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"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":"bytes32","name":"_toAddress","type":"bytes32"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_minAmount","type":"uint256"},{"internalType":"bytes","name":"_payload","type":"bytes"},{"internalType":"uint64","name":"_dstGasForCall","type":"uint64"},{"components":[{"internalType":"address payable","name":"refundAddress","type":"address"},{"internalType":"address","name":"zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"adapterParams","type":"bytes"}],"internalType":"struct ICommonOFT.LzCallParams","name":"_callParams","type":"tuple"}],"name":"sendAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes32","name":"_toAddress","type":"bytes32"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_minAmount","type":"uint256"},{"components":[{"internalType":"address payable","name":"refundAddress","type":"address"},{"internalType":"address","name":"zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"adapterParams","type":"bytes"}],"internalType":"struct ICommonOFT.LzCallParams","name":"_callParams","type":"tuple"}],"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":"_feeBp","type":"uint16"}],"name":"setDefaultFeeBp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bool","name":"_enabled","type":"bool"},{"internalType":"uint16","name":"_feeBp","type":"uint16"}],"name":"setFeeBp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeOwner","type":"address"}],"name":"setFeeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint16","name":"_packetType","type":"uint16"},{"internalType":"uint256","name":"_minGas","type":"uint256"}],"name":"setMinDstGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"setPayloadSizeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_precrime","type":"address"}],"name":"setPrecrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setReceiveVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setSendVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"internalType":"bytes","name":"_path","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"setTrustedRemoteAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sharedDecimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"isWhitelisted","type":"bool"}],"name":"whitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
604060e0815234620006155762006021803803806200001e816200061a565b928339810190608081830312620006155780516001600160401b03908181116200061557836200005091840162000656565b91602093848201519083821162000615576200006e91830162000656565b90858101519360ff8516918286036200061557606001516001600160a01b0394908581169081900362000615576000968754913360018060a01b031984161792838a558b7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08b8b3394169251a360805260a0526008805462010000600160b01b03191660109290921b62010000600160b01b03169190911790558151938185116200051b57600c54946001938487811c971680156200060a575b8a881014620005f6578190601f97888111620005a2575b508a908883116001146200053b578a926200052f575b5050600019600383901b1c191690841b17600c555b80519182116200051b57600d548381811c9116801562000510575b89821014620004fc57858111620004b3575b5087908583116001146200044d57928293918392899462000441575b50501b916000199060031b1c191617600d555b60128111620003e65780601210620003d25760120360ff16604d8111620003d257600a0a60c05260ff19600e5416600e553315620003905750815416801590811562000385575b50801562000370575b80156200035b575b15620002fe5762000231600b54620006d9565b600b55338152600982528281206200024a8154620006d9565b90557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8351926a01a784379d99db4200000084523393a35161590e90816200071382396080518181816105c2015281816109ab01528181610b8801528181610f15015281816111a3015281816124ff015281816127ce01528181613064015281816144260152614b6c015260a05181611c37015260c051818181613b0901528181613e390152818161474601526147f00152f35b50608491519062461bcd60e51b82526004820152603160248201527f54726164696e67206973206e6f7420656e61626c6564206f72206164647265736044820152701cc81b9bdd081dda1a5d195b1a5cdd1959607a1b6064820152fd5b50338152600f825260ff83822054166200021e565b50808052600f825260ff838220541662000216565b90503314386200020d565b8360649186519162461bcd60e51b8352600483015260248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b634e487b7160e01b84526011600452602484fd5b855162461bcd60e51b815260048101869052602e60248201527f4f4654576974684665653a20736861726564446563696d616c73206d7573742060448201526d6265203c3d20646563696d616c7360901b6064820152608490fd5b015192503880620001b3565b600d8852888820919083601f1981168a5b8c888383106200049b575050501062000481575b505050811b01600d55620001c6565b015160001960f88460031b161c1916905538808062000472565b8686015188559096019594850194879350016200045e565b600d88528888208680850160051c8201928b8610620004f2575b0160051c019084905b828110620004e657505062000197565b898155018490620004d6565b92508192620004cd565b634e487b7160e01b88526022600452602488fd5b90607f169062000185565b634e487b7160e01b87526041600452602487fd5b01519050388062000155565b600c8b528b8b208794509190601f1984168c8e5b8282106200058a575050841162000570575b505050811b01600c556200016a565b015160001960f88460031b161c1916905538808062000561565b8385015186558a979095019493840193018e6200054f565b909150600c8a528a8a208880850160051c8201928d8610620005ec575b918891869594930160051c01915b828110620005dd5750506200013f565b8c8155859450889101620005cd565b92508192620005bf565b634e487b7160e01b89526022600452602489fd5b96607f169662000128565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200064057604052565b634e487b7160e01b600052604160045260246000fd5b81601f8201121562000615578051906001600160401b03821162000640576020906200068b601f8401601f191683016200061a565b93838552828483010111620006155782906000905b83838310620006c057505011620006b657505090565b6000918301015290565b81935082819392010151828288010152018391620006a0565b66d3c21bcecceda160191b198111620006fc576a01a784379d99db420000000190565b634e487b7160e01b600052601160045260246000fdfe60806040526004361015610013575b600080fd5b60003560e01c80621d3567146104a757806301ffc9a71461049e57806306fdde031461049557806307e0db171461048c578063095ea7b3146104835780630df374831461047a57806310ddb1371461047157806318160ddd1461039957806323b872dd146104685780632cdf0b951461045f578063313ce56714610456578063365260b41461044d57806339509351146104445780633d8b38f61461043b5780633f1f4fa41461043257806342966c681461042957806342d65a8d146104205780634477051514610405578063455ba27d146104175780634b104eff1461040e5780634c42899a146104055780635a359dc5146103fc5780635b8c41e6146103f357806366ad5c8a146103ea57806370a08231146103e1578063715018a6146103d85780637533d788146103cf57806379c0ad4b146103c6578063857749b0146103bd5780638a8c523c146103b45780638cfd8f5c146103ab5780638da5cb5b146103a25780639358928b14610399578063950c8a741461039057806395d89b41146103875780639bdb98121461037e5780639f38369a14610375578063a457c2d71461036c578063a4c51df514610363578063a6c3d1651461035a578063a9059cbb14610351578063abe685cd14610324578063b353aaa714610348578063b9818be11461033f578063b9a45aac14610336578063baf3292d1461032d578063c446183414610324578063c83330ce1461031b578063cbed8b9c14610312578063d1deba1f14610309578063d888296814610300578063dd62ed3e146102f7578063df2a5b3b146102ee578063e6a20ae6146102e5578063eaffd49a146102dc578063eb8d72b7146102d3578063ecd8f212146102ca578063f2fde38b146102c1578063f5ecbdbc146102b85763fc0c546a146102b057600080fd5b61000e6130d1565b5061000e612fb2565b5061000e612ebe565b5061000e612e70565b5061000e612ca2565b5061000e612bfd565b5061000e612bc2565b5061000e612af5565b5061000e612a60565b5061000e612a1f565b5061000e61288b565b5061000e612740565b5061000e6126de565b5061000e612477565b5061000e612626565b5061000e612579565b5061000e612523565b5061000e6124b3565b5061000e61242e565b5061000e612204565b5061000e612155565b5061000e612039565b5061000e611f62565b5061000e611f16565b5061000e611e50565b5061000e611dfd565b5061000e610bfa565b5061000e611daa565b5061000e611d41565b5061000e611c5b565b5061000e611bfe565b5061000e611aa2565b5061000e611a30565b5061000e611866565b5061000e6117fc565b5061000e611745565b5061000e6116dc565b5061000e61144b565b5061000e61121e565b5061000e6112f6565b5061000e611259565b5061000e611168565b5061000e61112c565b5061000e6110d8565b5061000e61107b565b5061000e610f99565b5061000e610e45565b5061000e610ddd565b5061000e610ca4565b5061000e610c37565b5061000e610b28565b5061000e610ab1565b5061000e610a5d565b5061000e61094b565b5061000e610829565b5061000e6106d2565b5061000e610597565b6004359061ffff8216820361000e57565b6024359061ffff8216820361000e57565b6044359061ffff8216820361000e57565b9181601f8401121561000e5782359167ffffffffffffffff831161000e576020838186019501011161000e57565b9060807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261000e5760043561ffff8116810361000e579167ffffffffffffffff9060243582811161000e578161056c916004016104e3565b93909392604435818116810361000e579260643591821161000e57610593916004016104e3565b9091565b503461000e576105a636610511565b919294939073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633036106745761063761063f92610645976106306106166106118a61ffff166000526001602052604060002090565b611a13565b805190818414918261066a575b5081610647575b5061310b565b3691611605565b923691611605565b92613625565b005b9050610654368486611605565b602081519101209060208151910120143861062a565b1515915038610623565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c657200006044820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004357fffffffff00000000000000000000000000000000000000000000000000000000811680910361000e57807f6984a9e80000000000000000000000000000000000000000000000000000000060209214908115610768575b506040519015158152f35b7f01ffc9a7000000000000000000000000000000000000000000000000000000009150143861075d565b600091031261000e57565b918091926000905b8282106107bd5750116107b6575050565b6000910152565b915080602091830151818601520182916107a5565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209361080e8151809281875287808801910161079d565b0116010190565b9060206108269281815201906107d2565b90565b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610948576040519080600c5461086b8161190b565b8085529160019180831690811561090057506001146108a5575b6108a1856108958187038261157b565b60405191829182610815565b0390f35b9250600c83527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c75b8284106108e8575050508101602001610895826108a1610885565b805460208587018101919091529093019281016108cd565b8695506108a1969350602092506108959491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b8201019293610885565b80fd5b503461000e57600060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610948576109856104b0565b8173ffffffffffffffffffffffffffffffffffffffff6109a9818354163314613202565b7f00000000000000000000000000000000000000000000000000000000000000001691823b15610a3b57602461ffff918360405195869485937f07e0db170000000000000000000000000000000000000000000000000000000085521660048401525af18015610a2e575b610a1f575b50604051f35b610a289061153e565b38610a19565b610a366131f5565b610a14565b5080fd5b73ffffffffffffffffffffffffffffffffffffffff81160361000e57565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610aa6600435610a9c81610a3f565b602435903361533e565b602060405160018152f35b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761ffff610aec6104b0565b610b0f73ffffffffffffffffffffffffffffffffffffffff600054163314613202565b1660005260036020526024356040600020556000604051f35b503461000e57600060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261094857610b626104b0565b8173ffffffffffffffffffffffffffffffffffffffff610b86818354163314613202565b7f00000000000000000000000000000000000000000000000000000000000000001691823b15610a3b57602461ffff918360405195869485937f10ddb1370000000000000000000000000000000000000000000000000000000085521660048401525af18015610a2e57610a1f5750604051f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020600b54604051908152f35b503461000e5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610aa6600435610c7681610a3f565b602435610c8281610a3f565b60443591610c918333836154f8565b614f5a565b9081606091031261000e5790565b5060c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435610cdb81610a3f565b610ce36104c1565b9060443560a4359267ffffffffffffffff841161000e57610d0b610645943690600401610c96565b92610d8c610d1c6064358484614d06565b50853590610d2982610a3f565b610d65610d5e610d4e61063060208b01359a610d448c610a3f565b6040810190614228565b92610d5984896145ea565b6147ee565b5085614d5e565b96610d71881515614304565b610d83610d7d89614744565b8861483e565b923493876143cd565b7fd81fc9b8523134ed613870ed029d6170cbb73aa6a6bc311b9a642689fb9df59a602061ffff73ffffffffffffffffffffffffffffffffffffffff6040519488865216941692a46084351115614279565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060405160128152f35b60643590811515820361000e57565b60243590811515820361000e57565b60a43590811515820361000e57565b503461000e5760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610e7d6104b0565b610e85610e18565b906084359067ffffffffffffffff821161000e57610eac61063060409336906004016104e3565b90610efc610ec6610ebe604435614744565b60243561483e565b92845195869485947f40a7bb10000000000000000000000000000000000000000000000000000000008652309060048701614a95565b038173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa908115610f8c575b6000908192610f5b575b50604080519182526020820192909252f35b9050610f7e915060403d8111610f85575b610f76818361157b565b810190614a7f565b9038610f49565b503d610f6c565b610f946131f5565b610f3f565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610aa6600435610fd881610a3f565b33600052600a60205261101b6024356110158360406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5461340f565b903361533e565b9060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261000e5760043561ffff8116810361000e57916024359067ffffffffffffffff821161000e57610593916004016104e3565b503461000e57602061ffff6110c961109236611022565b93909116600052600184526110b46110bb60406000206040519283809261195e565b038261157b565b848151910120923691611605565b82815191012014604051908152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761ffff6111136104b0565b1660005260036020526020604060002054604051908152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576106456004353361520f565b503461000e5761117736611022565b9190600092839173ffffffffffffffffffffffffffffffffffffffff6111a1818554163314613202565b7f00000000000000000000000000000000000000000000000000000000000000001690813b1561121a578361120695604051968795869485937f42d65a8d000000000000000000000000000000000000000000000000000000008552600485016132a6565b03925af18015610a2e57610a1f5750604051f35b8380fd5b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060405160008152f35b506101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561129181610a3f565b6112996104c1565b67ffffffffffffffff9160a43583811161000e576112bb9036906004016104e3565b9060c43592858416840361000e5760e43595861161000e576112e4610645963690600401610c96565b946084359160643591604435916148a9565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561133281610a3f565b73ffffffffffffffffffffffffffffffffffffffff61135681600054163314613202565b8116156113ed57600880547fffffffffffffffffffff0000000000000000000000000000000000000000ffff16601083901b75ffffffffffffffffffffffffffffffffffffffff00001617905560405173ffffffffffffffffffffffffffffffffffffffff90911681527f047912631afa564eebd3db2efe191a0dec62da1fede6bbbc1ffc89d87845b1b59080602081015b0390a1005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4665653a206665654f776e65722063616e6e6f742062652030780000000000006044820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e577fd26030ef4a8c225ee12b646eb4466acb41fb96b6cd4660b22d0ba0124e7bdc74602061ffff6114a96104b0565b6114cc73ffffffffffffffffffffffffffffffffffffffff600054163314613202565b166114db612710821115614bcc565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00006008541617600855604051908152a1005b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b67ffffffffffffffff811161155257604052565b61155a61150e565b604052565b6040810190811067ffffffffffffffff82111761155257604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761155257604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff81116115f8575b01160190565b61160061150e565b6115f2565b929192611611826115bc565b9161161f604051938461157b565b82948184528183011161000e578281602093846000960137010152565b60607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc82011261000e5760043561ffff8116810361000e579160243567ffffffffffffffff9283821161000e578060238301121561000e578160246116a693600401359101611605565b91604435908116810361000e5790565b6020906116d092826040519483868095519384920161079d565b82019081520301902090565b503461000e57602061173c61ffff61171a836116f73661163c565b94909116600052600582526040600020826040519483868095519384920161079d565b8201908152030190209067ffffffffffffffff16600052602052604060002090565b54604051908152f35b503461000e5761175436610511565b91929493903033036117785761063761177292610645973691611605565b92613a94565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d75737420626560448201527f204c7a41707000000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5773ffffffffffffffffffffffffffffffffffffffff60043561184d81610a3f565b1660005260096020526020604060002054604051908152f35b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126109485780547fffffffffffffffffffffffff000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8216916118dd338414613202565b16825581604051917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b90600182811c92168015611954575b602083101461192557565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f169161191a565b906000929180549161196f8361190b565b9182825260019384811690816000146119d15750600114611991575b50505050565b90919394506000526020928360002092846000945b8386106119bd57505050500101903880808061198b565b8054858701830152940193859082016119a6565b91505060209495507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009193501683830152151560051b0101903880808061198b565b90611a2e611a27926040519384809261195e565b038361157b565b565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761ffff611a6b6104b0565b1660005260016020526108a16110b4611a8e60406000206040519283809261195e565b6040519182916020835260208301906107d2565b503461000e5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e577fdd9c9685af3e6dcb56d8f4b88d2595d4add6837a150034e7781c46b6dcf8aaab611afb6104b0565b611b03610e27565b906113e8611b0f6104d2565b611b3273ffffffffffffffffffffffffffffffffffffffff600054163314613202565b61ffff80821690611b47612710831115614bcc565b60405191611b548361155f565b8252611ba56020830191871515835280871660005260076020526040600020935116839061ffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000825416179055565b5181547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1690151560101b62ff0000161790556040805161ffff9485168152941515602086015292169183019190915281906060820190565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57611cae73ffffffffffffffffffffffffffffffffffffffff600054163314613202565b600e5460ff8116611ce3577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117600e55005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f54726164696e6720697320616c726561647920656e61626c65640000000000006044820152fd5b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602061173c611d7e6104b0565b61ffff611d896104c1565b91166000526002835260406000209061ffff16600052602052604060002090565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60005416604051908152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60045416604051908152f35b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610948576040519080600d54611e928161190b565b808552916001918083169081156109005750600114611ebb576108a1856108958187038261157b565b9250600d83527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb55b828410611efe575050508101602001610895826108a1610885565b80546020858701810191909152909301928101611ee3565b503461000e57602060ff611f5661ffff61171a84611f333661163c565b94909116600052600682526040600020826040519483868095519384920161079d565b54166040519015158152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761ffff611f9d6104b0565b1660005260016020526110b4611fbd60406000206040519283809261195e565b805115611fdb5761089581611fd56108a19351613345565b906134e5565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152fd5b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561207581610a3f565b6024359033600052600a6020526120b08160406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54918083106120d1576120c59203903361533e565b60405160018152602090f35b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761218d6104b0565b67ffffffffffffffff9060643582811161000e576121af9036906004016104e3565b608492919235848116810361000e576121c6610e36565b9160c43595861161000e576121e26121f29636906004016104e3565b9590946044359060243590614ae7565b60408051928352602083019190915290f35b503461000e5761221336611022565b919060009161223a73ffffffffffffffffffffffffffffffffffffffff8454163314613202565b6040519360208184828801376122656034878481013060601b8582015203601481018952018761157b565b61ffff83168552600190818152604086209187519167ffffffffffffffff8311612421575b61229e83612298865461190b565b866132c1565b80601f841160011461234f575090828061231c969594938a9b7f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce9b93612324575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91921b9260031b1c19161790555b604051938493846132a6565b0390a1604051f35b015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff386122df565b919394987fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0841661238587600052602060002090565b938a905b82821061240a575050917f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce999a9593918561231c989694106123d3575b505050811b019055612310565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690553880806123c6565b808886978294978701518155019601940190612389565b61242961150e565b61228a565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610aa660043561246d81610a3f565b6024359033614f5a565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760206040516127108152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60085460101c16604051908152f35b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356125b581610a3f565b6125bd610e27565b9073ffffffffffffffffffffffffffffffffffffffff906125e382600054163314613202565b16600052600f60205260406000209060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00835416911515161790556000604051f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e577f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b602060043561268581610a3f565b73ffffffffffffffffffffffffffffffffffffffff906126aa82600054163314613202565b16807fffffffffffffffffffffffff00000000000000000000000000000000000000006004541617600455604051908152a1005b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57604061ffff8061271c6104b0565b16600052600760205260ff82600020548351928116835260101c1615156020820152f35b503461000e5760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576127786104b0565b6127806104c1565b60643567ffffffffffffffff811161000e576127a09036906004016104e3565b73ffffffffffffffffffffffffffffffffffffffff92919291600094836127cc87958654163314613202565b7f00000000000000000000000000000000000000000000000000000000000000001691823b15612887578490612852604051978896879586947fcbed8b9c00000000000000000000000000000000000000000000000000000000865261ffff80921660048701521660248501526044356044850152608060648501526084840191613267565b03925af1801561287a575b6128675750604051f35b80612874610a289261153e565b80610792565b6128826131f5565b61285d565b8480fd5b5061289536610511565b9161ffff869492961660005260056020526128dd81604060002060206040518092878b8337878201908152030190209067ffffffffffffffff16600052602052604060002090565b5491821561299b5761298f84836129887fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e59a60006129748461295b8e8a8f6113e89f908f612941906129346129559436908d611605565b6020815191012014613843565b61ffff166000526005602052604060002090565b9161382a565b9067ffffffffffffffff16600052602052604060002090565b5561298036878d611605565b933691611605565b9188613a94565b604051958695866138ce565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201527f61676500000000000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602061ffff60085416604051908152f35b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602061173c600435612aa181610a3f565b73ffffffffffffffffffffffffffffffffffffffff60243591612ac383610a3f565b16600052600a835260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b503461000e5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e577f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac06060612b506104b0565b612b586104c1565b9060443590612b8073ffffffffffffffffffffffffffffffffffffffff600054163314613202565b61ffff8091169283600052600260205282612bad8260406000209061ffff16600052602052604060002090565b556040519384521660208301526040820152a1005b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060405160018152f35b503461000e576101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57612c366104b0565b67ffffffffffffffff9060243582811161000e57612c589036906004016104e3565b919060443590848216820361000e57608435612c7381610a3f565b60c43595861161000e57612c8e6106459636906004016104e3565b94909360e4359660a4359460643593613953565b503461000e57612cb136611022565b9190600091612cd873ffffffffffffffffffffffffffffffffffffffff8454163314613202565b61ffff811683526001602090808252604085209167ffffffffffffffff8711612e63575b612d1087612d0a855461190b565b856132c1565b8590601f8811600114612d95575091868087989361231c957ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab9993612d8a575b501b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8460031b1c1916179055604051938493846132a6565b880135925038612d50565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08816612dc885600052602060002090565b9288905b828210612e4c575050918893917ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab989961231c969410612e14575b505082811b019055612310565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88660031b161c19908801351690553880612e07565b808685968294968c01358155019501930190612dcc565b612e6b61150e565b612cfc565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020612eb6612ead6104b0565b60243590614c57565b604051908152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435612efa81610a3f565b73ffffffffffffffffffffffffffffffffffffffff612f1e81600054163314613202565b811615612f2e5761064590614dd5565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576108a1612fed6104b0565b612ff56104c1565b90613001604435610a3f565b604051917ff5ecbdbc00000000000000000000000000000000000000000000000000000000835261ffff8092166004840152166024820152306044820152606435606482015260008160848173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa9081156130c4575b6000916130a3575b5060405191829182610815565b6130be913d8091833e6130b6818361157b565b810190613196565b38613096565b6130cc6131f5565b61308e565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020604051308152f35b1561311257565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f60448201527f6e747261637400000000000000000000000000000000000000000000000000006064820152fd5b60208183031261000e5780519067ffffffffffffffff821161000e570181601f8201121561000e5780516131c9816115bc565b926131d7604051948561157b565b8184526020828401011161000e57610826916020808501910161079d565b506040513d6000823e3d90fd5b1561320957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0938186528686013760008582860101520116010190565b60409061ffff61082695931681528160208201520191613267565b90601f81116132cf57505050565b600091825260208220906020601f850160051c8301941061330b575b601f0160051c01915b82811061330057505050565b8181556001016132f4565b90925082906132eb565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec9060148110613373570190565b61337b613315565b0190565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaf9060518110613373570190565b8181106133b8570390565b6133c0613315565b0390565b601f907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08111613373570190565b8019605111613402575b60510190565b61340a613315565b6133fc565b81198111613373570190565b1561342257565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152fd5b1561348757565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152fd5b6134f9826134f2816133c4565b101561341b565b6135068282511015613480565b8161351e575050604051600081526020810160405290565b60405191601f811691821560051b808486010193838501920101905b8084106135705750508252601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660405290565b909283518152602080910193019061353a565b613590826134f2816133c4565b6135a5815161359e846133f2565b1115613480565b816135bd575050604051600081526020810160405290565b60405191601f8116916051831560051b80858701019484860193010101905b8084106136125750508252601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660405290565b90928351815260208091019301906135dc565b9290916136ed5a604051907f66ad5c8a00000000000000000000000000000000000000000000000000000000602083015261ffff87166024830152608060448301526136e7826136bb61367b60a483018a6107d2565b67ffffffffffffffff881660648401527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc838203016084840152886107d2565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0810184528361157b565b3061370f565b9390156136fc575b5050505050565b61370594613779565b38808080806136f5565b909291600080916040519560c0870187811067ffffffffffffffff82111761376c575b6040526096875282602088019560a036883760208451940192f1903d9060968211613763575b6000908286523e9190565b60969150613758565b61377461150e565b613732565b91936138177fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c95613825939561ffff815160208301209616958660005260056020526137dd8361171a60208b6040600020826040519483868095519384920161079d565b5567ffffffffffffffff613803604051988998895260a060208a015260a08901906107d2565b9216604087015285820360608701526107d2565b9083820360808501526107d2565b0390a1565b6020919283604051948593843782019081520301902090565b1561384a57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f6160448201527f64000000000000000000000000000000000000000000000000000000000000006064820152fd5b916138fb9060609461ffff67ffffffffffffffff9499989799168552608060208601526080850191613267565b951660408201520152565b939694916139359061082699979461ffff67ffffffffffffffff9416875260c0602088015260c0870191613267565b961660408401526060830152608082015260a0818503910152613267565b91969792989594939094303303613a365761398473ffffffffffffffffffffffffffffffffffffffff918630614d91565b941692836040517fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf61ffff861691806139c28a829190602083019252565b0390a3833b1561000e576000988995613a0b936040519c8d9b8c9a8b987f7fcf35da000000000000000000000000000000000000000000000000000000008a5260048a01613906565b0393f18015613a29575b613a1c5750565b80612874611a2e9261153e565b613a316131f5565b613a15565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4f4654436f72653a2063616c6c6572206d757374206265204f4654436f7265006044820152fd5b92919060ff613aa284613ce0565b1680613c725750505060ff613ab682613ce0565b161580613c67575b613ac790614026565b613ad9613ad38261408b565b916140fc565b91819273ffffffffffffffffffffffffffffffffffffffff80931615613c5d575b613b2f9067ffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000009116613fe9565b918316928315613bff577fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf91613ba582613b6b61ffff946155ee565b613b7f613b7a87600b5461340f565b600b55565b73ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b613bb085825461340f565b90558460007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405180613be989829190602083019252565b0390a3604051938452169180602081015b0390a3565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b61dead9350613afa565b508051602914613abe565b600103613c8257611a2e93613dec565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4f4654436f72653a20756e6b6e6f776e207061636b65742074797065000000006044820152fd5b6001815110613cf0576001015190565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f746f55696e74385f6f75744f66426f756e6473000000000000000000000000006044820152fd5b989796929394613dbb9567ffffffffffffffff613d9760e099958d61ffff73ffffffffffffffffffffffffffffffffffffffff971690528d6101009081602082015201906107d2565b961660408c015260608b015216608089015260a088015286820360c08801526107d2565b930152565b67ffffffffffffffff613de1604093969594966060845260608401906107d2565b951660208201520152565b9091613df78461416a565b9091613e28613e218761295b613e1b8b61ffff166000526006602052604060002090565b8c6116b6565b5460ff1690565b91613e5f67ffffffffffffffff92837f00000000000000000000000000000000000000000000000000000000000000009116613fe9565b9288888b8315613f81575b505050853b15613f295794613eca96946136e7948a946136bb948d99600014613f225750505a925b5a978b6040519a8b987feaffd49a0000000000000000000000000000000000000000000000000000000060208b015260248a01613d4e565b9015613f17575090613f1261ffff928560207fb8890edbfc1c74692f527444645f95489c3703cc2df42e4a366f5d06fa6cd88496975191012090604051948594169684613dc0565b0390a2565b92611a2e9492613779565b1692613e92565b505060405173ffffffffffffffffffffffffffffffffffffffff9094168452507f9aedf5fdba8716db3b6705ca00150643309995d4f818a249ed6dde6677e7792d975091955085945050602084019250613825915050565b9061295b613fb692613fb089613f9b613fe1979b306150e8565b9961ffff166000526006602052604060002090565b906116b6565b60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00825416179055565b88888b613e6a565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482118115151661401a570290565b614022613315565b0290565b1561402d57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f4654436f72653a20696e76616c6964207061796c6f616400000000000000006044820152fd5b602181511061409e57602d015160601c90565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f746f416464726573735f6f75744f66426f756e647300000000000000000000006044820152fd5b602981511061410c576029015190565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f746f55696e7436345f6f75744f66426f756e64730000000000000000000000006044820152fd5b90614182600160ff61417b85613ce0565b1614614026565b61418b8261408b565b90614195836140fc565b9060498451106141ca57604984015193605181511061410c576141c76051820151916141c1815161337f565b90613583565b91565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f746f427974657333325f6f75744f66426f756e647300000000000000000000006044820152fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561000e570180359067ffffffffffffffff821161000e5760200191813603831361000e57565b1561428057565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f426173654f4654576974684665653a20616d6f756e74206973206c657373207460448201527f68616e206d696e416d6f756e74000000000000000000000000000000000000006064820152fd5b1561430b57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4f4654436f72653a20616d6f756e7420746f6f20736d616c6c000000000000006044820152fd5b9261438e61082697959361ffff61439c9416865260c0602087015260c08601906107d2565b9084820360408601526107d2565b9373ffffffffffffffffffffffffffffffffffffffff809216606084015216608082015260a08184039101526107d2565b946143f69193929561ffff811660005260016020526143fd60406000206040519485809261195e565b038461157b565b82511561449c5761440f85518261468b565b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001693843b1561000e5760009661448b91604051998a98899788967fc580310000000000000000000000000000000000000000000000000000000000885260048801614369565b03925af18015613a2957613a1c5750565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201527f61207472757374656420736f75726365000000000000000000000000000000006064820152fd5b1561452757565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152fd5b1561458c57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152fd5b602282511061462d5761ffff6022611a2e9301519116600052600260205260406000206000805260205260406000205490614626821515614520565b1015614585565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152fd5b61ffff16600052600360205260406000205490811561470a575b116146ac57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c617267656044820152fd5b61271091506146a5565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f00000000000000000000000000000000000000000000000000000000000000009081156147e1575b0467ffffffffffffffff90818111614783571690565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4f4654436f72653a20616d6f756e745344206f766572666c6f770000000000006044820152fd5b6147e9614714565b61476d565b7f00000000000000000000000000000000000000000000000000000000000000008015614831575b81068181809310614825570391565b61482d613315565b0391565b614839614714565b614816565b907fffffffffffffffff000000000000000000000000000000000000000000000000906040519260006020850152602184015260c01b166041820152602981526060810181811067ffffffffffffffff82111761489c575b60405290565b6148a461150e565b614896565b939691949597926148bb908286614d06565b50926148f38135996148cc8b610a3f565b6148eb6148e1602085013594610d4486610a3f565b9a90923691611605565b983691611605565b90602282511061462d57611a2e996149826149899561496661495f602287015199610d5961ffff8a169b8c600052600260205260406000206001600052602052614958604060002054614947811515614520565b67ffffffffffffffff88169061340f565b1115614585565b508a614d5e565b9a6149728c1515614304565b61497b8c614744565b8b336149d2565b34946143cd565b7fd81fc9b8523134ed613870ed029d6170cbb73aa6a6bc311b9a642689fb9df59a602073ffffffffffffffffffffffffffffffffffffffff604051948786521693a41015614279565b93926071926108269473ffffffffffffffffffffffffffffffffffffffff6040519788957f0100000000000000000000000000000000000000000000000000000000000000602088015260218701527fffffffffffffffff000000000000000000000000000000000000000000000000809460c01b16604187015216604985015260c01b166069830152614a6f815180926020868601910161079d565b810103605181018452018261157b565b919082604091031261000e576020825192015190565b919273ffffffffffffffffffffffffffffffffffffffff610826969461ffff614ad29416855216602084015260a0604084015260a08301906107d2565b921515606082015260808184039101526107d2565b949195989790614b16614b10604099614b08614b1d97614b53993691611605565b943691611605565b97614744565b90336149d2565b92845196879485947f40a7bb10000000000000000000000000000000000000000000000000000000008652309060048701614a95565b038173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa918215614bbf575b6000908193614ba457509190565b905061059391925060403d8111610f8557610f76818361157b565b614bc76131f5565b614b96565b15614bd357565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4665653a20666565206270206d757374206265203c3d2042505f44454e4f4d4960448201527f4e41544f520000000000000000000000000000000000000000000000000000006064820152fd5b61ffff809116600052600760205260406000209060ff604051926040840184811067ffffffffffffffff821117614cf9575b60405254828116845260101c161580156020840152614cce575061082691614cc0614cb9614cc6935161ffff1690565b61ffff1690565b90613fe9565b612710900490565b9050614cdd60085461ffff1690565b16908115614cf25761082691614cc691613fe9565b5050600090565b614d0161150e565b614c89565b929082614d1291614c57565b8281809410614d51575b03928280614d28575050565b614d4e9173ffffffffffffffffffffffffffffffffffffffff60085460101c1690614d91565b50565b614d59613315565b614d1c565b81610826913373ffffffffffffffffffffffffffffffffffffffff8216031561520f57614d8c8233836154f8565b61520f565b61082691839173ffffffffffffffffffffffffffffffffffffffff8116308114159081614dca575b5015614f5a57610c918333836154f8565b905033141538614db9565b6000549073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a3565b15614e4b57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b15614ed657565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b919073ffffffffffffffffffffffffffffffffffffffff9081841692831561506457615047827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef94613bfa941696614fb3881515614e44565b614fbd828261582a565b61502084614feb8373ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b54614ff882821015614ecf565b039173ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b5573ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b61505282825461340f565b90556040519081529081906020820190565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b73ffffffffffffffffffffffffffffffffffffffff8116918215613bff5760207fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9161516e846151396000966155ee565b61514583600b5461340f565b600b5573ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b61517982825461340f565b9055604051908152a3565b1561518b57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152fd5b9073ffffffffffffffffffffffffffffffffffffffff82169081156152ba57613bfa7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef918461525f60009661574f565b61529a8261528d8373ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b54614ff882821015615184565b556152aa613b7a82600b546133ad565b6040519081529081906020820190565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b9073ffffffffffffffffffffffffffffffffffffffff918281169283156154755782169384156153f157806153e07f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925946153bb613bfa9573ffffffffffffffffffffffffffffffffffffffff16600052600a602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b556040519081529081906020820190565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b9073ffffffffffffffffffffffffffffffffffffffff8216600052600a6020526155468160406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84036155755750505050565b8084106155905761558793039161533e565b3880808061198b565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b60ff600e541690811561572e575b8115615709575b81156156d4575b811561569e575b501561561957565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f54726164696e67206973206e6f7420656e61626c6564206f722061646472657360448201527f73206e6f742077686974656c69737465640000000000000000000000000000006064820152608490fd5b60ff91506156cc9073ffffffffffffffffffffffffffffffffffffffff16600052600f602052604060002090565b541638615611565b60008052600f6020527ff4803e074bd026baaf6ed2e288c9515f68c72fb7216eebdd7cae1718a53ec3755460ff16915061560a565b60005473ffffffffffffffffffffffffffffffffffffffff8083169116149150615603565b60005473ffffffffffffffffffffffffffffffffffffffff161591506155fc565b60ff600e5416908115615805575b81156157e4575b81156157ae575b50801561577a575b1561561957565b5060008052600f60205260ff7ff4803e074bd026baaf6ed2e288c9515f68c72fb7216eebdd7cae1718a53ec3755416615773565b60ff91506157dc9073ffffffffffffffffffffffffffffffffffffffff16600052600f602052604060002090565b54163861576b565b60005473ffffffffffffffffffffffffffffffffffffffff16159150615764565b60005473ffffffffffffffffffffffffffffffffffffffff808316911614915061575d565b9060ff600e54169182156158b3575b821561588e575b8215615856575b50811561569e57501561561957565b60ff9192506158859073ffffffffffffffffffffffffffffffffffffffff16600052600f602052604060002090565b54169038615847565b60005473ffffffffffffffffffffffffffffffffffffffff8381169116149250615840565b60005473ffffffffffffffffffffffffffffffffffffffff808316911614925061583956fea2646970667358221220d6161e134cd8730386e08647f834730f84dfe1d0f2adcac61f8337f78f1ffee864736f6c634300080f0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000008000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7000000000000000000000000000000000000000000000000000000000000000846616e672044616f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046644414f00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361015610013575b600080fd5b60003560e01c80621d3567146104a757806301ffc9a71461049e57806306fdde031461049557806307e0db171461048c578063095ea7b3146104835780630df374831461047a57806310ddb1371461047157806318160ddd1461039957806323b872dd146104685780632cdf0b951461045f578063313ce56714610456578063365260b41461044d57806339509351146104445780633d8b38f61461043b5780633f1f4fa41461043257806342966c681461042957806342d65a8d146104205780634477051514610405578063455ba27d146104175780634b104eff1461040e5780634c42899a146104055780635a359dc5146103fc5780635b8c41e6146103f357806366ad5c8a146103ea57806370a08231146103e1578063715018a6146103d85780637533d788146103cf57806379c0ad4b146103c6578063857749b0146103bd5780638a8c523c146103b45780638cfd8f5c146103ab5780638da5cb5b146103a25780639358928b14610399578063950c8a741461039057806395d89b41146103875780639bdb98121461037e5780639f38369a14610375578063a457c2d71461036c578063a4c51df514610363578063a6c3d1651461035a578063a9059cbb14610351578063abe685cd14610324578063b353aaa714610348578063b9818be11461033f578063b9a45aac14610336578063baf3292d1461032d578063c446183414610324578063c83330ce1461031b578063cbed8b9c14610312578063d1deba1f14610309578063d888296814610300578063dd62ed3e146102f7578063df2a5b3b146102ee578063e6a20ae6146102e5578063eaffd49a146102dc578063eb8d72b7146102d3578063ecd8f212146102ca578063f2fde38b146102c1578063f5ecbdbc146102b85763fc0c546a146102b057600080fd5b61000e6130d1565b5061000e612fb2565b5061000e612ebe565b5061000e612e70565b5061000e612ca2565b5061000e612bfd565b5061000e612bc2565b5061000e612af5565b5061000e612a60565b5061000e612a1f565b5061000e61288b565b5061000e612740565b5061000e6126de565b5061000e612477565b5061000e612626565b5061000e612579565b5061000e612523565b5061000e6124b3565b5061000e61242e565b5061000e612204565b5061000e612155565b5061000e612039565b5061000e611f62565b5061000e611f16565b5061000e611e50565b5061000e611dfd565b5061000e610bfa565b5061000e611daa565b5061000e611d41565b5061000e611c5b565b5061000e611bfe565b5061000e611aa2565b5061000e611a30565b5061000e611866565b5061000e6117fc565b5061000e611745565b5061000e6116dc565b5061000e61144b565b5061000e61121e565b5061000e6112f6565b5061000e611259565b5061000e611168565b5061000e61112c565b5061000e6110d8565b5061000e61107b565b5061000e610f99565b5061000e610e45565b5061000e610ddd565b5061000e610ca4565b5061000e610c37565b5061000e610b28565b5061000e610ab1565b5061000e610a5d565b5061000e61094b565b5061000e610829565b5061000e6106d2565b5061000e610597565b6004359061ffff8216820361000e57565b6024359061ffff8216820361000e57565b6044359061ffff8216820361000e57565b9181601f8401121561000e5782359167ffffffffffffffff831161000e576020838186019501011161000e57565b9060807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261000e5760043561ffff8116810361000e579167ffffffffffffffff9060243582811161000e578161056c916004016104e3565b93909392604435818116810361000e579260643591821161000e57610593916004016104e3565b9091565b503461000e576105a636610511565b919294939073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd71633036106745761063761063f92610645976106306106166106118a61ffff166000526001602052604060002090565b611a13565b805190818414918261066a575b5081610647575b5061310b565b3691611605565b923691611605565b92613625565b005b9050610654368486611605565b602081519101209060208151910120143861062a565b1515915038610623565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c657200006044820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004357fffffffff00000000000000000000000000000000000000000000000000000000811680910361000e57807f6984a9e80000000000000000000000000000000000000000000000000000000060209214908115610768575b506040519015158152f35b7f01ffc9a7000000000000000000000000000000000000000000000000000000009150143861075d565b600091031261000e57565b918091926000905b8282106107bd5750116107b6575050565b6000910152565b915080602091830151818601520182916107a5565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209361080e8151809281875287808801910161079d565b0116010190565b9060206108269281815201906107d2565b90565b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610948576040519080600c5461086b8161190b565b8085529160019180831690811561090057506001146108a5575b6108a1856108958187038261157b565b60405191829182610815565b0390f35b9250600c83527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c75b8284106108e8575050508101602001610895826108a1610885565b805460208587018101919091529093019281016108cd565b8695506108a1969350602092506108959491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b8201019293610885565b80fd5b503461000e57600060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610948576109856104b0565b8173ffffffffffffffffffffffffffffffffffffffff6109a9818354163314613202565b7f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd71691823b15610a3b57602461ffff918360405195869485937f07e0db170000000000000000000000000000000000000000000000000000000085521660048401525af18015610a2e575b610a1f575b50604051f35b610a289061153e565b38610a19565b610a366131f5565b610a14565b5080fd5b73ffffffffffffffffffffffffffffffffffffffff81160361000e57565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610aa6600435610a9c81610a3f565b602435903361533e565b602060405160018152f35b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761ffff610aec6104b0565b610b0f73ffffffffffffffffffffffffffffffffffffffff600054163314613202565b1660005260036020526024356040600020556000604051f35b503461000e57600060207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261094857610b626104b0565b8173ffffffffffffffffffffffffffffffffffffffff610b86818354163314613202565b7f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd71691823b15610a3b57602461ffff918360405195869485937f10ddb1370000000000000000000000000000000000000000000000000000000085521660048401525af18015610a2e57610a1f5750604051f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020600b54604051908152f35b503461000e5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610aa6600435610c7681610a3f565b602435610c8281610a3f565b60443591610c918333836154f8565b614f5a565b9081606091031261000e5790565b5060c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435610cdb81610a3f565b610ce36104c1565b9060443560a4359267ffffffffffffffff841161000e57610d0b610645943690600401610c96565b92610d8c610d1c6064358484614d06565b50853590610d2982610a3f565b610d65610d5e610d4e61063060208b01359a610d448c610a3f565b6040810190614228565b92610d5984896145ea565b6147ee565b5085614d5e565b96610d71881515614304565b610d83610d7d89614744565b8861483e565b923493876143cd565b7fd81fc9b8523134ed613870ed029d6170cbb73aa6a6bc311b9a642689fb9df59a602061ffff73ffffffffffffffffffffffffffffffffffffffff6040519488865216941692a46084351115614279565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060405160128152f35b60643590811515820361000e57565b60243590811515820361000e57565b60a43590811515820361000e57565b503461000e5760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610e7d6104b0565b610e85610e18565b906084359067ffffffffffffffff821161000e57610eac61063060409336906004016104e3565b90610efc610ec6610ebe604435614744565b60243561483e565b92845195869485947f40a7bb10000000000000000000000000000000000000000000000000000000008652309060048701614a95565b038173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7165afa908115610f8c575b6000908192610f5b575b50604080519182526020820192909252f35b9050610f7e915060403d8111610f85575b610f76818361157b565b810190614a7f565b9038610f49565b503d610f6c565b610f946131f5565b610f3f565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610aa6600435610fd881610a3f565b33600052600a60205261101b6024356110158360406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5461340f565b903361533e565b9060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261000e5760043561ffff8116810361000e57916024359067ffffffffffffffff821161000e57610593916004016104e3565b503461000e57602061ffff6110c961109236611022565b93909116600052600184526110b46110bb60406000206040519283809261195e565b038261157b565b848151910120923691611605565b82815191012014604051908152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761ffff6111136104b0565b1660005260036020526020604060002054604051908152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576106456004353361520f565b503461000e5761117736611022565b9190600092839173ffffffffffffffffffffffffffffffffffffffff6111a1818554163314613202565b7f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd71690813b1561121a578361120695604051968795869485937f42d65a8d000000000000000000000000000000000000000000000000000000008552600485016132a6565b03925af18015610a2e57610a1f5750604051f35b8380fd5b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060405160008152f35b506101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561129181610a3f565b6112996104c1565b67ffffffffffffffff9160a43583811161000e576112bb9036906004016104e3565b9060c43592858416840361000e5760e43595861161000e576112e4610645963690600401610c96565b946084359160643591604435916148a9565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561133281610a3f565b73ffffffffffffffffffffffffffffffffffffffff61135681600054163314613202565b8116156113ed57600880547fffffffffffffffffffff0000000000000000000000000000000000000000ffff16601083901b75ffffffffffffffffffffffffffffffffffffffff00001617905560405173ffffffffffffffffffffffffffffffffffffffff90911681527f047912631afa564eebd3db2efe191a0dec62da1fede6bbbc1ffc89d87845b1b59080602081015b0390a1005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4665653a206665654f776e65722063616e6e6f742062652030780000000000006044820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e577fd26030ef4a8c225ee12b646eb4466acb41fb96b6cd4660b22d0ba0124e7bdc74602061ffff6114a96104b0565b6114cc73ffffffffffffffffffffffffffffffffffffffff600054163314613202565b166114db612710821115614bcc565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00006008541617600855604051908152a1005b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b67ffffffffffffffff811161155257604052565b61155a61150e565b604052565b6040810190811067ffffffffffffffff82111761155257604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761155257604052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209267ffffffffffffffff81116115f8575b01160190565b61160061150e565b6115f2565b929192611611826115bc565b9161161f604051938461157b565b82948184528183011161000e578281602093846000960137010152565b60607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc82011261000e5760043561ffff8116810361000e579160243567ffffffffffffffff9283821161000e578060238301121561000e578160246116a693600401359101611605565b91604435908116810361000e5790565b6020906116d092826040519483868095519384920161079d565b82019081520301902090565b503461000e57602061173c61ffff61171a836116f73661163c565b94909116600052600582526040600020826040519483868095519384920161079d565b8201908152030190209067ffffffffffffffff16600052602052604060002090565b54604051908152f35b503461000e5761175436610511565b91929493903033036117785761063761177292610645973691611605565b92613a94565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d75737420626560448201527f204c7a41707000000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5773ffffffffffffffffffffffffffffffffffffffff60043561184d81610a3f565b1660005260096020526020604060002054604051908152f35b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126109485780547fffffffffffffffffffffffff000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff8216916118dd338414613202565b16825581604051917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b90600182811c92168015611954575b602083101461192557565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f169161191a565b906000929180549161196f8361190b565b9182825260019384811690816000146119d15750600114611991575b50505050565b90919394506000526020928360002092846000945b8386106119bd57505050500101903880808061198b565b8054858701830152940193859082016119a6565b91505060209495507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009193501683830152151560051b0101903880808061198b565b90611a2e611a27926040519384809261195e565b038361157b565b565b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761ffff611a6b6104b0565b1660005260016020526108a16110b4611a8e60406000206040519283809261195e565b6040519182916020835260208301906107d2565b503461000e5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e577fdd9c9685af3e6dcb56d8f4b88d2595d4add6837a150034e7781c46b6dcf8aaab611afb6104b0565b611b03610e27565b906113e8611b0f6104d2565b611b3273ffffffffffffffffffffffffffffffffffffffff600054163314613202565b61ffff80821690611b47612710831115614bcc565b60405191611b548361155f565b8252611ba56020830191871515835280871660005260076020526040600020935116839061ffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000825416179055565b5181547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1690151560101b62ff0000161790556040805161ffff9485168152941515602086015292169183019190915281906060820190565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060405160ff7f0000000000000000000000000000000000000000000000000000000000000008168152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57611cae73ffffffffffffffffffffffffffffffffffffffff600054163314613202565b600e5460ff8116611ce3577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117600e55005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f54726164696e6720697320616c726561647920656e61626c65640000000000006044820152fd5b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602061173c611d7e6104b0565b61ffff611d896104c1565b91166000526002835260406000209061ffff16600052602052604060002090565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60005416604051908152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60045416604051908152f35b503461000e576000807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610948576040519080600d54611e928161190b565b808552916001918083169081156109005750600114611ebb576108a1856108958187038261157b565b9250600d83527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb55b828410611efe575050508101602001610895826108a1610885565b80546020858701810191909152909301928101611ee3565b503461000e57602060ff611f5661ffff61171a84611f333661163c565b94909116600052600682526040600020826040519483868095519384920161079d565b54166040519015158152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761ffff611f9d6104b0565b1660005260016020526110b4611fbd60406000206040519283809261195e565b805115611fdb5761089581611fd56108a19351613345565b906134e5565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152fd5b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760043561207581610a3f565b6024359033600052600a6020526120b08160406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54918083106120d1576120c59203903361533e565b60405160018152602090f35b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760e07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5761218d6104b0565b67ffffffffffffffff9060643582811161000e576121af9036906004016104e3565b608492919235848116810361000e576121c6610e36565b9160c43595861161000e576121e26121f29636906004016104e3565b9590946044359060243590614ae7565b60408051928352602083019190915290f35b503461000e5761221336611022565b919060009161223a73ffffffffffffffffffffffffffffffffffffffff8454163314613202565b6040519360208184828801376122656034878481013060601b8582015203601481018952018761157b565b61ffff83168552600190818152604086209187519167ffffffffffffffff8311612421575b61229e83612298865461190b565b866132c1565b80601f841160011461234f575090828061231c969594938a9b7f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce9b93612324575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff91921b9260031b1c19161790555b604051938493846132a6565b0390a1604051f35b015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff386122df565b919394987fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0841661238587600052602060002090565b938a905b82821061240a575050917f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce999a9593918561231c989694106123d3575b505050811b019055612310565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690553880806123c6565b808886978294978701518155019601940190612389565b61242961150e565b61228a565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57610aa660043561246d81610a3f565b6024359033614f5a565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e5760206040516127108152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7168152f35b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602073ffffffffffffffffffffffffffffffffffffffff60085460101c16604051908152f35b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576004356125b581610a3f565b6125bd610e27565b9073ffffffffffffffffffffffffffffffffffffffff906125e382600054163314613202565b16600052600f60205260406000209060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00835416911515161790556000604051f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e577f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b602060043561268581610a3f565b73ffffffffffffffffffffffffffffffffffffffff906126aa82600054163314613202565b16807fffffffffffffffffffffffff00000000000000000000000000000000000000006004541617600455604051908152a1005b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57604061ffff8061271c6104b0565b16600052600760205260ff82600020548351928116835260101c1615156020820152f35b503461000e5760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576127786104b0565b6127806104c1565b60643567ffffffffffffffff811161000e576127a09036906004016104e3565b73ffffffffffffffffffffffffffffffffffffffff92919291600094836127cc87958654163314613202565b7f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd71691823b15612887578490612852604051978896879586947fcbed8b9c00000000000000000000000000000000000000000000000000000000865261ffff80921660048701521660248501526044356044850152608060648501526084840191613267565b03925af1801561287a575b6128675750604051f35b80612874610a289261153e565b80610792565b6128826131f5565b61285d565b8480fd5b5061289536610511565b9161ffff869492961660005260056020526128dd81604060002060206040518092878b8337878201908152030190209067ffffffffffffffff16600052602052604060002090565b5491821561299b5761298f84836129887fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e59a60006129748461295b8e8a8f6113e89f908f612941906129346129559436908d611605565b6020815191012014613843565b61ffff166000526005602052604060002090565b9161382a565b9067ffffffffffffffff16600052602052604060002090565b5561298036878d611605565b933691611605565b9188613a94565b604051958695866138ce565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201527f61676500000000000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602061ffff60085416604051908152f35b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602061173c600435612aa181610a3f565b73ffffffffffffffffffffffffffffffffffffffff60243591612ac383610a3f565b16600052600a835260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b503461000e5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e577f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac06060612b506104b0565b612b586104c1565b9060443590612b8073ffffffffffffffffffffffffffffffffffffffff600054163314613202565b61ffff8091169283600052600260205282612bad8260406000209061ffff16600052602052604060002090565b556040519384521660208301526040820152a1005b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57602060405160018152f35b503461000e576101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57612c366104b0565b67ffffffffffffffff9060243582811161000e57612c589036906004016104e3565b919060443590848216820361000e57608435612c7381610a3f565b60c43595861161000e57612c8e6106459636906004016104e3565b94909360e4359660a4359460643593613953565b503461000e57612cb136611022565b9190600091612cd873ffffffffffffffffffffffffffffffffffffffff8454163314613202565b61ffff811683526001602090808252604085209167ffffffffffffffff8711612e63575b612d1087612d0a855461190b565b856132c1565b8590601f8811600114612d95575091868087989361231c957ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab9993612d8a575b501b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8460031b1c1916179055604051938493846132a6565b880135925038612d50565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08816612dc885600052602060002090565b9288905b828210612e4c575050918893917ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab989961231c969410612e14575b505082811b019055612310565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88660031b161c19908801351690553880612e07565b808685968294968c01358155019501930190612dcc565b612e6b61150e565b612cfc565b503461000e5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020612eb6612ead6104b0565b60243590614c57565b604051908152f35b503461000e5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e57600435612efa81610a3f565b73ffffffffffffffffffffffffffffffffffffffff612f1e81600054163314613202565b811615612f2e5761064590614dd5565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576108a1612fed6104b0565b612ff56104c1565b90613001604435610a3f565b604051917ff5ecbdbc00000000000000000000000000000000000000000000000000000000835261ffff8092166004840152166024820152306044820152606435606482015260008160848173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7165afa9081156130c4575b6000916130a3575b5060405191829182610815565b6130be913d8091833e6130b6818361157b565b810190613196565b38613096565b6130cc6131f5565b61308e565b503461000e5760007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261000e576020604051308152f35b1561311257565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f60448201527f6e747261637400000000000000000000000000000000000000000000000000006064820152fd5b60208183031261000e5780519067ffffffffffffffff821161000e570181601f8201121561000e5780516131c9816115bc565b926131d7604051948561157b565b8184526020828401011161000e57610826916020808501910161079d565b506040513d6000823e3d90fd5b1561320957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0938186528686013760008582860101520116010190565b60409061ffff61082695931681528160208201520191613267565b90601f81116132cf57505050565b600091825260208220906020601f850160051c8301941061330b575b601f0160051c01915b82811061330057505050565b8181556001016132f4565b90925082906132eb565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec9060148110613373570190565b61337b613315565b0190565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaf9060518110613373570190565b8181106133b8570390565b6133c0613315565b0390565b601f907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08111613373570190565b8019605111613402575b60510190565b61340a613315565b6133fc565b81198111613373570190565b1561342257565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f736c6963655f6f766572666c6f770000000000000000000000000000000000006044820152fd5b1561348757565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f736c6963655f6f75744f66426f756e64730000000000000000000000000000006044820152fd5b6134f9826134f2816133c4565b101561341b565b6135068282511015613480565b8161351e575050604051600081526020810160405290565b60405191601f811691821560051b808486010193838501920101905b8084106135705750508252601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660405290565b909283518152602080910193019061353a565b613590826134f2816133c4565b6135a5815161359e846133f2565b1115613480565b816135bd575050604051600081526020810160405290565b60405191601f8116916051831560051b80858701019484860193010101905b8084106136125750508252601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660405290565b90928351815260208091019301906135dc565b9290916136ed5a604051907f66ad5c8a00000000000000000000000000000000000000000000000000000000602083015261ffff87166024830152608060448301526136e7826136bb61367b60a483018a6107d2565b67ffffffffffffffff881660648401527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc838203016084840152886107d2565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0810184528361157b565b3061370f565b9390156136fc575b5050505050565b61370594613779565b38808080806136f5565b909291600080916040519560c0870187811067ffffffffffffffff82111761376c575b6040526096875282602088019560a036883760208451940192f1903d9060968211613763575b6000908286523e9190565b60969150613758565b61377461150e565b613732565b91936138177fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c95613825939561ffff815160208301209616958660005260056020526137dd8361171a60208b6040600020826040519483868095519384920161079d565b5567ffffffffffffffff613803604051988998895260a060208a015260a08901906107d2565b9216604087015285820360608701526107d2565b9083820360808501526107d2565b0390a1565b6020919283604051948593843782019081520301902090565b1561384a57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f6160448201527f64000000000000000000000000000000000000000000000000000000000000006064820152fd5b916138fb9060609461ffff67ffffffffffffffff9499989799168552608060208601526080850191613267565b951660408201520152565b939694916139359061082699979461ffff67ffffffffffffffff9416875260c0602088015260c0870191613267565b961660408401526060830152608082015260a0818503910152613267565b91969792989594939094303303613a365761398473ffffffffffffffffffffffffffffffffffffffff918630614d91565b941692836040517fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf61ffff861691806139c28a829190602083019252565b0390a3833b1561000e576000988995613a0b936040519c8d9b8c9a8b987f7fcf35da000000000000000000000000000000000000000000000000000000008a5260048a01613906565b0393f18015613a29575b613a1c5750565b80612874611a2e9261153e565b613a316131f5565b613a15565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4f4654436f72653a2063616c6c6572206d757374206265204f4654436f7265006044820152fd5b92919060ff613aa284613ce0565b1680613c725750505060ff613ab682613ce0565b161580613c67575b613ac790614026565b613ad9613ad38261408b565b916140fc565b91819273ffffffffffffffffffffffffffffffffffffffff80931615613c5d575b613b2f9067ffffffffffffffff7f00000000000000000000000000000000000000000000000000000002540be4009116613fe9565b918316928315613bff577fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf91613ba582613b6b61ffff946155ee565b613b7f613b7a87600b5461340f565b600b55565b73ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b613bb085825461340f565b90558460007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405180613be989829190602083019252565b0390a3604051938452169180602081015b0390a3565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b61dead9350613afa565b508051602914613abe565b600103613c8257611a2e93613dec565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4f4654436f72653a20756e6b6e6f776e207061636b65742074797065000000006044820152fd5b6001815110613cf0576001015190565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f746f55696e74385f6f75744f66426f756e6473000000000000000000000000006044820152fd5b989796929394613dbb9567ffffffffffffffff613d9760e099958d61ffff73ffffffffffffffffffffffffffffffffffffffff971690528d6101009081602082015201906107d2565b961660408c015260608b015216608089015260a088015286820360c08801526107d2565b930152565b67ffffffffffffffff613de1604093969594966060845260608401906107d2565b951660208201520152565b9091613df78461416a565b9091613e28613e218761295b613e1b8b61ffff166000526006602052604060002090565b8c6116b6565b5460ff1690565b91613e5f67ffffffffffffffff92837f00000000000000000000000000000000000000000000000000000002540be4009116613fe9565b9288888b8315613f81575b505050853b15613f295794613eca96946136e7948a946136bb948d99600014613f225750505a925b5a978b6040519a8b987feaffd49a0000000000000000000000000000000000000000000000000000000060208b015260248a01613d4e565b9015613f17575090613f1261ffff928560207fb8890edbfc1c74692f527444645f95489c3703cc2df42e4a366f5d06fa6cd88496975191012090604051948594169684613dc0565b0390a2565b92611a2e9492613779565b1692613e92565b505060405173ffffffffffffffffffffffffffffffffffffffff9094168452507f9aedf5fdba8716db3b6705ca00150643309995d4f818a249ed6dde6677e7792d975091955085945050602084019250613825915050565b9061295b613fb692613fb089613f9b613fe1979b306150e8565b9961ffff166000526006602052604060002090565b906116b6565b60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00825416179055565b88888b613e6a565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482118115151661401a570290565b614022613315565b0290565b1561402d57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4f4654436f72653a20696e76616c6964207061796c6f616400000000000000006044820152fd5b602181511061409e57602d015160601c90565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f746f416464726573735f6f75744f66426f756e647300000000000000000000006044820152fd5b602981511061410c576029015190565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f746f55696e7436345f6f75744f66426f756e64730000000000000000000000006044820152fd5b90614182600160ff61417b85613ce0565b1614614026565b61418b8261408b565b90614195836140fc565b9060498451106141ca57604984015193605181511061410c576141c76051820151916141c1815161337f565b90613583565b91565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f746f427974657333325f6f75744f66426f756e647300000000000000000000006044820152fd5b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18136030182121561000e570180359067ffffffffffffffff821161000e5760200191813603831361000e57565b1561428057565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f426173654f4654576974684665653a20616d6f756e74206973206c657373207460448201527f68616e206d696e416d6f756e74000000000000000000000000000000000000006064820152fd5b1561430b57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4f4654436f72653a20616d6f756e7420746f6f20736d616c6c000000000000006044820152fd5b9261438e61082697959361ffff61439c9416865260c0602087015260c08601906107d2565b9084820360408601526107d2565b9373ffffffffffffffffffffffffffffffffffffffff809216606084015216608082015260a08184039101526107d2565b946143f69193929561ffff811660005260016020526143fd60406000206040519485809261195e565b038461157b565b82511561449c5761440f85518261468b565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd71693843b1561000e5760009661448b91604051998a98899788967fc580310000000000000000000000000000000000000000000000000000000000885260048801614369565b03925af18015613a2957613a1c5750565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201527f61207472757374656420736f75726365000000000000000000000000000000006064820152fd5b1561452757565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152fd5b1561458c57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152fd5b602282511061462d5761ffff6022611a2e9301519116600052600260205260406000206000805260205260406000205490614626821515614520565b1015614585565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152fd5b61ffff16600052600360205260406000205490811561470a575b116146ac57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c617267656044820152fd5b61271091506146a5565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f00000000000000000000000000000000000000000000000000000002540be4009081156147e1575b0467ffffffffffffffff90818111614783571690565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4f4654436f72653a20616d6f756e745344206f766572666c6f770000000000006044820152fd5b6147e9614714565b61476d565b7f00000000000000000000000000000000000000000000000000000002540be4008015614831575b81068181809310614825570391565b61482d613315565b0391565b614839614714565b614816565b907fffffffffffffffff000000000000000000000000000000000000000000000000906040519260006020850152602184015260c01b166041820152602981526060810181811067ffffffffffffffff82111761489c575b60405290565b6148a461150e565b614896565b939691949597926148bb908286614d06565b50926148f38135996148cc8b610a3f565b6148eb6148e1602085013594610d4486610a3f565b9a90923691611605565b983691611605565b90602282511061462d57611a2e996149826149899561496661495f602287015199610d5961ffff8a169b8c600052600260205260406000206001600052602052614958604060002054614947811515614520565b67ffffffffffffffff88169061340f565b1115614585565b508a614d5e565b9a6149728c1515614304565b61497b8c614744565b8b336149d2565b34946143cd565b7fd81fc9b8523134ed613870ed029d6170cbb73aa6a6bc311b9a642689fb9df59a602073ffffffffffffffffffffffffffffffffffffffff604051948786521693a41015614279565b93926071926108269473ffffffffffffffffffffffffffffffffffffffff6040519788957f0100000000000000000000000000000000000000000000000000000000000000602088015260218701527fffffffffffffffff000000000000000000000000000000000000000000000000809460c01b16604187015216604985015260c01b166069830152614a6f815180926020868601910161079d565b810103605181018452018261157b565b919082604091031261000e576020825192015190565b919273ffffffffffffffffffffffffffffffffffffffff610826969461ffff614ad29416855216602084015260a0604084015260a08301906107d2565b921515606082015260808184039101526107d2565b949195989790614b16614b10604099614b08614b1d97614b53993691611605565b943691611605565b97614744565b90336149d2565b92845196879485947f40a7bb10000000000000000000000000000000000000000000000000000000008652309060048701614a95565b038173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7165afa918215614bbf575b6000908193614ba457509190565b905061059391925060403d8111610f8557610f76818361157b565b614bc76131f5565b614b96565b15614bd357565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4665653a20666565206270206d757374206265203c3d2042505f44454e4f4d4960448201527f4e41544f520000000000000000000000000000000000000000000000000000006064820152fd5b61ffff809116600052600760205260406000209060ff604051926040840184811067ffffffffffffffff821117614cf9575b60405254828116845260101c161580156020840152614cce575061082691614cc0614cb9614cc6935161ffff1690565b61ffff1690565b90613fe9565b612710900490565b9050614cdd60085461ffff1690565b16908115614cf25761082691614cc691613fe9565b5050600090565b614d0161150e565b614c89565b929082614d1291614c57565b8281809410614d51575b03928280614d28575050565b614d4e9173ffffffffffffffffffffffffffffffffffffffff60085460101c1690614d91565b50565b614d59613315565b614d1c565b81610826913373ffffffffffffffffffffffffffffffffffffffff8216031561520f57614d8c8233836154f8565b61520f565b61082691839173ffffffffffffffffffffffffffffffffffffffff8116308114159081614dca575b5015614f5a57610c918333836154f8565b905033141538614db9565b6000549073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a3565b15614e4b57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b15614ed657565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b919073ffffffffffffffffffffffffffffffffffffffff9081841692831561506457615047827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef94613bfa941696614fb3881515614e44565b614fbd828261582a565b61502084614feb8373ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b54614ff882821015614ecf565b039173ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b5573ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b61505282825461340f565b90556040519081529081906020820190565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b73ffffffffffffffffffffffffffffffffffffffff8116918215613bff5760207fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9161516e846151396000966155ee565b61514583600b5461340f565b600b5573ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b61517982825461340f565b9055604051908152a3565b1561518b57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152fd5b9073ffffffffffffffffffffffffffffffffffffffff82169081156152ba57613bfa7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef918461525f60009661574f565b61529a8261528d8373ffffffffffffffffffffffffffffffffffffffff166000526009602052604060002090565b54614ff882821015615184565b556152aa613b7a82600b546133ad565b6040519081529081906020820190565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b9073ffffffffffffffffffffffffffffffffffffffff918281169283156154755782169384156153f157806153e07f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925946153bb613bfa9573ffffffffffffffffffffffffffffffffffffffff16600052600a602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b556040519081529081906020820190565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b9073ffffffffffffffffffffffffffffffffffffffff8216600052600a6020526155468160406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84036155755750505050565b8084106155905761558793039161533e565b3880808061198b565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b60ff600e541690811561572e575b8115615709575b81156156d4575b811561569e575b501561561957565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f54726164696e67206973206e6f7420656e61626c6564206f722061646472657360448201527f73206e6f742077686974656c69737465640000000000000000000000000000006064820152608490fd5b60ff91506156cc9073ffffffffffffffffffffffffffffffffffffffff16600052600f602052604060002090565b541638615611565b60008052600f6020527ff4803e074bd026baaf6ed2e288c9515f68c72fb7216eebdd7cae1718a53ec3755460ff16915061560a565b60005473ffffffffffffffffffffffffffffffffffffffff8083169116149150615603565b60005473ffffffffffffffffffffffffffffffffffffffff161591506155fc565b60ff600e5416908115615805575b81156157e4575b81156157ae575b50801561577a575b1561561957565b5060008052600f60205260ff7ff4803e074bd026baaf6ed2e288c9515f68c72fb7216eebdd7cae1718a53ec3755416615773565b60ff91506157dc9073ffffffffffffffffffffffffffffffffffffffff16600052600f602052604060002090565b54163861576b565b60005473ffffffffffffffffffffffffffffffffffffffff16159150615764565b60005473ffffffffffffffffffffffffffffffffffffffff808316911614915061575d565b9060ff600e54169182156158b3575b821561588e575b8215615856575b50811561569e57501561561957565b60ff9192506158859073ffffffffffffffffffffffffffffffffffffffff16600052600f602052604060002090565b54169038615847565b60005473ffffffffffffffffffffffffffffffffffffffff8381169116149250615840565b60005473ffffffffffffffffffffffffffffffffffffffff808316911614925061583956fea2646970667358221220d6161e134cd8730386e08647f834730f84dfe1d0f2adcac61f8337f78f1ffee864736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000008000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7000000000000000000000000000000000000000000000000000000000000000846616e672044616f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046644414f00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Fang Dao
Arg [1] : _symbol (string): fDAO
Arg [2] : _sharedDecimals (uint8): 8
Arg [3] : _layerZeroEndpoint (address): 0xb6319cC6c8c27A8F5dAF0dD3DF91EA35C4720dd7
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [5] : 46616e672044616f000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 6644414f00000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.