Skip to content

Commit 05fec8c

Browse files
committed
Contracts update and solc
1 parent f8bd9fe commit 05fec8c

File tree

7 files changed

+312
-160
lines changed

7 files changed

+312
-160
lines changed

contracts/contract.proto

+13-12
Original file line numberDiff line numberDiff line change
@@ -22,36 +22,37 @@ message Contract {
2222
string transaction_hash = 11; // Transaction hash of the contract deployment.
2323
bool verified = 12; // Indicates if the contract is verified.
2424
string compiler_version = 13; // Version of the compiler used.
25-
bool optimized = 14; // Indicates if the contract is optimized.
26-
int32 optimization_runs = 15; // Number of optimization runs.
25+
string evm_version = 14; // Version of the EVM used.
26+
bool optimized = 15; // Indicates if the contract is optimized.
27+
int32 optimization_runs = 16; // Number of optimization runs.
2728

2829
// List of possible contract types associated.
29-
repeated string possible_contract_types = 16;
30+
repeated string possible_contract_types = 17;
3031

3132
// Total number of contracts discovered in the IR.
32-
int32 contracts_count = 17;
33+
int32 contracts_count = 18;
3334

3435
// List of Ethereum Improvement Proposals (EIPs) associated with this IR.
35-
repeated txpull.v1.ir.EIP eips = 18;
36+
repeated txpull.v1.ir.EIP standards = 19;
3637

3738
// Metadata URLs associated with the contract.
38-
repeated string metadata_urls = 19;
39+
repeated string metadata_urls = 20;
3940

4041
// Implementations associated with the contract.
41-
repeated txpull.v1.contracts.Implements implements = 20;
42+
repeated txpull.v1.contracts.Implements implements = 21;
4243

4344
// Constructor details of the contract.
44-
txpull.v1.contracts.Constructor constructor = 21;
45+
txpull.v1.contracts.Constructor constructor = 22;
4546

4647
// Indicates if the contract has vulnerabilities.
47-
bool has_vulnerabilities = 22;
48+
bool has_vulnerabilities = 23;
4849

4950
// Metrics of vulnerabilities associated with the contract.
50-
repeated txpull.v1.contracts.VulnerabilityMetric vulnerability_metrics = 23;
51+
repeated txpull.v1.contracts.VulnerabilityMetric vulnerability_metrics = 24;
5152

5253
// Vulnerabilities associated with the contract.
53-
repeated txpull.v1.contracts.Vulnerability vulnerabilities = 24;
54+
repeated txpull.v1.contracts.Vulnerability vulnerabilities = 25;
5455

5556
// ABI of the contract in raw JSON format.
56-
string abi = 25;
57+
string abi = 26;
5758
}

dist/docs/docs.json

+13-1
Original file line numberDiff line numberDiff line change
@@ -18088,6 +18088,18 @@
1808818088
"oneofdecl": "",
1808918089
"defaultValue": ""
1809018090
},
18091+
{
18092+
"name": "evm_version",
18093+
"description": "Version of the EVM used.",
18094+
"label": "",
18095+
"type": "string",
18096+
"longType": "string",
18097+
"fullType": "string",
18098+
"ismap": false,
18099+
"isoneof": false,
18100+
"oneofdecl": "",
18101+
"defaultValue": ""
18102+
},
1809118103
{
1809218104
"name": "optimized",
1809318105
"description": "Indicates if the contract is optimized.",
@@ -18137,7 +18149,7 @@
1813718149
"defaultValue": ""
1813818150
},
1813918151
{
18140-
"name": "eips",
18152+
"name": "standards",
1814118153
"description": "List of Ethereum Improvement Proposals (EIPs) associated with this IR.",
1814218154
"label": "repeated",
1814318155
"type": "EIP",

dist/go/contracts/contract.pb.go

+71-60
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)