Source Code
Overview
ETH Balance
0.025579430140543666 ETH
Eth Value
$47.32 (@ $1,850.06/ETH)Latest 25 from a total of 51 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Calculate Bias P... | 23938667 | 82 days ago | IN | 0 ETH | 0.00005784 | ||||
| Calculate Bias P... | 23888939 | 89 days ago | IN | 0 ETH | 0.00001562 | ||||
| Calculate Bias P... | 23288330 | 173 days ago | IN | 0 ETH | 0.00036225 | ||||
| Calculate Bias P... | 23137607 | 194 days ago | IN | 0 ETH | 0.00077754 | ||||
| Calculate Bias P... | 23137572 | 194 days ago | IN | 0 ETH | 0.00082529 | ||||
| Calculate Bias P... | 19931191 | 642 days ago | IN | 0 ETH | 0.00357055 | ||||
| Calculate Bias P... | 19931189 | 642 days ago | IN | 0 ETH | 0.00358507 | ||||
| Calculate Bias P... | 19880947 | 649 days ago | IN | 0 ETH | 0.00107361 | ||||
| Calculate Bias P... | 19880940 | 649 days ago | IN | 0 ETH | 0.00122633 | ||||
| Calculate Bias P... | 19831023 | 656 days ago | IN | 0 ETH | 0.00120747 | ||||
| Calculate Bias P... | 19831014 | 656 days ago | IN | 0 ETH | 0.00106971 | ||||
| Calculate Bias P... | 19780883 | 663 days ago | IN | 0 ETH | 0.0018075 | ||||
| Calculate Bias P... | 19780881 | 663 days ago | IN | 0 ETH | 0.0017245 | ||||
| Calculate Bias P... | 19730801 | 670 days ago | IN | 0 ETH | 0.00190926 | ||||
| Calculate Bias P... | 19730799 | 670 days ago | IN | 0 ETH | 0.00194396 | ||||
| Calculate Bias P... | 19680944 | 677 days ago | IN | 0 ETH | 0.00332064 | ||||
| Calculate Bias P... | 19680941 | 677 days ago | IN | 0 ETH | 0.00317209 | ||||
| Calculate Bias P... | 19680890 | 677 days ago | IN | 0 ETH | 0.00331536 | ||||
| Calculate Bias P... | 19680888 | 677 days ago | IN | 0 ETH | 0.00324973 | ||||
| Calculate Bias P... | 19531594 | 698 days ago | IN | 0 ETH | 0.00683504 | ||||
| Calculate Bias P... | 19531585 | 698 days ago | IN | 0 ETH | 0.0082315 | ||||
| Calculate Bias P... | 19482113 | 705 days ago | IN | 0 ETH | 0.00816911 | ||||
| Calculate Bias P... | 19482111 | 705 days ago | IN | 0 ETH | 0.00815466 | ||||
| Calculate Bias P... | 19432511 | 712 days ago | IN | 0 ETH | 0.01246689 | ||||
| Calculate Bias P... | 19432497 | 712 days ago | IN | 0 ETH | 0.01300926 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Send | 23288330 | 173 days ago | 0.00021256 ETH | ||||
| Send | 23137607 | 194 days ago | 0.00019639 ETH | ||||
| Send | 23137572 | 194 days ago | 0.00019639 ETH | ||||
| Send | 19931191 | 642 days ago | 0.0002632 ETH | ||||
| Send | 19931189 | 642 days ago | 0.0002632 ETH | ||||
| Send | 19880947 | 649 days ago | 0.00030473 ETH | ||||
| Send | 19880940 | 649 days ago | 0.00030473 ETH | ||||
| Send | 19831023 | 656 days ago | 0.00030736 ETH | ||||
| Send | 19831014 | 656 days ago | 0.00030736 ETH | ||||
| Send | 19780883 | 663 days ago | 0.00031539 ETH | ||||
| Send | 19780881 | 663 days ago | 0.00031539 ETH | ||||
| Send | 19730801 | 670 days ago | 0.00029506 ETH | ||||
| Send | 19730799 | 670 days ago | 0.00029506 ETH | ||||
| Send | 19680944 | 677 days ago | 0.00030674 ETH | ||||
| Send | 19680941 | 677 days ago | 0.00030674 ETH | ||||
| Send | 19680890 | 677 days ago | 0.00030674 ETH | ||||
| Send | 19680888 | 677 days ago | 0.00030674 ETH | ||||
| Send | 19531594 | 698 days ago | 0.00027369 ETH | ||||
| Send | 19531585 | 698 days ago | 0.00027369 ETH | ||||
| Send | 19482113 | 705 days ago | 0.00025738 ETH | ||||
| Send | 19482111 | 705 days ago | 0.00025738 ETH | ||||
| Send | 19432511 | 712 days ago | 0.00023312 ETH | ||||
| Send | 19432497 | 712 days ago | 0.00023312 ETH | ||||
| Send | 19382446 | 719 days ago | 0.00100737 ETH | ||||
| Send | 19382439 | 719 days ago | 0.00100737 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xe38a880B...07485385a The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
RootQuestProxy
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2023-11-23
*/
//SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.16;
// Sources flattened with hardhat v2.12.6 https://hardhat.org
// File @layerzerolabs/solidity-examples/contracts/interfaces/ILayerZeroUserApplicationConfig.sol@v0.0.10
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@v0.0.10
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@v0.0.10
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 @layerzerolabs/solidity-examples/contracts/util/BytesLib.sol@v0.0.10
/*
* @title Solidity Bytes Arrays Utils
* @author Gonçalo Sá <goncalo.sa@consensys.net>
*
* @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity.
* The library lets you concatenate, slice and type cast bytes arrays both in memory and storage.
*/
library BytesLib {
function concat(
bytes memory _preBytes,
bytes memory _postBytes
)
internal
pure
returns (bytes memory)
{
bytes memory tempBytes;
assembly {
// Get a location of some free memory and store it in tempBytes as
// Solidity does for memory variables.
tempBytes := mload(0x40)
// Store the length of the first bytes array at the beginning of
// the memory for tempBytes.
let length := mload(_preBytes)
mstore(tempBytes, length)
// Maintain a memory counter for the current write location in the
// temp bytes array by adding the 32 bytes for the array length to
// the starting location.
let mc := add(tempBytes, 0x20)
// Stop copying when the memory counter reaches the length of the
// first bytes array.
let end := add(mc, length)
for {
// Initialize a copy counter to the start of the _preBytes data,
// 32 bytes into its memory.
let cc := add(_preBytes, 0x20)
} lt(mc, end) {
// Increase both counters by 32 bytes each iteration.
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
// Write the _preBytes data into the tempBytes memory 32 bytes
// at a time.
mstore(mc, mload(cc))
}
// Add the length of _postBytes to the current length of tempBytes
// and store it as the new length in the first 32 bytes of the
// tempBytes memory.
length := mload(_postBytes)
mstore(tempBytes, add(length, mload(tempBytes)))
// Move the memory counter back from a multiple of 0x20 to the
// actual end of the _preBytes data.
mc := end
// Stop copying when the memory counter reaches the new combined
// length of the arrays.
end := add(mc, length)
for {
let cc := add(_postBytes, 0x20)
} lt(mc, end) {
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
mstore(mc, mload(cc))
}
// Update the free-memory pointer by padding our last write location
// to 32 bytes: add 31 bytes to the end of tempBytes to move to the
// next 32 byte block, then round down to the nearest multiple of
// 32. If the sum of the length of the two arrays is zero then add
// one before rounding down to leave a blank 32 bytes (the length block with 0).
mstore(0x40, and(
add(add(end, iszero(add(length, mload(_preBytes)))), 31),
not(31) // Round down to the nearest 32 bytes.
))
}
return tempBytes;
}
function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal {
assembly {
// Read the first 32 bytes of _preBytes storage, which is the length
// of the array. (We don't need to use the offset into the slot
// because arrays use the entire slot.)
let fslot := sload(_preBytes.slot)
// Arrays of 31 bytes or less have an even value in their slot,
// while longer arrays have an odd value. The actual length is
// the slot divided by two for odd values, and the lowest order
// byte divided by two for even values.
// If the slot is even, bitwise and the slot with 255 and divide by
// two to get the length. If the slot is odd, bitwise and the slot
// with -1 and divide by two.
let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
let mlength := mload(_postBytes)
let newlength := add(slength, mlength)
// slength can contain both the length and contents of the array
// if length < 32 bytes so let's prepare for that
// v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
switch add(lt(slength, 32), lt(newlength, 32))
case 2 {
// Since the new array still fits in the slot, we just need to
// update the contents of the slot.
// uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length
sstore(
_preBytes.slot,
// all the modifications to the slot are inside this
// next block
add(
// we can just add to the slot contents because the
// bytes we want to change are the LSBs
fslot,
add(
mul(
div(
// load the bytes from memory
mload(add(_postBytes, 0x20)),
// zero all bytes to the right
exp(0x100, sub(32, mlength))
),
// and now shift left the number of bytes to
// leave space for the length in the slot
exp(0x100, sub(32, newlength))
),
// increase length by the double of the memory
// bytes length
mul(mlength, 2)
)
)
)
}
case 1 {
// The stored value fits in the slot, but the combined value
// will exceed it.
// get the keccak hash to get the contents of the array
mstore(0x0, _preBytes.slot)
let sc := add(keccak256(0x0, 0x20), div(slength, 32))
// save new length
sstore(_preBytes.slot, add(mul(newlength, 2), 1))
// The contents of the _postBytes array start 32 bytes into
// the structure. Our first read should obtain the `submod`
// bytes that can fit into the unused space in the last word
// of the stored array. To get this, we read 32 bytes starting
// from `submod`, so the data we read overlaps with the array
// contents by `submod` bytes. Masking the lowest-order
// `submod` bytes allows us to add that value directly to the
// stored value.
let submod := sub(32, slength)
let mc := add(_postBytes, submod)
let end := add(_postBytes, mlength)
let mask := sub(exp(0x100, submod), 1)
sstore(
sc,
add(
and(
fslot,
0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00
),
and(mload(mc), mask)
)
)
for {
mc := add(mc, 0x20)
sc := add(sc, 1)
} lt(mc, end) {
sc := add(sc, 1)
mc := add(mc, 0x20)
} {
sstore(sc, mload(mc))
}
mask := exp(0x100, sub(mc, end))
sstore(sc, mul(div(mload(mc), mask), mask))
}
default {
// get the keccak hash to get the contents of the array
mstore(0x0, _preBytes.slot)
// Start copying to the last used word of the stored array.
let sc := add(keccak256(0x0, 0x20), div(slength, 32))
// save new length
sstore(_preBytes.slot, add(mul(newlength, 2), 1))
// Copy over the first `submod` bytes of the new data as in
// case 1 above.
let slengthmod := mod(slength, 32)
let mlengthmod := mod(mlength, 32)
let submod := sub(32, slengthmod)
let mc := add(_postBytes, submod)
let end := add(_postBytes, mlength)
let mask := sub(exp(0x100, submod), 1)
sstore(sc, add(sload(sc), and(mload(mc), mask)))
for {
sc := add(sc, 1)
mc := add(mc, 0x20)
} lt(mc, end) {
sc := add(sc, 1)
mc := add(mc, 0x20)
} {
sstore(sc, mload(mc))
}
mask := exp(0x100, sub(mc, end))
sstore(sc, mul(div(mload(mc), mask), mask))
}
}
}
function slice(
bytes memory _bytes,
uint256 _start,
uint256 _length
)
internal
pure
returns (bytes memory)
{
require(_length + 31 >= _length, "slice_overflow");
require(_bytes.length >= _start + _length, "slice_outOfBounds");
bytes memory tempBytes;
assembly {
switch iszero(_length)
case 0 {
// Get a location of some free memory and store it in tempBytes as
// Solidity does for memory variables.
tempBytes := mload(0x40)
// The first word of the slice result is potentially a partial
// word read from the original array. To read it, we calculate
// the length of that partial word and start copying that many
// bytes into the array. The first word we copy will start with
// data we don't care about, but the last `lengthmod` bytes will
// land at the beginning of the contents of the new array. When
// we're done copying, we overwrite the full first word with
// the actual length of the slice.
let lengthmod := and(_length, 31)
// The multiplication in the next line is necessary
// because when slicing multiples of 32 bytes (lengthmod == 0)
// the following copy loop was copying the origin's length
// and then ending prematurely not copying everything it should.
let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))
let end := add(mc, _length)
for {
// The multiplication in the next line has the same exact purpose
// as the one above.
let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)
} lt(mc, end) {
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
mstore(mc, mload(cc))
}
mstore(tempBytes, _length)
//update free-memory pointer
//allocating the array padded to 32 bytes like the compiler does now
mstore(0x40, and(add(mc, 31), not(31)))
}
//if we want a zero-length slice let's just return a zero-length array
default {
tempBytes := mload(0x40)
//zero out the 32 bytes slice we are about to return
//we need to do it because Solidity does not garbage collect
mstore(tempBytes, 0)
mstore(0x40, add(tempBytes, 0x20))
}
}
return tempBytes;
}
function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {
require(_bytes.length >= _start + 20, "toAddress_outOfBounds");
address tempAddress;
assembly {
tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)
}
return tempAddress;
}
function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) {
require(_bytes.length >= _start + 1 , "toUint8_outOfBounds");
uint8 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x1), _start))
}
return tempUint;
}
function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) {
require(_bytes.length >= _start + 2, "toUint16_outOfBounds");
uint16 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x2), _start))
}
return tempUint;
}
function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) {
require(_bytes.length >= _start + 4, "toUint32_outOfBounds");
uint32 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x4), _start))
}
return tempUint;
}
function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) {
require(_bytes.length >= _start + 8, "toUint64_outOfBounds");
uint64 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x8), _start))
}
return tempUint;
}
function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) {
require(_bytes.length >= _start + 12, "toUint96_outOfBounds");
uint96 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0xc), _start))
}
return tempUint;
}
function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) {
require(_bytes.length >= _start + 16, "toUint128_outOfBounds");
uint128 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x10), _start))
}
return tempUint;
}
function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) {
require(_bytes.length >= _start + 32, "toUint256_outOfBounds");
uint256 tempUint;
assembly {
tempUint := mload(add(add(_bytes, 0x20), _start))
}
return tempUint;
}
function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) {
require(_bytes.length >= _start + 32, "toBytes32_outOfBounds");
bytes32 tempBytes32;
assembly {
tempBytes32 := mload(add(add(_bytes, 0x20), _start))
}
return tempBytes32;
}
function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) {
bool success = true;
assembly {
let length := mload(_preBytes)
// if lengths don't match the arrays are not equal
switch eq(length, mload(_postBytes))
case 1 {
// cb is a circuit breaker in the for loop since there's
// no said feature for inline assembly loops
// cb = 1 - don't breaker
// cb = 0 - break
let cb := 1
let mc := add(_preBytes, 0x20)
let end := add(mc, length)
for {
let cc := add(_postBytes, 0x20)
// the next line is the loop condition:
// while(uint256(mc < end) + cb == 2)
} eq(add(lt(mc, end), cb), 2) {
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
// if any of these checks fails then arrays are not equal
if iszero(eq(mload(mc), mload(cc))) {
// unsuccess:
success := 0
cb := 0
}
}
}
default {
// unsuccess:
success := 0
}
}
return success;
}
function equalStorage(
bytes storage _preBytes,
bytes memory _postBytes
)
internal
view
returns (bool)
{
bool success = true;
assembly {
// we know _preBytes_offset is 0
let fslot := sload(_preBytes.slot)
// Decode the length of the stored array like in concatStorage().
let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2)
let mlength := mload(_postBytes)
// if lengths don't match the arrays are not equal
switch eq(slength, mlength)
case 1 {
// slength can contain both the length and contents of the array
// if length < 32 bytes so let's prepare for that
// v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
if iszero(iszero(slength)) {
switch lt(slength, 32)
case 1 {
// blank the last byte which is the length
fslot := mul(div(fslot, 0x100), 0x100)
if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) {
// unsuccess:
success := 0
}
}
default {
// cb is a circuit breaker in the for loop since there's
// no said feature for inline assembly loops
// cb = 1 - don't breaker
// cb = 0 - break
let cb := 1
// get the keccak hash to get the contents of the array
mstore(0x0, _preBytes.slot)
let sc := keccak256(0x0, 0x20)
let mc := add(_postBytes, 0x20)
let end := add(mc, mlength)
// the next line is the loop condition:
// while(uint256(mc < end) + cb == 2)
for {} eq(add(lt(mc, end), cb), 2) {
sc := add(sc, 1)
mc := add(mc, 0x20)
} {
if iszero(eq(sload(sc), mload(mc))) {
// unsuccess:
success := 0
cb := 0
}
}
}
}
}
default {
// unsuccess:
success := 0
}
}
return success;
}
}
// File @openzeppelin/contracts/utils/Context.sol@v4.9.0
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
* @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@v4.9.0
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// File @layerzerolabs/solidity-examples/contracts/lzApp/LzApp.sol@v0.0.10
/*
* 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/util/ExcessivelySafeCall.sol@v0.0.10
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/lzApp/NonblockingLzApp.sol@v0.0.10
/*
* 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 contracts/interfaces/IGaugeController.sol
/**
* @dev Interface made for the Curve's GaugeController contract
*/
interface IGaugeController {
struct VotedSlope {
uint slope;
uint power;
uint end;
}
struct Point {
uint bias;
uint slope;
}
function vote_user_slopes(address, address) external view returns(VotedSlope memory);
function last_user_vote(address, address) external view returns(uint);
function points_weight(address, uint256) external view returns(Point memory);
function checkpoint_gauge(address) external;
function gauge_types(address _addr) external view returns(int128);
}
// File contracts/libraries/Errors.sol
library Errors {
// Common Errors
error AddressZero();
error NullAmount();
error CallerNotAllowed();
error IncorrectRewardToken();
error SameAddress();
error InequalArraySizes();
error EmptyArray();
error EmptyParameters();
error AlreadyInitialized();
error InvalidParameter();
error CannotRecoverToken();
error ForbiddenCall();
error CannotBeOwner();
error CallerNotPendingOwner();
error Killed();
error AlreadyKilled();
error NotKilled();
error KillDelayExpired();
error KillDelayNotExpired();
// Merkle Errors
error MerkleRootNotUpdated();
error AlreadyClaimed();
error InvalidProof();
error EmptyMerkleRoot();
error IncorrectRewardAmount();
error MerkleRootFrozen();
error NotFrozen();
error AlreadyFrozen();
// Quest Errors
error CallerNotQuestBoard();
error IncorrectQuestID();
error IncorrectPeriod();
error TokenNotWhitelisted();
error QuestAlreadyListed();
error QuestNotListed();
error PeriodAlreadyUpdated();
error PeriodNotClosed();
error PeriodStillActive();
error PeriodNotListed();
error EmptyQuest();
error EmptyPeriod();
error ExpiredQuest();
error QuestNotStarted();
error NotInitialized();
error NoDistributorSet();
error DisitributorFail();
error InvalidGauge();
error InvalidQuestID();
error InvalidPeriod();
error ObjectiveTooLow();
error NewObjectiveTooLow();
error RewardPerVoteTooLow();
error MinValueOverMaxValue();
error IncorrectDuration();
error IncorrectAddDuration();
error IncorrectTotalRewardAmount();
error IncorrectAddedRewardAmount();
error IncorrectFeeAmount();
error InvalidQuestType();
error QuestTypesIncompatible();
error CalletNotQuestCreator();
error LowerRewardPerVote();
error LowerObjective();
error CreatorNotAllowed();
error AlreadyListed();
error NotListed();
error MaxListSize();
error BoardIsNotAllowedDistributor();
// Proxy
error InvalidChainID();
error InvalidCaller();
error PeriodBiasNotUpdated();
error GaugeAlreadyAdded();
//Math
error NumberExceed48Bits();
}
// File contracts/libraries/QuestDataTypes.sol
/** @title Data Types fo Quest Board V2 */
/// @author Paladin
library QuestDataTypes {
// Enums
/** @notice State of each Period for each Quest */
enum PeriodState { ZERO, ACTIVE, CLOSED, DISTRIBUTED }
// All Periods are ACTIVE at creation since the voters from past periods are also accounted for the future period
/** @notice Types of Vote logic for Quests */
enum QuestVoteType { NORMAL, BLACKLIST, WHITELIST }
// NORMAL: basic vote logic
// BLACKLIST: remove the blacklisted voters bias from the gauge biases
// WHITELIST: only sum up the whitelisted voters biases
/** @notice Types of Rewards logic for Quests */
enum QuestRewardsType { FIXED, RANGE }
// FIXED: reward per vote is fixed
// RANGE: reward per vote is a range between min and max, based on the Quest completion between min objective and max objective
/** @notice Types of logic for undistributed rewards when closing Quest periods */
enum QuestCloseType { NORMAL, ROLLOVER, DISTRIBUTE }
// NORMAL: undistributed rewards are avaialble to be withdrawn by the creator
// ROLLOVER: undistributed rewards are added to the next period, increasing the reward/vote parameter
// DISTRIBUTE: undistributed rewards are sent to the gauge for direct distribution
}
// File contracts/oz/utils/ReentrancyGuard.sol
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)
/**
* @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;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == _ENTERED;
}
}
// File contracts/multichain/modules/RootQuestProxy.sol
//██████╗ █████╗ ██╗ █████╗ ██████╗ ██╗███╗ ██╗
//██╔══██╗██╔══██╗██║ ██╔══██╗██╔══██╗██║████╗ ██║
//██████╔╝███████║██║ ███████║██║ ██║██║██╔██╗ ██║
//██╔═══╝ ██╔══██║██║ ██╔══██║██║ ██║██║██║╚██╗██║
//██║ ██║ ██║███████╗██║ ██║██████╔╝██║██║ ╚████║
//╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝╚═╝ ╚═══╝
/** @title Warden Quest Root Proxy */
/// @author Paladin
/*
Root Proxy on mainnet to calculate the adjusted bias for Quests
and send it to Child Proxies on sidechains
*/
contract RootQuestProxy is NonblockingLzApp, ReentrancyGuard {
// Storage
address public immutable GAUGE_CONTROLLER;
/** @notice Seconds in a Week */
uint256 private constant WEEK = 604800;
uint16 public targetChain;
bool public useZro;
bytes public adapterParams;
address public zroPaymentAddress;
/** @notice Mapping of voter list (blacklist or whitelist) for each Quest */
// ID => VoterList
mapping(uint256 => address[]) private questVoterList;
/** @notice Mapping of valid Quests */
mapping(uint256 => bool) public validQuests;
struct QuestParams {
address rootGauge;
QuestDataTypes.QuestVoteType voteType;
}
mapping(uint256 => QuestParams) public questParams;
// ID => period => adjusted bias
mapping(uint256 => mapping(uint256 => uint256)) public questAdjustedBiases;
/** @notice Mapping of addresses allowed to call manager methods */
mapping(address => bool) public approvedManagers;
// Events
event NewQuest(uint256 questID, uint16 indexed chaindId, address indexed rootGauge);
event BiasPeriodCalculated(uint256 indexed questID, uint256 indexed period, uint256 adjustedBias);
/** @notice Event emitted when a new manager is approved */
event ApprovedManager(address indexed manager);
/** @notice Event emitted when a manager is removed */
event RemovedManager(address indexed manager);
event DepositedFees(uint256 amount);
event UseZeroUpdated(bool newUseZero);
event AdapterParamsUpdated(bytes newAdapterParams);
event ZeroPaymentAddressUpdated(address indexed newZeroPaymentAddress);
// Modifier
/** @notice Check the caller is either the admin or an approved manager */
modifier onlyAllowed(){
if(!approvedManagers[msg.sender] && msg.sender != owner()) revert Errors.CallerNotAllowed();
_;
}
constructor(address _lzEndpoint, address _controller, uint16 _targetChain) NonblockingLzApp(_lzEndpoint) {
if(_controller == address(0)) revert Errors.AddressZero();
GAUGE_CONTROLLER= _controller;
targetChain = _targetChain;
}
/**
* @notice Returns the current Period for the contract
*/
function getCurrentPeriod() public view returns(uint256) {
return (block.timestamp / WEEK) * WEEK;
}
/**
* @notice Returns the voter list for a given Quest
* @param questID ID of the Quest
* @return address[] : vote list
*/
function getQuestVoterList(uint256 questID) external view returns(address[] memory){
return questVoterList[questID];
}
/**
* @notice Returns the current reduced bias for a given gauge (based on a Quest's voter list)
* @param questID ID of the Quest
* @param gauge address of the gauge
* @param questType Vote type of the Quest
* @return uint256 : current reduced bias
*/
function getCurrentReducedBias(
uint256 questID,
address gauge,
QuestDataTypes.QuestVoteType questType
) external view returns(uint256) {
uint256 nextPeriod = getCurrentPeriod() + WEEK;
return getReducedBias(nextPeriod, questID, gauge, questType);
}
/**
* @notice Returns the reduced bias for a given gauge for a given period (based on a Quest's voter list)
* @param period timestamp of the period
* @param questID ID of the Quest
* @param gauge address of the gauge
* @param questType Vote type of the Quest
* @return uint256 : current reduced bias
*/
function getReducedBias(
uint256 period,
uint256 questID,
address gauge, QuestDataTypes.QuestVoteType questType
) public view returns(uint256) {
address[] memory voterList = questVoterList[questID];
IGaugeController gaugeController = IGaugeController(GAUGE_CONTROLLER);
uint256 voterListSumBias;
uint256 voterListLength = voterList.length;
for(uint256 i; i < voterListLength;) {
voterListSumBias += _getVoterBias(gauge, voterList[i], period);
unchecked { i++; }
}
// For a WHITELIST type, simply return the sum of voters bias
if(questType == QuestDataTypes.QuestVoteType.WHITELIST) return voterListSumBias;
// Get the bias of the Gauge for the given period
uint256 periodAdjustedBias = gaugeController.points_weight(gauge, period).bias;
// If the Quest is a Blacklist, we need to remove the bias of the voters
if(questType == QuestDataTypes.QuestVoteType.BLACKLIST) {
periodAdjustedBias = voterListSumBias >= periodAdjustedBias ? 0 : periodAdjustedBias - voterListSumBias;
}
return periodAdjustedBias;
}
/**
* @notice Returns the bias for a given voter for a given gauge, at a given period
* @param gauge address of the gauge
* @param voter address of the voter
* @param period timestamp of the period
* @return userBias (uint256) : voter bias
*/
function _getVoterBias(address gauge, address voter, uint256 period) internal view returns(uint256 userBias) {
IGaugeController gaugeController = IGaugeController(GAUGE_CONTROLLER);
uint256 lastUserVote = gaugeController.last_user_vote(voter, gauge);
IGaugeController.VotedSlope memory voteUserSlope = gaugeController.vote_user_slopes(voter, gauge);
if(lastUserVote >= period) return 0;
if(voteUserSlope.end <= period) return 0;
if(voteUserSlope.slope == 0) return 0;
userBias = voteUserSlope.slope * (voteUserSlope.end - period);
}
function calculateBiasPeriod(uint256 period, uint256 questID) external nonReentrant onlyAllowed {
if(!validQuests[questID]) return;
if(period > getCurrentPeriod()) revert Errors.IncorrectPeriod();
QuestParams memory questParam = questParams[questID];
uint256 adjustedBias = getReducedBias(period, questID, questParam.rootGauge, questParam.voteType);
questAdjustedBiases[questID][period] = adjustedBias;
bytes memory lzPayload = abi.encode(
questID,
period,
adjustedBias
);
(uint256 msgFees,) = lzEndpoint.estimateFees(targetChain, address(this), lzPayload, useZro, adapterParams);
_lzSend(targetChain, lzPayload, payable(address(this)), zroPaymentAddress, adapterParams, msgFees);
emit BiasPeriodCalculated(questID, period, adjustedBias);
}
// Receive new Quest
function _nonblockingLzReceive(
uint16 _srcChainId,
bytes memory, /*_srcAddress*/
uint64, /*_nonce*/
bytes memory _payload
) internal virtual override nonReentrant {
(
uint256 questID,
address rootGauge,
QuestDataTypes.QuestVoteType voteType,
address[] memory voterList
) = abi.decode(_payload, (uint256, address, QuestDataTypes.QuestVoteType, address[]));
questParams[questID] = QuestParams({rootGauge: rootGauge, voteType: voteType});
questVoterList[questID] = voterList;
validQuests[questID] = true;
emit NewQuest(questID, _srcChainId, rootGauge);
}
/**
* @notice Approves a new address as manager
* @dev Approves a new address as manager
* @param newManager Address to add
*/
function approveManager(address newManager) external onlyOwner {
if(newManager == address(0)) revert Errors.AddressZero();
approvedManagers[newManager] = true;
emit ApprovedManager(newManager);
}
/**
* @notice Removes an address from the managers
* @dev Removes an address from the managers
* @param manager Address to remove
*/
function removeManager(address manager) external onlyOwner {
if(manager == address(0)) revert Errors.AddressZero();
approvedManagers[manager] = false;
emit RemovedManager(manager);
}
function depositFees() external payable nonReentrant onlyOwner {
uint256 amount = msg.value;
emit DepositedFees(amount);
}
function updateTargetChain(uint16 _targetChain) external onlyOwner {
targetChain = _targetChain;
}
function setUseZero(bool _useZro) external onlyOwner {
useZro = _useZro;
emit UseZeroUpdated(_useZro);
}
function setAdapterParams(bytes memory _adapterParams) external onlyOwner {
adapterParams = _adapterParams;
emit AdapterParamsUpdated(_adapterParams);
}
function setZeroPaymentAddress(address _paymentAddress) external onlyOwner {
zroPaymentAddress = _paymentAddress;
emit ZeroPaymentAddressUpdated(_paymentAddress);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_lzEndpoint","type":"address"},{"internalType":"address","name":"_controller","type":"address"},{"internalType":"uint16","name":"_targetChain","type":"uint16"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AddressZero","type":"error"},{"inputs":[],"name":"CallerNotAllowed","type":"error"},{"inputs":[],"name":"IncorrectPeriod","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes","name":"newAdapterParams","type":"bytes"}],"name":"AdapterParamsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"manager","type":"address"}],"name":"ApprovedManager","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"questID","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"period","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"adjustedBias","type":"uint256"}],"name":"BiasPeriodCalculated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DepositedFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"_payload","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"_reason","type":"bytes"}],"name":"MessageFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"questID","type":"uint256"},{"indexed":true,"internalType":"uint16","name":"chaindId","type":"uint16"},{"indexed":true,"internalType":"address","name":"rootGauge","type":"address"}],"name":"NewQuest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"manager","type":"address"}],"name":"RemovedManager","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes32","name":"_payloadHash","type":"bytes32"}],"name":"RetryMessageSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"_type","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_minDstGas","type":"uint256"}],"name":"SetMinDstGas","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"precrime","type":"address"}],"name":"SetPrecrime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_path","type":"bytes"}],"name":"SetTrustedRemote","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"SetTrustedRemoteAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"newUseZero","type":"bool"}],"name":"UseZeroUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newZeroPaymentAddress","type":"address"}],"name":"ZeroPaymentAddressUpdated","type":"event"},{"inputs":[],"name":"DEFAULT_PAYLOAD_SIZE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GAUGE_CONTROLLER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adapterParams","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newManager","type":"address"}],"name":"approveManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvedManagers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"period","type":"uint256"},{"internalType":"uint256","name":"questID","type":"uint256"}],"name":"calculateBiasPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositFees","outputs":[],"stateMutability":"payable","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":[],"name":"getCurrentPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"questID","type":"uint256"},{"internalType":"address","name":"gauge","type":"address"},{"internalType":"enum QuestDataTypes.QuestVoteType","name":"questType","type":"uint8"}],"name":"getCurrentReducedBias","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"questID","type":"uint256"}],"name":"getQuestVoterList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"period","type":"uint256"},{"internalType":"uint256","name":"questID","type":"uint256"},{"internalType":"address","name":"gauge","type":"address"},{"internalType":"enum QuestDataTypes.QuestVoteType","name":"questType","type":"uint8"}],"name":"getReducedBias","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"questAdjustedBiases","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"questParams","outputs":[{"internalType":"address","name":"rootGauge","type":"address"},{"internalType":"enum QuestDataTypes.QuestVoteType","name":"voteType","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"removeManager","outputs":[],"stateMutability":"nonpayable","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":"bytes","name":"_adapterParams","type":"bytes"}],"name":"setAdapterParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"},{"internalType":"bytes","name":"_config","type":"bytes"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint16","name":"_packetType","type":"uint16"},{"internalType":"uint256","name":"_minGas","type":"uint256"}],"name":"setMinDstGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"setPayloadSizeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_precrime","type":"address"}],"name":"setPrecrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setReceiveVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setSendVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_path","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"setTrustedRemoteAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_useZro","type":"bool"}],"name":"setUseZero","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_paymentAddress","type":"address"}],"name":"setZeroPaymentAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"targetChain","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[{"internalType":"uint16","name":"_targetChain","type":"uint16"}],"name":"updateTargetChain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"useZro","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"validQuests","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"zroPaymentAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
0x60c06040523480156200001157600080fd5b50604051620036c2380380620036c283398101604081905262000034916200010e565b82806200004133620000a1565b6001600160a01b039081166080526001600655831690506200007657604051639fabe1c160e01b815260040160405180910390fd5b6001600160a01b039190911660a0526007805461ffff191661ffff9092169190911790555062000162565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200010957600080fd5b919050565b6000806000606084860312156200012457600080fd5b6200012f84620000f1565b92506200013f60208501620000f1565b9150604084015161ffff811681146200015757600080fd5b809150509250925092565b60805160a0516134f4620001ce6000396000818161036301528181611c9401526123850152600081816107910152818161093f01528181610b8e01528181610ce301528181610ee7015281816113b6015281816116b401528181611bac01526122df01526134f46000f3fe60806040526004361061027c5760003560e01c80638da5cb5b1161014f578063baf3292d116100c1578063df2a5b3b1161007a578063df2a5b3b1461087c578063e241e4891461089c578063eb8d72b7146108bc578063f2fde38b146108dc578063f5ecbdbc146108fc578063ff1215361461091c57600080fd5b8063baf3292d146107d3578063c4461834146107f3578063cbed8b9c14610809578063d1deba1f14610829578063d37615291461083c578063d56b6a4a1461085c57600080fd5b8063a6c3d16511610113578063a6c3d165146106f2578063aa412da814610712578063abbda00a1461073f578063ac18de431461075f578063b353aaa71461077f578063b5eee722146107b357600080fd5b80638da5cb5b14610644578063906e655514610662578063950c8a74146106825780639f38369a146106a2578063a230c6ad146106c257600080fd5b80633f1f4fa4116101f357806366ad5c8a116101ac57806366ad5c8a146105695780636b32628b14610589578063715018a6146105a95780637533d788146105be5780638304e6d2146105de5780638cfd8f5c1461060c57600080fd5b80633f1f4fa41461041557806342d65a8d1461044257806347a40bec146104625780635b8c41e6146104b25780635d30ffa51461050157806363c0f1331461053957600080fd5b806310ddb1371161024557806310ddb1371461033157806322884e2c1461035157806326741e7d1461039d57806326e5a82f146103a5578063299fd6fc146103c55780633d8b38f6146103e557600080fd5b80621d35671461028157806307e0db17146102a3578063083118d5146102c3578063086146d2146102ee5780630df3748314610311575b600080fd5b34801561028d57600080fd5b506102a161029c366004612762565b61093c565b005b3480156102af57600080fd5b506102a16102be3660046127f5565b610b6d565b3480156102cf57600080fd5b506102d8610bf6565b6040516102e59190612860565b60405180910390f35b3480156102fa57600080fd5b50610303610c84565b6040519081526020016102e5565b34801561031d57600080fd5b506102a161032c366004612873565b610ca3565b34801561033d57600080fd5b506102a161034c3660046127f5565b610cc2565b34801561035d57600080fd5b506103857f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102e5565b6102a1610d1a565b3480156103b157600080fd5b506103036103c03660046128bf565b610d6c565b3480156103d157600080fd5b506102a16103e0366004612901565b610d9e565b3480156103f157600080fd5b50610405610400366004612923565b610dfc565b60405190151581526020016102e5565b34801561042157600080fd5b506103036104303660046127f5565b60036020526000908152604090205481565b34801561044e57600080fd5b506102a161045d366004612923565b610ec8565b34801561046e57600080fd5b506104a461047d366004612975565b600c602052600090815260409020546001600160a01b03811690600160a01b900460ff1682565b6040516102e59291906129a4565b3480156104be57600080fd5b506103036104cd366004612aa2565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561050d57600080fd5b5061030361051c366004612aff565b600d60209081526000928352604080842090915290825290205481565b34801561054557600080fd5b50610405610554366004612b21565b600e6020526000908152604090205460ff1681565b34801561057557600080fd5b506102a1610584366004612762565b610f4e565b34801561059557600080fd5b50600954610385906001600160a01b031681565b3480156105b557600080fd5b506102a161102a565b3480156105ca57600080fd5b506102d86105d93660046127f5565b61103c565b3480156105ea57600080fd5b506007546105f99061ffff1681565b60405161ffff90911681526020016102e5565b34801561061857600080fd5b50610303610627366004612b3e565b600260209081526000928352604080842090915290825290205481565b34801561065057600080fd5b506000546001600160a01b0316610385565b34801561066e57600080fd5b506007546104059062010000900460ff1681565b34801561068e57600080fd5b50600454610385906001600160a01b031681565b3480156106ae57600080fd5b506102d86106bd3660046127f5565b611055565b3480156106ce57600080fd5b506104056106dd366004612975565b600b6020526000908152604090205460ff1681565b3480156106fe57600080fd5b506102a161070d366004612923565b611164565b34801561071e57600080fd5b5061073261072d366004612975565b6111ed565b6040516102e59190612b71565b34801561074b57600080fd5b506102a161075a366004612aff565b611259565b34801561076b57600080fd5b506102a161077a366004612b21565b61154c565b34801561078b57600080fd5b506103857f000000000000000000000000000000000000000000000000000000000000000081565b3480156107bf57600080fd5b506102a16107ce366004612b21565b6115c4565b3480156107df57600080fd5b506102a16107ee366004612b21565b61163f565b3480156107ff57600080fd5b5061030361271081565b34801561081557600080fd5b506102a1610824366004612bbe565b611695565b6102a1610837366004612762565b61172a565b34801561084857600080fd5b506102a16108573660046127f5565b611940565b34801561086857600080fd5b506102a1610877366004612c2c565b611960565b34801561088857600080fd5b506102a1610897366004612c60565b6119a4565b3480156108a857600080fd5b506102a16108b7366004612b21565b611a56565b3480156108c857600080fd5b506102a16108d7366004612923565b611aa8565b3480156108e857600080fd5b506102a16108f7366004612b21565b611b02565b34801561090857600080fd5b506102d8610917366004612c9c565b611b7b565b34801561092857600080fd5b50610303610937366004612ce9565b611c2e565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146109b95760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546109d790612d33565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0390612d33565b8015610a505780601f10610a2557610100808354040283529160200191610a50565b820191906000526020600020905b815481529060010190602001808311610a3357829003601f168201915b50505050509050805186869050148015610a6b575060008151115b8015610a93575080516020820120604051610a899088908890612d6d565b6040518091039020145b610aee5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016109b0565b610b648787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ddd92505050565b50505050505050565b610b75611e56565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610bdb57600080fd5b505af1158015610bef573d6000803e3d6000fd5b5050505050565b60088054610c0390612d33565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2f90612d33565b8015610c7c5780601f10610c5157610100808354040283529160200191610c7c565b820191906000526020600020905b815481529060010190602001808311610c5f57829003601f168201915b505050505081565b600062093a80610c948142612d93565b610c9e9190612db5565b905090565b610cab611e56565b61ffff909116600090815260036020526040902055565b610cca611e56565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610bc1565b610d22611eb0565b610d2a611e56565b60405134808252907f8feec7ae0160043d251600d7e4fdfb6d6a434e000f71f54c36e61dac601a03509060200160405180910390a150610d6a6001600655565b565b60008062093a80610d7b610c84565b610d859190612dd4565b9050610d9381868686611c2e565b9150505b9392505050565b610da6611e56565b60078054821515620100000262ff0000199091161790556040517fc22a8ea88c11878d4bbc93fc8deeaae9120fa8540716f449ba01e0b79a1b020c90610df190831515815260200190565b60405180910390a150565b61ffff831660009081526001602052604081208054829190610e1d90612d33565b80601f0160208091040260200160405190810160405280929190818152602001828054610e4990612d33565b8015610e965780601f10610e6b57610100808354040283529160200191610e96565b820191906000526020600020905b815481529060010190602001808311610e7957829003601f168201915b505050505090508383604051610ead929190612d6d565b60405180910390208180519060200120149150509392505050565b610ed0611e56565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610f2090869086908690600401612e16565b600060405180830381600087803b158015610f3a57600080fd5b505af1158015610b64573d6000803e3d6000fd5b333014610fac5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016109b0565b6110228686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611f0992505050565b505050505050565b611032611e56565b610d6a6000612059565b60016020526000908152604090208054610c0390612d33565b61ffff811660009081526001602052604081208054606092919061107890612d33565b80601f01602080910402602001604051908101604052809291908181526020018280546110a490612d33565b80156110f15780601f106110c6576101008083540402835291602001916110f1565b820191906000526020600020905b8154815290600101906020018083116110d457829003601f168201915b5050505050905080516000036111495760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016109b0565b610d9760006014835161115c9190612e34565b8391906120a9565b61116c611e56565b81813060405160200161118193929190612e47565b60408051601f1981840301815291815261ffff85166000908152600160205220906111ac9082612eb3565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce8383836040516111e093929190612e16565b60405180910390a1505050565b6000818152600a602090815260409182902080548351818402810184019094528084526060939283018282801561124d57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161122f575b50505050509050919050565b611261611eb0565b336000908152600e602052604090205460ff1615801561128c57506000546001600160a01b03163314155b156112aa5760405163015783e960e51b815260040160405180910390fd5b6000818152600b602052604090205460ff161561153e576112c9610c84565b8211156112e857604051627af3d560e01b815260040160405180910390fd5b6000818152600c60209081526040808320815180830190925280546001600160a01b03811683529192909190830190600160a01b900460ff1660028111156113325761133261298e565b60028111156113435761134361298e565b815250509050600061135f848484600001518560200151611c2e565b6000848152600d6020908152604080832088845282528083208490558051918201879052818101889052606080830185905281518084039091018152608083019182905260075463040a7bb160e41b9092529394507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316916340a7bb10916114089161ffff8216913091889162010000900460ff1690600890608401612f72565b6040805180830381865afa158015611424573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114489190613030565b50600754600954600880549394506114fe9361ffff90931692869230926001600160a01b039091169161147a90612d33565b80601f01602080910402602001604051908101604052809291908181526020018280546114a690612d33565b80156114f35780601f106114c8576101008083540402835291602001916114f3565b820191906000526020600020905b8154815290600101906020018083116114d657829003601f168201915b5050505050866121b6565b85857f914bbd2d49b969790be31324475f34ca614d7794519c64c4b2891b580e4684418560405161153191815260200190565b60405180910390a3505050505b6115486001600655565b5050565b611554611e56565b6001600160a01b03811661157b57604051639fabe1c160e01b815260040160405180910390fd5b6001600160a01b0381166000818152600e6020526040808220805460ff19169055517f0153940c4f400a39a1ca7f4cd7e46be4b7d3793f6142184e505b8c4e1a8103789190a250565b6115cc611e56565b6001600160a01b0381166115f357604051639fabe1c160e01b815260040160405180910390fd5b6001600160a01b0381166000818152600e6020526040808220805460ff19166001179055517f8e6f8d1a4c834c03bc5c8f9dedff078a6fd2904f7a94b17df04efb916aaba72d9190a250565b611647611e56565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610df1565b61169d611e56565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906116f19088908890889088908890600401613054565b600060405180830381600087803b15801561170b57600080fd5b505af115801561171f573d6000803e3d6000fd5b505050505050505050565b61ffff8616600090815260056020526040808220905161174d9088908890612d6d565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806117cd5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016109b0565b8083836040516117de929190612d6d565b60405180910390201461183d5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016109b0565b61ffff871660009081526005602052604080822090516118609089908990612d6d565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f880182900482028301820190528682526118f8918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611f0992505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161192f959493929190613082565b60405180910390a150505050505050565b611948611e56565b6007805461ffff191661ffff92909216919091179055565b611968611e56565b60086119748282612eb3565b507f89eee6f0981b5afc30154f85e504f26bc7b53645844dcb29588946e5cf35d9f481604051610df19190612860565b6119ac611e56565b600081116119f45760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016109b0565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac0906060016111e0565b611a5e611e56565b600980546001600160a01b0319166001600160a01b0383169081179091556040517fa7bee2b81c8995421ba22c824cb2b9a80372d577f8220162fe395c089a2782ca90600090a250565b611ab0611e56565b61ffff83166000908152600160205260409020611ace8284836130bd565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab8383836040516111e093929190612e16565b611b0a611e56565b6001600160a01b038116611b6f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b0565b611b7881612059565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611bfb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c23919081019061317c565b90505b949350505050565b6000838152600a6020908152604080832080548251818502810185019093528083528493830182828015611c8b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611c6d575b505083519394507f0000000000000000000000000000000000000000000000000000000000000000936000935091508290505b81811015611cfe57611cea88868381518110611cdc57611cdc6131f2565b60200260200101518c61235b565b611cf49084612dd4565b9250600101611cbe565b506002866002811115611d1357611d1361298e565b03611d2357509250611c26915050565b60405163edba527360e01b81526001600160a01b038881166004830152602482018b90526000919085169063edba5273906044016040805180830381865afa158015611d73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d979190613208565b5190506001876002811115611dae57611dae61298e565b03611dd05780831015611dca57611dc58382612e34565b611dcd565b60005b90505b9998505050505050505050565b600080611e405a60966366ad5c8a60e01b89898989604051602401611e059493929190613256565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906124d5565b915091508161102257611022868686868561255f565b6000546001600160a01b03163314610d6a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109b0565b600260065403611f025760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109b0565b6002600655565b611f11611eb0565b60008060008084806020019051810190611f2b9190613294565b93509350935093506040518060400160405280846001600160a01b03168152602001836002811115611f5f57611f5f61298e565b90526000858152600c60209081526040909120825181546001600160a01b039091166001600160a01b031982168117835592840151919283916001600160a81b03191617600160a01b836002811115611fba57611fba61298e565b021790555050506000848152600a602090815260409091208251611fe092840190612672565b506000848152600b602052604090819020805460ff19166001179055516001600160a01b0384169061ffff8a16907f9b99279131ce4c2c28c9d4e67a94137889bd7bf94466d6abb6e81757fd6e2caf9061203d9088815260200190565b60405180910390a3505050506120536001600655565b50505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060816120b781601f612dd4565b10156120f65760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016109b0565b6121008284612dd4565b845110156121445760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016109b0565b60608215801561216357604051915060008252602082016040526121ad565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561219c578051835260209283019201612184565b5050858452601f01601f1916604052505b50949350505050565b61ffff8616600090815260016020526040812080546121d490612d33565b80601f016020809104026020016040519081016040528092919081815260200182805461220090612d33565b801561224d5780601f106122225761010080835404028352916020019161224d565b820191906000526020600020905b81548152906001019060200180831161223057829003601f168201915b5050505050905080516000036122be5760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016109b0565b6122c98787516125fc565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612320908b9086908c908c908c908c90600401613376565b6000604051808303818588803b15801561233957600080fd5b505af115801561234d573d6000803e3d6000fd5b505050505050505050505050565b6040516303f20c7d60e51b81526001600160a01b03838116600483015284811660248301526000917f000000000000000000000000000000000000000000000000000000000000000091839190831690637e418fa090604401602060405180830381865afa1580156123d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123f591906133d0565b6040516301e8cff360e31b81526001600160a01b0387811660048301528881166024830152919250600091841690630f467f9890604401606060405180830381865afa158015612449573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246d91906133e9565b90508482106124825760009350505050610d97565b848160400151116124995760009350505050610d97565b80516000036124ae5760009350505050610d97565b8481604001516124be9190612e34565b81516124ca9190612db5565b979650505050505050565b6000606060008060008661ffff166001600160401b038111156124fa576124fa6129df565b6040519080825280601f01601f191660200182016040528015612524576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612546578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff168152602001908152602001600020856040516125909190613444565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906125ed9087908790879087908790613460565b60405180910390a15050505050565b61ffff82166000908152600360205260408120549081900361261d57506127105b8082111561266d5760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016109b0565b505050565b8280548282559060005260206000209081019282156126c7579160200282015b828111156126c757825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612692565b506126d39291506126d7565b5090565b5b808211156126d357600081556001016126d8565b803561ffff811681146126fe57600080fd5b919050565b60008083601f84011261271557600080fd5b5081356001600160401b0381111561272c57600080fd5b60208301915083602082850101111561274457600080fd5b9250929050565b80356001600160401b03811681146126fe57600080fd5b6000806000806000806080878903121561277b57600080fd5b612784876126ec565b955060208701356001600160401b03808211156127a057600080fd5b6127ac8a838b01612703565b90975095508591506127c060408a0161274b565b945060608901359150808211156127d657600080fd5b506127e389828a01612703565b979a9699509497509295939492505050565b60006020828403121561280757600080fd5b610d97826126ec565b60005b8381101561282b578181015183820152602001612813565b50506000910152565b6000815180845261284c816020860160208601612810565b601f01601f19169290920160200192915050565b602081526000610d976020830184612834565b6000806040838503121561288657600080fd5b61288f836126ec565b946020939093013593505050565b6001600160a01b0381168114611b7857600080fd5b60038110611b7857600080fd5b6000806000606084860312156128d457600080fd5b8335925060208401356128e68161289d565b915060408401356128f6816128b2565b809150509250925092565b60006020828403121561291357600080fd5b81358015158114610d9757600080fd5b60008060006040848603121561293857600080fd5b612941846126ec565b925060208401356001600160401b0381111561295c57600080fd5b61296886828701612703565b9497909650939450505050565b60006020828403121561298757600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b038316815260408101600383106129d257634e487b7160e01b600052602160045260246000fd5b8260208301529392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612a1d57612a1d6129df565b604052919050565b60006001600160401b03821115612a3e57612a3e6129df565b50601f01601f191660200190565b600082601f830112612a5d57600080fd5b8135612a70612a6b82612a25565b6129f5565b818152846020838601011115612a8557600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612ab757600080fd5b612ac0846126ec565b925060208401356001600160401b03811115612adb57600080fd5b612ae786828701612a4c565b925050612af66040850161274b565b90509250925092565b60008060408385031215612b1257600080fd5b50508035926020909101359150565b600060208284031215612b3357600080fd5b8135610d978161289d565b60008060408385031215612b5157600080fd5b612b5a836126ec565b9150612b68602084016126ec565b90509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612bb25783516001600160a01b031683529284019291840191600101612b8d565b50909695505050505050565b600080600080600060808688031215612bd657600080fd5b612bdf866126ec565b9450612bed602087016126ec565b93506040860135925060608601356001600160401b03811115612c0f57600080fd5b612c1b88828901612703565b969995985093965092949392505050565b600060208284031215612c3e57600080fd5b81356001600160401b03811115612c5457600080fd5b611c2684828501612a4c565b600080600060608486031215612c7557600080fd5b612c7e846126ec565b9250612c8c602085016126ec565b9150604084013590509250925092565b60008060008060808587031215612cb257600080fd5b612cbb856126ec565b9350612cc9602086016126ec565b92506040850135612cd98161289d565b9396929550929360600135925050565b60008060008060808587031215612cff57600080fd5b84359350602085013592506040850135612d188161289d565b91506060850135612d28816128b2565b939692955090935050565b600181811c90821680612d4757607f821691505b602082108103612d6757634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b600082612db057634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612dcf57612dcf612d7d565b500290565b80820180821115612de757612de7612d7d565b92915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611c23604083018486612ded565b81810381811115612de757612de7612d7d565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f82111561266d57600081815260208120601f850160051c81016020861015612e945750805b601f850160051c820191505b8181101561102257828155600101612ea0565b81516001600160401b03811115612ecc57612ecc6129df565b612ee081612eda8454612d33565b84612e6d565b602080601f831160018114612f155760008415612efd5750858301515b600019600386901b1c1916600185901b178555611022565b600085815260208120601f198616915b82811015612f4457888601518255948401946001909101908401612f25565b5085821015612f625787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61ffff861681526000602060018060a01b0387168184015260a06040840152612f9e60a0840187612834565b8515156060850152838103608085015260008554612fbb81612d33565b80845260018281168015612fd65760018114612ff05761301e565b60ff1984168688015282151560051b86018701945061301e565b896000528660002060005b848110156130165781548882018a0152908301908801612ffb565b870188019550505b50929c9b505050505050505050505050565b6000806040838503121561304357600080fd5b505080516020909101519092909150565b600061ffff8088168352808716602084015250846040830152608060608301526124ca608083018486612ded565b61ffff861681526080602082015260006130a0608083018688612ded565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b038311156130d4576130d46129df565b6130e8836130e28354612d33565b83612e6d565b6000601f84116001811461311c57600085156131045750838201355b600019600387901b1c1916600186901b178355610bef565b600083815260209020601f19861690835b8281101561314d578685013582556020948501946001909201910161312d565b508682101561316a5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60006020828403121561318e57600080fd5b81516001600160401b038111156131a457600080fd5b8201601f810184136131b557600080fd5b80516131c3612a6b82612a25565b8181528560208385010111156131d857600080fd5b6131e9826020830160208601612810565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b60006040828403121561321a57600080fd5b604051604081018181106001600160401b038211171561323c5761323c6129df565b604052825181526020928301519281019290925250919050565b61ffff851681526080602082015260006132736080830186612834565b6001600160401b038516604084015282810360608401526124ca8185612834565b600080600080608085870312156132aa57600080fd5b845193506020808601516132bd8161289d565b60408701519094506132ce816128b2565b60608701519093506001600160401b03808211156132eb57600080fd5b818801915088601f8301126132ff57600080fd5b815181811115613311576133116129df565b8060051b91506133228483016129f5565b818152918301840191848101908b84111561333c57600080fd5b938501935b8385101561336657845192506133568361289d565b8282529385019390850190613341565b989b979a50959850505050505050565b61ffff8716815260c06020820152600061339360c0830188612834565b82810360408401526133a58188612834565b6001600160a01b0387811660608601528616608085015283810360a08501529050611dd08185612834565b6000602082840312156133e257600080fd5b5051919050565b6000606082840312156133fb57600080fd5b604051606081018181106001600160401b038211171561341d5761341d6129df565b80604052508251815260208301516020820152604083015160408201528091505092915050565b60008251613456818460208701612810565b9190910192915050565b61ffff8616815260a06020820152600061347d60a0830187612834565b6001600160401b0386166040840152828103606084015261349e8186612834565b905082810360808401526134b28185612834565b9897505050505050505056fea2646970667358221220c90f36a8ca71d441475015797d0933e9a352bde52c1842182a36634a89e6b49f64736f6c6343000810003300000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675000000000000000000000000c128468b7ce63ea702c1f104d55a2566b13d3abd000000000000000000000000000000000000000000000000000000000000006f
Deployed Bytecode
0x60806040526004361061027c5760003560e01c80638da5cb5b1161014f578063baf3292d116100c1578063df2a5b3b1161007a578063df2a5b3b1461087c578063e241e4891461089c578063eb8d72b7146108bc578063f2fde38b146108dc578063f5ecbdbc146108fc578063ff1215361461091c57600080fd5b8063baf3292d146107d3578063c4461834146107f3578063cbed8b9c14610809578063d1deba1f14610829578063d37615291461083c578063d56b6a4a1461085c57600080fd5b8063a6c3d16511610113578063a6c3d165146106f2578063aa412da814610712578063abbda00a1461073f578063ac18de431461075f578063b353aaa71461077f578063b5eee722146107b357600080fd5b80638da5cb5b14610644578063906e655514610662578063950c8a74146106825780639f38369a146106a2578063a230c6ad146106c257600080fd5b80633f1f4fa4116101f357806366ad5c8a116101ac57806366ad5c8a146105695780636b32628b14610589578063715018a6146105a95780637533d788146105be5780638304e6d2146105de5780638cfd8f5c1461060c57600080fd5b80633f1f4fa41461041557806342d65a8d1461044257806347a40bec146104625780635b8c41e6146104b25780635d30ffa51461050157806363c0f1331461053957600080fd5b806310ddb1371161024557806310ddb1371461033157806322884e2c1461035157806326741e7d1461039d57806326e5a82f146103a5578063299fd6fc146103c55780633d8b38f6146103e557600080fd5b80621d35671461028157806307e0db17146102a3578063083118d5146102c3578063086146d2146102ee5780630df3748314610311575b600080fd5b34801561028d57600080fd5b506102a161029c366004612762565b61093c565b005b3480156102af57600080fd5b506102a16102be3660046127f5565b610b6d565b3480156102cf57600080fd5b506102d8610bf6565b6040516102e59190612860565b60405180910390f35b3480156102fa57600080fd5b50610303610c84565b6040519081526020016102e5565b34801561031d57600080fd5b506102a161032c366004612873565b610ca3565b34801561033d57600080fd5b506102a161034c3660046127f5565b610cc2565b34801561035d57600080fd5b506103857f000000000000000000000000c128468b7ce63ea702c1f104d55a2566b13d3abd81565b6040516001600160a01b0390911681526020016102e5565b6102a1610d1a565b3480156103b157600080fd5b506103036103c03660046128bf565b610d6c565b3480156103d157600080fd5b506102a16103e0366004612901565b610d9e565b3480156103f157600080fd5b50610405610400366004612923565b610dfc565b60405190151581526020016102e5565b34801561042157600080fd5b506103036104303660046127f5565b60036020526000908152604090205481565b34801561044e57600080fd5b506102a161045d366004612923565b610ec8565b34801561046e57600080fd5b506104a461047d366004612975565b600c602052600090815260409020546001600160a01b03811690600160a01b900460ff1682565b6040516102e59291906129a4565b3480156104be57600080fd5b506103036104cd366004612aa2565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b34801561050d57600080fd5b5061030361051c366004612aff565b600d60209081526000928352604080842090915290825290205481565b34801561054557600080fd5b50610405610554366004612b21565b600e6020526000908152604090205460ff1681565b34801561057557600080fd5b506102a1610584366004612762565b610f4e565b34801561059557600080fd5b50600954610385906001600160a01b031681565b3480156105b557600080fd5b506102a161102a565b3480156105ca57600080fd5b506102d86105d93660046127f5565b61103c565b3480156105ea57600080fd5b506007546105f99061ffff1681565b60405161ffff90911681526020016102e5565b34801561061857600080fd5b50610303610627366004612b3e565b600260209081526000928352604080842090915290825290205481565b34801561065057600080fd5b506000546001600160a01b0316610385565b34801561066e57600080fd5b506007546104059062010000900460ff1681565b34801561068e57600080fd5b50600454610385906001600160a01b031681565b3480156106ae57600080fd5b506102d86106bd3660046127f5565b611055565b3480156106ce57600080fd5b506104056106dd366004612975565b600b6020526000908152604090205460ff1681565b3480156106fe57600080fd5b506102a161070d366004612923565b611164565b34801561071e57600080fd5b5061073261072d366004612975565b6111ed565b6040516102e59190612b71565b34801561074b57600080fd5b506102a161075a366004612aff565b611259565b34801561076b57600080fd5b506102a161077a366004612b21565b61154c565b34801561078b57600080fd5b506103857f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67581565b3480156107bf57600080fd5b506102a16107ce366004612b21565b6115c4565b3480156107df57600080fd5b506102a16107ee366004612b21565b61163f565b3480156107ff57600080fd5b5061030361271081565b34801561081557600080fd5b506102a1610824366004612bbe565b611695565b6102a1610837366004612762565b61172a565b34801561084857600080fd5b506102a16108573660046127f5565b611940565b34801561086857600080fd5b506102a1610877366004612c2c565b611960565b34801561088857600080fd5b506102a1610897366004612c60565b6119a4565b3480156108a857600080fd5b506102a16108b7366004612b21565b611a56565b3480156108c857600080fd5b506102a16108d7366004612923565b611aa8565b3480156108e857600080fd5b506102a16108f7366004612b21565b611b02565b34801561090857600080fd5b506102d8610917366004612c9c565b611b7b565b34801561092857600080fd5b50610303610937366004612ce9565b611c2e565b337f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316146109b95760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546109d790612d33565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0390612d33565b8015610a505780601f10610a2557610100808354040283529160200191610a50565b820191906000526020600020905b815481529060010190602001808311610a3357829003601f168201915b50505050509050805186869050148015610a6b575060008151115b8015610a93575080516020820120604051610a899088908890612d6d565b6040518091039020145b610aee5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016109b0565b610b648787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611ddd92505050565b50505050505050565b610b75611e56565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610bdb57600080fd5b505af1158015610bef573d6000803e3d6000fd5b5050505050565b60088054610c0390612d33565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2f90612d33565b8015610c7c5780601f10610c5157610100808354040283529160200191610c7c565b820191906000526020600020905b815481529060010190602001808311610c5f57829003601f168201915b505050505081565b600062093a80610c948142612d93565b610c9e9190612db5565b905090565b610cab611e56565b61ffff909116600090815260036020526040902055565b610cca611e56565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316906310ddb13790602401610bc1565b610d22611eb0565b610d2a611e56565b60405134808252907f8feec7ae0160043d251600d7e4fdfb6d6a434e000f71f54c36e61dac601a03509060200160405180910390a150610d6a6001600655565b565b60008062093a80610d7b610c84565b610d859190612dd4565b9050610d9381868686611c2e565b9150505b9392505050565b610da6611e56565b60078054821515620100000262ff0000199091161790556040517fc22a8ea88c11878d4bbc93fc8deeaae9120fa8540716f449ba01e0b79a1b020c90610df190831515815260200190565b60405180910390a150565b61ffff831660009081526001602052604081208054829190610e1d90612d33565b80601f0160208091040260200160405190810160405280929190818152602001828054610e4990612d33565b8015610e965780601f10610e6b57610100808354040283529160200191610e96565b820191906000526020600020905b815481529060010190602001808311610e7957829003601f168201915b505050505090508383604051610ead929190612d6d565b60405180910390208180519060200120149150509392505050565b610ed0611e56565b6040516342d65a8d60e01b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67516906342d65a8d90610f2090869086908690600401612e16565b600060405180830381600087803b158015610f3a57600080fd5b505af1158015610b64573d6000803e3d6000fd5b333014610fac5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016109b0565b6110228686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611f0992505050565b505050505050565b611032611e56565b610d6a6000612059565b60016020526000908152604090208054610c0390612d33565b61ffff811660009081526001602052604081208054606092919061107890612d33565b80601f01602080910402602001604051908101604052809291908181526020018280546110a490612d33565b80156110f15780601f106110c6576101008083540402835291602001916110f1565b820191906000526020600020905b8154815290600101906020018083116110d457829003601f168201915b5050505050905080516000036111495760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f726400000060448201526064016109b0565b610d9760006014835161115c9190612e34565b8391906120a9565b61116c611e56565b81813060405160200161118193929190612e47565b60408051601f1981840301815291815261ffff85166000908152600160205220906111ac9082612eb3565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce8383836040516111e093929190612e16565b60405180910390a1505050565b6000818152600a602090815260409182902080548351818402810184019094528084526060939283018282801561124d57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161122f575b50505050509050919050565b611261611eb0565b336000908152600e602052604090205460ff1615801561128c57506000546001600160a01b03163314155b156112aa5760405163015783e960e51b815260040160405180910390fd5b6000818152600b602052604090205460ff161561153e576112c9610c84565b8211156112e857604051627af3d560e01b815260040160405180910390fd5b6000818152600c60209081526040808320815180830190925280546001600160a01b03811683529192909190830190600160a01b900460ff1660028111156113325761133261298e565b60028111156113435761134361298e565b815250509050600061135f848484600001518560200151611c2e565b6000848152600d6020908152604080832088845282528083208490558051918201879052818101889052606080830185905281518084039091018152608083019182905260075463040a7bb160e41b9092529394507f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316916340a7bb10916114089161ffff8216913091889162010000900460ff1690600890608401612f72565b6040805180830381865afa158015611424573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114489190613030565b50600754600954600880549394506114fe9361ffff90931692869230926001600160a01b039091169161147a90612d33565b80601f01602080910402602001604051908101604052809291908181526020018280546114a690612d33565b80156114f35780601f106114c8576101008083540402835291602001916114f3565b820191906000526020600020905b8154815290600101906020018083116114d657829003601f168201915b5050505050866121b6565b85857f914bbd2d49b969790be31324475f34ca614d7794519c64c4b2891b580e4684418560405161153191815260200190565b60405180910390a3505050505b6115486001600655565b5050565b611554611e56565b6001600160a01b03811661157b57604051639fabe1c160e01b815260040160405180910390fd5b6001600160a01b0381166000818152600e6020526040808220805460ff19169055517f0153940c4f400a39a1ca7f4cd7e46be4b7d3793f6142184e505b8c4e1a8103789190a250565b6115cc611e56565b6001600160a01b0381166115f357604051639fabe1c160e01b815260040160405180910390fd5b6001600160a01b0381166000818152600e6020526040808220805460ff19166001179055517f8e6f8d1a4c834c03bc5c8f9dedff078a6fd2904f7a94b17df04efb916aaba72d9190a250565b611647611e56565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001610df1565b61169d611e56565b6040516332fb62e760e21b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675169063cbed8b9c906116f19088908890889088908890600401613054565b600060405180830381600087803b15801561170b57600080fd5b505af115801561171f573d6000803e3d6000fd5b505050505050505050565b61ffff8616600090815260056020526040808220905161174d9088908890612d6d565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806117cd5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016109b0565b8083836040516117de929190612d6d565b60405180910390201461183d5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016109b0565b61ffff871660009081526005602052604080822090516118609089908990612d6d565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f880182900482028301820190528682526118f8918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611f0992505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161192f959493929190613082565b60405180910390a150505050505050565b611948611e56565b6007805461ffff191661ffff92909216919091179055565b611968611e56565b60086119748282612eb3565b507f89eee6f0981b5afc30154f85e504f26bc7b53645844dcb29588946e5cf35d9f481604051610df19190612860565b6119ac611e56565b600081116119f45760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b60448201526064016109b0565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac0906060016111e0565b611a5e611e56565b600980546001600160a01b0319166001600160a01b0383169081179091556040517fa7bee2b81c8995421ba22c824cb2b9a80372d577f8220162fe395c089a2782ca90600090a250565b611ab0611e56565b61ffff83166000908152600160205260409020611ace8284836130bd565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab8383836040516111e093929190612e16565b611b0a611e56565b6001600160a01b038116611b6f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b0565b611b7881612059565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611bfb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c23919081019061317c565b90505b949350505050565b6000838152600a6020908152604080832080548251818502810185019093528083528493830182828015611c8b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611c6d575b505083519394507f000000000000000000000000c128468b7ce63ea702c1f104d55a2566b13d3abd936000935091508290505b81811015611cfe57611cea88868381518110611cdc57611cdc6131f2565b60200260200101518c61235b565b611cf49084612dd4565b9250600101611cbe565b506002866002811115611d1357611d1361298e565b03611d2357509250611c26915050565b60405163edba527360e01b81526001600160a01b038881166004830152602482018b90526000919085169063edba5273906044016040805180830381865afa158015611d73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d979190613208565b5190506001876002811115611dae57611dae61298e565b03611dd05780831015611dca57611dc58382612e34565b611dcd565b60005b90505b9998505050505050505050565b600080611e405a60966366ad5c8a60e01b89898989604051602401611e059493929190613256565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152309291906124d5565b915091508161102257611022868686868561255f565b6000546001600160a01b03163314610d6a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109b0565b600260065403611f025760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109b0565b6002600655565b611f11611eb0565b60008060008084806020019051810190611f2b9190613294565b93509350935093506040518060400160405280846001600160a01b03168152602001836002811115611f5f57611f5f61298e565b90526000858152600c60209081526040909120825181546001600160a01b039091166001600160a01b031982168117835592840151919283916001600160a81b03191617600160a01b836002811115611fba57611fba61298e565b021790555050506000848152600a602090815260409091208251611fe092840190612672565b506000848152600b602052604090819020805460ff19166001179055516001600160a01b0384169061ffff8a16907f9b99279131ce4c2c28c9d4e67a94137889bd7bf94466d6abb6e81757fd6e2caf9061203d9088815260200190565b60405180910390a3505050506120536001600655565b50505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060816120b781601f612dd4565b10156120f65760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016109b0565b6121008284612dd4565b845110156121445760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016109b0565b60608215801561216357604051915060008252602082016040526121ad565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561219c578051835260209283019201612184565b5050858452601f01601f1916604052505b50949350505050565b61ffff8616600090815260016020526040812080546121d490612d33565b80601f016020809104026020016040519081016040528092919081815260200182805461220090612d33565b801561224d5780601f106122225761010080835404028352916020019161224d565b820191906000526020600020905b81548152906001019060200180831161223057829003601f168201915b5050505050905080516000036122be5760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016109b0565b6122c98787516125fc565b60405162c5803160e81b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675169063c5803100908490612320908b9086908c908c908c908c90600401613376565b6000604051808303818588803b15801561233957600080fd5b505af115801561234d573d6000803e3d6000fd5b505050505050505050505050565b6040516303f20c7d60e51b81526001600160a01b03838116600483015284811660248301526000917f000000000000000000000000c128468b7ce63ea702c1f104d55a2566b13d3abd91839190831690637e418fa090604401602060405180830381865afa1580156123d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123f591906133d0565b6040516301e8cff360e31b81526001600160a01b0387811660048301528881166024830152919250600091841690630f467f9890604401606060405180830381865afa158015612449573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246d91906133e9565b90508482106124825760009350505050610d97565b848160400151116124995760009350505050610d97565b80516000036124ae5760009350505050610d97565b8481604001516124be9190612e34565b81516124ca9190612db5565b979650505050505050565b6000606060008060008661ffff166001600160401b038111156124fa576124fa6129df565b6040519080825280601f01601f191660200182016040528015612524576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612546578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff168152602001908152602001600020856040516125909190613444565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906125ed9087908790879087908790613460565b60405180910390a15050505050565b61ffff82166000908152600360205260408120549081900361261d57506127105b8082111561266d5760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c6172676560448201526064016109b0565b505050565b8280548282559060005260206000209081019282156126c7579160200282015b828111156126c757825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612692565b506126d39291506126d7565b5090565b5b808211156126d357600081556001016126d8565b803561ffff811681146126fe57600080fd5b919050565b60008083601f84011261271557600080fd5b5081356001600160401b0381111561272c57600080fd5b60208301915083602082850101111561274457600080fd5b9250929050565b80356001600160401b03811681146126fe57600080fd5b6000806000806000806080878903121561277b57600080fd5b612784876126ec565b955060208701356001600160401b03808211156127a057600080fd5b6127ac8a838b01612703565b90975095508591506127c060408a0161274b565b945060608901359150808211156127d657600080fd5b506127e389828a01612703565b979a9699509497509295939492505050565b60006020828403121561280757600080fd5b610d97826126ec565b60005b8381101561282b578181015183820152602001612813565b50506000910152565b6000815180845261284c816020860160208601612810565b601f01601f19169290920160200192915050565b602081526000610d976020830184612834565b6000806040838503121561288657600080fd5b61288f836126ec565b946020939093013593505050565b6001600160a01b0381168114611b7857600080fd5b60038110611b7857600080fd5b6000806000606084860312156128d457600080fd5b8335925060208401356128e68161289d565b915060408401356128f6816128b2565b809150509250925092565b60006020828403121561291357600080fd5b81358015158114610d9757600080fd5b60008060006040848603121561293857600080fd5b612941846126ec565b925060208401356001600160401b0381111561295c57600080fd5b61296886828701612703565b9497909650939450505050565b60006020828403121561298757600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b038316815260408101600383106129d257634e487b7160e01b600052602160045260246000fd5b8260208301529392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612a1d57612a1d6129df565b604052919050565b60006001600160401b03821115612a3e57612a3e6129df565b50601f01601f191660200190565b600082601f830112612a5d57600080fd5b8135612a70612a6b82612a25565b6129f5565b818152846020838601011115612a8557600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612ab757600080fd5b612ac0846126ec565b925060208401356001600160401b03811115612adb57600080fd5b612ae786828701612a4c565b925050612af66040850161274b565b90509250925092565b60008060408385031215612b1257600080fd5b50508035926020909101359150565b600060208284031215612b3357600080fd5b8135610d978161289d565b60008060408385031215612b5157600080fd5b612b5a836126ec565b9150612b68602084016126ec565b90509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612bb25783516001600160a01b031683529284019291840191600101612b8d565b50909695505050505050565b600080600080600060808688031215612bd657600080fd5b612bdf866126ec565b9450612bed602087016126ec565b93506040860135925060608601356001600160401b03811115612c0f57600080fd5b612c1b88828901612703565b969995985093965092949392505050565b600060208284031215612c3e57600080fd5b81356001600160401b03811115612c5457600080fd5b611c2684828501612a4c565b600080600060608486031215612c7557600080fd5b612c7e846126ec565b9250612c8c602085016126ec565b9150604084013590509250925092565b60008060008060808587031215612cb257600080fd5b612cbb856126ec565b9350612cc9602086016126ec565b92506040850135612cd98161289d565b9396929550929360600135925050565b60008060008060808587031215612cff57600080fd5b84359350602085013592506040850135612d188161289d565b91506060850135612d28816128b2565b939692955090935050565b600181811c90821680612d4757607f821691505b602082108103612d6757634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b600082612db057634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612dcf57612dcf612d7d565b500290565b80820180821115612de757612de7612d7d565b92915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611c23604083018486612ded565b81810381811115612de757612de7612d7d565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b601f82111561266d57600081815260208120601f850160051c81016020861015612e945750805b601f850160051c820191505b8181101561102257828155600101612ea0565b81516001600160401b03811115612ecc57612ecc6129df565b612ee081612eda8454612d33565b84612e6d565b602080601f831160018114612f155760008415612efd5750858301515b600019600386901b1c1916600185901b178555611022565b600085815260208120601f198616915b82811015612f4457888601518255948401946001909101908401612f25565b5085821015612f625787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61ffff861681526000602060018060a01b0387168184015260a06040840152612f9e60a0840187612834565b8515156060850152838103608085015260008554612fbb81612d33565b80845260018281168015612fd65760018114612ff05761301e565b60ff1984168688015282151560051b86018701945061301e565b896000528660002060005b848110156130165781548882018a0152908301908801612ffb565b870188019550505b50929c9b505050505050505050505050565b6000806040838503121561304357600080fd5b505080516020909101519092909150565b600061ffff8088168352808716602084015250846040830152608060608301526124ca608083018486612ded565b61ffff861681526080602082015260006130a0608083018688612ded565b6001600160401b0394909416604083015250606001529392505050565b6001600160401b038311156130d4576130d46129df565b6130e8836130e28354612d33565b83612e6d565b6000601f84116001811461311c57600085156131045750838201355b600019600387901b1c1916600186901b178355610bef565b600083815260209020601f19861690835b8281101561314d578685013582556020948501946001909201910161312d565b508682101561316a5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60006020828403121561318e57600080fd5b81516001600160401b038111156131a457600080fd5b8201601f810184136131b557600080fd5b80516131c3612a6b82612a25565b8181528560208385010111156131d857600080fd5b6131e9826020830160208601612810565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b60006040828403121561321a57600080fd5b604051604081018181106001600160401b038211171561323c5761323c6129df565b604052825181526020928301519281019290925250919050565b61ffff851681526080602082015260006132736080830186612834565b6001600160401b038516604084015282810360608401526124ca8185612834565b600080600080608085870312156132aa57600080fd5b845193506020808601516132bd8161289d565b60408701519094506132ce816128b2565b60608701519093506001600160401b03808211156132eb57600080fd5b818801915088601f8301126132ff57600080fd5b815181811115613311576133116129df565b8060051b91506133228483016129f5565b818152918301840191848101908b84111561333c57600080fd5b938501935b8385101561336657845192506133568361289d565b8282529385019390850190613341565b989b979a50959850505050505050565b61ffff8716815260c06020820152600061339360c0830188612834565b82810360408401526133a58188612834565b6001600160a01b0387811660608601528616608085015283810360a08501529050611dd08185612834565b6000602082840312156133e257600080fd5b5051919050565b6000606082840312156133fb57600080fd5b604051606081018181106001600160401b038211171561341d5761341d6129df565b80604052508251815260208301516020820152604083015160408201528091505092915050565b60008251613456818460208701612810565b9190910192915050565b61ffff8616815260a06020820152600061347d60a0830187612834565b6001600160401b0386166040840152828103606084015261349e8186612834565b905082810360808401526134b28185612834565b9897505050505050505056fea2646970667358221220c90f36a8ca71d441475015797d0933e9a352bde52c1842182a36634a89e6b49f64736f6c63430008100033
Deployed Bytecode Sourcemap
54749:9006:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31569:762;;;;;;;;;;-1:-1:-1;31569:762:0;;;;;:::i;:::-;;:::i;:::-;;34867:123;;;;;;;;;;-1:-1:-1;34867:123:0;;;;;:::i;:::-;;:::i;55035:26::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57059:114;;;;;;;;;;;;;:::i;:::-;;;2660:25:1;;;2648:2;2633:18;57059:114:0;2514:177:1;36783:142:0;;;;;;;;;;-1:-1:-1;36783:142:0;;;;;:::i;:::-;;:::i;34998:129::-;;;;;;;;;;-1:-1:-1;34998:129:0;;;;;:::i;:::-;;:::i;54837:41::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3117:32:1;;;3099:51;;3087:2;3072:18;54837:41:0;2953:203:1;62970:147:0;;;:::i;57756:306::-;;;;;;;;;;-1:-1:-1;57756:306:0;;;;;:::i;:::-;;:::i;63245:127::-;;;;;;;;;;-1:-1:-1;63245:127:0;;;;;:::i;:::-;;:::i;37023:250::-;;;;;;;;;;-1:-1:-1;37023:250:0;;;;;:::i;:::-;;:::i;:::-;;;4833:14:1;;4826:22;4808:41;;4796:2;4781:18;37023:250:0;4668:187:1;31111:53:0;;;;;;;;;;-1:-1:-1;31111:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;35135:178;;;;;;;;;;-1:-1:-1;35135:178:0;;;;;:::i;:::-;;:::i;55481:50::-;;;;;;;;;;-1:-1:-1;55481:50:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;55481:50:0;;;-1:-1:-1;;;55481:50:0;;;;;;;;;;;;;;:::i;43439:85::-;;;;;;;;;;-1:-1:-1;43439:85:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55578:74;;;;;;;;;;-1:-1:-1;55578:74:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;55734:48;;;;;;;;;;-1:-1:-1;55734:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;44661:346;;;;;;;;;;-1:-1:-1;44661:346:0;;;;;:::i;:::-;;:::i;55068:32::-;;;;;;;;;;-1:-1:-1;55068:32:0;;;;-1:-1:-1;;;;;55068:32:0;;;29691:103;;;;;;;;;;;;;:::i;30981:51::-;;;;;;;;;;-1:-1:-1;30981:51:0;;;;;:::i;:::-;;:::i;54972:25::-;;;;;;;;;;-1:-1:-1;54972:25:0;;;;;;;;;;;8025:6:1;8013:19;;;7995:38;;7983:2;7968:18;54972:25:0;7851:188:1;31039:65:0;;;;;;;;;;-1:-1:-1;31039:65:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;29050:87;;;;;;;;;;-1:-1:-1;29096:7:0;29123:6;-1:-1:-1;;;;;29123:6:0;29050:87;;55010:18;;;;;;;;;;-1:-1:-1;55010:18:0;;;;;;;;;;;31171:23;;;;;;;;;;-1:-1:-1;31171:23:0;;;;-1:-1:-1;;;;;31171:23:0;;;35955:330;;;;;;;;;;-1:-1:-1;35955:330:0;;;;;:::i;:::-;;:::i;55318:43::-;;;;;;;;;;-1:-1:-1;55318:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;35666:281;;;;;;;;;;-1:-1:-1;35666:281:0;;;;;:::i;:::-;;:::i;57329:132::-;;;;;;;;;;-1:-1:-1;57329:132:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;60556:886::-;;;;;;;;;;-1:-1:-1;60556:886:0;;;;;:::i;:::-;;:::i;62746:216::-;;;;;;;;;;-1:-1:-1;62746:216:0;;;;;:::i;:::-;;:::i;30928:46::-;;;;;;;;;;;;;;;62348:229;;;;;;;;;;-1:-1:-1;62348:229:0;;;;;:::i;:::-;;:::i;36293:136::-;;;;;;;;;;-1:-1:-1;36293:136:0;;;;;:::i;:::-;;:::i;30864:55::-;;;;;;;;;;;;30914:5;30864:55;;34655:204;;;;;;;;;;-1:-1:-1;34655:204:0;;;;;:::i;:::-;;:::i;45193:767::-;;;;;;:::i;:::-;;:::i;63125:112::-;;;;;;;;;;-1:-1:-1;63125:112:0;;;;;:::i;:::-;;:::i;63380:175::-;;;;;;;;;;-1:-1:-1;63380:175:0;;;;;:::i;:::-;;:::i;36437:284::-;;;;;;;;;;-1:-1:-1;36437:284:0;;;;;:::i;:::-;;:::i;63563:187::-;;;;;;;;;;-1:-1:-1;63563:187:0;;;;;:::i;:::-;;:::i;35460:198::-;;;;;;;;;;-1:-1:-1;35460:198:0;;;;;:::i;:::-;;:::i;29949:201::-;;;;;;;;;;-1:-1:-1;29949:201:0;;;;;:::i;:::-;;:::i;34382:211::-;;;;;;;;;;-1:-1:-1;34382:211:0;;;;;:::i;:::-;;:::i;58413:1245::-;;;;;;;;;;-1:-1:-1;58413:1245:0;;;;;:::i;:::-;;:::i;31569:762::-;27704:10;31809;-1:-1:-1;;;;;31785:35:0;;31777:78;;;;-1:-1:-1;;;31777:78:0;;11709:2:1;31777:78:0;;;11691:21:1;11748:2;11728:18;;;11721:30;11787:32;11767:18;;;11760:60;11837:18;;31777:78:0;;;;;;;;;31897:32;;;31868:26;31897:32;;;:19;:32;;;;;31868:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32103:13;:20;32081:11;;:18;;:42;:70;;;;;32150:1;32127:13;:20;:24;32081:70;:124;;;;-1:-1:-1;32181:24:0;;;;;;32155:22;;;;32165:11;;;;32155:22;:::i;:::-;;;;;;;;:50;32081:124;32073:175;;;;-1:-1:-1;;;32073:175:0;;12729:2:1;32073:175:0;;;12711:21:1;12768:2;12748:18;;;12741:30;12807:34;12787:18;;;12780:62;-1:-1:-1;;;12858:18:1;;;12851:36;12904:19;;32073:175:0;12527:402:1;32073:175:0;32261:62;32280:11;32293;;32261:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;32261:62:0;;;;;;;;;;;;;;;;;;;;;;32306:6;;-1:-1:-1;32261:62:0;-1:-1:-1;32314:8:0;;;;;;32261:62;;32314:8;;;;32261:62;;;;;;;;;-1:-1:-1;32261:18:0;;-1:-1:-1;;;32261:62:0:i;:::-;31700:631;31569:762;;;;;;:::o;34867:123::-;28936:13;:11;:13::i;:::-;34947:35:::1;::::0;-1:-1:-1;;;34947:35:0;;8025:6:1;8013:19;;34947:35:0::1;::::0;::::1;7995:38:1::0;34947:10:0::1;-1:-1:-1::0;;;;;34947:25:0::1;::::0;::::1;::::0;7968:18:1;;34947:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;34867:123:::0;:::o;55035:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;57059:114::-;57107:7;54957:6;57135:22;54957:6;57135:15;:22;:::i;:::-;57134:31;;;;:::i;:::-;57127:38;;57059:114;:::o;36783:142::-;28936:13;:11;:13::i;:::-;36874:35:::1;::::0;;::::1;;::::0;;;:22:::1;:35;::::0;;;;:43;36783:142::o;34998:129::-;28936:13;:11;:13::i;:::-;35081:38:::1;::::0;-1:-1:-1;;;35081:38:0;;8025:6:1;8013:19;;35081:38:0::1;::::0;::::1;7995::1::0;35081:10:0::1;-1:-1:-1::0;;;;;35081:28:0::1;::::0;::::1;::::0;7968:18:1;;35081:38:0::1;7851:188:1::0;62970:147:0;52741:21;:19;:21::i;:::-;28936:13:::1;:11;:13::i;:::-;63088:21:::2;::::0;63061:9:::2;2660:25:1::0;;;63061:9:0;63088:21:::2;::::0;2648:2:1;2633:18;63088:21:0::2;;;;;;;63033:84;52785:20:::0;52179:1;53305:7;:22;53122:213;52785:20;62970:147::o;57756:306::-;57915:7;57935:18;54957:6;57956:18;:16;:18::i;:::-;:25;;;;:::i;:::-;57935:46;;58001:53;58016:10;58028:7;58037:5;58044:9;58001:14;:53::i;:::-;57994:60;;;57756:306;;;;;;:::o;63245:127::-;28936:13;:11;:13::i;:::-;63309:6:::1;:16:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;63309:16:0;;::::1;;::::0;;63341:23:::1;::::0;::::1;::::0;::::1;::::0;63318:7;4833:14:1;4826:22;4808:41;;4796:2;4781:18;;4668:187;63341:23:0::1;;;;;;;;63245:127:::0;:::o;37023:250::-;37165:32;;;37119:4;37165:32;;;:19;:32;;;;;37136:61;;37119:4;;37165:32;37136:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37253:11;;37243:22;;;;;;;:::i;:::-;;;;;;;;37225:13;37215:24;;;;;;:50;37208:57;;;37023:250;;;;;:::o;35135:178::-;28936:13;:11;:13::i;:::-;35250:55:::1;::::0;-1:-1:-1;;;35250:55:0;;-1:-1:-1;;;;;35250:10:0::1;:29;::::0;::::1;::::0;:55:::1;::::0;35280:11;;35293;;;;35250:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;44661:346:::0;27704:10;44875:4;44851:29;44843:80;;;;-1:-1:-1;;;44843:80:0;;14395:2:1;44843:80:0;;;14377:21:1;14434:2;14414:18;;;14407:30;14473:34;14453:18;;;14446:62;-1:-1:-1;;;14524:18:1;;;14517:36;14570:19;;44843:80:0;14193:402:1;44843:80:0;44934:65;44956:11;44969;;44934:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44934:65:0;;;;;;;;;;;;;;;;;;;;;;44982:6;;-1:-1:-1;44934:65:0;-1:-1:-1;44990:8:0;;;;;;44934:65;;44990:8;;;;44934:65;;;;;;;;;-1:-1:-1;44934:21:0;;-1:-1:-1;;;44934:65:0:i;:::-;44661:346;;;;;;:::o;29691:103::-;28936:13;:11;:13::i;:::-;29756:30:::1;29783:1;29756:18;:30::i;30981:51::-:0;;;;;;;;;;;;;;;;:::i;35955:330::-;36079:35;;;36059:17;36079:35;;;:19;:35;;;;;36059:55;;36034:12;;36059:17;36079:35;36059:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36133:4;:11;36148:1;36133:16;36125:58;;;;-1:-1:-1;;;36125:58:0;;14802:2:1;36125:58:0;;;14784:21:1;14841:2;14821:18;;;14814:30;14880:31;14860:18;;;14853:59;14929:18;;36125:58:0;14600:353:1;36125:58:0;36201:31;36212:1;36229:2;36215:4;:11;:16;;;;:::i;:::-;36201:4;;:31;:10;:31::i;35666:281::-;28936:13;:11;:13::i;:::-;35838:14:::1;;35862:4;35821:47;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;35821:47:0;;::::1;::::0;;;;;;35783:35:::1;::::0;::::1;;::::0;;;:19:::1;35821:47;35783:35:::0;;;:85:::1;::::0;:35;:85:::1;:::i;:::-;;35884:55;35908:14;35924;;35884:55;;;;;;;;:::i;:::-;;;;;;;;35666:281:::0;;;:::o;57329:132::-;57430:23;;;;:14;:23;;;;;;;;;57423:30;;;;;;;;;;;;;;;;;57395:16;;57423:30;;;57430:23;57423:30;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;57423:30:0;;;;;;;;;;;;;;;;;;;;;;;57329:132;;;:::o;60556:886::-;52741:21;:19;:21::i;:::-;56619:10:::1;56602:28;::::0;;;:16:::1;:28;::::0;;;;;::::1;;56601:29;:54:::0;::::1;;;-1:-1:-1::0;29096:7:0;29123:6;-1:-1:-1;;;;;29123:6:0;56634:10:::1;:21;;56601:54;56598:91;;;56664:25;;-1:-1:-1::0;;;56664:25:0::1;;;;;;;;;;;56598:91;60667:20:::2;::::0;;;:11:::2;:20;::::0;;;;;::::2;;60663:33:::0;60689:7:::2;60663:33;60718:18;:16;:18::i;:::-;60709:6;:27;60706:63;;;60745:24;;-1:-1:-1::0;;;60745:24:0::2;;;;;;;;;;;60706:63;60782:29;60814:20:::0;;;:11:::2;:20;::::0;;;;;;;60782:52;;;;::::2;::::0;;;;;-1:-1:-1;;;;;60782:52:0;::::2;::::0;;;;60814:20;;60782:52;;::::2;::::0;-1:-1:-1;;;60782:52:0;::::2;;;;::::0;::::2;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;::::0;::::2;;;60847:20;60870:74;60885:6;60893:7;60902:10;:20;;;60924:10;:19;;;60870:14;:74::i;:::-;60957:28;::::0;;;:19:::2;:28;::::0;;;;;;;:36;;;;;;;;:51;;;61046:91;;;;::::2;17856:25:1::0;;;17897:18;;;17890:34;;;17940:18;;;;17933:34;;;61046:91:0;;;;;;;;;;17829:18:1;;;61046:91:0;;;;61195:11:::2;::::0;-1:-1:-1;;;61171:85:0;;;60957:51;;-1:-1:-1;61171:10:0::2;-1:-1:-1::0;;;;;61171:23:0::2;::::0;::::2;::::0;:85:::2;::::0;61195:11:::2;::::0;::::2;::::0;61216:4:::2;::::0;61046:91;;61234:6;;::::2;;;::::0;61242:13:::2;::::0;61171:85;;::::2;:::i;:::-;;::::0;::::2;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;61275:11:0::2;::::0;61323:17:::2;::::0;61342:13:::2;61267:98:::0;;61150:106;;-1:-1:-1;61267:98:0::2;::::0;61275:11:::2;::::0;;::::2;::::0;61288:9;;61315:4:::2;::::0;-1:-1:-1;;;;;61323:17:0;;::::2;::::0;61267:98:::2;::::0;::::2;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61357:7;61267;:98::i;:::-;61413:6;61404:7;61383:51;61421:12;61383:51;;;;2660:25:1::0;;2648:2;2633:18;;2514:177;61383:51:0::2;;;;;;;;60652:790;;;;56700:1;52785:20:::0;52179:1;53305:7;:22;53122:213;52785:20;60556:886;;:::o;62746:216::-;28936:13;:11;:13::i;:::-;-1:-1:-1;;;;;62819:21:0;::::1;62816:53;;62849:20;;-1:-1:-1::0;;;62849:20:0::1;;;;;;;;;;;62816:53;-1:-1:-1::0;;;;;62880:25:0;::::1;62908:5;62880:25:::0;;;:16:::1;:25;::::0;;;;;:33;;-1:-1:-1;;62880:33:0::1;::::0;;62931:23;::::1;::::0;62908:5;62931:23:::1;62746:216:::0;:::o;62348:229::-;28936:13;:11;:13::i;:::-;-1:-1:-1;;;;;62425:24:0;::::1;62422:56;;62458:20;;-1:-1:-1::0;;;62458:20:0::1;;;;;;;;;;;62422:56;-1:-1:-1::0;;;;;62489:28:0;::::1;;::::0;;;:16:::1;:28;::::0;;;;;:35;;-1:-1:-1;;62489:35:0::1;62520:4;62489:35;::::0;;62542:27;::::1;::::0;62489:28;62542:27:::1;62348:229:::0;:::o;36293:136::-;28936:13;:11;:13::i;:::-;36363:8:::1;:20:::0;;-1:-1:-1;;;;;;36363:20:0::1;-1:-1:-1::0;;;;;36363:20:0;::::1;::::0;;::::1;::::0;;;36399:22:::1;::::0;3099:51:1;;;36399:22:0::1;::::0;3087:2:1;3072:18;36399:22:0::1;2953:203:1::0;34655:204:0;28936:13;:11;:13::i;:::-;34789:62:::1;::::0;-1:-1:-1;;;34789:62:0;;-1:-1:-1;;;;;34789:10:0::1;:20;::::0;::::1;::::0;:62:::1;::::0;34810:8;;34820;;34830:11;;34843:7;;;;34789:62:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;34655:204:::0;;;;;:::o;45193:767::-;45404:27;;;45382:19;45404:27;;;:14;:27;;;;;;:40;;;;45432:11;;;;45404:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45404:48:0;;;;;;;;;;;;-1:-1:-1;45404:48:0;45463:73;;;;-1:-1:-1;;;45463:73:0;;20289:2:1;45463:73:0;;;20271:21:1;20328:2;20308:18;;;20301:30;20367:34;20347:18;;;20340:62;-1:-1:-1;;;20418:18:1;;;20411:33;20461:19;;45463:73:0;20087:399:1;45463:73:0;45578:11;45565:8;;45555:19;;;;;;;:::i;:::-;;;;;;;;:34;45547:80;;;;-1:-1:-1;;;45547:80:0;;20693:2:1;45547:80:0;;;20675:21:1;20732:2;20712:18;;;20705:30;20771:34;20751:18;;;20744:62;-1:-1:-1;;;20822:18:1;;;20815:31;20863:19;;45547:80:0;20491:397:1;45547:80:0;45675:27;;;45734:1;45675:27;;;:14;:27;;;;;;:40;;;;45703:11;;;;45675:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45675:48:0;;;;;;;;;;;;:61;;;;45805:65;;;;;;;;;;;;;;;;;;;45827:11;;45840;;45805:65;;;;;;45840:11;45805:65;;45840:11;45805:65;;;;;;;;;-1:-1:-1;;45805:65:0;;;;;;;;;;;;;;;;;;;;;;45853:6;;-1:-1:-1;45805:65:0;-1:-1:-1;45861:8:0;;;;;;45805:65;;45861:8;;;;45805:65;;;;;;;;;-1:-1:-1;45805:21:0;;-1:-1:-1;;;45805:65:0:i;:::-;45886:66;45906:11;45919;;45932:6;45940:11;45886:66;;;;;;;;;;:::i;:::-;;;;;;;;45326:634;45193:767;;;;;;:::o;63125:112::-;28936:13;:11;:13::i;:::-;63203:11:::1;:26:::0;;-1:-1:-1;;63203:26:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;63125:112::o;63380:175::-;28936:13;:11;:13::i;:::-;63465::::1;:30;63481:14:::0;63465:13;:30:::1;:::i;:::-;;63511:36;63532:14;63511:36;;;;;;:::i;36437:284::-:0;28936:13;:11;:13::i;:::-;36561:1:::1;36551:7;:11;36543:45;;;::::0;-1:-1:-1;;;36543:45:0;;21593:2:1;36543:45:0::1;::::0;::::1;21575:21:1::0;21632:2;21612:18;;;21605:30;-1:-1:-1;;;21651:18:1;;;21644:51;21712:18;;36543:45:0::1;21391:345:1::0;36543:45:0::1;36599:28;::::0;;::::1;;::::0;;;:15:::1;:28;::::0;;;;;;;:41;;::::1;::::0;;;;;;;;;;:51;;;36666:47;;21964:34:1;;;22014:18;;22007:43;;;;22066:18;;;22059:34;;;36666:47:0::1;::::0;21927:2:1;21912:18;36666:47:0::1;21741:358:1::0;63563:187:0;28936:13;:11;:13::i;:::-;63649:17:::1;:35:::0;;-1:-1:-1;;;;;;63649:35:0::1;-1:-1:-1::0;;;;;63649:35:0;::::1;::::0;;::::1;::::0;;;63700:42:::1;::::0;::::1;::::0;-1:-1:-1;;63700:42:0::1;63563:187:::0;:::o;35460:198::-;28936:13;:11;:13::i;:::-;35558:32:::1;::::0;::::1;;::::0;;;:19:::1;:32;::::0;;;;:40:::1;35593:5:::0;;35558:32;:40:::1;:::i;:::-;;35614:36;35631:11;35644:5;;35614:36;;;;;;;;:::i;29949:201::-:0;28936:13;:11;:13::i;:::-;-1:-1:-1;;;;;30038:22:0;::::1;30030:73;;;::::0;-1:-1:-1;;;30030:73:0;;23513:2:1;30030:73:0::1;::::0;::::1;23495:21:1::0;23552:2;23532:18;;;23525:30;23591:34;23571:18;;;23564:62;-1:-1:-1;;;23642:18:1;;;23635:36;23688:19;;30030:73:0::1;23311:402:1::0;30030:73:0::1;30114:28;30133:8;30114:18;:28::i;:::-;29949:201:::0;:::o;34382:211::-;34517:68;;-1:-1:-1;;;34517:68:0;;23955:6:1;23988:15;;;34517:68:0;;;23970:34:1;24040:15;;24020:18;;;24013:43;34566:4:0;24072:18:1;;;24065:60;24141:18;;;24134:34;;;34485:12:0;;34517:10;-1:-1:-1;;;;;34517:20:0;;;;23917:19:1;;34517:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;34517:68:0;;;;;;;;;;;;:::i;:::-;34510:75;;34382:211;;;;;;;:::o;58413:1245::-;58579:7;58628:23;;;:14;:23;;;;;;;;58599:52;;;;;;;;;;;;;;;;;58579:7;;58599:52;;58628:23;58599:52;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58599:52:0;;;;;;;;;;;;;;;;-1:-1:-1;;58809:16:0;;58599:52;;-1:-1:-1;58716:16:0;;58664:32;;-1:-1:-1;58809:16:0;-1:-1:-1;58664:32:0;;-1:-1:-1;58840:172:0;58859:15;58855:1;:19;58840:172;;;58916:42;58930:5;58937:9;58947:1;58937:12;;;;;;;;:::i;:::-;;;;;;;58951:6;58916:13;:42::i;:::-;58896:62;;;;:::i;:::-;;-1:-1:-1;58991:3:0;;58840:172;;;-1:-1:-1;59111:38:0;59098:9;:51;;;;;;;;:::i;:::-;;59095:79;;-1:-1:-1;59158:16:0;-1:-1:-1;59151:23:0;;-1:-1:-1;;59151:23:0;59095:79;59275:44;;-1:-1:-1;;;59275:44:0;;-1:-1:-1;;;;;25155:32:1;;;59275:44:0;;;25137:51:1;25204:18;;;25197:34;;;59246:26:0;;59275:29;;;;;;25110:18:1;;59275:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:49;;-1:-1:-1;59435:38:0;59422:9;:51;;;;;;;;:::i;:::-;;59419:186;;59531:18;59511:16;:38;;:82;;59556:37;59577:16;59556:18;:37;:::i;:::-;59511:82;;;59552:1;59511:82;59490:103;;59419:186;59632:18;58413:1245;-1:-1:-1;;;;;;;;;58413:1245:0:o;43808:514::-;43958:12;43972:19;43995:153;44029:9;44040:3;44068:34;;;44104:11;44117;44130:6;44138:8;44045:102;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;44045:102:0;;;;;;;;;;;;;;-1:-1:-1;;;;;44045:102:0;-1:-1:-1;;;;;;44045:102:0;;;;;;;;;;44003:4;;43995:153;;:33;:153::i;:::-;43957:191;;;;44208:7;44203:112;;44232:71;44252:11;44265;44278:6;44286:8;44296:6;44232:19;:71::i;29215:132::-;29096:7;29123:6;-1:-1:-1;;;;;29123:6:0;27704:10;29279:23;29271:68;;;;-1:-1:-1;;;29271:68:0;;26508:2:1;29271:68:0;;;26490:21:1;;;26527:18;;;26520:30;26586:34;26566:18;;;26559:62;26638:18;;29271:68:0;26306:356:1;52821:293:0;52223:1;52955:7;;:19;52947:63;;;;-1:-1:-1;;;52947:63:0;;26869:2:1;52947:63:0;;;26851:21:1;26908:2;26888:18;;;26881:30;26947:33;26927:18;;;26920:61;26998:18;;52947:63:0;26667:355:1;52947:63:0;52223:1;53088:7;:18;52821:293::o;61476:708::-;52741:21;:19;:21::i;:::-;61707:15:::1;61737:17:::0;61769:37:::1;61821:26:::0;61872:8:::1;61861:81;;;;;;;;;;;;:::i;:::-;61692:250;;;;;;;;61978:55;;;;;;;;62002:9;-1:-1:-1::0;;;;;61978:55:0::1;;;;;62023:8;61978:55;;;;;;;;:::i;:::-;::::0;;61955:20:::1;::::0;;;:11:::1;:20;::::0;;;;;;;:78;;;;-1:-1:-1;;;;;61955:78:0;;::::1;-1:-1:-1::0;;;;;;61955:78:0;::::1;::::0;::::1;::::0;;;;::::1;::::0;:20;;;;-1:-1:-1;;;;;;61955:78:0;;-1:-1:-1;;;61955:78:0;::::1;::::0;::::1;;;;;;:::i;:::-;;;::::0;;-1:-1:-1;;;62044:23:0::1;::::0;;;:14:::1;:23;::::0;;;;;;;:35;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;62090:20:0::1;::::0;;;:11:::1;:20;::::0;;;;;;:27;;-1:-1:-1;;62090:27:0::1;62113:4;62090:27;::::0;;62135:41;-1:-1:-1;;;;;62135:41:0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;62102:7;2660:25:1;;2648:2;2633:18;;2514:177;62135:41:0::1;;;;;;;;61681:503;;;;52785:20:::0;52179:1;53305:7;:22;53122:213;52785:20;61476:708;;;;:::o;30310:191::-;30384:16;30403:6;;-1:-1:-1;;;;;30420:17:0;;;-1:-1:-1;;;;;;30420:17:0;;;;;;30453:40;;30403:6;;;;;;;30453:40;;30384:16;30453:40;30373:128;30310:191;:::o;17067:2779::-;17208:12;17262:7;17246:12;17262:7;17256:2;17246:12;:::i;:::-;:23;;17238:50;;;;-1:-1:-1;;;17238:50:0;;28612:2:1;17238:50:0;;;28594:21:1;28651:2;28631:18;;;28624:30;-1:-1:-1;;;28670:18:1;;;28663:44;28724:18;;17238:50:0;28410:338:1;17238:50:0;17324:16;17333:7;17324:6;:16;:::i;:::-;17307:6;:13;:33;;17299:63;;;;-1:-1:-1;;;17299:63:0;;28955:2:1;17299:63:0;;;28937:21:1;28994:2;28974:18;;;28967:30;-1:-1:-1;;;29013:18:1;;;29006:47;29070:18;;17299:63:0;28753:341:1;17299:63:0;17375:22;17441:15;;17470:1933;;;;19547:4;19541:11;19528:24;;19728:1;19717:9;19710:20;19778:4;19767:9;19763:20;19757:4;19750:34;17434:2365;;17470:1933;17647:4;17641:11;17628:24;;18284:2;18275:7;18271:16;18656:9;18649:17;18643:4;18639:28;18627:9;18616;18612:25;18608:60;18705:7;18701:2;18697:16;18954:6;18940:9;18933:17;18927:4;18923:28;18911:9;18903:6;18899:22;18895:57;18891:70;18733:426;18988:3;18984:2;18981:11;18733:426;;;19130:9;;19119:21;;19030:4;19022:13;;;;19063;18733:426;;;-1:-1:-1;;19179:26:0;;;19383:2;19366:11;-1:-1:-1;;19362:25:0;19356:4;19349:39;-1:-1:-1;17434:2365:0;-1:-1:-1;19829:9:0;17067:2779;-1:-1:-1;;;;17067:2779:0:o;32620:553::-;32843:32;;;32814:26;32843:32;;;:19;:32;;;;;32814:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32894:13;:20;32918:1;32894:25;32886:86;;;;-1:-1:-1;;;32886:86:0;;29301:2:1;32886:86:0;;;29283:21:1;29340:2;29320:18;;;29313:30;29379:34;29359:18;;;29352:62;-1:-1:-1;;;29430:18:1;;;29423:46;29486:19;;32886:86:0;29099:412:1;32886:86:0;32983:47;33001:11;33014:8;:15;32983:17;:47::i;:::-;33041:124;;-1:-1:-1;;;33041:124:0;;-1:-1:-1;;;;;33041:10:0;:15;;;;33064:10;;33041:124;;33076:11;;33089:13;;33104:8;;33114:14;;33130:18;;33150:14;;33041:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32803:370;32620:553;;;;;;:::o;59944:604::-;60167:44;;-1:-1:-1;;;60167:44:0;;-1:-1:-1;;;;;30588:15:1;;;60167:44:0;;;30570:34:1;30640:15;;;30620:18;;;30613:43;60035:16:0;;60116;;60035;;60167:30;;;;;;30505:18:1;;60167:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60273:46;;-1:-1:-1;;;60273:46:0;;-1:-1:-1;;;;;30588:15:1;;;60273:46:0;;;30570:34:1;30640:15;;;30620:18;;;30613:43;60144:67:0;;-1:-1:-1;60222:48:0;;60273:32;;;;;30505:18:1;;60273:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60222:97;;60351:6;60335:12;:22;60332:35;;60366:1;60359:8;;;;;;;60332:35;60402:6;60381:13;:17;;;:27;60378:40;;60417:1;60410:8;;;;;;;60378:40;60432:19;;;:24;60429:37;;60465:1;60458:8;;;;;;;60429:37;60533:6;60513:13;:17;;;:26;;;;:::i;:::-;60490:19;;:50;;;;:::i;:::-;60479:61;59944:604;-1:-1:-1;;;;;;;59944:604:0:o;38438:1275::-;38600:4;38606:12;38668:15;38694:13;38718:24;38755:8;38745:19;;-1:-1:-1;;;;;38745:19:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38745:19:0;;38718:46;;39246:1;39220;39186:9;39180:16;39151:4;39140:9;39136:20;39105:1;39070:7;39044:4;39025:247;39013:259;;39337:16;39326:27;;39382:8;39373:7;39370:21;39367:78;;;39422:8;39411:19;;39367:78;39528:7;39515:11;39508:28;39646:7;39643:1;39636:4;39623:11;39619:22;39604:50;39683:8;;;;-1:-1:-1;38438:1275:0;-1:-1:-1;;;;;;38438:1275:0:o;44330:323::-;44554:8;44544:19;;;;;;44493:14;:27;44508:11;44493:27;;;;;;;;;;;;;;;44521:11;44493:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44493:48:0;;;;;;;;;:70;;;;44579:66;;;;44593:11;;44606;;44534:6;;44627:8;;44637:7;;44579:66;:::i;:::-;;;;;;;;44330:323;;;;;:::o;33888:389::-;34011:35;;;33987:21;34011:35;;;:22;:35;;;;;;;34061:21;;;34057:125;;-1:-1:-1;30914:5:0;34057:125;34216:16;34200:12;:32;;34192:77;;;;-1:-1:-1;;;34192:77:0;;32639:2:1;34192:77:0;;;32621:21:1;;;32658:18;;;32651:30;32717:34;32697:18;;;32690:62;32769:18;;34192:77:0;32437:356:1;34192:77:0;33976:301;33888:389;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;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:250::-;1847:1;1857:113;1871:6;1868:1;1865:13;1857:113;;;1947:11;;;1941:18;1928:11;;;1921:39;1893:2;1886:10;1857:113;;;-1:-1:-1;;2004:1:1;1986:16;;1979:27;1762:250::o;2017:270::-;2058:3;2096:5;2090:12;2123:6;2118:3;2111:19;2139:76;2208:6;2201:4;2196:3;2192:14;2185:4;2178:5;2174:16;2139:76;:::i;:::-;2269:2;2248:15;-1:-1:-1;;2244:29:1;2235:39;;;;2276:4;2231:50;;2017:270;-1:-1:-1;;2017:270:1:o;2292:217::-;2439:2;2428:9;2421:21;2402:4;2459:44;2499:2;2488:9;2484:18;2476:6;2459:44;:::i;2696:252::-;2763:6;2771;2824:2;2812:9;2803:7;2799:23;2795:32;2792:52;;;2840:1;2837;2830:12;2792:52;2863:28;2881:9;2863:28;:::i;:::-;2853:38;2938:2;2923:18;;;;2910:32;;-1:-1:-1;;;2696:252:1:o;3161:131::-;-1:-1:-1;;;;;3236:31:1;;3226:42;;3216:70;;3282:1;3279;3272:12;3297:112;3383:1;3376:5;3373:12;3363:40;;3399:1;3396;3389:12;3414:485;3509:6;3517;3525;3578:2;3566:9;3557:7;3553:23;3549:32;3546:52;;;3594:1;3591;3584:12;3546:52;3630:9;3617:23;3607:33;;3690:2;3679:9;3675:18;3662:32;3703:31;3728:5;3703:31;:::i;:::-;3753:5;-1:-1:-1;3810:2:1;3795:18;;3782:32;3823:44;3782:32;3823:44;:::i;:::-;3886:7;3876:17;;;3414:485;;;;;:::o;3904:273::-;3960:6;4013:2;4001:9;3992:7;3988:23;3984:32;3981:52;;;4029:1;4026;4019:12;3981:52;4068:9;4055:23;4121:5;4114:13;4107:21;4100:5;4097:32;4087:60;;4143:1;4140;4133:12;4182:481;4260:6;4268;4276;4329:2;4317:9;4308:7;4304:23;4300:32;4297:52;;;4345:1;4342;4335:12;4297:52;4368:28;4386:9;4368:28;:::i;:::-;4358:38;;4447:2;4436:9;4432:18;4419:32;-1:-1:-1;;;;;4466:6:1;4463:30;4460:50;;;4506:1;4503;4496:12;4460:50;4545:58;4595:7;4586:6;4575:9;4571:22;4545:58;:::i;:::-;4182:481;;4622:8;;-1:-1:-1;4519:84:1;;-1:-1:-1;;;;4182:481:1:o;4860:180::-;4919:6;4972:2;4960:9;4951:7;4947:23;4943:32;4940:52;;;4988:1;4985;4978:12;4940:52;-1:-1:-1;5011:23:1;;4860:180;-1:-1:-1;4860:180:1:o;5045:127::-;5106:10;5101:3;5097:20;5094:1;5087:31;5137:4;5134:1;5127:15;5161:4;5158:1;5151:15;5177:443;-1:-1:-1;;;;;5385:32:1;;5367:51;;5355:2;5340:18;;5448:1;5437:13;;5427:144;;5493:10;5488:3;5484:20;5481:1;5474:31;5528:4;5525:1;5518:15;5556:4;5553:1;5546:15;5427:144;5607:6;5602:2;5591:9;5587:18;5580:34;5177:443;;;;;:::o;5625:127::-;5686:10;5681:3;5677:20;5674:1;5667:31;5717:4;5714:1;5707:15;5741:4;5738:1;5731:15;5757:275;5828:2;5822:9;5893:2;5874:13;;-1:-1:-1;;5870:27:1;5858:40;;-1:-1:-1;;;;;5913:34:1;;5949:22;;;5910:62;5907:88;;;5975:18;;:::i;:::-;6011:2;6004:22;5757:275;;-1:-1:-1;5757:275:1:o;6037:186::-;6085:4;-1:-1:-1;;;;;6110:6:1;6107:30;6104:56;;;6140:18;;:::i;:::-;-1:-1:-1;6206:2:1;6185:15;-1:-1:-1;;6181:29:1;6212:4;6177:40;;6037:186::o;6228:462::-;6270:5;6323:3;6316:4;6308:6;6304:17;6300:27;6290:55;;6341:1;6338;6331:12;6290:55;6377:6;6364:20;6408:48;6424:31;6452:2;6424:31;:::i;:::-;6408:48;:::i;:::-;6481:2;6472:7;6465:19;6527:3;6520:4;6515:2;6507:6;6503:15;6499:26;6496:35;6493:55;;;6544:1;6541;6534:12;6493:55;6609:2;6602:4;6594:6;6590:17;6583:4;6574:7;6570:18;6557:55;6657:1;6632:16;;;6650:4;6628:27;6621:38;;;;6636:7;6228:462;-1:-1:-1;;;6228:462:1:o;6695:464::-;6779:6;6787;6795;6848:2;6836:9;6827:7;6823:23;6819:32;6816:52;;;6864:1;6861;6854:12;6816:52;6887:28;6905:9;6887:28;:::i;:::-;6877:38;;6966:2;6955:9;6951:18;6938:32;-1:-1:-1;;;;;6985:6:1;6982:30;6979:50;;;7025:1;7022;7015:12;6979:50;7048:49;7089:7;7080:6;7069:9;7065:22;7048:49;:::i;:::-;7038:59;;;7116:37;7149:2;7138:9;7134:18;7116:37;:::i;:::-;7106:47;;6695:464;;;;;:::o;7346:248::-;7414:6;7422;7475:2;7463:9;7454:7;7450:23;7446:32;7443:52;;;7491:1;7488;7481:12;7443:52;-1:-1:-1;;7514:23:1;;;7584:2;7569:18;;;7556:32;;-1:-1:-1;7346:248:1:o;7599:247::-;7658:6;7711:2;7699:9;7690:7;7686:23;7682:32;7679:52;;;7727:1;7724;7717:12;7679:52;7766:9;7753:23;7785:31;7810:5;7785:31;:::i;8044:256::-;8110:6;8118;8171:2;8159:9;8150:7;8146:23;8142:32;8139:52;;;8187:1;8184;8177:12;8139:52;8210:28;8228:9;8210:28;:::i;:::-;8200:38;;8257:37;8290:2;8279:9;8275:18;8257:37;:::i;:::-;8247:47;;8044:256;;;;;:::o;8305:658::-;8476:2;8528:21;;;8598:13;;8501:18;;;8620:22;;;8447:4;;8476:2;8699:15;;;;8673:2;8658:18;;;8447:4;8742:195;8756:6;8753:1;8750:13;8742:195;;;8821:13;;-1:-1:-1;;;;;8817:39:1;8805:52;;8912:15;;;;8877:12;;;;8853:1;8771:9;8742:195;;;-1:-1:-1;8954:3:1;;8305:658;-1:-1:-1;;;;;;8305:658:1:o;9202:622::-;9297:6;9305;9313;9321;9329;9382:3;9370:9;9361:7;9357:23;9353:33;9350:53;;;9399:1;9396;9389:12;9350:53;9422:28;9440:9;9422:28;:::i;:::-;9412:38;;9469:37;9502:2;9491:9;9487:18;9469:37;:::i;:::-;9459:47;;9553:2;9542:9;9538:18;9525:32;9515:42;;9608:2;9597:9;9593:18;9580:32;-1:-1:-1;;;;;9627:6:1;9624:30;9621:50;;;9667:1;9664;9657:12;9621:50;9706:58;9756:7;9747:6;9736:9;9732:22;9706:58;:::i;:::-;9202:622;;;;-1:-1:-1;9202:622:1;;-1:-1:-1;9783:8:1;;9680:84;9202:622;-1:-1:-1;;;9202:622:1:o;9829:320::-;9897:6;9950:2;9938:9;9929:7;9925:23;9921:32;9918:52;;;9966:1;9963;9956:12;9918:52;10006:9;9993:23;-1:-1:-1;;;;;10031:6:1;10028:30;10025:50;;;10071:1;10068;10061:12;10025:50;10094:49;10135:7;10126:6;10115:9;10111:22;10094:49;:::i;10154:324::-;10229:6;10237;10245;10298:2;10286:9;10277:7;10273:23;10269:32;10266:52;;;10314:1;10311;10304:12;10266:52;10337:28;10355:9;10337:28;:::i;:::-;10327:38;;10384:37;10417:2;10406:9;10402:18;10384:37;:::i;:::-;10374:47;;10468:2;10457:9;10453:18;10440:32;10430:42;;10154:324;;;;;:::o;10483:460::-;10567:6;10575;10583;10591;10644:3;10632:9;10623:7;10619:23;10615:33;10612:53;;;10661:1;10658;10651:12;10612:53;10684:28;10702:9;10684:28;:::i;:::-;10674:38;;10731:37;10764:2;10753:9;10749:18;10731:37;:::i;:::-;10721:47;;10818:2;10807:9;10803:18;10790:32;10831:31;10856:5;10831:31;:::i;:::-;10483:460;;;;-1:-1:-1;10881:5:1;;10933:2;10918:18;10905:32;;-1:-1:-1;;10483:460:1:o;10948:554::-;11052:6;11060;11068;11076;11129:3;11117:9;11108:7;11104:23;11100:33;11097:53;;;11146:1;11143;11136:12;11097:53;11182:9;11169:23;11159:33;;11239:2;11228:9;11224:18;11211:32;11201:42;;11293:2;11282:9;11278:18;11265:32;11306:31;11331:5;11306:31;:::i;:::-;11356:5;-1:-1:-1;11413:2:1;11398:18;;11385:32;11426:44;11385:32;11426:44;:::i;:::-;10948:554;;;;-1:-1:-1;10948:554:1;;-1:-1:-1;;10948:554:1:o;11866:380::-;11945:1;11941:12;;;;11988;;;12009:61;;12063:4;12055:6;12051:17;12041:27;;12009:61;12116:2;12108:6;12105:14;12085:18;12082:38;12079:161;;12162:10;12157:3;12153:20;12150:1;12143:31;12197:4;12194:1;12187:15;12225:4;12222:1;12215:15;12079:161;;11866:380;;;:::o;12251:271::-;12434:6;12426;12421:3;12408:33;12390:3;12460:16;;12485:13;;;12460:16;12251:271;-1:-1:-1;12251:271:1:o;12934:127::-;12995:10;12990:3;12986:20;12983:1;12976:31;13026:4;13023:1;13016:15;13050:4;13047:1;13040:15;13066:217;13106:1;13132;13122:132;;13176:10;13171:3;13167:20;13164:1;13157:31;13211:4;13208:1;13201:15;13239:4;13236:1;13229:15;13122:132;-1:-1:-1;13268:9:1;;13066:217::o;13288:168::-;13328:7;13394:1;13390;13386:6;13382:14;13379:1;13376:21;13371:1;13364:9;13357:17;13353:45;13350:71;;;13401:18;;:::i;:::-;-1:-1:-1;13441:9:1;;13288:168::o;13461:125::-;13526:9;;;13547:10;;;13544:36;;;13560:18;;:::i;:::-;13461:125;;;;:::o;13591:266::-;13679:6;13674:3;13667:19;13731:6;13724:5;13717:4;13712:3;13708:14;13695:43;-1:-1:-1;13783:1:1;13758:16;;;13776:4;13754:27;;;13747:38;;;;13839:2;13818:15;;;-1:-1:-1;;13814:29:1;13805:39;;;13801:50;;13591:266::o;13862:326::-;14057:6;14049;14045:19;14034:9;14027:38;14101:2;14096;14085:9;14081:18;14074:30;14008:4;14121:61;14178:2;14167:9;14163:18;14155:6;14147;14121:61;:::i;14958:128::-;15025:9;;;15046:11;;;15043:37;;;15060:18;;:::i;15091:360::-;15302:6;15294;15289:3;15276:33;15372:2;15368:15;;;;-1:-1:-1;;15364:53:1;15328:16;;15353:65;;;15442:2;15434:11;;15091:360;-1:-1:-1;15091:360:1:o;15581:544::-;15682:2;15677:3;15674:11;15671:448;;;15718:1;15743:5;15739:2;15732:17;15788:4;15784:2;15774:19;15858:2;15846:10;15842:19;15839:1;15835:27;15829:4;15825:38;15894:4;15882:10;15879:20;15876:47;;;-1:-1:-1;15917:4:1;15876:47;15972:2;15967:3;15963:12;15960:1;15956:20;15950:4;15946:31;15936:41;;16027:82;16045:2;16038:5;16035:13;16027:82;;;16090:17;;;16071:1;16060:13;16027:82;;16301:1348;16425:3;16419:10;-1:-1:-1;;;;;16444:6:1;16441:30;16438:56;;;16474:18;;:::i;:::-;16503:96;16592:6;16552:38;16584:4;16578:11;16552:38;:::i;:::-;16546:4;16503:96;:::i;:::-;16654:4;;16718:2;16707:14;;16735:1;16730:662;;;;17436:1;17453:6;17450:89;;;-1:-1:-1;17505:19:1;;;17499:26;17450:89;-1:-1:-1;;16258:1:1;16254:11;;;16250:24;16246:29;16236:40;16282:1;16278:11;;;16233:57;17552:81;;16700:943;;16730:662;15528:1;15521:14;;;15565:4;15552:18;;-1:-1:-1;;16766:20:1;;;16883:236;16897:7;16894:1;16891:14;16883:236;;;16986:19;;;16980:26;16965:42;;17078:27;;;;17046:1;17034:14;;;;16913:19;;16883:236;;;16887:3;17147:6;17138:7;17135:19;17132:201;;;17208:19;;;17202:26;-1:-1:-1;;17291:1:1;17287:14;;;17303:3;17283:24;17279:37;17275:42;17260:58;17245:74;;17132:201;-1:-1:-1;;;;;17379:1:1;17363:14;;;17359:22;17346:36;;-1:-1:-1;16301:1348:1:o;17978:1351::-;18256:6;18248;18244:19;18233:9;18226:38;18207:4;18283:2;18350:1;18346;18341:3;18337:11;18333:19;18325:6;18321:32;18316:2;18305:9;18301:18;18294:60;18390:3;18385:2;18374:9;18370:18;18363:31;18417:45;18457:3;18446:9;18442:19;18434:6;18417:45;:::i;:::-;18512:6;18505:14;18498:22;18493:2;18482:9;18478:18;18471:50;18570:9;18562:6;18558:22;18552:3;18541:9;18537:19;18530:51;18601:1;18634:6;18628:13;18664:36;18690:9;18664:36;:::i;:::-;18709:22;;;18750:1;18767:18;;;18794:152;;;;18960:1;18955:348;;;;18760:543;;18794:152;-1:-1:-1;;18839:24:1;;18822:15;;;18815:49;18914:14;;18907:22;18904:1;18900:30;18888:43;;18884:52;;;-1:-1:-1;18794:152:1;;18955:348;18986:6;18983:1;18976:17;19034:2;19031:1;19021:16;19059:1;19073:177;19087:6;19084:1;19081:13;19073:177;;;19177:14;;19156;;;19152:23;;19145:47;19220:16;;;;19102:10;;19073:177;;;19274:14;;19270:23;;;-1:-1:-1;;18760:543:1;-1:-1:-1;19320:3:1;;17978:1351;-1:-1:-1;;;;;;;;;;;;17978:1351:1:o;19334:245::-;19413:6;19421;19474:2;19462:9;19453:7;19449:23;19445:32;19442:52;;;19490:1;19487;19480:12;19442:52;-1:-1:-1;;19513:16:1;;19569:2;19554:18;;;19548:25;19513:16;;19548:25;;-1:-1:-1;19334:245:1:o;19584:498::-;19784:4;19813:6;19858:2;19850:6;19846:15;19835:9;19828:34;19910:2;19902:6;19898:15;19893:2;19882:9;19878:18;19871:43;;19950:6;19945:2;19934:9;19930:18;19923:34;19993:3;19988:2;19977:9;19973:18;19966:31;20014:62;20071:3;20060:9;20056:19;20048:6;20040;20014:62;:::i;20893:493::-;21142:6;21134;21130:19;21119:9;21112:38;21186:3;21181:2;21170:9;21166:18;21159:31;21093:4;21207:62;21264:3;21253:9;21249:19;21241:6;21233;21207:62;:::i;:::-;-1:-1:-1;;;;;21305:31:1;;;;21300:2;21285:18;;21278:59;-1:-1:-1;21368:2:1;21353:18;21346:34;21199:70;20893:493;-1:-1:-1;;;20893:493:1:o;22104:1202::-;-1:-1:-1;;;;;22221:3:1;22218:27;22215:53;;;22248:18;;:::i;:::-;22277:93;22366:3;22326:38;22358:4;22352:11;22326:38;:::i;:::-;22320:4;22277:93;:::i;:::-;22396:1;22421:2;22416:3;22413:11;22438:1;22433:615;;;;23092:1;23109:3;23106:93;;;-1:-1:-1;23165:19:1;;;23152:33;23106:93;-1:-1:-1;;16258:1:1;16254:11;;;16250:24;16246:29;16236:40;16282:1;16278:11;;;16233:57;23212:78;;22406:894;;22433:615;15528:1;15521:14;;;15565:4;15552:18;;-1:-1:-1;;22469:17:1;;;22569:9;22591:229;22605:7;22602:1;22599:14;22591:229;;;22694:19;;;22681:33;22666:49;;22801:4;22786:20;;;;22754:1;22742:14;;;;22621:12;22591:229;;;22595:3;22848;22839:7;22836:16;22833:159;;;22972:1;22968:6;22962:3;22956;22953:1;22949:11;22945:21;22941:34;22937:39;22924:9;22919:3;22915:19;22902:33;22898:79;22890:6;22883:95;22833:159;;;23035:1;23029:3;23026:1;23022:11;23018:19;23012:4;23005:33;22406:894;;22104:1202;;;:::o;24179:647::-;24258:6;24311:2;24299:9;24290:7;24286:23;24282:32;24279:52;;;24327:1;24324;24317:12;24279:52;24360:9;24354:16;-1:-1:-1;;;;;24385:6:1;24382:30;24379:50;;;24425:1;24422;24415:12;24379:50;24448:22;;24501:4;24493:13;;24489:27;-1:-1:-1;24479:55:1;;24530:1;24527;24520:12;24479:55;24559:2;24553:9;24584:48;24600:31;24628:2;24600:31;:::i;24584:48::-;24655:2;24648:5;24641:17;24695:7;24690:2;24685;24681;24677:11;24673:20;24670:33;24667:53;;;24716:1;24713;24706:12;24667:53;24729:67;24793:2;24788;24781:5;24777:14;24772:2;24768;24764:11;24729:67;:::i;:::-;24815:5;24179:647;-1:-1:-1;;;;;24179:647:1:o;24831:127::-;24892:10;24887:3;24883:20;24880:1;24873:31;24923:4;24920:1;24913:15;24947:4;24944:1;24937:15;25242:499;25335:6;25388:2;25376:9;25367:7;25363:23;25359:32;25356:52;;;25404:1;25401;25394:12;25356:52;25437:2;25431:9;25479:2;25471:6;25467:15;25548:6;25536:10;25533:22;-1:-1:-1;;;;;25500:10:1;25497:34;25494:62;25491:88;;;25559:18;;:::i;:::-;25595:2;25588:22;25634:16;;25619:32;;25705:2;25690:18;;;25684:25;25667:15;;;25660:50;;;;-1:-1:-1;25626:6:1;25242:499;-1:-1:-1;25242:499:1:o;25746:555::-;26003:6;25995;25991:19;25980:9;25973:38;26047:3;26042:2;26031:9;26027:18;26020:31;25954:4;26074:45;26114:3;26103:9;26099:19;26091:6;26074:45;:::i;:::-;-1:-1:-1;;;;;26159:6:1;26155:31;26150:2;26139:9;26135:18;26128:59;26235:9;26227:6;26223:22;26218:2;26207:9;26203:18;26196:50;26263:32;26288:6;26280;26263:32;:::i;27027:1378::-;27175:6;27183;27191;27199;27252:3;27240:9;27231:7;27227:23;27223:33;27220:53;;;27269:1;27266;27259:12;27220:53;27298:9;27292:16;27282:26;;27327:2;27372;27361:9;27357:18;27351:25;27385:31;27410:5;27385:31;:::i;:::-;27485:2;27470:18;;27464:25;27435:5;;-1:-1:-1;27498:44:1;27464:25;27498:44;:::i;:::-;27612:2;27597:18;;27591:25;27561:7;;-1:-1:-1;;;;;;27665:14:1;;;27662:34;;;27692:1;27689;27682:12;27662:34;27730:6;27719:9;27715:22;27705:32;;27775:7;27768:4;27764:2;27760:13;27756:27;27746:55;;27797:1;27794;27787:12;27746:55;27826:2;27820:9;27848:2;27844;27841:10;27838:36;;;27854:18;;:::i;:::-;27900:2;27897:1;27893:10;27883:20;;27923:28;27947:2;27943;27939:11;27923:28;:::i;:::-;27985:15;;;28055:11;;;28051:20;;;28016:12;;;;28083:19;;;28080:39;;;28115:1;28112;28105:12;28080:39;28139:11;;;;28159:216;28175:6;28170:3;28167:15;28159:216;;;28250:3;28244:10;28229:25;;28267:33;28292:7;28267:33;:::i;:::-;28313:20;;;28192:12;;;;28353;;;;28159:216;;;27027:1378;;;;-1:-1:-1;27027:1378:1;;-1:-1:-1;;;;;;;27027:1378:1:o;29516:837::-;29865:6;29857;29853:19;29842:9;29835:38;29909:3;29904:2;29893:9;29889:18;29882:31;29816:4;29936:45;29976:3;29965:9;29961:19;29953:6;29936:45;:::i;:::-;30029:9;30021:6;30017:22;30012:2;30001:9;29997:18;29990:50;30063:32;30088:6;30080;30063:32;:::i;:::-;-1:-1:-1;;;;;30169:15:1;;;30164:2;30149:18;;30142:43;30222:15;;30216:3;30201:19;;30194:44;30275:22;;;30122:3;30254:19;;30247:51;30049:46;-1:-1:-1;30315:32:1;30049:46;30332:6;30315:32;:::i;30667:184::-;30737:6;30790:2;30778:9;30769:7;30765:23;30761:32;30758:52;;;30806:1;30803;30796:12;30758:52;-1:-1:-1;30829:16:1;;30667:184;-1:-1:-1;30667:184:1:o;30856:563::-;30954:6;31007:2;30995:9;30986:7;30982:23;30978:32;30975:52;;;31023:1;31020;31013:12;30975:52;31056:2;31050:9;31098:2;31090:6;31086:15;31167:6;31155:10;31152:22;-1:-1:-1;;;;;31119:10:1;31116:34;31113:62;31110:88;;;31178:18;;:::i;:::-;31218:10;31214:2;31207:22;;31259:9;31253:16;31245:6;31238:32;31324:2;31313:9;31309:18;31303:25;31298:2;31290:6;31286:15;31279:50;31383:2;31372:9;31368:18;31362:25;31357:2;31349:6;31345:15;31338:50;31407:6;31397:16;;;30856:563;;;;:::o;31424:287::-;31553:3;31591:6;31585:13;31607:66;31666:6;31661:3;31654:4;31646:6;31642:17;31607:66;:::i;:::-;31689:16;;;;;31424:287;-1:-1:-1;;31424:287:1:o;31716:716::-;32019:6;32011;32007:19;31996:9;31989:38;32063:3;32058:2;32047:9;32043:18;32036:31;31970:4;32090:45;32130:3;32119:9;32115:19;32107:6;32090:45;:::i;:::-;-1:-1:-1;;;;;32175:6:1;32171:31;32166:2;32155:9;32151:18;32144:59;32251:9;32243:6;32239:22;32234:2;32223:9;32219:18;32212:50;32285:32;32310:6;32302;32285:32;:::i;:::-;32271:46;;32366:9;32358:6;32354:22;32348:3;32337:9;32333:19;32326:51;32394:32;32419:6;32411;32394:32;:::i;:::-;32386:40;31716:716;-1:-1:-1;;;;;;;;31716:716:1:o
Swarm Source
ipfs://c90f36a8ca71d441475015797d0933e9a352bde52c1842182a36634a89e6b49f
Loading...
Loading
Loading...
Loading
Net Worth in USD
$47.32
Net Worth in ETH
0.025579
Token Allocations
ETH
100.00%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $1,850.06 | 0.0256 | $47.32 |
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.