@wttp/site
Version:
Web3 Transfer Protocol (WTTP) - Site Contracts and deployment tools
101 lines (100 loc) • 2.07 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IDataPointStorage",
"sourceName": "@tw3/esp/contracts/interfaces/IDataPointStorage.sol",
"abi": [
{
"inputs": [],
"name": "VERSION",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "_data",
"type": "bytes"
}
],
"name": "calculateAddress",
"outputs": [
{
"internalType": "bytes32",
"name": "_dataPointAddress",
"type": "bytes32"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_dataPointAddress",
"type": "bytes32"
}
],
"name": "dataPointSize",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_dataPointAddress",
"type": "bytes32"
}
],
"name": "readDataPoint",
"outputs": [
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "_data",
"type": "bytes"
}
],
"name": "writeDataPoint",
"outputs": [
{
"internalType": "bytes32",
"name": "_dataPointAddress",
"type": "bytes32"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}