ETH Price: $2,155.08 (+5.26%)

Contract

0xc9EE4C2e16E9BaA0A10031E082EB3D7aFd94E75e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Confirm Winner U...120476642021-03-16 5:00:371834 days ago1615870837IN
0xc9EE4C2e...aFd94E75e
0 ETH0.01889875130
Propose Winner120398732021-03-15 0:03:131835 days ago1615766593IN
0xc9EE4C2e...aFd94E75e
0 ETH0.0577122150
Propose Winner120397972021-03-14 23:46:491835 days ago1615765609IN
0xc9EE4C2e...aFd94E75e
0 ETH0.00503595150
Confirm Winner U...120032462021-03-09 8:26:461841 days ago1615278406IN
0xc9EE4C2e...aFd94E75e
0 ETH0.01817187125
Propose Winner119946922021-03-08 0:50:011842 days ago1615164601IN
0xc9EE4C2e...aFd94E75e
0 ETH0.05497856140
Set Ticker Symbo...119946002021-03-08 0:29:311842 days ago1615163371IN
0xc9EE4C2e...aFd94E75e
0 ETH0.00812889135
Propose Winner119945132021-03-08 0:08:241842 days ago1615162104IN
0xc9EE4C2e...aFd94E75e
0 ETH0.05166123
Set Ticker Symbo...119599702021-03-02 16:40:271847 days ago1614703227IN
0xc9EE4C2e...aFd94E75e
0 ETH0.01113959185
Confirm Winner U...119599222021-03-02 16:29:471847 days ago1614702587IN
0xc9EE4C2e...aFd94E75e
0 ETH0.02180625150
Propose Winner119489942021-03-01 0:08:371849 days ago1614557317IN
0xc9EE4C2e...aFd94E75e
0 ETH0.0320545680
Confirm Winner U...119193532021-02-24 10:47:121853 days ago1614163632IN
0xc9EE4C2e...aFd94E75e
0 ETH0.02180625150
Propose Winner119035142021-02-22 0:08:131856 days ago1613952493IN
0xc9EE4C2e...aFd94E75e
0 ETH0.04961278123
Confirm Winner U...118658712021-02-16 5:17:351862 days ago1613452655IN
0xc9EE4C2e...aFd94E75e
0 ETH0.01599125110
Propose Winner118579912021-02-15 0:09:211863 days ago1613347761IN
0xc9EE4C2e...aFd94E75e
0 ETH0.0586803140
Propose Winner118579712021-02-15 0:05:291863 days ago1613347529IN
0xc9EE4C2e...aFd94E75e
0 ETH0.04198194140
Set Challenge De...118215422021-02-09 9:50:161868 days ago1612864216IN
0xc9EE4C2e...aFd94E75e
0 ETH0.0075464160
Set Ticker Symbo...118215422021-02-09 9:50:161868 days ago1612864216IN
0xc9EE4C2e...aFd94E75e
0 ETH0.01365417151
Add Feed118215422021-02-09 9:50:161868 days ago1612864216IN
0xc9EE4C2e...aFd94E75e
0 ETH0.00638433141
Set Ticker Symbo...118154362021-02-08 11:01:151869 days ago1612782075IN
0xc9EE4C2e...aFd94E75e
0 ETH0.0061025100
Add Feed118152592021-02-08 10:25:321869 days ago1612779932IN
0xc9EE4C2e...aFd94E75e
0 ETH0.0030279100
Add Feed118152492021-02-08 10:24:041869 days ago1612779844IN
0xc9EE4C2e...aFd94E75e
0 ETH0.0030279100
Add Feed118141082021-02-08 6:15:511870 days ago1612764951IN
0xc9EE4C2e...aFd94E75e
0 ETH0.00308845102
Add Feed118141022021-02-08 6:14:471870 days ago1612764887IN
0xc9EE4C2e...aFd94E75e
0 ETH0.00308845102
Add Feed118140982021-02-08 6:14:231870 days ago1612764863IN
0xc9EE4C2e...aFd94E75e
0 ETH0.00308723102
Add Feed118140922021-02-08 6:12:591870 days ago1612764779IN
0xc9EE4C2e...aFd94E75e
0 ETH0.00308845102
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Resolve Round120476642021-03-16 5:00:371834 days ago1615870837
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Get Current Roun...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Round Already Re...120398732021-03-15 0:03:131835 days ago1615766593
0xc9EE4C2e...aFd94E75e
0 ETH
Get Current Roun...120397972021-03-14 23:46:491835 days ago1615765609
0xc9EE4C2e...aFd94E75e
0 ETH
Round Already Re...120397972021-03-14 23:46:491835 days ago1615765609
0xc9EE4C2e...aFd94E75e
0 ETH
Resolve Round120032462021-03-09 8:26:461841 days ago1615278406
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...119946922021-03-08 0:50:011842 days ago1615164601
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...119946922021-03-08 0:50:011842 days ago1615164601
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...119946922021-03-08 0:50:011842 days ago1615164601
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...119946922021-03-08 0:50:011842 days ago1615164601
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...119946922021-03-08 0:50:011842 days ago1615164601
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...119946922021-03-08 0:50:011842 days ago1615164601
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...119946922021-03-08 0:50:011842 days ago1615164601
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...119946922021-03-08 0:50:011842 days ago1615164601
0xc9EE4C2e...aFd94E75e
0 ETH
Latest Round Dat...119946922021-03-08 0:50:011842 days ago1615164601
0xc9EE4C2e...aFd94E75e
0 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ChainLinkOracle

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU LGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2021-02-04
*/

// SPDX-License-Identifier: GPL-3.0-only

pragma solidity 0.7.4;


interface AggregatorV3Interface {

  function decimals() external view returns (uint8);
  function description() external view returns (string memory);
  function version() external view returns (uint256);

  // getRoundData and latestRoundData should both raise "No data present"
  // if they do not have data to report, instead of returning unset values
  // which could be misinterpreted as actual reported values.
  function getRoundData(uint80 _roundId)
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );
  function latestRoundData()
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );

}

interface ITrollbox {
    function withdrawWinnings(uint voterId) external;
    function updateAccount(uint voterId, uint tournamentId, uint roundId) external;
    function isSynced(uint voterId, uint tournamentId, uint roundId) external view returns (bool);
    function roundAlreadyResolved(uint tournamentId, uint roundId) external view returns (bool);
    function resolveRound(uint tournamentId, uint roundId, uint winningOption) external;
    function getCurrentRoundId(uint tournamentId) external returns (uint);
}



/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @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);
}

