Overview
S Balance
0 S
S Value
-More Info
Private Name Tags
ContractCreator
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x076047Ea...f084189Af The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
AlgebraVaultFactoryStub
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 800 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity =0.8.20; pragma abicoder v1; import './interfaces/vault/IAlgebraVaultFactory.sol'; /// @title Algebra vault factory stub /// @notice This contract is used to set AlgebraCommunityVault as communityVault in new pools contract AlgebraVaultFactoryStub is IAlgebraVaultFactory { /// @notice the address of AlgebraCommunityVault address public immutable defaultAlgebraCommunityVault; constructor(address _algebraCommunityVault) { require(_algebraCommunityVault != address(0)); defaultAlgebraCommunityVault = _algebraCommunityVault; } /// @inheritdoc IAlgebraVaultFactory function getVaultForPool(address) external view override returns (address) { return defaultAlgebraCommunityVault; } /// @inheritdoc IAlgebraVaultFactory function createVaultForPool(address) external view override returns (address) { return defaultAlgebraCommunityVault; } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title The interface for the Algebra Vault Factory /// @notice This contract can be used for automatic vaults creation /// @dev Version: Algebra Integral interface IAlgebraVaultFactory { /// @notice returns address of the community fee vault for the pool /// @param pool the address of Algebra Integral pool /// @return communityFeeVault the address of community fee vault function getVaultForPool(address pool) external view returns (address communityFeeVault); /// @notice creates the community fee vault for the pool if needed /// @param pool the address of Algebra Integral pool /// @return communityFeeVault the address of community fee vault function createVaultForPool(address pool) external returns (address communityFeeVault); }
{ "evmVersion": "paris", "optimizer": { "enabled": true, "runs": 800 }, "metadata": { "bytecodeHash": "none" }, "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":"_algebraCommunityVault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"createVaultForPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultAlgebraCommunityVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"getVaultForPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Deployed Bytecode
0x6080604052348015600f57600080fd5b5060043610603c5760003560e01c80637570e389146041578063b7a854521460a5578063cbc48015146041575b600080fd5b607c60048036036020811015605557600080fd5b507f000000000000000000000000f0f62ed4f66572fab5ed4513b99e53bb2660f42a919050565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b607c7f000000000000000000000000f0f62ed4f66572fab5ed4513b99e53bb2660f42a8156fea164736f6c6343000814000a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.