You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
508 B
Solidity

2 years ago
//SPDX-License-Identifier: GLP-3.0
2 years ago
pragma solidity ^0.8.0;
interface database {
function download(
bytes memory repoName,
bytes memory path
2 years ago
) external view returns (bytes memory, bool);
2 years ago
function upload(
bytes memory repoName,
bytes memory path,
bytes calldata data
) external payable;
2 years ago
function uploadChunk(
bytes memory repoName,
bytes memory path,
uint256 chunkId,
bytes calldata data
) external payable;
2 years ago
}