Contract Overview
Balance:
0 Ether
More Info
My Name Tag:
Not Available
Txn Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x2fe2b6e01194ddf6586aad664bf7ff35a9a8398664eae0cc47d64be3e15cef29 | 0x60806040 | 30422140 | 111 days 7 mins ago | 0x73570075092502472e4b61a7058df1a4a1db12f2 | IN | Contract Creation | 0 Ether | 0.00016832 |
[ Download CSV Export ]
Latest 25 internal transaction
[ Download CSV Export ]
Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x1f99f5CbFC3b5Fd804dCc7F7780148F06423AC70
Contract Name:
EmptyFuturesMarketManager
Compiler Version
v0.5.16+commit.9c3226ce
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-03-10 */ /* ____ __ __ __ _ / __/__ __ ___ / /_ / / ___ / /_ (_)__ __ _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ / /___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\ /___/ * Synthetix: EmptyFuturesMarketManager.sol * * Latest source (may be newer): https://github.com/Synthetixio/synthetix/blob/master/contracts/EmptyFuturesMarketManager.sol * Docs: https://docs.synthetix.io/contracts/EmptyFuturesMarketManager * * Contract Dependencies: * - IFuturesMarketManager * Libraries: (none) * * MIT License * =========== * * Copyright (c) 2022 Synthetix * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE */ pragma solidity ^0.5.16; interface IFuturesMarketManager { function markets(uint index, uint pageSize) external view returns (address[] memory); function numMarkets() external view returns (uint); function allMarkets() external view returns (address[] memory); function marketForKey(bytes32 marketKey) external view returns (address); function marketsForKeys(bytes32[] calldata marketKeys) external view returns (address[] memory); function totalDebt() external view returns (uint debt, bool isInvalid); } // Empty contract for ether collateral placeholder for OVM // https://docs.synthetix.io/contracts/source/contracts/emptyethercollateral contract EmptyFuturesMarketManager is IFuturesMarketManager { function markets(uint index, uint pageSize) external view returns (address[] memory) { index; pageSize; address[] memory _markets; return _markets; } function numMarkets() external view returns (uint) { return 0; } function allMarkets() external view returns (address[] memory) { address[] memory _markets; return _markets; } function marketForKey(bytes32 marketKey) external view returns (address) { marketKey; return address(0); } function marketsForKeys(bytes32[] calldata marketKeys) external view returns (address[] memory) { marketKeys; address[] memory _markets; return _markets; } function totalDebt() external view returns (uint debt, bool isInvalid) { return (0, false); } }
[{"constant":true,"inputs":[],"name":"allMarkets","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"marketKey","type":"bytes32"}],"name":"marketForKey","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"pageSize","type":"uint256"}],"name":"markets","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32[]","name":"marketKeys","type":"bytes32[]"}],"name":"marketsForKeys","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"numMarkets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalDebt","outputs":[{"internalType":"uint256","name":"debt","type":"uint256"},{"internalType":"bool","name":"isInvalid","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50610215806100206000396000f3fe608060405234801561001057600080fd5b50600436106100615760003560e01c80628d3aca1461006657806326e04f9d14610126578063375a7cba14610140578063e63bfadb14610148578063fc7b9c1814610181578063fe11edc9146101a2575b600080fd5b6100d66004803603602081101561007c57600080fd5b81019060208101813564010000000081111561009757600080fd5b8201836020820111156100a957600080fd5b803590602001918460208302840111640100000000831117156100cb57600080fd5b5090925090506101c1565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101125781810151838201526020016100fa565b505050509050019250505060405180910390f35b61012e6101c9565b60408051918252519081900360200190f35b6100d66101ce565b6101656004803603602081101561015e57600080fd5b50356101d3565b604080516001600160a01b039092168252519081900360200190f35b6101896101d9565b6040805192835290151560208301528051918290030190f35b6100d6600480360360408110156101b857600080fd5b50803590602001355b606092915050565b600090565b606090565b50600090565b600080909156fea265627a7a72315820a30f2e5904ce7a021433a2f163448afa4f51d6ac663ae7dc9aac199b2d296c0764736f6c63430005100032
Libraries Used
SafeDecimalMath : 0x1a60e2e2a8be0bc2b6381dd31fd3fd5f9a28de4cSystemSettingsLib : 0x34305b62550e0c652e697736e0bc93e67ab9b67b
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.