From d9446f22617775df2cfeeaef5ab5b61b69ac6561 Mon Sep 17 00:00:00 2001
From: Green <40367733+greenlucid@users.noreply.github.com>
Date: Thu, 1 Sep 2022 15:47:07 +0200
Subject: [PATCH 1/4] chore: add goerli
---
src/bootstrap/app-router.tsx | 4 ++--
src/config/networks.js | 24 +++++++++++++++++++++++-
2 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/src/bootstrap/app-router.tsx b/src/bootstrap/app-router.tsx
index 6cae4104..90da8310 100644
--- a/src/bootstrap/app-router.tsx
+++ b/src/bootstrap/app-router.tsx
@@ -67,7 +67,7 @@ const AppRouter = () => {
if (Object.entries(connectors).length === 0) return
- if (isUnsupported && error)
+ if (isUnsupported && error) {
return (
{
}
/>
)
- else if (!networkId || !pathResolved) return
+ } else if (!networkId || !pathResolved) return
else if (invalidTcrAddr || !client) return
return (
diff --git a/src/config/networks.js b/src/config/networks.js
index 449f4ad8..b426cddb 100644
--- a/src/config/networks.js
+++ b/src/config/networks.js
@@ -2,7 +2,8 @@ export const NETWORKS = Object.freeze({
ethereum: 1,
xDai: 100,
rinkeby: 4,
- kovan: 42
+ kovan: 42,
+ goerli: 5
})
export const DEFAULT_NETWORK = NETWORKS.ethereum
@@ -39,6 +40,27 @@ export const NETWORKS_INFO = Object.freeze({
],
infoURL: 'https://ethereum.org'
},
+ [NETWORKS.goerli]: {
+ name: 'Ethereum Goerli',
+ color: '#29b6af',
+ supported: true,
+ chainId: 5,
+ shortName: 'goerlieth',
+ chain: 'GoerliETH',
+ network: 'goerli',
+ networkId: 5,
+ nativeCurrency: { name: 'GoerliEther', symbol: 'GoerliETH', decimals: 18 },
+ rpc: [RPC_URLS[NETWORKS.goerli]],
+ faucets: [],
+ explorers: [
+ {
+ name: 'etherscan',
+ url: 'https://goerli.etherscan.io',
+ standard: 'EIP3091'
+ }
+ ],
+ infoURL: 'https://ethereum.org'
+ },
[NETWORKS.xDai]: {
name: 'xDAI Chain',
color: '#48A9A6',
From 4ef3cca6ebcb75b45a5cd05dee7a8f7e57ea35de Mon Sep 17 00:00:00 2001
From: Green <40367733+greenlucid@users.noreply.github.com>
Date: Tue, 20 Sep 2022 13:47:12 +0200
Subject: [PATCH 2/4] chore(env): add goerli params
---
.env.example | 28 ++++++++++++++--------------
src/bootstrap/app-router.tsx | 4 ++--
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/.env.example b/.env.example
index 6d604896..888e00e4 100644
--- a/.env.example
+++ b/.env.example
@@ -4,21 +4,21 @@ REACT_APP_FRAME_SITE_URL=https://frame.sh/
REACT_APP_METAMASK_SITE_URL=https://metamask.io
REACT_APP_TRUST_SITE_URL=https://trustwallet.com
REACT_APP_DEFAULT_NETWORK=1
-REACT_APP_DEFAULT_TCR_ADDRESSES={"42":"0x6e94b7b0340f25C3D2BfE59aeB688f489aD7c1e0","1":"0xba0304273a54dfec1fc7f4bccbf4b15519aecf15","100":"0x2442D40B0aeCad0298C2724A97F2f1BbDF2C2615"}
-REACT_APP_DEFAULT_EVIDENCE_DISPLAY_URI={"1":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","4":"/ipfs/QmVeW1foUUBXNbLteChoD5Sh84dq7Ur5hYrvFXzL6Yxire/index.html","42":"/ipfs/QmQYPgdeNFDViY5Yzx8vUCPSLdoVAaR8FaP6UbubbRRnBt/index.html","100":"/ipfs/QmNhJXtMrxeJu4fpchPruGrL93bm2M4VmDZ8pj4x6FqnHJ/index.html"}
+REACT_APP_DEFAULT_TCR_ADDRESSES={"42":"0x6e94b7b0340f25C3D2BfE59aeB688f489aD7c1e0","1":"0xba0304273a54dfec1fc7f4bccbf4b15519aecf15","4":"0x359cf635d3a7dc742346e6b965783e02594bc102","100":"0x2442D40B0aeCad0298C2724A97F2f1BbDF2C2615"}
+REACT_APP_DEFAULT_EVIDENCE_DISPLAY_URI={"5":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","1":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","4":"/ipfs/QmVeW1foUUBXNbLteChoD5Sh84dq7Ur5hYrvFXzL6Yxire/index.html","42":"/ipfs/QmQYPgdeNFDViY5Yzx8vUCPSLdoVAaR8FaP6UbubbRRnBt/index.html","100":"/ipfs/QmNhJXtMrxeJu4fpchPruGrL93bm2M4VmDZ8pj4x6FqnHJ/index.html"}
REACT_APP_DEFAULT_EVIDENCE_DISPLAY_URI_CLASSIC={"1":"/ipfs/QmPJ5H5YF4fbSxA5j53CcmZAhGywxKPPiiWvJM7Zp8Zx9T/index.html"}
-REACT_APP_GTCRVIEW_ADDRESSES={"42":"0xe6da64f5bf3e2e373405b36a7add7182ab49c9d9","1":"0xe75a12f40da77d285c08a44f499e597bc5085658","4":"0x31e8d06b5fc3856cc93f4172d335626c680af1a7","100":"0x27BC296DC0b8a6c3cD39326aE9EC14604e96f7BF"}
-REACT_APP_LGTCRVIEW_ADDRESSES={"42":"0x60631cf0bbBEFE7FdEfFE51F00Faa240b4349Fee","100":"0xB32e38B08FcC7b7610490f764b0F9bFd754dCE53","4":"0x59b065db3423fd981b56c2bc1ae8e16b0a8b31a4","1":"0xe82a69e939e1aB6Dc1868262cfe444F70098cCC8"}
-REACT_APP_BATCH_WITHDRAW_ADDRESSES={"42":"0xA32942798112e561d4d3ffc62c552bb0E9651b66","1":"0x38aa214dc986d0bab53e5861071f3d5a56066b4d","4":"0x84f33254f4f6f55c65f9e1b34d6d13ea851d8540"}
-REACT_APP_LIGHT_BATCH_WITHDRAW_ADDRESSES={"42":"0x13c5E321cdF37e3736470bbC6E8DD95015D7B9E3","4":"0x0bf2E341247d2d6402ba7905B4988Dd135392cdD","1":"0x5C6363cFA9462Ae11e22d2A5A0eb15dbB8719E4A","100":"0x36B00c87553330E4351ED0CB287ed3917c12a197"}
-REACT_APP_FACTORY_ADDRESSES={"42":"0x4296b39059b8591d4f22a0fc4ee49508279b8fc6","1":"0xe9dd523600b74b8ef0af164687079a6c437f9cd5","4":"0x6cc238531c535e91f0621a172c3a07da93b299b3","100":"0x794Cee5a6e1501b633eC13b8c1e327d9860FE039"}
-REACT_APP_LGTCR_FACTORY_ADDRESSES={"42":"0x74A69142027357B605302925D7f5c01362627566","4":"0xcd104ac86cebe541eb8285610002a4e28fe58735","100":"0x08e58Bc26CFB0d346bABD253A1799866F269805a","1":"0xb9dDC813AcAF3fD7aBC4C16735A09Bc1C0EE0054"}
-REACT_APP_DEFAULT_GOVERNOR={"1":{"address":"0x3a7edc1eb16cb454e4964ec51642f7d7b35b5292","label":"Kleros Governor"},"4":{"label":"This is an EOA Governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"},"42":{"address":"0x5A63D4fe53BC754af645bC1C6879698C50563920","label":"Kovan Kleros Governor"},"100":{"label":"This is an EOA governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"}}
-REACT_APP_DEFAULT_ARBITRATOR={"1":{"label":"Kleros","address":"0x988b3A538b618C7A603e1c11Ab82Cd16dbE28069"},"4":{"label":"Kleros","address":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70"},"42":{"label":"Kleros","address":"0x60B2AbfDfaD9c0873242f59f2A8c32A3Cc682f80"},"100":{"label":"Kleros","address":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002"}}
-REACT_APP_DEFAULT_ARBITRATOR_EXTRA_DATA={"1":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"4":{"label":"Not used","data":"0x00"},"42":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"100":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003"}}
-REACT_APP_TX_BATCHER_ADDRESSES={"1":"0x82458d1c812d7c930bb3229c9e159cbabd9aa8cb","42":"0x741A4dCaD4f72B83bE9103a383911d78362611cf","4":"0x5a64dd89b5a587ec7750a129cd3a7b5cbdfbab5d","100":"0xD7572AD1523F3f116258b8d9dDeBA1d5e76235ac"}
+REACT_APP_GTCRVIEW_ADDRESSES={"5":"0xc0DEc3faBaEC835aC77F1dE683Ce978677fd2217","42":"0xe6da64f5bf3e2e373405b36a7add7182ab49c9d9","1":"0xe75a12f40da77d285c08a44f499e597bc5085658","4":"0x31e8d06b5fc3856cc93f4172d335626c680af1a7","100":"0x27BC296DC0b8a6c3cD39326aE9EC14604e96f7BF"}
+REACT_APP_LGTCRVIEW_ADDRESSES={"5":"0x9738E402fEb8B306cE7C707Ec4ad6D66595A5EF6","42":"0x60631cf0bbBEFE7FdEfFE51F00Faa240b4349Fee","100":"0xB32e38B08FcC7b7610490f764b0F9bFd754dCE53","4":"0x59b065db3423fd981b56c2bc1ae8e16b0a8b31a4","1":"0xe82a69e939e1aB6Dc1868262cfe444F70098cCC8"}
+REACT_APP_BATCH_WITHDRAW_ADDRESSES={"5":"0x2d4d822CE88947F8C2b250ADcd684ea52dAFEaa7","42":"0xA32942798112e561d4d3ffc62c552bb0E9651b66","1":"0x38aa214dc986d0bab53e5861071f3d5a56066b4d","4":"0x84f33254f4f6f55c65f9e1b34d6d13ea851d8540"}
+REACT_APP_LIGHT_BATCH_WITHDRAW_ADDRESSES={"5":"0xBA4F30b3ae9d923fC5f82AE7d965c619F92DFffA","42":"0x13c5E321cdF37e3736470bbC6E8DD95015D7B9E3","4":"0x0bf2E341247d2d6402ba7905B4988Dd135392cdD","1":"0x5C6363cFA9462Ae11e22d2A5A0eb15dbB8719E4A","100":"0x36B00c87553330E4351ED0CB287ed3917c12a197"}
+REACT_APP_FACTORY_ADDRESSES={"5":"0x9AaD77bAb5F18165F9Ca81dA9c3D392D9E382c23","42":"0x4296b39059b8591d4f22a0fc4ee49508279b8fc6","1":"0xe9dd523600b74b8ef0af164687079a6c437f9cd5","4":"0x6cc238531c535e91f0621a172c3a07da93b299b3","100":"0x794Cee5a6e1501b633eC13b8c1e327d9860FE039"}
+REACT_APP_LGTCR_FACTORY_ADDRESSES={"5":"0x55A3d9Bd99F286F1817CAFAAB124ddDDFCb0F314","42":"0x74A69142027357B605302925D7f5c01362627566","4":"0xcd104ac86cebe541eb8285610002a4e28fe58735","100":"0x08e58Bc26CFB0d346bABD253A1799866F269805a","1":"0xb9dDC813AcAF3fD7aBC4C16735A09Bc1C0EE0054"}
+REACT_APP_DEFAULT_GOVERNOR={"5":{"address":"0xd74AB183e2B793A68cB3e647D8f4Df60936B59cA","label":"Goerli Kleros Governor"},"1":{"address":"0x3a7edc1eb16cb454e4964ec51642f7d7b35b5292","label":"Kleros Governor"},"4":{"label":"This is an EOA Governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"},"42":{"address":"0x5A63D4fe53BC754af645bC1C6879698C50563920","label":"Kovan Kleros Governor"},"100":{"label":"This is an EOA governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"}}
+REACT_APP_DEFAULT_ARBITRATOR={"1":{"label":"Kleros","address":"0x988b3A538b618C7A603e1c11Ab82Cd16dbE28069"},"4":{"label":"Kleros","address":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70"},"5":{"label":"Kleros","address":"0x1128eD55ab2d796fa92D2F8E1f336d745354a77A"},"42":{"label":"Kleros","address":"0x60B2AbfDfaD9c0873242f59f2A8c32A3Cc682f80"},"100":{"label":"Kleros","address":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002"}}
+REACT_APP_DEFAULT_ARBITRATOR_EXTRA_DATA={"1":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"4":{"label":"Not used","data":"0x00"},"5":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"},"42":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"100":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003"}}
+REACT_APP_TX_BATCHER_ADDRESSES={"5":"0x394E870A068E9C623aC6Bc51d53cc4a040420e8e","1":"0x82458d1c812d7c930bb3229c9e159cbabd9aa8cb","42":"0x741A4dCaD4f72B83bE9103a383911d78362611cf","4":"0x5a64dd89b5a587ec7750a129cd3a7b5cbdfbab5d","100":"0xD7572AD1523F3f116258b8d9dDeBA1d5e76235ac"}
REACT_APP_REJECT_ALL_POLICY_URI="/ipfs/QmZ7RVU7re1g8nXDbAFMHV99pyie3dn4cY7Ga2X4h8mDpV/reject-all-policy.pdf"
-REACT_APP_SUBGRAPH_URL={"1":"https://api.thegraph.com/subgraphs/name/kleros/curate","42":"https://api.thegraph.com/subgraphs/name/eccentricexit/light-curate-kovan-ii","100":"https://api.thegraph.com/subgraphs/name/eccentricexit/curate-xdai-ii"}
+REACT_APP_SUBGRAPH_URL={"1":"https://api.thegraph.com/subgraphs/name/kleros/curate","5":"https://api.thegraph.com/subgraphs/name/greenlucid/curate-goerli","42":"https://api.thegraph.com/subgraphs/name/eccentricexit/light-curate-kovan-ii","100":"https://api.thegraph.com/subgraphs/name/eccentricexit/curate-xdai-ii"}
# Twitter client
REACT_APP_BEARER_TOKEN=
@@ -30,7 +30,7 @@ REACT_APP_CORS_PROXY_URL=https://curate-cors.herokuapp.com
# All fields below this line are optional -------------
# If the user selects one of these addresses as the arbitrator on the factory, we can hide the arbitrator extra data field and display user friendly fields: Number of Jurors, Court.
-REACT_APP_KLEROS_ADDRESSES={"1":{"arbitrator":"0x988b3a538b618c7a603e1c11ab82cd16dbe28069","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"4":{"arbitrator":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70","policy":"0xCd444af85127392cB84b8583a82e6aE6230Ec0b9","uiURL":"https://court.kleros.io/cases/:disputeID"},"42":{"arbitrator":"0x60b2abfdfad9c0873242f59f2a8c32a3cc682f80","policy":"0xfc53d1d6ddc2c6cdd403cb7dbf0f26140d82e12d","uiURL":"https://court.kleros.io/cases/:disputeID"},"100":{"arbitrator":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002","policy":"0x9d494768936b6bDaabc46733b8D53A937A6c6D7e","uiURL":"https://court.kleros.io/cases/:disputeID"}}
+REACT_APP_KLEROS_ADDRESSES={"5":{"arbitrator":"0x1128eD55ab2d796fa92D2F8E1f336d745354a77A","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"1":{"arbitrator":"0x988b3a538b618c7a603e1c11ab82cd16dbe28069","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"4":{"arbitrator":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70","policy":"0xCd444af85127392cB84b8583a82e6aE6230Ec0b9","uiURL":"https://court.kleros.io/cases/:disputeID"},"42":{"arbitrator":"0x60b2abfdfad9c0873242f59f2a8c32a3cc682f80","policy":"0xfc53d1d6ddc2c6cdd403cb7dbf0f26140d82e12d","uiURL":"https://court.kleros.io/cases/:disputeID"},"100":{"arbitrator":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002","policy":"0x9d494768936b6bDaabc46733b8D53A937A6c6D7e","uiURL":"https://court.kleros.io/cases/:disputeID"}}
REACT_APP_WALLETCONNECT_BRIDGE_URL=https://bridge.walletconnect.org
REACT_APP_NOTIFICATIONS_API_URL=http://localhost:3001
diff --git a/src/bootstrap/app-router.tsx b/src/bootstrap/app-router.tsx
index 90da8310..6cae4104 100644
--- a/src/bootstrap/app-router.tsx
+++ b/src/bootstrap/app-router.tsx
@@ -67,7 +67,7 @@ const AppRouter = () => {
if (Object.entries(connectors).length === 0) return
- if (isUnsupported && error) {
+ if (isUnsupported && error)
return (
{
}
/>
)
- } else if (!networkId || !pathResolved) return
+ else if (!networkId || !pathResolved) return
else if (invalidTcrAddr || !client) return
return (
From c3d3e2d46c016aeb2a77bd30f134eb4bfac58101 Mon Sep 17 00:00:00 2001
From: Green <40367733+greenlucid@users.noreply.github.com>
Date: Tue, 20 Sep 2022 15:02:22 +0200
Subject: [PATCH 3/4] fix: support goerli
---
.env.example | 2 +-
src/config/connectors.js | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/.env.example b/.env.example
index 888e00e4..70e3d67b 100644
--- a/.env.example
+++ b/.env.example
@@ -4,7 +4,7 @@ REACT_APP_FRAME_SITE_URL=https://frame.sh/
REACT_APP_METAMASK_SITE_URL=https://metamask.io
REACT_APP_TRUST_SITE_URL=https://trustwallet.com
REACT_APP_DEFAULT_NETWORK=1
-REACT_APP_DEFAULT_TCR_ADDRESSES={"42":"0x6e94b7b0340f25C3D2BfE59aeB688f489aD7c1e0","1":"0xba0304273a54dfec1fc7f4bccbf4b15519aecf15","4":"0x359cf635d3a7dc742346e6b965783e02594bc102","100":"0x2442D40B0aeCad0298C2724A97F2f1BbDF2C2615"}
+REACT_APP_DEFAULT_TCR_ADDRESSES={"42":"0x6e94b7b0340f25C3D2BfE59aeB688f489aD7c1e0","1":"0xba0304273a54dfec1fc7f4bccbf4b15519aecf15","4":"0x359cf635d3a7dc742346e6b965783e02594bc102","5":"0x445eceA26d5ec40E177e6Ca2734821D8430a9C1A","100":"0x2442D40B0aeCad0298C2724A97F2f1BbDF2C2615"}
REACT_APP_DEFAULT_EVIDENCE_DISPLAY_URI={"5":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","1":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","4":"/ipfs/QmVeW1foUUBXNbLteChoD5Sh84dq7Ur5hYrvFXzL6Yxire/index.html","42":"/ipfs/QmQYPgdeNFDViY5Yzx8vUCPSLdoVAaR8FaP6UbubbRRnBt/index.html","100":"/ipfs/QmNhJXtMrxeJu4fpchPruGrL93bm2M4VmDZ8pj4x6FqnHJ/index.html"}
REACT_APP_DEFAULT_EVIDENCE_DISPLAY_URI_CLASSIC={"1":"/ipfs/QmPJ5H5YF4fbSxA5j53CcmZAhGywxKPPiiWvJM7Zp8Zx9T/index.html"}
REACT_APP_GTCRVIEW_ADDRESSES={"5":"0xc0DEc3faBaEC835aC77F1dE683Ce978677fd2217","42":"0xe6da64f5bf3e2e373405b36a7add7182ab49c9d9","1":"0xe75a12f40da77d285c08a44f499e597bc5085658","4":"0x31e8d06b5fc3856cc93f4172d335626c680af1a7","100":"0x27BC296DC0b8a6c3cD39326aE9EC14604e96f7BF"}
diff --git a/src/config/connectors.js b/src/config/connectors.js
index 7f4a0006..c1f46896 100644
--- a/src/config/connectors.js
+++ b/src/config/connectors.js
@@ -55,7 +55,12 @@ if (fortmaticApiKey)
if (window.ethereum)
connectors.Injected = new InjectedConnector({
- supportedNetworks: [NETWORK.MAINNET, NETWORK.KOVAN, NETWORK.XDAI]
+ supportedNetworks: [
+ NETWORK.MAINNET,
+ NETWORK.KOVAN,
+ NETWORK.XDAI,
+ NETWORK.GOERLI
+ ]
})
export default connectors
From 1a540f351b2624b59356eed1f0e144dd61329344 Mon Sep 17 00:00:00 2001
From: Green <40367733+greenlucid@users.noreply.github.com>
Date: Tue, 20 Sep 2022 18:52:38 +0200
Subject: [PATCH 4/4] chore(netlify): goerli
---
.env.example | 4 ++--
netlify.toml | 32 +++++++++++++++++---------------
2 files changed, 19 insertions(+), 17 deletions(-)
diff --git a/.env.example b/.env.example
index 70e3d67b..98468db4 100644
--- a/.env.example
+++ b/.env.example
@@ -16,9 +16,10 @@ REACT_APP_LGTCR_FACTORY_ADDRESSES={"5":"0x55A3d9Bd99F286F1817CAFAAB124ddDDFCb0F3
REACT_APP_DEFAULT_GOVERNOR={"5":{"address":"0xd74AB183e2B793A68cB3e647D8f4Df60936B59cA","label":"Goerli Kleros Governor"},"1":{"address":"0x3a7edc1eb16cb454e4964ec51642f7d7b35b5292","label":"Kleros Governor"},"4":{"label":"This is an EOA Governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"},"42":{"address":"0x5A63D4fe53BC754af645bC1C6879698C50563920","label":"Kovan Kleros Governor"},"100":{"label":"This is an EOA governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"}}
REACT_APP_DEFAULT_ARBITRATOR={"1":{"label":"Kleros","address":"0x988b3A538b618C7A603e1c11Ab82Cd16dbE28069"},"4":{"label":"Kleros","address":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70"},"5":{"label":"Kleros","address":"0x1128eD55ab2d796fa92D2F8E1f336d745354a77A"},"42":{"label":"Kleros","address":"0x60B2AbfDfaD9c0873242f59f2A8c32A3Cc682f80"},"100":{"label":"Kleros","address":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002"}}
REACT_APP_DEFAULT_ARBITRATOR_EXTRA_DATA={"1":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"4":{"label":"Not used","data":"0x00"},"5":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"},"42":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"100":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003"}}
+REACT_APP_KLEROS_ADDRESSES={"5":{"arbitrator":"0x1128eD55ab2d796fa92D2F8E1f336d745354a77A","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"1":{"arbitrator":"0x988b3a538b618c7a603e1c11ab82cd16dbe28069","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"4":{"arbitrator":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70","policy":"0xCd444af85127392cB84b8583a82e6aE6230Ec0b9","uiURL":"https://court.kleros.io/cases/:disputeID"},"42":{"arbitrator":"0x60b2abfdfad9c0873242f59f2a8c32a3cc682f80","policy":"0xfc53d1d6ddc2c6cdd403cb7dbf0f26140d82e12d","uiURL":"https://court.kleros.io/cases/:disputeID"},"100":{"arbitrator":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002","policy":"0x9d494768936b6bDaabc46733b8D53A937A6c6D7e","uiURL":"https://court.kleros.io/cases/:disputeID"}}
REACT_APP_TX_BATCHER_ADDRESSES={"5":"0x394E870A068E9C623aC6Bc51d53cc4a040420e8e","1":"0x82458d1c812d7c930bb3229c9e159cbabd9aa8cb","42":"0x741A4dCaD4f72B83bE9103a383911d78362611cf","4":"0x5a64dd89b5a587ec7750a129cd3a7b5cbdfbab5d","100":"0xD7572AD1523F3f116258b8d9dDeBA1d5e76235ac"}
-REACT_APP_REJECT_ALL_POLICY_URI="/ipfs/QmZ7RVU7re1g8nXDbAFMHV99pyie3dn4cY7Ga2X4h8mDpV/reject-all-policy.pdf"
REACT_APP_SUBGRAPH_URL={"1":"https://api.thegraph.com/subgraphs/name/kleros/curate","5":"https://api.thegraph.com/subgraphs/name/greenlucid/curate-goerli","42":"https://api.thegraph.com/subgraphs/name/eccentricexit/light-curate-kovan-ii","100":"https://api.thegraph.com/subgraphs/name/eccentricexit/curate-xdai-ii"}
+REACT_APP_REJECT_ALL_POLICY_URI="/ipfs/QmZ7RVU7re1g8nXDbAFMHV99pyie3dn4cY7Ga2X4h8mDpV/reject-all-policy.pdf"
# Twitter client
REACT_APP_BEARER_TOKEN=
@@ -30,7 +31,6 @@ REACT_APP_CORS_PROXY_URL=https://curate-cors.herokuapp.com
# All fields below this line are optional -------------
# If the user selects one of these addresses as the arbitrator on the factory, we can hide the arbitrator extra data field and display user friendly fields: Number of Jurors, Court.
-REACT_APP_KLEROS_ADDRESSES={"5":{"arbitrator":"0x1128eD55ab2d796fa92D2F8E1f336d745354a77A","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"1":{"arbitrator":"0x988b3a538b618c7a603e1c11ab82cd16dbe28069","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"4":{"arbitrator":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70","policy":"0xCd444af85127392cB84b8583a82e6aE6230Ec0b9","uiURL":"https://court.kleros.io/cases/:disputeID"},"42":{"arbitrator":"0x60b2abfdfad9c0873242f59f2a8c32a3cc682f80","policy":"0xfc53d1d6ddc2c6cdd403cb7dbf0f26140d82e12d","uiURL":"https://court.kleros.io/cases/:disputeID"},"100":{"arbitrator":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002","policy":"0x9d494768936b6bDaabc46733b8D53A937A6c6D7e","uiURL":"https://court.kleros.io/cases/:disputeID"}}
REACT_APP_WALLETCONNECT_BRIDGE_URL=https://bridge.walletconnect.org
REACT_APP_NOTIFICATIONS_API_URL=http://localhost:3001
diff --git a/netlify.toml b/netlify.toml
index 840b2b95..8632e9c1 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -7,26 +7,28 @@
REACT_APP_IPFS_GATEWAY="https://ipfs.kleros.io"
REACT_APP_HOSTED_GRAPH_IPFS_ENDPOINT="https://api.thegraph.com/ipfs"
REACT_APP_DEFAULT_NETWORK="1"
- REACT_APP_DEFAULT_TCR_ADDRESSES='{"42":"0x6e94b7b0340f25C3D2BfE59aeB688f489aD7c1e0","1":"0xba0304273a54dfec1fc7f4bccbf4b15519aecf15","4":"0x359cf635d3a7dc742346e6b965783e02594bc102","100":"0x2442D40B0aeCad0298C2724A97F2f1BbDF2C2615"}'
- REACT_APP_DEFAULT_EVIDENCE_DISPLAY_URI='{"1":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","4":"/ipfs/QmVeW1foUUBXNbLteChoD5Sh84dq7Ur5hYrvFXzL6Yxire/index.html","42":"/ipfs/QmQYPgdeNFDViY5Yzx8vUCPSLdoVAaR8FaP6UbubbRRnBt/index.html","100":"/ipfs/QmNhJXtMrxeJu4fpchPruGrL93bm2M4VmDZ8pj4x6FqnHJ/index.html"}'
+ REACT_APP_DEFAULT_TCR_ADDRESSES='{"42":"0x6e94b7b0340f25C3D2BfE59aeB688f489aD7c1e0","1":"0xba0304273a54dfec1fc7f4bccbf4b15519aecf15","4":"0x359cf635d3a7dc742346e6b965783e02594bc102","5":"0x445eceA26d5ec40E177e6Ca2734821D8430a9C1A","100":"0x2442D40B0aeCad0298C2724A97F2f1BbDF2C2615"}'
+ REACT_APP_DEFAULT_EVIDENCE_DISPLAY_URI='{"5":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","1":"/ipfs/QmQjJio59WkrQDzPC5kSP3EiGaqrWxjGfkvhmD2mWwm41M/index.html","4":"/ipfs/QmVeW1foUUBXNbLteChoD5Sh84dq7Ur5hYrvFXzL6Yxire/index.html","42":"/ipfs/QmQYPgdeNFDViY5Yzx8vUCPSLdoVAaR8FaP6UbubbRRnBt/index.html","100":"/ipfs/QmNhJXtMrxeJu4fpchPruGrL93bm2M4VmDZ8pj4x6FqnHJ/index.html"}'
REACT_APP_DEFAULT_EVIDENCE_DISPLAY_URI_CLASSIC='{"1":"/ipfs/QmPJ5H5YF4fbSxA5j53CcmZAhGywxKPPiiWvJM7Zp8Zx9T/index.html"}'
- REACT_APP_GTCRVIEW_ADDRESSES='{"42":"0xe6da64f5bf3e2e373405b36a7add7182ab49c9d9", "1": "0xe75a12f40da77d285c08a44f499e597bc5085658", "4": "0x31e8d06b5fc3856cc93f4172d335626c680af1a7", "100": "0x27BC296DC0b8a6c3cD39326aE9EC14604e96f7BF"}'
- REACT_APP_LGTCRVIEW_ADDRESSES='{"42":"0x60631cf0bbBEFE7FdEfFE51F00Faa240b4349Fee","100":"0xB32e38B08FcC7b7610490f764b0F9bFd754dCE53","4":"0x8d52e9ddf8a423bad2233ea1c9d6d23984971b24","1":"0xe82a69e939e1aB6Dc1868262cfe444F70098cCC8"}'
- REACT_APP_BATCH_WITHDRAW_ADDRESSES='{"42":"0xA32942798112e561d4d3ffc62c552bb0E9651b66","1":"0x38aa214dc986d0bab53e5861071f3d5a56066b4d","4": "0x84f33254f4f6f55c65f9e1b34d6d13ea851d8540"}'
- REACT_APP_LIGHT_BATCH_WITHDRAW_ADDRESSES='{"42":"0x13c5E321cdF37e3736470bbC6E8DD95015D7B9E3","4":"0x0bf2E341247d2d6402ba7905B4988Dd135392cdD","100":"0x36B00c87553330E4351ED0CB287ed3917c12a197","1":"0x5C6363cFA9462Ae11e22d2A5A0eb15dbB8719E4A"}'
- REACT_APP_FACTORY_ADDRESSES='{"42":"0x4296b39059b8591d4f22a0fc4ee49508279b8fc6","1":"0xe9dd523600b74b8ef0af164687079a6c437f9cd5","4": "0x6cc238531c535e91f0621a172c3a07da93b299b3", "100": "0x794Cee5a6e1501b633eC13b8c1e327d9860FE039"}'
- REACT_APP_LGTCR_FACTORY_ADDRESSES='{"42":"0x74A69142027357B605302925D7f5c01362627566","4":"0xF6E81D43B4c832A70CAaadB8A7B887c85d21BdA9","100":"0x08e58Bc26CFB0d346bABD253A1799866F269805a","1":"0xb9dDC813AcAF3fD7aBC4C16735A09Bc1C0EE0054"}'
- REACT_APP_DEFAULT_GOVERNOR='{"1":{"address":"0x3a7edc1eb16cb454e4964ec51642f7d7b35b5292","label":"Kleros Governor"},"4":{"label":"This is an EOA Governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"},"42":{"address":"0x5A63D4fe53BC754af645bC1C6879698C50563920","label":"Kovan Kleros Governor"},"100":{"label":"This is an EOA governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"}}'
- REACT_APP_DEFAULT_ARBITRATOR='{"1":{"label":"Kleros","address":"0x988b3A538b618C7A603e1c11Ab82Cd16dbE28069"},"4":{"label":"Kleros","address":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70"},"42":{"label":"Kleros","address":"0x60B2AbfDfaD9c0873242f59f2A8c32A3Cc682f80"},"100":{"label":"Kleros","address":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002"}}'
- REACT_APP_DEFAULT_ARBITRATOR_EXTRA_DATA='{"1":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"},"4":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"},"42":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"},"100":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003"}}'
- REACT_APP_KLEROS_ADDRESSES='{"1":{"arbitrator":"0x988b3a538b618c7a603e1c11ab82cd16dbe28069","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"4":{"arbitrator":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70","policy":"0xCd444af85127392cB84b8583a82e6aE6230Ec0b9","uiURL":"https://court.kleros.io/cases/:disputeID"},"42":{"arbitrator":"0x60b2abfdfad9c0873242f59f2a8c32a3cc682f80","policy":"0xfc53d1d6ddc2c6cdd403cb7dbf0f26140d82e12d","uiURL":"https://court.kleros.io/cases/:disputeID"},"100":{"arbitrator":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002","policy":"0x9d494768936b6bDaabc46733b8D53A937A6c6D7e","uiURL":"https://court.kleros.io/cases/:disputeID"}}'
+
+ REACT_APP_GTCRVIEW_ADDRESSES='{"5":"0xc0DEc3faBaEC835aC77F1dE683Ce978677fd2217","42":"0xe6da64f5bf3e2e373405b36a7add7182ab49c9d9","1":"0xe75a12f40da77d285c08a44f499e597bc5085658","4":"0x31e8d06b5fc3856cc93f4172d335626c680af1a7","100":"0x27BC296DC0b8a6c3cD39326aE9EC14604e96f7BF"}'
+ REACT_APP_LGTCRVIEW_ADDRESSES='{"5":"0x9738E402fEb8B306cE7C707Ec4ad6D66595A5EF6","42":"0x60631cf0bbBEFE7FdEfFE51F00Faa240b4349Fee","100":"0xB32e38B08FcC7b7610490f764b0F9bFd754dCE53","4":"0x59b065db3423fd981b56c2bc1ae8e16b0a8b31a4","1":"0xe82a69e939e1aB6Dc1868262cfe444F70098cCC8"}'
+ REACT_APP_BATCH_WITHDRAW_ADDRESSES='{"5":"0x2d4d822CE88947F8C2b250ADcd684ea52dAFEaa7","42":"0xA32942798112e561d4d3ffc62c552bb0E9651b66","1":"0x38aa214dc986d0bab53e5861071f3d5a56066b4d","4":"0x84f33254f4f6f55c65f9e1b34d6d13ea851d8540"}'
+ REACT_APP_LIGHT_BATCH_WITHDRAW_ADDRESSES='{"5":"0xBA4F30b3ae9d923fC5f82AE7d965c619F92DFffA","42":"0x13c5E321cdF37e3736470bbC6E8DD95015D7B9E3","4":"0x0bf2E341247d2d6402ba7905B4988Dd135392cdD","1":"0x5C6363cFA9462Ae11e22d2A5A0eb15dbB8719E4A","100":"0x36B00c87553330E4351ED0CB287ed3917c12a197"}'
+ REACT_APP_FACTORY_ADDRESSES='{"5":"0x9AaD77bAb5F18165F9Ca81dA9c3D392D9E382c23","42":"0x4296b39059b8591d4f22a0fc4ee49508279b8fc6","1":"0xe9dd523600b74b8ef0af164687079a6c437f9cd5","4":"0x6cc238531c535e91f0621a172c3a07da93b299b3","100":"0x794Cee5a6e1501b633eC13b8c1e327d9860FE039"}'
+ REACT_APP_LGTCR_FACTORY_ADDRESSES='{"5":"0x55A3d9Bd99F286F1817CAFAAB124ddDDFCb0F314","42":"0x74A69142027357B605302925D7f5c01362627566","4":"0xcd104ac86cebe541eb8285610002a4e28fe58735","100":"0x08e58Bc26CFB0d346bABD253A1799866F269805a","1":"0xb9dDC813AcAF3fD7aBC4C16735A09Bc1C0EE0054"}'
+ REACT_APP_DEFAULT_GOVERNOR='{"5":{"address":"0xd74AB183e2B793A68cB3e647D8f4Df60936B59cA","label":"Goerli Kleros Governor"},"1":{"address":"0x3a7edc1eb16cb454e4964ec51642f7d7b35b5292","label":"Kleros Governor"},"4":{"label":"This is an EOA Governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"},"42":{"address":"0x5A63D4fe53BC754af645bC1C6879698C50563920","label":"Kovan Kleros Governor"},"100":{"label":"This is an EOA governor (you probably want to use your own address)","address":"0xdC8C1a8CB38F27C188a43CE0eBBC8e42e393D0d3"}}'
+ REACT_APP_DEFAULT_ARBITRATOR='{"1":{"label":"Kleros","address":"0x988b3A538b618C7A603e1c11Ab82Cd16dbE28069"},"4":{"label":"Kleros","address":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70"},"5":{"label":"Kleros","address":"0x1128eD55ab2d796fa92D2F8E1f336d745354a77A"},"42":{"label":"Kleros","address":"0x60B2AbfDfaD9c0873242f59f2A8c32A3Cc682f80"},"100":{"label":"Kleros","address":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002"}}'
+ REACT_APP_DEFAULT_ARBITRATOR_EXTRA_DATA='{"1":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"4":{"label":"Not used","data":"0x00"},"5":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"},"42":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003"},"100":{"label":"This defines to which court and how many jurors to use for the initial dispute.","data":"0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000003"}}'
+ REACT_APP_KLEROS_ADDRESSES='{"5":{"arbitrator":"0x1128eD55ab2d796fa92D2F8E1f336d745354a77A","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"1":{"arbitrator":"0x988b3a538b618c7a603e1c11ab82cd16dbe28069","policy":"0xCf1f07713d5193FaE5c1653C9f61953D048BECe4","uiURL":"https://court.kleros.io/cases/:disputeID"},"4":{"arbitrator":"0x6e376E049BD375b53d31AFDc21415AeD360C1E70","policy":"0xCd444af85127392cB84b8583a82e6aE6230Ec0b9","uiURL":"https://court.kleros.io/cases/:disputeID"},"42":{"arbitrator":"0x60b2abfdfad9c0873242f59f2a8c32a3cc682f80","policy":"0xfc53d1d6ddc2c6cdd403cb7dbf0f26140d82e12d","uiURL":"https://court.kleros.io/cases/:disputeID"},"100":{"arbitrator":"0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002","policy":"0x9d494768936b6bDaabc46733b8D53A937A6c6D7e","uiURL":"https://court.kleros.io/cases/:disputeID"}}'
+ REACT_APP_TX_BATCHER_ADDRESSES='{"5":"0x394E870A068E9C623aC6Bc51d53cc4a040420e8e","1":"0x82458d1c812d7c930bb3229c9e159cbabd9aa8cb","42":"0x741A4dCaD4f72B83bE9103a383911d78362611cf","4":"0x5a64dd89b5a587ec7750a129cd3a7b5cbdfbab5d","100":"0xD7572AD1523F3f116258b8d9dDeBA1d5e76235ac"}'
+ REACT_APP_SUBGRAPH_URL='{"1":"https://api.thegraph.com/subgraphs/name/kleros/curate","5":"https://api.thegraph.com/subgraphs/name/greenlucid/curate-goerli","42":"https://api.thegraph.com/subgraphs/name/eccentricexit/light-curate-kovan-ii","100":"https://api.thegraph.com/subgraphs/name/eccentricexit/curate-xdai-ii"}'
+
+ REACT_APP_REJECT_ALL_POLICY_URI='/ipfs/QmZ7RVU7re1g8nXDbAFMHV99pyie3dn4cY7Ga2X4h8mDpV/reject-all-policy.pdf'
REACT_APP_METAMASK_SITE_URL='https://metamask.io'
REACT_APP_TRUST_SITE_URL='https://trustwallet.com'
REACT_APP_WALLETCONNECT_BRIDGE_URL='https://bridge.walletconnect.org'
REACT_APP_INSTRUCTION_VIDEO='https://www.youtube.com/embed/DKPVWzhh8Y8'
- REACT_APP_TX_BATCHER_ADDRESSES='{"1":"0x82458d1c812d7c930bb3229c9e159cbabd9aa8cb","42":"0x741A4dCaD4f72B83bE9103a383911d78362611cf","4":"0x5a64dd89b5a587ec7750a129cd3a7b5cbdfbab5d","100":"0xD7572AD1523F3f116258b8d9dDeBA1d5e76235ac"}'
- REACT_APP_REJECT_ALL_POLICY_URI='/ipfs/QmZ7RVU7re1g8nXDbAFMHV99pyie3dn4cY7Ga2X4h8mDpV/reject-all-policy.pdf'
- REACT_APP_SUBGRAPH_URL='{"1":"https://api.thegraph.com/subgraphs/name/kleros/curate","42":"https://api.thegraph.com/subgraphs/name/eccentricexit/light-curate-kovan-ii","100":"https://api.thegraph.com/subgraphs/name/eccentricexit/curate-xdai-ii"}'
[[redirects]]
from = "/*"