Skip to content

Commit 48bc401

Browse files
committed
feat: readd light-curate
1 parent 9b70440 commit 48bc401

File tree

7 files changed

+443
-148
lines changed

7 files changed

+443
-148
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FACTORY_ADDRESS=0x4296b39059b8591d4f22a0fc4ee49508279b8fc6
22
BATCH_WITHDRAW_ADDRESS=0xA32942798112e561d4d3ffc62c552bb0E9651b66
33
PROVIDER_URL=https://kovan.infura.io/v3/<secret-key>
4-
#LBATCH_WITHDRAW_ADDRESS=0x8Fa00b7281cD8296bB3818AE5654B4FCCe9a3f2F
5-
#GTCR_SUBGRAPH_URL=https://api.thegraph.com/subgraphs/name/eccentricexit/light-curate-kovan-ii
4+
LBATCH_WITHDRAW_ADDRESS=0x13c5E321cdF37e3736470bbC6E8DD95015D7B9E3
5+
GTCR_SUBGRAPH_URL=https://api.thegraph.com/subgraphs/name/eccentricexit/light-curate-kovan-ii
66

77
# How often to check if items passed the challenge period without challenges.
88
# The minimum value accepted is 2 * BLOCK_TIME_SECONDS / 60.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"start:kovan": "env-cmd -f ./.env.kovan ts-node --transpile-only --files -r dotenv-safe/config ./src/index.ts",
1212
"lint:secrets": "secretlint \"**/*\"",
1313
"lint": "npm run lint:secrets",
14-
"cleanDB": "rimraf ./db/* && nodetouch ./db/.gitkeep",
14+
"cleanDB": "rimraf ./db-*",
1515
"release": "standard-version"
1616
},
1717
"author": "Kleros",

src/assets/LightGTCRFactory.json

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
[
22
{
33
"inputs": [
4-
{ "internalType": "address", "name": "_GTCR", "type": "address" }
4+
{
5+
"internalType": "address",
6+
"name": "_GTCR",
7+
"type": "address"
8+
}
59
],
610
"payable": false,
711
"stateMutability": "nonpayable",
@@ -24,7 +28,13 @@
2428
"constant": true,
2529
"inputs": [],
2630
"name": "GTCR",
27-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
31+
"outputs": [
32+
{
33+
"internalType": "address",
34+
"name": "",
35+
"type": "address"
36+
}
37+
],
2838
"payable": false,
2939
"stateMutability": "view",
3040
"type": "function"
@@ -33,7 +43,13 @@
3343
"constant": true,
3444
"inputs": [],
3545
"name": "count",
36-
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
46+
"outputs": [
47+
{
48+
"internalType": "uint256",
49+
"name": "",
50+
"type": "uint256"
51+
}
52+
],
3753
"payable": false,
3854
"stateMutability": "view",
3955
"type": "function"
@@ -51,7 +67,11 @@
5167
"name": "_arbitratorExtraData",
5268
"type": "bytes"
5369
},
54-
{ "internalType": "address", "name": "_connectedTCR", "type": "address" },
70+
{
71+
"internalType": "address",
72+
"name": "_connectedTCR",
73+
"type": "address"
74+
},
5575
{
5676
"internalType": "string",
5777
"name": "_registrationMetaEvidence",
@@ -62,7 +82,11 @@
6282
"name": "_clearingMetaEvidence",
6383
"type": "string"
6484
},
65-
{ "internalType": "address", "name": "_governor", "type": "address" },
85+
{
86+
"internalType": "address",
87+
"name": "_governor",
88+
"type": "address"
89+
},
6690
{
6791
"internalType": "uint256[4]",
6892
"name": "_baseDeposits",
@@ -78,7 +102,11 @@
78102
"name": "_stakeMultipliers",
79103
"type": "uint256[3]"
80104
},
81-
{ "internalType": "address", "name": "_relayContract", "type": "address" }
105+
{
106+
"internalType": "address",
107+
"name": "_relayContract",
108+
"type": "address"
109+
}
82110
],
83111
"name": "deploy",
84112
"outputs": [],
@@ -88,7 +116,13 @@
88116
},
89117
{
90118
"constant": true,
91-
"inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
119+
"inputs": [
120+
{
121+
"internalType": "uint256",
122+
"name": "",
123+
"type": "uint256"
124+
}
125+
],
92126
"name": "instances",
93127
"outputs": [
94128
{

0 commit comments

Comments
 (0)