Skip to content

Instantly share code, notes, and snippets.

@petarjs
Created June 3, 2018 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petarjs/7429e68fc13ab8e01a0261a4fa36e478 to your computer and use it in GitHub Desktop.
Save petarjs/7429e68fc13ab8e01a0261a4fa36e478 to your computer and use it in GitHub Desktop.
Dask ABI
[
{
"inputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "price",
"type": "uint256"
}
],
"name": "PricePerAnswerSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "askedBy",
"type": "address"
},
{
"indexed": false,
"name": "text",
"type": "string"
}
],
"name": "QuestionAsked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "askedBy",
"type": "address"
},
{
"indexed": false,
"name": "text",
"type": "string"
},
{
"indexed": false,
"name": "answer",
"type": "uint256"
}
],
"name": "QuestionAnswered",
"type": "event"
},
{
"constant": false,
"inputs": [
{
"name": "price",
"type": "uint256"
}
],
"name": "setPricePerAnswer",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getPricePerAnswer",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "text",
"type": "string"
},
{
"name": "maxAnswers",
"type": "uint256"
}
],
"name": "askQuestion",
"outputs": [],
"payable": true,
"stateMutability": "payable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "askedBy",
"type": "address"
},
{
"name": "text",
"type": "string"
},
{
"name": "answer",
"type": "uint256"
}
],
"name": "answerQuestion",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment