Skip to content

Commit 5f67014

Browse files
committed
abis and solhint
1 parent 9ecb57c commit 5f67014

File tree

4 files changed

+37
-9
lines changed

4 files changed

+37
-9
lines changed

abis/PoRepMarket.json

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,6 @@
226226
"name": "_spRegistry",
227227
"type": "address",
228228
"internalType": "address"
229-
},
230-
{
231-
"name": "_clientSmartContract",
232-
"type": "address",
233-
"internalType": "address"
234229
}
235230
],
236231
"outputs": [],
@@ -355,6 +350,19 @@
355350
"outputs": [],
356351
"stateMutability": "nonpayable"
357352
},
353+
{
354+
"type": "function",
355+
"name": "setClientSmartContract",
356+
"inputs": [
357+
{
358+
"name": "_clientSmartContract",
359+
"type": "address",
360+
"internalType": "address"
361+
}
362+
],
363+
"outputs": [],
364+
"stateMutability": "nonpayable"
365+
},
358366
{
359367
"type": "function",
360368
"name": "supportsInterface",
@@ -410,6 +418,19 @@
410418
"outputs": [],
411419
"stateMutability": "payable"
412420
},
421+
{
422+
"type": "event",
423+
"name": "ClientSmartContractUpdated",
424+
"inputs": [
425+
{
426+
"name": "clientSmartContract",
427+
"type": "address",
428+
"indexed": true,
429+
"internalType": "address"
430+
}
431+
],
432+
"anonymous": false
433+
},
413434
{
414435
"type": "event",
415436
"name": "DealAccepted",

abis/ValidatorFactory.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,15 @@
219219
"name": "implementation",
220220
"type": "address",
221221
"internalType": "address"
222-
},
222+
}
223+
],
224+
"outputs": [],
225+
"stateMutability": "nonpayable"
226+
},
227+
{
228+
"type": "function",
229+
"name": "initialize2",
230+
"inputs": [
223231
{
224232
"name": "_poRepMarket",
225233
"type": "address",

gen-abis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -euo pipefail
55
rm -rf abis
66
mkdir abis
77

8-
for i in $(find src -name '*.sol' ! -path "*/interfaces/*"); do
8+
for i in $(find src -name '*.sol' ! -path "*/interfaces/*" ! -path "*/types/*"); do
99
echo "Generating ABI file for $i"
1010
i="$(basename "$i")"
1111
name="${i%.sol}"

script/Deploy.s.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
// solhint-disable use-natspec
33
pragma solidity =0.8.25;
44

5-
import {Script, console} from "forge-std/Script.sol";
6-
import {ERC1967Proxy} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
5+
import {Script} from "forge-std/Script.sol";
76
import {PoRepMarket} from "../src/PoRepMarket.sol";
87
import {Validator} from "../src/Validator.sol";
98
import {ValidatorFactory} from "../src/ValidatorFactory.sol";

0 commit comments

Comments
 (0)