{
  "contractName": "ArbitratorMock",
  "abi": [
    {
      "constant": false,
      "inputs": [
        {
          "name": "_fail",
          "type": "bool"
        }
      ],
      "name": "setCloseEvidencePeriodFailure",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_newAppFeesCashier",
          "type": "address"
        }
      ],
      "name": "setAppFeesCashier",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_disputeId",
          "type": "uint256"
        },
        {
          "name": "_ruling",
          "type": "uint8"
        }
      ],
      "name": "setRuling",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "disputesLength",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "disputes",
      "outputs": [
        {
          "name": "arbitrable",
          "type": "address"
        },
        {
          "name": "evidencePeriodClosed",
          "type": "bool"
        },
        {
          "name": "ruling",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_feeToken",
          "type": "address"
        },
        {
          "name": "_feeAmount",
          "type": "uint256"
        }
      ],
      "name": "setFees",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "getDisputeFees",
      "outputs": [
        {
          "name": "recipient",
          "type": "address"
        },
        {
          "name": "feeToken",
          "type": "address"
        },
        {
          "name": "feeAmount",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_disputeId",
          "type": "uint256"
        },
        {
          "name": "_submitter",
          "type": "address"
        },
        {
          "name": "_evidence",
          "type": "bytes"
        }
      ],
      "name": "submitEvidence",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_disputeId",
          "type": "uint256"
        }
      ],
      "name": "closeEvidencePeriod",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_possibleRulings",
          "type": "uint256"
        },
        {
          "name": "_metadata",
          "type": "bytes"
        }
      ],
      "name": "createDispute",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_disputeId",
          "type": "uint256"
        }
      ],
      "name": "rule",
      "outputs": [
        {
          "name": "subject",
          "type": "address"
        },
        {
          "name": "ruling",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "closeEvidencePeriodFail",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "fee",
      "outputs": [
        {
          "name": "token",
          "type": "address"
        },
        {
          "name": "amount",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "name": "getSubscriptionFees",
      "outputs": [
        {
          "name": "recipient",
          "type": "address"
        },
        {
          "name": "feeToken",
          "type": "address"
        },
        {
          "name": "feeAmount",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "appFeesCashier",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "name": "_feeToken",
          "type": "address"
        },
        {
          "name": "_feeAmount",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "name": "disputeId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "possibleRulings",
          "type": "uint256"
        },
        {
          "indexed": false,
          "name": "metadata",
          "type": "bytes"
        }
      ],
      "name": "NewDispute",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "disputeId",
          "type": "uint256"
        },
        {
          "indexed": true,
          "name": "submitter",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "evidence",
          "type": "bytes"
        }
      ],
      "name": "EvidenceSubmitted",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "disputeId",
          "type": "uint256"
        }
      ],
      "name": "EvidencePeriodClosed",
      "type": "event"
    }
  ],
  "bytecode": "0x608060405234801561001057600080fd5b5060405160408061110383398101604052805160209091015160008054600160a060020a031916600160a060020a038416179055600181815560038054909101905561005a61009f565b604051809103906000f080158015610076573d6000803e3d6000fd5b5060028054600160a060020a031916600160a060020a0392909216919091179055506100af9050565b6040516106fe80610a0583390190565b610947806100be6000396000f3006080604052600436106100c15763ffffffff60e060020a60003504166314f98cc181146100c657806339f5d09d146100e2578063429c3a861461010357806354a3efa414610121578063564a565d146101485780635e5c6ada146101885780637b751b9e146101ac5780637cb57c64146101eb5780637e9adccf1461021c578063c13517e114610234578063db18af6c14610258578063dbe960b114610293578063ddca3f43146102bc578063e3f2311e146102d1578063f4afb7f9146102f2575b600080fd5b3480156100d257600080fd5b506100e06004351515610323565b005b3480156100ee57600080fd5b506100e0600160a060020a0360043516610344565b34801561010f57600080fd5b506100e060043560ff60243516610366565b34801561012d57600080fd5b50610136610382565b60408051918252519081900360200190f35b34801561015457600080fd5b50610160600435610388565b60408051600160a060020a039094168452911515602084015282820152519081900360600190f35b34801561019457600080fd5b506100e0600160a060020a03600435166024356103b7565b3480156101b857600080fd5b506101c16103dd565b60408051600160a060020a0394851681529290931660208301528183015290519081900360600190f35b3480156101f757600080fd5b506100e0600480359060248035600160a060020a0316916044359182019101356103f2565b34801561022857600080fd5b506100e0600435610545565b34801561024057600080fd5b506101366004803590602480359081019101356106f6565b34801561026457600080fd5b50610270600435610812565b60408051600160a060020a03909316835260208301919091528051918290030190f35b34801561029f57600080fd5b506102a86108ce565b604080519115158252519081900360200190f35b3480156102c857600080fd5b506102706108de565b3480156102dd57600080fd5b506101c1600160a060020a03600435166108f3565b3480156102fe57600080fd5b5061030761090c565b60408051600160a060020a039092168252519081900360200190f35b6002805491151560a060020a0260a060020a60ff0219909216919091179055565b60028054600160a060020a031916600160a060020a0392909216919091179055565b60009182526004602052604090912060ff909116600190910155565b60035481565b60046020526000908152604090208054600190910154600160a060020a0382169160a060020a900460ff169083565b60008054600160a060020a031916600160a060020a039390931692909217909155600155565b6000546001543091600160a060020a03169192565b60008481526004602090815260409182902080548351606081018552602381527f41524249545241544f525f5355424d49545445525f4e4f545f415242495452419381019390935260e860020a62424c45029383019390935291600160a060020a031633146104e25760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156104a757818101518382015260200161048f565b50505050905090810190601f1680156104d45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5083600160a060020a0316857fd25027d3faf6af10da1a82e9d4df3c98b93cb0481f9acaf87718a548fad0abce85856040518080602001828103825284848281815260200192508082843760405192018290039550909350505050a35050505050565b60025460408051606081018252602781527f41524249545241544f525f434c4f53455f45564944454e43455f504552494f44602082015260ca60020a6617d19052531151029181019190915260009160a060020a900460ff16156105ee5760405160e560020a62461bcd028152600401808060200182810382528381815181526020019150805190602001908083836000838110156104a757818101518382015260200161048f565b505060008181526004602090815260409182902080548351606081018552603181527f41524249545241544f525f444953505554455f45564944454e43455f5045524993810193909352607a60020a7013d117d053149150511657d0d313d4d15102938301939093529160a060020a900460ff16156106b25760405160e560020a62461bcd028152600401808060200182810382528381815181526020019150805190602001908083836000838110156104a757818101518382015260200161048f565b50805460a060020a60ff02191660a060020a17815560405182907fd94ce693fdeb8be0b9ccee8969c595e666818feaa0b945a795b336d25f0be87290600090a25050565b60038054600180820190925560008181526004602081815260408084208054600160a060020a0319163390811790915584549654825160e060020a6323b872dd028152948501919091523060248501526044840152519294600160a060020a0316926323b872dd92606480820193929182900301818887803b15801561077b57600080fd5b505af115801561078f573d6000803e3d6000fd5b505050506040513d60208110156107a557600080fd5b5050604080518281526020810187905260609181018281529181018590527f056333da1a506d1de103bc2c14d667b5c5ba8df388f0fa6d2d8b4ceaf40ee96c91839188918891889160808201848480828437604051920182900397509095505050505050a1949350505050565b6000818152600460209081526040808320600181015482518084019093528383527f41524249545241544f525f444953505554455f4e4f545f52554c45445f59455493830193909352839290919015156108b15760405160e560020a62461bcd028152600401808060200182810382528381815181526020019150805190602001908083836000838110156104a757818101518382015260200161048f565b5080546001820154600160a060020a039091169350915050915091565b60025460a060020a900460ff1681565b600054600154600160a060020a039091169082565b5060025460008054600160a060020a0392831693921691565b600254600160a060020a0316815600a165627a7a72305820810016a2f0ad6acc91fd80dae2ccf4990ac9056734e9fdd7043c11433866b7220029608060405234801561001057600080fd5b506106de806100206000396000f30060806040526004361061005e5763ffffffff60e060020a6000350416639ab4d9448114610063578063a76009c91461007d578063b34f2e88146100a4578063dc6839ba146100dc578063e21b277814610117578063e8fd25061461012e575b600080fd5b34801561006f57600080fd5b5061007b60043561014e565b005b34801561008957600080fd5b5061007b600435600160a060020a036024351660443561015a565b3480156100b057600080fd5b5061007b602460048035828101929082013591813580830192908201359160443591820191013561016a565b3480156100e857600080fd5b506100f46004356101d5565b60408051600160a060020a03909316835260208301919091528051918290030190f35b61007b6004803590602480359081019101356102ca565b34801561013a57600080fd5b5061007b6004803560248101910135610561565b61015781610593565b50565b6101658383836105b5565b505050565b60005b858110156101cc576101c487878381811061018457fe5b6020029190910135905086868481811061019a57fe5b90506020020135600160a060020a031685858581811015156101b857fe5b905060200201356105b5565b60010161016d565b50505050505050565b6000818152602081815260408083208054825180840190935260148352606260020a7310505190d7d0541417d1915157d393d517d4d1550293830193909352839290919060ff1615156102a95760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561026e578181015183820152602001610256565b50505050905090810190601f16801561029b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508054600190910154610100909104600160a060020a031694909350915050565b6000838152602081815260408083208054825180840190935260148352606260020a7310505190d7d0541417d1915157d393d517d4d1550293830193909352929160ff16151561035f5760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360008381101561026e578181015183820152602001610256565b5060408051808201909152601c81527f414146435f4554485f4150505f4645455f4e4f545f414c4c4f57454400000000602082015234156103e55760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360008381101561026e578181015183820152602001610256565b5050805460018201546040805160e060020a6323b872dd028152336004820152306024820152604481019290925251610100909204600160a060020a03169182916323b872dd9160648083019260209291908290030181600087803b15801561044d57600080fd5b505af1158015610461573d6000803e3d6000fd5b505050506040513d602081101561047757600080fd5b505160408051808201909152601d81527f414146435f4645455f544f4b454e5f4445504f5349545f4641494c454400000060208201529015156104ff5760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360008381101561026e578181015183820152602001610256565b50604080518681526020810182815291810185905233917f63938a8871212b49791e487c08b4948b313a75611d715c5ad36142fe524b456891889188918891606082018484808284376040519201829003965090945050505050a25050505050565b60005b818110156101655761058b83838381811061057b57fe5b9050602002013560001916610593565b600101610564565b60009081526020819052604081208054600160a860020a031916815560010155565b60006105c083610685565b6040805180820190915260178152604a60020a7610505190d7d513d2d15397d393d517d0d3d395149050d50260208201529015156106435760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360008381101561026e578181015183820152602001610256565b50506000928352602083905260409092208054600160a060020a039092166101000261010060a860020a031960ff199093166001908117939093161781550155565b600080600160a060020a03831615156106a157600091506106ac565b823b90506000811191505b509190505600a165627a7a7230582026a11e3d21ae677371236ce445d856dc93c3700d728fd20ed069e4ba8093b4ca0029",
  "deployedBytecode": "0x6080604052600436106100c15763ffffffff60e060020a60003504166314f98cc181146100c657806339f5d09d146100e2578063429c3a861461010357806354a3efa414610121578063564a565d146101485780635e5c6ada146101885780637b751b9e146101ac5780637cb57c64146101eb5780637e9adccf1461021c578063c13517e114610234578063db18af6c14610258578063dbe960b114610293578063ddca3f43146102bc578063e3f2311e146102d1578063f4afb7f9146102f2575b600080fd5b3480156100d257600080fd5b506100e06004351515610323565b005b3480156100ee57600080fd5b506100e0600160a060020a0360043516610344565b34801561010f57600080fd5b506100e060043560ff60243516610366565b34801561012d57600080fd5b50610136610382565b60408051918252519081900360200190f35b34801561015457600080fd5b50610160600435610388565b60408051600160a060020a039094168452911515602084015282820152519081900360600190f35b34801561019457600080fd5b506100e0600160a060020a03600435166024356103b7565b3480156101b857600080fd5b506101c16103dd565b60408051600160a060020a0394851681529290931660208301528183015290519081900360600190f35b3480156101f757600080fd5b506100e0600480359060248035600160a060020a0316916044359182019101356103f2565b34801561022857600080fd5b506100e0600435610545565b34801561024057600080fd5b506101366004803590602480359081019101356106f6565b34801561026457600080fd5b50610270600435610812565b60408051600160a060020a03909316835260208301919091528051918290030190f35b34801561029f57600080fd5b506102a86108ce565b604080519115158252519081900360200190f35b3480156102c857600080fd5b506102706108de565b3480156102dd57600080fd5b506101c1600160a060020a03600435166108f3565b3480156102fe57600080fd5b5061030761090c565b60408051600160a060020a039092168252519081900360200190f35b6002805491151560a060020a0260a060020a60ff0219909216919091179055565b60028054600160a060020a031916600160a060020a0392909216919091179055565b60009182526004602052604090912060ff909116600190910155565b60035481565b60046020526000908152604090208054600190910154600160a060020a0382169160a060020a900460ff169083565b60008054600160a060020a031916600160a060020a039390931692909217909155600155565b6000546001543091600160a060020a03169192565b60008481526004602090815260409182902080548351606081018552602381527f41524249545241544f525f5355424d49545445525f4e4f545f415242495452419381019390935260e860020a62424c45029383019390935291600160a060020a031633146104e25760405160e560020a62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156104a757818101518382015260200161048f565b50505050905090810190601f1680156104d45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5083600160a060020a0316857fd25027d3faf6af10da1a82e9d4df3c98b93cb0481f9acaf87718a548fad0abce85856040518080602001828103825284848281815260200192508082843760405192018290039550909350505050a35050505050565b60025460408051606081018252602781527f41524249545241544f525f434c4f53455f45564944454e43455f504552494f44602082015260ca60020a6617d19052531151029181019190915260009160a060020a900460ff16156105ee5760405160e560020a62461bcd028152600401808060200182810382528381815181526020019150805190602001908083836000838110156104a757818101518382015260200161048f565b505060008181526004602090815260409182902080548351606081018552603181527f41524249545241544f525f444953505554455f45564944454e43455f5045524993810193909352607a60020a7013d117d053149150511657d0d313d4d15102938301939093529160a060020a900460ff16156106b25760405160e560020a62461bcd028152600401808060200182810382528381815181526020019150805190602001908083836000838110156104a757818101518382015260200161048f565b50805460a060020a60ff02191660a060020a17815560405182907fd94ce693fdeb8be0b9ccee8969c595e666818feaa0b945a795b336d25f0be87290600090a25050565b60038054600180820190925560008181526004602081815260408084208054600160a060020a0319163390811790915584549654825160e060020a6323b872dd028152948501919091523060248501526044840152519294600160a060020a0316926323b872dd92606480820193929182900301818887803b15801561077b57600080fd5b505af115801561078f573d6000803e3d6000fd5b505050506040513d60208110156107a557600080fd5b5050604080518281526020810187905260609181018281529181018590527f056333da1a506d1de103bc2c14d667b5c5ba8df388f0fa6d2d8b4ceaf40ee96c91839188918891889160808201848480828437604051920182900397509095505050505050a1949350505050565b6000818152600460209081526040808320600181015482518084019093528383527f41524249545241544f525f444953505554455f4e4f545f52554c45445f59455493830193909352839290919015156108b15760405160e560020a62461bcd028152600401808060200182810382528381815181526020019150805190602001908083836000838110156104a757818101518382015260200161048f565b5080546001820154600160a060020a039091169350915050915091565b60025460a060020a900460ff1681565b600054600154600160a060020a039091169082565b5060025460008054600160a060020a0392831693921691565b600254600160a060020a0316815600a165627a7a72305820810016a2f0ad6acc91fd80dae2ccf4990ac9056734e9fdd7043c11433866b7220029",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
