Source Code
Overview
ETH Balance
ETH Value
$0.00Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326693 | 21 mins ago | 0 ETH | ||||
| 28326692 | 21 mins ago | 0 ETH | ||||
| 28326692 | 21 mins ago | 0 ETH | ||||
| 28326692 | 21 mins ago | 0 ETH | ||||
| 28326692 | 21 mins ago | 0 ETH | ||||
| 28326692 | 21 mins ago | 0 ETH | ||||
| 28324993 | 1 hr ago | 0 ETH | ||||
| 28324993 | 1 hr ago | 0 ETH | ||||
| 28324993 | 1 hr ago | 0 ETH | ||||
| 28324993 | 1 hr ago | 0 ETH | ||||
| 28324993 | 1 hr ago | 0 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
AddressesProvider
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.19;
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IAddressesProvider.sol";
import "./libraries/Errors.sol";
contract AddressesProvider is Ownable, Initializable, IAddressesProvider {
bytes32 private constant TIMELOCK = "TIMELOCK";
bytes32 private constant ROLE_MANAGER = "ROLE_MANAGER";
bytes32 private constant PRICE_ORACLE = "PRICE_ORACLE";
bytes32 private constant INDEX_PRICE_ORACLE = "INDEX_PRICE_ORACLE";
bytes32 private constant FUNDING_RATE = "FUNDING_RATE";
bytes32 private constant EXECUTION_LOGIC = "EXECUTION_LOGIC";
bytes32 private constant LIQUIDATION_LOGIC = "LIQUIDATION_LOGIC";
bytes32 private constant BACKTRACKER = "BACKTRACKER";
address public immutable override WETH;
mapping(bytes32 => address) private _addresses;
constructor(address _weth, address _timelock) {
WETH = _weth;
setAddress(TIMELOCK, _timelock);
}
modifier onlyTimelock() {
require(msg.sender == _addresses[TIMELOCK], "only timelock");
_;
}
function initialize(
address _priceOracle,
address _indexPriceOracle,
address _fundingRate,
address _executionLogic,
address _liquidationLogic,
address _backtracker
) external onlyOwner initializer {
setAddress(PRICE_ORACLE, _priceOracle);
setAddress(INDEX_PRICE_ORACLE, _indexPriceOracle);
setAddress(FUNDING_RATE, _fundingRate);
setAddress(EXECUTION_LOGIC, _executionLogic);
setAddress(LIQUIDATION_LOGIC, _liquidationLogic);
setAddress(BACKTRACKER, _backtracker);
}
function getAddress(bytes32 id) public view returns (address) {
return _addresses[id];
}
function timelock() external view override returns (address) {
return getAddress(TIMELOCK);
}
function roleManager() external view override returns (address) {
return getAddress(ROLE_MANAGER);
}
function priceOracle() external view override returns (address) {
return getAddress(PRICE_ORACLE);
}
function indexPriceOracle() external view override returns (address) {
return getAddress(INDEX_PRICE_ORACLE);
}
function fundingRate() external view override returns (address) {
return getAddress(FUNDING_RATE);
}
function executionLogic() external view override returns (address) {
return getAddress(EXECUTION_LOGIC);
}
function liquidationLogic() external view override returns (address) {
return getAddress(LIQUIDATION_LOGIC);
}
function backtracker() external view override returns (address) {
return getAddress(BACKTRACKER);
}
function setAddress(bytes32 id, address newAddress) public onlyOwner {
address oldAddress = _addresses[id];
_addresses[id] = newAddress;
emit AddressSet(id, oldAddress, newAddress);
}
function setTimelock(address newAddress) public onlyTimelock {
require(newAddress != address(0), Errors.NOT_ADDRESS_ZERO);
address oldAddress = _addresses[TIMELOCK];
_addresses[TIMELOCK] = newAddress;
emit AddressSet(TIMELOCK, oldAddress, newAddress);
}
function setPriceOracle(address newAddress) external onlyTimelock {
require(newAddress != address(0), Errors.NOT_ADDRESS_ZERO);
address oldAddress = _addresses[PRICE_ORACLE];
_addresses[PRICE_ORACLE] = newAddress;
emit AddressSet(PRICE_ORACLE, oldAddress, newAddress);
}
function setIndexPriceOracle(address newAddress) external onlyTimelock {
require(newAddress != address(0), Errors.NOT_ADDRESS_ZERO);
address oldAddress = _addresses[INDEX_PRICE_ORACLE];
_addresses[INDEX_PRICE_ORACLE] = newAddress;
emit AddressSet(INDEX_PRICE_ORACLE, oldAddress, newAddress);
}
function setFundingRate(address newAddress) external onlyTimelock {
require(newAddress != address(0), Errors.NOT_ADDRESS_ZERO);
address oldAddress = _addresses[FUNDING_RATE];
_addresses[FUNDING_RATE] = newAddress;
emit AddressSet(FUNDING_RATE, oldAddress, newAddress);
}
function setExecutionLogic(address newAddress) external onlyTimelock {
require(newAddress != address(0), Errors.NOT_ADDRESS_ZERO);
address oldAddress = _addresses[EXECUTION_LOGIC];
_addresses[EXECUTION_LOGIC] = newAddress;
emit AddressSet(EXECUTION_LOGIC, oldAddress, newAddress);
}
function setLiquidationLogic(address newAddress) external onlyTimelock {
require(newAddress != address(0), Errors.NOT_ADDRESS_ZERO);
address oldAddress = _addresses[LIQUIDATION_LOGIC];
_addresses[LIQUIDATION_LOGIC] = newAddress;
emit AddressSet(LIQUIDATION_LOGIC, oldAddress, newAddress);
}
function setBacktracker(address newAddress) external onlyTimelock {
require(newAddress != address(0), Errors.NOT_ADDRESS_ZERO);
address oldAddress = _addresses[BACKTRACKER];
_addresses[BACKTRACKER] = newAddress;
emit AddressSet(BACKTRACKER, oldAddress, newAddress);
}
function setRolManager(address newAddress) external onlyOwner {
require(newAddress != address(0), Errors.NOT_ADDRESS_ZERO);
setAddress(ROLE_MANAGER, newAddress);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)
pragma solidity ^0.8.2;
import "../../utils/AddressUpgradeable.sol";
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
*
* The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
* reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
* case an upgrade adds a module that needs to be initialized.
*
* For example:
*
* [.hljs-theme-light.nopadding]
* ```solidity
* contract MyToken is ERC20Upgradeable {
* function initialize() initializer public {
* __ERC20_init("MyToken", "MTK");
* }
* }
*
* contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
* function initializeV2() reinitializer(2) public {
* __ERC20Permit_init("MyToken");
* }
* }
* ```
*
* TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
*
* CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
*
* [CAUTION]
* ====
* Avoid leaving a contract uninitialized.
*
* An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
* contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
* the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
*
* [.hljs-theme-light.nopadding]
* ```
* /// @custom:oz-upgrades-unsafe-allow constructor
* constructor() {
* _disableInitializers();
* }
* ```
* ====
*/
abstract contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
* @custom:oz-retyped-from bool
*/
uint8 private _initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private _initializing;
/**
* @dev Triggered when the contract has been initialized or reinitialized.
*/
event Initialized(uint8 version);
/**
* @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
* `onlyInitializing` functions can be used to initialize parent contracts.
*
* Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
* constructor.
*
* Emits an {Initialized} event.
*/
modifier initializer() {
bool isTopLevelCall = !_initializing;
require(
(isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
"Initializable: contract is already initialized"
);
_initialized = 1;
if (isTopLevelCall) {
_initializing = true;
}
_;
if (isTopLevelCall) {
_initializing = false;
emit Initialized(1);
}
}
/**
* @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
* contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
* used to initialize parent contracts.
*
* A reinitializer may be used after the original initialization step. This is essential to configure modules that
* are added through upgrades and that require initialization.
*
* When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
* cannot be nested. If one is invoked in the context of another, execution will revert.
*
* Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
* a contract, executing them in the right order is up to the developer or operator.
*
* WARNING: setting the version to 255 will prevent any future reinitialization.
*
* Emits an {Initialized} event.
*/
modifier reinitializer(uint8 version) {
require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
_initialized = version;
_initializing = true;
_;
_initializing = false;
emit Initialized(version);
}
/**
* @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
* {initializer} and {reinitializer} modifiers, directly or indirectly.
*/
modifier onlyInitializing() {
require(_initializing, "Initializable: contract is not initializing");
_;
}
/**
* @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
* Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
* to any version. It is recommended to use this to lock implementation contracts that are designed to be called
* through proxies.
*
* Emits an {Initialized} event the first time it is successfully executed.
*/
function _disableInitializers() internal virtual {
require(!_initializing, "Initializable: contract is initializing");
if (_initialized != type(uint8).max) {
_initialized = type(uint8).max;
emit Initialized(type(uint8).max);
}
}
/**
* @dev Returns the highest version that has been initialized. See {reinitializer}.
*/
function _getInitializedVersion() internal view returns (uint8) {
return _initialized;
}
/**
* @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
*/
function _isInitializing() internal view returns (bool) {
return _initializing;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library AddressUpgradeable {
/**
* @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
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [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://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.0/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
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.0;
interface IAddressesProvider {
event AddressSet(bytes32 indexed id, address indexed oldAddress, address indexed newAddress);
function WETH() external view returns (address);
function timelock() external view returns (address);
function priceOracle() external view returns (address);
function indexPriceOracle() external view returns (address);
function fundingRate() external view returns (address);
function executionLogic() external view returns (address);
function liquidationLogic() external view returns (address);
function roleManager() external view returns (address);
function backtracker() external view returns (address);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
library Errors {
string public constant CALLER_NOT_POOL_ADMIN = "onlyPoolAdmin"; // The caller of the function is not a pool admin
string public constant NOT_ADDRESS_ZERO = "is 0"; // The caller of the function is not a pool admin
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"viaIR": true,
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address","name":"_timelock","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"AddressSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"backtracker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"executionLogic","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fundingRate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"getAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"indexPriceOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_priceOracle","type":"address"},{"internalType":"address","name":"_indexPriceOracle","type":"address"},{"internalType":"address","name":"_fundingRate","type":"address"},{"internalType":"address","name":"_executionLogic","type":"address"},{"internalType":"address","name":"_liquidationLogic","type":"address"},{"internalType":"address","name":"_backtracker","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidationLogic","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceOracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"roleManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"},{"internalType":"address","name":"newAddress","type":"address"}],"name":"setAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setBacktracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setExecutionLogic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setFundingRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setIndexPriceOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setLiquidationLogic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setPriceOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setRolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timelock","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60a03461010157601f61137f38819003918201601f19168301916001600160401b0383118484101761010657808492604094855283398101031261010157610052602061004b8361011c565b920161011c565b600080546001600160a01b0319808216339081178455939490936001600160a01b039283167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a36080527f9ef0e8c8e52743bb38b83b17d9429141d494b8041ca6d616a6c77cebae9cd8b76754494d454c4f434b60c01b9182845260016020526040842081815497168096881617905560405195169280a461124e908161013182396080518161097a0152f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036101015756fe608080604052600436101561001357600080fd5b60003560e01c908162435da51461100f5750806321f8a72114610fdb5780632630c12f14610f7c57806326e1c80b14610eb657806330a81a2114610de95780633e7f096214610d1d57806341d3c84c14610cbe578063477a86ef14610c5a578063530e784f14610b935780635434a1df14610b2e5780635ac6248a14610a89578063715018a614610a305780638da5cb5b14610a07578063ad1eecf4146109a9578063ad5c464814610964578063b96684821461089d578063bdacb303146107f3578063c4aa304114610791578063ca446dd914610728578063cc2a9a5b14610304578063d33219b4146102bb578063e4271e2d146101e95763f2fde38b1461011b57600080fd5b346101e45760203660031901126101e45761013461106a565b61013c611096565b6001600160a01b0390811690811561019057600054826bffffffffffffffffffffffff60a01b821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b600080fd5b346101e45760203660031901126101e45761020261106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b0391829161023e90831633146110ee565b169061025361024b61112a565b831515611171565b6e455845435554494f4e5f4c4f47494360881b600081815260016020527f7040d9035199443f2087f1e29c3d28f1cc4a7de063dfd8c1aa6418430f0fb66780546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760003660031901126101e4576754494d454c4f434b60c01b600052600160209081526000805160206111f9833981519152546040516001600160a01b039091168152f35b346101e45760c03660031901126101e45761031d61106a565b610325611080565b604435916001600160a01b03831683036101e4576064356001600160a01b03811681036101e457608435906001600160a01b03821682036101e45760a435946001600160a01b03861686036101e45761037c611096565b6000549460ff8660a81c161595868097610718575b80156106fe575b156106a25760ff60a01b198116600160a01b176000558661068a575b506103bd611096565b6b50524943455f4f5241434c4560a01b600081815260016020527f09c42ce2b8743b2d739b046fe6af227cd392ebe6dc7ade0f7795bfe8b5e8d52480546001600160a01b039889166001600160a01b0319821681179092556000805160206111d9833981519152989193911691889080a4610436611096565b71494e4445585f50524943455f4f5241434c4560701b600081815260016020527f2e573600b475045b060c72d5873093b3b53001bc009df6fa7c3c354d4e90593e80546001600160a01b039485166001600160a01b0319821681179092559093169190879080a46104a5611096565b6b46554e44494e475f5241544560a01b600081815260016020527fb897944fac891f0f3a8f530b4b9cc11516a12ceca8e00089453f08d3e78a493280546001600160a01b039485166001600160a01b0319821681179092559093169190869080a461050e611096565b6e455845435554494f4e5f4c4f47494360881b600081815260016020527f7040d9035199443f2087f1e29c3d28f1cc4a7de063dfd8c1aa6418430f0fb66780546001600160a01b039485166001600160a01b0319821681179092559093169190859080a461057a611096565b704c49515549444154494f4e5f4c4f47494360781b600081815260016020527f5bf9e092ab310df2ad9bcf838d8a2ae9078d8cefe2e978d3a92d17eaa75f710f80546001600160a01b039485166001600160a01b0319821681179092559093169190849080a46105e8611096565b6a2120a1a5aa2920a1a5a2a960a91b600081815260016020527f7237d0981820bd22adadeccfc9770d51848cfe06bab80ec420bfd79541f526fa80546001600160a01b039687166001600160a01b0319821681179092556040519691949116929180a461065157005b6000805460ff60a81b19169055600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a1005b61ffff60a01b191661010160a01b17600055876103b4565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b50303b1580156103985750600160ff8260a01c1614610398565b50600160ff8260a01c1610610391565b346101e45760403660031901126101e457600435610744611080565b9061074d611096565b600081815260016020526040812080546001600160a01b039485166001600160a01b03198216811790925590931691906000805160206111d98339815191529080a4005b346101e45760003660031901126101e4576e455845435554494f4e5f4c4f47494360881b600052600160209081527f7040d9035199443f2087f1e29c3d28f1cc4a7de063dfd8c1aa6418430f0fb667546040516001600160a01b039091168152f35b346101e45760203660031901126101e45761080c61106a565b6754494d454c4f434b60c01b600081905260016020526000805160206111f9833981519152546001600160a01b0392839161084a90831633146110ee565b169161085f61085761112a565b841515611171565b8160005260016020526040600020805490846bffffffffffffffffffffffff60a01b831617905516906000805160206111d9833981519152600080a4005b346101e45760203660031901126101e4576108b661106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b039182916108f290831633146110ee565b16906108ff61024b61112a565b6b46554e44494e475f5241544560a01b600081815260016020527fb897944fac891f0f3a8f530b4b9cc11516a12ceca8e00089453f08d3e78a493280546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760003660031901126101e4576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346101e45760003660031901126101e4576a2120a1a5aa2920a1a5a2a960a91b600052600160209081527f7237d0981820bd22adadeccfc9770d51848cfe06bab80ec420bfd79541f526fa546040516001600160a01b039091168152f35b346101e45760003660031901126101e4576000546040516001600160a01b039091168152602090f35b346101e45760003660031901126101e457610a49611096565b600080546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346101e45760203660031901126101e457610aa261106a565b610aaa611096565b6001600160a01b0390811690610ac161024b61112a565b610ac9611096565b6b2927a622afa6a0a720a3a2a960a11b600081815260016020527fac9786f842679119c45f55854d5a4cedee202e9fbaba6f0502cc3f41977aef0f80546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760003660031901126101e45771494e4445585f50524943455f4f5241434c4560701b600052600160209081527f2e573600b475045b060c72d5873093b3b53001bc009df6fa7c3c354d4e90593e546040516001600160a01b039091168152f35b346101e45760203660031901126101e457610bac61106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b03918291610be890831633146110ee565b1690610bf561024b61112a565b6b50524943455f4f5241434c4560a01b600081815260016020527f09c42ce2b8743b2d739b046fe6af227cd392ebe6dc7ade0f7795bfe8b5e8d52480546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760003660031901126101e457704c49515549444154494f4e5f4c4f47494360781b600052600160209081527f5bf9e092ab310df2ad9bcf838d8a2ae9078d8cefe2e978d3a92d17eaa75f710f546040516001600160a01b039091168152f35b346101e45760003660031901126101e4576b46554e44494e475f5241544560a01b600052600160209081527fb897944fac891f0f3a8f530b4b9cc11516a12ceca8e00089453f08d3e78a4932546040516001600160a01b039091168152f35b346101e45760203660031901126101e457610d3661106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b03918291610d7290831633146110ee565b1690610d7f61024b61112a565b704c49515549444154494f4e5f4c4f47494360781b600081815260016020527f5bf9e092ab310df2ad9bcf838d8a2ae9078d8cefe2e978d3a92d17eaa75f710f80546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760203660031901126101e457610e0261106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b03918291610e3e90831633146110ee565b1690610e4b61024b61112a565b71494e4445585f50524943455f4f5241434c4560701b600081815260016020527f2e573600b475045b060c72d5873093b3b53001bc009df6fa7c3c354d4e90593e80546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760203660031901126101e457610ecf61106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b03918291610f0b90831633146110ee565b1690610f1861024b61112a565b6a2120a1a5aa2920a1a5a2a960a91b600081815260016020527f7237d0981820bd22adadeccfc9770d51848cfe06bab80ec420bfd79541f526fa80546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760003660031901126101e4576b50524943455f4f5241434c4560a01b600052600160209081527f09c42ce2b8743b2d739b046fe6af227cd392ebe6dc7ade0f7795bfe8b5e8d524546040516001600160a01b039091168152f35b346101e45760203660031901126101e4576004356000526001602052602060018060a01b0360406000205416604051908152f35b346101e45760003660031901126101e4576b2927a622afa6a0a720a3a2a960a11b600052600160209081527fac9786f842679119c45f55854d5a4cedee202e9fbaba6f0502cc3f41977aef0f546001600160a01b0316825290f35b600435906001600160a01b03821682036101e457565b602435906001600160a01b03821682036101e457565b6000546001600160a01b031633036110aa57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b156110f557565b60405162461bcd60e51b815260206004820152600d60248201526c6f6e6c792074696d656c6f636b60981b6044820152606490fd5b604051906040820182811067ffffffffffffffff82111761115b5760405260048252630697320360e41b6020830152565b634e487b7160e01b600052604160045260246000fd5b156111795750565b6040519062461bcd60e51b82528160208060048301528251908160248401526000935b8285106111bf575050604492506000838284010152601f80199101168101030190fd5b848101820151868601604401529381019385935061119c56fe9ef0e8c8e52743bb38b83b17d9429141d494b8041ca6d616a6c77cebae9cd8b782364ef6a198b23dc8959ae6274daaa31e2af17f09065dff6c65e5452b3c09eea26469706673582212201d4bc2ef3416036314a66ac0547294d5b91f233bebc4fbf359e474ddd20f4a6c64736f6c63430008130033000000000000000000000000e5d7c2a44ffddf6b295a15c148167daaaf5cf34f0000000000000000000000009677fa1f6bf2d8a135eb7f2662f1214e7c4509a1
Deployed Bytecode
0x608080604052600436101561001357600080fd5b60003560e01c908162435da51461100f5750806321f8a72114610fdb5780632630c12f14610f7c57806326e1c80b14610eb657806330a81a2114610de95780633e7f096214610d1d57806341d3c84c14610cbe578063477a86ef14610c5a578063530e784f14610b935780635434a1df14610b2e5780635ac6248a14610a89578063715018a614610a305780638da5cb5b14610a07578063ad1eecf4146109a9578063ad5c464814610964578063b96684821461089d578063bdacb303146107f3578063c4aa304114610791578063ca446dd914610728578063cc2a9a5b14610304578063d33219b4146102bb578063e4271e2d146101e95763f2fde38b1461011b57600080fd5b346101e45760203660031901126101e45761013461106a565b61013c611096565b6001600160a01b0390811690811561019057600054826bffffffffffffffffffffffff60a01b821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b600080fd5b346101e45760203660031901126101e45761020261106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b0391829161023e90831633146110ee565b169061025361024b61112a565b831515611171565b6e455845435554494f4e5f4c4f47494360881b600081815260016020527f7040d9035199443f2087f1e29c3d28f1cc4a7de063dfd8c1aa6418430f0fb66780546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760003660031901126101e4576754494d454c4f434b60c01b600052600160209081526000805160206111f9833981519152546040516001600160a01b039091168152f35b346101e45760c03660031901126101e45761031d61106a565b610325611080565b604435916001600160a01b03831683036101e4576064356001600160a01b03811681036101e457608435906001600160a01b03821682036101e45760a435946001600160a01b03861686036101e45761037c611096565b6000549460ff8660a81c161595868097610718575b80156106fe575b156106a25760ff60a01b198116600160a01b176000558661068a575b506103bd611096565b6b50524943455f4f5241434c4560a01b600081815260016020527f09c42ce2b8743b2d739b046fe6af227cd392ebe6dc7ade0f7795bfe8b5e8d52480546001600160a01b039889166001600160a01b0319821681179092556000805160206111d9833981519152989193911691889080a4610436611096565b71494e4445585f50524943455f4f5241434c4560701b600081815260016020527f2e573600b475045b060c72d5873093b3b53001bc009df6fa7c3c354d4e90593e80546001600160a01b039485166001600160a01b0319821681179092559093169190879080a46104a5611096565b6b46554e44494e475f5241544560a01b600081815260016020527fb897944fac891f0f3a8f530b4b9cc11516a12ceca8e00089453f08d3e78a493280546001600160a01b039485166001600160a01b0319821681179092559093169190869080a461050e611096565b6e455845435554494f4e5f4c4f47494360881b600081815260016020527f7040d9035199443f2087f1e29c3d28f1cc4a7de063dfd8c1aa6418430f0fb66780546001600160a01b039485166001600160a01b0319821681179092559093169190859080a461057a611096565b704c49515549444154494f4e5f4c4f47494360781b600081815260016020527f5bf9e092ab310df2ad9bcf838d8a2ae9078d8cefe2e978d3a92d17eaa75f710f80546001600160a01b039485166001600160a01b0319821681179092559093169190849080a46105e8611096565b6a2120a1a5aa2920a1a5a2a960a91b600081815260016020527f7237d0981820bd22adadeccfc9770d51848cfe06bab80ec420bfd79541f526fa80546001600160a01b039687166001600160a01b0319821681179092556040519691949116929180a461065157005b6000805460ff60a81b19169055600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a1005b61ffff60a01b191661010160a01b17600055876103b4565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b50303b1580156103985750600160ff8260a01c1614610398565b50600160ff8260a01c1610610391565b346101e45760403660031901126101e457600435610744611080565b9061074d611096565b600081815260016020526040812080546001600160a01b039485166001600160a01b03198216811790925590931691906000805160206111d98339815191529080a4005b346101e45760003660031901126101e4576e455845435554494f4e5f4c4f47494360881b600052600160209081527f7040d9035199443f2087f1e29c3d28f1cc4a7de063dfd8c1aa6418430f0fb667546040516001600160a01b039091168152f35b346101e45760203660031901126101e45761080c61106a565b6754494d454c4f434b60c01b600081905260016020526000805160206111f9833981519152546001600160a01b0392839161084a90831633146110ee565b169161085f61085761112a565b841515611171565b8160005260016020526040600020805490846bffffffffffffffffffffffff60a01b831617905516906000805160206111d9833981519152600080a4005b346101e45760203660031901126101e4576108b661106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b039182916108f290831633146110ee565b16906108ff61024b61112a565b6b46554e44494e475f5241544560a01b600081815260016020527fb897944fac891f0f3a8f530b4b9cc11516a12ceca8e00089453f08d3e78a493280546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760003660031901126101e4576040517f000000000000000000000000e5d7c2a44ffddf6b295a15c148167daaaf5cf34f6001600160a01b03168152602090f35b346101e45760003660031901126101e4576a2120a1a5aa2920a1a5a2a960a91b600052600160209081527f7237d0981820bd22adadeccfc9770d51848cfe06bab80ec420bfd79541f526fa546040516001600160a01b039091168152f35b346101e45760003660031901126101e4576000546040516001600160a01b039091168152602090f35b346101e45760003660031901126101e457610a49611096565b600080546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346101e45760203660031901126101e457610aa261106a565b610aaa611096565b6001600160a01b0390811690610ac161024b61112a565b610ac9611096565b6b2927a622afa6a0a720a3a2a960a11b600081815260016020527fac9786f842679119c45f55854d5a4cedee202e9fbaba6f0502cc3f41977aef0f80546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760003660031901126101e45771494e4445585f50524943455f4f5241434c4560701b600052600160209081527f2e573600b475045b060c72d5873093b3b53001bc009df6fa7c3c354d4e90593e546040516001600160a01b039091168152f35b346101e45760203660031901126101e457610bac61106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b03918291610be890831633146110ee565b1690610bf561024b61112a565b6b50524943455f4f5241434c4560a01b600081815260016020527f09c42ce2b8743b2d739b046fe6af227cd392ebe6dc7ade0f7795bfe8b5e8d52480546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760003660031901126101e457704c49515549444154494f4e5f4c4f47494360781b600052600160209081527f5bf9e092ab310df2ad9bcf838d8a2ae9078d8cefe2e978d3a92d17eaa75f710f546040516001600160a01b039091168152f35b346101e45760003660031901126101e4576b46554e44494e475f5241544560a01b600052600160209081527fb897944fac891f0f3a8f530b4b9cc11516a12ceca8e00089453f08d3e78a4932546040516001600160a01b039091168152f35b346101e45760203660031901126101e457610d3661106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b03918291610d7290831633146110ee565b1690610d7f61024b61112a565b704c49515549444154494f4e5f4c4f47494360781b600081815260016020527f5bf9e092ab310df2ad9bcf838d8a2ae9078d8cefe2e978d3a92d17eaa75f710f80546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760203660031901126101e457610e0261106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b03918291610e3e90831633146110ee565b1690610e4b61024b61112a565b71494e4445585f50524943455f4f5241434c4560701b600081815260016020527f2e573600b475045b060c72d5873093b3b53001bc009df6fa7c3c354d4e90593e80546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760203660031901126101e457610ecf61106a565b6754494d454c4f434b60c01b60005260016020526000805160206111f9833981519152546001600160a01b03918291610f0b90831633146110ee565b1690610f1861024b61112a565b6a2120a1a5aa2920a1a5a2a960a91b600081815260016020527f7237d0981820bd22adadeccfc9770d51848cfe06bab80ec420bfd79541f526fa80546001600160a01b031981168617909155909216916000805160206111d98339815191529080a4005b346101e45760003660031901126101e4576b50524943455f4f5241434c4560a01b600052600160209081527f09c42ce2b8743b2d739b046fe6af227cd392ebe6dc7ade0f7795bfe8b5e8d524546040516001600160a01b039091168152f35b346101e45760203660031901126101e4576004356000526001602052602060018060a01b0360406000205416604051908152f35b346101e45760003660031901126101e4576b2927a622afa6a0a720a3a2a960a11b600052600160209081527fac9786f842679119c45f55854d5a4cedee202e9fbaba6f0502cc3f41977aef0f546001600160a01b0316825290f35b600435906001600160a01b03821682036101e457565b602435906001600160a01b03821682036101e457565b6000546001600160a01b031633036110aa57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b156110f557565b60405162461bcd60e51b815260206004820152600d60248201526c6f6e6c792074696d656c6f636b60981b6044820152606490fd5b604051906040820182811067ffffffffffffffff82111761115b5760405260048252630697320360e41b6020830152565b634e487b7160e01b600052604160045260246000fd5b156111795750565b6040519062461bcd60e51b82528160208060048301528251908160248401526000935b8285106111bf575050604492506000838284010152601f80199101168101030190fd5b848101820151868601604401529381019385935061119c56fe9ef0e8c8e52743bb38b83b17d9429141d494b8041ca6d616a6c77cebae9cd8b782364ef6a198b23dc8959ae6274daaa31e2af17f09065dff6c65e5452b3c09eea26469706673582212201d4bc2ef3416036314a66ac0547294d5b91f233bebc4fbf359e474ddd20f4a6c64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e5d7c2a44ffddf6b295a15c148167daaaf5cf34f0000000000000000000000009677fa1f6bf2d8a135eb7f2662f1214e7c4509a1
-----Decoded View---------------
Arg [0] : _weth (address): 0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f
Arg [1] : _timelock (address): 0x9677Fa1F6bf2D8a135Eb7f2662f1214e7C4509a1
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000e5d7c2a44ffddf6b295a15c148167daaaf5cf34f
Arg [1] : 0000000000000000000000009677fa1f6bf2d8a135eb7f2662f1214e7c4509a1
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.