-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
729 additions
and
184 deletions.
There are no files selected for viewing
142 changes: 142 additions & 0 deletions
142
packages/hardhat/abi/contracts/Externals/OwnableCelesteMock.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
{ | ||
"abi": [ | ||
{ | ||
"constant": false, | ||
"inputs": [{ "name": "_owner", "type": "address" }], | ||
"name": "setOwner", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ "name": "_disputeId", "type": "uint256" }, | ||
{ "name": "_state", "type": "uint8" } | ||
], | ||
"name": "decideDispute", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [{ "name": "", "type": "uint256" }], | ||
"name": "disputes", | ||
"outputs": [ | ||
{ "name": "subject", "type": "address" }, | ||
{ "name": "state", "type": "uint8" } | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "feeToken", | ||
"outputs": [{ "name": "", "type": "address" }], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "feeAmount", | ||
"outputs": [{ "name": "", "type": "uint256" }], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "getDisputeFees", | ||
"outputs": [ | ||
{ "name": "", "type": "address" }, | ||
{ "name": "", "type": "address" }, | ||
{ "name": "", "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": true, | ||
"inputs": [], | ||
"name": "owner", | ||
"outputs": [{ "name": "", "type": "address" }], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"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": "currentId", | ||
"outputs": [{ "name": "", "type": "uint256" }], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "name": "_feeToken", "type": "address" }, | ||
{ "name": "_feeAmount", "type": "uint256" } | ||
], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
} | ||
], | ||
"bytecode": "608060405234801561001057600080fd5b50604051604080610b3c8339810180604052604081101561003057600080fd5b508051602090910151600380546001600160a01b03199081163317909155600080546001600160a01b039094169390911692909217909155600155610ac28061007a6000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80637cb57c6411610081578063c13517e11161005b578063c13517e1146102d3578063db18af6c1461034a578063e00dd16114610397576100d4565b80637cb57c641461021c5780637e9adccf146102ae5780638da5cb5b146102cb576100d4565b8063647846a5116100b2578063647846a51461019257806369e15404146101c35780637b751b9e146101dd576100d4565b806313af4035146100d95780631da213f21461010e578063564a565d14610134575b600080fd5b61010c600480360360208110156100ef57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661039f565b005b61010c6004803603604081101561012457600080fd5b508035906020013560ff1661046c565b6101516004803603602081101561014a57600080fd5b503561067d565b60405173ffffffffffffffffffffffffffffffffffffffff831681526020810182600481111561017d57fe5b60ff1681526020019250505060405180910390f35b61019a6106c2565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101cb6106de565b60408051918252519081900360200190f35b6101e56106e4565b6040805173ffffffffffffffffffffffffffffffffffffffff94851681529290931660208301528183015290519081900360600190f35b61010c6004803603606081101561023257600080fd5b81359173ffffffffffffffffffffffffffffffffffffffff6020820135169181019060608101604082013564010000000081111561026f57600080fd5b82018360208201111561028157600080fd5b803590602001918460018302840111640100000000831117156102a357600080fd5b509092509050610706565b61010c600480360360208110156102c457600080fd5b503561070c565b61019a61070f565b6101cb600480360360408110156102e957600080fd5b8135919081019060408101602082013564010000000081111561030b57600080fd5b82018360208201111561031d57600080fd5b8035906020019184600183028401116401000000008311171561033f57600080fd5b50909250905061072b565b6103676004803603602081101561036057600080fd5b503561089d565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835260208301919091528051918290030190f35b6101cb6109a4565b60035473ffffffffffffffffffffffffffffffffffffffff16331461042557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4552523a4e4f545f4f574e455200000000000000000000000000000000000000604482015290519081900360640190fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff1633146104f257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f4552523a4e4f545f4f574e455200000000000000000000000000000000000000604482015290519081900360640190fd5b600081600481111561050057fe5b1415801561051a5750600181600481111561051757fe5b14155b61058557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4552523a4f5554434f4d455f4e4f545f41535349474e41424c45000000000000604482015290519081900360640190fd5b60008281526004602052604090206001815474010000000000000000000000000000000000000000900460ff1660048111156105bd57fe5b1461062957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4552523a4e4f545f444953505554454400000000000000000000000000000000604482015290519081900360640190fd5b8054829082907fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000083600481111561067357fe5b0217905550505050565b60046020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff81169074010000000000000000000000000000000000000000900460ff1682565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b600054600154309173ffffffffffffffffffffffffffffffffffffffff169192565b50505050565b50565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b600254604080518082019091523381526000919060208101600190526000828152600460208181526040909220835181547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90911617808255928401519092909183917fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690740100000000000000000000000000000000000000009084908111156107e957fe5b0217905550506002805460019081019091555460005461082a925073ffffffffffffffffffffffffffffffffffffffff16903390309063ffffffff6109aa16565b61089557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4552523a4445504f5349545f4641494c45440000000000000000000000000000604482015290519081900360640190fd5b949350505050565b600081815260046020526040812081906003815474010000000000000000000000000000000000000000900460ff1660048111156108d757fe5b14156108ff575473ffffffffffffffffffffffffffffffffffffffff1691506003905061099f565b6004815474010000000000000000000000000000000000000000900460ff16600481111561092957fe5b1415610951575473ffffffffffffffffffffffffffffffffffffffff1691506004905061099f565b6002815474010000000000000000000000000000000000000000900460ff16600481111561097b57fe5b14156100d4575473ffffffffffffffffffffffffffffffffffffffff169150600090505b915091565b60025481565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052600090610a418682610a4b565b9695505050505050565b6000806040516020818551602087016000895af18015610a8c573d8015610a795760208114610a8257610a8a565b60019350610a8a565b600183511493505b505b509094935050505056fea165627a7a72305820eb46537c59c54975546b99405e9e814628d1eb2de172383621b3e7af82b32d7700290000000000000000000000006e7c3bc98bee14302aa2a98b4c5c86b13eb4b6cd00000000000000000000000000000000000000000000000006f05b59d3b20000" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"address":"0x35bf1cF67b798Cbab26F92dac152f3aCAb64680B","abi":[{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_disputeId","type":"uint256"},{"name":"_state","type":"uint8"}],"name":"decideDispute","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"disputes","outputs":[{"name":"subject","type":"address"},{"name":"state","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"feeToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"feeAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getDisputeFees","outputs":[{"name":"","type":"address"},{"name":"","type":"address"},{"name":"","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":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"currentId","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_feeToken","type":"address"},{"name":"_feeAmount","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]} |
Oops, something went wrong.