Add protocol folders which are supported by server

This commit is contained in:
sudheer 2021-06-16 19:53:57 +05:30
parent 1fdd599059
commit 1757badbe3
No known key found for this signature in database
GPG Key ID: ADFACBFA5A788D12
50 changed files with 267 additions and 11 deletions

View File

@ -0,0 +1 @@
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initialize","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initialize","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}]

View File

View File

33
protocols/aave/index.json Normal file
View File

@ -0,0 +1,33 @@
{
"cname": "aave",
"name": "Aave",
"description": "",
"path": "aave",
"previousPaths": [],
"folder": "aave",
"type": "others",
"suffix": "AAVE",
"coinGeckoPriceString": "",
"tokenContractAddress": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
"isEnabled": false,
"hasOnchain": false,
"claim": {
"isClaimed": false,
"claimer": "",
"signature": ""
},
"isHybrid": false,
"hasDelegation": false,
"snapshotSpaceName": "aave",
"invalidSnapshots": [],
"branding": {
"primaryColor": "",
"accentColor": ""
},
"discourseForum": {
"url": "",
"categoryId": ""
},
"safeAddress": null,
"treasuryAddresses": ["0x25F2226B597E8F9514B3F68F00f494cF4f286491"]
}

0
protocols/aave/logo.png Normal file
View File

View File

File diff suppressed because one or more lines are too long

View File

0
protocols/fei/header.png Normal file
View File

32
protocols/fei/index.json Normal file
View File

@ -0,0 +1,32 @@
{
"cname": "fei",
"name": "Fei Money",
"description": "",
"path": "fei",
"previousPaths": [],
"folder": "fei",
"type": "compoundish",
"suffix": "FEI",
"coinGeckoPriceString": "",
"tokenContractAddress": "0x956F47F50A910163D8BF957Cf5846D573E7f87CA",
"isEnabled": false,
"hasOnchain": false,
"claim": {
"isClaimed": false,
"claimer": "",
"signature": ""
},
"isHybrid": false,
"hasDelegation": false,
"snapshotSpaceName": "fei",
"invalidSnapshots": [],
"branding": {
"primaryColor": "",
"accentColor": ""
},
"discourseForum": {
"url": "",
"categoryId": ""
},
"safeAddress": null
}

0
protocols/fei/logo.png Normal file
View File

View File

File diff suppressed because one or more lines are too long

View File

View File

View File

@ -0,0 +1,32 @@
{
"cname": "gitcoin",
"name": "",
"description": "",
"path": "gitcoin",
"previousPaths": [],
"folder": "gitcoin",
"type": "compoundish",
"suffix": "GTC",
"coinGeckoPriceString": "",
"tokenContractAddress": "0xde30da39c46104798bb5aa3fe8b9e0e1f348163f",
"isEnabled": false,
"hasOnchain": false,
"claim": {
"isClaimed": false,
"claimer": "",
"signature": ""
},
"isHybrid": false,
"hasDelegation": false,
"snapshotSpaceName": "gitcoin",
"invalidSnapshots": [],
"branding": {
"primaryColor": "",
"accentColor": ""
},
"discourseForum": {
"url": "",
"categoryId": ""
},
"safeAddress": null
}

View File

View File

File diff suppressed because one or more lines are too long

View File

View File

View File

@ -0,0 +1,32 @@
{
"cname": "idlefinance",
"name": "Idle Finance",
"description": "",
"path": "idlefinance",
"previousPaths": [],
"folder": "idlefinance",
"type": "compoundish",
"suffix": "IDLE",
"coinGeckoPriceString": "",
"tokenContractAddress": "0x875773784Af8135eA0ef43b5a374AaD105c5D39e",
"isEnabled": false,
"hasOnchain": false,
"claim": {
"isClaimed": false,
"claimer": "",
"signature": ""
},
"isHybrid": false,
"hasDelegation": false,
"snapshotSpaceName": "idlefinance",
"invalidSnapshots": [],
"branding": {
"primaryColor": "",
"accentColor": ""
},
"discourseForum": {
"url": "",
"categoryId": ""
},
"safeAddress": null
}

View File

View File

File diff suppressed because one or more lines are too long

View File

View File

View File

