Source Code
Latest 25 from a total of 88,206 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Bridge | 427666076 | 1 hr ago | IN | 0.00001785 ETH | 0.00000545 | ||||
| Bridge | 427650368 | 2 hrs ago | IN | 0.00001785 ETH | 0.00001086 | ||||
| Bridge | 427643128 | 2 hrs ago | IN | 0.00001785 ETH | 0.00000538 | ||||
| Bridge | 427633536 | 3 hrs ago | IN | 0.00001785 ETH | 0.00000564 | ||||
| Bridge | 427617089 | 4 hrs ago | IN | 0.00001785 ETH | 0.00000538 | ||||
| Bridge | 427588909 | 6 hrs ago | IN | 0.00001785 ETH | 0.00000528 | ||||
| Bridge | 427543023 | 9 hrs ago | IN | 0.00001785 ETH | 0.00000528 | ||||
| Bridge | 427536438 | 10 hrs ago | IN | 0.00001785 ETH | 0.00000544 | ||||
| Bridge | 427516484 | 11 hrs ago | IN | 0.00001785 ETH | 0.00000525 | ||||
| Bridge | 427423037 | 18 hrs ago | IN | 0.00001785 ETH | 0.00000538 | ||||
| Bridge | 427413822 | 18 hrs ago | IN | 0.00001785 ETH | 0.0000055 | ||||
| Bridge | 427410801 | 18 hrs ago | IN | 0.00001785 ETH | 0.00000536 | ||||
| Bridge | 427400796 | 19 hrs ago | IN | 0.00001785 ETH | 0.00000536 | ||||
| Bridge | 427295161 | 27 hrs ago | IN | 0.00001785 ETH | 0.00000536 | ||||
| Bridge | 427178258 | 35 hrs ago | IN | 0.00001561 ETH | 0.00002044 | ||||
| Bridge | 427101672 | 40 hrs ago | IN | 0.00001561 ETH | 0.00000539 | ||||
| Bridge | 427093920 | 40 hrs ago | IN | 0.00001561 ETH | 0.00000557 | ||||
| Bridge | 426570547 | 3 days ago | IN | 0.0000145 ETH | 0.00000523 | ||||
| Bridge | 426568607 | 3 days ago | IN | 0.0000145 ETH | 0.00000544 | ||||
| Bridge | 426105122 | 4 days ago | IN | 0.0000145 ETH | 0.00000549 | ||||
| Bridge | 425432808 | 6 days ago | IN | 0.0000145 ETH | 0.00000538 | ||||
| Bridge | 425395194 | 6 days ago | IN | 0.0000145 ETH | 0.00000538 | ||||
| Bridge | 424961980 | 7 days ago | IN | 0.0000145 ETH | 0.00000519 | ||||
| Bridge | 424899844 | 8 days ago | IN | 0.0000145 ETH | 0.00000513 | ||||
| Bridge | 424804746 | 8 days ago | IN | 0.0000145 ETH | 0.00000546 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 427666076 | 1 hr ago | 0.00001785 ETH | ||||
| 427650368 | 2 hrs ago | 0.00001785 ETH | ||||
| 427643128 | 2 hrs ago | 0.00001785 ETH | ||||
| 427633536 | 3 hrs ago | 0.00001785 ETH | ||||
| 427617089 | 4 hrs ago | 0.00001785 ETH | ||||
| 427588909 | 6 hrs ago | 0.00001785 ETH | ||||
| 427543023 | 9 hrs ago | 0.00001785 ETH | ||||
| 427536438 | 10 hrs ago | 0.00001785 ETH | ||||
| 427516484 | 11 hrs ago | 0.00001785 ETH | ||||
| 427423037 | 18 hrs ago | 0.00001785 ETH | ||||
| 427413822 | 18 hrs ago | 0.00001785 ETH | ||||
| 427410801 | 18 hrs ago | 0.00001785 ETH | ||||
| 427400796 | 19 hrs ago | 0.00001785 ETH | ||||
| 427295161 | 27 hrs ago | 0.00001785 ETH | ||||
| 427178258 | 35 hrs ago | 0.00001561 ETH | ||||
| 427101672 | 40 hrs ago | 0.00001561 ETH | ||||
| 427093920 | 40 hrs ago | 0.00001561 ETH | ||||
| 426570547 | 3 days ago | 0.0000145 ETH | ||||
| 426568607 | 3 days ago | 0.0000145 ETH | ||||
| 426105122 | 4 days ago | 0.0000145 ETH | ||||
| 425432808 | 6 days ago | 0.0000145 ETH | ||||
| 425395194 | 6 days ago | 0.0000145 ETH | ||||
| 424961980 | 7 days ago | 0.0000145 ETH | ||||
| 424899844 | 8 days ago | 0.0000145 ETH | ||||
| 424804746 | 8 days ago | 0.0000145 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
OriginalTokenBridge
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/**
*Submitted for verification at Arbiscan.io on 2023-10-04
*/
// File: @layerzerolabs/solidity-examples/contracts/util/ExcessivelySafeCall.sol
pragma solidity >=0.7.6;
library ExcessivelySafeCall {
uint256 constant LOW_28_MASK =
0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
/// @notice Use when you _really_ really _really_ don't trust the called
/// contract. This prevents the called contract from causing reversion of
/// the caller in as many ways as we can.
/// @dev The main difference between this and a solidity low-level call is
/// that we limit the number of bytes that the callee can cause to be
/// copied to caller memory. This prevents stupid things like malicious
/// contracts returning 10,000,000 bytes causing a local OOG when copying
/// to memory.
/// @param _target The address to call
/// @param _gas The amount of gas to forward to the remote contract
/// @param _maxCopy The maximum number of bytes of returndata to copy
/// to memory.
/// @param _calldata The data to send to the remote contract
/// @return success and returndata, as `.call()`. Returndata is capped to
/// `_maxCopy` bytes.
function excessivelySafeCall(
address _target,
uint256 _gas,
uint16 _maxCopy,
bytes memory _calldata
) internal returns (bool, bytes memory) {
// set up for assembly call
uint256 _toCopy;
bool _success;
bytes memory _returnData = new bytes(_maxCopy);
// dispatch message to recipient
// by assembly calling "handle" function
// we call via assembly to avoid memcopying a very large returndata
// returned by a malicious contract
assembly {
_success := call(
_gas, // gas
_target, // recipient
0, // ether value
add(_calldata, 0x20), // inloc
mload(_calldata), // inlen
0, // outloc
0 // outlen
)
// limit our copy to 256 bytes
_toCopy := returndatasize()
if gt(_toCopy, _maxCopy) {
_toCopy := _maxCopy
}
// Store the length of the copied bytes
mstore(_returnData, _toCopy)
// copy the bytes from returndata[0:_toCopy]
returndatacopy(add(_returnData, 0x20), 0, _toCopy)
}
return (_success, _returnData);
}
/// @notice Use when you _really_ really _really_ don't trust the called
/// contract. This prevents the called contract from causing reversion of
/// the caller in as many ways as we can.
/// @dev The main difference between this and a solidity low-level call is
/// that we limit the number of bytes that the callee can cause to be
/// copied to caller memory. This prevents stupid things like malicious
/// contracts returning 10,000,000 bytes causing a local OOG when copying
/// to memory.
/// @param _target The address to call
/// @param _gas The amount of gas to forward to the remote contract
/// @param _maxCopy The maximum number of bytes of returndata to copy
/// to memory.
/// @param _calldata The data to send to the remote contract
/// @return success and returndata, as `.call()`. Returndata is capped to
/// `_maxCopy` bytes.
function excessivelySafeStaticCall(
address _target,
uint256 _gas,
uint16 _maxCopy,
bytes memory _calldata
) internal view returns (bool, bytes memory) {
// set up for assembly call
uint256 _toCopy;
bool _success;
bytes memory _returnData = new bytes(_maxCopy);
// dispatch message to recipient
// by assembly calling "handle" function
// we call via assembly to avoid memcopying a very large returndata
// returned by a malicious contract
assembly {
_success := staticcall(
_gas, // gas
_target, // recipient
add(_calldata, 0x20), // inloc
mload(_calldata), // inlen
0, // outloc
0 // outlen
)
// limit our copy to 256 bytes
_toCopy := returndatasize()
if gt(_toCopy, _maxCopy) {
_toCopy := _maxCopy
}
// Store the length of the copied bytes
mstore(_returnData, _toCopy)
// copy the bytes from returndata[0:_toCopy]
returndatacopy(add(_returnData, 0x20), 0, _toCopy)
}
return (_success, _returnData);
}
/**
* @notice Swaps function selectors in encoded contract calls
* @dev Allows reuse of encoded calldata for functions with identical
* argument types but different names. It simply swaps out the first 4 bytes
* for the new selector. This function modifies memory in place, and should
* only be used with caution.
* @param _newSelector The new 4-byte selector
* @param _buf The encoded contract args
*/
function swapSelector(bytes4 _newSelector, bytes memory _buf)
internal
pure
{
require(_buf.length >= 4);
uint256 _mask = LOW_28_MASK;
assembly {
// load the first word of
let _word := mload(add(_buf, 0x20))
// mask out the top 4 bytes
// /x
_word := and(_word, _mask)
_word := or(_newSelector, _word)
mstore(add(_buf, 0x20), _word)
}
}
}
// File: @layerzerolabs/solidity-examples/contracts/util/BytesLib.sol
/*
* @title Solidity Bytes Arrays Utils
* @author Gonçalo Sá <[email protected]>
*
* @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.
* The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.
*/
pragma solidity >=0.8.0 <0.9.0;
library BytesLib {
function concat(
bytes memory _preBytes,
bytes memory _postBytes
)
internal
pure
returns (bytes memory)
{
bytes memory tempBytes;
assembly {
// Get a location of some free memory and store it in tempBytes as
// Solidity does for memory variables.
tempBytes := mload(0x40)
// Store the length of the first bytes array at the beginning of
// the memory for tempBytes.
let length := mload(_preBytes)
mstore(tempBytes, length)
// Maintain a memory counter for the current write location in the
// temp bytes array by adding the 32 bytes for the array length to
// the starting location.
let mc := add(tempBytes, 0x20)
// Stop copying when the memory counter reaches the length of the
// first bytes array.
let end := add(mc, length)
for {
// Initialize a copy counter to the start of the _preBytes data,
// 32 bytes into its memory.
let cc := add(_preBytes, 0x20)
} lt(mc, end) {
// Increase both counters by 32 bytes each iteration.
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
// Write the _preBytes data into the tempBytes memory 32 bytes
// at a time.
mstore(mc, mload(cc))
}
// Add the length of _postBytes to the current length of tempBytes
// and store it as the new length in the first 32 bytes of the
// tempBytes memory.
length := mload(_postBytes)
mstore(tempBytes, add(length, mload(tempBytes)))
// Move the memory counter back from a multiple of 0x20 to the
// actual end of the _preBytes data.
mc := end
// Stop copying when the memory counter reaches the new combined
// length of the arrays.
end := add(mc, length)
for {
let cc := add(_postBytes, 0x20)
} lt(mc, end) {
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
mstore(mc, mload(cc))
}
// Update the free-memory pointer by padding our last write location
// to 32 bytes: add 31 bytes to the end of tempBytes to move to the
// next 32 byte block, then round down to the nearest multiple of
// 32. If the sum of the length of the two arrays is zero then add
// one before rounding down to leave a blank 32 bytes (the length block with 0).
mstore(0x40, and(
add(add(end, iszero(add(length, mload(_preBytes)))), 31),
not(31) // Round down to the nearest 32 bytes.
))
}
return tempBytes;
}
function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {
assembly {
// Read the first 32 bytes of _preBytes storage, which is the length
// of the array. (We don't need to use the offset into the slot
// because arrays use the entire slot.)
let fslot := sload(_preBytes.slot)
// Arrays of 31 bytes or less have an even value in their slot,
// while longer arrays have an odd value. The actual length is
// the slot divided by two for odd values, and the lowest order
// byte divided by two for even values.
// If the slot is even, bitwise and the slot with 255 and divide by
// two to get the length. If the slot is odd, bitwise and the slot
// with -1 and divide by two.
let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
let mlength := mload(_postBytes)
let newlength := add(slength, mlength)
// slength can contain both the length and contents of the array
// if length < 32 bytes so let's prepare for that
// v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
switch add(lt(slength, 32), lt(newlength, 32))
case 2 {
// Since the new array still fits in the slot, we just need to
// update the contents of the slot.
// uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length
sstore(
_preBytes.slot,
// all the modifications to the slot are inside this
// next block
add(
// we can just add to the slot contents because the
// bytes we want to change are the LSBs
fslot,
add(
mul(
div(
// load the bytes from memory
mload(add(_postBytes, 0x20)),
// zero all bytes to the right
exp(0x100, sub(32, mlength))
),
// and now shift left the number of bytes to
// leave space for the length in the slot
exp(0x100, sub(32, newlength))
),
// increase length by the double of the memory
// bytes length
mul(mlength, 2)
)
)
)
}
case 1 {
// The stored value fits in the slot, but the combined value
// will exceed it.
// get the keccak hash to get the contents of the array
mstore(0x0, _preBytes.slot)
let sc := add(keccak256(0x0, 0x20), div(slength, 32))
// save new length
sstore(_preBytes.slot, add(mul(newlength, 2), 1))
// The contents of the _postBytes array start 32 bytes into
// the structure. Our first read should obtain the `submod`
// bytes that can fit into the unused space in the last word
// of the stored array. To get this, we read 32 bytes starting
// from `submod`, so the data we read overlaps with the array
// contents by `submod` bytes. Masking the lowest-order
// `submod` bytes allows us to add that value directly to the
// stored value.
let submod := sub(32, slength)
let mc := add(_postBytes, submod)
let end := add(_postBytes, mlength)
let mask := sub(exp(0x100, submod), 1)
sstore(
sc,
add(
and(
fslot,
0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00
),
and(mload(mc), mask)
)
)
for {
mc := add(mc, 0x20)
sc := add(sc, 1)
} lt(mc, end) {
sc := add(sc, 1)
mc := add(mc, 0x20)
} {
sstore(sc, mload(mc))
}
mask := exp(0x100, sub(mc, end))
sstore(sc, mul(div(mload(mc), mask), mask))
}
default {
// get the keccak hash to get the contents of the array
mstore(0x0, _preBytes.slot)
// Start copying to the last used word of the stored array.
let sc := add(keccak256(0x0, 0x20), div(slength, 32))
// save new length
sstore(_preBytes.slot, add(mul(newlength, 2), 1))
// Copy over the first `submod` bytes of the new data as in
// case 1 above.
let slengthmod := mod(slength, 32)
let mlengthmod := mod(mlength, 32)
let submod := sub(32, slengthmod)
let mc := add(_postBytes, submod)
let end := add(_postBytes, mlength)
let mask := sub(exp(0x100, submod), 1)
sstore(sc, add(sload(sc), and(mload(mc), mask)))
for {
sc := add(sc, 1)
mc := add(mc, 0x20)
} lt(mc, end) {
sc := add(sc, 1)
mc := add(mc, 0x20)
} {
sstore(sc, mload(mc))
}
mask := exp(0x100, sub(mc, end))
sstore(sc, mul(div(mload(mc), mask), mask))
}
}
}
function slice(
bytes memory _bytes,
uint256 _start,
uint256 _length
)
internal
pure
returns (bytes memory)
{
require(_length + 31 >= _length, "slice_overflow");
require(_bytes.length >= _start + _length, "slice_outOfBounds");
bytes memory tempBytes;
assembly {
switch iszero(_length)
case 0 {
// Get a location of some free memory and store it in tempBytes as
// Solidity does for memory variables.
tempBytes := mload(0x40)
// The first word of the slice result is potentially a partial
// word read from the original array. To read it, we calculate
// the length of that partial word and start copying that many
// bytes into the array. The first word we copy will start with
// data we don't care about, but the last `lengthmod` bytes will
// land at the beginning of the contents of the new array. When
// we're done copying, we overwrite the full first word with
// the actual length of the slice.
let lengthmod := and(_length, 31)
// The multiplication in the next line is necessary
// because when slicing multiples of 32 bytes (lengthmod == 0)
// the following copy loop was copying the origin's length
// and then ending prematurely not copying everything it should.
let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))
let end := add(mc, _length)
for {
// The multiplication in the next line has the same exact purpose
// as the one above.
let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)
} lt(mc, end) {
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
mstore(mc, mload(cc))
}
mstore(tempBytes, _length)
//update free-memory pointer
//allocating the array padded to 32 bytes like the compiler does now
mstore(0x40, and(add(mc, 31), not(31)))
}
//if we want a zero-length slice let's just return a zero-length array
default {
tempBytes := mload(0x40)
//zero out the 32 bytes slice we are about to return
//we need to do it because Solidity does not garbage collect
mstore(tempBytes, 0)
mstore(0x40, add(tempBytes, 0x20))
}
}
return tempBytes;
}
function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {
require(_bytes.length >= _start + 20, "toAddress_outOfBounds");
address tempAddress;
assembly {
tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)
}
return tempAddress;
}
function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {
require(_bytes.length >= _start + 1 , "toUint8_outOfBounds");
uint8 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x1), _start))
}
return tempUint;
}
function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {
require(_bytes.length >= _start + 2, "toUint16_outOfBounds");
uint16 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x2), _start))
}
return tempUint;
}
function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {
require(_bytes.length >= _start + 4, "toUint32_outOfBounds");
uint32 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x4), _start))
}
return tempUint;
}
function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {
require(_bytes.length >= _start + 8, "toUint64_outOfBounds");
uint64 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x8), _start))
}
return tempUint;
}
function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {
require(_bytes.length >= _start + 12, "toUint96_outOfBounds");
uint96 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0xc), _start))
}
return tempUint;
}
function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {
require(_bytes.length >= _start + 16, "toUint128_outOfBounds");
uint128 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x10), _start))
}
return tempUint;
}
function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {
require(_bytes.length >= _start + 32, "toUint256_outOfBounds");
uint256 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x20), _start))
}
return tempUint;
}
function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {
require(_bytes.length >= _start + 32, "toBytes32_outOfBounds");
bytes32 tempBytes32;
assembly {
tempBytes32 := mload(add(add(_bytes, 0x20), _start))
}
return tempBytes32;
}
function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {
bool success = true;
assembly {
let length := mload(_preBytes)
// if lengths don't match the arrays are not equal
switch eq(length, mload(_postBytes))
case 1 {
// cb is a circuit breaker in the for loop since there's
// no said feature for inline assembly loops
// cb = 1 - don't breaker
// cb = 0 - break
let cb := 1
let mc := add(_preBytes, 0x20)
let end := add(mc, length)
for {
let cc := add(_postBytes, 0x20)
// the next line is the loop condition:
// while(uint256(mc < end) + cb == 2)
} eq(add(lt(mc, end), cb), 2) {
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
// if any of these checks fails then arrays are not equal
if iszero(eq(mload(mc), mload(cc))) {
// unsuccess:
success := 0
cb := 0
}
}
}
default {
// unsuccess:
success := 0
}
}
return success;
}
function equalStorage(
bytes storage _preBytes,
bytes memory _postBytes
)
internal
view
returns (bool)
{
bool success = true;
assembly {
// we know _preBytes_offset is 0
let fslot := sload(_preBytes.slot)
// Decode the length of the stored array like in concatStorage().
let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
let mlength := mload(_postBytes)
// if lengths don't match the arrays are not equal
switch eq(slength, mlength)
case 1 {
// slength can contain both the length and contents of the array
// if length < 32 bytes so let's prepare for that
// v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
if iszero(iszero(slength)) {
switch lt(slength, 32)
case 1 {
// blank the last byte which is the length
fslot := mul(div(fslot, 0x100), 0x100)
if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {
// unsuccess:
success := 0
}
}
default {
// cb is a circuit breaker in the for loop since there's
// no said feature for inline assembly loops
// cb = 1 - don't breaker
// cb = 0 - break
let cb := 1
// get the keccak hash to get the contents of the array
mstore(0x0, _preBytes.slot)
let sc := keccak256(0x0, 0x20)
let mc := add(_postBytes, 0x20)
let end := add(mc, mlength)
// the next line is the loop condition:
// while(uint256(mc < end) + cb == 2)
for {} eq(add(lt(mc, end), cb), 2) {
sc := add(sc, 1)
mc := add(mc, 0x20)
} {
if iszero(eq(sload(sc), mload(mc))) {
// unsuccess:
success := 0
cb := 0
}
}
}
}
}
default {
// unsuccess:
success := 0
}
}
return success;
}
}
// File: @layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol
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;
}
// File: @layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroEndpoint.sol
pragma solidity >=0.5.0;
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);
}
// File: @layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroReceiver.sol
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;
}
// File: @openzeppelin/contracts/utils/Context.sol
// 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;
}
}
// File: @openzeppelin/contracts/access/Ownable.sol
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// File: @layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol
pragma solidity ^0.8.0;
/*
* a generic LzReceiver implementation
*/
abstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {
using BytesLib for bytes;
// ua can not send payload larger than this by default, but it can be changed by the ua owner
uint constant public DEFAULT_PAYLOAD_SIZE_LIMIT = 10000;
ILayerZeroEndpoint public immutable lzEndpoint;
mapping(uint16 => bytes) public trustedRemoteLookup;
mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup;
mapping(uint16 => uint) public payloadSizeLimitLookup;
address public precrime;
event SetPrecrime(address precrime);
event SetTrustedRemote(uint16 _remoteChainId, bytes _path);
event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);
event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas);
constructor(address _endpoint) {
lzEndpoint = ILayerZeroEndpoint(_endpoint);
}
function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override {
// lzReceive must be called by the endpoint for security
require(_msgSender() == address(lzEndpoint), "LzApp: invalid endpoint caller");
bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];
// if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.
require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), "LzApp: invalid source sending contract");
_blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
}
// abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging
function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;
function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual {
bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];
require(trustedRemote.length != 0, "LzApp: destination chain is not a trusted source");
_checkPayloadSize(_dstChainId, _payload.length);
lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);
}
function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual {
uint providedGasLimit = _getGasLimit(_adapterParams);
uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas;
require(minGasLimit > 0, "LzApp: minGasLimit not set");
require(providedGasLimit >= minGasLimit, "LzApp: gas limit is too low");
}
function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) {
require(_adapterParams.length >= 34, "LzApp: invalid adapterParams");
assembly {
gasLimit := mload(add(_adapterParams, 34))
}
}
function _checkPayloadSize(uint16 _dstChainId, uint _payloadSize) internal view virtual {
uint payloadSizeLimit = payloadSizeLimitLookup[_dstChainId];
if (payloadSizeLimit == 0) { // use default if not set
payloadSizeLimit = DEFAULT_PAYLOAD_SIZE_LIMIT;
}
require(_payloadSize <= payloadSizeLimit, "LzApp: payload size is too large");
}
//---------------------------UserApplication config----------------------------------------
function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {
return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);
}
// generic config for LayerZero user Application
function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {
lzEndpoint.setConfig(_version, _chainId, _configType, _config);
}
function setSendVersion(uint16 _version) external override onlyOwner {
lzEndpoint.setSendVersion(_version);
}
function setReceiveVersion(uint16 _version) external override onlyOwner {
lzEndpoint.setReceiveVersion(_version);
}
function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {
lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);
}
// _path = abi.encodePacked(remoteAddress, localAddress)
// this function set the trusted path for the cross-chain communication
function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner {
trustedRemoteLookup[_srcChainId] = _path;
emit SetTrustedRemote(_srcChainId, _path);
}
function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner {
trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this));
emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress);
}
function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) {
bytes memory path = trustedRemoteLookup[_remoteChainId];
require(path.length != 0, "LzApp: no trusted path record");
return path.slice(0, path.length - 20); // the last 20 bytes should be address(this)
}
function setPrecrime(address _precrime) external onlyOwner {
precrime = _precrime;
emit SetPrecrime(_precrime);
}
function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner {
require(_minGas > 0, "LzApp: invalid minGas");
minDstGasLookup[_dstChainId][_packetType] = _minGas;
emit SetMinDstGas(_dstChainId, _packetType, _minGas);
}
// if the size is 0, it means default size limit
function setPayloadSizeLimit(uint16 _dstChainId, uint _size) external onlyOwner {
payloadSizeLimitLookup[_dstChainId] = _size;
}
//--------------------------- VIEW FUNCTION ----------------------------------------
function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {
bytes memory trustedSource = trustedRemoteLookup[_srcChainId];
return keccak256(trustedSource) == keccak256(_srcAddress);
}
}
// File: @layerzerolabs/solidity-examples/contracts/lzApp/NonblockingLzApp.sol
pragma solidity ^0.8.0;
/*
* the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel
* this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking
* NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)
*/
abstract contract NonblockingLzApp is LzApp {
using ExcessivelySafeCall for address;
constructor(address _endpoint) LzApp(_endpoint) {}
mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;
event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);
event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);
// overriding the virtual function in LzReceiver
function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {
(bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));
// try-catch all errors/exceptions
if (!success) {
_storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);
}
}
function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {
failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);
emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);
}
function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual {
// only internal transaction
require(_msgSender() == address(this), "NonblockingLzApp: caller must be LzApp");
_nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
}
//@notice override this function
function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;
function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual {
// assert there is message to retry
bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];
require(payloadHash != bytes32(0), "NonblockingLzApp: no stored message");
require(keccak256(_payload) == payloadHash, "NonblockingLzApp: invalid payload");
// clear the stored message
failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);
// execute the message. revert if it fails again
_nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);
}
}
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}
// File: github/LayerZero-Labs/wrapped-asset-bridge/contracts/TokenBridgeBase.sol
pragma solidity ^0.8.17;
/// @dev An abstract contract containing a common functionality used by OriginalTokenBridge and WrappedTokenBridge
abstract contract TokenBridgeBase is NonblockingLzApp, ReentrancyGuard {
/// @notice A packet type used to identify messages requesting minting of wrapped tokens
uint8 public constant PT_MINT = 0;
/// @notice A packet type used to identify messages requesting unlocking of original tokens
uint8 public constant PT_UNLOCK = 1;
bool public useCustomAdapterParams;
event SetUseCustomAdapterParams(bool useCustomAdapterParams);
constructor(address _endpoint) NonblockingLzApp(_endpoint) {}
/// @notice Sets the `useCustomAdapterParams` flag indicating whether the contract uses custom adapter parameters or the default ones
/// @dev Can be called only by the bridge owner
function setUseCustomAdapterParams(bool _useCustomAdapterParams) external onlyOwner {
useCustomAdapterParams = _useCustomAdapterParams;
emit SetUseCustomAdapterParams(_useCustomAdapterParams);
}
/// @dev Checks `adapterParams` for correctness
function _checkAdapterParams(uint16 dstChainId, uint16 pkType, bytes memory adapterParams) internal virtual {
if (useCustomAdapterParams) {
_checkGasLimit(dstChainId, pkType, adapterParams, 0);
} else {
require(adapterParams.length == 0, "TokenBridgeBase: adapterParams must be empty");
}
}
/// @dev Overrides the renounce ownership logic inherited from openZeppelin `Ownable`
function renounceOwnership() public override onlyOwner {}
}
// File: @layerzerolabs/solidity-examples/contracts/libraries/LzLib.sol
pragma solidity >=0.6.0;
pragma experimental ABIEncoderV2;
library LzLib {
// LayerZero communication
struct CallParams {
address payable refundAddress;
address zroPaymentAddress;
}
//---------------------------------------------------------------------------
// Address type handling
struct AirdropParams {
uint airdropAmount;
bytes32 airdropAddress;
}
function buildAdapterParams(LzLib.AirdropParams memory _airdropParams, uint _uaGasLimit) internal pure returns (bytes memory adapterParams) {
if (_airdropParams.airdropAmount == 0 && _airdropParams.airdropAddress == bytes32(0x0)) {
adapterParams = buildDefaultAdapterParams(_uaGasLimit);
} else {
adapterParams = buildAirdropAdapterParams(_uaGasLimit, _airdropParams);
}
}
// Build Adapter Params
function buildDefaultAdapterParams(uint _uaGas) internal pure returns (bytes memory) {
// txType 1
// bytes [2 32 ]
// fields [txType extraGas]
return abi.encodePacked(uint16(1), _uaGas);
}
function buildAirdropAdapterParams(uint _uaGas, AirdropParams memory _params) internal pure returns (bytes memory) {
require(_params.airdropAmount > 0, "Airdrop amount must be greater than 0");
require(_params.airdropAddress != bytes32(0x0), "Airdrop address must be set");
// txType 2
// bytes [2 32 32 bytes[] ]
// fields [txType extraGas dstNativeAmt dstNativeAddress]
return abi.encodePacked(uint16(2), _uaGas, _params.airdropAmount, _params.airdropAddress);
}
function getGasLimit(bytes memory _adapterParams) internal pure returns (uint gasLimit) {
require(_adapterParams.length == 34 || _adapterParams.length > 66, "Invalid adapterParams");
assembly {
gasLimit := mload(add(_adapterParams, 34))
}
}
// Decode Adapter Params
function decodeAdapterParams(bytes memory _adapterParams) internal pure returns (uint16 txType, uint uaGas, uint airdropAmount, address payable airdropAddress) {
require(_adapterParams.length == 34 || _adapterParams.length > 66, "Invalid adapterParams");
assembly {
txType := mload(add(_adapterParams, 2))
uaGas := mload(add(_adapterParams, 34))
}
require(txType == 1 || txType == 2, "Unsupported txType");
require(uaGas > 0, "Gas too low");
if (txType == 2) {
assembly {
airdropAmount := mload(add(_adapterParams, 66))
airdropAddress := mload(add(_adapterParams, 86))
}
}
}
//---------------------------------------------------------------------------
// Address type handling
function bytes32ToAddress(bytes32 _bytes32Address) internal pure returns (address _address) {
return address(uint160(uint(_bytes32Address)));
}
function addressToBytes32(address _address) internal pure returns (bytes32 _bytes32Address) {
return bytes32(uint(uint160(_address)));
}
}
// File: @openzeppelin/contracts/utils/Address.sol
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// 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);
}
// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
function safeTransfer(
IERC20 token,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(
IERC20 token,
address from,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(
IERC20 token,
address spender,
uint256 value
) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
}
function safePermit(
IERC20Permit token,
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) internal {
uint256 nonceBefore = token.nonces(owner);
token.permit(owner, spender, value, deadline, v, r, s);
uint256 nonceAfter = token.nonces(owner);
require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) {
// Return data is optional
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
// File: github/LayerZero-Labs/wrapped-asset-bridge/contracts/OriginalTokenBridge.sol
pragma solidity ^0.8.17;
/// @title Interface for WETH and other wrapped native gas tokens (e.g., WBNB, WAVAX, etc.)
interface IWETH {
/// @notice Deposit ether to get wrapped ether
function deposit() external payable;
/// @notice Withdraw wrapped ether to get ether
function withdraw(uint) external;
}
/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token
contract OriginalTokenBridge is TokenBridgeBase {
using SafeERC20 for IERC20;
/// @notice Tokens that can be bridged to the remote chain
mapping(address => bool) public supportedTokens;
/// @notice Token conversion rates from local decimals (LD) to shared decimals (SD).
/// E.g., if local decimals is 18 and shared decimals is 6, the conversion rate is 10^12
mapping(address => uint) public LDtoSDConversionRate;
/// @notice Total value locked per each supported token in shared decimals
mapping(address => uint) public totalValueLockedSD;
/// @notice LayerZero id of the remote chain where wrapped tokens are minted
uint16 public remoteChainId;
/// @notice Address of the wrapped native gas token (e.g. WETH, WBNB, WMATIC)
address public immutable weth;
event SendToken(address token, address from, address to, uint amount);
event ReceiveToken(address token, address to, uint amount);
event SetRemoteChainId(uint16 remoteChainId);
event RegisterToken(address token);
event WithdrawFee(address indexed token, address to, uint amount);
constructor(address _endpoint, uint16 _remoteChainId, address _weth) TokenBridgeBase(_endpoint) {
require(_weth != address(0), "OriginalTokenBridge: invalid WETH address");
remoteChainId = _remoteChainId;
weth = _weth;
}
/// @notice Registers a token for bridging
/// @param token address of the token
/// @param sharedDecimals number of decimals used for all original tokens mapped to the same wrapped token.
/// E.g., 6 is shared decimals for USDC on Ethereum, BSC and Polygon
function registerToken(address token, uint8 sharedDecimals) external onlyOwner {
require(token != address(0), "OriginalTokenBridge: invalid token address");
require(!supportedTokens[token], "OriginalTokenBridge: token already registered");
uint8 localDecimals = _getTokenDecimals(token);
require(localDecimals >= sharedDecimals, "OriginalTokenBridge: shared decimals must be less than or equal to local decimals");
supportedTokens[token] = true;
LDtoSDConversionRate[token] = 10**(localDecimals - sharedDecimals);
emit RegisterToken(token);
}
function setRemoteChainId(uint16 _remoteChainId) external onlyOwner {
remoteChainId = _remoteChainId;
emit SetRemoteChainId(_remoteChainId);
}
function accruedFeeLD(address token) public view returns (uint) {
return IERC20(token).balanceOf(address(this)) - _amountSDtoLD(token, totalValueLockedSD[token]);
}
function estimateBridgeFee(bool useZro, bytes calldata adapterParams) public view returns (uint nativeFee, uint zroFee) {
// Only the payload format matters when estimating fee, not the actual data
bytes memory payload = abi.encode(PT_MINT, address(this), address(this), 0);
return lzEndpoint.estimateFees(remoteChainId, address(this), payload, useZro, adapterParams);
}
/// @notice Bridges ERC20 to the remote chain
/// @dev Locks an ERC20 on the source chain and sends LZ message to the remote chain to mint a wrapped token
function bridge(address token, uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {
require(supportedTokens[token], "OriginalTokenBridge: token is not supported");
amountLD = _removeDust(token, amountLD);
// Supports tokens with transfer fee
uint balanceBefore = IERC20(token).balanceOf(address(this));
IERC20(token).safeTransferFrom(msg.sender, address(this), amountLD);
uint balanceAfter = IERC20(token).balanceOf(address(this));
amountLD = balanceAfter - balanceBefore;
_bridge(token, amountLD, to, msg.value, callParams, adapterParams);
}
/// @notice Bridges ETH to the remote chain
/// @dev Locks WETH on the source chain and sends LZ message to the remote chain to mint a wrapped token
function bridgeETH(uint amountLD, address to, LzLib.CallParams calldata callParams, bytes memory adapterParams) external payable nonReentrant {
require(supportedTokens[weth], "OriginalTokenBridge: token is not supported");
require(msg.value >= amountLD, "OriginalTokenBridge: not enough value sent");
amountLD = _removeDust(weth, amountLD);
IWETH(weth).deposit{value: amountLD}();
_bridge(weth, amountLD, to, msg.value - amountLD, callParams, adapterParams);
}
function _bridge(address token, uint amountLD, address to, uint nativeFee, LzLib.CallParams calldata callParams, bytes memory adapterParams) private {
require(to != address(0), "OriginalTokenBridge: invalid to");
_checkAdapterParams(remoteChainId, PT_MINT, adapterParams);
uint amountSD = _amountLDtoSD(token, amountLD);
require(amountSD > 0, "OriginalTokenBridge: invalid amount");
totalValueLockedSD[token] += amountSD;
bytes memory payload = abi.encode(PT_MINT, token, to, amountSD);
_lzSend(remoteChainId, payload, callParams.refundAddress, callParams.zroPaymentAddress, adapterParams, nativeFee);
emit SendToken(token, msg.sender, to, amountLD);
}
function withdrawFee(address token, address to, uint amountLD) public onlyOwner {
uint feeLD = accruedFeeLD(token);
require(amountLD <= feeLD, "OriginalTokenBridge: not enough fees collected");
IERC20(token).safeTransfer(to, amountLD);
emit WithdrawFee(token, to, amountLD);
}
/// @notice Receives ERC20 tokens or ETH from the remote chain
/// @dev Unlocks locked ERC20 tokens or ETH in response to LZ message from the remote chain
function _nonblockingLzReceive(uint16 srcChainId, bytes memory, uint64, bytes memory payload) internal virtual override {
require(srcChainId == remoteChainId, "OriginalTokenBridge: invalid source chain id");
(uint8 packetType, address token, address to, uint withdrawalAmountSD, uint totalAmountSD, bool unwrapWeth) = abi.decode(payload, (uint8, address, address, uint, uint, bool));
require(packetType == PT_UNLOCK, "OriginalTokenBridge: unknown packet type");
require(supportedTokens[token], "OriginalTokenBridge: token is not supported");
totalValueLockedSD[token] -= totalAmountSD;
uint withdrawalAmountLD = _amountSDtoLD(token, withdrawalAmountSD);
if (token == weth && unwrapWeth) {
IWETH(weth).withdraw(withdrawalAmountLD);
(bool success, ) = payable(to).call{value: withdrawalAmountLD}("");
require(success, "OriginalTokenBridge: failed to send");
emit ReceiveToken(address(0), to, withdrawalAmountLD);
} else {
IERC20(token).safeTransfer(to, withdrawalAmountLD);
emit ReceiveToken(token, to, withdrawalAmountLD);
}
}
function _getTokenDecimals(address token) internal view returns (uint8) {
(bool success, bytes memory data) = token.staticcall(abi.encodeWithSignature("decimals()"));
require(success, "OriginalTokenBridge: failed to get token decimals");
return abi.decode(data, (uint8));
}
function _amountSDtoLD(address token, uint amountSD) internal view returns (uint) {
return amountSD * LDtoSDConversionRate[token];
}
function _amountLDtoSD(address token, uint amountLD) internal view returns (uint) {
return amountLD / LDtoSDConversionRate[token];
}
function _removeDust(address token, uint amountLD) internal view returns (uint) {
return _amountSDtoLD(token, _amountLDtoSD(token, amountLD));
}
/// @dev Allows receiving ETH when calling WETH.withdraw()
receive() external payable {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_endpoint","type":"address"},{"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"internalType":"address","name":"_weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"_payload","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"_reason","type":"bytes"}],"name":"MessageFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReceiveToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"}],"name":"RegisterToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes32","name":"_payloadHash","type":"bytes32"}],"name":"RetryMessageSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendToken","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"}],"name":"SetRemoteChainId","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_path","type":"bytes"}],"name":"SetTrustedRemote","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"SetTrustedRemoteAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"useCustomAdapterParams","type":"bool"}],"name":"SetUseCustomAdapterParams","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawFee","type":"event"},{"inputs":[],"name":"DEFAULT_PAYLOAD_SIZE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"LDtoSDConversionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PT_MINT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PT_UNLOCK","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"accruedFeeLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"components":[{"internalType":"address payable","name":"refundAddress","type":"address"},{"internalType":"address","name":"zroPaymentAddress","type":"address"}],"internalType":"struct LzLib.CallParams","name":"callParams","type":"tuple"},{"internalType":"bytes","name":"adapterParams","type":"bytes"}],"name":"bridge","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"components":[{"internalType":"address payable","name":"refundAddress","type":"address"},{"internalType":"address","name":"zroPaymentAddress","type":"address"}],"internalType":"struct LzLib.CallParams","name":"callParams","type":"tuple"},{"internalType":"bytes","name":"adapterParams","type":"bytes"}],"name":"bridgeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bool","name":"useZro","type":"bool"},{"internalType":"bytes","name":"adapterParams","type":"bytes"}],"name":"estimateBridgeFee","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"}],"name":"failedMessages","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"forceResumeReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_configType","type":"uint256"}],"name":"getConfig","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"}],"name":"getTrustedRemoteAddress","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"isTrustedRemote","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lzEndpoint","outputs":[{"internalType":"contract ILayerZeroEndpoint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"name":"minDstGasLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"address","name":"token","type":"address"},{"internalType":"uint8","name":"sharedDecimals","type":"uint8"}],"name":"registerToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"remoteChainId","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"},{"internalType":"bytes","name":"_config","type":"bytes"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint16","name":"_packetType","type":"uint16"},{"internalType":"uint256","name":"_minGas","type":"uint256"}],"name":"setMinDstGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"_remoteChainId","type":"uint16"}],"name":"setRemoteChainId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setSendVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_path","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"setTrustedRemoteAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_useCustomAdapterParams","type":"bool"}],"name":"setUseCustomAdapterParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"supportedTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalValueLockedSD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"trustedRemoteLookup","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"useCustomAdapterParams","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountLD","type":"uint256"}],"name":"withdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60c06040523480156200001157600080fd5b5060405162003e9b38038062003e9b833981016040819052620000349162000155565b8280806200004233620000e8565b6001600160a01b03908116608052600160065583169150620000be90505760405162461bcd60e51b815260206004820152602960248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c69642057455460448201526848206164647265737360b81b606482015260840160405180910390fd5b600b805461ffff191661ffff93909316929092179091556001600160a01b031660a05250620001a7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200015057600080fd5b919050565b6000806000606084860312156200016b57600080fd5b620001768462000138565b9250602084015161ffff811681146200018e57600080fd5b91506200019e6040850162000138565b90509250925092565b60805160a051613c6c6200022f600039600081816103fb015281816117b40152818161186a015281816118930152818161190a015281816120e5015261213c01526000818161067a0152818161084301528181610a9201528181610c1601528181610c9601528181610e6c0152818161151601528181611b4d0152612ac10152613c6c6000f3fe6080604052600436106102495760003560e01c80638cfd8f5c11610139578063d1deba1f116100b6578063eab45d9c1161007a578063eab45d9c14610793578063eb8d72b7146107b3578063ed629c5c146107d3578063f2fde38b146107ed578063f5ecbdbc1461080d578063fe359a0d1461082d57600080fd5b8063d1deba1f146106f2578063de7aaff414610705578063df2a5b3b14610718578063e823553e14610738578063e95181961461076557600080fd5b8063a6c3d165116100fd578063a6c3d16514610648578063b353aaa714610668578063baf3292d1461069c578063c4461834146106bc578063cbed8b9c146106d257600080fd5b80638cfd8f5c146105925780638da5cb5b146105ca578063950c8a74146105e85780639f38369a14610608578063a2f27ae01461062857600080fd5b80633fc8cef3116101c757806366ad5c8a1161018b57806366ad5c8a146104eb57806368c4ac261461050b57806368ea28b01461053b578063715018a6146105505780637533d7881461056557600080fd5b80633fc8cef3146103e957806342d65a8d1461043557806346f6f9b5146104555780635a4967e51461047c5780635b8c41e61461049c57600080fd5b8063202116781161020e57806320211678146102f75780632d09c4ed1461033157806338db1ebc1461036c5780633d8b38f61461038c5780633f1f4fa4146103bc57600080fd5b80621d35671461025557806307e0db17146102775780630df37483146102975780631095b6d7146102b757806310ddb137146102d757600080fd5b3661025057005b600080fd5b34801561026157600080fd5b50610275610270366004612ee7565b610840565b005b34801561028357600080fd5b50610275610292366004612f7a565b610a71565b3480156102a357600080fd5b506102756102b2366004612f95565b610afa565b3480156102c357600080fd5b506102756102d2366004612fd4565b610b19565b3480156102e357600080fd5b506102756102f2366004612f7a565b610bf5565b34801561030357600080fd5b50610317610312366004613023565b610c4d565b604080519283526020830191909152015b60405180910390f35b34801561033d57600080fd5b5061035e61034c366004613077565b600a6020526000908152604090205481565b604051908152602001610328565b34801561037857600080fd5b50610275610387366004612f7a565b610d2e565b34801561039857600080fd5b506103ac6103a7366004613094565b610d81565b6040519015158152602001610328565b3480156103c857600080fd5b5061035e6103d7366004612f7a565b60036020526000908152604090205481565b3480156103f557600080fd5b5061041d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610328565b34801561044157600080fd5b50610275610450366004613094565b610e4d565b34801561046157600080fd5b5061046a600081565b60405160ff9091168152602001610328565b34801561048857600080fd5b506102756104973660046130c1565b610ed3565b3480156104a857600080fd5b5061035e6104b73660046131bd565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156104f757600080fd5b50610275610506366004612ee7565b6110f3565b34801561051757600080fd5b506103ac610526366004613077565b60086020526000908152604090205460ff1681565b34801561054757600080fd5b5061046a600181565b34801561055c57600080fd5b506102756111cf565b34801561057157600080fd5b50610585610580366004612f7a565b6111d9565b604051610328919061326a565b34801561059e57600080fd5b5061035e6105ad36600461327d565b600260209081526000928352604080842090915290825290205481565b3480156105d657600080fd5b506000546001600160a01b031661041d565b3480156105f457600080fd5b5060045461041d906001600160a01b031681565b34801561061457600080fd5b50610585610623366004612f7a565b611273565b34801561063457600080fd5b5061035e610643366004613077565b611389565b34801561065457600080fd5b50610275610663366004613094565b611425565b34801561067457600080fd5b5061041d7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a857600080fd5b506102756106b7366004613077565b6114a1565b3480156106c857600080fd5b5061035e61271081565b3480156106de57600080fd5b506102756106ed3660046132b0565b6114f7565b610275610700366004612ee7565b61158c565b610275610713366004613336565b6117a2565b34801561072457600080fd5b506102756107333660046133a0565b61194e565b34801561074457600080fd5b5061035e610753366004613077565b60096020526000908152604090205481565b34801561077157600080fd5b50600b546107809061ffff1681565b60405161ffff9091168152602001610328565b34801561079f57600080fd5b506102756107ae3660046133dc565b611a00565b3480156107bf57600080fd5b506102756107ce366004613094565b611a49565b3480156107df57600080fd5b506007546103ac9060ff1681565b3480156107f957600080fd5b50610275610808366004613077565b611aa3565b34801561081957600080fd5b506105856108283660046133f9565b611b1c565b61027561083b366004613446565b611bcf565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146108bd5760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546108db906134c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610907906134c3565b80156109545780601f1061092957610100808354040283529160200191610954565b820191906000526020600020905b81548152906001019060200180831161093757829003601f168201915b5050505050905080518686905014801561096f575060008151115b801561099757508051602082012060405161098d90889088906134f7565b6040518091039020145b6109f25760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016108b4565b610a688787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611d3192505050565b50505050505050565b610a79611daa565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610adf57600080fd5b505af1158015610af3573d6000803e3d6000fd5b5050505050565b610b02611daa565b61ffff909116600090815260036020526040902055565b610b21611daa565b6000610b2c84611389565b905080821115610b955760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b60648201526084016108b4565b610ba96001600160a01b0385168484611e04565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610bfd611daa565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610ac5565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600b5463040a7bb160e41b909552919384937f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316926340a7bb1092610ce19261ffff909116919086908c908c908c9060a401613530565b6040805180830381865afa158015610cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d219190613586565b9250925050935093915050565b610d36611daa565b600b805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610da2906134c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610dce906134c3565b8015610e1b5780601f10610df057610100808354040283529160200191610e1b565b820191906000526020600020905b815481529060010190602001808311610dfe57829003601f168201915b505050505090508383604051610e329291906134f7565b60405180910390208180519060200120149150509392505050565b610e55611daa565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610ea5908690869086906004016135aa565b600060405180830381600087803b158015610ebf57600080fd5b505af1158015610a68573d6000803e3d6000fd5b610edb611daa565b6001600160a01b038216610f445760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b60648201526084016108b4565b6001600160a01b03821660009081526008602052604090205460ff1615610fc35760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b60648201526084016108b4565b6000610fce83611e6c565b90508160ff168160ff1610156110665760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a4016108b4565b6001600160a01b0383166000908152600860205260409020805460ff1916600117905561109382826135de565b61109e90600a6136db565b6001600160a01b03841660008181526009602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146111515760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016108b4565b6111c78686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611f7292505050565b505050505050565b6111d7611daa565b565b600160205260009081526040902080546111f2906134c3565b80601f016020809104026020016040519081016040528092919081815260200182805461121e906134c3565b801561126b5780601f106112405761010080835404028352916020019161126b565b820191906000526020600020905b81548152906001019060200180831161124e57829003601f168201915b505050505081565b61ffff8116600090815260016020526040812080546060929190611296906134c3565b80601f01602080910402602001604051908101604052809291908181526020018280546112c2906134c3565b801561130f5780601f106112e45761010080835404028352916020019161130f565b820191906000526020600020905b8154815290600101906020018083116112f257829003601f168201915b5050505050905080516000036113675760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016108b4565b61138260006014835161137a91906136ea565b83919061230c565b9392505050565b6001600160a01b0381166000908152600a60205260408120546113ad908390612419565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa1580156113f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141591906136fd565b61141f91906136ea565b92915050565b61142d611daa565b81813060405160200161144293929190613716565b60408051601f1981840301815291815261ffff851660009081526001602052209061146d9082613782565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce8383836040516110e6939291906135aa565b6114a9611daa565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610d76565b6114ff611daa565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906115539088908890889088908890600401613841565b600060405180830381600087803b15801561156d57600080fd5b505af1158015611581573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526005602052604080822090516115af90889088906134f7565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061162f5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016108b4565b8083836040516116409291906134f7565b60405180910390201461169f5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016108b4565b61ffff871660009081526005602052604080822090516116c290899089906134f7565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f8801829004820283018201905286825261175a918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611f7292505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161179195949392919061386f565b60405180910390a150505050505050565b6117aa61243c565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660009081526008602052604090205460ff166118025760405162461bcd60e51b81526004016108b4906138aa565b833410156118655760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b60648201526084016108b4565b61188f7f000000000000000000000000000000000000000000000000000000000000000085612495565b93507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b1580156118ec57600080fd5b505af1158015611900573d6000803e3d6000fd5b505050505061193e7f00000000000000000000000000000000000000000000000000000000000000008585873461193791906136ea565b86866124aa565b6119486001600655565b50505050565b611956611daa565b6000811161199e5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016108b4565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac0906060016110e6565b611a08611daa565b6007805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610d76565b611a51611daa565b61ffff83166000908152600160205260409020611a6f8284836138f5565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab8383836040516110e6939291906135aa565b611aab611daa565b6001600160a01b038116611b105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b4565b611b1981612678565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611b9c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bc491908101906139b4565b90505b949350505050565b611bd761243c565b6001600160a01b03851660009081526008602052604090205460ff16611c0f5760405162461bcd60e51b81526004016108b4906138aa565b611c198585612495565b6040516370a0823160e01b81523060048201529094506000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8791906136fd565b9050611c9e6001600160a01b0387163330886126c8565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0991906136fd565b9050611d1582826136ea565b9550611d258787873488886124aa565b5050610af36001600655565b600080611d945a60966366ad5c8a60e01b89898989604051602401611d599493929190613a2a565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190612700565b91509150816111c7576111c7868686868561278a565b6000546001600160a01b031633146111d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108b4565b6040516001600160a01b038316602482015260448101829052611e6790849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612827565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611eb29190613a68565b600060405180830381855afa9150503d8060008114611eed576040519150601f19603f3d011682016040523d82523d6000602084013e611ef2565b606091505b509150915081611f5e5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b60648201526084016108b4565b80806020019051810190611bc79190613a84565b600b5461ffff858116911614611fdf5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b60648201526084016108b4565b60008060008060008086806020019051810190611ffc9190613aa1565b955095509550955095509550600160ff168660ff161461206f5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b60648201526084016108b4565b6001600160a01b03851660009081526008602052604090205460ff166120a75760405162461bcd60e51b81526004016108b4906138aa565b6001600160a01b0385166000908152600a6020526040812080548492906120cf9084906136ea565b90915550600090506120e18685612419565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161480156121215750815b1561229f57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561218857600080fd5b505af115801561219c573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d80600081146121ed576040519150601f19603f3d011682016040523d82523d6000602084013e6121f2565b606091505b505090508061224f5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b60648201526084016108b4565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a1506122ff565b6122b36001600160a01b0387168683611e04565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161231a81601f613b15565b10156123595760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016108b4565b6123638284613b15565b845110156123a75760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016108b4565b6060821580156123c65760405191506000825260208201604052612410565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156123ff5780518352602092830192016123e7565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600960205260408120546113829083613b28565b60026006540361248e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108b4565b6002600655565b6000611382836124a585856128f9565b612419565b6001600160a01b0384166125005760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f0060448201526064016108b4565b600b546125139061ffff1660008361291c565b600061251f87876128f9565b90506000811161257d5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b60648201526084016108b4565b6001600160a01b0387166000908152600a6020526040812080548392906125a5908490613b15565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600b5490915061261e9061ffff16826126076020880188613077565b6126176040890160208a01613077565b878a612998565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526119489085906323b872dd60e01b90608401611e30565b6000606060008060008661ffff166001600160401b03811115612725576127256130fa565b6040519080825280601f01601f19166020018201604052801561274f576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612771578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff168152602001908152602001600020856040516127bb9190613a68565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906128189087908790879087908790613b3f565b60405180910390a15050505050565b600061287c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b3d9092919063ffffffff16565b805190915015611e67578080602001905181019061289a9190613b9d565b611e675760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108b4565b6001600160a01b0382166000908152600960205260408120546113829083613bba565b60075460ff161561293457611e678383836000612b4c565b805115611e675760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b60648201526084016108b4565b61ffff8616600090815260016020526040812080546129b6906134c3565b80601f01602080910402602001604051908101604052809291908181526020018280546129e2906134c3565b8015612a2f5780601f10612a0457610100808354040283529160200191612a2f565b820191906000526020600020905b815481529060010190602001808311612a1257829003601f168201915b505050505090508051600003612aa05760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016108b4565b612aab878751612c2b565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612b02908b9086908c908c908c908c90600401613bdc565b6000604051808303818588803b158015612b1b57600080fd5b505af1158015612b2f573d6000803e3d6000fd5b505050505050505050505050565b6060611bc78484600085612c9c565b6000612b5783612d77565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b89908490613b15565b905060008111612bdb5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f742073657400000000000060448201526064016108b4565b808210156111c75760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f77000000000060448201526064016108b4565b61ffff821660009081526003602052604081205490819003612c4c57506127105b80821115611e675760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016108b4565b606082471015612cfd5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108b4565b600080866001600160a01b03168587604051612d199190613a68565b60006040518083038185875af1925050503d8060008114612d56576040519150601f19603f3d011682016040523d82523d6000602084013e612d5b565b606091505b5091509150612d6c87838387612dd3565b979650505050505050565b6000602282511015612dcb5760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d730000000060448201526064016108b4565b506022015190565b60608315612e42578251600003612e3b576001600160a01b0385163b612e3b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108b4565b5081611bc7565b611bc78383815115612e575781518083602001fd5b8060405162461bcd60e51b81526004016108b4919061326a565b803561ffff81168114612e8357600080fd5b919050565b60008083601f840112612e9a57600080fd5b5081356001600160401b03811115612eb157600080fd5b602083019150836020828501011115612ec957600080fd5b9250929050565b80356001600160401b0381168114612e8357600080fd5b60008060008060008060808789031215612f0057600080fd5b612f0987612e71565b955060208701356001600160401b0380821115612f2557600080fd5b612f318a838b01612e88565b9097509550859150612f4560408a01612ed0565b94506060890135915080821115612f5b57600080fd5b50612f6889828a01612e88565b979a9699509497509295939492505050565b600060208284031215612f8c57600080fd5b61138282612e71565b60008060408385031215612fa857600080fd5b612fb183612e71565b946020939093013593505050565b6001600160a01b0381168114611b1957600080fd5b600080600060608486031215612fe957600080fd5b8335612ff481612fbf565b9250602084013561300481612fbf565b929592945050506040919091013590565b8015158114611b1957600080fd5b60008060006040848603121561303857600080fd5b833561304381613015565b925060208401356001600160401b0381111561305e57600080fd5b61306a86828701612e88565b9497909650939450505050565b60006020828403121561308957600080fd5b813561138281612fbf565b6000806000604084860312156130a957600080fd5b61304384612e71565b60ff81168114611b1957600080fd5b600080604083850312156130d457600080fd5b82356130df81612fbf565b915060208301356130ef816130b2565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715613138576131386130fa565b604052919050565b60006001600160401b03821115613159576131596130fa565b50601f01601f191660200190565b600082601f83011261317857600080fd5b813561318b61318682613140565b613110565b8181528460208386010111156131a057600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156131d257600080fd5b6131db84612e71565b925060208401356001600160401b038111156131f657600080fd5b61320286828701613167565b92505061321160408501612ed0565b90509250925092565b60005b8381101561323557818101518382015260200161321d565b50506000910152565b6000815180845261325681602086016020860161321a565b601f01601f19169290920160200192915050565b602081526000611382602083018461323e565b6000806040838503121561329057600080fd5b61329983612e71565b91506132a760208401612e71565b90509250929050565b6000806000806000608086880312156132c857600080fd5b6132d186612e71565b94506132df60208701612e71565b93506040860135925060608601356001600160401b0381111561330157600080fd5b61330d88828901612e88565b969995985093965092949392505050565b60006040828403121561333057600080fd5b50919050565b60008060008060a0858703121561334c57600080fd5b84359350602085013561335e81612fbf565b925061336d866040870161331e565b915060808501356001600160401b0381111561338857600080fd5b61339487828801613167565b91505092959194509250565b6000806000606084860312156133b557600080fd5b6133be84612e71565b92506133cc60208501612e71565b9150604084013590509250925092565b6000602082840312156133ee57600080fd5b813561138281613015565b6000806000806080858703121561340f57600080fd5b61341885612e71565b935061342660208601612e71565b9250604085013561343681612fbf565b9396929550929360600135925050565b600080600080600060c0868803121561345e57600080fd5b853561346981612fbf565b945060208601359350604086013561348081612fbf565b925061348f876060880161331e565b915060a08601356001600160401b038111156134aa57600080fd5b6134b688828901613167565b9150509295509295909350565b600181811c908216806134d757607f821691505b60208210810361333057634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061355e9083018761323e565b85151560608401528281036080840152613579818587613507565b9998505050505050505050565b6000806040838503121561359957600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611bc4604083018486613507565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561141f5761141f6135c8565b600181815b80851115613632578160001904821115613618576136186135c8565b8085161561362557918102915b93841c93908002906135fc565b509250929050565b6000826136495750600161141f565b816136565750600061141f565b816001811461366c576002811461367657613692565b600191505061141f565b60ff841115613687576136876135c8565b50506001821b61141f565b5060208310610133831016604e8410600b84101617156136b5575081810a61141f565b6136bf83836135f7565b80600019048211156136d3576136d36135c8565b029392505050565b600061138260ff84168361363a565b8181038181111561141f5761141f6135c8565b60006020828403121561370f57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611e6757600081815260208120601f850160051c810160208610156137635750805b601f850160051c820191505b818110156111c75782815560010161376f565b81516001600160401b0381111561379b5761379b6130fa565b6137af816137a984546134c3565b8461373c565b602080601f8311600181146137e457600084156137cc5750858301515b600019600386901b1c1916600185901b1785556111c7565b600085815260208120601f198616915b82811015613813578886015182559484019460019091019084016137f4565b50858210156138315787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612d6c608083018486613507565b61ffff8616815260806020820152600061388d608083018688613507565b6001600160401b0394909416604083015250606001529392505050565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b6001600160401b0383111561390c5761390c6130fa565b6139208361391a83546134c3565b8361373c565b6000601f841160018114613954576000851561393c5750838201355b600019600387901b1c1916600186901b178355610af3565b600083815260209020601f19861690835b828110156139855786850135825560209485019460019092019101613965565b50868210156139a25760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156139c657600080fd5b81516001600160401b038111156139dc57600080fd5b8201601f810184136139ed57600080fd5b80516139fb61318682613140565b818152856020838501011115613a1057600080fd5b613a2182602083016020860161321a565b95945050505050565b61ffff85168152608060208201526000613a47608083018661323e565b6001600160401b03851660408401528281036060840152612d6c818561323e565b60008251613a7a81846020870161321a565b9190910192915050565b600060208284031215613a9657600080fd5b8151611382816130b2565b60008060008060008060c08789031215613aba57600080fd5b8651613ac5816130b2565b6020880151909650613ad681612fbf565b6040880151909550613ae781612fbf565b80945050606087015192506080870151915060a0870151613b0781613015565b809150509295509295509295565b8082018082111561141f5761141f6135c8565b808202811582820484141761141f5761141f6135c8565b61ffff8616815260a060208201526000613b5c60a083018761323e565b6001600160401b03861660408401528281036060840152613b7d818661323e565b90508281036080840152613b91818561323e565b98975050505050505050565b600060208284031215613baf57600080fd5b815161138281613015565b600082613bd757634e487b7160e01b600052601260045260246000fd5b500490565b61ffff8716815260c060208201526000613bf960c083018861323e565b8281036040840152613c0b818861323e565b6001600160a01b0387811660608601528616608085015283810360a08501529050613579818561323e56fea26469706673582212206f0230cb796b7b7fd5f826d6b12f192993357af3026efbd7d735514d31dcf44d64736f6c634300081100330000000000000000000000003c2269811836af69497e5f486a85d7316753cf62000000000000000000000000000000000000000000000000000000000000009900000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1
Deployed Bytecode
0x6080604052600436106102495760003560e01c80638cfd8f5c11610139578063d1deba1f116100b6578063eab45d9c1161007a578063eab45d9c14610793578063eb8d72b7146107b3578063ed629c5c146107d3578063f2fde38b146107ed578063f5ecbdbc1461080d578063fe359a0d1461082d57600080fd5b8063d1deba1f146106f2578063de7aaff414610705578063df2a5b3b14610718578063e823553e14610738578063e95181961461076557600080fd5b8063a6c3d165116100fd578063a6c3d16514610648578063b353aaa714610668578063baf3292d1461069c578063c4461834146106bc578063cbed8b9c146106d257600080fd5b80638cfd8f5c146105925780638da5cb5b146105ca578063950c8a74146105e85780639f38369a14610608578063a2f27ae01461062857600080fd5b80633fc8cef3116101c757806366ad5c8a1161018b57806366ad5c8a146104eb57806368c4ac261461050b57806368ea28b01461053b578063715018a6146105505780637533d7881461056557600080fd5b80633fc8cef3146103e957806342d65a8d1461043557806346f6f9b5146104555780635a4967e51461047c5780635b8c41e61461049c57600080fd5b8063202116781161020e57806320211678146102f75780632d09c4ed1461033157806338db1ebc1461036c5780633d8b38f61461038c5780633f1f4fa4146103bc57600080fd5b80621d35671461025557806307e0db17146102775780630df37483146102975780631095b6d7146102b757806310ddb137146102d757600080fd5b3661025057005b600080fd5b34801561026157600080fd5b50610275610270366004612ee7565b610840565b005b34801561028357600080fd5b50610275610292366004612f7a565b610a71565b3480156102a357600080fd5b506102756102b2366004612f95565b610afa565b3480156102c357600080fd5b506102756102d2366004612fd4565b610b19565b3480156102e357600080fd5b506102756102f2366004612f7a565b610bf5565b34801561030357600080fd5b50610317610312366004613023565b610c4d565b604080519283526020830191909152015b60405180910390f35b34801561033d57600080fd5b5061035e61034c366004613077565b600a6020526000908152604090205481565b604051908152602001610328565b34801561037857600080fd5b50610275610387366004612f7a565b610d2e565b34801561039857600080fd5b506103ac6103a7366004613094565b610d81565b6040519015158152602001610328565b3480156103c857600080fd5b5061035e6103d7366004612f7a565b60036020526000908152604090205481565b3480156103f557600080fd5b5061041d7f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab181565b6040516001600160a01b039091168152602001610328565b34801561044157600080fd5b50610275610450366004613094565b610e4d565b34801561046157600080fd5b5061046a600081565b60405160ff9091168152602001610328565b34801561048857600080fd5b506102756104973660046130c1565b610ed3565b3480156104a857600080fd5b5061035e6104b73660046131bd565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156104f757600080fd5b50610275610506366004612ee7565b6110f3565b34801561051757600080fd5b506103ac610526366004613077565b60086020526000908152604090205460ff1681565b34801561054757600080fd5b5061046a600181565b34801561055c57600080fd5b506102756111cf565b34801561057157600080fd5b50610585610580366004612f7a565b6111d9565b604051610328919061326a565b34801561059e57600080fd5b5061035e6105ad36600461327d565b600260209081526000928352604080842090915290825290205481565b3480156105d657600080fd5b506000546001600160a01b031661041d565b3480156105f457600080fd5b5060045461041d906001600160a01b031681565b34801561061457600080fd5b50610585610623366004612f7a565b611273565b34801561063457600080fd5b5061035e610643366004613077565b611389565b34801561065457600080fd5b50610275610663366004613094565b611425565b34801561067457600080fd5b5061041d7f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf6281565b3480156106a857600080fd5b506102756106b7366004613077565b6114a1565b3480156106c857600080fd5b5061035e61271081565b3480156106de57600080fd5b506102756106ed3660046132b0565b6114f7565b610275610700366004612ee7565b61158c565b610275610713366004613336565b6117a2565b34801561072457600080fd5b506102756107333660046133a0565b61194e565b34801561074457600080fd5b5061035e610753366004613077565b60096020526000908152604090205481565b34801561077157600080fd5b50600b546107809061ffff1681565b60405161ffff9091168152602001610328565b34801561079f57600080fd5b506102756107ae3660046133dc565b611a00565b3480156107bf57600080fd5b506102756107ce366004613094565b611a49565b3480156107df57600080fd5b506007546103ac9060ff1681565b3480156107f957600080fd5b50610275610808366004613077565b611aa3565b34801561081957600080fd5b506105856108283660046133f9565b611b1c565b61027561083b366004613446565b611bcf565b337f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316146108bd5760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546108db906134c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610907906134c3565b80156109545780601f1061092957610100808354040283529160200191610954565b820191906000526020600020905b81548152906001019060200180831161093757829003601f168201915b5050505050905080518686905014801561096f575060008151115b801561099757508051602082012060405161098d90889088906134f7565b6040518091039020145b6109f25760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016108b4565b610a688787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611d3192505050565b50505050505050565b610a79611daa565b6040516307e0db1760e01b815261ffff821660048201527f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610adf57600080fd5b505af1158015610af3573d6000803e3d6000fd5b5050505050565b610b02611daa565b61ffff909116600090815260036020526040902055565b610b21611daa565b6000610b2c84611389565b905080821115610b955760405162461bcd60e51b815260206004820152602e60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f7567682060448201526d1999595cc818dbdb1b1958dd195960921b60648201526084016108b4565b610ba96001600160a01b0385168484611e04565b604080516001600160a01b038581168252602082018590528616917ff15a0a3784dea9b4fe33bc98e2450745e262d310237b2868ea8ef56967ff3ecb910160405180910390a250505050565b610bfd611daa565b6040516310ddb13760e01b815261ffff821660048201527f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316906310ddb13790602401610ac5565b60408051600060208201819052308284018190526060830181905260808084018390528451808503909101815260a0840194859052600b5463040a7bb160e41b909552919384937f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316926340a7bb1092610ce19261ffff909116919086908c908c908c9060a401613530565b6040805180830381865afa158015610cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d219190613586565b9250925050935093915050565b610d36611daa565b600b805461ffff191661ffff83169081179091556040519081527fe8df78a276e2b718a366328e9120b436ea83832fbeede026392fed933e3ffa5b906020015b60405180910390a150565b61ffff831660009081526001602052604081208054829190610da2906134c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610dce906134c3565b8015610e1b5780601f10610df057610100808354040283529160200191610e1b565b820191906000526020600020905b815481529060010190602001808311610dfe57829003601f168201915b505050505090508383604051610e329291906134f7565b60405180910390208180519060200120149150509392505050565b610e55611daa565b6040516342d65a8d60e01b81526001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf6216906342d65a8d90610ea5908690869086906004016135aa565b600060405180830381600087803b158015610ebf57600080fd5b505af1158015610a68573d6000803e3d6000fd5b610edb611daa565b6001600160a01b038216610f445760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f6b604482015269656e206164647265737360b01b60648201526084016108b4565b6001600160a01b03821660009081526008602052604090205460ff1615610fc35760405162461bcd60e51b815260206004820152602d60248201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e20616c72656160448201526c191e481c9959da5cdd195c9959609a1b60648201526084016108b4565b6000610fce83611e6c565b90508160ff168160ff1610156110665760405162461bcd60e51b815260206004820152605160248201527f4f726967696e616c546f6b656e4272696467653a20736861726564206465636960448201527f6d616c73206d757374206265206c657373207468616e206f7220657175616c20606482015270746f206c6f63616c20646563696d616c7360781b608482015260a4016108b4565b6001600160a01b0383166000908152600860205260409020805460ff1916600117905561109382826135de565b61109e90600a6136db565b6001600160a01b03841660008181526009602090815260409182902093909355519081527ff7fe8023cb2e36bde1d59a88ac5763a8c11be6d25e6819f71bb7e23e5bf0dc1691015b60405180910390a1505050565b3330146111515760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016108b4565b6111c78686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611f7292505050565b505050505050565b6111d7611daa565b565b600160205260009081526040902080546111f2906134c3565b80601f016020809104026020016040519081016040528092919081815260200182805461121e906134c3565b801561126b5780601f106112405761010080835404028352916020019161126b565b820191906000526020600020905b81548152906001019060200180831161124e57829003601f168201915b505050505081565b61ffff8116600090815260016020526040812080546060929190611296906134c3565b80601f01602080910402602001604051908101604052809291908181526020018280546112c2906134c3565b801561130f5780601f106112e45761010080835404028352916020019161130f565b820191906000526020600020905b8154815290600101906020018083116112f257829003601f168201915b5050505050905080516000036113675760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016108b4565b61138260006014835161137a91906136ea565b83919061230c565b9392505050565b6001600160a01b0381166000908152600a60205260408120546113ad908390612419565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa1580156113f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141591906136fd565b61141f91906136ea565b92915050565b61142d611daa565b81813060405160200161144293929190613716565b60408051601f1981840301815291815261ffff851660009081526001602052209061146d9082613782565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce8383836040516110e6939291906135aa565b6114a9611daa565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610d76565b6114ff611daa565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62169063cbed8b9c906115539088908890889088908890600401613841565b600060405180830381600087803b15801561156d57600080fd5b505af1158015611581573d6000803e3d6000fd5b505050505050505050565b61ffff861660009081526005602052604080822090516115af90889088906134f7565b90815260408051602092819003830190206001600160401b0387166000908152925290205490508061162f5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016108b4565b8083836040516116409291906134f7565b60405180910390201461169f5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016108b4565b61ffff871660009081526005602052604080822090516116c290899089906134f7565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f8801829004820283018201905286825261175a918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611f7292505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161179195949392919061386f565b60405180910390a150505050505050565b6117aa61243c565b6001600160a01b037f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab11660009081526008602052604090205460ff166118025760405162461bcd60e51b81526004016108b4906138aa565b833410156118655760405162461bcd60e51b815260206004820152602a60248201527f4f726967696e616c546f6b656e4272696467653a206e6f7420656e6f756768206044820152691d985b1d59481cd95b9d60b21b60648201526084016108b4565b61188f7f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab185612495565b93507f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab16001600160a01b031663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b1580156118ec57600080fd5b505af1158015611900573d6000803e3d6000fd5b505050505061193e7f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab18585873461193791906136ea565b86866124aa565b6119486001600655565b50505050565b611956611daa565b6000811161199e5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016108b4565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac0906060016110e6565b611a08611daa565b6007805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001610d76565b611a51611daa565b61ffff83166000908152600160205260409020611a6f8284836138f5565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab8383836040516110e6939291906135aa565b611aab611daa565b6001600160a01b038116611b105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b4565b611b1981612678565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611b9c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bc491908101906139b4565b90505b949350505050565b611bd761243c565b6001600160a01b03851660009081526008602052604090205460ff16611c0f5760405162461bcd60e51b81526004016108b4906138aa565b611c198585612495565b6040516370a0823160e01b81523060048201529094506000906001600160a01b038716906370a0823190602401602060405180830381865afa158015611c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8791906136fd565b9050611c9e6001600160a01b0387163330886126c8565b6040516370a0823160e01b81523060048201526000906001600160a01b038816906370a0823190602401602060405180830381865afa158015611ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0991906136fd565b9050611d1582826136ea565b9550611d258787873488886124aa565b5050610af36001600655565b600080611d945a60966366ad5c8a60e01b89898989604051602401611d599493929190613a2a565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190612700565b91509150816111c7576111c7868686868561278a565b6000546001600160a01b031633146111d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108b4565b6040516001600160a01b038316602482015260448101829052611e6790849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612827565b505050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1790529051600091829182916001600160a01b03861691611eb29190613a68565b600060405180830381855afa9150503d8060008114611eed576040519150601f19603f3d011682016040523d82523d6000602084013e611ef2565b606091505b509150915081611f5e5760405162461bcd60e51b815260206004820152603160248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2067604482015270657420746f6b656e20646563696d616c7360781b60648201526084016108b4565b80806020019051810190611bc79190613a84565b600b5461ffff858116911614611fdf5760405162461bcd60e51b815260206004820152602c60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420736f7560448201526b1c98d94818da185a5b881a5960a21b60648201526084016108b4565b60008060008060008086806020019051810190611ffc9190613aa1565b955095509550955095509550600160ff168660ff161461206f5760405162461bcd60e51b815260206004820152602860248201527f4f726967696e616c546f6b656e4272696467653a20756e6b6e6f776e207061636044820152676b6574207479706560c01b60648201526084016108b4565b6001600160a01b03851660009081526008602052604090205460ff166120a75760405162461bcd60e51b81526004016108b4906138aa565b6001600160a01b0385166000908152600a6020526040812080548492906120cf9084906136ea565b90915550600090506120e18685612419565b90507f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab16001600160a01b0316866001600160a01b03161480156121215750815b1561229f57604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab16001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561218857600080fd5b505af115801561219c573d6000803e3d6000fd5b505050506000856001600160a01b03168260405160006040518083038185875af1925050503d80600081146121ed576040519150601f19603f3d011682016040523d82523d6000602084013e6121f2565b606091505b505090508061224f5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a206661696c656420746f2073604482015262195b9960ea1b60648201526084016108b4565b60408051600081526001600160a01b03881660208201529081018390527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a1506122ff565b6122b36001600160a01b0387168683611e04565b604080516001600160a01b038089168252871660208201529081018290527f5e3da8fba24af91505c66214c9e629ba712ce2c1b8c318f14f7024fdcba544a89060600160405180910390a15b5050505050505050505050565b60608161231a81601f613b15565b10156123595760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016108b4565b6123638284613b15565b845110156123a75760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016108b4565b6060821580156123c65760405191506000825260208201604052612410565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156123ff5780518352602092830192016123e7565b5050858452601f01601f1916604052505b50949350505050565b6001600160a01b0382166000908152600960205260408120546113829083613b28565b60026006540361248e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108b4565b6002600655565b6000611382836124a585856128f9565b612419565b6001600160a01b0384166125005760405162461bcd60e51b815260206004820152601f60248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420746f0060448201526064016108b4565b600b546125139061ffff1660008361291c565b600061251f87876128f9565b90506000811161257d5760405162461bcd60e51b815260206004820152602360248201527f4f726967696e616c546f6b656e4272696467653a20696e76616c696420616d6f6044820152621d5b9d60ea1b60648201526084016108b4565b6001600160a01b0387166000908152600a6020526040812080548392906125a5908490613b15565b9091555050604080516000602082018190526001600160a01b03808b169383019390935291871660608201526080810183905260a00160408051601f19818403018152919052600b5490915061261e9061ffff16826126076020880188613077565b6126176040890160208a01613077565b878a612998565b604080516001600160a01b038a811682523360208301528816818301526060810189905290517f49b9b5358c9580b3e6c5ee10b8b260c1e64bede87cb8a212e9e20a0b7dc20e5a9181900360800190a15050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526119489085906323b872dd60e01b90608401611e30565b6000606060008060008661ffff166001600160401b03811115612725576127256130fa565b6040519080825280601f01601f19166020018201604052801561274f576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612771578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff168152602001908152602001600020856040516127bb9190613a68565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906128189087908790879087908790613b3f565b60405180910390a15050505050565b600061287c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b3d9092919063ffffffff16565b805190915015611e67578080602001905181019061289a9190613b9d565b611e675760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108b4565b6001600160a01b0382166000908152600960205260408120546113829083613bba565b60075460ff161561293457611e678383836000612b4c565b805115611e675760405162461bcd60e51b815260206004820152602c60248201527f546f6b656e427269646765426173653a2061646170746572506172616d73206d60448201526b75737420626520656d70747960a01b60648201526084016108b4565b61ffff8616600090815260016020526040812080546129b6906134c3565b80601f01602080910402602001604051908101604052809291908181526020018280546129e2906134c3565b8015612a2f5780601f10612a0457610100808354040283529160200191612a2f565b820191906000526020600020905b815481529060010190602001808311612a1257829003601f168201915b505050505090508051600003612aa05760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016108b4565b612aab878751612c2b565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62169063c5803100908490612b02908b9086908c908c908c908c90600401613bdc565b6000604051808303818588803b158015612b1b57600080fd5b505af1158015612b2f573d6000803e3d6000fd5b505050505050505050505050565b6060611bc78484600085612c9c565b6000612b5783612d77565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612b89908490613b15565b905060008111612bdb5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f742073657400000000000060448201526064016108b4565b808210156111c75760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f77000000000060448201526064016108b4565b61ffff821660009081526003602052604081205490819003612c4c57506127105b80821115611e675760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016108b4565b606082471015612cfd5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108b4565b600080866001600160a01b03168587604051612d199190613a68565b60006040518083038185875af1925050503d8060008114612d56576040519150601f19603f3d011682016040523d82523d6000602084013e612d5b565b606091505b5091509150612d6c87838387612dd3565b979650505050505050565b6000602282511015612dcb5760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d730000000060448201526064016108b4565b506022015190565b60608315612e42578251600003612e3b576001600160a01b0385163b612e3b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108b4565b5081611bc7565b611bc78383815115612e575781518083602001fd5b8060405162461bcd60e51b81526004016108b4919061326a565b803561ffff81168114612e8357600080fd5b919050565b60008083601f840112612e9a57600080fd5b5081356001600160401b03811115612eb157600080fd5b602083019150836020828501011115612ec957600080fd5b9250929050565b80356001600160401b0381168114612e8357600080fd5b60008060008060008060808789031215612f0057600080fd5b612f0987612e71565b955060208701356001600160401b0380821115612f2557600080fd5b612f318a838b01612e88565b9097509550859150612f4560408a01612ed0565b94506060890135915080821115612f5b57600080fd5b50612f6889828a01612e88565b979a9699509497509295939492505050565b600060208284031215612f8c57600080fd5b61138282612e71565b60008060408385031215612fa857600080fd5b612fb183612e71565b946020939093013593505050565b6001600160a01b0381168114611b1957600080fd5b600080600060608486031215612fe957600080fd5b8335612ff481612fbf565b9250602084013561300481612fbf565b929592945050506040919091013590565b8015158114611b1957600080fd5b60008060006040848603121561303857600080fd5b833561304381613015565b925060208401356001600160401b0381111561305e57600080fd5b61306a86828701612e88565b9497909650939450505050565b60006020828403121561308957600080fd5b813561138281612fbf565b6000806000604084860312156130a957600080fd5b61304384612e71565b60ff81168114611b1957600080fd5b600080604083850312156130d457600080fd5b82356130df81612fbf565b915060208301356130ef816130b2565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715613138576131386130fa565b604052919050565b60006001600160401b03821115613159576131596130fa565b50601f01601f191660200190565b600082601f83011261317857600080fd5b813561318b61318682613140565b613110565b8181528460208386010111156131a057600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156131d257600080fd5b6131db84612e71565b925060208401356001600160401b038111156131f657600080fd5b61320286828701613167565b92505061321160408501612ed0565b90509250925092565b60005b8381101561323557818101518382015260200161321d565b50506000910152565b6000815180845261325681602086016020860161321a565b601f01601f19169290920160200192915050565b602081526000611382602083018461323e565b6000806040838503121561329057600080fd5b61329983612e71565b91506132a760208401612e71565b90509250929050565b6000806000806000608086880312156132c857600080fd5b6132d186612e71565b94506132df60208701612e71565b93506040860135925060608601356001600160401b0381111561330157600080fd5b61330d88828901612e88565b969995985093965092949392505050565b60006040828403121561333057600080fd5b50919050565b60008060008060a0858703121561334c57600080fd5b84359350602085013561335e81612fbf565b925061336d866040870161331e565b915060808501356001600160401b0381111561338857600080fd5b61339487828801613167565b91505092959194509250565b6000806000606084860312156133b557600080fd5b6133be84612e71565b92506133cc60208501612e71565b9150604084013590509250925092565b6000602082840312156133ee57600080fd5b813561138281613015565b6000806000806080858703121561340f57600080fd5b61341885612e71565b935061342660208601612e71565b9250604085013561343681612fbf565b9396929550929360600135925050565b600080600080600060c0868803121561345e57600080fd5b853561346981612fbf565b945060208601359350604086013561348081612fbf565b925061348f876060880161331e565b915060a08601356001600160401b038111156134aa57600080fd5b6134b688828901613167565b9150509295509295909350565b600181811c908216806134d757607f821691505b60208210810361333057634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff871681526001600160a01b038616602082015260a06040820181905260009061355e9083018761323e565b85151560608401528281036080840152613579818587613507565b9998505050505050505050565b6000806040838503121561359957600080fd5b505080516020909101519092909150565b61ffff84168152604060208201526000611bc4604083018486613507565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561141f5761141f6135c8565b600181815b80851115613632578160001904821115613618576136186135c8565b8085161561362557918102915b93841c93908002906135fc565b509250929050565b6000826136495750600161141f565b816136565750600061141f565b816001811461366c576002811461367657613692565b600191505061141f565b60ff841115613687576136876135c8565b50506001821b61141f565b5060208310610133831016604e8410600b84101617156136b5575081810a61141f565b6136bf83836135f7565b80600019048211156136d3576136d36135c8565b029392505050565b600061138260ff84168361363a565b8181038181111561141f5761141f6135c8565b60006020828403121561370f57600080fd5b5051919050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f821115611e6757600081815260208120601f850160051c810160208610156137635750805b601f850160051c820191505b818110156111c75782815560010161376f565b81516001600160401b0381111561379b5761379b6130fa565b6137af816137a984546134c3565b8461373c565b602080601f8311600181146137e457600084156137cc5750858301515b600019600386901b1c1916600185901b1785556111c7565b600085815260208120601f198616915b82811015613813578886015182559484019460019091019084016137f4565b50858210156138315787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061ffff808816835280871660208401525084604083015260806060830152612d6c608083018486613507565b61ffff8616815260806020820152600061388d608083018688613507565b6001600160401b0394909416604083015250606001529392505050565b6020808252602b908201527f4f726967696e616c546f6b656e4272696467653a20746f6b656e206973206e6f60408201526a1d081cdd5c1c1bdc9d195960aa1b606082015260800190565b6001600160401b0383111561390c5761390c6130fa565b6139208361391a83546134c3565b8361373c565b6000601f841160018114613954576000851561393c5750838201355b600019600387901b1c1916600186901b178355610af3565b600083815260209020601f19861690835b828110156139855786850135825560209485019460019092019101613965565b50868210156139a25760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000602082840312156139c657600080fd5b81516001600160401b038111156139dc57600080fd5b8201601f810184136139ed57600080fd5b80516139fb61318682613140565b818152856020838501011115613a1057600080fd5b613a2182602083016020860161321a565b95945050505050565b61ffff85168152608060208201526000613a47608083018661323e565b6001600160401b03851660408401528281036060840152612d6c818561323e565b60008251613a7a81846020870161321a565b9190910192915050565b600060208284031215613a9657600080fd5b8151611382816130b2565b60008060008060008060c08789031215613aba57600080fd5b8651613ac5816130b2565b6020880151909650613ad681612fbf565b6040880151909550613ae781612fbf565b80945050606087015192506080870151915060a0870151613b0781613015565b809150509295509295509295565b8082018082111561141f5761141f6135c8565b808202811582820484141761141f5761141f6135c8565b61ffff8616815260a060208201526000613b5c60a083018761323e565b6001600160401b03861660408401528281036060840152613b7d818661323e565b90508281036080840152613b91818561323e565b98975050505050505050565b600060208284031215613baf57600080fd5b815161138281613015565b600082613bd757634e487b7160e01b600052601260045260246000fd5b500490565b61ffff8716815260c060208201526000613bf960c083018861323e565b8281036040840152613c0b818861323e565b6001600160a01b0387811660608601528616608085015283810360a08501529050613579818561323e56fea26469706673582212206f0230cb796b7b7fd5f826d6b12f192993357af3026efbd7d735514d31dcf44d64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62000000000000000000000000000000000000000000000000000000000000009900000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1
-----Decoded View---------------
Arg [0] : _endpoint (address): 0x3c2269811836af69497E5F486A85D7316753cf62
Arg [1] : _remoteChainId (uint16): 153
Arg [2] : _weth (address): 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000099
Arg [2] : 00000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab1
Deployed Bytecode Sourcemap
73783:7933:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37207:762;;;;;;;;;;-1:-1:-1;37207:762:0;;;;;:::i;:::-;;:::i;:::-;;40505:123;;;;;;;;;;-1:-1:-1;40505:123:0;;;;;:::i;:::-;;:::i;42421:142::-;;;;;;;;;;-1:-1:-1;42421:142:0;;;;;:::i;:::-;;:::i;79138:319::-;;;;;;;;;;-1:-1:-1;79138:319:0;;;;;:::i;:::-;;:::i;40636:129::-;;;;;;;;;;-1:-1:-1;40636:129:0;;;;;:::i;:::-;;:::i;76442:402::-;;;;;;;;;;-1:-1:-1;76442:402:0;;;;;:::i;:::-;;:::i;:::-;;;;3456:25:1;;;3512:2;3497:18;;3490:34;;;;3429:18;76442:402:0;;;;;;;;74318:50;;;;;;;;;;-1:-1:-1;74318:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;3933:25:1;;;3921:2;3906:18;74318:50:0;3787:177:1;76083:165:0;;;;;;;;;;-1:-1:-1;76083:165:0;;;;;:::i;:::-;;:::i;42661:250::-;;;;;;;;;;-1:-1:-1;42661:250:0;;;;;:::i;:::-;;:::i;:::-;;;4620:14:1;;4613:22;4595:41;;4583:2;4568:18;42661:250:0;4455:187:1;36749:53:0;;;;;;;;;;-1:-1:-1;36749:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;74578:29;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4811:32:1;;;4793:51;;4781:2;4766:18;74578:29:0;4647:203:1;40773:178:0;;;;;;;;;;-1:-1:-1;40773:178:0;;;;;:::i;:::-;;:::i;49420:33::-;;;;;;;;;;;;49452:1;49420:33;;;;;5027:4:1;5015:17;;;4997:36;;4985:2;4970:18;49420:33:0;4855:184:1;75461:614:0;;;;;;;;;;-1:-1:-1;75461:614:0;;;;;:::i;:::-;;:::i;43539:85::-;;;;;;;;;;-1:-1:-1;43539:85:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44761:346;;;;;;;;;;-1:-1:-1;44761:346:0;;;;;:::i;:::-;;:::i;73937:47::-;;;;;;;;;;-1:-1:-1;73937:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;49559:35;;;;;;;;;;;;49593:1;49559:35;;50701:57;;;;;;;;;;;;;:::i;36619:51::-;;;;;;;;;;-1:-1:-1;36619:51:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;36677:65::-;;;;;;;;;;-1:-1:-1;36677:65:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;34649:87;;;;;;;;;;-1:-1:-1;34695:7:0;34722:6;-1:-1:-1;;;;;34722:6:0;34649:87;;36809:23;;;;;;;;;;-1:-1:-1;36809:23:0;;;;-1:-1:-1;;;;;36809:23:0;;;41593:330;;;;;;;;;;-1:-1:-1;41593:330:0;;;;;:::i;:::-;;:::i;76256:178::-;;;;;;;;;;-1:-1:-1;76256:178:0;;;;;:::i;:::-;;:::i;41304:281::-;;;;;;;;;;-1:-1:-1;41304:281:0;;;;;:::i;:::-;;:::i;36566:46::-;;;;;;;;;;;;;;;41931:136;;;;;;;;;;-1:-1:-1;41931:136:0;;;;;:::i;:::-;;:::i;36502:55::-;;;;;;;;;;;;36552:5;36502:55;;40293:204;;;;;;;;;;-1:-1:-1;40293:204:0;;;;;:::i;:::-;;:::i;45293:767::-;;;;;;:::i;:::-;;:::i;77879:510::-;;;;;;:::i;:::-;;:::i;42075:284::-;;;;;;;;;;-1:-1:-1;42075:284:0;;;;;:::i;:::-;;:::i;74177:52::-;;;;;;;;;;-1:-1:-1;74177:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;74459:27;;;;;;;;;;-1:-1:-1;74459:27:0;;;;;;;;;;;10475:6:1;10463:19;;;10445:38;;10433:2;10418:18;74459:27:0;10301:188:1;49976:217:0;;;;;;;;;;-1:-1:-1;49976:217:0;;;;;:::i;:::-;;:::i;41098:198::-;;;;;;;;;;-1:-1:-1;41098:198:0;;;;;:::i;:::-;;:::i;49603:34::-;;;;;;;;;;-1:-1:-1;49603:34:0;;;;;;;;35555:201;;;;;;;;;;-1:-1:-1;35555:201:0;;;;;:::i;:::-;;:::i;40020:211::-;;;;;;;;;;-1:-1:-1;40020:211:0;;;;;:::i;:::-;;:::i;77017:695::-;;;;;;:::i;:::-;;:::i;37207:762::-;33280:10;37447;-1:-1:-1;;;;;37423:35:0;;37415:78;;;;-1:-1:-1;;;37415:78:0;;12210:2:1;37415:78:0;;;12192:21:1;12249:2;12229:18;;;12222:30;12288:32;12268:18;;;12261:60;12338:18;;37415:78:0;;;;;;;;;37535:32;;;37506:26;37535:32;;;:19;:32;;;;;37506:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37741:13;:20;37719:11;;:18;;:42;:70;;;;;37788:1;37765:13;:20;:24;37719:70;:124;;;;-1:-1:-1;37819:24:0;;;;;;37793:22;;;;37803:11;;;;37793:22;:::i;:::-;;;;;;;;:50;37719:124;37711:175;;;;-1:-1:-1;;;37711:175:0;;13230:2:1;37711:175:0;;;13212:21:1;13269:2;13249:18;;;13242:30;13308:34;13288:18;;;13281:62;-1:-1:-1;;;13359:18:1;;;13352:36;13405:19;;37711:175:0;13028:402:1;37711:175:0;37899:62;37918:11;37931;;37899:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;37899:62:0;;;;;;;;;;;;;;;;;;;;;;37944:6;;-1:-1:-1;37899:62:0;-1:-1:-1;37952:8:0;;;;;;37899:62;;37952:8;;;;37899:62;;;;;;;;;-1:-1:-1;37899:18:0;;-1:-1:-1;;;37899:62:0:i;:::-;37338:631;37207:762;;;;;;:::o;40505:123::-;34535:13;:11;:13::i;:::-;40585:35:::1;::::0;-1:-1:-1;;;40585:35:0;;10475:6:1;10463:19;;40585:35:0::1;::::0;::::1;10445:38:1::0;40585:10:0::1;-1:-1:-1::0;;;;;40585:25:0::1;::::0;::::1;::::0;10418:18:1;;40585:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40505:123:::0;:::o;42421:142::-;34535:13;:11;:13::i;:::-;42512:35:::1;::::0;;::::1;;::::0;;;:22:::1;:35;::::0;;;;:43;42421:142::o;79138:319::-;34535:13;:11;:13::i;:::-;79229:10:::1;79242:19;79255:5;79242:12;:19::i;:::-;79229:32;;79292:5;79280:8;:17;;79272:76;;;::::0;-1:-1:-1;;;79272:76:0;;13637:2:1;79272:76:0::1;::::0;::::1;13619:21:1::0;13676:2;13656:18;;;13649:30;13715:34;13695:18;;;13688:62;-1:-1:-1;;;13766:18:1;;;13759:44;13820:19;;79272:76:0::1;13435:410:1::0;79272:76:0::1;79361:40;-1:-1:-1::0;;;;;79361:26:0;::::1;79388:2:::0;79392:8;79361:26:::1;:40::i;:::-;79417:32;::::0;;-1:-1:-1;;;;;14042:32:1;;;14024:51;;14106:2;14091:18;;14084:34;;;79417:32:0;::::1;::::0;::::1;::::0;13997:18:1;79417:32:0::1;;;;;;;79218:239;79138:319:::0;;;:::o;40636:129::-;34535:13;:11;:13::i;:::-;40719:38:::1;::::0;-1:-1:-1;;;40719:38:0;;10475:6:1;10463:19;;40719:38:0::1;::::0;::::1;10445::1::0;40719:10:0::1;-1:-1:-1::0;;;;;40719:28:0::1;::::0;::::1;::::0;10418:18:1;;40719:38:0::1;10301:188:1::0;76442:402:0;76681:52;;;76533:14;76681:52;;;14362:36:1;;;76709:4:0;14452:18:1;;;14445:43;;;14504:18;;;14497:43;;;14556:18;;;;14549:45;;;76681:52:0;;;;;;;;;;14334:19:1;;;76681:52:0;;;;76775:13;;-1:-1:-1;;;76751:85:0;;;76533:14;;;;76751:10;-1:-1:-1;;;;;76751:23:0;;;;:85;;76775:13;;;;;76709:4;76681:52;;76814:6;;76822:13;;;;76751:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;76744:92;;;;;76442:402;;;;;;:::o;76083:165::-;34535:13;:11;:13::i;:::-;76162::::1;:30:::0;;-1:-1:-1;;76162:30:0::1;;::::0;::::1;::::0;;::::1;::::0;;;76208:32:::1;::::0;10445:38:1;;;76208:32:0::1;::::0;10433:2:1;10418:18;76208:32:0::1;;;;;;;;76083:165:::0;:::o;42661:250::-;42803:32;;;42757:4;42803:32;;;:19;:32;;;;;42774:61;;42757:4;;42803:32;42774:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42891:11;;42881:22;;;;;;;:::i;:::-;;;;;;;;42863:13;42853:24;;;;;;:50;42846:57;;;42661:250;;;;;:::o;40773:178::-;34535:13;:11;:13::i;:::-;40888:55:::1;::::0;-1:-1:-1;;;40888:55:0;;-1:-1:-1;;;;;40888:10:0::1;:29;::::0;::::1;::::0;:55:::1;::::0;40918:11;;40931;;;;40888:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;75461:614:::0;34535:13;:11;:13::i;:::-;-1:-1:-1;;;;;75559:19:0;::::1;75551:74;;;::::0;-1:-1:-1;;;75551:74:0;;16331:2:1;75551:74:0::1;::::0;::::1;16313:21:1::0;16370:2;16350:18;;;16343:30;16409:34;16389:18;;;16382:62;-1:-1:-1;;;16460:18:1;;;16453:40;16510:19;;75551:74:0::1;16129:406:1::0;75551:74:0::1;-1:-1:-1::0;;;;;75645:22:0;::::1;;::::0;;;:15:::1;:22;::::0;;;;;::::1;;75644:23;75636:81;;;::::0;-1:-1:-1;;;75636:81:0;;16742:2:1;75636:81:0::1;::::0;::::1;16724:21:1::0;16781:2;16761:18;;;16754:30;16820:34;16800:18;;;16793:62;-1:-1:-1;;;16871:18:1;;;16864:43;16924:19;;75636:81:0::1;16540:409:1::0;75636:81:0::1;75730:19;75752:24;75770:5;75752:17;:24::i;:::-;75730:46;;75812:14;75795:31;;:13;:31;;;;75787:125;;;::::0;-1:-1:-1;;;75787:125:0;;17156:2:1;75787:125:0::1;::::0;::::1;17138:21:1::0;17195:2;17175:18;;;17168:30;17234:34;17214:18;;;17207:62;17305:34;17285:18;;;17278:62;-1:-1:-1;;;17356:19:1;;;17349:48;17414:19;;75787:125:0::1;16954:485:1::0;75787:125:0::1;-1:-1:-1::0;;;;;75925:22:0;::::1;;::::0;;;:15:::1;:22;::::0;;;;:29;;-1:-1:-1;;75925:29:0::1;75950:4;75925:29;::::0;;76000:30:::1;76016:14:::0;76000:13;:30:::1;:::i;:::-;75995:36;::::0;:2:::1;:36;:::i;:::-;-1:-1:-1::0;;;;;75965:27:0;::::1;;::::0;;;:20:::1;:27;::::0;;;;;;;;:66;;;;76047:20;4793:51:1;;;76047:20:0::1;::::0;4766:18:1;76047:20:0::1;;;;;;;;75540:535;75461:614:::0;;:::o;44761:346::-;33280:10;44975:4;44951:29;44943:80;;;;-1:-1:-1;;;44943:80:0;;19317:2:1;44943:80:0;;;19299:21:1;19356:2;19336:18;;;19329:30;19395:34;19375:18;;;19368:62;-1:-1:-1;;;19446:18:1;;;19439:36;19492:19;;44943:80:0;19115:402:1;44943:80:0;45034:65;45056:11;45069;;45034:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45034:65:0;;;;;;;;;;;;;;;;;;;;;;45082:6;;-1:-1:-1;45034:65:0;-1:-1:-1;45090:8:0;;;;;;45034:65;;45090:8;;;;45034:65;;;;;;;;;-1:-1:-1;45034:21:0;;-1:-1:-1;;;45034:65:0:i;:::-;44761:346;;;;;;:::o;50701:57::-;34535:13;:11;:13::i;:::-;50701:57::o;36619:51::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;41593:330::-;41717:35;;;41697:17;41717:35;;;:19;:35;;;;;41697:55;;41672:12;;41697:17;41717:35;41697:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41771:4;:11;41786:1;41771:16;41763:58;;;;-1:-1:-1;;;41763:58:0;;19724:2:1;41763:58:0;;;19706:21:1;19763:2;19743:18;;;19736:30;19802:31;19782:18;;;19775:59;19851:18;;41763:58:0;19522:353:1;41763:58:0;41839:31;41850:1;41867:2;41853:4;:11;:16;;;;:::i;:::-;41839:4;;:31;:10;:31::i;:::-;41832:38;41593:330;-1:-1:-1;;;41593:330:0:o;76256:178::-;-1:-1:-1;;;;;76400:25:0;;76314:4;76400:25;;;:18;:25;;;;;;76379:47;;76393:5;;76379:13;:47::i;:::-;76338:38;;-1:-1:-1;;;76338:38:0;;76370:4;76338:38;;;4793:51:1;-1:-1:-1;;;;;76338:23:0;;;;;4766:18:1;;76338:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:88;;;;:::i;:::-;76331:95;76256:178;-1:-1:-1;;76256:178:0:o;41304:281::-;34535:13;:11;:13::i;:::-;41476:14:::1;;41500:4;41459:47;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;41459:47:0;;::::1;::::0;;;;;;41421:35:::1;::::0;::::1;;::::0;;;:19:::1;41459:47;41421:35:::0;;;:85:::1;::::0;:35;:85:::1;:::i;:::-;;41522:55;41546:14;41562;;41522:55;;;;;;;;:::i;41931:136::-:0;34535:13;:11;:13::i;:::-;42001:8:::1;:20:::0;;-1:-1:-1;;;;;;42001:20:0::1;-1:-1:-1::0;;;;;42001:20:0;::::1;::::0;;::::1;::::0;;;42037:22:::1;::::0;4793:51:1;;;42037:22:0::1;::::0;4781:2:1;4766:18;42037:22:0::1;4647:203:1::0;40293:204:0;34535:13;:11;:13::i;:::-;40427:62:::1;::::0;-1:-1:-1;;;40427:62:0;;-1:-1:-1;;;;;40427:10:0::1;:20;::::0;::::1;::::0;:62:::1;::::0;40448:8;;40458;;40468:11;;40481:7;;;;40427:62:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;40293:204:::0;;;;;:::o;45293:767::-;45504:27;;;45482:19;45504:27;;;:14;:27;;;;;;:40;;;;45532:11;;;;45504:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45504:48:0;;;;;;;;;;;;-1:-1:-1;45504:48:0;45563:73;;;;-1:-1:-1;;;45563:73:0;;23470:2:1;45563:73:0;;;23452:21:1;23509:2;23489:18;;;23482:30;23548:34;23528:18;;;23521:62;-1:-1:-1;;;23599:18:1;;;23592:33;23642:19;;45563:73:0;23268:399:1;45563:73:0;45678:11;45665:8;;45655:19;;;;;;;:::i;:::-;;;;;;;;:34;45647:80;;;;-1:-1:-1;;;45647:80:0;;23874:2:1;45647:80:0;;;23856:21:1;23913:2;23893:18;;;23886:30;23952:34;23932:18;;;23925:62;-1:-1:-1;;;24003:18:1;;;23996:31;24044:19;;45647:80:0;23672:397:1;45647:80:0;45775:27;;;45834:1;45775:27;;;:14;:27;;;;;;:40;;;;45803:11;;;;45775:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45775:48:0;;;;;;;;;;;;:61;;;;45905:65;;;;;;;;;;;;;;;;;;;45927:11;;45940;;45905:65;;;;;;45940:11;45905:65;;45940:11;45905:65;;;;;;;;;-1:-1:-1;;45905:65:0;;;;;;;;;;;;;;;;;;;;;;45953:6;;-1:-1:-1;45905:65:0;-1:-1:-1;45961:8:0;;;;;;45905:65;;45961:8;;;;45905:65;;;;;;;;;-1:-1:-1;45905:21:0;;-1:-1:-1;;;45905:65:0:i;:::-;45986:66;46006:11;46019;;46032:6;46040:11;45986:66;;;;;;;;;;:::i;:::-;;;;;;;;45426:634;45293:767;;;;;;:::o;77879:510::-;48412:21;:19;:21::i;:::-;-1:-1:-1;;;;;78056:4:0::1;78040:21;;::::0;;;:15:::1;:21;::::0;;;;;::::1;;78032:77;;;;-1:-1:-1::0;;;78032:77:0::1;;;;;;;:::i;:::-;78141:8;78128:9;:21;;78120:76;;;::::0;-1:-1:-1;;;78120:76:0;;25186:2:1;78120:76:0::1;::::0;::::1;25168:21:1::0;25225:2;25205:18;;;25198:30;25264:34;25244:18;;;25237:62;-1:-1:-1;;;25315:18:1;;;25308:40;25365:19;;78120:76:0::1;24984:406:1::0;78120:76:0::1;78218:27;78230:4;78236:8;78218:11;:27::i;:::-;78207:38;;78262:4;-1:-1:-1::0;;;;;78256:19:0::1;;78283:8;78256:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;78305:76;78313:4;78319:8;78329:2;78345:8;78333:9;:20;;;;:::i;:::-;78355:10;78367:13;78305:7;:76::i;:::-;48456:20:::0;47850:1;48976:7;:22;48793:213;48456:20;77879:510;;;;:::o;42075:284::-;34535:13;:11;:13::i;:::-;42199:1:::1;42189:7;:11;42181:45;;;::::0;-1:-1:-1;;;42181:45:0;;25597:2:1;42181:45:0::1;::::0;::::1;25579:21:1::0;25636:2;25616:18;;;25609:30;-1:-1:-1;;;25655:18:1;;;25648:51;25716:18;;42181:45:0::1;25395:345:1::0;42181:45:0::1;42237:28;::::0;;::::1;;::::0;;;:15:::1;:28;::::0;;;;;;;:41;;::::1;::::0;;;;;;;;;;:51;;;42304:47;;25968:34:1;;;26018:18;;26011:43;;;;26070:18;;;26063:34;;;42304:47:0::1;::::0;25931:2:1;25916:18;42304:47:0::1;25745:358:1::0;49976:217:0;34535:13;:11;:13::i;:::-;50071:22:::1;:48:::0;;-1:-1:-1;;50071:48:0::1;::::0;::::1;;::::0;;::::1;::::0;;;50135:50:::1;::::0;4595:41:1;;;50135:50:0::1;::::0;4583:2:1;4568:18;50135:50:0::1;4455:187:1::0;41098:198:0;34535:13;:11;:13::i;:::-;41196:32:::1;::::0;::::1;;::::0;;;:19:::1;:32;::::0;;;;:40:::1;41231:5:::0;;41196:32;:40:::1;:::i;:::-;;41252:36;41269:11;41282:5;;41252:36;;;;;;;;:::i;35555:201::-:0;34535:13;:11;:13::i;:::-;-1:-1:-1;;;;;35644:22:0;::::1;35636:73;;;::::0;-1:-1:-1;;;35636:73:0;;27517:2:1;35636:73:0::1;::::0;::::1;27499:21:1::0;27556:2;27536:18;;;27529:30;27595:34;27575:18;;;27568:62;-1:-1:-1;;;27646:18:1;;;27639:36;27692:19;;35636:73:0::1;27315:402:1::0;35636:73:0::1;35720:28;35739:8;35720:18;:28::i;:::-;35555:201:::0;:::o;40020:211::-;40155:68;;-1:-1:-1;;;40155:68:0;;27959:6:1;27992:15;;;40155:68:0;;;27974:34:1;28044:15;;28024:18;;;28017:43;40204:4:0;28076:18:1;;;28069:60;28145:18;;;28138:34;;;40123:12:0;;40155:10;-1:-1:-1;;;;;40155:20:0;;;;27921:19:1;;40155:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;40155:68:0;;;;;;;;;;;;:::i;:::-;40148:75;;40020:211;;;;;;;:::o;77017:695::-;48412:21;:19;:21::i;:::-;-1:-1:-1;;;;;77190:22:0;::::1;;::::0;;;:15:::1;:22;::::0;;;;;::::1;;77182:78;;;;-1:-1:-1::0;;;77182:78:0::1;;;;;;;:::i;:::-;77282:28;77294:5;77301:8;77282:11;:28::i;:::-;77390:38;::::0;-1:-1:-1;;;77390:38:0;;77422:4:::1;77390:38;::::0;::::1;4793:51:1::0;77271:39:0;;-1:-1:-1;77369:18:0::1;::::0;-1:-1:-1;;;;;77390:23:0;::::1;::::0;::::1;::::0;4766:18:1;;77390:38:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;77369:59:::0;-1:-1:-1;77439:67:0::1;-1:-1:-1::0;;;;;77439:30:0;::::1;77470:10;77490:4;77497:8:::0;77439:30:::1;:67::i;:::-;77537:38;::::0;-1:-1:-1;;;77537:38:0;;77569:4:::1;77537:38;::::0;::::1;4793:51:1::0;77517:17:0::1;::::0;-1:-1:-1;;;;;77537:23:0;::::1;::::0;::::1;::::0;4766:18:1;;77537:38:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;77517:58:::0;-1:-1:-1;77597:28:0::1;77612:13:::0;77517:58;77597:28:::1;:::i;:::-;77586:39;;77638:66;77646:5;77653:8;77663:2;77667:9;77678:10;77690:13;77638:7;:66::i;:::-;77171:541;;48456:20:::0;47850:1;48976:7;:22;48793:213;43908:514;44058:12;44072:19;44095:153;44129:9;44140:3;44168:34;;;44204:11;44217;44230:6;44238:8;44145:102;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;44145:102:0;;;;;;;;;;;;;;-1:-1:-1;;;;;44145:102:0;-1:-1:-1;;;;;;44145:102:0;;;;;;;;;;44103:4;;44095:153;;:33;:153::i;:::-;44057:191;;;;44308:7;44303:112;;44332:71;44352:11;44365;44378:6;44386:8;44396:6;44332:19;:71::i;34814:132::-;34695:7;34722:6;-1:-1:-1;;;;;34722:6:0;33280:10;34878:23;34870:68;;;;-1:-1:-1;;;34870:68:0;;29597:2:1;34870:68:0;;;29579:21:1;;;29616:18;;;29609:30;29675:34;29655:18;;;29648:62;29727:18;;34870:68:0;29395:356:1;69451:211:0;69595:58;;-1:-1:-1;;;;;14042:32:1;;69595:58:0;;;14024:51:1;14091:18;;;14084:34;;;69568:86:0;;69588:5;;-1:-1:-1;;;69618:23:0;13997:18:1;;69595:58:0;;;;-1:-1:-1;;69595:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;69595:58:0;-1:-1:-1;;;;;;69595:58:0;;;;;;;;;;69568:19;:86::i;:::-;69451:211;;;:::o;80833:305::-;80969:37;;;;;;;;;;;;;;;;-1:-1:-1;;;;;80969:37:0;-1:-1:-1;;;80969:37:0;;;80952:55;;80898:5;;;;;;-1:-1:-1;;;;;80952:16:0;;;:55;;80969:37;80952:55;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80916:91;;;;81026:7;81018:69;;;;-1:-1:-1;;;81018:69:0;;30250:2:1;81018:69:0;;;30232:21:1;30289:2;30269:18;;;30262:30;30328:34;30308:18;;;30301:62;-1:-1:-1;;;30379:18:1;;;30372:47;30436:19;;81018:69:0;30048:413:1;81018:69:0;81116:4;81105:25;;;;;;;;;;;;:::i;79630:1195::-;79783:13;;;79769:27;;;79783:13;;79769:27;79761:84;;;;-1:-1:-1;;;79761:84:0;;30920:2:1;79761:84:0;;;30902:21:1;30959:2;30939:18;;;30932:30;30998:34;30978:18;;;30971:62;-1:-1:-1;;;31049:18:1;;;31042:42;31101:19;;79761:84:0;30718:408:1;79761:84:0;79859:16;79877:13;79892:10;79904:23;79929:18;79949:15;79979:7;79968:64;;;;;;;;;;;;:::i;:::-;79858:174;;;;;;;;;;;;49593:1;80051:23;;:10;:23;;;80043:76;;;;-1:-1:-1;;;80043:76:0;;32122:2:1;80043:76:0;;;32104:21:1;32161:2;32141:18;;;32134:30;32200:34;32180:18;;;32173:62;-1:-1:-1;;;32251:18:1;;;32244:38;32299:19;;80043:76:0;31920:404:1;80043:76:0;-1:-1:-1;;;;;80138:22:0;;;;;;:15;:22;;;;;;;;80130:78;;;;-1:-1:-1;;;80130:78:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;80221:25:0;;;;;;:18;:25;;;;;:42;;80250:13;;80221:25;:42;;80250:13;;80221:42;:::i;:::-;;;;-1:-1:-1;80274:23:0;;-1:-1:-1;80300:40:0;80314:5;80321:18;80300:13;:40::i;:::-;80274:66;;80366:4;-1:-1:-1;;;;;80357:13:0;:5;-1:-1:-1;;;;;80357:13:0;;:27;;;;;80374:10;80357:27;80353:465;;;80401:40;;-1:-1:-1;;;80401:40:0;;;;;3933:25:1;;;80407:4:0;-1:-1:-1;;;;;80401:20:0;;;;3906:18:1;;80401:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80457:12;80483:2;-1:-1:-1;;;;;80475:16:0;80499:18;80475:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80456:66;;;80545:7;80537:55;;;;-1:-1:-1;;;80537:55:0;;32741:2:1;80537:55:0;;;32723:21:1;32780:2;32760:18;;;32753:30;32819:34;32799:18;;;32792:62;-1:-1:-1;;;32870:18:1;;;32863:33;32913:19;;80537:55:0;32539:399:1;80537:55:0;80612:48;;;80633:1;33183:34:1;;-1:-1:-1;;;;;33253:15:1;;33248:2;33233:18;;33226:43;33285:18;;;33278:34;;;80612:48:0;;33133:2:1;33118:18;80612:48:0;;;;;;;80386:286;80353:465;;;80693:50;-1:-1:-1;;;;;80693:26:0;;80720:2;80724:18;80693:26;:50::i;:::-;80763:43;;;-1:-1:-1;;;;;33201:15:1;;;33183:34;;33253:15;;33248:2;33233:18;;33226:43;33285:18;;;33278:34;;;80763:43:0;;33133:2:1;33118:18;80763:43:0;;;;;;;80353:465;79750:1075;;;;;;;79630:1195;;;;:::o;14711:2779::-;14852:12;14906:7;14890:12;14906:7;14900:2;14890:12;:::i;:::-;:23;;14882:50;;;;-1:-1:-1;;;14882:50:0;;33655:2:1;14882:50:0;;;33637:21:1;33694:2;33674:18;;;33667:30;-1:-1:-1;;;33713:18:1;;;33706:44;33767:18;;14882:50:0;33453:338:1;14882:50:0;14968:16;14977:7;14968:6;:16;:::i;:::-;14951:6;:13;:33;;14943:63;;;;-1:-1:-1;;;14943:63:0;;33998:2:1;14943:63:0;;;33980:21:1;34037:2;34017:18;;;34010:30;-1:-1:-1;;;34056:18:1;;;34049:47;34113:18;;14943:63:0;33796:341:1;14943:63:0;15019:22;15085:15;;15114:1933;;;;17191:4;17185:11;17172:24;;17372:1;17361:9;17354:20;17422:4;17411:9;17407:20;17401:4;17394:34;15078:2365;;15114:1933;15291:4;15285:11;15272:24;;15928:2;15919:7;15915:16;16300:9;16293:17;16287:4;16283:28;16271:9;16260;16256:25;16252:60;16349:7;16345:2;16341:16;16598:6;16584:9;16577:17;16571:4;16567:28;16555:9;16547:6;16543:22;16539:57;16535:70;16377:426;16632:3;16628:2;16625:11;16377:426;;;16774:9;;16763:21;;16674:4;16666:13;;;;16707;16377:426;;;-1:-1:-1;;16823:26:0;;;17027:2;17010:11;-1:-1:-1;;17006:25:0;17000:4;16993:39;-1:-1:-1;15078:2365:0;-1:-1:-1;17473:9:0;14711:2779;-1:-1:-1;;;;14711:2779:0:o;81146:146::-;-1:-1:-1;;;;;81257:27:0;;81222:4;81257:27;;;:20;:27;;;;;;81246:38;;:8;:38;:::i;48492:293::-;47894:1;48626:7;;:19;48618:63;;;;-1:-1:-1;;;48618:63:0;;34517:2:1;48618:63:0;;;34499:21:1;34556:2;34536:18;;;34529:30;34595:33;34575:18;;;34568:61;34646:18;;48618:63:0;34315:355:1;48618:63:0;47894:1;48759:7;:18;48492:293::o;81454:158::-;81528:4;81552:52;81566:5;81573:30;81587:5;81594:8;81573:13;:30::i;:::-;81552:13;:52::i;78397:733::-;-1:-1:-1;;;;;78565:16:0;;78557:60;;;;-1:-1:-1;;;78557:60:0;;34877:2:1;78557:60:0;;;34859:21:1;34916:2;34896:18;;;34889:30;34955:33;34935:18;;;34928:61;35006:18;;78557:60:0;34675:355:1;78557:60:0;78648:13;;78628:58;;78648:13;;;78672;78628:19;:58::i;:::-;78699:13;78715:30;78729:5;78736:8;78715:13;:30::i;:::-;78699:46;;78775:1;78764:8;:12;78756:60;;;;-1:-1:-1;;;78756:60:0;;35237:2:1;78756:60:0;;;35219:21:1;35276:2;35256:18;;;35249:30;35315:34;35295:18;;;35288:62;-1:-1:-1;;;35366:18:1;;;35359:33;35409:19;;78756:60:0;35035:399:1;78756:60:0;-1:-1:-1;;;;;78829:25:0;;;;;;:18;:25;;;;;:37;;78858:8;;78829:25;:37;;78858:8;;78829:37;:::i;:::-;;;;-1:-1:-1;;78900:40:0;;;78877:20;78900:40;;;35666:36:1;;;-1:-1:-1;;;;;35776:15:1;;;35756:18;;;35749:43;;;;35828:15;;;35808:18;;;35801:43;35860:18;;;35853:34;;;35638:19;;78900:40:0;;;-1:-1:-1;;78900:40:0;;;;;;;;;78959:13;;78900:40;;-1:-1:-1;78951:113:0;;78959:13;;78900:40;78983:24;78900:40;78983:24;;:10;:24;:::i;:::-;79009:28;;;;;;;;:::i;:::-;79039:13;79054:9;78951:7;:113::i;:::-;79080:42;;;-1:-1:-1;;;;;36445:15:1;;;36427:34;;79097:10:0;36492:2:1;36477:18;;36470:43;36549:15;;36529:18;;;36522:43;36596:2;36581:18;;36574:34;;;79080:42:0;;;;;;;36376:3:1;79080:42:0;;;78546:584;;78397:733;;;;;;:::o;35916:191::-;35990:16;36009:6;;-1:-1:-1;;;;;36026:17:0;;;-1:-1:-1;;;;;;36026:17:0;;;;;;36059:40;;36009:6;;;;;;;36059:40;;35990:16;36059:40;35979:128;35916:191;:::o;69670:248::-;69841:68;;-1:-1:-1;;;;;33201:15:1;;;69841:68:0;;;33183:34:1;33253:15;;33233:18;;;33226:43;33285:18;;;33278:34;;;69814:96:0;;69834:5;;-1:-1:-1;;;69864:27:0;33118:18:1;;69841:68:0;32943:375:1;1179:1275:0;1341:4;1347:12;1409:15;1435:13;1459:24;1496:8;1486:19;;-1:-1:-1;;;;;1486:19:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1486:19:0;;1459:46;;1987:1;1961;1927:9;1921:16;1892:4;1881:9;1877:20;1846:1;1811:7;1785:4;1766:247;1754:259;;2078:16;2067:27;;2123:8;2114:7;2111:21;2108:78;;;2163:8;2152:19;;2108:78;2269:7;2256:11;2249:28;2387:7;2384:1;2377:4;2364:11;2360:22;2345:50;2424:8;;;;-1:-1:-1;1179:1275:0;-1:-1:-1;;;;;;1179:1275:0:o;44430:323::-;44654:8;44644:19;;;;;;44593:14;:27;44608:11;44593:27;;;;;;;;;;;;;;;44621:11;44593:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44593:48:0;;;;;;;;;:70;;;;44679:66;;;;44693:11;;44706;;44634:6;;44727:8;;44737:7;;44679:66;:::i;:::-;;;;;;;;44430:323;;;;;:::o;72518:716::-;72942:23;72968:69;72996:4;72968:69;;;;;;;;;;;;;;;;;72976:5;-1:-1:-1;;;;;72968:27:0;;;:69;;;;;:::i;:::-;73052:17;;72942:95;;-1:-1:-1;73052:21:0;73048:179;;73149:10;73138:30;;;;;;;;;;;;:::i;:::-;73130:85;;;;-1:-1:-1;;;73130:85:0;;37792:2:1;73130:85:0;;;37774:21:1;37831:2;37811:18;;;37804:30;37870:34;37850:18;;;37843:62;-1:-1:-1;;;37921:18:1;;;37914:40;37971:19;;73130:85:0;37590:406:1;81300:146:0;-1:-1:-1;;;;;81411:27:0;;81376:4;81411:27;;;:20;:27;;;;;;81400:38;;:8;:38;:::i;50254:348::-;50377:22;;;;50373:222;;;50416:52;50431:10;50443:6;50451:13;50466:1;50416:14;:52::i;50373:222::-;50509:20;;:25;50501:82;;;;-1:-1:-1;;;50501:82:0;;38425:2:1;50501:82:0;;;38407:21:1;38464:2;38444:18;;;38437:30;38503:34;38483:18;;;38476:62;-1:-1:-1;;;38554:18:1;;;38547:42;38606:19;;50501:82:0;38223:408:1;38258:553:0;38481:32;;;38452:26;38481:32;;;:19;:32;;;;;38452:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38532:13;:20;38556:1;38532:25;38524:86;;;;-1:-1:-1;;;38524:86:0;;38838:2:1;38524:86:0;;;38820:21:1;38877:2;38857:18;;;38850:30;38916:34;38896:18;;;38889:62;-1:-1:-1;;;38967:18:1;;;38960:46;39023:19;;38524:86:0;38636:412:1;38524:86:0;38621:47;38639:11;38652:8;:15;38621:17;:47::i;:::-;38679:124;;-1:-1:-1;;;38679:124:0;;-1:-1:-1;;;;;38679:10:0;:15;;;;38702:10;;38679:124;;38714:11;;38727:13;;38742:8;;38752:14;;38768:18;;38788:14;;38679:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38441:370;38258:553;;;;;;:::o;58055:229::-;58192:12;58224:52;58246:6;58254:4;58260:1;58263:12;58224:21;:52::i;38819:420::-;38955:21;38979:28;38992:14;38979:12;:28::i;:::-;39037;;;;39018:16;39037:28;;;:15;:28;;;;;;;;:35;;;;;;;;;;;;38955:52;;-1:-1:-1;39018:16:0;39037:47;;39075:9;;39037:47;:::i;:::-;39018:66;;39117:1;39103:11;:15;39095:54;;;;-1:-1:-1;;;39095:54:0;;40097:2:1;39095:54:0;;;40079:21:1;40136:2;40116:18;;;40109:30;40175:28;40155:18;;;40148:56;40221:18;;39095:54:0;39895:350:1;39095:54:0;39188:11;39168:16;:31;;39160:71;;;;-1:-1:-1;;;39160:71:0;;40452:2:1;39160:71:0;;;40434:21:1;40491:2;40471:18;;;40464:30;40530:29;40510:18;;;40503:57;40577:18;;39160:71:0;40250:351:1;39526:389:0;39649:35;;;39625:21;39649:35;;;:22;:35;;;;;;;39699:21;;;39695:125;;-1:-1:-1;36552:5:0;39695:125;39854:16;39838:12;:32;;39830:77;;;;-1:-1:-1;;;39830:77:0;;40808:2:1;39830:77:0;;;40790:21:1;;;40827:18;;;40820:30;40886:34;40866:18;;;40859:62;40938:18;;39830:77:0;40606:356:1;59175:455:0;59345:12;59403:5;59378:21;:30;;59370:81;;;;-1:-1:-1;;;59370:81:0;;41169:2:1;59370:81:0;;;41151:21:1;41208:2;41188:18;;;41181:30;41247:34;41227:18;;;41220:62;-1:-1:-1;;;41298:18:1;;;41291:36;41344:19;;59370:81:0;40967:402:1;59370:81:0;59463:12;59477:23;59504:6;-1:-1:-1;;;;;59504:11:0;59523:5;59530:4;59504:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59462:73;;;;59553:69;59580:6;59588:7;59597:10;59609:12;59553:26;:69::i;:::-;59546:76;59175:455;-1:-1:-1;;;;;;;59175:455:0:o;39247:271::-;39329:13;39388:2;39363:14;:21;:27;;39355:68;;;;-1:-1:-1;;;39355:68:0;;41576:2:1;39355:68:0;;;41558:21:1;41615:2;41595:18;;;41588:30;41654;41634:18;;;41627:58;41702:18;;39355:68:0;41374:352:1;39355:68:0;-1:-1:-1;39496:2:0;39476:23;39470:30;;39247:271::o;61748:644::-;61933:12;61962:7;61958:427;;;61990:10;:17;62011:1;61990:22;61986:290;;-1:-1:-1;;;;;55593:19:0;;;62200:60;;;;-1:-1:-1;;;62200:60:0;;41933:2:1;62200:60:0;;;41915:21:1;41972:2;41952:18;;;41945:30;42011:31;41991:18;;;41984:59;42060:18;;62200:60:0;41731:353:1;62200:60:0;-1:-1:-1;62297:10:0;62290:17;;61958:427;62340:33;62348:10;62360:12;63095:17;;:21;63091:388;;63327:10;63321:17;63384:15;63371:10;63367:2;63363:19;63356:44;63091:388;63454:12;63447:20;;-1:-1:-1;;;63447:20:0;;;;;;;;:::i;14:159:1:-;81:20;;141:6;130:18;;120:29;;110:57;;163:1;160;153:12;110:57;14:159;;;:::o;178:347::-;229:8;239:6;293:3;286:4;278:6;274:17;270:27;260:55;;311:1;308;301:12;260:55;-1:-1:-1;334:20:1;;-1:-1:-1;;;;;366:30:1;;363:50;;;409:1;406;399:12;363:50;446:4;438:6;434:17;422:29;;498:3;491:4;482:6;474;470:19;466:30;463:39;460:59;;;515:1;512;505:12;460:59;178:347;;;;;:::o;530:171::-;597:20;;-1:-1:-1;;;;;646:30:1;;636:41;;626:69;;691:1;688;681:12;706:862;812:6;820;828;836;844;852;905:3;893:9;884:7;880:23;876:33;873:53;;;922:1;919;912:12;873:53;945:28;963:9;945:28;:::i;:::-;935:38;;1024:2;1013:9;1009:18;996:32;-1:-1:-1;;;;;1088:2:1;1080:6;1077:14;1074:34;;;1104:1;1101;1094:12;1074:34;1143:58;1193:7;1184:6;1173:9;1169:22;1143:58;:::i;:::-;1220:8;;-1:-1:-1;1117:84:1;-1:-1:-1;1117:84:1;;-1:-1:-1;1274:37:1;1307:2;1292:18;;1274:37;:::i;:::-;1264:47;;1364:2;1353:9;1349:18;1336:32;1320:48;;1393:2;1383:8;1380:16;1377:36;;;1409:1;1406;1399:12;1377:36;;1448:60;1500:7;1489:8;1478:9;1474:24;1448:60;:::i;:::-;706:862;;;;-1:-1:-1;706:862:1;;-1:-1:-1;706:862:1;;1527:8;;706:862;-1:-1:-1;;;706:862:1:o;1573:184::-;1631:6;1684:2;1672:9;1663:7;1659:23;1655:32;1652:52;;;1700:1;1697;1690:12;1652:52;1723:28;1741:9;1723:28;:::i;1762:252::-;1829:6;1837;1890:2;1878:9;1869:7;1865:23;1861:32;1858:52;;;1906:1;1903;1896:12;1858:52;1929:28;1947:9;1929:28;:::i;:::-;1919:38;2004:2;1989:18;;;;1976:32;;-1:-1:-1;;;1762:252:1:o;2019:131::-;-1:-1:-1;;;;;2094:31:1;;2084:42;;2074:70;;2140:1;2137;2130:12;2155:456;2232:6;2240;2248;2301:2;2289:9;2280:7;2276:23;2272:32;2269:52;;;2317:1;2314;2307:12;2269:52;2356:9;2343:23;2375:31;2400:5;2375:31;:::i;:::-;2425:5;-1:-1:-1;2482:2:1;2467:18;;2454:32;2495:33;2454:32;2495:33;:::i;:::-;2155:456;;2547:7;;-1:-1:-1;;;2601:2:1;2586:18;;;;2573:32;;2155:456::o;2616:118::-;2702:5;2695:13;2688:21;2681:5;2678:32;2668:60;;2724:1;2721;2714:12;2739:538;2815:6;2823;2831;2884:2;2872:9;2863:7;2859:23;2855:32;2852:52;;;2900:1;2897;2890:12;2852:52;2939:9;2926:23;2958:28;2980:5;2958:28;:::i;:::-;3005:5;-1:-1:-1;3061:2:1;3046:18;;3033:32;-1:-1:-1;;;;;3077:30:1;;3074:50;;;3120:1;3117;3110:12;3074:50;3159:58;3209:7;3200:6;3189:9;3185:22;3159:58;:::i;:::-;2739:538;;3236:8;;-1:-1:-1;3133:84:1;;-1:-1:-1;;;;2739:538:1:o;3535:247::-;3594:6;3647:2;3635:9;3626:7;3622:23;3618:32;3615:52;;;3663:1;3660;3653:12;3615:52;3702:9;3689:23;3721:31;3746:5;3721:31;:::i;3969:481::-;4047:6;4055;4063;4116:2;4104:9;4095:7;4091:23;4087:32;4084:52;;;4132:1;4129;4122:12;4084:52;4155:28;4173:9;4155:28;:::i;5044:114::-;5128:4;5121:5;5117:16;5110:5;5107:27;5097:55;;5148:1;5145;5138:12;5163:384;5229:6;5237;5290:2;5278:9;5269:7;5265:23;5261:32;5258:52;;;5306:1;5303;5296:12;5258:52;5345:9;5332:23;5364:31;5389:5;5364:31;:::i;:::-;5414:5;-1:-1:-1;5471:2:1;5456:18;;5443:32;5484:31;5443:32;5484:31;:::i;:::-;5534:7;5524:17;;;5163:384;;;;;:::o;5552:127::-;5613:10;5608:3;5604:20;5601:1;5594:31;5644:4;5641:1;5634:15;5668:4;5665:1;5658:15;5684:275;5755:2;5749:9;5820:2;5801:13;;-1:-1:-1;;5797:27:1;5785:40;;-1:-1:-1;;;;;5840:34:1;;5876:22;;;5837:62;5834:88;;;5902:18;;:::i;:::-;5938:2;5931:22;5684:275;;-1:-1:-1;5684:275:1:o;5964:186::-;6012:4;-1:-1:-1;;;;;6037:6:1;6034:30;6031:56;;;6067:18;;:::i;:::-;-1:-1:-1;6133:2:1;6112:15;-1:-1:-1;;6108:29:1;6139:4;6104:40;;5964:186::o;6155:462::-;6197:5;6250:3;6243:4;6235:6;6231:17;6227:27;6217:55;;6268:1;6265;6258:12;6217:55;6304:6;6291:20;6335:48;6351:31;6379:2;6351:31;:::i;:::-;6335:48;:::i;:::-;6408:2;6399:7;6392:19;6454:3;6447:4;6442:2;6434:6;6430:15;6426:26;6423:35;6420:55;;;6471:1;6468;6461:12;6420:55;6536:2;6529:4;6521:6;6517:17;6510:4;6501:7;6497:18;6484:55;6584:1;6559:16;;;6577:4;6555:27;6548:38;;;;6563:7;6155:462;-1:-1:-1;;;6155:462:1:o;6622:464::-;6706:6;6714;6722;6775:2;6763:9;6754:7;6750:23;6746:32;6743:52;;;6791:1;6788;6781:12;6743:52;6814:28;6832:9;6814:28;:::i;:::-;6804:38;;6893:2;6882:9;6878:18;6865:32;-1:-1:-1;;;;;6912:6:1;6909:30;6906:50;;;6952:1;6949;6942:12;6906:50;6975:49;7016:7;7007:6;6996:9;6992:22;6975:49;:::i;:::-;6965:59;;;7043:37;7076:2;7065:9;7061:18;7043:37;:::i;:::-;7033:47;;6622:464;;;;;:::o;7273:250::-;7358:1;7368:113;7382:6;7379:1;7376:13;7368:113;;;7458:11;;;7452:18;7439:11;;;7432:39;7404:2;7397:10;7368:113;;;-1:-1:-1;;7515:1:1;7497:16;;7490:27;7273:250::o;7528:270::-;7569:3;7607:5;7601:12;7634:6;7629:3;7622:19;7650:76;7719:6;7712:4;7707:3;7703:14;7696:4;7689:5;7685:16;7650:76;:::i;:::-;7780:2;7759:15;-1:-1:-1;;7755:29:1;7746:39;;;;7787:4;7742:50;;7528:270;-1:-1:-1;;7528:270:1:o;7803:217::-;7950:2;7939:9;7932:21;7913:4;7970:44;8010:2;7999:9;7995:18;7987:6;7970:44;:::i;8025:256::-;8091:6;8099;8152:2;8140:9;8131:7;8127:23;8123:32;8120:52;;;8168:1;8165;8158:12;8120:52;8191:28;8209:9;8191:28;:::i;:::-;8181:38;;8238:37;8271:2;8260:9;8256:18;8238:37;:::i;:::-;8228:47;;8025:256;;;;;:::o;8520:622::-;8615:6;8623;8631;8639;8647;8700:3;8688:9;8679:7;8675:23;8671:33;8668:53;;;8717:1;8714;8707:12;8668:53;8740:28;8758:9;8740:28;:::i;:::-;8730:38;;8787:37;8820:2;8809:9;8805:18;8787:37;:::i;:::-;8777:47;;8871:2;8860:9;8856:18;8843:32;8833:42;;8926:2;8915:9;8911:18;8898:32;-1:-1:-1;;;;;8945:6:1;8942:30;8939:50;;;8985:1;8982;8975:12;8939:50;9024:58;9074:7;9065:6;9054:9;9050:22;9024:58;:::i;:::-;8520:622;;;;-1:-1:-1;8520:622:1;;-1:-1:-1;9101:8:1;;8998:84;8520:622;-1:-1:-1;;;8520:622:1:o;9147:158::-;9210:5;9255:2;9246:6;9241:3;9237:16;9233:25;9230:45;;;9271:1;9268;9261:12;9230:45;-1:-1:-1;9293:6:1;9147:158;-1:-1:-1;9147:158:1:o;9310:657::-;9435:6;9443;9451;9459;9512:3;9500:9;9491:7;9487:23;9483:33;9480:53;;;9529:1;9526;9519:12;9480:53;9565:9;9552:23;9542:33;;9625:2;9614:9;9610:18;9597:32;9638:31;9663:5;9638:31;:::i;:::-;9688:5;-1:-1:-1;9712:66:1;9770:7;9765:2;9750:18;;9712:66;:::i;:::-;9702:76;;9829:3;9818:9;9814:19;9801:33;-1:-1:-1;;;;;9849:6:1;9846:30;9843:50;;;9889:1;9886;9879:12;9843:50;9912:49;9953:7;9944:6;9933:9;9929:22;9912:49;:::i;:::-;9902:59;;;9310:657;;;;;;;:::o;9972:324::-;10047:6;10055;10063;10116:2;10104:9;10095:7;10091:23;10087:32;10084:52;;;10132:1;10129;10122:12;10084:52;10155:28;10173:9;10155:28;:::i;:::-;10145:38;;10202:37;10235:2;10224:9;10220:18;10202:37;:::i;:::-;10192:47;;10286:2;10275:9;10271:18;10258:32;10248:42;;9972:324;;;;;:::o;10494:241::-;10550:6;10603:2;10591:9;10582:7;10578:23;10574:32;10571:52;;;10619:1;10616;10609:12;10571:52;10658:9;10645:23;10677:28;10699:5;10677:28;:::i;10740:460::-;10824:6;10832;10840;10848;10901:3;10889:9;10880:7;10876:23;10872:33;10869:53;;;10918:1;10915;10908:12;10869:53;10941:28;10959:9;10941:28;:::i;:::-;10931:38;;10988:37;11021:2;11010:9;11006:18;10988:37;:::i;:::-;10978:47;;11075:2;11064:9;11060:18;11047:32;11088:31;11113:5;11088:31;:::i;:::-;10740:460;;;;-1:-1:-1;11138:5:1;;11190:2;11175:18;11162:32;;-1:-1:-1;;10740:460:1:o;11205:798::-;11339:6;11347;11355;11363;11371;11424:3;11412:9;11403:7;11399:23;11395:33;11392:53;;;11441:1;11438;11431:12;11392:53;11480:9;11467:23;11499:31;11524:5;11499:31;:::i;:::-;11549:5;-1:-1:-1;11601:2:1;11586:18;;11573:32;;-1:-1:-1;11657:2:1;11642:18;;11629:32;11670:33;11629:32;11670:33;:::i;:::-;11722:7;-1:-1:-1;11748:66:1;11806:7;11801:2;11786:18;;11748:66;:::i;:::-;11738:76;;11865:3;11854:9;11850:19;11837:33;-1:-1:-1;;;;;11885:6:1;11882:30;11879:50;;;11925:1;11922;11915:12;11879:50;11948:49;11989:7;11980:6;11969:9;11965:22;11948:49;:::i;:::-;11938:59;;;11205:798;;;;;;;;:::o;12367:380::-;12446:1;12442:12;;;;12489;;;12510:61;;12564:4;12556:6;12552:17;12542:27;;12510:61;12617:2;12609:6;12606:14;12586:18;12583:38;12580:161;;12663:10;12658:3;12654:20;12651:1;12644:31;12698:4;12695:1;12688:15;12726:4;12723:1;12716:15;12752:271;12935:6;12927;12922:3;12909:33;12891:3;12961:16;;12986:13;;;12961:16;12752:271;-1:-1:-1;12752:271:1:o;14605:266::-;14693:6;14688:3;14681:19;14745:6;14738:5;14731:4;14726:3;14722:14;14709:43;-1:-1:-1;14797:1:1;14772:16;;;14790:4;14768:27;;;14761:38;;;;14853:2;14832:15;;;-1:-1:-1;;14828:29:1;14819:39;;;14815:50;;14605:266::o;14876:667::-;15167:6;15155:19;;15137:38;;-1:-1:-1;;;;;15211:32:1;;15206:2;15191:18;;15184:60;15231:3;15275:2;15260:18;;15253:31;;;-1:-1:-1;;15307:45:1;;15332:19;;15324:6;15307:45;:::i;:::-;15402:6;15395:14;15388:22;15383:2;15372:9;15368:18;15361:50;15460:9;15452:6;15448:22;15442:3;15431:9;15427:19;15420:51;15488:49;15530:6;15522;15514;15488:49;:::i;:::-;15480:57;14876:667;-1:-1:-1;;;;;;;;;14876:667:1:o;15548:245::-;15627:6;15635;15688:2;15676:9;15667:7;15663:23;15659:32;15656:52;;;15704:1;15701;15694:12;15656:52;-1:-1:-1;;15727:16:1;;15783:2;15768:18;;;15762:25;15727:16;;15762:25;;-1:-1:-1;15548:245:1:o;15798:326::-;15993:6;15985;15981:19;15970:9;15963:38;16037:2;16032;16021:9;16017:18;16010:30;15944:4;16057:61;16114:2;16103:9;16099:18;16091:6;16083;16057:61;:::i;17444:127::-;17505:10;17500:3;17496:20;17493:1;17486:31;17536:4;17533:1;17526:15;17560:4;17557:1;17550:15;17576:151;17666:4;17659:12;;;17645;;;17641:31;;17684:14;;17681:40;;;17701:18;;:::i;17732:422::-;17821:1;17864:5;17821:1;17878:270;17899:7;17889:8;17886:21;17878:270;;;17958:4;17954:1;17950:6;17946:17;17940:4;17937:27;17934:53;;;17967:18;;:::i;:::-;18017:7;18007:8;18003:22;18000:55;;;18037:16;;;;18000:55;18116:22;;;;18076:15;;;;17878:270;;;17882:3;17732:422;;;;;:::o;18159:806::-;18208:5;18238:8;18228:80;;-1:-1:-1;18279:1:1;18293:5;;18228:80;18327:4;18317:76;;-1:-1:-1;18364:1:1;18378:5;;18317:76;18409:4;18427:1;18422:59;;;;18495:1;18490:130;;;;18402:218;;18422:59;18452:1;18443:10;;18466:5;;;18490:130;18527:3;18517:8;18514:17;18511:43;;;18534:18;;:::i;:::-;-1:-1:-1;;18590:1:1;18576:16;;18605:5;;18402:218;;18704:2;18694:8;18691:16;18685:3;18679:4;18676:13;18672:36;18666:2;18656:8;18653:16;18648:2;18642:4;18639:12;18635:35;18632:77;18629:159;;;-1:-1:-1;18741:19:1;;;18773:5;;18629:159;18820:34;18845:8;18839:4;18820:34;:::i;:::-;18890:6;18886:1;18882:6;18878:19;18869:7;18866:32;18863:58;;;18901:18;;:::i;:::-;18939:20;;18159:806;-1:-1:-1;;;18159:806:1:o;18970:140::-;19028:5;19057:47;19098:4;19088:8;19084:19;19078:4;19057:47;:::i;19880:128::-;19947:9;;;19968:11;;;19965:37;;;19982:18;;:::i;20013:184::-;20083:6;20136:2;20124:9;20115:7;20111:23;20107:32;20104:52;;;20152:1;20149;20142:12;20104:52;-1:-1:-1;20175:16:1;;20013:184;-1:-1:-1;20013:184:1:o;20202:360::-;20413:6;20405;20400:3;20387:33;20483:2;20479:15;;;;-1:-1:-1;;20475:53:1;20439:16;;20464:65;;;20553:2;20545:11;;20202:360;-1:-1:-1;20202:360:1:o;20692:544::-;20793:2;20788:3;20785:11;20782:448;;;20829:1;20854:5;20850:2;20843:17;20899:4;20895:2;20885:19;20969:2;20957:10;20953:19;20950:1;20946:27;20940:4;20936:38;21005:4;20993:10;20990:20;20987:47;;;-1:-1:-1;21028:4:1;20987:47;21083:2;21078:3;21074:12;21071:1;21067:20;21061:4;21057:31;21047:41;;21138:82;21156:2;21149:5;21146:13;21138:82;;;21201:17;;;21182:1;21171:13;21138:82;;21412:1348;21536:3;21530:10;-1:-1:-1;;;;;21555:6:1;21552:30;21549:56;;;21585:18;;:::i;:::-;21614:96;21703:6;21663:38;21695:4;21689:11;21663:38;:::i;:::-;21657:4;21614:96;:::i;:::-;21765:4;;21829:2;21818:14;;21846:1;21841:662;;;;22547:1;22564:6;22561:89;;;-1:-1:-1;22616:19:1;;;22610:26;22561:89;-1:-1:-1;;21369:1:1;21365:11;;;21361:24;21357:29;21347:40;21393:1;21389:11;;;21344:57;22663:81;;21811:943;;21841:662;20639:1;20632:14;;;20676:4;20663:18;;-1:-1:-1;;21877:20:1;;;21994:236;22008:7;22005:1;22002:14;21994:236;;;22097:19;;;22091:26;22076:42;;22189:27;;;;22157:1;22145:14;;;;22024:19;;21994:236;;;21998:3;22258:6;22249:7;22246:19;22243:201;;;22319:19;;;22313:26;-1:-1:-1;;22402:1:1;22398:14;;;22414:3;22394:24;22390:37;22386:42;22371:58;22356:74;;22243:201;-1:-1:-1;;;;;22490:1:1;22474:14;;;22470:22;22457:36;;-1:-1:-1;21412:1348:1:o;22765:498::-;22965:4;22994:6;23039:2;23031:6;23027:15;23016:9;23009:34;23091:2;23083:6;23079:15;23074:2;23063:9;23059:18;23052:43;;23131:6;23126:2;23115:9;23111:18;23104:34;23174:3;23169:2;23158:9;23154:18;23147:31;23195:62;23252:3;23241:9;23237:19;23229:6;23221;23195:62;:::i;24074:493::-;24323:6;24315;24311:19;24300:9;24293:38;24367:3;24362:2;24351:9;24347:18;24340:31;24274:4;24388:62;24445:3;24434:9;24430:19;24422:6;24414;24388:62;:::i;:::-;-1:-1:-1;;;;;24486:31:1;;;;24481:2;24466:18;;24459:59;-1:-1:-1;24549:2:1;24534:18;24527:34;24380:70;24074:493;-1:-1:-1;;;24074:493:1:o;24572:407::-;24774:2;24756:21;;;24813:2;24793:18;;;24786:30;24852:34;24847:2;24832:18;;24825:62;-1:-1:-1;;;24918:2:1;24903:18;;24896:41;24969:3;24954:19;;24572:407::o;26108:1202::-;-1:-1:-1;;;;;26225:3:1;26222:27;26219:53;;;26252:18;;:::i;:::-;26281:93;26370:3;26330:38;26362:4;26356:11;26330:38;:::i;:::-;26324:4;26281:93;:::i;:::-;26400:1;26425:2;26420:3;26417:11;26442:1;26437:615;;;;27096:1;27113:3;27110:93;;;-1:-1:-1;27169:19:1;;;27156:33;27110:93;-1:-1:-1;;21369:1:1;21365:11;;;21361:24;21357:29;21347:40;21393:1;21389:11;;;21344:57;27216:78;;26410:894;;26437:615;20639:1;20632:14;;;20676:4;20663:18;;-1:-1:-1;;26473:17:1;;;26573:9;26595:229;26609:7;26606:1;26603:14;26595:229;;;26698:19;;;26685:33;26670:49;;26805:4;26790:20;;;;26758:1;26746:14;;;;26625:12;26595:229;;;26599:3;26852;26843:7;26840:16;26837:159;;;26976:1;26972:6;26966:3;26960;26957:1;26953:11;26949:21;26945:34;26941:39;26928:9;26923:3;26919:19;26906:33;26902:79;26894:6;26887:95;26837:159;;;27039:1;27033:3;27030:1;27026:11;27022:19;27016:4;27009:33;26410:894;;26108:1202;;;:::o;28183:647::-;28262:6;28315:2;28303:9;28294:7;28290:23;28286:32;28283:52;;;28331:1;28328;28321:12;28283:52;28364:9;28358:16;-1:-1:-1;;;;;28389:6:1;28386:30;28383:50;;;28429:1;28426;28419:12;28383:50;28452:22;;28505:4;28497:13;;28493:27;-1:-1:-1;28483:55:1;;28534:1;28531;28524:12;28483:55;28563:2;28557:9;28588:48;28604:31;28632:2;28604:31;:::i;28588:48::-;28659:2;28652:5;28645:17;28699:7;28694:2;28689;28685;28681:11;28677:20;28674:33;28671:53;;;28720:1;28717;28710:12;28671:53;28733:67;28797:2;28792;28785:5;28781:14;28776:2;28772;28768:11;28733:67;:::i;:::-;28819:5;28183:647;-1:-1:-1;;;;;28183:647:1:o;28835:555::-;29092:6;29084;29080:19;29069:9;29062:38;29136:3;29131:2;29120:9;29116:18;29109:31;29043:4;29163:45;29203:3;29192:9;29188:19;29180:6;29163:45;:::i;:::-;-1:-1:-1;;;;;29248:6:1;29244:31;29239:2;29228:9;29224:18;29217:59;29324:9;29316:6;29312:22;29307:2;29296:9;29292:18;29285:50;29352:32;29377:6;29369;29352:32;:::i;29756:287::-;29885:3;29923:6;29917:13;29939:66;29998:6;29993:3;29986:4;29978:6;29974:17;29939:66;:::i;:::-;30021:16;;;;;29756:287;-1:-1:-1;;29756:287:1:o;30466:247::-;30534:6;30587:2;30575:9;30566:7;30562:23;30558:32;30555:52;;;30603:1;30600;30593:12;30555:52;30635:9;30629:16;30654:29;30677:5;30654:29;:::i;31131:784::-;31257:6;31265;31273;31281;31289;31297;31350:3;31338:9;31329:7;31325:23;31321:33;31318:53;;;31367:1;31364;31357:12;31318:53;31399:9;31393:16;31418:29;31441:5;31418:29;:::i;:::-;31516:2;31501:18;;31495:25;31466:5;;-1:-1:-1;31529:33:1;31495:25;31529:33;:::i;:::-;31633:2;31618:18;;31612:25;31581:7;;-1:-1:-1;31646:33:1;31612:25;31646:33;:::i;:::-;31698:7;31688:17;;;31745:2;31734:9;31730:18;31724:25;31714:35;;31789:3;31778:9;31774:19;31768:26;31758:36;;31839:3;31828:9;31824:19;31818:26;31853:30;31875:7;31853:30;:::i;:::-;31902:7;31892:17;;;31131:784;;;;;;;;:::o;33323:125::-;33388:9;;;33409:10;;;33406:36;;;33422:18;;:::i;34142:168::-;34215:9;;;34246;;34263:15;;;34257:22;;34243:37;34233:71;;34284:18;;:::i;36619:716::-;36922:6;36914;36910:19;36899:9;36892:38;36966:3;36961:2;36950:9;36946:18;36939:31;36873:4;36993:45;37033:3;37022:9;37018:19;37010:6;36993:45;:::i;:::-;-1:-1:-1;;;;;37078:6:1;37074:31;37069:2;37058:9;37054:18;37047:59;37154:9;37146:6;37142:22;37137:2;37126:9;37122:18;37115:50;37188:32;37213:6;37205;37188:32;:::i;:::-;37174:46;;37269:9;37261:6;37257:22;37251:3;37240:9;37236:19;37229:51;37297:32;37322:6;37314;37297:32;:::i;:::-;37289:40;36619:716;-1:-1:-1;;;;;;;;36619:716:1:o;37340:245::-;37407:6;37460:2;37448:9;37439:7;37435:23;37431:32;37428:52;;;37476:1;37473;37466:12;37428:52;37508:9;37502:16;37527:28;37549:5;37527:28;:::i;38001:217::-;38041:1;38067;38057:132;;38111:10;38106:3;38102:20;38099:1;38092:31;38146:4;38143:1;38136:15;38174:4;38171:1;38164:15;38057:132;-1:-1:-1;38203:9:1;;38001:217::o;39053:837::-;39402:6;39394;39390:19;39379:9;39372:38;39446:3;39441:2;39430:9;39426:18;39419:31;39353:4;39473:45;39513:3;39502:9;39498:19;39490:6;39473:45;:::i;:::-;39566:9;39558:6;39554:22;39549:2;39538:9;39534:18;39527:50;39600:32;39625:6;39617;39600:32;:::i;:::-;-1:-1:-1;;;;;39706:15:1;;;39701:2;39686:18;;39679:43;39759:15;;39753:3;39738:19;;39731:44;39812:22;;;39659:3;39791:19;;39784:51;39586:46;-1:-1:-1;39852:32:1;39586:46;39869:6;39852:32;:::i
Swarm Source
ipfs://6f0230cb796b7b7fd5f826d6b12f192993357af3026efbd7d735514d31dcf44d
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$2,169,862.92
Net Worth in ETH
941.312623
Token Allocations
USDT
50.62%
USDC
35.48%
USD₮0
9.48%
Others
4.42%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| AVAX | 38.89% | $0.999047 | 844,733.8851 | $843,928.65 | |
| AVAX | 0.14% | $0.999734 | 3,074.3913 | $3,073.57 | |
| AVAX | <0.01% | $76,773.5 | 0.00050706 | $38.93 | |
| AVAX | <0.01% | $10.09 | 0.0243 | $0.244975 | |
| ARB | 22.44% | $0.999617 | 487,079.0838 | $486,892.53 | |
| ARB | 9.48% | $0.999059 | 206,001.3342 | $205,807.49 | |
| ARB | 2.96% | $77,231 | 0.8322 | $64,268.4 | |
| ARB | 0.25% | $0.00 | 2,000,000 | $0.00 | |
| ARB | <0.01% | $30.16 | 0.1832 | $5.53 | |
| ARB | <0.01% | $2,305.15 | 0.00151539 | $3.49 | |
| OP | 12.90% | $0.999617 | 279,967.9529 | $279,860.73 | |
| OP | 11.73% | $0.999151 | 254,648.7812 | $254,432.58 | |
| OP | 1.20% | $77,037 | 0.3384 | $26,069.72 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.