kleros-sdk/src/dataMappings/dataMapping.json
[
{
"type": "subgraph",
"endpoint": "https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2",
"query": "query($id: ID!) { pair(id: $id) { id token0Price token1Price } }",
"seek": [
"token0Price",
"token1Price"
],
"populate": [
"price1",
"price2"
]
},
{
"type": "abi/event",
"abi": "event StakeSet(address indexed _address, uint256 _courtID, uint256 _amount)",
"address": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
"eventFilter": {
"fromBlock": "36205881",
"toBlock": "latest",
"args": {
"_courtID": 1
}
},
"seek": [
"amount"
],
"populate": [
"amount"
]
},
{
"type": "abi/call",
"abi": "function appealCost(uint256 _disputeID) public view returns (uint256)",
"address": "0x5a2bC1477ABE705dB4955Cda7DE064eA79D563d1",
"args": [
"1"
],
"seek": [
"cost"
],
"populate": [
"cost"
]
},
{
"type": "json",
"value": {
"name": "John Doe",
"age": 30,
"email": "johndoe@example.com"
},
"seek": [
"name",
"age",
"email"
],
"populate": [
"name",
"age",
"email"
]
},
{
"type": "fetch/ipfs/json",
"ipfsUri": "ipfs://QmZ3Cmnip8bmFNruuTuCdxPymEjyK9VcQEyf2beDYcaHaK/metaEvidence.json",
"seek": [
"title"
],
"populate": [
"title"
]
}
]