Sepolia Testnet

Contract

0xA73A7B754Ec870b3738D0654cA75b7d0eEbdb460

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Value
0x6080604054873052024-03-14 23:44:0096 days ago1710459840IN
 Create: EmptyFuturesMarketManager
0 ETH0.000031280.11542653

Advanced mode:
Parent Transaction Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EmptyFuturesMarketManager

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2024-03-15
*/

/*
   ____            __   __        __   _
  / __/__ __ ___  / /_ / /  ___  / /_ (_)__ __
 _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
     /___/

* 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) 2024 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 markets(
        uint index,
        uint pageSize,
        bool proxiedMarkets
    ) external view returns (address[] memory);

    function numMarkets() external view returns (uint);

    function numMarkets(bool proxiedMarkets) external view returns (uint);

    function allMarkets() external view returns (address[] memory);

    function allMarkets(bool proxiedMarkets) 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);

    function isEndorsed(address account) external view returns (bool);

    function allEndorsedAddresses() external view returns (address[] memory);

    function addEndorsedAddresses(address[] calldata addresses) external;

    function removeEndorsedAddresses(address[] calldata addresses) external;
}


// Empty contract for ether collateral placeholder for OVM
// https://docs.synthetix.io/contracts/source/contracts/emptyethercollateral


contract EmptyFuturesMarketManager is IFuturesMarketManager {
    bytes32 public constant CONTRACT_NAME = "EmptyFuturesMarketManager";

    function markets(uint index, uint pageSize) external view returns (address[] memory) {
        index;
        pageSize;
        address[] memory _markets;
        return _markets;
    }

    function markets(
        uint index,
        uint pageSize,
        bool proxiedMarkets
    ) external view returns (address[] memory) {
        index;
        pageSize;
        proxiedMarkets;
        address[] memory _markets;
        return _markets;
    }

    function numMarkets() external view returns (uint) {
        return 0;
    }

    function numMarkets(bool proxiedMarkets) external view returns (uint) {
        proxiedMarkets;
        return 0;
    }

    function allMarkets() external view returns (address[] memory) {
        address[] memory _markets;
        return _markets;
    }

    function allMarkets(bool proxiedMarkets) external view returns (address[] memory) {
        proxiedMarkets;
        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);
    }

    function isEndorsed(address account) external view returns (bool) {
        account;
        return false;
    }

    function allEndorsedAddresses() external view returns (address[] memory) {
        address[] memory _endorsedAddresses;
        return _endorsedAddresses;
    }

    function addEndorsedAddresses(address[] calldata addresses) external {
        addresses;
    }

    function removeEndorsedAddresses(address[] calldata addresses) external {
        addresses;
    }
}

Contract ABI

[{"constant":true,"inputs":[],"name":"CONTRACT_NAME","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addEndorsedAddresses","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"allEndorsedAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"allMarkets","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bool","name":"proxiedMarkets","type":"bool"}],"name":"allMarkets","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isEndorsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"},{"internalType":"bool","name":"proxiedMarkets","type":"bool"}],"name":"markets","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":[{"internalType":"bool","name":"proxiedMarkets","type":"bool"}],"name":"numMarkets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeEndorsedAddresses","outputs":[],"payable":false,"stateMutability":"nonpayable","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"}]

608060405234801561001057600080fd5b506103f1806100206000396000f3fe608060405234801561001057600080fd5b50600436106100e95760003560e01c8063c03852fb1161008c578063f607d90011610066578063f607d90014610307578063fb77549c1461025c578063fc7b9c1814610326578063fe11edc914610347576100e9565b8063c03852fb1461023d578063ca0798851461025c578063e63bfadb146102ce576100e9565b80634dc25348116100c85780634dc25348146101c8578063614d08f8146101d057806395fafa4a146101d8578063a237e94d14610203576100e9565b80628d3aca146100ee57806326e04f9d146101ae578063375a7cba146101c8575b600080fd5b61015e6004803603602081101561010457600080fd5b81019060208101813564010000000081111561011f57600080fd5b82018360208201111561013157600080fd5b8035906020019184602083028401116401000000008311171561015357600080fd5b509092509050610366565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561019a578181015183820152602001610182565b505050509050019250505060405180910390f35b6101b661036e565b60408051918252519081900360200190f35b61015e610373565b6101b6610378565b61015e600480360360608110156101ee57600080fd5b5080359060208101359060400135151561039c565b6102296004803603602081101561021957600080fd5b50356001600160a01b03166103a5565b604080519115158252519081900360200190f35b6101b66004803603602081101561025357600080fd5b503515156103a5565b6102cc6004803603602081101561027257600080fd5b81019060208101813564010000000081111561028d57600080fd5b82018360208201111561029f57600080fd5b803590602001918460208302840111640100000000831117156102c157600080fd5b5090925090506103ab565b005b6102eb600480360360208110156102e457600080fd5b50356103a5565b604080516001600160a01b039092168252519081900360200190f35b61015e6004803603602081101561031d57600080fd5b503515156103af565b61032e6103b5565b6040805192835290151560208301528051918290030190f35b61015e6004803603604081101561035d57600080fd5b50803590602001355b606092915050565b600090565b606090565b7f456d707479467574757265734d61726b65744d616e616765720000000000000081565b60609392505050565b50600090565b5050565b50606090565b600080909156fea265627a7a723158201428727950bb2c60b1a6f5f2c47b056b2cfe44759599ec4ecba33f0a3a4f5eb164736f6c63430005100032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100e95760003560e01c8063c03852fb1161008c578063f607d90011610066578063f607d90014610307578063fb77549c1461025c578063fc7b9c1814610326578063fe11edc914610347576100e9565b8063c03852fb1461023d578063ca0798851461025c578063e63bfadb146102ce576100e9565b80634dc25348116100c85780634dc25348146101c8578063614d08f8146101d057806395fafa4a146101d8578063a237e94d14610203576100e9565b80628d3aca146100ee57806326e04f9d146101ae578063375a7cba146101c8575b600080fd5b61015e6004803603602081101561010457600080fd5b81019060208101813564010000000081111561011f57600080fd5b82018360208201111561013157600080fd5b8035906020019184602083028401116401000000008311171561015357600080fd5b509092509050610366565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561019a578181015183820152602001610182565b505050509050019250505060405180910390f35b6101b661036e565b60408051918252519081900360200190f35b61015e610373565b6101b6610378565b61015e600480360360608110156101ee57600080fd5b5080359060208101359060400135151561039c565b6102296004803603602081101561021957600080fd5b50356001600160a01b03166103a5565b604080519115158252519081900360200190f35b6101b66004803603602081101561025357600080fd5b503515156103a5565b6102cc6004803603602081101561027257600080fd5b81019060208101813564010000000081111561028d57600080fd5b82018360208201111561029f57600080fd5b803590602001918460208302840111640100000000831117156102c157600080fd5b5090925090506103ab565b005b6102eb600480360360208110156102e457600080fd5b50356103a5565b604080516001600160a01b039092168252519081900360200190f35b61015e6004803603602081101561031d57600080fd5b503515156103af565b61032e6103b5565b6040805192835290151560208301528051918290030190f35b61015e6004803603604081101561035d57600080fd5b50803590602001355b606092915050565b600090565b606090565b7f456d707479467574757265734d61726b65744d616e616765720000000000000081565b60609392505050565b50600090565b5050565b50606090565b600080909156fea265627a7a723158201428727950bb2c60b1a6f5f2c47b056b2cfe44759599ec4ecba33f0a3a4f5eb164736f6c63430005100032

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.