40 lines
706 B
JSON
40 lines
706 B
JSON
[
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "data",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "uploadFile",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "fileId",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "getFile",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "tuple"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}
|
|
]
|
|
|