This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
interface ITransparentForwarder { | |
/** | |
* @dev using the hash of collection name, clients can query the result of that collection | |
* @param _name bytes32 hash of the collection name | |
* @return result of the collection and its power | |
*/ | |
function getResult(bytes32 _name) external payable returns (uint256, int8); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl 'http://localhost:3000/api/v1/documents/pending_pending_1029464_1626088534/attachment' \ | |
-H 'Connection: keep-alive' \ | |
-H 'sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91"' \ | |
-H 'Accept: application/json, text/plain, */*' \ | |
-H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSXNJbVY0Y0NJNk1UWTFOell3Tnprek1pd2lhV0YwSWpveE5qSTJNRGN4T1RNeWZRLmV5SjFjMlZ5WDJsa0lqb3pNak15TVRVMExDSmxiV0ZwYkNJNklubHZhR0Z1TG01bGJITnZia0JuWlhSemFXZHVaV0Z6ZVM1amIyMGlmUS5RNTFWaC1ndmZsbXZORG5PRlNyWVBpUHZjaVpwSURwbnVqQnIxUVI0YXkwOiFKdW5rSnVua0p1bmsh' \ | |
-H 'sec-ch-ua-mobile: ?0' \ | |
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36' \ | |
-H 'Content-Type: application/json;charset=UTF-8' \ | |
-H 'Origin: http://localhost:9000' \ | |
-H 'Sec-Fetch-Site: same-site' \ |