@ -0,0 +1,32 @@
{
"cname": "indexed",
"name": "Indexed",
"description": "",
"path": "indexed",
"previousPaths": [],
"folder": "indexed",
"type": "compoundish",
"suffix": "NDX",
"coinGeckoPriceString": "",
"tokenContractAddress": "0x86772b1409b61c639EaAc9Ba0AcfBb6E238e5F83",
"isEnabled": false,
"hasOnchain": false,
"claim": {
"isClaimed": false,
"claimer": "",
"signature": ""
},
"isHybrid": false,
"hasDelegation": false,
"snapshotSpaceName": "indexed",
"invalidSnapshots": [],
"branding": {
"primaryColor": "",
"accentColor": ""
},
"discourseForum": {
"url": "",
"categoryId": ""
},
"safeAddress": null
}

View File

View File

File diff suppressed because one or more lines are too long

View File

View File

View File

@ -0,0 +1,32 @@
{
"cname": "inverse",
"name": "Inverse Finance",
"description": "",
"path": "inverse",
"previousPaths": [],
"folder": "inverse",
"type": "compoundish",
"suffix": "INV",
"coinGeckoPriceString": "",
"tokenContractAddress": "0x41d5d79431a913c4ae7d69a668ecdfe5ff9dfb68",
"isEnabled": false,
"hasOnchain": false,
"claim": {
"isClaimed": false,
"claimer": "",
"signature": ""
},
"isHybrid": false,
"hasDelegation": false,
"snapshotSpaceName": "inverse",
"invalidSnapshots": [],
"branding": {
"primaryColor": "",
"accentColor": ""
},
"discourseForum": {
"url": "",
"categoryId": ""
},
"safeAddress": null
}

View File

View File

File diff suppressed because one or more lines are too long

View File

View File

View File

@ -0,0 +1,33 @@
{
"cname": "pooltogether",
"name": "poolTogether",
"description": "",
"path": "pooltogether",
"previousPaths": [],
"folder": "pooltogether",
"type": "compoundish",
"suffix": "POOL",
"coinGeckoPriceString": "",
"tokenContractAddress": "0x0cec1a9154ff802e7934fc916ed7ca50bde6844e",
"isEnabled": false,
"hasOnchain": false,
"claim": {
"isClaimed": false,
"claimer": "",
"signature": ""
},
"isHybrid": false,
"hasDelegation": false,
"snapshotSpaceName": "pooltogether",
"invalidSnapshots": [],
"branding": {
"primaryColor": "",
"accentColor": ""
},
"discourseForum": {
"url": "",
"categoryId": ""
},
"safeAddress": null,
"treasuryAddresses": ["0x42cd8312d2bce04277dd5161832460e95b24262e", "0x21950e281bde1714ffd1062ed17c56d4d8de2359"]
}

View File

View File

File diff suppressed because one or more lines are too long

View File

View File

View File

@ -0,0 +1,32 @@
{
"cname": "radicle",
"name": "Radicle",
"description": "",
"path": "radicle",
"previousPaths": [],
"folder": "radicle",
"type": "compoundish",
"suffix": "",
"coinGeckoPriceString": "",
"tokenContractAddress": "0x31c8eacbffdd875c74b94b077895bd78cf1e64a3RAD",
"isEnabled": false,
"hasOnchain": false,
"claim": {
"isClaimed": false,
"claimer": "",
"signature": ""
},
"isHybrid": false,
"hasDelegation": false,
"snapshotSpaceName": "radicle",
"invalidSnapshots": [],
"branding": {
"primaryColor": "",
"accentColor": ""
},
"discourseForum": {
"url": "",
"categoryId": ""
},
"safeAddress": null
}

View File

View File

View File

@ -1,9 +1,4 @@
{
"aave": {
"name": "Aave",
"cname": "aave",
"treasuryAddresses": ["0x25F2226B597E8F9514B3F68F00f494cF4f286491"]
},
"sushi": {
"name": "SushiSwap",
"cname": "sushi",
@ -68,10 +63,5 @@
"name": "mStable",
"cname": "mStable",
"treasuryAddresses": ["0x3dd46846eed8D147841AE162C8425c08BD8E1b41"]
},
"pooltogether": {
"name": "PoolTogether",
"cname": "pooltogether",
"treasuryAddresses": ["0x42cd8312d2bce04277dd5161832460e95b24262e", "0x21950e281bde1714ffd1062ed17c56d4d8de2359"]
}
}

View File

@ -7,7 +7,7 @@ export const ProtocolIo = t.type({
path: t.string,
previousPaths: t.union([t.array(t.string), t.undefined]),
folder: t.string,
type: t.union([t.literal("snapshot"), t.literal("compoundish")]),
type: t.union([t.literal("snapshot"), t.literal("compoundish"), t.literal("others")]),
suffix: t.string,
claim: t.union([
t.partial({