diff --git a/protocols/compound/index.json b/protocols/compound/index.json index 69d3d7e..651d807 100644 --- a/protocols/compound/index.json +++ b/protocols/compound/index.json @@ -23,5 +23,6 @@ "claimer": "", "signature": "" }, - "treasuryAddresses": ["0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b", "0x2775b1c75658Be0F640272CCb8c72ac986009e38"] + "treasuryAddresses": ["0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b", "0x2775b1c75658Be0F640272CCb8c72ac986009e38"], + "disableTreasuryNav": true } diff --git a/protocols/fei/index.json b/protocols/fei/index.json index d89f03c..fb87e26 100644 --- a/protocols/fei/index.json +++ b/protocols/fei/index.json @@ -7,7 +7,7 @@ "folder": "fei", "type": "compoundish", "suffix": "FEI", - "coinGeckoPriceString": "", + "coinGeckoPriceString": "fei-protocol", "tokenContractAddress": "0x956F47F50A910163D8BF957Cf5846D573E7f87CA", "isEnabled": false, "hasOnchain": false, @@ -28,5 +28,6 @@ "url": "", "categoryId": "" }, - "safeAddress": null + "safeAddress": null, + "disableTreasuryNav": true } \ No newline at end of file diff --git a/protocols/gitcoin/index.json b/protocols/gitcoin/index.json index 2ed14e6..08b8c3f 100644 --- a/protocols/gitcoin/index.json +++ b/protocols/gitcoin/index.json @@ -7,7 +7,7 @@ "folder": "gitcoin", "type": "compoundish", "suffix": "GTC", - "coinGeckoPriceString": "", + "coinGeckoPriceString": "gitcoin", "tokenContractAddress": "0xde30da39c46104798bb5aa3fe8b9e0e1f348163f", "isEnabled": false, "hasOnchain": false, @@ -28,5 +28,6 @@ "url": "", "categoryId": "" }, - "safeAddress": null + "safeAddress": null, + "disableTreasuryNav": true } diff --git a/protocols/idlefinance/index.json b/protocols/idlefinance/index.json index b376d35..d8c722f 100644 --- a/protocols/idlefinance/index.json +++ b/protocols/idlefinance/index.json @@ -28,5 +28,6 @@ "url": "", "categoryId": "" }, - "safeAddress": null + "safeAddress": null, + "disableTreasuryNav": true } \ No newline at end of file diff --git a/protocols/indexed/index.json b/protocols/indexed/index.json index 2d10f4b..6534b7a 100644 --- a/protocols/indexed/index.json +++ b/protocols/indexed/index.json @@ -28,5 +28,6 @@ "url": "", "categoryId": "" }, - "safeAddress": null + "safeAddress": null, + "disableTreasuryNav": true } \ No newline at end of file diff --git a/protocols/inverse/index.json b/protocols/inverse/index.json index 795bf99..ac42438 100644 --- a/protocols/inverse/index.json +++ b/protocols/inverse/index.json @@ -28,5 +28,6 @@ "url": "", "categoryId": "" }, - "safeAddress": null + "safeAddress": null, + "disableTreasuryNav": true } \ No newline at end of file diff --git a/protocols/pooltogether/index.json b/protocols/pooltogether/index.json index fe208f9..5ac73ef 100644 --- a/protocols/pooltogether/index.json +++ b/protocols/pooltogether/index.json @@ -29,5 +29,6 @@ "categoryId": "" }, "safeAddress": null, - "treasuryAddresses": ["0x42cd8312d2bce04277dd5161832460e95b24262e", "0x21950e281bde1714ffd1062ed17c56d4d8de2359"] + "treasuryAddresses": ["0x42cd8312d2bce04277dd5161832460e95b24262e", "0x21950e281bde1714ffd1062ed17c56d4d8de2359"], + "disableTreasuryNav": true } \ No newline at end of file diff --git a/protocols/radicle/index.json b/protocols/radicle/index.json index a638646..da793d8 100644 --- a/protocols/radicle/index.json +++ b/protocols/radicle/index.json @@ -28,5 +28,6 @@ "url": "", "categoryId": "" }, - "safeAddress": null + "safeAddress": null, + "disableTreasuryNav": true } \ No newline at end of file diff --git a/protocols/uniswap/index.json b/protocols/uniswap/index.json index e240d0e..64794c0 100644 --- a/protocols/uniswap/index.json +++ b/protocols/uniswap/index.json @@ -31,5 +31,6 @@ "branding": {}, "discourseForum": {}, "safeAddress": null, - "treasuryAddresses": ["0x1a9c8182c09f50c8318d769245bea52c32be35bc", "0x4750c43867ef5f89869132eccf19b9b6c4286e1a"] + "treasuryAddresses": ["0x1a9c8182c09f50c8318d769245bea52c32be35bc", "0x4750c43867ef5f89869132eccf19b9b6c4286e1a"], + "disableTreasuryNav": true } diff --git a/scripts/add_new_protocol.sh b/scripts/add_new_protocol.sh index 6199b6a..b59aadb 100755 --- a/scripts/add_new_protocol.sh +++ b/scripts/add_new_protocol.sh @@ -51,7 +51,8 @@ printf '{ "url": "", "categoryId": "" }, - "safeAddress": null + "safeAddress": null, + "disableTreasuryNav": false }' >| ./protocols/$1/index.json fi diff --git a/types.ts b/types.ts index c0d51bb..ed91cd3 100644 --- a/types.ts +++ b/types.ts @@ -42,6 +42,7 @@ export const ProtocolIo = t.type({ ]), safeAddress: t.union([t.string, t.null]), treasuryAddresses: t.union([t.array(t.string), t.undefined]), + disableTreasuryNav: t.union([t.boolean, t.undefined]), }); export const ProtocolForScreeenerIo = t.type({