Overview
CRO Balance
CRO Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 6 from a total of 6 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Bridge To Solana | 16953070 | 145 days ago | IN | 3 CRO | 1.319829 | ||||
Bridge To Solana | 16953038 | 145 days ago | IN | 3 CRO | 1.319829 | ||||
Bridge To Solana | 16952641 | 145 days ago | IN | 3 CRO | 1.3197678 | ||||
Bridge To Solana | 16952614 | 145 days ago | IN | 3 CRO | 2.55 | ||||
Bridge To Solana | 16952264 | 145 days ago | IN | 3 CRO | 1.5653762 | ||||
Configure Client | 16952027 | 145 days ago | IN | 0 CRO | 0.9613032 |
Latest 12 internal transactions
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16953070 | 145 days ago | 1.57911332 CRO | ||||
16953070 | 145 days ago | 1.57911332 CRO | ||||
16953070 | 145 days ago | 3 CRO | ||||
16953038 | 145 days ago | 1.57517798 CRO | ||||
16953038 | 145 days ago | 1.57517798 CRO | ||||
16953038 | 145 days ago | 3 CRO | ||||
16952641 | 145 days ago | 1.57974491 CRO | ||||
16952641 | 145 days ago | 1.57974491 CRO | ||||
16952641 | 145 days ago | 3 CRO | ||||
16952264 | 145 days ago | 1.58196515 CRO | ||||
16952264 | 145 days ago | 1.58196515 CRO | ||||
16952264 | 145 days ago | 3 CRO |
Loading...
Loading
Contract Name:
CronosToSolanaBridge
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {MessageClient} from "@cryptolink/contracts/message/MessageClient.sol"; import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import {IUniswapV2Router02} from "./IUniswapV2Router02.sol"; import {IWETH} from "./IWETH.sol"; contract CronosToSolanaBridge is MessageClient { event BridgeTokensLocked(address indexed cronosSender, bytes32 indexed solanaRecipient, uint256 amount); using SafeERC20 for IERC20; uint256 private constant ARBITRUM_CHAIN_ID = 42161; // Arbitrum One mainnet chain ID IERC20 public immutable CRONOS_CAW_TOKEN; address public immutable UNISWAP_ROUTER; address public immutable WCRO; address public immutable CRONOS_VAULT; constructor(address cronosCawToken_, address owner, address uniswapRouter_, address cronosVault_) { CRONOS_CAW_TOKEN = IERC20(cronosCawToken_); MESSAGE_OWNER = owner; UNISWAP_ROUTER = uniswapRouter_; CRONOS_VAULT = cronosVault_; IUniswapV2Router02 router = IUniswapV2Router02(UNISWAP_ROUTER); WCRO = router.WETH(); } function bridgeToSolana(bytes32 solanaRecipient, uint256 amount) external payable returns (uint256 txId) { // Transfer CAW tokens to the vault CRONOS_CAW_TOKEN.safeTransferFrom(msg.sender, CRONOS_VAULT, amount); // Handle MESSAGE fee uint256 requiredUsdcFee = MESSAGEv3.getSourceFee(ARBITRUM_CHAIN_ID, false); uint256 croUsedInSwap = _swapFeeToken(requiredUsdcFee); // Return excess CRO if (msg.value > croUsedInSwap) { payable(msg.sender).transfer(msg.value - croUsedInSwap); } emit BridgeTokensLocked(msg.sender, solanaRecipient, amount); // Keep 18 decimals for the message as Cronos CAW has 18 decimals return _sendMessage(ARBITRUM_CHAIN_ID, abi.encode(solanaRecipient, amount)); } function _swapFeeToken(uint256 requiredUsdcAmount) private returns (uint256) { IUniswapV2Router02 router = IUniswapV2Router02(UNISWAP_ROUTER); address[] memory path = new address[](2); path[0] = router.WETH(); path[1] = address(FEE_TOKEN); uint256[] memory swapAmounts = router.swapETHForExactTokens{value: msg.value}(requiredUsdcAmount, path, address(this), block.timestamp); return swapAmounts[0]; } function getRequiredCroForFee() public view returns (uint256) { uint256 requiredUsdcFee = MESSAGEv3.getSourceFee(ARBITRUM_CHAIN_ID, false); IUniswapV2Router02 router = IUniswapV2Router02(UNISWAP_ROUTER); address[] memory path = new address[](2); path[0] = router.WETH(); path[1] = address(FEE_TOKEN); uint256[] memory amounts = router.getAmountsIn(requiredUsdcFee, path); return amounts[0]; } }
// SPDX-License-Identifier: MIT // (c)2021-2023 Atlas // security-contact: [email protected] pragma solidity ^0.8.9; interface IERC20cl { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); }
// SPDX-License-Identifier: MIT // (c)2021-2023 Atlas // security-contact: [email protected] pragma solidity ^0.8.9; interface IMessageV3 { event SendRequested(uint txId, address sender, address recipient, uint chain, bool express, bytes data, uint16 confirmations); event SendProcessed(uint txId, uint sourceChainId, address sender, address recipient); event Success(uint txId, uint sourceChainId, address sender, address recipient, uint amount); event ErrorLog(uint txId, string message); event SetExsig(address caller, address signer); event SetMaxgas(address caller, uint maxGas); event SetMaxfee(address caller, uint maxFee); function chainsig() external view returns (address signer); function weth() external view returns (address wethTokenAddress); function feeToken() external view returns (address feeToken); function feeTokenDecimals() external view returns (uint feeTokenDecimals); function minFee() external view returns (uint minFee); function bridgeEnabled() external view returns (bool bridgeEnabled); function takeFeesOffline() external view returns (bool takeFeesOffline); function whitelistOnly() external view returns (bool whitelistOnly); function enabledChains(uint destChainId) external view returns (bool enabled); function customSourceFee(address caller) external view returns (uint customSourceFee); function maxgas(address caller) external view returns (uint maxgas); function exsig(address caller) external view returns (address signer); // @dev backwards compat with BridgeClient function minTokenForChain(uint chainId) external returns (uint amount); function sendMessage(address recipient, uint chain, bytes calldata data, uint16 confirmations, bool express) external returns (uint txId); // @dev backwards compat with BridgeClient function sendRequest(address recipient, uint chainId, uint amount, address referrer, bytes calldata data, uint16 confirmations) external returns (uint txId); function setExsig(address signer) external; function setMaxgas(uint maxgas) external; function setMaxfee(uint maxfee) external; function getSourceFee(uint _destChainId, bool _express) external view returns (uint _fee); }
// SPDX-License-Identifier: MIT // (c)2021-2024 Atlas // security-contact: [email protected] pragma solidity ^0.8.9; import "./IMessageV3.sol"; import "./IERC20cl.sol"; /** * @title MessageV3 Client * @author CryptoLink.Tech <[email protected]> */ abstract contract MessageClient { IMessageV3 public MESSAGEv3; IERC20cl public FEE_TOKEN; struct ChainData { address endpoint; // address of this contract on specified chain bytes endpointExtended; // address of this contract on non EVM uint16 confirmations; // source confirmations bool extended; // are we using extended endpoint? (addresses larger than uint256) } mapping(uint => ChainData) public CHAINS; address public MESSAGE_OWNER; modifier onlySelf(address _sender, uint _sourceChainId) { require(msg.sender == address(MESSAGEv3), "MessageClient: not authorized"); require(_sender == CHAINS[_sourceChainId].endpoint, "MessageClient: not authorized"); _; } modifier onlyActiveChain(uint _destinationChainId) { require(CHAINS[_destinationChainId].endpoint != address(0), "MessageClient: destination chain not active"); _; } modifier onlyMessageOwner() { require(msg.sender == MESSAGE_OWNER, "MessageClient: not authorized"); _; } event MessageOwnershipTransferred(address previousOwner, address newOwner); event RecoverToken(address owner, address token, uint amount); event SetMaxgas(address owner, uint maxGas); event SetMaxfee(address owner, uint maxfee); event SetExsig(address owner, address exsig); constructor() { MESSAGE_OWNER = msg.sender; } function transferMessageOwnership(address _newMessageOwner) external onlyMessageOwner { MESSAGE_OWNER = _newMessageOwner; emit MessageOwnershipTransferred(msg.sender, _newMessageOwner); } /** BRIDGE RECEIVER */ function messageProcess( uint _txId, // transaction id uint _sourceChainId, // source chain id address _sender, // corresponding MessageClient address on source chain address _reference, // (optional source reference address) uint _amount, // (not used for messages, always 0) bytes calldata _data // encoded message from source chain ) external virtual onlySelf (_sender, _sourceChainId) { } /** BRIDGE SENDER */ function _sendMessage(uint _destinationChainId, bytes memory _data) internal returns (uint _txId) { ChainData memory _chain = CHAINS[_destinationChainId]; if(_chain.extended) { // non-evm addresses larger than uint256 _data = abi.encode(_data, _chain.endpointExtended); } return IMessageV3(MESSAGEv3).sendMessage( _chain.endpoint, // corresponding MessageClient contract address on destination chain _destinationChainId, // id of the destination chain _data, // arbitrary data package to send _chain.confirmations, // amount of required transaction confirmations false // send express mode on destination ); } function _sendMessageExpress(uint _destinationChainId, bytes memory _data) internal returns (uint _txId) { ChainData memory _chain = CHAINS[_destinationChainId]; if(_chain.extended) { // non-evm addresses larger than uint256 _data = abi.encode(_data, _chain.endpointExtended); } return IMessageV3(MESSAGEv3).sendMessage( _chain.endpoint, // corresponding MessageV3Client contract address on destination chain _destinationChainId, // id of the destination chain _data, // arbitrary data package to send _chain.confirmations, // amount of required transaction confirmations true // send express mode on destination ); } /** OWNER */ function configureClientExtended( address _messageV3, // MessageV3 bridge address uint[] calldata _chains, // list of chains to accept as valid destinations bytes[] calldata _endpoints, // list of corresponding MessageV3Client addresses on each chain uint16[] calldata _confirmations // confirmations required on each chain before processing ) external onlyMessageOwner { uint _chainsLength = _chains.length; for(uint x=0; x < _chainsLength; x++) { CHAINS[_chains[x]].confirmations = _confirmations[x]; CHAINS[_chains[x]].endpointExtended = _endpoints[x]; CHAINS[_chains[x]].extended = true; CHAINS[_chains[x]].endpoint = address(1); } _configureMessageV3(_messageV3); } function configureClient( address _messageV3, // MessageV3 bridge address uint[] calldata _chains, // list of chains to accept as valid destinations address[] calldata _endpoints, // list of corresponding MessageV3Client addresses on each chain uint16[] calldata _confirmations // confirmations required on each chain before processing ) public onlyMessageOwner { uint _chainsLength = _chains.length; for(uint x=0; x < _chainsLength; x++) { CHAINS[_chains[x]].confirmations = _confirmations[x]; CHAINS[_chains[x]].endpoint = _endpoints[x]; CHAINS[_chains[x]].extended = false; } _configureMessageV3(_messageV3); } function _configureMessageV3(address _messageV3) internal { MESSAGEv3 = IMessageV3(_messageV3); FEE_TOKEN = IERC20cl(MESSAGEv3.feeToken()); // approve bridge for source chain fees (limited per transaction with setMaxfee) if(address(FEE_TOKEN) != address(0)) { FEE_TOKEN.approve(address(MESSAGEv3), type(uint).max); } // approve bridge for destination gas fees (limited per transaction with setMaxgas) if(address(MESSAGEv3.weth()) != address(0)) { IERC20cl(MESSAGEv3.weth()).approve(address(MESSAGEv3), type(uint).max); } } function setExsig(address _signer) external onlyMessageOwner { MESSAGEv3.setExsig(_signer); emit SetExsig(msg.sender, _signer); } function setMaxgas(uint _maxGas) external onlyMessageOwner { MESSAGEv3.setMaxgas(_maxGas); emit SetMaxgas(msg.sender, _maxGas); } function setMaxfee(uint _maxFee) external onlyMessageOwner { MESSAGEv3.setMaxfee(_maxFee); emit SetMaxfee(msg.sender, _maxFee); } function recoverToken(address _token, uint _amount) external onlyMessageOwner { if(_token == address(0)) { payable(msg.sender).transfer(_amount); } else { IERC20cl(_token).transfer(msg.sender, _amount); } emit RecoverToken(msg.sender, _token, _amount); } function isSelf(address _sender, uint _sourceChainId) public view returns (bool) { if(_sender == CHAINS[_sourceChainId].endpoint) return true; return false; } function isAuthorized(address _sender, uint _sourceChainId) external view returns (bool) { return isSelf(_sender, _sourceChainId); } receive() external payable {} fallback() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; import {IERC20Permit} from "../extensions/IERC20Permit.sol"; import {Address} from "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev An operation with an ERC20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data); if (returndata.length != 0 && !abi.decode(returndata, (bool))) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IWETH { function balanceOf(address add) external view returns (uint); function deposit() external payable; function withdraw(uint wad) external; function transfer(address to, uint256 value) external returns (bool); }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"cronosCawToken_","type":"address"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"uniswapRouter_","type":"address"},{"internalType":"address","name":"cronosVault_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"cronosSender","type":"address"},{"indexed":true,"internalType":"bytes32","name":"solanaRecipient","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BridgeTokensLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"MessageOwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RecoverToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"exsig","type":"address"}],"name":"SetExsig","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"maxfee","type":"uint256"}],"name":"SetMaxfee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"maxGas","type":"uint256"}],"name":"SetMaxgas","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"CHAINS","outputs":[{"internalType":"address","name":"endpoint","type":"address"},{"internalType":"bytes","name":"endpointExtended","type":"bytes"},{"internalType":"uint16","name":"confirmations","type":"uint16"},{"internalType":"bool","name":"extended","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CRONOS_CAW_TOKEN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CRONOS_VAULT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_TOKEN","outputs":[{"internalType":"contract IERC20cl","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MESSAGE_OWNER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MESSAGEv3","outputs":[{"internalType":"contract IMessageV3","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_ROUTER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WCRO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"solanaRecipient","type":"bytes32"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bridgeToSolana","outputs":[{"internalType":"uint256","name":"txId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_messageV3","type":"address"},{"internalType":"uint256[]","name":"_chains","type":"uint256[]"},{"internalType":"address[]","name":"_endpoints","type":"address[]"},{"internalType":"uint16[]","name":"_confirmations","type":"uint16[]"}],"name":"configureClient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_messageV3","type":"address"},{"internalType":"uint256[]","name":"_chains","type":"uint256[]"},{"internalType":"bytes[]","name":"_endpoints","type":"bytes[]"},{"internalType":"uint16[]","name":"_confirmations","type":"uint16[]"}],"name":"configureClientExtended","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRequiredCroForFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_sourceChainId","type":"uint256"}],"name":"isAuthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_sourceChainId","type":"uint256"}],"name":"isSelf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_txId","type":"uint256"},{"internalType":"uint256","name":"_sourceChainId","type":"uint256"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_reference","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"messageProcess","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setExsig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFee","type":"uint256"}],"name":"setMaxfee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxGas","type":"uint256"}],"name":"setMaxgas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newMessageOwner","type":"address"}],"name":"transferMessageOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101006040523480156200001257600080fd5b5060405162003aa238038062003aa2833981810160405281019062000038919062000277565b33600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff1681525050600060a05190508073ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001cf9190620002e9565b73ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff168152505050505050506200031b565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200023f8262000212565b9050919050565b620002518162000232565b81146200025d57600080fd5b50565b600081519050620002718162000246565b92915050565b600080600080608085870312156200029457620002936200020d565b5b6000620002a48782880162000260565b9450506020620002b78782880162000260565b9350506040620002ca8782880162000260565b9250506060620002dd8782880162000260565b91505092959194509250565b6000602082840312156200030257620003016200020d565b5b6000620003128482850162000260565b91505092915050565b60805160a05160c05160e0516137316200037160003960008181610b3c0152611408015260006104dc01526000818161142c015281816116710152611d99015260008181610b5e01526115a701526137316000f3fe6080604052600436106101235760003560e01c8063a2b0bed5116100a0578063c6f31f5511610064578063c6f31f55146103e1578063d82649201461040c578063e47ad74d14610437578063fb2b5df614610460578063fdebe3101461048b5761012a565b8063a2b0bed51461030d578063b29a81401461033d578063b479a96114610366578063b7f494a41461038f578063c60853f6146103b85761012a565b8063559b2f65116100e7578063559b2f65146102255780635f46e7401461024e57806373717b0814610277578063853c75d8146102a257806392ae12fd146102cd5761012a565b80630d0298021461012c5780631d470cb11461015757806320bfe342146101825780632972b0f0146101bf5780632ee02d7c146101fc5761012a565b3661012a57005b005b34801561013857600080fd5b506101416104b6565b60405161014e91906124e4565b60405180910390f35b34801561016357600080fd5b5061016c6104da565b6040516101799190612520565b60405180910390f35b34801561018e57600080fd5b506101a960048036038101906101a491906125b1565b6104fe565b6040516101b6919061260c565b60405180910390f35b3480156101cb57600080fd5b506101e660048036038101906101e191906125b1565b61057d565b6040516101f3919061260c565b60405180910390f35b34801561020857600080fd5b50610223600480360381019061021e9190612738565b610591565b005b34801561023157600080fd5b5061024c60048036038101906102479190612801565b6107a9565b005b34801561025a57600080fd5b5061027560048036038101906102709190612884565b6108b6565b005b34801561028357600080fd5b5061028c6109f5565b6040516102999190612954565b60405180910390f35b3480156102ae57600080fd5b506102b7610a1b565b6040516102c49190612520565b60405180910390f35b3480156102d957600080fd5b506102f460048036038101906102ef919061296f565b610a41565b6040516103049493929190612a49565b60405180910390f35b61032760048036038101906103229190612acb565b610b34565b6040516103349190612b1a565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f91906125b1565b610d35565b005b34801561037257600080fd5b5061038d6004803603810190610388919061296f565b610f04565b005b34801561039b57600080fd5b506103b660048036038101906103b19190612b8b565b61105b565b005b3480156103c457600080fd5b506103df60048036038101906103da9190612801565b6112af565b005b3480156103ed57600080fd5b506103f6611406565b6040516104039190612520565b60405180910390f35b34801561041857600080fd5b5061042161142a565b60405161042e9190612520565b60405180910390f35b34801561044357600080fd5b5061045e6004803603810190610459919061296f565b61144e565b005b34801561046c57600080fd5b506104756115a5565b6040516104829190612c75565b60405180910390f35b34801561049757600080fd5b506104a06115c9565b6040516104ad9190612b1a565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006002600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036105725760019050610577565b600090505b92915050565b600061058983836104fe565b905092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061890612ced565b60405180910390fd5b600086869050905060005b818110156107955783838281811061064757610646612d0d565b5b905060200201602081019061065c9190612d68565b600260008a8a8581811061067357610672612d0d565b5b90506020020135815260200190815260200160002060020160006101000a81548161ffff021916908361ffff1602179055508585828181106106b8576106b7612d0d565b5b90506020020160208101906106cd9190612801565b600260008a8a858181106106e4576106e3612d0d565b5b90506020020135815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260008a8a8581811061075357610752612d0d565b5b90506020020135815260200190815260200160002060020160026101000a81548160ff021916908315150217905550808061078d90612dc4565b91505061062c565b5061079f886118b8565b5050505050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083090612ced565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe1a25f463c6504824e91268b5b2c05658d5358c9c1698a85346cfae5336a642e33826040516108ab929190612e0c565b60405180910390a150565b848660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093d90612ced565b60405180910390fd5b6002600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146109ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e190612ced565b60405180910390fd5b505050505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001018054610a8a90612e64565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab690612e64565b8015610b035780601f10610ad857610100808354040283529160200191610b03565b820191906000526020600020905b815481529060010190602001808311610ae657829003601f168201915b5050505050908060020160009054906101000a900461ffff16908060020160029054906101000a900460ff16905084565b6000610ba3337f0000000000000000000000000000000000000000000000000000000000000000847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16611d12909392919063ffffffff16565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166382cbdacf61a4b160006040518363ffffffff1660e01b8152600401610c04929190612e95565b602060405180830381865afa158015610c21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c459190612ed3565b90506000610c5282611d94565b905080341115610caf573373ffffffffffffffffffffffffffffffffffffffff166108fc8234610c829190612f00565b9081150290604051600060405180830381858888f19350505050158015610cad573d6000803e3d6000fd5b505b843373ffffffffffffffffffffffffffffffffffffffff167fa6c1223e5d0fc41133626d0d17d5be0fad5d12dd13004df99e0eaee8d0c3a7f086604051610cf69190612b1a565b60405180910390a3610d2b61a4b18686604051602001610d17929190612f43565b604051602081830303815290604052611fe8565b9250505092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc90612ced565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e45573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e3f573d6000803e3d6000fd5b50610ec5565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610e80929190612f6c565b6020604051808303816000875af1158015610e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec39190612fc1565b505b7f16a1412f01b73c390eb2548427101644aa86c1443c272f73df00fb74c48fe499338383604051610ef893929190612fee565b60405180910390a15050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8b90612ced565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b479a961826040518263ffffffff1660e01b8152600401610fed9190612b1a565b600060405180830381600087803b15801561100757600080fd5b505af115801561101b573d6000803e3d6000fd5b505050507f7b6bdf5a54b984bdb41e777eb126123085d57633ab56d408d9a1d39dd894e7bb3382604051611050929190612f6c565b60405180910390a150565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e290612ced565b60405180910390fd5b600086869050905060005b8181101561129b5783838281811061111157611110612d0d565b5b90506020020160208101906111269190612d68565b600260008a8a8581811061113d5761113c612d0d565b5b90506020020135815260200190815260200160002060020160006101000a81548161ffff021916908361ffff16021790555085858281811061118257611181612d0d565b5b90506020028101906111949190613034565b600260008b8b868181106111ab576111aa612d0d565b5b90506020020135815260200190815260200160002060010191826111d0929190613273565b506001600260008a8a858181106111ea576111e9612d0d565b5b90506020020135815260200190815260200160002060020160026101000a81548160ff0219169083151502179055506001600260008a8a8581811061123257611231612d0d565b5b90506020020135815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808061129390612dc4565b9150506110f6565b506112a5886118b8565b5050505050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461133f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133690612ced565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c60853f6826040518263ffffffff1660e01b81526004016113989190612520565b600060405180830381600087803b1580156113b257600080fd5b505af11580156113c6573d6000803e3d6000fd5b505050507f3785abad972484d82ebc033d8eb190737cd209b24e7f853dd622e415c3f537a233826040516113fb929190612e0c565b60405180910390a150565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d590612ced565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47ad74d826040518263ffffffff1660e01b81526004016115379190612b1a565b600060405180830381600087803b15801561155157600080fd5b505af1158015611565573d6000803e3d6000fd5b505050507f83f76efc0c025b2e3779f7bcead5a89ddaf05dc7829157cdab021a8591e7a6f9338260405161159a929190612f6c565b60405180910390a150565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166382cbdacf61a4b160006040518363ffffffff1660e01b815260040161162a929190612e95565b602060405180830381865afa158015611647573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166b9190612ed3565b905060007f000000000000000000000000000000000000000000000000000000000000000090506000600267ffffffffffffffff8111156116af576116ae6130a2565b5b6040519080825280602002602001820160405280156116dd5781602001602082028036833780820191505090505b5090508173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561172b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174f9190613358565b8160008151811061176357611762612d0d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816001815181106117d4576117d3612d0d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060008273ffffffffffffffffffffffffffffffffffffffff16631f00ca7485846040518363ffffffff1660e01b815260040161184b929190613443565b600060405180830381865afa158015611868573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906118919190613582565b9050806000815181106118a7576118a6612d0d565b5b602002602001015194505050505090565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663647846a56040518163ffffffff1660e01b8152600401602060405180830381865afa158015611963573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119879190613358565b600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611aff57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401611aba929190612f6c565b6020604051808303816000875af1158015611ad9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611afd9190612fc1565b505b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633fc8cef36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba69190613358565b73ffffffffffffffffffffffffffffffffffffffff1614611d0f5760008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633fc8cef36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c509190613358565b73ffffffffffffffffffffffffffffffffffffffff1663095ea7b360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401611cca929190612f6c565b6020604051808303816000875af1158015611ce9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0d9190612fc1565b505b50565b611d8e848573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401611d4793929190612fee565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612217565b50505050565b6000807f000000000000000000000000000000000000000000000000000000000000000090506000600267ffffffffffffffff811115611dd757611dd66130a2565b5b604051908082528060200260200182016040528015611e055781602001602082028036833780820191505090505b5090508173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e779190613358565b81600081518110611e8b57611e8a612d0d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600181518110611efc57611efb612d0d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060008273ffffffffffffffffffffffffffffffffffffffff1663fb3bdb4134878530426040518663ffffffff1660e01b8152600401611f7894939291906135cb565b60006040518083038185885af1158015611f96573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f82011682018060405250810190611fc09190613582565b905080600081518110611fd657611fd5612d0d565b5b60200260200101519350505050919050565b600080600260008581526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201805461206f90612e64565b80601f016020809104026020016040519081016040528092919081815260200182805461209b90612e64565b80156120e85780601f106120bd576101008083540402835291602001916120e8565b820191906000526020600020905b8154815290600101906020018083116120cb57829003601f168201915b505050505081526020016002820160009054906101000a900461ffff1661ffff1661ffff1681526020016002820160029054906101000a900460ff16151515158152505090508060600151156121615782816020015160405160200161214f929190613617565b60405160208183030381529060405292505b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fdadc90c82600001518686856040015160006040518663ffffffff1660e01b81526004016121cb95949392919061364e565b6020604051808303816000875af11580156121ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220e9190612ed3565b91505092915050565b6000612242828473ffffffffffffffffffffffffffffffffffffffff166122ae90919063ffffffff16565b905060008151141580156122675750808060200190518101906122659190612fc1565b155b156122a957826040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016122a09190612520565b60405180910390fd5b505050565b60606122bc838360006122c4565b905092915050565b60608147101561230b57306040517fcd7860590000000000000000000000000000000000000000000000000000000081526004016123029190612520565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff16848660405161233491906136e4565b60006040518083038185875af1925050503d8060008114612371576040519150601f19603f3d011682016040523d82523d6000602084013e612376565b606091505b5091509150612386868383612391565b925050509392505050565b6060826123a6576123a182612420565b612418565b600082511480156123ce575060008473ffffffffffffffffffffffffffffffffffffffff163b145b1561241057836040517f9996b3150000000000000000000000000000000000000000000000000000000081526004016124079190612520565b60405180910390fd5b819050612419565b5b9392505050565b6000815111156124335780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006124aa6124a56124a084612465565b612485565b612465565b9050919050565b60006124bc8261248f565b9050919050565b60006124ce826124b1565b9050919050565b6124de816124c3565b82525050565b60006020820190506124f960008301846124d5565b92915050565b600061250a82612465565b9050919050565b61251a816124ff565b82525050565b60006020820190506125356000830184612511565b92915050565b6000604051905090565b600080fd5b600080fd5b612558816124ff565b811461256357600080fd5b50565b6000813590506125758161254f565b92915050565b6000819050919050565b61258e8161257b565b811461259957600080fd5b50565b6000813590506125ab81612585565b92915050565b600080604083850312156125c8576125c7612545565b5b60006125d685828601612566565b92505060206125e78582860161259c565b9150509250929050565b60008115159050919050565b612606816125f1565b82525050565b600060208201905061262160008301846125fd565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261264c5761264b612627565b5b8235905067ffffffffffffffff8111156126695761266861262c565b5b60208301915083602082028301111561268557612684612631565b5b9250929050565b60008083601f8401126126a2576126a1612627565b5b8235905067ffffffffffffffff8111156126bf576126be61262c565b5b6020830191508360208202830111156126db576126da612631565b5b9250929050565b60008083601f8401126126f8576126f7612627565b5b8235905067ffffffffffffffff8111156127155761271461262c565b5b60208301915083602082028301111561273157612730612631565b5b9250929050565b60008060008060008060006080888a03121561275757612756612545565b5b60006127658a828b01612566565b975050602088013567ffffffffffffffff8111156127865761278561254a565b5b6127928a828b01612636565b9650965050604088013567ffffffffffffffff8111156127b5576127b461254a565b5b6127c18a828b0161268c565b9450945050606088013567ffffffffffffffff8111156127e4576127e361254a565b5b6127f08a828b016126e2565b925092505092959891949750929550565b60006020828403121561281757612816612545565b5b600061282584828501612566565b91505092915050565b60008083601f84011261284457612843612627565b5b8235905067ffffffffffffffff8111156128615761286061262c565b5b60208301915083600182028301111561287d5761287c612631565b5b9250929050565b600080600080600080600060c0888a0312156128a3576128a2612545565b5b60006128b18a828b0161259c565b97505060206128c28a828b0161259c565b96505060406128d38a828b01612566565b95505060606128e48a828b01612566565b94505060806128f58a828b0161259c565b93505060a088013567ffffffffffffffff8111156129165761291561254a565b5b6129228a828b0161282e565b925092505092959891949750929550565b600061293e826124b1565b9050919050565b61294e81612933565b82525050565b60006020820190506129696000830184612945565b92915050565b60006020828403121561298557612984612545565b5b60006129938482850161259c565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129d65780820151818401526020810190506129bb565b60008484015250505050565b6000601f19601f8301169050919050565b60006129fe8261299c565b612a0881856129a7565b9350612a188185602086016129b8565b612a21816129e2565b840191505092915050565b600061ffff82169050919050565b612a4381612a2c565b82525050565b6000608082019050612a5e6000830187612511565b8181036020830152612a7081866129f3565b9050612a7f6040830185612a3a565b612a8c60608301846125fd565b95945050505050565b6000819050919050565b612aa881612a95565b8114612ab357600080fd5b50565b600081359050612ac581612a9f565b92915050565b60008060408385031215612ae257612ae1612545565b5b6000612af085828601612ab6565b9250506020612b018582860161259c565b9150509250929050565b612b148161257b565b82525050565b6000602082019050612b2f6000830184612b0b565b92915050565b60008083601f840112612b4b57612b4a612627565b5b8235905067ffffffffffffffff811115612b6857612b6761262c565b5b602083019150836020820283011115612b8457612b83612631565b5b9250929050565b60008060008060008060006080888a031215612baa57612ba9612545565b5b6000612bb88a828b01612566565b975050602088013567ffffffffffffffff811115612bd957612bd861254a565b5b612be58a828b01612636565b9650965050604088013567ffffffffffffffff811115612c0857612c0761254a565b5b612c148a828b01612b35565b9450945050606088013567ffffffffffffffff811115612c3757612c3661254a565b5b612c438a828b016126e2565b925092505092959891949750929550565b6000612c5f826124b1565b9050919050565b612c6f81612c54565b82525050565b6000602082019050612c8a6000830184612c66565b92915050565b600082825260208201905092915050565b7f4d657373616765436c69656e743a206e6f7420617574686f72697a6564000000600082015250565b6000612cd7601d83612c90565b9150612ce282612ca1565b602082019050919050565b60006020820190508181036000830152612d0681612cca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b612d4581612a2c565b8114612d5057600080fd5b50565b600081359050612d6281612d3c565b92915050565b600060208284031215612d7e57612d7d612545565b5b6000612d8c84828501612d53565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612dcf8261257b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612e0157612e00612d95565b5b600182019050919050565b6000604082019050612e216000830185612511565b612e2e6020830184612511565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e7c57607f821691505b602082108103612e8f57612e8e612e35565b5b50919050565b6000604082019050612eaa6000830185612b0b565b612eb760208301846125fd565b9392505050565b600081519050612ecd81612585565b92915050565b600060208284031215612ee957612ee8612545565b5b6000612ef784828501612ebe565b91505092915050565b6000612f0b8261257b565b9150612f168361257b565b9250828203905081811115612f2e57612f2d612d95565b5b92915050565b612f3d81612a95565b82525050565b6000604082019050612f586000830185612f34565b612f656020830184612b0b565b9392505050565b6000604082019050612f816000830185612511565b612f8e6020830184612b0b565b9392505050565b612f9e816125f1565b8114612fa957600080fd5b50565b600081519050612fbb81612f95565b92915050565b600060208284031215612fd757612fd6612545565b5b6000612fe584828501612fac565b91505092915050565b60006060820190506130036000830186612511565b6130106020830185612511565b61301d6040830184612b0b565b949350505050565b600080fd5b600080fd5b600080fd5b6000808335600160200384360303811261305157613050613025565b5b80840192508235915067ffffffffffffffff8211156130735761307261302a565b5b60208301925060018202360383131561308f5761308e61302f565b5b509250929050565b600082905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026131337fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826130f6565b61313d86836130f6565b95508019841693508086168417925050509392505050565b600061317061316b6131668461257b565b612485565b61257b565b9050919050565b6000819050919050565b61318a83613155565b61319e61319682613177565b848454613103565b825550505050565b600090565b6131b36131a6565b6131be818484613181565b505050565b5b818110156131e2576131d76000826131ab565b6001810190506131c4565b5050565b601f821115613227576131f8816130d1565b613201846130e6565b81016020851015613210578190505b61322461321c856130e6565b8301826131c3565b50505b505050565b600082821c905092915050565b600061324a6000198460080261322c565b1980831691505092915050565b60006132638383613239565b9150826002028217905092915050565b61327d8383613097565b67ffffffffffffffff811115613296576132956130a2565b5b6132a08254612e64565b6132ab8282856131e6565b6000601f8311600181146132da57600084156132c8578287013590505b6132d28582613257565b86555061333a565b601f1984166132e8866130d1565b60005b82811015613310578489013582556001820191506020850194506020810190506132eb565b8683101561332d5784890135613329601f891682613239565b8355505b6001600288020188555050505b50505050505050565b6000815190506133528161254f565b92915050565b60006020828403121561336e5761336d612545565b5b600061337c84828501613343565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6133ba816124ff565b82525050565b60006133cc83836133b1565b60208301905092915050565b6000602082019050919050565b60006133f082613385565b6133fa8185613390565b9350613405836133a1565b8060005b8381101561343657815161341d88826133c0565b9750613428836133d8565b925050600181019050613409565b5085935050505092915050565b60006040820190506134586000830185612b0b565b818103602083015261346a81846133e5565b90509392505050565b61347c826129e2565b810181811067ffffffffffffffff8211171561349b5761349a6130a2565b5b80604052505050565b60006134ae61253b565b90506134ba8282613473565b919050565b600067ffffffffffffffff8211156134da576134d96130a2565b5b602082029050602081019050919050565b60006134fe6134f9846134bf565b6134a4565b9050808382526020820190506020840283018581111561352157613520612631565b5b835b8181101561354a57806135368882612ebe565b845260208401935050602081019050613523565b5050509392505050565b600082601f83011261356957613568612627565b5b81516135798482602086016134eb565b91505092915050565b60006020828403121561359857613597612545565b5b600082015167ffffffffffffffff8111156135b6576135b561254a565b5b6135c284828501613554565b91505092915050565b60006080820190506135e06000830187612b0b565b81810360208301526135f281866133e5565b90506136016040830185612511565b61360e6060830184612b0b565b95945050505050565b6000604082019050818103600083015261363181856129f3565b9050818103602083015261364581846129f3565b90509392505050565b600060a0820190506136636000830188612511565b6136706020830187612b0b565b818103604083015261368281866129f3565b90506136916060830185612a3a565b61369e60808301846125fd565b9695505050505050565b600081905092915050565b60006136be8261299c565b6136c881856136a8565b93506136d88185602086016129b8565b80840191505092915050565b60006136f082846136b3565b91508190509291505056fea2646970667358221220f164226f5364614e7f585b5cd35b8bdd9a4551d786af7d8f8e56b052e632766264736f6c634300081400330000000000000000000000004165bdf9a44da19b229c2df149b677985479ed85000000000000000000000000ee45228d8f32beef8f9683fe5fab825daa067b8d000000000000000000000000145863eb42cf62847a6ca784e6416c1682b1b2ae00000000000000000000000022531b5d22abc6659c6bfaad28678be5412107e3
Deployed Bytecode
0x6080604052600436106101235760003560e01c8063a2b0bed5116100a0578063c6f31f5511610064578063c6f31f55146103e1578063d82649201461040c578063e47ad74d14610437578063fb2b5df614610460578063fdebe3101461048b5761012a565b8063a2b0bed51461030d578063b29a81401461033d578063b479a96114610366578063b7f494a41461038f578063c60853f6146103b85761012a565b8063559b2f65116100e7578063559b2f65146102255780635f46e7401461024e57806373717b0814610277578063853c75d8146102a257806392ae12fd146102cd5761012a565b80630d0298021461012c5780631d470cb11461015757806320bfe342146101825780632972b0f0146101bf5780632ee02d7c146101fc5761012a565b3661012a57005b005b34801561013857600080fd5b506101416104b6565b60405161014e91906124e4565b60405180910390f35b34801561016357600080fd5b5061016c6104da565b6040516101799190612520565b60405180910390f35b34801561018e57600080fd5b506101a960048036038101906101a491906125b1565b6104fe565b6040516101b6919061260c565b60405180910390f35b3480156101cb57600080fd5b506101e660048036038101906101e191906125b1565b61057d565b6040516101f3919061260c565b60405180910390f35b34801561020857600080fd5b50610223600480360381019061021e9190612738565b610591565b005b34801561023157600080fd5b5061024c60048036038101906102479190612801565b6107a9565b005b34801561025a57600080fd5b5061027560048036038101906102709190612884565b6108b6565b005b34801561028357600080fd5b5061028c6109f5565b6040516102999190612954565b60405180910390f35b3480156102ae57600080fd5b506102b7610a1b565b6040516102c49190612520565b60405180910390f35b3480156102d957600080fd5b506102f460048036038101906102ef919061296f565b610a41565b6040516103049493929190612a49565b60405180910390f35b61032760048036038101906103229190612acb565b610b34565b6040516103349190612b1a565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f91906125b1565b610d35565b005b34801561037257600080fd5b5061038d6004803603810190610388919061296f565b610f04565b005b34801561039b57600080fd5b506103b660048036038101906103b19190612b8b565b61105b565b005b3480156103c457600080fd5b506103df60048036038101906103da9190612801565b6112af565b005b3480156103ed57600080fd5b506103f6611406565b6040516104039190612520565b60405180910390f35b34801561041857600080fd5b5061042161142a565b60405161042e9190612520565b60405180910390f35b34801561044357600080fd5b5061045e6004803603810190610459919061296f565b61144e565b005b34801561046c57600080fd5b506104756115a5565b6040516104829190612c75565b60405180910390f35b34801561049757600080fd5b506104a06115c9565b6040516104ad9190612b1a565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f0000000000000000000000005c7f8a570d578ed84e63fdfa7b1ee72deae1ae2381565b60006002600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036105725760019050610577565b600090505b92915050565b600061058983836104fe565b905092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061890612ced565b60405180910390fd5b600086869050905060005b818110156107955783838281811061064757610646612d0d565b5b905060200201602081019061065c9190612d68565b600260008a8a8581811061067357610672612d0d565b5b90506020020135815260200190815260200160002060020160006101000a81548161ffff021916908361ffff1602179055508585828181106106b8576106b7612d0d565b5b90506020020160208101906106cd9190612801565b600260008a8a858181106106e4576106e3612d0d565b5b90506020020135815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260008a8a8581811061075357610752612d0d565b5b90506020020135815260200190815260200160002060020160026101000a81548160ff021916908315150217905550808061078d90612dc4565b91505061062c565b5061079f886118b8565b5050505050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083090612ced565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe1a25f463c6504824e91268b5b2c05658d5358c9c1698a85346cfae5336a642e33826040516108ab929190612e0c565b60405180910390a150565b848660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093d90612ced565b60405180910390fd5b6002600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146109ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e190612ced565b60405180910390fd5b505050505050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001018054610a8a90612e64565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab690612e64565b8015610b035780601f10610ad857610100808354040283529160200191610b03565b820191906000526020600020905b815481529060010190602001808311610ae657829003601f168201915b5050505050908060020160009054906101000a900461ffff16908060020160029054906101000a900460ff16905084565b6000610ba3337f00000000000000000000000022531b5d22abc6659c6bfaad28678be5412107e3847f0000000000000000000000004165bdf9a44da19b229c2df149b677985479ed8573ffffffffffffffffffffffffffffffffffffffff16611d12909392919063ffffffff16565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166382cbdacf61a4b160006040518363ffffffff1660e01b8152600401610c04929190612e95565b602060405180830381865afa158015610c21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c459190612ed3565b90506000610c5282611d94565b905080341115610caf573373ffffffffffffffffffffffffffffffffffffffff166108fc8234610c829190612f00565b9081150290604051600060405180830381858888f19350505050158015610cad573d6000803e3d6000fd5b505b843373ffffffffffffffffffffffffffffffffffffffff167fa6c1223e5d0fc41133626d0d17d5be0fad5d12dd13004df99e0eaee8d0c3a7f086604051610cf69190612b1a565b60405180910390a3610d2b61a4b18686604051602001610d17929190612f43565b604051602081830303815290604052611fe8565b9250505092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc90612ced565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e45573373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e3f573d6000803e3d6000fd5b50610ec5565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610e80929190612f6c565b6020604051808303816000875af1158015610e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec39190612fc1565b505b7f16a1412f01b73c390eb2548427101644aa86c1443c272f73df00fb74c48fe499338383604051610ef893929190612fee565b60405180910390a15050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8b90612ced565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b479a961826040518263ffffffff1660e01b8152600401610fed9190612b1a565b600060405180830381600087803b15801561100757600080fd5b505af115801561101b573d6000803e3d6000fd5b505050507f7b6bdf5a54b984bdb41e777eb126123085d57633ab56d408d9a1d39dd894e7bb3382604051611050929190612f6c565b60405180910390a150565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e290612ced565b60405180910390fd5b600086869050905060005b8181101561129b5783838281811061111157611110612d0d565b5b90506020020160208101906111269190612d68565b600260008a8a8581811061113d5761113c612d0d565b5b90506020020135815260200190815260200160002060020160006101000a81548161ffff021916908361ffff16021790555085858281811061118257611181612d0d565b5b90506020028101906111949190613034565b600260008b8b868181106111ab576111aa612d0d565b5b90506020020135815260200190815260200160002060010191826111d0929190613273565b506001600260008a8a858181106111ea576111e9612d0d565b5b90506020020135815260200190815260200160002060020160026101000a81548160ff0219169083151502179055506001600260008a8a8581811061123257611231612d0d565b5b90506020020135815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808061129390612dc4565b9150506110f6565b506112a5886118b8565b5050505050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461133f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133690612ced565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c60853f6826040518263ffffffff1660e01b81526004016113989190612520565b600060405180830381600087803b1580156113b257600080fd5b505af11580156113c6573d6000803e3d6000fd5b505050507f3785abad972484d82ebc033d8eb190737cd209b24e7f853dd622e415c3f537a233826040516113fb929190612e0c565b60405180910390a150565b7f00000000000000000000000022531b5d22abc6659c6bfaad28678be5412107e381565b7f000000000000000000000000145863eb42cf62847a6ca784e6416c1682b1b2ae81565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d590612ced565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47ad74d826040518263ffffffff1660e01b81526004016115379190612b1a565b600060405180830381600087803b15801561155157600080fd5b505af1158015611565573d6000803e3d6000fd5b505050507f83f76efc0c025b2e3779f7bcead5a89ddaf05dc7829157cdab021a8591e7a6f9338260405161159a929190612f6c565b60405180910390a150565b7f0000000000000000000000004165bdf9a44da19b229c2df149b677985479ed8581565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166382cbdacf61a4b160006040518363ffffffff1660e01b815260040161162a929190612e95565b602060405180830381865afa158015611647573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166b9190612ed3565b905060007f000000000000000000000000145863eb42cf62847a6ca784e6416c1682b1b2ae90506000600267ffffffffffffffff8111156116af576116ae6130a2565b5b6040519080825280602002602001820160405280156116dd5781602001602082028036833780820191505090505b5090508173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561172b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174f9190613358565b8160008151811061176357611762612d0d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16816001815181106117d4576117d3612d0d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060008273ffffffffffffffffffffffffffffffffffffffff16631f00ca7485846040518363ffffffff1660e01b815260040161184b929190613443565b600060405180830381865afa158015611868573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906118919190613582565b9050806000815181106118a7576118a6612d0d565b5b602002602001015194505050505090565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663647846a56040518163ffffffff1660e01b8152600401602060405180830381865afa158015611963573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119879190613358565b600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611aff57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401611aba929190612f6c565b6020604051808303816000875af1158015611ad9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611afd9190612fc1565b505b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633fc8cef36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba69190613358565b73ffffffffffffffffffffffffffffffffffffffff1614611d0f5760008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633fc8cef36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c509190613358565b73ffffffffffffffffffffffffffffffffffffffff1663095ea7b360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401611cca929190612f6c565b6020604051808303816000875af1158015611ce9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0d9190612fc1565b505b50565b611d8e848573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401611d4793929190612fee565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612217565b50505050565b6000807f000000000000000000000000145863eb42cf62847a6ca784e6416c1682b1b2ae90506000600267ffffffffffffffff811115611dd757611dd66130a2565b5b604051908082528060200260200182016040528015611e055781602001602082028036833780820191505090505b5090508173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e779190613358565b81600081518110611e8b57611e8a612d0d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600181518110611efc57611efb612d0d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060008273ffffffffffffffffffffffffffffffffffffffff1663fb3bdb4134878530426040518663ffffffff1660e01b8152600401611f7894939291906135cb565b60006040518083038185885af1158015611f96573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f82011682018060405250810190611fc09190613582565b905080600081518110611fd657611fd5612d0d565b5b60200260200101519350505050919050565b600080600260008581526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201805461206f90612e64565b80601f016020809104026020016040519081016040528092919081815260200182805461209b90612e64565b80156120e85780601f106120bd576101008083540402835291602001916120e8565b820191906000526020600020905b8154815290600101906020018083116120cb57829003601f168201915b505050505081526020016002820160009054906101000a900461ffff1661ffff1661ffff1681526020016002820160029054906101000a900460ff16151515158152505090508060600151156121615782816020015160405160200161214f929190613617565b60405160208183030381529060405292505b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fdadc90c82600001518686856040015160006040518663ffffffff1660e01b81526004016121cb95949392919061364e565b6020604051808303816000875af11580156121ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220e9190612ed3565b91505092915050565b6000612242828473ffffffffffffffffffffffffffffffffffffffff166122ae90919063ffffffff16565b905060008151141580156122675750808060200190518101906122659190612fc1565b155b156122a957826040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016122a09190612520565b60405180910390fd5b505050565b60606122bc838360006122c4565b905092915050565b60608147101561230b57306040517fcd7860590000000000000000000000000000000000000000000000000000000081526004016123029190612520565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff16848660405161233491906136e4565b60006040518083038185875af1925050503d8060008114612371576040519150601f19603f3d011682016040523d82523d6000602084013e612376565b606091505b5091509150612386868383612391565b925050509392505050565b6060826123a6576123a182612420565b612418565b600082511480156123ce575060008473ffffffffffffffffffffffffffffffffffffffff163b145b1561241057836040517f9996b3150000000000000000000000000000000000000000000000000000000081526004016124079190612520565b60405180910390fd5b819050612419565b5b9392505050565b6000815111156124335780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006124aa6124a56124a084612465565b612485565b612465565b9050919050565b60006124bc8261248f565b9050919050565b60006124ce826124b1565b9050919050565b6124de816124c3565b82525050565b60006020820190506124f960008301846124d5565b92915050565b600061250a82612465565b9050919050565b61251a816124ff565b82525050565b60006020820190506125356000830184612511565b92915050565b6000604051905090565b600080fd5b600080fd5b612558816124ff565b811461256357600080fd5b50565b6000813590506125758161254f565b92915050565b6000819050919050565b61258e8161257b565b811461259957600080fd5b50565b6000813590506125ab81612585565b92915050565b600080604083850312156125c8576125c7612545565b5b60006125d685828601612566565b92505060206125e78582860161259c565b9150509250929050565b60008115159050919050565b612606816125f1565b82525050565b600060208201905061262160008301846125fd565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261264c5761264b612627565b5b8235905067ffffffffffffffff8111156126695761266861262c565b5b60208301915083602082028301111561268557612684612631565b5b9250929050565b60008083601f8401126126a2576126a1612627565b5b8235905067ffffffffffffffff8111156126bf576126be61262c565b5b6020830191508360208202830111156126db576126da612631565b5b9250929050565b60008083601f8401126126f8576126f7612627565b5b8235905067ffffffffffffffff8111156127155761271461262c565b5b60208301915083602082028301111561273157612730612631565b5b9250929050565b60008060008060008060006080888a03121561275757612756612545565b5b60006127658a828b01612566565b975050602088013567ffffffffffffffff8111156127865761278561254a565b5b6127928a828b01612636565b9650965050604088013567ffffffffffffffff8111156127b5576127b461254a565b5b6127c18a828b0161268c565b9450945050606088013567ffffffffffffffff8111156127e4576127e361254a565b5b6127f08a828b016126e2565b925092505092959891949750929550565b60006020828403121561281757612816612545565b5b600061282584828501612566565b91505092915050565b60008083601f84011261284457612843612627565b5b8235905067ffffffffffffffff8111156128615761286061262c565b5b60208301915083600182028301111561287d5761287c612631565b5b9250929050565b600080600080600080600060c0888a0312156128a3576128a2612545565b5b60006128b18a828b0161259c565b97505060206128c28a828b0161259c565b96505060406128d38a828b01612566565b95505060606128e48a828b01612566565b94505060806128f58a828b0161259c565b93505060a088013567ffffffffffffffff8111156129165761291561254a565b5b6129228a828b0161282e565b925092505092959891949750929550565b600061293e826124b1565b9050919050565b61294e81612933565b82525050565b60006020820190506129696000830184612945565b92915050565b60006020828403121561298557612984612545565b5b60006129938482850161259c565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129d65780820151818401526020810190506129bb565b60008484015250505050565b6000601f19601f8301169050919050565b60006129fe8261299c565b612a0881856129a7565b9350612a188185602086016129b8565b612a21816129e2565b840191505092915050565b600061ffff82169050919050565b612a4381612a2c565b82525050565b6000608082019050612a5e6000830187612511565b8181036020830152612a7081866129f3565b9050612a7f6040830185612a3a565b612a8c60608301846125fd565b95945050505050565b6000819050919050565b612aa881612a95565b8114612ab357600080fd5b50565b600081359050612ac581612a9f565b92915050565b60008060408385031215612ae257612ae1612545565b5b6000612af085828601612ab6565b9250506020612b018582860161259c565b9150509250929050565b612b148161257b565b82525050565b6000602082019050612b2f6000830184612b0b565b92915050565b60008083601f840112612b4b57612b4a612627565b5b8235905067ffffffffffffffff811115612b6857612b6761262c565b5b602083019150836020820283011115612b8457612b83612631565b5b9250929050565b60008060008060008060006080888a031215612baa57612ba9612545565b5b6000612bb88a828b01612566565b975050602088013567ffffffffffffffff811115612bd957612bd861254a565b5b612be58a828b01612636565b9650965050604088013567ffffffffffffffff811115612c0857612c0761254a565b5b612c148a828b01612b35565b9450945050606088013567ffffffffffffffff811115612c3757612c3661254a565b5b612c438a828b016126e2565b925092505092959891949750929550565b6000612c5f826124b1565b9050919050565b612c6f81612c54565b82525050565b6000602082019050612c8a6000830184612c66565b92915050565b600082825260208201905092915050565b7f4d657373616765436c69656e743a206e6f7420617574686f72697a6564000000600082015250565b6000612cd7601d83612c90565b9150612ce282612ca1565b602082019050919050565b60006020820190508181036000830152612d0681612cca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b612d4581612a2c565b8114612d5057600080fd5b50565b600081359050612d6281612d3c565b92915050565b600060208284031215612d7e57612d7d612545565b5b6000612d8c84828501612d53565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612dcf8261257b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612e0157612e00612d95565b5b600182019050919050565b6000604082019050612e216000830185612511565b612e2e6020830184612511565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e7c57607f821691505b602082108103612e8f57612e8e612e35565b5b50919050565b6000604082019050612eaa6000830185612b0b565b612eb760208301846125fd565b9392505050565b600081519050612ecd81612585565b92915050565b600060208284031215612ee957612ee8612545565b5b6000612ef784828501612ebe565b91505092915050565b6000612f0b8261257b565b9150612f168361257b565b9250828203905081811115612f2e57612f2d612d95565b5b92915050565b612f3d81612a95565b82525050565b6000604082019050612f586000830185612f34565b612f656020830184612b0b565b9392505050565b6000604082019050612f816000830185612511565b612f8e6020830184612b0b565b9392505050565b612f9e816125f1565b8114612fa957600080fd5b50565b600081519050612fbb81612f95565b92915050565b600060208284031215612fd757612fd6612545565b5b6000612fe584828501612fac565b91505092915050565b60006060820190506130036000830186612511565b6130106020830185612511565b61301d6040830184612b0b565b949350505050565b600080fd5b600080fd5b600080fd5b6000808335600160200384360303811261305157613050613025565b5b80840192508235915067ffffffffffffffff8211156130735761307261302a565b5b60208301925060018202360383131561308f5761308e61302f565b5b509250929050565b600082905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026131337fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826130f6565b61313d86836130f6565b95508019841693508086168417925050509392505050565b600061317061316b6131668461257b565b612485565b61257b565b9050919050565b6000819050919050565b61318a83613155565b61319e61319682613177565b848454613103565b825550505050565b600090565b6131b36131a6565b6131be818484613181565b505050565b5b818110156131e2576131d76000826131ab565b6001810190506131c4565b5050565b601f821115613227576131f8816130d1565b613201846130e6565b81016020851015613210578190505b61322461321c856130e6565b8301826131c3565b50505b505050565b600082821c905092915050565b600061324a6000198460080261322c565b1980831691505092915050565b60006132638383613239565b9150826002028217905092915050565b61327d8383613097565b67ffffffffffffffff811115613296576132956130a2565b5b6132a08254612e64565b6132ab8282856131e6565b6000601f8311600181146132da57600084156132c8578287013590505b6132d28582613257565b86555061333a565b601f1984166132e8866130d1565b60005b82811015613310578489013582556001820191506020850194506020810190506132eb565b8683101561332d5784890135613329601f891682613239565b8355505b6001600288020188555050505b50505050505050565b6000815190506133528161254f565b92915050565b60006020828403121561336e5761336d612545565b5b600061337c84828501613343565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6133ba816124ff565b82525050565b60006133cc83836133b1565b60208301905092915050565b6000602082019050919050565b60006133f082613385565b6133fa8185613390565b9350613405836133a1565b8060005b8381101561343657815161341d88826133c0565b9750613428836133d8565b925050600181019050613409565b5085935050505092915050565b60006040820190506134586000830185612b0b565b818103602083015261346a81846133e5565b90509392505050565b61347c826129e2565b810181811067ffffffffffffffff8211171561349b5761349a6130a2565b5b80604052505050565b60006134ae61253b565b90506134ba8282613473565b919050565b600067ffffffffffffffff8211156134da576134d96130a2565b5b602082029050602081019050919050565b60006134fe6134f9846134bf565b6134a4565b9050808382526020820190506020840283018581111561352157613520612631565b5b835b8181101561354a57806135368882612ebe565b845260208401935050602081019050613523565b5050509392505050565b600082601f83011261356957613568612627565b5b81516135798482602086016134eb565b91505092915050565b60006020828403121561359857613597612545565b5b600082015167ffffffffffffffff8111156135b6576135b561254a565b5b6135c284828501613554565b91505092915050565b60006080820190506135e06000830187612b0b565b81810360208301526135f281866133e5565b90506136016040830185612511565b61360e6060830184612b0b565b95945050505050565b6000604082019050818103600083015261363181856129f3565b9050818103602083015261364581846129f3565b90509392505050565b600060a0820190506136636000830188612511565b6136706020830187612b0b565b818103604083015261368281866129f3565b90506136916060830185612a3a565b61369e60808301846125fd565b9695505050505050565b600081905092915050565b60006136be8261299c565b6136c881856136a8565b93506136d88185602086016129b8565b80840191505092915050565b60006136f082846136b3565b91508190509291505056fea2646970667358221220f164226f5364614e7f585b5cd35b8bdd9a4551d786af7d8f8e56b052e632766264736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004165bdf9a44da19b229c2df149b677985479ed85000000000000000000000000ee45228d8f32beef8f9683fe5fab825daa067b8d000000000000000000000000145863eb42cf62847a6ca784e6416c1682b1b2ae00000000000000000000000022531b5d22abc6659c6bfaad28678be5412107e3
-----Decoded View---------------
Arg [0] : cronosCawToken_ (address): 0x4165BDF9A44dA19b229c2df149b677985479ed85
Arg [1] : owner (address): 0xEe45228d8F32beEF8F9683FE5FAb825Daa067B8d
Arg [2] : uniswapRouter_ (address): 0x145863Eb42Cf62847A6Ca784e6416C1682b1b2Ae
Arg [3] : cronosVault_ (address): 0x22531B5d22abc6659C6BFAAD28678bE5412107E3
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000004165bdf9a44da19b229c2df149b677985479ed85
Arg [1] : 000000000000000000000000ee45228d8f32beef8f9683fe5fab825daa067b8d
Arg [2] : 000000000000000000000000145863eb42cf62847a6ca784e6416c1682b1b2ae
Arg [3] : 00000000000000000000000022531b5d22abc6659c6bfaad28678be5412107e3
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.