contract ChainLinkOracle {

    struct Proposal {
        uint id;
        uint time;
        bool confirmed;
        uint roundId;
        uint winnerIndex;
        uint challengeWinnerIndex;
        address challenger;
    }

    mapping (bytes32 => address) public feedMap; // ticker symbol => price aggregator address
    mapping (bytes32 => int) public prices; // symbol => price
    mapping (uint => Proposal) public proposals;

    address public management;
    ITrollbox public trollbox;
    IERC20 public token;

    int constant public PRECISION = 1000000;
    uint public numProposals = 0;
    uint public challengeDeposit = 0;
    uint public challengePeriodSeconds = 60 * 60 * 24;
    uint public tournamentId = 1;

    bytes32[] public tickerSymbols;

    // mgmt events
    event FeedUpdated(bytes32 indexed key, address indexed feedAddr);
    event ManagementUpdated(address oldManagement, address newManagement);
    event DepositUpdated(uint oldDeposit, uint newDeposit);
    event ChallengePeriodUpdated(uint oldPeriod, uint newPeriod);
    event TickerSymbolsUpdated(bytes32[] oldKeys, bytes32[] newKeys);

    // winner events
    event WinnerProposed(uint indexed roundId, uint indexed proposalId, uint winnerIndex);
    event WinnerConfirmed(uint indexed roundId, uint indexed proposalId, int[] prices);

    // challenger events
    event ChallengeMade(uint indexed proposalId, address indexed challenger, uint indexed claimedWinner);
    event ChallengerSlashed(uint indexed proposalId, address indexed challenger, uint indexed slashAmount);
    event ChallengerVindicated(uint indexed proposalId, address indexed challenger);

    modifier managementOnly() {
        require (msg.sender == management, 'Only management may call this');
        _;
    }

    modifier latestProposalConfirmed() {
        require (proposals[numProposals].confirmed == true || numProposals == 0, 'Unconfirmed proposal present');
        _;
    }

    constructor(address mgmt, address trollboxAddr, address tokenAddr, uint tournament, bytes32[] memory initialSymbols, int[] memory initialPrices) {
        management = mgmt;
        trollbox = ITrollbox(trollboxAddr);
        token = IERC20(tokenAddr);
        tournamentId = tournament;
        tickerSymbols = initialSymbols;
        setPricesInternal(initialPrices);
    }

    function setManagement(address newMgmt) public managementOnly {
        address oldMgmt = management;
        management =  newMgmt;
        emit ManagementUpdated(oldMgmt, newMgmt);
    }

    function setChallengeDeposit(uint newDeposit) public managementOnly latestProposalConfirmed {
        uint oldDeposit = challengeDeposit;
        challengeDeposit = newDeposit;
        emit DepositUpdated(oldDeposit, newDeposit);
    }

    function setChallengePeriod(uint newPeriod) public managementOnly latestProposalConfirmed {
        uint oldPeriod = challengePeriodSeconds;
        challengePeriodSeconds = newPeriod;
        emit ChallengePeriodUpdated(oldPeriod, newPeriod);
    }

    function setPricesInternal(int[] memory newPrices) internal {
        for (uint i = 0; i < tickerSymbols.length; i++) {
            prices[tickerSymbols[i]] = newPrices[i];
        }
    }

    function getTickerSymbols() public view returns (bytes32[] memory) {
        return tickerSymbols;
    }

    function setTickerSymbols(bytes32[] memory newKeys) public managementOnly latestProposalConfirmed {
        bytes32[] memory oldKeys = tickerSymbols;
        tickerSymbols = newKeys;
        emit TickerSymbolsUpdated(oldKeys, newKeys);
    }

    function addFeed(bytes32 key, address feedAddr) public managementOnly {
        feedMap[key] = feedAddr;
        emit FeedUpdated(key, feedAddr);
    }

    function getWinner() public view returns (int[] memory, uint) {
        int256 maxPriceDiff = -100 * PRECISION;
        uint winnerIndex = 0;
        int[] memory pricesLocal = new int[](tickerSymbols.length);
        for (uint i = 0; i < tickerSymbols.length; i++) {
            bytes32 key = tickerSymbols[i];
            int priceBefore = prices[key];
            AggregatorV3Interface chainlink = AggregatorV3Interface(feedMap[key]);
            (,int256 priceNow,,,) = chainlink.latestRoundData();
            pricesLocal[i] = priceNow;
            int256 priceDiff = ((priceNow - priceBefore) * PRECISION) / priceBefore;
            if (priceDiff > maxPriceDiff) {
                maxPriceDiff = priceDiff;
                // add one to index to account for 1 based indexing on Trollbox contract
                winnerIndex = i + 1;
            }
        }
        return (pricesLocal, winnerIndex);
    }

    function proposeWinner(uint roundId) public latestProposalConfirmed {
        require(trollbox.roundAlreadyResolved(tournamentId, roundId) == false, 'Round already resolve');
        require(trollbox.getCurrentRoundId(tournamentId) > roundId + 1, 'Round not ready to resolve');
        Proposal storage proposal = proposals[++numProposals];
        proposal.id = numProposals;
        proposal.time = block.timestamp;
        proposal.roundId = roundId;
        (int[] memory newPrices, uint winnerIndex) = getWinner();
        setPricesInternal(newPrices);
        proposal.winnerIndex = winnerIndex;
        emit WinnerProposed(roundId, numProposals, proposal.winnerIndex);
    }

    function challengeWinner(uint proposalId, uint claimedWinner) public {
        token.transferFrom(msg.sender, address(this), challengeDeposit);
        Proposal storage proposal = proposals[proposalId];
        require(proposal.challenger == address(0), 'Proposal already challenged');
        require(claimedWinner != proposal.winnerIndex, 'Must claim different winner than proposed winner');
        require(block.timestamp - proposal.time < challengePeriodSeconds, 'Challenge period has passed');
        proposal.challenger = msg.sender;
        proposal.challengeWinnerIndex = claimedWinner;
        emit ChallengeMade(proposalId, msg.sender, claimedWinner);
    }

    function confirmWinnerUnchallenged(uint proposalId) public {
        Proposal memory proposal = proposals[proposalId];
        require(proposal.challenger == address(0), 'Proposal has been challenged');
        require(block.timestamp - proposal.time > challengePeriodSeconds, 'Challenge period has not passed');
        confirmWinnerInternal(proposalId);
    }

    function confirmWinnerChallenged(uint proposalId, uint chosenWinnerIndex, int[] memory localPrices) public managementOnly {
        Proposal storage proposal = proposals[proposalId];
        require(proposal.challenger != address(0), 'Proposal has not been challenged');
        require(chosenWinnerIndex <= tickerSymbols.length, 'Winner index out of range');
        require(chosenWinnerIndex > 0, 'Winner index must be positive');
        require(localPrices.length == tickerSymbols.length, 'Must specify prices for all ticker symbols');

        // set official winner
        proposal.winnerIndex = chosenWinnerIndex;

        // record prices
        for (uint i = 0; i < tickerSymbols.length; i++) {
            prices[tickerSymbols[i]] = localPrices[i];
        }

        confirmWinnerInternal(proposalId);

        // if challenger failed, slash their deposit
        if (chosenWinnerIndex != proposal.challengeWinnerIndex) {
            token.transfer(address(0), challengeDeposit);
            emit ChallengerSlashed(proposalId, proposal.challenger, challengeDeposit);
        // else send it back to them
        } else {
            token.transfer(proposal.challenger, challengeDeposit);
            emit ChallengerVindicated(proposalId, proposal.challenger);
        }
    }

    function confirmWinnerInternal(uint proposalId) internal {
        Proposal storage proposal = proposals[proposalId];
        require(proposal.id == proposalId, 'Invalid proposalId');
        require(proposal.confirmed == false, 'Already confirmed proposal');
        proposal.confirmed = true;
        int[] memory pricesLocal = new int[](tickerSymbols.length);
        for (uint i = 0; i < tickerSymbols.length; i++) {
            pricesLocal[i] = prices[tickerSymbols[i]];
        }
        emit WinnerConfirmed(proposal.roundId, proposalId, pricesLocal);
        trollbox.resolveRound(tournamentId, proposal.roundId, proposal.winnerIndex);
    }

}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"mgmt","type":"address"},{"internalType":"address","name":"trollboxAddr","type":"address"},{"internalType":"address","name":"tokenAddr","type":"address"},{"internalType":"uint256","name":"tournament","type":"uint256"},{"internalType":"bytes32[]","name":"initialSymbols","type":"bytes32[]"},{"internalType":"int256[]","name":"initialPrices","type":"int256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":true,"internalType":"address","name":"challenger","type":"address"},{"indexed":true,"internalType":"uint256","name":"claimedWinner","type":"uint256"}],"name":"ChallengeMade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newPeriod","type":"uint256"}],"name":"ChallengePeriodUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":true,"internalType":"address","name":"challenger","type":"address"},{"indexed":true,"internalType":"uint256","name":"slashAmount","type":"uint256"}],"name":"ChallengerSlashed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":true,"internalType":"address","name":"challenger","type":"address"}],"name":"ChallengerVindicated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldDeposit","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newDeposit","type":"uint256"}],"name":"DepositUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"key","type":"bytes32"},{"indexed":true,"internalType":"address","name":"feedAddr","type":"address"}],"name":"FeedUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldManagement","type":"address"},{"indexed":false,"internalType":"address","name":"newManagement","type":"address"}],"name":"ManagementUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32[]","name":"oldKeys","type":"bytes32[]"},{"indexed":false,"internalType":"bytes32[]","name":"newKeys","type":"bytes32[]"}],"name":"TickerSymbolsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"roundId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":false,"internalType":"int256[]","name":"prices","type":"int256[]"}],"name":"WinnerConfirmed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"roundId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"winnerIndex","type":"uint256"}],"name":"WinnerProposed","type":"event"},{"inputs":[],"name":"PRECISION","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"key","type":"bytes32"},{"internalType":"address","name":"feedAddr","type":"address"}],"name":"addFeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"challengeDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"challengePeriodSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"},{"internalType":"uint256","name":"claimedWinner","type":"uint256"}],"name":"challengeWinner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"},{"internalType":"uint256","name":"chosenWinnerIndex","type":"uint256"},{"internalType":"int256[]","name":"localPrices","type":"int256[]"}],"name":"confirmWinnerChallenged","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"confirmWinnerUnchallenged","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"feedMap","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTickerSymbols","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWinner","outputs":[{"internalType":"int256[]","name":"","type":"int256[]"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"management","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numProposals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"prices","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"proposals","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"time","type":"uint256"},{"internalType":"bool","name":"confirmed","type":"bool"},{"internalType":"uint256","name":"roundId","type":"uint256"},{"internalType":"uint256","name":"winnerIndex","type":"uint256"},{"internalType":"uint256","name":"challengeWinnerIndex","type":"uint256"},{"internalType":"address","name":"challenger","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"roundId","type":"uint256"}],"name":"proposeWinner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDeposit","type":"uint256"}],"name":"setChallengeDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPeriod","type":"uint256"}],"name":"setChallengePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMgmt","type":"address"}],"name":"setManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"newKeys","type":"bytes32[]"}],"name":"setTickerSymbols","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tickerSymbols","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tournamentId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trollbox","outputs":[{"internalType":"contract ITrollbox","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052600060065560006007556201518060085560016009553480156200002757600080fd5b5060405162002be638038062002be6833981810160405260c08110156200004d57600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805160405193929190846401000000008211156200009657600080fd5b83820191506020820185811115620000ad57600080fd5b8251866020820283011164010000000082111715620000cb57600080fd5b8083526020830192505050908051906020019060200280838360005b8381101562000104578082015181840152602081019050620000e7565b50505050905001604052602001805160405193929190846401000000008211156200012e57600080fd5b838201915060208201858111156200014557600080fd5b82518660208202830111640100000000821117156200016357600080fd5b8083526020830192505050908051906020019060200280838360005b838110156200019c5780820151818401526020810190506200017f565b5050505090500160405250505085600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260098190555081600a90805190602001906200028b92919062000310565b506200029d81620002a960201b60201c565b50505050505062000381565b60005b600a805490508110156200030c57818181518110620002c757fe5b602002602001015160016000600a8481548110620002e157fe5b90600052602060002001548152602001908152602001600020819055508080600101915050620002ac565b5050565b8280548282559060005260206000209081019282156200034f579160200282015b828111156200034e57825182559160200191906001019062000331565b5b5090506200035e919062000362565b5090565b5b808211156200037d57600081600090555060010162000363565b5090565b61285580620003916000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806379ed2b5b116100c3578063aaf5eb681161007c578063aaf5eb681461068f578063d4a22bde146106ad578063ece5cbdf146106f1578063f809ab431461073f578063fb6012941461075d578063fc0c546a1461077b5761014d565b806379ed2b5b1461048557806388a8d602146104b35780638e7ea5b2146104e75780639938ddc81461054d5780639d3f310114610581578063a8139701146105c35761014d565b80634844e43e116101155780634844e43e146103295780635d475fdd1461036157806360846bc61461038f5780636b29dcff146103d157806371959bb6146103ff57806375520e1b1461042d5761014d565b8063013cf08b146101525780630d13fd7b146101d65780632bbf744b146101f457806330324f36146102ac578063400e39491461030b575b600080fd5b61017e6004803603602081101561016857600080fd5b81019080803590602001909291905050506107af565b6040518088815260200187815260200186151581526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200197505050505050505060405180910390f35b6101de61081e565b6040518082815260200191505060405180910390f35b6102aa6004803603602081101561020a57600080fd5b810190808035906020019064010000000081111561022757600080fd5b82018360208201111561023957600080fd5b8035906020019184602083028401116401000000008311171561025b57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050610824565b005b6102b4610ac4565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156102f75780820151818401526020810190506102dc565b505050509050019250505060405180910390f35b610313610b1c565b6040518082815260200191505060405180910390f35b61035f6004803603604081101561033f57600080fd5b810190808035906020019092919080359060200190929190505050610b22565b005b61038d6004803603602081101561037757600080fd5b8101908080359060200190929190505050610e5e565b005b6103bb600480360360208110156103a557600080fd5b810190808035906020019092919050505061101e565b6040518082815260200191505060405180910390f35b6103fd600480360360208110156103e757600080fd5b8101908080359060200190929190505050611036565b005b61042b6004803603602081101561041557600080fd5b8101908080359060200190929190505050611231565b005b6104596004803603602081101561044357600080fd5b81019080803590602001909291905050506115e0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104b16004803603602081101561049b57600080fd5b8101908080359060200190929190505050611613565b005b6104bb6117d3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104ef6117f9565b6040518080602001838152602001828103825284818151815260200191508051906020019060200280838360005b8381101561053857808201518184015260208101905061051d565b50505050905001935050505060405180910390f35b610555611a04565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105ad6004803603602081101561059757600080fd5b8101908080359060200190929190505050611a2a565b6040518082815260200191505060405180910390f35b61068d600480360360608110156105d957600080fd5b8101908080359060200190929190803590602001909291908035906020019064010000000081111561060a57600080fd5b82018360208201111561061c57600080fd5b8035906020019184602083028401116401000000008311171561063e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050611a4e565b005b610697612061565b6040518082815260200191505060405180910390f35b6106ef600480360360208110156106c357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612068565b005b61073d6004803603604081101561070757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612202565b005b61074761235e565b6040518082815260200191505060405180910390f35b610765612364565b6040518082815260200191505060405180910390f35b61078361236a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60026020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900460ff16908060030154908060040154908060050154908060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905087565b60075481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b6001151560026000600654815260200190815260200160002060020160009054906101000a900460ff161515148061092157506000600654145b610993576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f556e636f6e6669726d65642070726f706f73616c2070726573656e740000000081525060200191505060405180910390fd5b6060600a8054806020026020016040519081016040528092919081815260200182805480156109e157602002820191906000526020600020905b8154815260200190600101908083116109cd575b5050505050905081600a90805190602001906109fe929190612706565b507f4115af54fe09e9cf08f73c664be85c98a43e98a898d7f6bc1576e13756d5a3578183604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015610a69578082015181840152602081019050610a4e565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015610aab578082015181840152602081019050610a90565b5050505090500194505050505060405180910390a15050565b6060600a805480602002602001604051908101604052809291908181526020018280548015610b1257602002820191906000526020600020905b815481526020019060010190808311610afe575b5050505050905090565b60065481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306007546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015610bd557600080fd5b505af1158015610be9573d6000803e3d6000fd5b505050506040513d6020811015610bff57600080fd5b8101908080519060200190929190505050506000600260008481526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f50726f706f73616c20616c7265616479206368616c6c656e676564000000000081525060200191505060405180910390fd5b8060040154821415610d4b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806127c66030913960400191505060405180910390fd5b6008548160010154420310610dc8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4368616c6c656e676520706572696f642068617320706173736564000000000081525060200191505060405180910390fd5b338160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818160050181905550813373ffffffffffffffffffffffffffffffffffffffff16847f90475fb3e16aca29f3426223e3bdfa12f105e3686f0d9fba2add7a34ee7e3f4d60405160405180910390a4505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f21576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b6001151560026000600654815260200190815260200160002060020160009054906101000a900460ff1615151480610f5b57506000600654145b610fcd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f556e636f6e6669726d65642070726f706f73616c2070726573656e740000000081525060200191505060405180910390fd5b60006008549050816008819055507f6faeedb0dbe08f71a52ddff592571aafec07972ce3a25c4a30e6b161329466928183604051808381526020018281526020019250505060405180910390a15050565b60016020528060005260406000206000915090505481565b61103e612753565b600260008381526020019081526020016000206040518060e001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff161515151581526020016003820154815260200160048201548152602001600582015481526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff168160c0015173ffffffffffffffffffffffffffffffffffffffff16146111a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f50726f706f73616c20686173206265656e206368616c6c656e6765640000000081525060200191505060405180910390fd5b6008548160200151420311611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4368616c6c656e676520706572696f6420686173206e6f74207061737365640081525060200191505060405180910390fd5b61122d82612390565b5050565b6001151560026000600654815260200190815260200160002060020160009054906101000a900460ff161515148061126b57506000600654145b6112dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f556e636f6e6669726d65642070726f706f73616c2070726573656e740000000081525060200191505060405180910390fd5b60001515600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b303f325600954846040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b15801561135e57600080fd5b505afa158015611372573d6000803e3d6000fd5b505050506040513d602081101561138857600080fd5b810190808051906020019092919050505015151461140e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f526f756e6420616c7265616479207265736f6c7665000000000000000000000081525060200191505060405180910390fd5b60018101600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663209380366009546040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b15801561148957600080fd5b505af115801561149d573d6000803e3d6000fd5b505050506040513d60208110156114b357600080fd5b810190808051906020019092919050505011611537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f526f756e64206e6f7420726561647920746f207265736f6c766500000000000081525060200191505060405180910390fd5b600060026000600660008154600101919050819055815260200190815260200160002090506006548160000181905550428160010181905550818160030181905550606060006115856117f9565b91509150611592826126a3565b808360040181905550600654847fc8adb38f754358b3b83b6c27a631b4f68c2767b6284831b139083092065fb2c885600401546040518082815260200191505060405180910390a350505050565b60006020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b6001151560026000600654815260200190815260200160002060020160009054906101000a900460ff161515148061171057506000600654145b611782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f556e636f6e6669726d65642070726f706f73616c2070726573656e740000000081525060200191505060405180910390fd5b60006007549050816007819055507f4c0c144abc1788db200c21df3378b55ee4ab0980465c120061c995a62f7626d88183604051808381526020018281526020019250505060405180910390a15050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600080620f42407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9c02905060006060600a8054905067ffffffffffffffff8111801561184657600080fd5b506040519080825280602002602001820160405280156118755781602001602082028036833780820191505090505b50905060005b600a805490508110156119f6576000600a828154811061189757fe5b90600052602060002001549050600060016000838152602001908152602001600020549050600080600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561193b57600080fd5b505afa15801561194f573d6000803e3d6000fd5b505050506040513d60a081101561196557600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050505050915050808686815181106119b157fe5b602002602001018181525050600083620f424085840302816119cf57fe5b059050888113156119e4578098506001860197505b5050505050808060010191505061187b565b508082945094505050509091565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a8181548110611a3a57600080fd5b906000526020600020016000915090505481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b6000600260008581526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611bef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f50726f706f73616c20686173206e6f74206265656e206368616c6c656e67656481525060200191505060405180910390fd5b600a80549050831115611c6a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f57696e6e657220696e646578206f7574206f662072616e67650000000000000081525060200191505060405180910390fd5b60008311611ce0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f57696e6e657220696e646578206d75737420626520706f73697469766500000081525060200191505060405180910390fd5b600a80549050825114611d3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127f6602a913960400191505060405180910390fd5b82816004018190555060005b600a80549050811015611da657828181518110611d6357fe5b602002602001015160016000600a8481548110611d7c57fe5b90600052602060002001548152602001908152602001600020819055508080600101915050611d4a565b50611db084612390565b80600501548314611efd57600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60006007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611e5157600080fd5b505af1158015611e65573d6000803e3d6000fd5b505050506040513d6020811015611e7b57600080fd5b8101908080519060200190929190505050506007548160060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16857fbfe8521217f7e2b8157641bf2b347bd3ea30441d77a087bce2779bc5114380fc60405160405180910390a461205b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8260060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611fb657600080fd5b505af1158015611fca573d6000803e3d6000fd5b505050506040513d6020811015611fe057600080fd5b8101908080519060200190929190505050508060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16847fc3487feab295fe2da177f4e7d04606b1343d1b0e14c877ba7617d7e914c91a6a60405160405180910390a35b50505050565b620f424081565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461212b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f8caf0a9df2e1da9becb3ebfb8a56e83121a5b3f6c5622f715a939ec29c54dfdf8183604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a15050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b8060008084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16827f45ee15c8b444d8b7d362757167c96bbb5aa4dee29d7d3166063c9c0af180615a60405160405180910390a35050565b60095481565b60085481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060026000838152602001908152602001600020905081816000015414612420576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f496e76616c69642070726f706f73616c4964000000000000000000000000000081525060200191505060405180910390fd5b600015158160020160009054906101000a900460ff161515146124ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f416c726561647920636f6e6669726d65642070726f706f73616c00000000000081525060200191505060405180910390fd5b60018160020160006101000a81548160ff0219169083151502179055506060600a8054905067ffffffffffffffff811180156124e657600080fd5b506040519080825280602002602001820160405280156125155781602001602082028036833780820191505090505b50905060005b600a805490508110156125785760016000600a838154811061253957fe5b906000526020600020015481526020019081526020016000205482828151811061255f57fe5b602002602001018181525050808060010191505061251b565b508282600301547f9a8af3b1e54cfb033bf0c00e2cc8176f3b42914d55111159655abdc2d2db5062836040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156125e45780820151818401526020810190506125c9565b505050509050019250505060405180910390a3600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663928b7c99600954846003015485600401546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050600060405180830381600087803b15801561268657600080fd5b505af115801561269a573d6000803e3d6000fd5b50505050505050565b60005b600a80549050811015612702578181815181106126bf57fe5b602002602001015160016000600a84815481106126d857fe5b906000526020600020015481526020019081526020016000208190555080806001019150506126a6565b5050565b828054828255906000526020600020908101928215612742579160200282015b82811115612741578251825591602001919060010190612726565b5b50905061274f91906127a8565b5090565b6040518060e001604052806000815260200160008152602001600015158152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b5b808211156127c15760008160009055506001016127a9565b509056fe4d75737420636c61696d20646966666572656e742077696e6e6572207468616e2070726f706f7365642077696e6e65724d75737420737065636966792070726963657320666f7220616c6c207469636b65722073796d626f6c73a26469706673582212206d11283fd37eab9e92ebae44377d0ab20d5d07491270afbe19a7c4684b24d49264736f6c63430007040033000000000000000000000000288fe43139741f91a8cbb6f4add83811c794851b000000000000000000000000ea6556e350cd0c61452a26ab34e69ebf6f1808ba00000000000000000000000045080a6531d671ddff20db42f93792a489685e32000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000a554d4100000000000000000000000000000000000000000000000000000000004c494e4b000000000000000000000000000000000000000000000000000000004441490000000000000000000000000000000000000000000000000000000000554e490000000000000000000000000000000000000000000000000000000000434f4d50000000000000000000000000000000000000000000000000000000004659490000000000000000000000000000000000000000000000000000000000534e58000000000000000000000000000000000000000000000000000000000052454e000000000000000000000000000000000000000000000000000000000057425443000000000000000000000000000000000000000000000000000000004d4b520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000096fd865af440000000000000000000000000000000000000000000000000000137005044488100000000000000000000000000000000000000000000000000000de19a135095a000000000000000000000000000000000000000000000000000f33f9316981f2000000000000000000000000000000000000000000000000012a1cbb0ffd5c200000000000000000000000000000000000000000000000006542177040f997e0000000000000000000000000000000000000000000000000000ec483e6636bb7000000000000000000000000000000000000000000000000000088613a5550b80000000000000000000000000000000000000000000000006fe6398140ec639000000000000000000000000000000000000000000000000004f44e2ab620dfb4000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806379ed2b5b116100c3578063aaf5eb681161007c578063aaf5eb681461068f578063d4a22bde146106ad578063ece5cbdf146106f1578063f809ab431461073f578063fb6012941461075d578063fc0c546a1461077b5761014d565b806379ed2b5b1461048557806388a8d602146104b35780638e7ea5b2146104e75780639938ddc81461054d5780639d3f310114610581578063a8139701146105c35761014d565b80634844e43e116101155780634844e43e146103295780635d475fdd1461036157806360846bc61461038f5780636b29dcff146103d157806371959bb6146103ff57806375520e1b1461042d5761014d565b8063013cf08b146101525780630d13fd7b146101d65780632bbf744b146101f457806330324f36146102ac578063400e39491461030b575b600080fd5b61017e6004803603602081101561016857600080fd5b81019080803590602001909291905050506107af565b6040518088815260200187815260200186151581526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200197505050505050505060405180910390f35b6101de61081e565b6040518082815260200191505060405180910390f35b6102aa6004803603602081101561020a57600080fd5b810190808035906020019064010000000081111561022757600080fd5b82018360208201111561023957600080fd5b8035906020019184602083028401116401000000008311171561025b57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050610824565b005b6102b4610ac4565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156102f75780820151818401526020810190506102dc565b505050509050019250505060405180910390f35b610313610b1c565b6040518082815260200191505060405180910390f35b61035f6004803603604081101561033f57600080fd5b810190808035906020019092919080359060200190929190505050610b22565b005b61038d6004803603602081101561037757600080fd5b8101908080359060200190929190505050610e5e565b005b6103bb600480360360208110156103a557600080fd5b810190808035906020019092919050505061101e565b6040518082815260200191505060405180910390f35b6103fd600480360360208110156103e757600080fd5b8101908080359060200190929190505050611036565b005b61042b6004803603602081101561041557600080fd5b8101908080359060200190929190505050611231565b005b6104596004803603602081101561044357600080fd5b81019080803590602001909291905050506115e0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104b16004803603602081101561049b57600080fd5b8101908080359060200190929190505050611613565b005b6104bb6117d3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104ef6117f9565b6040518080602001838152602001828103825284818151815260200191508051906020019060200280838360005b8381101561053857808201518184015260208101905061051d565b50505050905001935050505060405180910390f35b610555611a04565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105ad6004803603602081101561059757600080fd5b8101908080359060200190929190505050611a2a565b6040518082815260200191505060405180910390f35b61068d600480360360608110156105d957600080fd5b8101908080359060200190929190803590602001909291908035906020019064010000000081111561060a57600080fd5b82018360208201111561061c57600080fd5b8035906020019184602083028401116401000000008311171561063e57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050611a4e565b005b610697612061565b6040518082815260200191505060405180910390f35b6106ef600480360360208110156106c357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612068565b005b61073d6004803603604081101561070757600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612202565b005b61074761235e565b6040518082815260200191505060405180910390f35b610765612364565b6040518082815260200191505060405180910390f35b61078361236a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60026020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900460ff16908060030154908060040154908060050154908060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905087565b60075481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b6001151560026000600654815260200190815260200160002060020160009054906101000a900460ff161515148061092157506000600654145b610993576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f556e636f6e6669726d65642070726f706f73616c2070726573656e740000000081525060200191505060405180910390fd5b6060600a8054806020026020016040519081016040528092919081815260200182805480156109e157602002820191906000526020600020905b8154815260200190600101908083116109cd575b5050505050905081600a90805190602001906109fe929190612706565b507f4115af54fe09e9cf08f73c664be85c98a43e98a898d7f6bc1576e13756d5a3578183604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015610a69578082015181840152602081019050610a4e565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015610aab578082015181840152602081019050610a90565b5050505090500194505050505060405180910390a15050565b6060600a805480602002602001604051908101604052809291908181526020018280548015610b1257602002820191906000526020600020905b815481526020019060010190808311610afe575b5050505050905090565b60065481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306007546040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015610bd557600080fd5b505af1158015610be9573d6000803e3d6000fd5b505050506040513d6020811015610bff57600080fd5b8101908080519060200190929190505050506000600260008481526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f50726f706f73616c20616c7265616479206368616c6c656e676564000000000081525060200191505060405180910390fd5b8060040154821415610d4b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806127c66030913960400191505060405180910390fd5b6008548160010154420310610dc8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4368616c6c656e676520706572696f642068617320706173736564000000000081525060200191505060405180910390fd5b338160060160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818160050181905550813373ffffffffffffffffffffffffffffffffffffffff16847f90475fb3e16aca29f3426223e3bdfa12f105e3686f0d9fba2add7a34ee7e3f4d60405160405180910390a4505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f21576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b6001151560026000600654815260200190815260200160002060020160009054906101000a900460ff1615151480610f5b57506000600654145b610fcd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f556e636f6e6669726d65642070726f706f73616c2070726573656e740000000081525060200191505060405180910390fd5b60006008549050816008819055507f6faeedb0dbe08f71a52ddff592571aafec07972ce3a25c4a30e6b161329466928183604051808381526020018281526020019250505060405180910390a15050565b60016020528060005260406000206000915090505481565b61103e612753565b600260008381526020019081526020016000206040518060e001604052908160008201548152602001600182015481526020016002820160009054906101000a900460ff161515151581526020016003820154815260200160048201548152602001600582015481526020016006820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff168160c0015173ffffffffffffffffffffffffffffffffffffffff16146111a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f50726f706f73616c20686173206265656e206368616c6c656e6765640000000081525060200191505060405180910390fd5b6008548160200151420311611224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f4368616c6c656e676520706572696f6420686173206e6f74207061737365640081525060200191505060405180910390fd5b61122d82612390565b5050565b6001151560026000600654815260200190815260200160002060020160009054906101000a900460ff161515148061126b57506000600654145b6112dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f556e636f6e6669726d65642070726f706f73616c2070726573656e740000000081525060200191505060405180910390fd5b60001515600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b303f325600954846040518363ffffffff1660e01b8152600401808381526020018281526020019250505060206040518083038186803b15801561135e57600080fd5b505afa158015611372573d6000803e3d6000fd5b505050506040513d602081101561138857600080fd5b810190808051906020019092919050505015151461140e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f526f756e6420616c7265616479207265736f6c7665000000000000000000000081525060200191505060405180910390fd5b60018101600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663209380366009546040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b15801561148957600080fd5b505af115801561149d573d6000803e3d6000fd5b505050506040513d60208110156114b357600080fd5b810190808051906020019092919050505011611537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f526f756e64206e6f7420726561647920746f207265736f6c766500000000000081525060200191505060405180910390fd5b600060026000600660008154600101919050819055815260200190815260200160002090506006548160000181905550428160010181905550818160030181905550606060006115856117f9565b91509150611592826126a3565b808360040181905550600654847fc8adb38f754358b3b83b6c27a631b4f68c2767b6284831b139083092065fb2c885600401546040518082815260200191505060405180910390a350505050565b60006020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b6001151560026000600654815260200190815260200160002060020160009054906101000a900460ff161515148061171057506000600654145b611782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f556e636f6e6669726d65642070726f706f73616c2070726573656e740000000081525060200191505060405180910390fd5b60006007549050816007819055507f4c0c144abc1788db200c21df3378b55ee4ab0980465c120061c995a62f7626d88183604051808381526020018281526020019250505060405180910390a15050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600080620f42407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9c02905060006060600a8054905067ffffffffffffffff8111801561184657600080fd5b506040519080825280602002602001820160405280156118755781602001602082028036833780820191505090505b50905060005b600a805490508110156119f6576000600a828154811061189757fe5b90600052602060002001549050600060016000838152602001908152602001600020549050600080600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561193b57600080fd5b505afa15801561194f573d6000803e3d6000fd5b505050506040513d60a081101561196557600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050505050915050808686815181106119b157fe5b602002602001018181525050600083620f424085840302816119cf57fe5b059050888113156119e4578098506001860197505b5050505050808060010191505061187b565b508082945094505050509091565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a8181548110611a3a57600080fd5b906000526020600020016000915090505481565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b6000600260008581526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611bef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f50726f706f73616c20686173206e6f74206265656e206368616c6c656e67656481525060200191505060405180910390fd5b600a80549050831115611c6a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f57696e6e657220696e646578206f7574206f662072616e67650000000000000081525060200191505060405180910390fd5b60008311611ce0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f57696e6e657220696e646578206d75737420626520706f73697469766500000081525060200191505060405180910390fd5b600a80549050825114611d3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127f6602a913960400191505060405180910390fd5b82816004018190555060005b600a80549050811015611da657828181518110611d6357fe5b602002602001015160016000600a8481548110611d7c57fe5b90600052602060002001548152602001908152602001600020819055508080600101915050611d4a565b50611db084612390565b80600501548314611efd57600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60006007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611e5157600080fd5b505af1158015611e65573d6000803e3d6000fd5b505050506040513d6020811015611e7b57600080fd5b8101908080519060200190929190505050506007548160060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16857fbfe8521217f7e2b8157641bf2b347bd3ea30441d77a087bce2779bc5114380fc60405160405180910390a461205b565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8260060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611fb657600080fd5b505af1158015611fca573d6000803e3d6000fd5b505050506040513d6020811015611fe057600080fd5b8101908080519060200190929190505050508060060160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16847fc3487feab295fe2da177f4e7d04606b1343d1b0e14c877ba7617d7e914c91a6a60405160405180910390a35b50505050565b620f424081565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461212b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f8caf0a9df2e1da9becb3ebfb8a56e83121a5b3f6c5622f715a939ec29c54dfdf8183604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a15050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4f6e6c79206d616e6167656d656e74206d61792063616c6c207468697300000081525060200191505060405180910390fd5b8060008084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16827f45ee15c8b444d8b7d362757167c96bbb5aa4dee29d7d3166063c9c0af180615a60405160405180910390a35050565b60095481565b60085481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060026000838152602001908152602001600020905081816000015414612420576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f496e76616c69642070726f706f73616c4964000000000000000000000000000081525060200191505060405180910390fd5b600015158160020160009054906101000a900460ff161515146124ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f416c726561647920636f6e6669726d65642070726f706f73616c00000000000081525060200191505060405180910390fd5b60018160020160006101000a81548160ff0219169083151502179055506060600a8054905067ffffffffffffffff811180156124e657600080fd5b506040519080825280602002602001820160405280156125155781602001602082028036833780820191505090505b50905060005b600a805490508110156125785760016000600a838154811061253957fe5b906000526020600020015481526020019081526020016000205482828151811061255f57fe5b602002602001018181525050808060010191505061251b565b508282600301547f9a8af3b1e54cfb033bf0c00e2cc8176f3b42914d55111159655abdc2d2db5062836040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156125e45780820151818401526020810190506125c9565b505050509050019250505060405180910390a3600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663928b7c99600954846003015485600401546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050600060405180830381600087803b15801561268657600080fd5b505af115801561269a573d6000803e3d6000fd5b50505050505050565b60005b600a80549050811015612702578181815181106126bf57fe5b602002602001015160016000600a84815481106126d857fe5b906000526020600020015481526020019081526020016000208190555080806001019150506126a6565b5050565b828054828255906000526020600020908101928215612742579160200282015b82811115612741578251825591602001919060010190612726565b5b50905061274f91906127a8565b5090565b6040518060e001604052806000815260200160008152602001600015158152602001600081526020016000815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b5b808211156127c15760008160009055506001016127a9565b509056fe4d75737420636c61696d20646966666572656e742077696e6e6572207468616e2070726f706f7365642077696e6e65724d75737420737065636966792070726963657320666f7220616c6c207469636b65722073796d626f6c73a26469706673582212206d11283fd37eab9e92ebae44377d0ab20d5d07491270afbe19a7c4684b24d49264736f6c63430007040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000288fe43139741f91a8cbb6f4add83811c794851b000000000000000000000000ea6556e350cd0c61452a26ab34e69ebf6f1808ba00000000000000000000000045080a6531d671ddff20db42f93792a489685e32000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000a554d4100000000000000000000000000000000000000000000000000000000004c494e4b000000000000000000000000000000000000000000000000000000004441490000000000000000000000000000000000000000000000000000000000554e490000000000000000000000000000000000000000000000000000000000434f4d50000000000000000000000000000000000000000000000000000000004659490000000000000000000000000000000000000000000000000000000000534e58000000000000000000000000000000000000000000000000000000000052454e000000000000000000000000000000000000000000000000000000000057425443000000000000000000000000000000000000000000000000000000004d4b520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000096fd865af440000000000000000000000000000000000000000000000000000137005044488100000000000000000000000000000000000000000000000000000de19a135095a000000000000000000000000000000000000000000000000000f33f9316981f2000000000000000000000000000000000000000000000000012a1cbb0ffd5c200000000000000000000000000000000000000000000000006542177040f997e0000000000000000000000000000000000000000000000000000ec483e6636bb7000000000000000000000000000000000000000000000000000088613a5550b80000000000000000000000000000000000000000000000006fe6398140ec639000000000000000000000000000000000000000000000000004f44e2ab620dfb4000

-----Decoded View---------------
Arg [0] : mgmt (address): 0x288fE43139741F91a8Cbb6F4adD83811c794851b
Arg [1] : trollboxAddr (address): 0xEa6556E350cD0C61452a26aB34E69EBf6f1808BA
Arg [2] : tokenAddr (address): 0x45080a6531d671DDFf20DB42f93792a489685e32
Arg [3] : tournament (uint256): 1
Arg [4] : initialSymbols (bytes32[]): System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[]
Arg [5] : initialPrices (int256[]): 10880000000000000000,22410000000000000000,1000250000000000000,17527890000000000000,343700000000000000000,29886136800000000000000,17025927000000000000,614200000000000000,33026848400000000000000,1462256500000000000000

-----Encoded View---------------
28 Constructor Arguments found :
Arg [0] : 000000000000000000000000288fe43139741f91a8cbb6f4add83811c794851b
Arg [1] : 000000000000000000000000ea6556e350cd0c61452a26ab34e69ebf6f1808ba
Arg [2] : 00000000000000000000000045080a6531d671ddff20db42f93792a489685e32
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 554d410000000000000000000000000000000000000000000000000000000000
Arg [8] : 4c494e4b00000000000000000000000000000000000000000000000000000000
Arg [9] : 4441490000000000000000000000000000000000000000000000000000000000
Arg [10] : 554e490000000000000000000000000000000000000000000000000000000000
Arg [11] : 434f4d5000000000000000000000000000000000000000000000000000000000
Arg [12] : 4659490000000000000000000000000000000000000000000000000000000000
Arg [13] : 534e580000000000000000000000000000000000000000000000000000000000
Arg [14] : 52454e0000000000000000000000000000000000000000000000000000000000
Arg [15] : 5742544300000000000000000000000000000000000000000000000000000000
Arg [16] : 4d4b520000000000000000000000000000000000000000000000000000000000
Arg [17] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [18] : 00000000000000000000000000000000000000000000000096fd865af4400000
Arg [19] : 0000000000000000000000000000000000000000000000013700504448810000
Arg [20] : 0000000000000000000000000000000000000000000000000de19a135095a000
Arg [21] : 000000000000000000000000000000000000000000000000f33f9316981f2000
Arg [22] : 000000000000000000000000000000000000000000000012a1cbb0ffd5c20000
Arg [23] : 0000000000000000000000000000000000000000000006542177040f997e0000
Arg [24] : 000000000000000000000000000000000000000000000000ec483e6636bb7000
Arg [25] : 000000000000000000000000000000000000000000000000088613a5550b8000
Arg [26] : 0000000000000000000000000000000000000000000006fe6398140ec6390000
Arg [27] : 00000000000000000000000000000000000000000000004f44e2ab620dfb4000


Deployed Bytecode Sourcemap

4175:8523:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4578:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4803:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7599:245;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7485:106;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4768:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9651:678;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7024:253;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4514:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10337:366;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;8951:692;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4419:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;6777:239;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4630:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;8014:929;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4662:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4935:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10711:1314;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4722:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6577:192;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7852:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4898:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4842:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4694:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4578:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4803:32::-;;;;:::o;7599:245::-;5937:10;;;;;;;;;;;5923:24;;:10;:24;;;5914:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6101:4:::1;6064:41;;:9;:23;6074:12;;6064:23;;;;;;;;;;;:33;;;;;;;;;;;;:41;;;:62;;;;6125:1;6109:12;;:17;6064:62;6055:104;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;7708:24:::2;7735:13;7708:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7775:7;7759:13;:23;;;;;;;;;;;;:::i;:::-;;7798:38;7819:7;7828;7798:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6170:1;7599:245:::0;:::o;7485:106::-;7534:16;7570:13;7563:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7485:106;:::o;4768:28::-;;;;:::o;9651:678::-;9731:5;;;;;;;;;;;:18;;;9750:10;9770:4;9777:16;;9731:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9805:25;9833:9;:21;9843:10;9833:21;;;;;;;;;;;9805:49;;9904:1;9873:33;;:8;:19;;;;;;;;;;;;:33;;;9865:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9974:8;:20;;;9957:13;:37;;9949:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10100:22;;10084:8;:13;;;10066:15;:31;:56;10058:96;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10187:10;10165:8;:19;;;:32;;;;;;;;;;;;;;;;;;10240:13;10208:8;:29;;:45;;;;10307:13;10295:10;10269:52;;10283:10;10269:52;;;;;;;;;;9651:678;;;:::o;7024:253::-;5937:10;;;;;;;;;;;5923:24;;:10;:24;;;5914:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6101:4:::1;6064:41;;:9;:23;6074:12;;6064:23;;;;;;;;;;;:33;;;;;;;;;;;;:41;;;:62;;;;6125:1;6109:12;;:17;6064:62;6055:104;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;7125:14:::2;7142:22;;7125:39;;7200:9;7175:22;:34;;;;7225:44;7248:9;7259;7225:44;;;;;;;;;;;;;;;;;;;;;;;;6170:1;7024:253:::0;:::o;4514:38::-;;;;;;;;;;;;;;;;;:::o;10337:366::-;10407:24;;:::i;:::-;10434:9;:21;10444:10;10434:21;;;;;;;;;;;10407:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10505:1;10474:33;;:8;:19;;;:33;;;10466:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10593:22;;10577:8;:13;;;10559:15;:31;:56;10551:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10662:33;10684:10;10662:21;:33::i;:::-;10337:366;;:::o;8951:692::-;6101:4;6064:41;;:9;:23;6074:12;;6064:23;;;;;;;;;;;:33;;;;;;;;;;;;:41;;;:62;;;;6125:1;6109:12;;:17;6064:62;6055:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9094:5:::1;9038:61;;:8;;;;;;;;;;;:29;;;9068:12;;9082:7;9038:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:61;;;9030:95;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9197:1;9187:7;:11;9144:8;;;;;;;;;;;:26;;;9171:12;;9144:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;:54;9136:93;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;9240:25;9268:9;:25;9280:12;;9278:14;;;;;;;;;;9268:25;;;;;;;;;;;9240:53;;9318:12;;9304:8;:11;;:26;;;;9357:15;9341:8;:13;;:31;;;;9402:7;9383:8;:16;;:26;;;;9421:22;9445:16;9465:11;:9;:11::i;:::-;9420:56;;;;9487:28;9505:9;9487:17;:28::i;:::-;9549:11;9526:8;:20;;:34;;;;9600:12;;9591:7;9576:59;9614:8;:20;;;9576:59;;;;;;;;;;;;;;;;;;6170:1;;;8951:692:::0;:::o;4419:43::-;;;;;;;;;;;;;;;;;;;;;;:::o;6777:239::-;5937:10;;;;;;;;;;;5923:24;;:10;:24;;;5914:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6101:4:::1;6064:41;;:9;:23;6074:12;;6064:23;;;;;;;;;;;:33;;;;;;;;;;;;:41;;;:62;;;;6125:1;6109:12;;:17;6064:62;6055:104;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;6880:15:::2;6898:16;;6880:34;;6944:10;6925:16;:29;;;;6970:38;6985:10;6997;6970:38;;;;;;;;;;;;;;;;;;;;;;;;6170:1;6777:239:::0;:::o;4630:25::-;;;;;;;;;;;;;:::o;8014:929::-;8056:12;8070:4;8087:19;4754:7;8109:4;:16;8087:38;;8136:16;8167:24;8204:13;:20;;;;8194:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8167:58;;8241:6;8236:656;8257:13;:20;;;;8253:1;:24;8236:656;;;8299:11;8313:13;8327:1;8313:16;;;;;;;;;;;;;;;;8299:30;;8344:15;8362:6;:11;8369:3;8362:11;;;;;;;;;;;;8344:29;;8388:31;8444:7;:12;8452:3;8444:12;;;;;;;;;;;;;;;;;;;;;8388:69;;8474:15;8496:9;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8472:51;;;;;;8555:8;8538:11;8550:1;8538:14;;;;;;;;;;;;;:25;;;;;8578:16;8638:11;4754:7;8610:11;8599:8;:22;8598:36;8597:52;;;;;;8578:71;;8680:12;8668:9;:24;8664:217;;;8728:9;8713:24;;8864:1;8860;:5;8846:19;;8664:217;8236:656;;;;;8279:3;;;;;;;8236:656;;;;8910:11;8923;8902:33;;;;;;;8014:929;;:::o;4662:25::-;;;;;;;;;;;;;:::o;4935:30::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;10711:1314::-;5937:10;;;;;;;;;;;5923:24;;:10;:24;;;5914:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10844:25:::1;10872:9;:21;10882:10;10872:21;;;;;;;;;;;10844:49;;10943:1;10912:33;;:8;:19;;;;;;;;;;;;:33;;;;10904:78;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;11022:13;:20;;;;11001:17;:41;;10993:79;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;11111:1;11091:17;:21;11083:63;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;11187:13;:20;;;;11165:11;:18;:42;11157:97;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11322:17;11299:8;:20;;:40;;;;11383:6;11378:116;11399:13;:20;;;;11395:1;:24;11378:116;;;11468:11;11480:1;11468:14;;;;;;;;;;;;;;11441:6;:24;11448:13;11462:1;11448:16;;;;;;;;;;;;;;;;11441:24;;;;;;;;;;;:41;;;;11421:3;;;;;;;11378:116;;;;11506:33;11528:10;11506:21;:33::i;:::-;11631:8;:29;;;11610:17;:50;11606:412;;11677:5;;;;;;;;;;;:14;;;11700:1;11704:16;;11677:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;11792:16;;11771:8;:19;;;;;;;;;;;;11741:68;;11759:10;11741:68;;;;;;;;;;11606:412;;;11880:5;;;;;;;;;;;:14;;;11895:8;:19;;;;;;;;;;;;11916:16;;11880:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;11986:8;:19;;;;;;;;;;;;11953:53;;11974:10;11953:53;;;;;;;;;;11606:412;5992:1;10711:1314:::0;;;:::o;4722:39::-;4754:7;4722:39;:::o;6577:192::-;5937:10;;;;;;;;;;;5923:24;;:10;:24;;;5914:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6650:15:::1;6668:10;;;;;;;;;;;6650:28;;6703:7;6689:10;;:21;;;;;;;;;;;;;;;;;;6726:35;6744:7;6753;6726:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;5992:1;6577:192:::0;:::o;7852:154::-;5937:10;;;;;;;;;;;5923:24;;:10;:24;;;5914:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7948:8:::1;7933:7;:12:::0;7941:3:::1;7933:12;;;;;;;;;;;;:23;;;;;;;;;;;;;;;;;;7989:8;7972:26;;7984:3;7972:26;;;;;;;;;;7852:154:::0;;:::o;4898:28::-;;;;:::o;4842:49::-;;;;:::o;4694:19::-;;;;;;;;;;;;;:::o;12033:660::-;12101:25;12129:9;:21;12139:10;12129:21;;;;;;;;;;;12101:49;;12184:10;12169:8;:11;;;:25;12161:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12258:5;12236:27;;:8;:18;;;;;;;;;;;;:27;;;12228:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12326:4;12305:8;:18;;;:25;;;;;;;;;;;;;;;;;;12341:24;12378:13;:20;;;;12368:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12341:58;;12415:6;12410:116;12431:13;:20;;;;12427:1;:24;12410:116;;;12490:6;:24;12497:13;12511:1;12497:16;;;;;;;;;;;;;;;;12490:24;;;;;;;;;;;;12473:11;12485:1;12473:14;;;;;;;;;;;;;:41;;;;;12453:3;;;;;;;12410:116;;;;12575:10;12557:8;:16;;;12541:58;12587:11;12541:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12610:8;;;;;;;;;;;:21;;;12632:12;;12646:8;:16;;;12664:8;:20;;;12610:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12033:660;;;:::o;7285:192::-;7361:6;7356:114;7377:13;:20;;;;7373:1;:24;7356:114;;;7446:9;7456:1;7446:12;;;;;;;;;;;;;;7419:6;:24;7426:13;7440:1;7426:16;;;;;;;;;;;;;;;;7419:24;;;;;;;;;;;:39;;;;7399:3;;;;;;;7356:114;;;;7285:192;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://6d11283fd37eab9e92ebae44377d0ab20d5d07491270afbe19a7c4684b24d492

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.