Overview
ETH Balance
ETH Value
$0.00Latest 1 from a total of 1 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Set Vaults | 18152873 | 46 hrs ago | IN | 0 ETH | 0.00000135 |
View more zero value Internal Transactions in Advanced View mode
Cross-Chain Transactions
Contract Source Code Verified (Exact Match)
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.26;
import {IERC4626} from "@openzeppelin/contracts/interfaces/IERC4626.sol";
import {IEverlongCore} from "src/interfaces/core/IEverlongCore.sol";
/**
* @title DLVRegistry
* @author Everlong Team
*/
contract DLVRegistry {
struct Vault {
address vault;
// Getters at deployment, not necessarily the latest getters
address getters;
/// @dev Block number when the vault was deployed
uint blockNumber;
// Which instance the vault is at:
// - n -> Collateral vault for protocol instance n
uint8 protocolInstance;
}
IEverlongCore public immutable everlongCore;
Vault[] public vaults;
mapping(address => bool) public isVault;
mapping(address => uint) private vaultIndex;
mapping(address => bool) public isOwner;
error OnlyOwner(address caller);
error NotVault(address vault);
error DuplicateVault(address vault);
event NewVault(address indexed vault, uint blockNumber, uint8 protocolInstance, address getters);
event VaultModified(address indexed vault, uint blockNumber, uint8 protocolInstance, address getters);
event VaultRemoved(address indexed vault);
event NewOwner(address);
event RemovedOwner(address);
modifier onlyOwner() {
if (msg.sender != everlongCore.owner() && !isOwner[msg.sender])
revert OnlyOwner(msg.sender);
_;
}
constructor(address _everlongCore, address _initialOwner) {
everlongCore = IEverlongCore(_everlongCore);
isOwner[_initialOwner] = true;
}
function setVaults(Vault[] calldata _vaults) external onlyOwner {
for (uint i; i < _vaults.length; i++) {
Vault memory _vault = _vaults[i];
if (IERC4626(_vault.vault).asset() == address(0))
revert NotVault(_vault.vault);
if (isVault[_vault.vault])
revert DuplicateVault(_vault.vault);
vaultIndex[_vault.vault] = vaults.length;
vaults.push(_vault);
isVault[_vault.vault] = true;
emit NewVault(_vault.vault, _vault.blockNumber, _vault.protocolInstance, _vault.getters);
}
}
function modifyVault(Vault calldata _vault) external onlyOwner {
address vault = _vault.vault;
if (!isVault[vault])
revert NotVault(vault);
uint index = vaultIndex[vault];
vaults[index].blockNumber = _vault.blockNumber;
vaults[index].protocolInstance = _vault.protocolInstance;
vaults[index].getters = _vault.getters;
emit VaultModified(vault, _vault.blockNumber, _vault.protocolInstance, _vault.getters);
}
function removeVault(address _vault) external onlyOwner {
if (!isVault[_vault])
revert NotVault(_vault);
uint index = vaultIndex[_vault];
uint lastIndex = vaults.length - 1;
if (index != lastIndex) {
Vault memory lastVault = vaults[lastIndex];
vaults[index] = lastVault;
vaultIndex[lastVault.vault] = index;
}
vaults.pop();
delete isVault[_vault];
delete vaultIndex[_vault];
emit VaultRemoved(_vault);
}
function whitelistOwner(address _owner, bool whitelisted) external {
if (msg.sender != everlongCore.owner()) revert OnlyOwner(msg.sender);
isOwner[_owner] = whitelisted;
if (whitelisted) {
emit NewOwner(_owner);
} else {
emit RemovedOwner(_owner);
}
}
function getVaults() external view returns (Vault[] memory) {
return vaults;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (interfaces/IERC4626.sol)
pragma solidity ^0.8.0;
import "../token/ERC20/IERC20.sol";
import "../token/ERC20/extensions/IERC20Metadata.sol";
/**
* @dev Interface of the ERC4626 "Tokenized Vault Standard", as defined in
* https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].
*
* _Available since v4.7._
*/
interface IERC4626 is IERC20, IERC20Metadata {
event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares);
event Withdraw(
address indexed sender,
address indexed receiver,
address indexed owner,
uint256 assets,
uint256 shares
);
/**
* @dev Returns the address of the underlying token used for the Vault for accounting, depositing, and withdrawing.
*
* - MUST be an ERC-20 token contract.
* - MUST NOT revert.
*/
function asset() external view returns (address assetTokenAddress);
/**
* @dev Returns the total amount of the underlying asset that is “managed” by Vault.
*
* - SHOULD include any compounding that occurs from yield.
* - MUST be inclusive of any fees that are charged against assets in the Vault.
* - MUST NOT revert.
*/
function totalAssets() external view returns (uint256 totalManagedAssets);
/**
* @dev Returns the amount of shares that the Vault would exchange for the amount of assets provided, in an ideal
* scenario where all the conditions are met.
*
* - MUST NOT be inclusive of any fees that are charged against assets in the Vault.
* - MUST NOT show any variations depending on the caller.
* - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.
* - MUST NOT revert.
*
* NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the
* “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and
* from.
*/
function convertToShares(uint256 assets) external view returns (uint256 shares);
/**
* @dev Returns the amount of assets that the Vault would exchange for the amount of shares provided, in an ideal
* scenario where all the conditions are met.
*
* - MUST NOT be inclusive of any fees that are charged against assets in the Vault.
* - MUST NOT show any variations depending on the caller.
* - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.
* - MUST NOT revert.
*
* NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the
* “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and
* from.
*/
function convertToAssets(uint256 shares) external view returns (uint256 assets);
/**
* @dev Returns the maximum amount of the underlying asset that can be deposited into the Vault for the receiver,
* through a deposit call.
*
* - MUST return a limited value if receiver is subject to some deposit limit.
* - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of assets that may be deposited.
* - MUST NOT revert.
*/
function maxDeposit(address receiver) external view returns (uint256 maxAssets);
/**
* @dev Allows an on-chain or off-chain user to simulate the effects of their deposit at the current block, given
* current on-chain conditions.
*
* - MUST return as close to and no more than the exact amount of Vault shares that would be minted in a deposit
* call in the same transaction. I.e. deposit should return the same or more shares as previewDeposit if called
* in the same transaction.
* - MUST NOT account for deposit limits like those returned from maxDeposit and should always act as though the
* deposit would be accepted, regardless if the user has enough tokens approved, etc.
* - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.
* - MUST NOT revert.
*
* NOTE: any unfavorable discrepancy between convertToShares and previewDeposit SHOULD be considered slippage in
* share price or some other type of condition, meaning the depositor will lose assets by depositing.
*/
function previewDeposit(uint256 assets) external view returns (uint256 shares);
/**
* @dev Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens.
*
* - MUST emit the Deposit event.
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
* deposit execution, and are accounted for during deposit.
* - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not
* approving enough underlying tokens to the Vault contract, etc).
*
* NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.
*/
function deposit(uint256 assets, address receiver) external returns (uint256 shares);
/**
* @dev Returns the maximum amount of the Vault shares that can be minted for the receiver, through a mint call.
* - MUST return a limited value if receiver is subject to some mint limit.
* - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of shares that may be minted.
* - MUST NOT revert.
*/
function maxMint(address receiver) external view returns (uint256 maxShares);
/**
* @dev Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given
* current on-chain conditions.
*
* - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call
* in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the
* same transaction.
* - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint
* would be accepted, regardless if the user has enough tokens approved, etc.
* - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.
* - MUST NOT revert.
*
* NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in
* share price or some other type of condition, meaning the depositor will lose assets by minting.
*/
function previewMint(uint256 shares) external view returns (uint256 assets);
/**
* @dev Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens.
*
* - MUST emit the Deposit event.
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint
* execution, and are accounted for during mint.
* - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not
* approving enough underlying tokens to the Vault contract, etc).
*
* NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.
*/
function mint(uint256 shares, address receiver) external returns (uint256 assets);
/**
* @dev Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the
* Vault, through a withdraw call.
*
* - MUST return a limited value if owner is subject to some withdrawal limit or timelock.
* - MUST NOT revert.
*/
function maxWithdraw(address owner) external view returns (uint256 maxAssets);
/**
* @dev Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block,
* given current on-chain conditions.
*
* - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw
* call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if
* called
* in the same transaction.
* - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though
* the withdrawal would be accepted, regardless if the user has enough shares, etc.
* - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.
* - MUST NOT revert.
*
* NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in
* share price or some other type of condition, meaning the depositor will lose assets by depositing.
*/
function previewWithdraw(uint256 assets) external view returns (uint256 shares);
/**
* @dev Burns shares from owner and sends exactly assets of underlying tokens to receiver.
*
* - MUST emit the Withdraw event.
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
* withdraw execution, and are accounted for during withdraw.
* - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner
* not having enough shares, etc).
*
* Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed.
* Those methods should be performed separately.
*/
function withdraw(
uint256 assets,
address receiver,
address owner
) external returns (uint256 shares);
/**
* @dev Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault,
* through a redeem call.
*
* - MUST return a limited value if owner is subject to some withdrawal limit or timelock.
* - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock.
* - MUST NOT revert.
*/
function maxRedeem(address owner) external view returns (uint256 maxShares);
/**
* @dev Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block,
* given current on-chain conditions.
*
* - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call
* in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the
* same transaction.
* - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the
* redemption would be accepted, regardless if the user has enough shares, etc.
* - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.
* - MUST NOT revert.
*
* NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in
* share price or some other type of condition, meaning the depositor will lose assets by redeeming.
*/
function previewRedeem(uint256 shares) external view returns (uint256 assets);
/**
* @dev Burns exactly shares from owner and sends assets of underlying tokens to receiver.
*
* - MUST emit the Withdraw event.
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
* redeem execution, and are accounted for during redeem.
* - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner
* not having enough shares, etc).
*
* NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed.
* Those methods should be performed separately.
*/
function redeem(
uint256 shares,
address receiver,
address owner
) external returns (uint256 assets);
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.26;
/**
* @title EverlongCore
* @author Everlong Labs
* @notice Single source of truth across all Everlong contracts for key administrative data
*/
interface IEverlongCore {
function owner() external view returns (address);
function feeReceiver() external view returns (address);
function priceFeed() external view returns (address);
function setFeeReceiver(address _feeReceiver) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}{
"remappings": [
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin-upgradeable/contracts/=lib/openzeppelin-contracts-upgradeable/contracts/",
"forge-std/=lib/forge-std/src/",
"@uniswap/v3-core/=lib/v3-core/",
"@uniswap/v3-periphery/=lib/v3-periphery/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"ds-test/=lib/openzeppelin-contracts-upgradeable/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
"halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"v3-core/=lib/v3-core/contracts/",
"v3-periphery/=lib/v3-periphery/contracts/"
],
"optimizer": {
"enabled": true,
"runs": 1
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "cancun",
"viaIR": false
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_everlongCore","type":"address"},{"internalType":"address","name":"_initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"vault","type":"address"}],"name":"DuplicateVault","type":"error"},{"inputs":[{"internalType":"address","name":"vault","type":"address"}],"name":"NotVault","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"OnlyOwner","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"NewOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"vault","type":"address"},{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"protocolInstance","type":"uint8"},{"indexed":false,"internalType":"address","name":"getters","type":"address"}],"name":"NewVault","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"RemovedOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"vault","type":"address"},{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"protocolInstance","type":"uint8"},{"indexed":false,"internalType":"address","name":"getters","type":"address"}],"name":"VaultModified","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"vault","type":"address"}],"name":"VaultRemoved","type":"event"},{"inputs":[],"name":"everlongCore","outputs":[{"internalType":"contract IEverlongCore","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVaults","outputs":[{"components":[{"internalType":"address","name":"vault","type":"address"},{"internalType":"address","name":"getters","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"uint8","name":"protocolInstance","type":"uint8"}],"internalType":"struct DLVRegistry.Vault[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isVault","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vault","type":"address"},{"internalType":"address","name":"getters","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"uint8","name":"protocolInstance","type":"uint8"}],"internalType":"struct DLVRegistry.Vault","name":"_vault","type":"tuple"}],"name":"modifyVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"removeVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"vault","type":"address"},{"internalType":"address","name":"getters","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"uint8","name":"protocolInstance","type":"uint8"}],"internalType":"struct DLVRegistry.Vault[]","name":"_vaults","type":"tuple[]"}],"name":"setVaults","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"vaults","outputs":[{"internalType":"address","name":"vault","type":"address"},{"internalType":"address","name":"getters","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"uint8","name":"protocolInstance","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"bool","name":"whitelisted","type":"bool"}],"name":"whitelistOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60a0604052348015600e575f80fd5b5060405161104a38038061104a833981016040819052602b916070565b6001600160a01b03918216608052165f908152600360205260409020805460ff19166001179055609c565b80516001600160a01b0381168114606b575f80fd5b919050565b5f80604083850312156080575f80fd5b6087836056565b91506093602084016056565b90509250929050565b608051610f7b6100cf5f395f8181608a015281816101bc015281816103e301528181610641015261091e0152610f7b5ff3fe608060405234801561000f575f80fd5b5060043610610081575f3560e01c806321216ba3146100855780632f54bf6e146100c2578063386d7e93146100f457806344d00f8214610109578063652b9b411461011e5780638c64ea4a14610140578063a4ac8a1614610181578063ceb68c2314610194578063d37a0521146101a7575b5f80fd5b6100ac7f000000000000000000000000000000000000000000000000000000000000000081565b6040516100b99190610c62565b60405180910390f35b6100e46100d0366004610c9d565b60036020525f908152604090205460ff1681565b60405190151581526020016100b9565b610107610102366004610cbf565b6101ba565b005b61011161030c565b6040516100b99190610cfa565b6100e461012c366004610c9d565b60016020525f908152604090205460ff1681565b61015361014e366004610d70565b61039b565b604080516001600160a01b0395861681529490931660208501529183015260ff1660608201526080016100b9565b61010761018f366004610d87565b6103e1565b6101076101a2366004610c9d565b61063f565b6101076101b5366004610da0565b61091c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610216573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061023a9190610e0f565b6001600160a01b0316336001600160a01b0316146102765733604051630543601560e11b815260040161026d9190610c62565b60405180910390fd5b6001600160a01b0382165f908152600360205260409020805460ff191682158015919091179091556102dd577f3edd90e7770f06fafde38004653b33870066c33bfc923ff6102acd601f85dfbc826040516102d19190610c62565b60405180910390a15050565b7ff8d49fc529812e9a7c5c50e69c20f0dccc0db8fa95c98bc58cc9a4f1c1299eaf826040516102d19190610c62565b60605f805480602002602001604051908101604052809291908181526020015f905b82821015610392575f848152602090819020604080516080810182526004860290920180546001600160a01b039081168452600180830154909116848601526002820154928401929092526003015460ff166060830152908352909201910161032e565b50505050905090565b5f81815481106103a9575f80fd5b5f91825260209091206004909102018054600182015460028301546003909301546001600160a01b0392831694509116919060ff1684565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561043d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104619190610e0f565b6001600160a01b0316336001600160a01b0316141580156104915750335f9081526003602052604090205460ff16155b156104b15733604051630543601560e11b815260040161026d9190610c62565b5f6104bf6020830183610c9d565b6001600160a01b0381165f9081526001602052604090205490915060ff166104fc578060405163e9d6016160e01b815260040161026d9190610c62565b6001600160a01b0381165f9081526002602052604080822054825490929185013591908390811061052f5761052f610e2a565b5f9182526020909120600260049092020101556105526080840160608501610e4e565b5f828154811061056457610564610e2a565b905f5260205f2090600402016003015f6101000a81548160ff021916908360ff16021790555082602001602081019061059d9190610c9d565b5f82815481106105af576105af610e2a565b5f918252602090912060049091020160010180546001600160a01b0319166001600160a01b0392831617905582167f71bb0b9828ba5791e8b267e209fe042910ffbe956b8c34fa809862984b3bf02960408501356106136080870160608801610e4e565b6106236040880160208901610c9d565b60405161063293929190610e67565b60405180910390a2505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561069b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106bf9190610e0f565b6001600160a01b0316336001600160a01b0316141580156106ef5750335f9081526003602052604090205460ff16155b1561070f5733604051630543601560e11b815260040161026d9190610c62565b6001600160a01b0381165f9081526001602052604090205460ff16610749578060405163e9d6016160e01b815260040161026d9190610c62565b6001600160a01b0381165f90815260026020526040812054815490919061077290600190610e89565b905080821461086f575f80828154811061078e5761078e610e2a565b5f918252602080832060408051608081018252600490940290910180546001600160a01b039081168552600182015416928401929092526002820154908301526003015460ff1660608201528154909250829190859081106107f2576107f2610e2a565b5f918252602080832084516004939093020180546001600160a01b03199081166001600160a01b03948516178255858301516001830180549092169085161790556040808601516002808401919091556060909601516003909201805460ff191660ff909316929092179091559451909116825291909152208290555b5f80548061087f5761087f610eae565b5f828152602080822060045f199094019384020180546001600160a01b031990811682556001828101805490921690915560028083018590556003909201805460ff19908116909155949095556001600160a01b03881680845294825260408084208054909516909455905281812081905590517fe71f3a50e5ad81964f352c411f1d45e35438ecd1acecef59ac81d9fbbf6cbc0a9190a2505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610978573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099c9190610e0f565b6001600160a01b0316336001600160a01b0316141580156109cc5750335f9081526003602052604090205460ff16155b156109ec5733604051630543601560e11b815260040161026d9190610c62565b5f5b81811015610c5d575f838383818110610a0957610a09610e2a565b905060800201803603810190610a1f9190610ec2565b90505f6001600160a01b0316815f01516001600160a01b03166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8e9190610e0f565b6001600160a01b031603610ab857805160405163e9d6016160e01b815261026d9190600401610c62565b80516001600160a01b03165f9081526001602052604090205460ff1615610af557805160405163de1b8d3f60e01b815261026d9190600401610c62565b5f805482516001600160a01b03908116835260026020908152604080852084905560018085018655858052865160049095027f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563810180549686166001600160a01b0319978816811790915584890180517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56484018054918916919099161790975583890180517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56584015560608a0180517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e566909401805460ff90951660ff199586161790559189529483905296839020805490911690911790558551915194519351905191909216937fefb815b6cba21a3ca1dd7b83e8c0a55405534c91be1e2a09c37ce3e4d525233f93610c4c939192909190610e67565b60405180910390a2506001016109ee565b505050565b6001600160a01b0391909116815260200190565b6001600160a01b0381168114610c8a575f80fd5b50565b8035610c9881610c76565b919050565b5f60208284031215610cad575f80fd5b8135610cb881610c76565b9392505050565b5f8060408385031215610cd0575f80fd5b8235610cdb81610c76565b915060208301358015158114610cef575f80fd5b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610d6557835180516001600160a01b039081168552602080830151909116818601526040808301519086015260609182015160ff169185019190915290930192608090920191600101610d13565b509095945050505050565b5f60208284031215610d80575f80fd5b5035919050565b5f6080828403128015610d98575f80fd5b509092915050565b5f8060208385031215610db1575f80fd5b82356001600160401b03811115610dc6575f80fd5b8301601f81018513610dd6575f80fd5b80356001600160401b03811115610deb575f80fd5b8560208260071b8401011115610dff575f80fd5b6020919091019590945092505050565b5f60208284031215610e1f575f80fd5b8151610cb881610c76565b634e487b7160e01b5f52603260045260245ffd5b803560ff81168114610c98575f80fd5b5f60208284031215610e5e575f80fd5b610cb882610e3e565b92835260ff9190911660208301526001600160a01b0316604082015260600190565b81810381811115610ea857634e487b7160e01b5f52601160045260245ffd5b92915050565b634e487b7160e01b5f52603160045260245ffd5b5f6080828403128015610ed3575f80fd5b50604051608081016001600160401b0381118282101715610f0257634e487b7160e01b5f52604160045260245ffd5b6040528235610f1081610c76565b8152610f1e60208401610c8d565b602082015260408381013590820152610f3960608401610e3e565b6060820152939250505056fea2646970667358221220f47178fcbaee59a6f8edea1026519e48c0b5ae2944f260ced10f1b4a425a0f1064736f6c634300081a0033000000000000000000000000776d3a1591e3f8b466b9cee9dd1d849c92b30ca50000000000000000000000004509f7ffa3f0be2739d26d3afb2f659ed91410d2
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610081575f3560e01c806321216ba3146100855780632f54bf6e146100c2578063386d7e93146100f457806344d00f8214610109578063652b9b411461011e5780638c64ea4a14610140578063a4ac8a1614610181578063ceb68c2314610194578063d37a0521146101a7575b5f80fd5b6100ac7f000000000000000000000000776d3a1591e3f8b466b9cee9dd1d849c92b30ca581565b6040516100b99190610c62565b60405180910390f35b6100e46100d0366004610c9d565b60036020525f908152604090205460ff1681565b60405190151581526020016100b9565b610107610102366004610cbf565b6101ba565b005b61011161030c565b6040516100b99190610cfa565b6100e461012c366004610c9d565b60016020525f908152604090205460ff1681565b61015361014e366004610d70565b61039b565b604080516001600160a01b0395861681529490931660208501529183015260ff1660608201526080016100b9565b61010761018f366004610d87565b6103e1565b6101076101a2366004610c9d565b61063f565b6101076101b5366004610da0565b61091c565b7f000000000000000000000000776d3a1591e3f8b466b9cee9dd1d849c92b30ca56001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610216573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061023a9190610e0f565b6001600160a01b0316336001600160a01b0316146102765733604051630543601560e11b815260040161026d9190610c62565b60405180910390fd5b6001600160a01b0382165f908152600360205260409020805460ff191682158015919091179091556102dd577f3edd90e7770f06fafde38004653b33870066c33bfc923ff6102acd601f85dfbc826040516102d19190610c62565b60405180910390a15050565b7ff8d49fc529812e9a7c5c50e69c20f0dccc0db8fa95c98bc58cc9a4f1c1299eaf826040516102d19190610c62565b60605f805480602002602001604051908101604052809291908181526020015f905b82821015610392575f848152602090819020604080516080810182526004860290920180546001600160a01b039081168452600180830154909116848601526002820154928401929092526003015460ff166060830152908352909201910161032e565b50505050905090565b5f81815481106103a9575f80fd5b5f91825260209091206004909102018054600182015460028301546003909301546001600160a01b0392831694509116919060ff1684565b7f000000000000000000000000776d3a1591e3f8b466b9cee9dd1d849c92b30ca56001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561043d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104619190610e0f565b6001600160a01b0316336001600160a01b0316141580156104915750335f9081526003602052604090205460ff16155b156104b15733604051630543601560e11b815260040161026d9190610c62565b5f6104bf6020830183610c9d565b6001600160a01b0381165f9081526001602052604090205490915060ff166104fc578060405163e9d6016160e01b815260040161026d9190610c62565b6001600160a01b0381165f9081526002602052604080822054825490929185013591908390811061052f5761052f610e2a565b5f9182526020909120600260049092020101556105526080840160608501610e4e565b5f828154811061056457610564610e2a565b905f5260205f2090600402016003015f6101000a81548160ff021916908360ff16021790555082602001602081019061059d9190610c9d565b5f82815481106105af576105af610e2a565b5f918252602090912060049091020160010180546001600160a01b0319166001600160a01b0392831617905582167f71bb0b9828ba5791e8b267e209fe042910ffbe956b8c34fa809862984b3bf02960408501356106136080870160608801610e4e565b6106236040880160208901610c9d565b60405161063293929190610e67565b60405180910390a2505050565b7f000000000000000000000000776d3a1591e3f8b466b9cee9dd1d849c92b30ca56001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561069b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106bf9190610e0f565b6001600160a01b0316336001600160a01b0316141580156106ef5750335f9081526003602052604090205460ff16155b1561070f5733604051630543601560e11b815260040161026d9190610c62565b6001600160a01b0381165f9081526001602052604090205460ff16610749578060405163e9d6016160e01b815260040161026d9190610c62565b6001600160a01b0381165f90815260026020526040812054815490919061077290600190610e89565b905080821461086f575f80828154811061078e5761078e610e2a565b5f918252602080832060408051608081018252600490940290910180546001600160a01b039081168552600182015416928401929092526002820154908301526003015460ff1660608201528154909250829190859081106107f2576107f2610e2a565b5f918252602080832084516004939093020180546001600160a01b03199081166001600160a01b03948516178255858301516001830180549092169085161790556040808601516002808401919091556060909601516003909201805460ff191660ff909316929092179091559451909116825291909152208290555b5f80548061087f5761087f610eae565b5f828152602080822060045f199094019384020180546001600160a01b031990811682556001828101805490921690915560028083018590556003909201805460ff19908116909155949095556001600160a01b03881680845294825260408084208054909516909455905281812081905590517fe71f3a50e5ad81964f352c411f1d45e35438ecd1acecef59ac81d9fbbf6cbc0a9190a2505050565b7f000000000000000000000000776d3a1591e3f8b466b9cee9dd1d849c92b30ca56001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610978573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099c9190610e0f565b6001600160a01b0316336001600160a01b0316141580156109cc5750335f9081526003602052604090205460ff16155b156109ec5733604051630543601560e11b815260040161026d9190610c62565b5f5b81811015610c5d575f838383818110610a0957610a09610e2a565b905060800201803603810190610a1f9190610ec2565b90505f6001600160a01b0316815f01516001600160a01b03166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8e9190610e0f565b6001600160a01b031603610ab857805160405163e9d6016160e01b815261026d9190600401610c62565b80516001600160a01b03165f9081526001602052604090205460ff1615610af557805160405163de1b8d3f60e01b815261026d9190600401610c62565b5f805482516001600160a01b03908116835260026020908152604080852084905560018085018655858052865160049095027f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563810180549686166001600160a01b0319978816811790915584890180517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56484018054918916919099161790975583890180517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56584015560608a0180517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e566909401805460ff90951660ff199586161790559189529483905296839020805490911690911790558551915194519351905191909216937fefb815b6cba21a3ca1dd7b83e8c0a55405534c91be1e2a09c37ce3e4d525233f93610c4c939192909190610e67565b60405180910390a2506001016109ee565b505050565b6001600160a01b0391909116815260200190565b6001600160a01b0381168114610c8a575f80fd5b50565b8035610c9881610c76565b919050565b5f60208284031215610cad575f80fd5b8135610cb881610c76565b9392505050565b5f8060408385031215610cd0575f80fd5b8235610cdb81610c76565b915060208301358015158114610cef575f80fd5b809150509250929050565b602080825282518282018190525f918401906040840190835b81811015610d6557835180516001600160a01b039081168552602080830151909116818601526040808301519086015260609182015160ff169185019190915290930192608090920191600101610d13565b509095945050505050565b5f60208284031215610d80575f80fd5b5035919050565b5f6080828403128015610d98575f80fd5b509092915050565b5f8060208385031215610db1575f80fd5b82356001600160401b03811115610dc6575f80fd5b8301601f81018513610dd6575f80fd5b80356001600160401b03811115610deb575f80fd5b8560208260071b8401011115610dff575f80fd5b6020919091019590945092505050565b5f60208284031215610e1f575f80fd5b8151610cb881610c76565b634e487b7160e01b5f52603260045260245ffd5b803560ff81168114610c98575f80fd5b5f60208284031215610e5e575f80fd5b610cb882610e3e565b92835260ff9190911660208301526001600160a01b0316604082015260600190565b81810381811115610ea857634e487b7160e01b5f52601160045260245ffd5b92915050565b634e487b7160e01b5f52603160045260245ffd5b5f6080828403128015610ed3575f80fd5b50604051608081016001600160401b0381118282101715610f0257634e487b7160e01b5f52604160045260245ffd5b6040528235610f1081610c76565b8152610f1e60208401610c8d565b602082015260408381013590820152610f3960608401610e3e565b6060820152939250505056fea2646970667358221220f47178fcbaee59a6f8edea1026519e48c0b5ae2944f260ced10f1b4a425a0f1064736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000776d3a1591e3f8b466b9cee9dd1d849c92b30ca50000000000000000000000004509f7ffa3f0be2739d26d3afb2f659ed91410d2
-----Decoded View---------------
Arg [0] : _everlongCore (address): 0x776D3a1591E3F8b466B9Cee9DD1D849C92B30Ca5
Arg [1] : _initialOwner (address): 0x4509F7ffa3f0be2739d26D3AFb2f659ed91410d2
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000776d3a1591e3f8b466b9cee9dd1d849c92b30ca5
Arg [1] : 0000000000000000000000004509f7ffa3f0be2739d26d3afb2f659ed91410d2
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.