Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 22 from a total of 22 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw Reward ... | 20504996 | 85 days ago | IN | 0 ETH | 0.00005608 | ||||
Uni V2LPETH Mint | 17426681 | 517 days ago | IN | 0 ETH | 0.00268698 | ||||
Uni V2LPETH Mint | 17406793 | 519 days ago | IN | 0 ETH | 0.00294382 | ||||
Uni V2LPETH Mint | 17391574 | 522 days ago | IN | 0 ETH | 0.00396409 | ||||
Uni V2LPETH Mint | 17352048 | 527 days ago | IN | 0 ETH | 0.00333132 | ||||
Uni V2LPETH Mint | 17343236 | 528 days ago | IN | 0 ETH | 0.00396762 | ||||
Uni V2LPETH Mint | 17320964 | 531 days ago | IN | 0 ETH | 0.0061599 | ||||
Uni V2LPETH Mint | 17316715 | 532 days ago | IN | 0 ETH | 0.01313624 | ||||
Uni V2LPETH Mint | 17316637 | 532 days ago | IN | 0 ETH | 0.01064421 | ||||
Uni V2LPETH Mint | 17311011 | 533 days ago | IN | 0 ETH | 0.00391898 | ||||
Uni V2LPETH Mint | 17309906 | 533 days ago | IN | 0 ETH | 0.00540057 | ||||
Uni V2LPETH Mint | 17308932 | 533 days ago | IN | 0 ETH | 0.00431081 | ||||
Uni V2LPETH Mint | 17308486 | 533 days ago | IN | 0 ETH | 0.00414125 | ||||
Uni V2LPETH Mint | 17308147 | 533 days ago | IN | 0 ETH | 0.00486677 | ||||
Uni V2LPETH Mint | 17306303 | 534 days ago | IN | 0 ETH | 0.00402406 | ||||
Uni V2LPETH Mint | 17302742 | 534 days ago | IN | 0 ETH | 0.00494568 | ||||
Uni V2LPETH Mint | 17302487 | 534 days ago | IN | 0 ETH | 0.00442621 | ||||
Uni V2LPETH Mint | 17302449 | 534 days ago | IN | 0 ETH | 0.00444325 | ||||
Uni V2LPETH Mint | 17302309 | 534 days ago | IN | 0 ETH | 0.00507085 | ||||
Uni V2LPETH Mint | 17302256 | 534 days ago | IN | 0 ETH | 0.00477936 | ||||
Uni V2LPETH Mint | 17302177 | 534 days ago | IN | 0 ETH | 0.0080979 | ||||
0x60806040 | 17302077 | 534 days ago | IN | 0 ETH | 0.13177341 |
Latest 20 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
17426681 | 517 days ago | Contract Creation | 0 ETH | |||
17406793 | 519 days ago | Contract Creation | 0 ETH | |||
17391574 | 522 days ago | Contract Creation | 0 ETH | |||
17352048 | 527 days ago | Contract Creation | 0 ETH | |||
17343236 | 528 days ago | Contract Creation | 0 ETH | |||
17320964 | 531 days ago | Contract Creation | 0 ETH | |||
17316715 | 532 days ago | Contract Creation | 0 ETH | |||
17316637 | 532 days ago | Contract Creation | 0 ETH | |||
17311011 | 533 days ago | Contract Creation | 0 ETH | |||
17309906 | 533 days ago | Contract Creation | 0 ETH | |||
17308932 | 533 days ago | Contract Creation | 0 ETH | |||
17308486 | 533 days ago | Contract Creation | 0 ETH | |||
17308147 | 533 days ago | Contract Creation | 0 ETH | |||
17306303 | 534 days ago | Contract Creation | 0 ETH | |||
17302742 | 534 days ago | Contract Creation | 0 ETH | |||
17302487 | 534 days ago | Contract Creation | 0 ETH | |||
17302449 | 534 days ago | Contract Creation | 0 ETH | |||
17302309 | 534 days ago | Contract Creation | 0 ETH | |||
17302256 | 534 days ago | Contract Creation | 0 ETH | |||
17302177 | 534 days ago | Contract Creation | 0 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x79115AE4...670FEE64D The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
UniV2LPETHFactory
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; pragma experimental ABIEncoderV2; import "./libraries/CloneLibrary.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; /// @author YFLOW Team /// @title UniV2LPETHFactory /// @notice Factory contract to create new instances contract UniV2LPETHFactory { using CloneLibrary for address; using SafeERC20 for IERC20; event NewUniV2LPETH(address uinv2LPETH, address client); event FactoryOwnerChanged(address newowner); event NewYieldManager(address newYieldManager); event NewUniV2LPETHImplementation(address newUniV2LPETHImplementation); event NewLPToken(address lptoken); event NewStakingTokenA(address stakingtokenA); event NewStakingContract(address stakingContract); event FeesWithdrawn(uint amount, address withdrawer); event NewSponsor(address sponsor, address client); event NewRewardStakingContract(address rewardStakingContract); event NewRewardStakingToken(address rewardStakingToken); event RecoverOpen(bool recover); address public factoryOwner; address public uniV2LPETHImplementation; address public yieldManager; address public lpToken; address public stakingTokenA; address public stakingContract; bool public recoverOpen; mapping(address => address) public stakingContractLookup; address public rewardStakingContract; address public rewardStakingToken; constructor( address _uniV2LPETHImplementation, address _yieldManager, address _lpToken, address _stakingTokenA, address _stakingContract ) { require(_uniV2LPETHImplementation != address(0), "No zero address for _uniV2LPETHImplementation"); require(_yieldManager != address(0), "No zero address for _yieldManager"); factoryOwner = msg.sender; uniV2LPETHImplementation = _uniV2LPETHImplementation; yieldManager = _yieldManager; lpToken = _lpToken; stakingTokenA = _stakingTokenA; stakingContract = _stakingContract; emit FactoryOwnerChanged(factoryOwner); emit NewUniV2LPETHImplementation(uniV2LPETHImplementation); emit NewYieldManager(yieldManager); emit NewLPToken(lpToken); emit NewStakingTokenA(stakingTokenA); emit NewStakingContract(stakingContract); } function uniV2LPETHMint(address sponsor) external returns(address uniV2) { uniV2 = uniV2LPETHImplementation.createClone(); emit NewUniV2LPETH(uniV2, msg.sender); stakingContractLookup[msg.sender] = uniV2; IUinV2LPETHImplementation(uniV2).initialize( msg.sender, address(this) ); if (sponsor != address(0) && sponsor != msg.sender && IYieldManager(yieldManager).getAffiliate(msg.sender) == address(0)) { IYieldManager(yieldManager).setAffiliate(msg.sender, sponsor); emit NewSponsor(sponsor, msg.sender); } } /** * @dev gets the address of the yield manager * * @return the address of the yield manager */ function getYieldManager() external view returns (address) { return yieldManager; } function getLPToken() external view returns (address) { return lpToken; } function getStakingTokenA() external view returns (address) { return stakingTokenA; } function getStakingContract() external view returns (address) { return stakingContract; } function getRewardStakingContract() external view returns (address) { return rewardStakingContract; } function getRewardStakingToken() external view returns (address) { return rewardStakingToken; } function getRecoverOpen() external view returns (bool) { return recoverOpen; } /** * @dev lets the owner change the current uniV2LPETHImplementation_ implementation * * @param uniV2LPETHImplementation_ the address of the new implementation */ function newUniV2LPETHImplementation(address uniV2LPETHImplementation_) external { require(msg.sender == factoryOwner, "Only factory owner"); require(uniV2LPETHImplementation_ != address(0), "No zero address for uniV2LPETHImplementation_"); uniV2LPETHImplementation = uniV2LPETHImplementation_; emit NewUniV2LPETHImplementation(uniV2LPETHImplementation); } /** * @dev lets the owner change the current yieldManager_ * * @param yieldManager_ the address of the new router */ function newYieldManager(address yieldManager_) external { require(msg.sender == factoryOwner, "Only factory owner"); require(yieldManager_ != address(0), "No zero address for yieldManager_"); yieldManager = yieldManager_; emit NewYieldManager(yieldManager); } function newLPToken(address lpToken_) external { require(msg.sender == factoryOwner, "Only factory owner"); require(lpToken_ != address(0), "No zero address for lpToken_"); lpToken = lpToken_; emit NewLPToken(lpToken); } function newStakingTokenA(address stakingTokenA_) external { require(msg.sender == factoryOwner, "Only factory owner"); require(stakingTokenA_ != address(0), "No zero address for stakingTokenA_"); stakingTokenA = stakingTokenA_; emit NewStakingTokenA(stakingTokenA); } function newStakingContract(address stakingContract_) external { require(msg.sender == factoryOwner, "Only factory owner"); require(stakingContract_ != address(0), "No zero address for stakingContract_"); stakingContract = stakingContract_; emit NewStakingContract(stakingContract); } function newRewardStakingContract(address stakingContract_) external { require(msg.sender == factoryOwner, "Only factory owner"); rewardStakingContract = stakingContract_; emit NewRewardStakingContract(stakingContract); } function newRewardStakingToken(address stakingToken_) external { require(msg.sender == factoryOwner, "Only factory owner"); rewardStakingToken = stakingToken_; emit NewRewardStakingToken(stakingToken_); } function newRecoverOpen(bool recoverOpen_) external { require(msg.sender == factoryOwner, "Only factory owner"); recoverOpen = recoverOpen_; emit RecoverOpen(recoverOpen_); } /** * @dev lets the owner change the ownership to another address * * @param newOwner the address of the new owner */ function newFactoryOwner(address payable newOwner) external { require(msg.sender == factoryOwner, "Only factory owner"); require(newOwner != address(0), "No zero address for newOwner"); factoryOwner = newOwner; emit FactoryOwnerChanged(factoryOwner); } function getUserStakingContract(address staker) external view returns(address) { return stakingContractLookup[staker]; } function withdrawRewardFees( address receiver, uint amount ) external { require(msg.sender == factoryOwner, "Only factory owner"); require(amount > 0, "Cannot withdraw 0"); require( amount <= IERC20(lpToken).balanceOf(address(this)), "Cannot withdraw more than fees in the contract" ); IERC20(lpToken).safeTransfer(receiver, amount); emit FeesWithdrawn(amount, receiver); } function executeTransaction( address target, uint256 value, string memory signature, bytes memory data ) public payable returns (bytes memory) { require( msg.sender == factoryOwner, "executeTransaction: Call must come from owner" ); bytes memory callData; if (bytes(signature).length == 0) { callData = data; } else { callData = abi.encodePacked(bytes4(keccak256(bytes(signature))), data); } (bool success, bytes memory returnData) = target.call{value: value}(callData); require( success, "executeTransaction: Transaction execution reverted." ); return returnData; } /** * receive function to receive funds */ receive() external payable {} } interface IUinV2LPETHImplementation { function initialize( address owner_, address factoryAddress_ ) external; } interface IYieldManager { function setAffiliate(address client, address sponsor) external; function getAffiliate(address client) external view returns (address); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../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; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.6; /* The MIT License (MIT) Copyright (c) 2018 Murray Software, LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ //solhint-disable max-line-length //solhint-disable no-inline-assembly /** * EIP 1167 Proxy Deployment * Originally from https://github.com/optionality/clone-factory/ */ library CloneLibrary { function createClone(address target) internal returns (address result) { // Reserve 55 bytes for the deploy code + 17 bytes as a buffer to prevent overwriting // other memory in the final mstore bytes memory cloneBuffer = new bytes(72); assembly { let clone := add(cloneBuffer, 32) mstore(clone, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(clone, 0x14), shl(96, target)) mstore(add(clone, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) result := create(0, clone, 0x37) } } function isClone(address target, address query) internal view returns (bool result) { assembly { let clone := mload(0x40) mstore(clone, 0x363d3d373d3d3d363d7300000000000000000000000000000000000000000000) mstore(add(clone, 0xa), shl(96, target)) mstore(add(clone, 0x1e), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) let other := add(clone, 0x40) extcodecopy(query, other, 0, 0x2d) result := and( eq(mload(clone), mload(other)), eq(mload(add(clone, 0xd)), mload(add(other, 0xd))) ) } } }
{ "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
[{"inputs":[{"internalType":"address","name":"_uniV2LPETHImplementation","type":"address"},{"internalType":"address","name":"_yieldManager","type":"address"},{"internalType":"address","name":"_lpToken","type":"address"},{"internalType":"address","name":"_stakingTokenA","type":"address"},{"internalType":"address","name":"_stakingContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newowner","type":"address"}],"name":"FactoryOwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"withdrawer","type":"address"}],"name":"FeesWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"lptoken","type":"address"}],"name":"NewLPToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"rewardStakingContract","type":"address"}],"name":"NewRewardStakingContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"rewardStakingToken","type":"address"}],"name":"NewRewardStakingToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sponsor","type":"address"},{"indexed":false,"internalType":"address","name":"client","type":"address"}],"name":"NewSponsor","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"stakingContract","type":"address"}],"name":"NewStakingContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"stakingtokenA","type":"address"}],"name":"NewStakingTokenA","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"uinv2LPETH","type":"address"},{"indexed":false,"internalType":"address","name":"client","type":"address"}],"name":"NewUniV2LPETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newUniV2LPETHImplementation","type":"address"}],"name":"NewUniV2LPETHImplementation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newYieldManager","type":"address"}],"name":"NewYieldManager","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"recover","type":"bool"}],"name":"RecoverOpen","type":"event"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"executeTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"factoryOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLPToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRecoverOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardStakingContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardStakingToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakingContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakingTokenA","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"}],"name":"getUserStakingContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getYieldManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"newOwner","type":"address"}],"name":"newFactoryOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"lpToken_","type":"address"}],"name":"newLPToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"recoverOpen_","type":"bool"}],"name":"newRecoverOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingContract_","type":"address"}],"name":"newRewardStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingToken_","type":"address"}],"name":"newRewardStakingToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingContract_","type":"address"}],"name":"newStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingTokenA_","type":"address"}],"name":"newStakingTokenA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"uniV2LPETHImplementation_","type":"address"}],"name":"newUniV2LPETHImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"yieldManager_","type":"address"}],"name":"newYieldManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recoverOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardStakingContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardStakingToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakingContractLookup","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingTokenA","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniV2LPETHImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sponsor","type":"address"}],"name":"uniV2LPETHMint","outputs":[{"internalType":"address","name":"uniV2","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawRewardFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"yieldManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x6080604052600436106101d15760003560e01c8063737922ab116100f7578063a9e6db3411610095578063e537a79211610064578063e537a79214610650578063ebf9c15d1461068d578063ee99205c146106b8578063f44138aa146106e3576101d8565b8063a9e6db34146105a8578063bdda6d1c146105d3578063bf3a9982146105fe578063cdd16cc614610627576101d8565b80638dbb9e2d116100d15780638dbb9e2d146105005780638e68dce41461052b5780638e77be841461055657806399c063a81461057f576101d8565b8063737922ab146104815780637e315e0b146104ac57806380b7af18146104d5576101d8565b80633ddb4edf1161016f57806353304ee41161013e57806353304ee4146103d75780635fcbd2851461040257806363c5619f1461042d57806364738ddc14610456576101d8565b80633ddb4edf1461032f5780634273601c14610358578063483a35b714610383578063526d181e146103ae576101d8565b80632224fa25116101ab5780632224fa251461026e5780632a9d607e1461029e5780632c7ec074146102c75780633c1aa92514610304576101d8565b8063140594e8146101dd5780631438390a1461020857806318c4f57614610245576101d8565b366101d857005b600080fd5b3480156101e957600080fd5b506101f261070e565b6040516101ff91906121d8565b60405180910390f35b34801561021457600080fd5b5061022f600480360381019061022a9190612265565b610721565b60405161023c91906122a1565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190612265565b610754565b005b610288600480360381019061028391906124d9565b6108ee565b60405161029591906125f7565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c09190612265565b610a7b565b005b3480156102d357600080fd5b506102ee60048036038101906102e99190612265565b610c15565b6040516102fb91906122a1565b60405180910390f35b34801561031057600080fd5b50610319610c7e565b60405161032691906122a1565b60405180910390f35b34801561033b57600080fd5b5061035660048036038101906103519190612619565b610ca8565b005b34801561036457600080fd5b5061036d610ee1565b60405161037a91906122a1565b60405180910390f35b34801561038f57600080fd5b50610398610f05565b6040516103a591906122a1565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d09190612265565b610f2b565b005b3480156103e357600080fd5b506103ec6110c5565b6040516103f991906122a1565b60405180910390f35b34801561040e57600080fd5b506104176110ef565b60405161042491906122a1565b60405180910390f35b34801561043957600080fd5b50610454600480360381019061044f9190612265565b611115565b005b34801561046257600080fd5b5061046b61121e565b60405161047891906122a1565b60405180910390f35b34801561048d57600080fd5b50610496611248565b6040516104a391906121d8565b60405180910390f35b3480156104b857600080fd5b506104d360048036038101906104ce9190612697565b61125f565b005b3480156104e157600080fd5b506104ea6113f6565b6040516104f791906122a1565b60405180910390f35b34801561050c57600080fd5b5061051561141c565b60405161052291906122a1565b60405180910390f35b34801561053757600080fd5b50610540611446565b60405161054d91906122a1565b60405180910390f35b34801561056257600080fd5b5061057d60048036038101906105789190612265565b611470565b005b34801561058b57600080fd5b506105a660048036038101906105a19190612265565b61160a565b005b3480156105b457600080fd5b506105bd6117a4565b6040516105ca91906122a1565b60405180910390f35b3480156105df57600080fd5b506105e86117ca565b6040516105f591906122a1565b60405180910390f35b34801561060a57600080fd5b5061062560048036038101906106209190612265565b6117f0565b005b34801561063357600080fd5b5061064e600480360381019061064991906126f0565b61191b565b005b34801561065c57600080fd5b5061067760048036038101906106729190612265565b6119fd565b60405161068491906122a1565b60405180910390f35b34801561069957600080fd5b506106a2611d75565b6040516106af91906122a1565b60405180910390f35b3480156106c457600080fd5b506106cd611d9b565b6040516106da91906122a1565b60405180910390f35b3480156106ef57600080fd5b506106f8611dc1565b60405161070591906122a1565b60405180910390f35b600560149054906101000a900460ff1681565b60066020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d99061277a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610851576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108489061280c565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507ff228d09c7f9308ef1c29067a996fb4332eab58e7a67d0b405cf84ffba2fd2056600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516108e391906122a1565b60405180910390a150565b606060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461097e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109759061289e565b60405180910390fd5b60606000845103610991578290506109bd565b8380519060200120836040516020016109ab929190612947565b60405160208183030381529060405290505b6000808773ffffffffffffffffffffffffffffffffffffffff1687846040516109e6919061296f565b60006040518083038185875af1925050503d8060008114610a23576040519150601f19603f3d011682016040523d82523d6000602084013e610a28565b606091505b509150915081610a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a64906129f8565b60405180910390fd5b809350505050949350505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b009061277a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6f90612a64565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f93cc18747a4b381f002e5d41747a09a88e61adc9958f19488a39cb6a6649e3d7600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051610c0a91906122a1565b60405180910390a150565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d9061277a565b60405180910390fd5b60008111610d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7090612ad0565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610dd491906122a1565b602060405180830381865afa158015610df1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e159190612b05565b811115610e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4e90612ba4565b60405180910390fd5b610ea48282600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611deb9092919063ffffffff16565b7f812bcf6853ebc81dc0a1d2323893eedad6cd086a4398311a699e0a7acdf187b38183604051610ed5929190612bd3565b60405180910390a15050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb09061277a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101f90612c6e565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f5661054a1b552a42e56a6bbefb9ecbe14033ae1b33a9eedf644c57700ccfb3b4600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516110ba91906122a1565b60405180910390a150565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119a9061277a565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507febed2aafc1db727fbc46b58d165fcd90cc4cd7b779ccb0d87605ca1ca840e21a8160405161121391906122a1565b60405180910390a150565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600560149054906101000a900460ff16905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e49061277a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361135c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135390612cda565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fa678fcf08d9cdc9b47b42c20a6bd0ac7d1a4f40ba502c452fe1ed0c12dbb070360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516113eb91906122a1565b60405180910390a150565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f59061277a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361156d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156490612d6c565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe3ec76f3fa3a885ef0c7defe4ac1efc86e5fb7d0ba9fe4f71f5f9bc791fc37a7600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516115ff91906122a1565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168f9061277a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fe90612dfe565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fccd474383847d6927525d04ee220dcb01e30993e1bdaaff7c2c49fc4ca039945600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405161179991906122a1565b60405180910390a150565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461187e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118759061277a565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fdf84af52d1627beb14d3f7714d114f6ecc904701c4224f70a628bf5583a42acc600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405161191091906122a1565b60405180910390a150565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a09061277a565b60405180910390fd5b80600560146101000a81548160ff0219169083151502179055507f2f77dcb5c28a1f2b9fdb952c5782d6c753dd5d6f1749d760efbfce340df90df9816040516119f291906121d8565b60405180910390a150565b6000611a40600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611e71565b90507fac46025caa6fe5bb50c33a2a484f71d60441b70f4e06f0d3921f999b1ce3a0578133604051611a73929190612e1e565b60405180910390a180600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff1663485cc95533306040518363ffffffff1660e01b8152600401611b34929190612e1e565b600060405180830381600087803b158015611b4e57600080fd5b505af1158015611b62573d6000803e3d6000fd5b50505050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015611bcf57503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611ca25750600073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bc019eed336040518263ffffffff1660e01b8152600401611c4991906122a1565b602060405180830381865afa158015611c66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8a9190612e5c565b73ffffffffffffffffffffffffffffffffffffffff16145b15611d7057600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637352e4b833846040518363ffffffff1660e01b8152600401611d04929190612e1e565b600060405180830381600087803b158015611d1e57600080fd5b505af1158015611d32573d6000803e3d6000fd5b505050507f4b79506fb58d249496a3306c868c4a5a53124dab1b38ff90c010c0744fa74c588233604051611d67929190612e1e565b60405180910390a15b919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611e6c8363a9059cbb60e01b8484604051602401611e0a929190612e89565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611f29565b505050565b600080604867ffffffffffffffff811115611e8f57611e8e61230d565b5b6040519080825280601f01601f191660200182016040528015611ec15781602001600182028036833780820191505090505b509050602081017f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528360601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f092505050919050565b6000611f8b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611ff09092919063ffffffff16565b9050600081511115611feb5780806020019051810190611fab9190612ec7565b611fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe190612f66565b60405180910390fd5b5b505050565b6060611fff8484600085612008565b90509392505050565b60608247101561204d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204490612ff8565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612076919061296f565b60006040518083038185875af1925050503d80600081146120b3576040519150601f19603f3d011682016040523d82523d6000602084013e6120b8565b606091505b50915091506120c9878383876120d5565b92505050949350505050565b6060831561213757600083510361212f576120ef8561214a565b61212e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212590613064565b60405180910390fd5b5b829050612142565b612141838361216d565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156121805781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b491906130c8565b60405180910390fd5b60008115159050919050565b6121d2816121bd565b82525050565b60006020820190506121ed60008301846121c9565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061223282612207565b9050919050565b61224281612227565b811461224d57600080fd5b50565b60008135905061225f81612239565b92915050565b60006020828403121561227b5761227a6121fd565b5b600061228984828501612250565b91505092915050565b61229b81612227565b82525050565b60006020820190506122b66000830184612292565b92915050565b6000819050919050565b6122cf816122bc565b81146122da57600080fd5b50565b6000813590506122ec816122c6565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612345826122fc565b810181811067ffffffffffffffff821117156123645761236361230d565b5b80604052505050565b60006123776121f3565b9050612383828261233c565b919050565b600067ffffffffffffffff8211156123a3576123a261230d565b5b6123ac826122fc565b9050602081019050919050565b82818337600083830152505050565b60006123db6123d684612388565b61236d565b9050828152602081018484840111156123f7576123f66122f7565b5b6124028482856123b9565b509392505050565b600082601f83011261241f5761241e6122f2565b5b813561242f8482602086016123c8565b91505092915050565b600067ffffffffffffffff8211156124535761245261230d565b5b61245c826122fc565b9050602081019050919050565b600061247c61247784612438565b61236d565b905082815260208101848484011115612498576124976122f7565b5b6124a38482856123b9565b509392505050565b600082601f8301126124c0576124bf6122f2565b5b81356124d0848260208601612469565b91505092915050565b600080600080608085870312156124f3576124f26121fd565b5b600061250187828801612250565b9450506020612512878288016122dd565b935050604085013567ffffffffffffffff81111561253357612532612202565b5b61253f8782880161240a565b925050606085013567ffffffffffffffff8111156125605761255f612202565b5b61256c878288016124ab565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b60005b838110156125b2578082015181840152602081019050612597565b60008484015250505050565b60006125c982612578565b6125d38185612583565b93506125e3818560208601612594565b6125ec816122fc565b840191505092915050565b6000602082019050818103600083015261261181846125be565b905092915050565b600080604083850312156126305761262f6121fd565b5b600061263e85828601612250565b925050602061264f858286016122dd565b9150509250929050565b600061266482612207565b9050919050565b61267481612659565b811461267f57600080fd5b50565b6000813590506126918161266b565b92915050565b6000602082840312156126ad576126ac6121fd565b5b60006126bb84828501612682565b91505092915050565b6126cd816121bd565b81146126d857600080fd5b50565b6000813590506126ea816126c4565b92915050565b600060208284031215612706576127056121fd565b5b6000612714848285016126db565b91505092915050565b600082825260208201905092915050565b7f4f6e6c7920666163746f7279206f776e65720000000000000000000000000000600082015250565b600061276460128361271d565b915061276f8261272e565b602082019050919050565b6000602082019050818103600083015261279381612757565b9050919050565b7f4e6f207a65726f206164647265737320666f72207374616b696e67436f6e747260008201527f6163745f00000000000000000000000000000000000000000000000000000000602082015250565b60006127f660248361271d565b91506128018261279a565b604082019050919050565b60006020820190508181036000830152612825816127e9565b9050919050565b7f657865637574655472616e73616374696f6e3a2043616c6c206d75737420636f60008201527f6d652066726f6d206f776e657200000000000000000000000000000000000000602082015250565b6000612888602d8361271d565b91506128938261282c565b604082019050919050565b600060208201905081810360008301526128b78161287b565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b612905612900826128be565b6128ea565b82525050565b600081905092915050565b600061292182612578565b61292b818561290b565b935061293b818560208601612594565b80840191505092915050565b600061295382856128f4565b6004820191506129638284612916565b91508190509392505050565b600061297b8284612916565b915081905092915050565b7f657865637574655472616e73616374696f6e3a205472616e73616374696f6e2060008201527f657865637574696f6e2072657665727465642e00000000000000000000000000602082015250565b60006129e260338361271d565b91506129ed82612986565b604082019050919050565b60006020820190508181036000830152612a11816129d5565b9050919050565b7f4e6f207a65726f206164647265737320666f72206c70546f6b656e5f00000000600082015250565b6000612a4e601c8361271d565b9150612a5982612a18565b602082019050919050565b60006020820190508181036000830152612a7d81612a41565b9050919050565b7f43616e6e6f742077697468647261772030000000000000000000000000000000600082015250565b6000612aba60118361271d565b9150612ac582612a84565b602082019050919050565b60006020820190508181036000830152612ae981612aad565b9050919050565b600081519050612aff816122c6565b92915050565b600060208284031215612b1b57612b1a6121fd565b5b6000612b2984828501612af0565b91505092915050565b7f43616e6e6f74207769746864726177206d6f7265207468616e2066656573206960008201527f6e2074686520636f6e7472616374000000000000000000000000000000000000602082015250565b6000612b8e602e8361271d565b9150612b9982612b32565b604082019050919050565b60006020820190508181036000830152612bbd81612b81565b9050919050565b612bcd816122bc565b82525050565b6000604082019050612be86000830185612bc4565b612bf56020830184612292565b9392505050565b7f4e6f207a65726f206164647265737320666f7220756e6956324c50455448496d60008201527f706c656d656e746174696f6e5f00000000000000000000000000000000000000602082015250565b6000612c58602d8361271d565b9150612c6382612bfc565b604082019050919050565b60006020820190508181036000830152612c8781612c4b565b9050919050565b7f4e6f207a65726f206164647265737320666f72206e65774f776e657200000000600082015250565b6000612cc4601c8361271d565b9150612ccf82612c8e565b602082019050919050565b60006020820190508181036000830152612cf381612cb7565b9050919050565b7f4e6f207a65726f206164647265737320666f72207969656c644d616e6167657260008201527f5f00000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d5660218361271d565b9150612d6182612cfa565b604082019050919050565b60006020820190508181036000830152612d8581612d49565b9050919050565b7f4e6f207a65726f206164647265737320666f72207374616b696e67546f6b656e60008201527f415f000000000000000000000000000000000000000000000000000000000000602082015250565b6000612de860228361271d565b9150612df382612d8c565b604082019050919050565b60006020820190508181036000830152612e1781612ddb565b9050919050565b6000604082019050612e336000830185612292565b612e406020830184612292565b9392505050565b600081519050612e5681612239565b92915050565b600060208284031215612e7257612e716121fd565b5b6000612e8084828501612e47565b91505092915050565b6000604082019050612e9e6000830185612292565b612eab6020830184612bc4565b9392505050565b600081519050612ec1816126c4565b92915050565b600060208284031215612edd57612edc6121fd565b5b6000612eeb84828501612eb2565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612f50602a8361271d565b9150612f5b82612ef4565b604082019050919050565b60006020820190508181036000830152612f7f81612f43565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612fe260268361271d565b9150612fed82612f86565b604082019050919050565b6000602082019050818103600083015261301181612fd5565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061304e601d8361271d565b915061305982613018565b602082019050919050565b6000602082019050818103600083015261307d81613041565b9050919050565b600081519050919050565b600061309a82613084565b6130a4818561271d565b93506130b4818560208601612594565b6130bd816122fc565b840191505092915050565b600060208201905081810360008301526130e2818461308f565b90509291505056fea2646970667358221220e5e269405d1427304c608d1e258f90c2cc557818560ccd1305a591ad12420b7c64736f6c63430008110033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.