Skip to content

Commit f29f458

Browse files
committed
feat: merge codegen
1 parent 1326083 commit f29f458

13 files changed

+2045
-46
lines changed

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ build/
110110
!/build/contracts/DX*.json
111111

112112
# Subgraph stuff
113-
abis/
114113
generated/
115114

116115
.env

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This repo defines a subgraph which is used by Curate.
1111

1212
## Dev
1313

14-
To deploy to your own instance on a testnet, modify the script to use your own subgraph instance. For example, change `deploy:kovan` to `graph deploy --product hosted-service <your-username>/light-curate-kovan`.
14+
To deploy to your own instance on a testnet, modify the script to use your own subgraph instance. For example, change `deploy:kovan` to `graph deploy --product hosted-service <your-username>/curate-kovan`.
1515

1616
To set your access token:
1717
`npx graph auth --product hosted-service <access-token>`

abis/GTCRFactory.json

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
[
2+
{
3+
"anonymous": false,
4+
"inputs": [
5+
{
6+
"indexed": true,
7+
"internalType": "contract GeneralizedTCR",
8+
"name": "_address",
9+
"type": "address"
10+
}
11+
],
12+
"name": "NewGTCR",
13+
"type": "event"
14+
},
15+
{
16+
"constant": true,
17+
"inputs": [
18+
{
19+
"internalType": "uint256",
20+
"name": "",
21+
"type": "uint256"
22+
}
23+
],
24+
"name": "instances",
25+
"outputs": [
26+
{
27+
"internalType": "contract GeneralizedTCR",
28+
"name": "",
29+
"type": "address"
30+
}
31+
],
32+
"payable": false,
33+
"stateMutability": "view",
34+
"type": "function"
35+
},
36+
{
37+
"constant": false,
38+
"inputs": [
39+
{
40+
"internalType": "contract IArbitrator",
41+
"name": "_arbitrator",
42+
"type": "address"
43+
},
44+
{
45+
"internalType": "bytes",
46+
"name": "_arbitratorExtraData",
47+
"type": "bytes"
48+
},
49+
{
50+
"internalType": "address",
51+
"name": "_connectedTCR",
52+
"type": "address"
53+
},
54+
{
55+
"internalType": "string",
56+
"name": "_registrationMetaEvidence",
57+
"type": "string"
58+
},
59+
{
60+
"internalType": "string",
61+
"name": "_clearingMetaEvidence",
62+
"type": "string"
63+
},
64+
{
65+
"internalType": "address",
66+
"name": "_governor",
67+
"type": "address"
68+
},
69+
{
70+
"internalType": "uint256",
71+
"name": "_submissionBaseDeposit",
72+
"type": "uint256"
73+
},
74+
{
75+
"internalType": "uint256",
76+
"name": "_removalBaseDeposit",
77+
"type": "uint256"
78+
},
79+
{
80+
"internalType": "uint256",
81+
"name": "_submissionChallengeBaseDeposit",
82+
"type": "uint256"
83+
},
84+
{
85+
"internalType": "uint256",
86+
"name": "_removalChallengeBaseDeposit",
87+
"type": "uint256"
88+
},
89+
{
90+
"internalType": "uint256",
91+
"name": "_challengePeriodDuration",
92+
"type": "uint256"
93+
},
94+
{
95+
"internalType": "uint256[3]",
96+
"name": "_stakeMultipliers",
97+
"type": "uint256[3]"
98+
}
99+
],
100+
"name": "deploy",
101+
"outputs": [],
102+
"payable": false,
103+
"stateMutability": "nonpayable",
104+
"type": "function"
105+
},
106+
{
107+
"constant": true,
108+
"inputs": [],
109+
"name": "count",
110+
"outputs": [
111+
{
112+
"internalType": "uint256",
113+
"name": "",
114+
"type": "uint256"
115+
}
116+
],
117+
"payable": false,
118+
"stateMutability": "view",
119+
"type": "function"
120+
}
121+
]

0 commit comments

Comments
 (0)