forked from blockscout/blockscout-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapi_config_http.yaml
50 lines (35 loc) · 1.75 KB
/
api_config_http.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
type: google.api.Service
config_version: 3
http:
rules:
#################### Solidity Verifier ####################
- selector: blockscout.smartContractVerifier.v2.SolidityVerifier.VerifyMultiPart
post: /api/v2/verifier/solidity/sources:verify-multi-part
body: "*"
- selector: blockscout.smartContractVerifier.v2.SolidityVerifier.VerifyStandardJson
post: /api/v2/verifier/solidity/sources:verify-standard-json
body: "*"
- selector: blockscout.smartContractVerifier.v2.SolidityVerifier.ListCompilerVersions
get: /api/v2/verifier/solidity/versions
- selector: blockscout.smartContractVerifier.v2.SolidityVerifier.LookupMethods
post: /api/v2/verifier/solidity/methods:lookup
body: "*"
#################### Vyper Verifier ####################
- selector: blockscout.smartContractVerifier.v2.VyperVerifier.VerifyMultiPart
post: /api/v2/verifier/vyper/sources:verify-multi-part
body: "*"
- selector: blockscout.smartContractVerifier.v2.VyperVerifier.VerifyStandardJson
post: /api/v2/verifier/vyper/sources:verify-standard-json
body: "*"
- selector: blockscout.smartContractVerifier.v2.VyperVerifier.ListCompilerVersions
get: /api/v2/verifier/vyper/versions
#################### Sourcify Verifier ####################
- selector: blockscout.smartContractVerifier.v2.SourcifyVerifier.Verify
post: /api/v2/verifier/sourcify/sources:verify
body: "*"
- selector: blockscout.smartContractVerifier.v2.SourcifyVerifier.VerifyFromEtherscan
post: /api/v2/verifier/sourcify/sources:verify-from-etherscan
body: "*"
#################### Health ####################
- selector: blockscout.smartContractVerifier.v2.Health.Check
get: /health