mirror of git3://git3.w3q/git3-contract
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.
12 lines
257 B
Solidity
12 lines
257 B
Solidity
2 years ago
|
pragma solidity ^0.8.0;
|
||
|
|
||
|
|
||
|
interface IStorageLayer{
|
||
|
|
||
|
function upload(
|
||
|
bytes20 refHash,
|
||
|
bytes calldata data
|
||
|
) external payable ;
|
||
|
|
||
|
function download(bytes20 refHash) external view returns(bytes32 storageLayerId,bytes memory data);
|
||
|
}
|