chore: consolidate protocol info and add validation tooling (#85)

This commit is contained in:
Zak Angelle 2021-04-13 12:47:41 -05:00 committed by GitHub
parent 7de51b04aa
commit f8545e7349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
185 changed files with 7244 additions and 429 deletions

16
.github/workflows/pr.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: validate protocol info
on:
pull_request
jobs:
validate-protocol-info:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install dependencies
run: yarn
- name: Validate
run: yarn validate

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
.DS_Store
node_modules
dist
# Remove some common IDE working directories
.idea

View File

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

View File

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

132
dist/index.js vendored
View File

@ -1,132 +0,0 @@
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
exports.protocolBranding = exports.protocols = void 0;
// supported protocols
exports.protocols = {
compound: {
name: "Compound",
path: "compound",
description: "Compound is a decentralized money market protocol to borrow and lend assets.",
suffix: "COMP",
folder: "compound",
},
uniswap: {
name: "Uniswap",
path: "uniswap",
description: "Uniswap is a decentralized protocol for automated liquidity provision on Ethereum.",
suffix: "UNI",
folder: "uniswap",
},
synthetix: {
name: "Synthetix",
path: "synthetix",
description: "Synthetix is a decentralised synthetic asset issuance protocol built on Ethereum.",
suffix: "SNX",
folder: "synthetix",
},
yearn: {
name: "Yearn",
path: "yearn",
description: "yEarn is an automated liquidity aggregator offering a number of yield farming opportunities.",
suffix: "YFI",
folder: "yearn",
},
powerpool: {
name: "Powerpool",
path: "powerpool",
description: "PowerPool is a cross-chain lending protocol for governance tokens.",
suffix: "CVP",
folder: "compound",
},
rarible: {
name: "Rarible",
path: "rarible",
description: "Rarible is the premiere NFT marketplace to mint, buy, and sell digital collectibles.",
suffix: "RARI",
folder: "rarible",
},
pooltogether: {
name: "PoolTogether",
path: "pooltogether",
description: "PoolTogether is a protocol enabling governance-managed, no-loss prize games on Ethereum.",
suffix: "PcDAI",
folder: "pooltogether",
},
"gnosis.eth": {
name: "Gnosis",
path: "gnosis.eth",
description: "Gnosis is an open-source, decentralized prediction market governed by the GnosisDAO.",
suffix: "GNO",
folder: "gnosis.eth",
},
defidollar: {
name: "DefiDollar DAO",
path: "defidollar",
description: "DUSD is a stablecoin controlled by a DAO using DeFi primitives to remain pegged to the Dollar.",
suffix: "DFD",
folder: "defidollar",
},
indexCoop: {
name: "Index",
path: "index",
description: "The Index Coop is an autonomous asset manager governed, maintained, and upgraded by INDEX token holders.",
suffix: "INDEX",
folder: "indexCoop",
},
rally: {
name: "Rally",
path: 'rally',
description: "Rallys is a decentralized network enabling creators to monetize and align themselves with their community.",
suffix: "RLY",
folder: 'rally'
},
siren: {
name: "Siren",
path: "siren",
description: "Siren is a distributed protocol for creating, trading, and redeeming fully-collateralized options contracts.",
suffix: "SI",
folder: "siren",
},
aave: {
name: "Aave",
path: "aave",
description: "Aave is an open source and non-custodial protocol enabling the creation of money markets.",
suffix: "LEND",
folder: "aave",
},
balancer: {
name: "Balancer",
path: "balancer",
description: "Balancer is a non-custodial portfolio manager, liquidity provider, and price sensor.",
suffix: "BAL",
folder: "balancer",
},
yamv2: {
name: "Yam",
path: "yamv2",
description: "Yam is an experiment in fair farming, governance, and elasticity controlled by the community.",
suffix: "YAM",
folder: "yamv2",
},
"yup.eth": {
name: "Yup",
path: "yup.eth",
description: "Your opinion matters. Curate the web. Earn & influence.",
suffix: "YUP",
folder: "yup.eth",
snapshotSpaceName: "yup.eth"
}
};
exports.protocolBranding = {
pooltogether: {
"--background-primary-nav": "#290b5a",
"--color-text-nav": "#e7e8eb",
"--background-switcher-active": "#341762",
},
defidollar: {
"--background-primary-nav": "#212529",
"--color-text-nav": "#e7e8eb",
"--background-switcher-active": "#5553e8",
},
};

5
index.d.ts vendored Normal file
View File

@ -0,0 +1,5 @@
import { Protocol } from "./types";
declare module "boardroomInfo" {
export = Protocol;
}

159
index.ts
View File

@ -1,159 +0,0 @@
// supported protocols
export const protocols = {
compound: {
name: "Compound",
path: "compound",
description:
"Compound is a decentralized money market protocol to borrow and lend assets.",
suffix: "COMP",
folder: "compound",
},
uniswap: {
name: "Uniswap",
path: "uniswap",
description:
"Uniswap is a decentralized protocol for automated liquidity provision on Ethereum.",
suffix: "UNI",
folder: "uniswap",
},
synthetix: {
name: "Synthetix",
path: "snxgov.eth",
description:
"Synthetix is a decentralised synthetic asset issuance protocol built on Ethereum.",
suffix: "SC-NFT",
folder: "synthetix",
safeAddress: "0x438679ECE13EDB95aDD18Ed02dDbf5e2418FF730",
},
yearn: {
name: "Yearn",
path: "yearn",
description:
"yEarn is an automated liquidity aggregator offering a number of yield farming opportunities.",
suffix: "YFI",
folder: "yearn",
},
powerpool: {
name: "Powerpool",
path: "powerpool",
description:
"PowerPool is a cross-chain lending protocol for governance tokens.",
suffix: "CVP",
folder: "compound",
},
rarible: {
name: "Rarible",
path: "rarible",
description:
"Rarible is the premiere NFT marketplace to mint, buy, and sell digital collectibles.",
suffix: "RARI",
folder: "rarible",
},
pooltogether: {
name: "PoolTogether",
path: "pooltogether",
description:
"PoolTogether is a protocol enabling governance-managed, no-loss prize games on Ethereum.",
suffix: "PcDAI",
folder: "pooltogether",
},
"gnosis.eth": {
name: "Gnosis",
path: "gnosis.eth",
description:
"GnosisDAO uses Gnosis products to transparently guide decisions on development, support, and governance of its token ecosystem.",
suffix: "GNO",
folder: "gnosis.eth",
},
defidollar: {
name: "DefiDollar DAO",
path: "defidolla.eth",
description:
"DUSD is a stablecoin controlled by a DAO using DeFi primitives to remain pegged to the Dollar.",
suffix: "DFD",
folder: "defidollar",
},
indexCoop: {
name: "Index",
path: "index",
description:
"The Index Coop is an autonomous asset manager governed, maintained, and upgraded by INDEX token holders.",
suffix: "INDEX",
folder: "indexCoop",
},
rally: {
name: "Rally",
path: 'rally',
description: "Rallys is a decentralized network enabling creators to monetize and align themselves with their community.",
suffix: "RLY",
folder: 'rally'
},
siren: {
name: "Siren",
path: "siren",
description:
"Siren is a distributed protocol for creating, trading, and redeeming fully-collateralized options contracts.",
suffix: "SI",
folder: "siren",
},
aave: {
name: "Aave",
path: "aave",
description:
"Aave is an open source and non-custodial protocol enabling the creation of money markets.",
suffix: "LEND",
folder: "aave",
},
balancer: {
name: "Balancer",
path: "balancer",
description: "Balancer is a non-custodial portfolio manager, liquidity provider, and price sensor.",
suffix: "BAL",
folder: "balancer",
},
yamv2: {
name: "Yam",
path: "yamv2",
description: "Yam is an experiment in fair farming, governance, and elasticity controlled by the community.",
suffix: "YAM",
folder: "yamv2",
},
"yup.eth": {
name: "Yup",
path: "yup.eth",
description: "Your opinion matters. Curate the web. Earn & influence.",
suffix: "YUP",
folder: "yup",
snapshotSpaceName: "yup.eth",
safeAddress: "0xbd5224f66D5ce49a8Afefc14a76248D158D14c6F",
},
"gov.dhedge.eth": {
name: "dHEDGE",
path: "gov.dhedge.eth",
description: "Non-custodial, decentralized asset management for synthetic assets on Ethereum",
suffix: "DHT",
folder: "dhedge",
snapshotSpaceName: "gov.dhedge.eth",
},
"compoundgrants.eth": {
name: "Compound Grants Program",
path: "compoundgrants.eth",
description: "The Compound Grants Program is a 4/7 multisig controlled committee that will deploy a maximum of $1mm per quarter and run for two quarters.",
suffix: "CGP",
folder: "compoundgrants",
snapshotSpaceName: "compoundgrants.eth"
}
};
export const protocolBranding = {
pooltogether: {
"--background-primary-nav": "#290b5a",
"--color-text-nav": "#e7e8eb",
"--background-switcher-active": "#341762",
},
defidollar: {
"--background-primary-nav": "#212529",
"--color-text-nav": "#e7e8eb",
"--background-switcher-active": "#5553e8",
},
};

BIN
indexCoop/.DS_Store vendored

Binary file not shown.

View File

@ -1,17 +1,24 @@
{
"name": "boardroomInfo",
"version": "1.0.0",
"description": "Testing",
"main": "index.ts",
"repository": "https://github.com/boardroom-inc/testRepo.git",
"name": "@boardroom/protocol-info",
"version": "2.0.1",
"description": "Project information which will be served to display on the Boardroom Governance Portal.",
"main": "dist/index.ts",
"repository": "https://github.com/boardroom-inc/protocol-Info.git",
"author": "sudheer <sudheer.105@gmail.com>",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-typescript": "^8.1.1",
"@types/mkdirp": "^1.0.1",
"@types/node": "^14.14.37",
"fp-ts": "^2.9.5",
"io-ts": "^2.2.16",
"io-ts-validator": "^0.0.5",
"mkdirp": "^1.0.4",
"ts-node": "^9.1.1",
"tslib": "^2.1.0",
"typescript": "^4.1.3"
},
"scripts": {
"build": "rollup -c"
"build": "ts-node ./scripts/build.ts",
"validate": "yarn build && ts-node ./scripts/validate.ts"
}
}

View File

@ -0,0 +1,755 @@
[
{
"inputs":[
{
"internalType":"address",
"name":"timelock_",
"type":"address"
},
{
"internalType":"address",
"name":"comp_",
"type":"address"
},
{
"internalType":"address",
"name":"guardian_",
"type":"address"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"constructor",
"signature":"constructor"
},
{
"anonymous":false,
"inputs":[
{
"indexed":false,
"internalType":"uint256",
"name":"id",
"type":"uint256"
}
],
"name":"ProposalCanceled",
"type":"event",
"signature":"0x789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c"
},
{
"anonymous":false,
"inputs":[
{
"indexed":false,
"internalType":"uint256",
"name":"id",
"type":"uint256"
},
{
"indexed":false,
"internalType":"address",
"name":"proposer",
"type":"address"
},
{
"indexed":false,
"internalType":"address[]",
"name":"targets",
"type":"address[]"
},
{
"indexed":false,
"internalType":"uint256[]",
"name":"values",
"type":"uint256[]"
},
{
"indexed":false,
"internalType":"string[]",
"name":"signatures",
"type":"string[]"
},
{
"indexed":false,
"internalType":"bytes[]",
"name":"calldatas",
"type":"bytes[]"
},
{
"indexed":false,
"internalType":"uint256",
"name":"startBlock",
"type":"uint256"
},
{
"indexed":false,
"internalType":"uint256",
"name":"endBlock",
"type":"uint256"
},
{
"indexed":false,
"internalType":"string",
"name":"description",
"type":"string"
}
],
"name":"ProposalCreated",
"type":"event",
"signature":"0x7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0"
},
{
"anonymous":false,
"inputs":[
{
"indexed":false,
"internalType":"uint256",
"name":"id",
"type":"uint256"
}
],
"name":"ProposalExecuted",
"type":"event",
"signature":"0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f"
},
{
"anonymous":false,
"inputs":[
{
"indexed":false,
"internalType":"uint256",
"name":"id",
"type":"uint256"
},
{
"indexed":false,
"internalType":"uint256",
"name":"eta",
"type":"uint256"
}
],
"name":"ProposalQueued",
"type":"event",
"signature":"0x9a2e42fd6722813d69113e7d0079d3d940171428df7373df9c7f7617cfda2892"
},
{
"anonymous":false,
"inputs":[
{
"indexed":false,
"internalType":"address",
"name":"voter",
"type":"address"
},
{
"indexed":false,
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
},
{
"indexed":false,
"internalType":"bool",
"name":"support",
"type":"bool"
},
{
"indexed":false,
"internalType":"uint256",
"name":"votes",
"type":"uint256"
}
],
"name":"VoteCast",
"type":"event",
"signature":"0x877856338e13f63d0c36822ff0ef736b80934cd90574a3a5bc9262c39d217c46"
},
{
"constant":true,
"inputs":[],
"name":"BALLOT_TYPEHASH",
"outputs":[
{
"internalType":"bytes32",
"name":"",
"type":"bytes32"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0xdeaaa7cc"
},
{
"constant":true,
"inputs":[],
"name":"DOMAIN_TYPEHASH",
"outputs":[
{
"internalType":"bytes32",
"name":"",
"type":"bytes32"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x20606b70"
},
{
"constant":false,
"inputs":[],
"name":"__abdicate",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x760fbc13"
},
{
"constant":false,
"inputs":[],
"name":"__acceptAdmin",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0xb9a61961"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"newPendingAdmin",
"type":"address"
},
{
"internalType":"uint256",
"name":"eta",
"type":"uint256"
}
],
"name":"__executeSetTimelockPendingAdmin",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x21f43e42"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"newPendingAdmin",
"type":"address"
},
{
"internalType":"uint256",
"name":"eta",
"type":"uint256"
}
],
"name":"__queueSetTimelockPendingAdmin",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x91500671"
},
{
"constant":false,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
}
],
"name":"cancel",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x40e58ee5"
},
{
"constant":false,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
},
{
"internalType":"bool",
"name":"support",
"type":"bool"
}
],
"name":"castVote",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x15373e3d"
},
{
"constant":false,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
},
{
"internalType":"bool",
"name":"support",
"type":"bool"
},
{
"internalType":"uint8",
"name":"v",
"type":"uint8"
},
{
"internalType":"bytes32",
"name":"r",
"type":"bytes32"
},
{
"internalType":"bytes32",
"name":"s",
"type":"bytes32"
}
],
"name":"castVoteBySig",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x4634c61f"
},
{
"constant":true,
"inputs":[],
"name":"comp",
"outputs":[
{
"internalType":"contract CompInterface",
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x109d0af8"
},
{
"constant":false,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
}
],
"name":"execute",
"outputs":[],
"payable":true,
"stateMutability":"payable",
"type":"function",
"signature":"0xfe0d94c1"
},
{
"constant":true,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
}
],
"name":"getActions",
"outputs":[
{
"internalType":"address[]",
"name":"targets",
"type":"address[]"
},
{
"internalType":"uint256[]",
"name":"values",
"type":"uint256[]"
},
{
"internalType":"string[]",
"name":"signatures",
"type":"string[]"
},
{
"internalType":"bytes[]",
"name":"calldatas",
"type":"bytes[]"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x328dd982"
},
{
"constant":true,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
},
{
"internalType":"address",
"name":"voter",
"type":"address"
}
],
"name":"getReceipt",
"outputs":[
{
"components":[
{
"internalType":"bool",
"name":"hasVoted",
"type":"bool"
},
{
"internalType":"bool",
"name":"support",
"type":"bool"
},
{
"internalType":"uint96",
"name":"votes",
"type":"uint96"
}
],
"internalType":"struct GovernorAlpha.Receipt",
"name":"",
"type":"tuple"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0xe23a9a52"
},
{
"constant":true,
"inputs":[],
"name":"guardian",
"outputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x452a9320"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"name":"latestProposalIds",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x17977c61"
},
{
"constant":true,
"inputs":[],
"name":"name",
"outputs":[
{
"internalType":"string",
"name":"",
"type":"string"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x06fdde03"
},
{
"constant":true,
"inputs":[],
"name":"proposalCount",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0xda35c664"
},
{
"constant":true,
"inputs":[],
"name":"proposalMaxOperations",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"pure",
"type":"function",
"signature":"0x7bdbe4d0"
},
{
"constant":true,
"inputs":[],
"name":"proposalThreshold",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"pure",
"type":"function",
"signature":"0xb58131b0"
},
{
"constant":true,
"inputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"name":"proposals",
"outputs":[
{
"internalType":"uint256",
"name":"id",
"type":"uint256"
},
{
"internalType":"address",
"name":"proposer",
"type":"address"
},
{
"internalType":"uint256",
"name":"eta",
"type":"uint256"
},
{
"internalType":"uint256",
"name":"startBlock",
"type":"uint256"
},
{
"internalType":"uint256",
"name":"endBlock",
"type":"uint256"
},
{
"internalType":"uint256",
"name":"forVotes",
"type":"uint256"
},
{
"internalType":"uint256",
"name":"againstVotes",
"type":"uint256"
},
{
"internalType":"bool",
"name":"canceled",
"type":"bool"
},
{
"internalType":"bool",
"name":"executed",
"type":"bool"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x013cf08b"
},
{
"constant":false,
"inputs":[
{
"internalType":"address[]",
"name":"targets",
"type":"address[]"
},
{
"internalType":"uint256[]",
"name":"values",
"type":"uint256[]"
},
{
"internalType":"string[]",
"name":"signatures",
"type":"string[]"
},
{
"internalType":"bytes[]",
"name":"calldatas",
"type":"bytes[]"
},
{
"internalType":"string",
"name":"description",
"type":"string"
}
],
"name":"propose",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0xda95691a"
},
{
"constant":false,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
}
],
"name":"queue",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0xddf0b009"
},
{
"constant":true,
"inputs":[],
"name":"quorumVotes",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"pure",
"type":"function",
"signature":"0x24bc1a64"
},
{
"constant":true,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
}
],
"name":"state",
"outputs":[
{
"internalType":"enum GovernorAlpha.ProposalState",
"name":"",
"type":"uint8"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x3e4f49e6"
},
{
"constant":true,
"inputs":[],
"name":"timelock",
"outputs":[
{
"internalType":"contract TimelockInterface",
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0xd33219b4"
},
{
"constant":true,
"inputs":[],
"name":"votingDelay",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"pure",
"type":"function",
"signature":"0x3932abb1"
},
{
"constant":true,
"inputs":[],
"name":"votingPeriod",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"pure",
"type":"function",
"signature":"0x02a251a3"
}
]

View File

@ -0,0 +1,530 @@
[
{
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"constructor"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"internalType":"address",
"name":"owner",
"type":"address"
},
{
"indexed":true,
"internalType":"address",
"name":"spender",
"type":"address"
},
{
"indexed":false,
"internalType":"uint256",
"name":"amount",
"type":"uint256"
}
],
"name":"Approval",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"internalType":"address",
"name":"delegator",
"type":"address"
},
{
"indexed":true,
"internalType":"address",
"name":"fromDelegate",
"type":"address"
},
{
"indexed":true,
"internalType":"address",
"name":"toDelegate",
"type":"address"
}
],
"name":"DelegateChanged",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"internalType":"address",
"name":"delegate",
"type":"address"
},
{
"indexed":false,
"internalType":"uint256",
"name":"previousBalance",
"type":"uint256"
},
{
"indexed":false,
"internalType":"uint256",
"name":"newBalance",
"type":"uint256"
}
],
"name":"DelegateVotesChanged",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"internalType":"address",
"name":"from",
"type":"address"
},
{
"indexed":true,
"internalType":"address",
"name":"to",
"type":"address"
},
{
"indexed":false,
"internalType":"uint256",
"name":"amount",
"type":"uint256"
}
],
"name":"Transfer",
"type":"event"
},
{
"constant":true,
"inputs":[],
"name":"DELEGATION_TYPEHASH",
"outputs":[
{
"internalType":"bytes32",
"name":"",
"type":"bytes32"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"DOMAIN_TYPEHASH",
"outputs":[
{
"internalType":"bytes32",
"name":"",
"type":"bytes32"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
},
{
"internalType":"address",
"name":"spender",
"type":"address"
}
],
"name":"allowance",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"spender",
"type":"address"
},
{
"internalType":"uint256",
"name":"rawAmount",
"type":"uint256"
}
],
"name":"approve",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
}
],
"name":"balanceOf",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"",
"type":"address"
},
{
"internalType":"uint32",
"name":"",
"type":"uint32"
}
],
"name":"checkpoints",
"outputs":[
{
"internalType":"uint32",
"name":"fromBlock",
"type":"uint32"
},
{
"internalType":"uint96",
"name":"votes",
"type":"uint96"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"decimals",
"outputs":[
{
"internalType":"uint8",
"name":"",
"type":"uint8"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"delegatee",
"type":"address"
}
],
"name":"delegate",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"delegatee",
"type":"address"
},
{
"internalType":"uint256",
"name":"nonce",
"type":"uint256"
},
{
"internalType":"uint256",
"name":"expiry",
"type":"uint256"
},
{
"internalType":"uint8",
"name":"v",
"type":"uint8"
},
{
"internalType":"bytes32",
"name":"r",
"type":"bytes32"
},
{
"internalType":"bytes32",
"name":"s",
"type":"bytes32"
}
],
"name":"delegateBySig",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"name":"delegates",
"outputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
}
],
"name":"getCurrentVotes",
"outputs":[
{
"internalType":"uint96",
"name":"",
"type":"uint96"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
},
{
"internalType":"uint256",
"name":"blockNumber",
"type":"uint256"
}
],
"name":"getPriorVotes",
"outputs":[
{
"internalType":"uint96",
"name":"",
"type":"uint96"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"name",
"outputs":[
{
"internalType":"string",
"name":"",
"type":"string"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"name":"nonces",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"name":"numCheckpoints",
"outputs":[
{
"internalType":"uint32",
"name":"",
"type":"uint32"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"symbol",
"outputs":[
{
"internalType":"string",
"name":"",
"type":"string"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"totalSupply",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"dst",
"type":"address"
},
{
"internalType":"uint256",
"name":"rawAmount",
"type":"uint256"
}
],
"name":"transfer",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"src",
"type":"address"
},
{
"internalType":"address",
"name":"dst",
"type":"address"
},
{
"internalType":"uint256",
"name":"rawAmount",
"type":"uint256"
}
],
"name":"transferFrom",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
}
]

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -0,0 +1,20 @@
{
"name": "Compound",
"description": "Compound is a decentralized money market protocol to borrow and lend assets.",
"path": "compound",
"folder": "compound",
"type": "compoundish",
"suffix": "COMP",
"coinGeckoPriceString": "compound-governance-token",
"tokenContractAddress": "0xc00e94Cb662C3520282E6f5717214004A7f26888",
"governanceContractAddress": "0xc0da01a04c3f3e0be433606045bb7017a7323e38",
"isEnabled": true,
"hasOnchain": true,
"isHybrid": false,
"hasDelegation": true,
"snapshotSpaceName": "compound",
"invalidSnapshots": [],
"branding": {},
"discourseForum": {},
"safeAddress": null
}

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,755 @@
[
{
"inputs":[
{
"internalType":"address",
"name":"timelock_",
"type":"address"
},
{
"internalType":"address",
"name":"comp_",
"type":"address"
},
{
"internalType":"address",
"name":"guardian_",
"type":"address"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"constructor",
"signature":"constructor"
},
{
"anonymous":false,
"inputs":[
{
"indexed":false,
"internalType":"uint256",
"name":"id",
"type":"uint256"
}
],
"name":"ProposalCanceled",
"type":"event",
"signature":"0x789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c"
},
{
"anonymous":false,
"inputs":[
{
"indexed":false,
"internalType":"uint256",
"name":"id",
"type":"uint256"
},
{
"indexed":false,
"internalType":"address",
"name":"proposer",
"type":"address"
},
{
"indexed":false,
"internalType":"address[]",
"name":"targets",
"type":"address[]"
},
{
"indexed":false,
"internalType":"uint256[]",
"name":"values",
"type":"uint256[]"
},
{
"indexed":false,
"internalType":"string[]",
"name":"signatures",
"type":"string[]"
},
{
"indexed":false,
"internalType":"bytes[]",
"name":"calldatas",
"type":"bytes[]"
},
{
"indexed":false,
"internalType":"uint256",
"name":"startBlock",
"type":"uint256"
},
{
"indexed":false,
"internalType":"uint256",
"name":"endBlock",
"type":"uint256"
},
{
"indexed":false,
"internalType":"string",
"name":"description",
"type":"string"
}
],
"name":"ProposalCreated",
"type":"event",
"signature":"0x7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0"
},
{
"anonymous":false,
"inputs":[
{
"indexed":false,
"internalType":"uint256",
"name":"id",
"type":"uint256"
}
],
"name":"ProposalExecuted",
"type":"event",
"signature":"0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f"
},
{
"anonymous":false,
"inputs":[
{
"indexed":false,
"internalType":"uint256",
"name":"id",
"type":"uint256"
},
{
"indexed":false,
"internalType":"uint256",
"name":"eta",
"type":"uint256"
}
],
"name":"ProposalQueued",
"type":"event",
"signature":"0x9a2e42fd6722813d69113e7d0079d3d940171428df7373df9c7f7617cfda2892"
},
{
"anonymous":false,
"inputs":[
{
"indexed":false,
"internalType":"address",
"name":"voter",
"type":"address"
},
{
"indexed":false,
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
},
{
"indexed":false,
"internalType":"bool",
"name":"support",
"type":"bool"
},
{
"indexed":false,
"internalType":"uint256",
"name":"votes",
"type":"uint256"
}
],
"name":"VoteCast",
"type":"event",
"signature":"0x877856338e13f63d0c36822ff0ef736b80934cd90574a3a5bc9262c39d217c46"
},
{
"constant":true,
"inputs":[],
"name":"BALLOT_TYPEHASH",
"outputs":[
{
"internalType":"bytes32",
"name":"",
"type":"bytes32"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0xdeaaa7cc"
},
{
"constant":true,
"inputs":[],
"name":"DOMAIN_TYPEHASH",
"outputs":[
{
"internalType":"bytes32",
"name":"",
"type":"bytes32"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x20606b70"
},
{
"constant":false,
"inputs":[],
"name":"__abdicate",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x760fbc13"
},
{
"constant":false,
"inputs":[],
"name":"__acceptAdmin",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0xb9a61961"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"newPendingAdmin",
"type":"address"
},
{
"internalType":"uint256",
"name":"eta",
"type":"uint256"
}
],
"name":"__executeSetTimelockPendingAdmin",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x21f43e42"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"newPendingAdmin",
"type":"address"
},
{
"internalType":"uint256",
"name":"eta",
"type":"uint256"
}
],
"name":"__queueSetTimelockPendingAdmin",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x91500671"
},
{
"constant":false,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
}
],
"name":"cancel",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x40e58ee5"
},
{
"constant":false,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
},
{
"internalType":"bool",
"name":"support",
"type":"bool"
}
],
"name":"castVote",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x15373e3d"
},
{
"constant":false,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
},
{
"internalType":"bool",
"name":"support",
"type":"bool"
},
{
"internalType":"uint8",
"name":"v",
"type":"uint8"
},
{
"internalType":"bytes32",
"name":"r",
"type":"bytes32"
},
{
"internalType":"bytes32",
"name":"s",
"type":"bytes32"
}
],
"name":"castVoteBySig",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0x4634c61f"
},
{
"constant":true,
"inputs":[],
"name":"comp",
"outputs":[
{
"internalType":"contract CompInterface",
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x109d0af8"
},
{
"constant":false,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
}
],
"name":"execute",
"outputs":[],
"payable":true,
"stateMutability":"payable",
"type":"function",
"signature":"0xfe0d94c1"
},
{
"constant":true,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
}
],
"name":"getActions",
"outputs":[
{
"internalType":"address[]",
"name":"targets",
"type":"address[]"
},
{
"internalType":"uint256[]",
"name":"values",
"type":"uint256[]"
},
{
"internalType":"string[]",
"name":"signatures",
"type":"string[]"
},
{
"internalType":"bytes[]",
"name":"calldatas",
"type":"bytes[]"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x328dd982"
},
{
"constant":true,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
},
{
"internalType":"address",
"name":"voter",
"type":"address"
}
],
"name":"getReceipt",
"outputs":[
{
"components":[
{
"internalType":"bool",
"name":"hasVoted",
"type":"bool"
},
{
"internalType":"bool",
"name":"support",
"type":"bool"
},
{
"internalType":"uint96",
"name":"votes",
"type":"uint96"
}
],
"internalType":"struct GovernorAlpha.Receipt",
"name":"",
"type":"tuple"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0xe23a9a52"
},
{
"constant":true,
"inputs":[],
"name":"guardian",
"outputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x452a9320"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"name":"latestProposalIds",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x17977c61"
},
{
"constant":true,
"inputs":[],
"name":"name",
"outputs":[
{
"internalType":"string",
"name":"",
"type":"string"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x06fdde03"
},
{
"constant":true,
"inputs":[],
"name":"proposalCount",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0xda35c664"
},
{
"constant":true,
"inputs":[],
"name":"proposalMaxOperations",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"pure",
"type":"function",
"signature":"0x7bdbe4d0"
},
{
"constant":true,
"inputs":[],
"name":"proposalThreshold",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"pure",
"type":"function",
"signature":"0xb58131b0"
},
{
"constant":true,
"inputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"name":"proposals",
"outputs":[
{
"internalType":"uint256",
"name":"id",
"type":"uint256"
},
{
"internalType":"address",
"name":"proposer",
"type":"address"
},
{
"internalType":"uint256",
"name":"eta",
"type":"uint256"
},
{
"internalType":"uint256",
"name":"startBlock",
"type":"uint256"
},
{
"internalType":"uint256",
"name":"endBlock",
"type":"uint256"
},
{
"internalType":"uint256",
"name":"forVotes",
"type":"uint256"
},
{
"internalType":"uint256",
"name":"againstVotes",
"type":"uint256"
},
{
"internalType":"bool",
"name":"canceled",
"type":"bool"
},
{
"internalType":"bool",
"name":"executed",
"type":"bool"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x013cf08b"
},
{
"constant":false,
"inputs":[
{
"internalType":"address[]",
"name":"targets",
"type":"address[]"
},
{
"internalType":"uint256[]",
"name":"values",
"type":"uint256[]"
},
{
"internalType":"string[]",
"name":"signatures",
"type":"string[]"
},
{
"internalType":"bytes[]",
"name":"calldatas",
"type":"bytes[]"
},
{
"internalType":"string",
"name":"description",
"type":"string"
}
],
"name":"propose",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0xda95691a"
},
{
"constant":false,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
}
],
"name":"queue",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function",
"signature":"0xddf0b009"
},
{
"constant":true,
"inputs":[],
"name":"quorumVotes",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"pure",
"type":"function",
"signature":"0x24bc1a64"
},
{
"constant":true,
"inputs":[
{
"internalType":"uint256",
"name":"proposalId",
"type":"uint256"
}
],
"name":"state",
"outputs":[
{
"internalType":"enum GovernorAlpha.ProposalState",
"name":"",
"type":"uint8"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0x3e4f49e6"
},
{
"constant":true,
"inputs":[],
"name":"timelock",
"outputs":[
{
"internalType":"contract TimelockInterface",
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function",
"signature":"0xd33219b4"
},
{
"constant":true,
"inputs":[],
"name":"votingDelay",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"pure",
"type":"function",
"signature":"0x3932abb1"
},
{
"constant":true,
"inputs":[],
"name":"votingPeriod",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"pure",
"type":"function",
"signature":"0x02a251a3"
}
]

View File

@ -0,0 +1,530 @@
[
{
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"constructor"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"internalType":"address",
"name":"owner",
"type":"address"
},
{
"indexed":true,
"internalType":"address",
"name":"spender",
"type":"address"
},
{
"indexed":false,
"internalType":"uint256",
"name":"amount",
"type":"uint256"
}
],
"name":"Approval",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"internalType":"address",
"name":"delegator",
"type":"address"
},
{
"indexed":true,
"internalType":"address",
"name":"fromDelegate",
"type":"address"
},
{
"indexed":true,
"internalType":"address",
"name":"toDelegate",
"type":"address"
}
],
"name":"DelegateChanged",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"internalType":"address",
"name":"delegate",
"type":"address"
},
{
"indexed":false,
"internalType":"uint256",
"name":"previousBalance",
"type":"uint256"
},
{
"indexed":false,
"internalType":"uint256",
"name":"newBalance",
"type":"uint256"
}
],
"name":"DelegateVotesChanged",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"internalType":"address",
"name":"from",
"type":"address"
},
{
"indexed":true,
"internalType":"address",
"name":"to",
"type":"address"
},
{
"indexed":false,
"internalType":"uint256",
"name":"amount",
"type":"uint256"
}
],
"name":"Transfer",
"type":"event"
},
{
"constant":true,
"inputs":[],
"name":"DELEGATION_TYPEHASH",
"outputs":[
{
"internalType":"bytes32",
"name":"",
"type":"bytes32"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"DOMAIN_TYPEHASH",
"outputs":[
{
"internalType":"bytes32",
"name":"",
"type":"bytes32"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
},
{
"internalType":"address",
"name":"spender",
"type":"address"
}
],
"name":"allowance",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"spender",
"type":"address"
},
{
"internalType":"uint256",
"name":"rawAmount",
"type":"uint256"
}
],
"name":"approve",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
}
],
"name":"balanceOf",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"",
"type":"address"
},
{
"internalType":"uint32",
"name":"",
"type":"uint32"
}
],
"name":"checkpoints",
"outputs":[
{
"internalType":"uint32",
"name":"fromBlock",
"type":"uint32"
},
{
"internalType":"uint96",
"name":"votes",
"type":"uint96"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"decimals",
"outputs":[
{
"internalType":"uint8",
"name":"",
"type":"uint8"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"delegatee",
"type":"address"
}
],
"name":"delegate",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"delegatee",
"type":"address"
},
{
"internalType":"uint256",
"name":"nonce",
"type":"uint256"
},
{
"internalType":"uint256",
"name":"expiry",
"type":"uint256"
},
{
"internalType":"uint8",
"name":"v",
"type":"uint8"
},
{
"internalType":"bytes32",
"name":"r",
"type":"bytes32"
},
{
"internalType":"bytes32",
"name":"s",
"type":"bytes32"
}
],
"name":"delegateBySig",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"name":"delegates",
"outputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
}
],
"name":"getCurrentVotes",
"outputs":[
{
"internalType":"uint96",
"name":"",
"type":"uint96"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
},
{
"internalType":"uint256",
"name":"blockNumber",
"type":"uint256"
}
],
"name":"getPriorVotes",
"outputs":[
{
"internalType":"uint96",
"name":"",
"type":"uint96"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"name",
"outputs":[
{
"internalType":"string",
"name":"",
"type":"string"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"name":"nonces",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"name":"numCheckpoints",
"outputs":[
{
"internalType":"uint32",
"name":"",
"type":"uint32"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"symbol",
"outputs":[
{
"internalType":"string",
"name":"",
"type":"string"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"totalSupply",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"dst",
"type":"address"
},
{
"internalType":"uint256",
"name":"rawAmount",
"type":"uint256"
}
],
"name":"transfer",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"src",
"type":"address"
},
{
"internalType":"address",
"name":"dst",
"type":"address"
},
{
"internalType":"uint256",
"name":"rawAmount",
"type":"uint256"
}
],
"name":"transferFrom",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,20 @@
{
"name": "Compound Grants",
"description": "The Compound Grants Program is a 4/7 multisig controlled committee that will deploy a maximum of $1mm per quarter and run for two quarters.",
"path": "compoundgrants.eth",
"folder": "compoundgrants",
"type": "snapshot",
"suffix": "COMP",
"coinGeckoPriceString": "compound-governance-token",
"tokenContractAddress": "0xc00e94Cb662C3520282E6f5717214004A7f26888",
"snapshotSpaceName": "compoundgrants.eth",
"hasDelegation": false,
"hasOnchain": false,
"isHybrid": false,
"isCouncil": false,
"isEnabled": true,
"invalidSnapshots": [],
"branding": {},
"discourseForum": {},
"safeAddress": "0xF1D8c2eED95D5fC2EaDe4E6Bb15a5969453E89a9"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -0,0 +1,401 @@
[
{
"inputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"constructor"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"internalType":"address",
"name":"owner",
"type":"address"
},
{
"indexed":true,
"internalType":"address",
"name":"spender",
"type":"address"
},
{
"indexed":false,
"internalType":"uint256",
"name":"value",
"type":"uint256"
}
],
"name":"Approval",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"internalType":"address",
"name":"from",
"type":"address"
},
{
"indexed":true,
"internalType":"address",
"name":"to",
"type":"address"
},
{
"indexed":false,
"internalType":"uint256",
"name":"value",
"type":"uint256"
}
],
"name":"Transfer",
"type":"event"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"_minter",
"type":"address"
}
],
"name":"addMinter",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"owner",
"type":"address"
},
{
"internalType":"address",
"name":"spender",
"type":"address"
}
],
"name":"allowance",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"spender",
"type":"address"
},
{
"internalType":"uint256",
"name":"amount",
"type":"uint256"
}
],
"name":"approve",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
}
],
"name":"balanceOf",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"decimals",
"outputs":[
{
"internalType":"uint8",
"name":"",
"type":"uint8"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"spender",
"type":"address"
},
{
"internalType":"uint256",
"name":"subtractedValue",
"type":"uint256"
}
],
"name":"decreaseAllowance",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"governance",
"outputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"spender",
"type":"address"
},
{
"internalType":"uint256",
"name":"addedValue",
"type":"uint256"
}
],
"name":"increaseAllowance",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"account",
"type":"address"
},
{
"internalType":"uint256",
"name":"amount",
"type":"uint256"
}
],
"name":"mint",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[
{
"internalType":"address",
"name":"",
"type":"address"
}
],
"name":"minters",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"name",
"outputs":[
{
"internalType":"string",
"name":"",
"type":"string"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"_minter",
"type":"address"
}
],
"name":"removeMinter",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"_governance",
"type":"address"
}
],
"name":"setGovernance",
"outputs":[],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"symbol",
"outputs":[
{
"internalType":"string",
"name":"",
"type":"string"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"totalSupply",
"outputs":[
{
"internalType":"uint256",
"name":"",
"type":"uint256"
}
],
"payable":false,
"stateMutability":"view",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"recipient",
"type":"address"
},
{
"internalType":"uint256",
"name":"amount",
"type":"uint256"
}
],
"name":"transfer",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
},
{
"constant":false,
"inputs":[
{
"internalType":"address",
"name":"sender",
"type":"address"
},
{
"internalType":"address",
"name":"recipient",
"type":"address"
},
{
"internalType":"uint256",
"name":"amount",
"type":"uint256"
}
],
"name":"transferFrom",
"outputs":[
{
"internalType":"bool",
"name":"",
"type":"bool"
}
],
"payable":false,
"stateMutability":"nonpayable",
"type":"function"
}
]

View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -0,0 +1,25 @@
{
"name": "DefiDollar DAO",
"description": "DUSD is a stablecoin controlled by a DAO using DeFi primitives to remain pegged to the Dollar.",
"path": "defidollar",
"folder": "defidollar",
"type": "snapshot",
"suffix": "DFD",
"coinGeckoPriceString": "defidollar-dao",
"tokenContractAddress": "0x20c36f062a31865bED8a5B1e512D9a1A20AA333A",
"isEnabled": true,
"hasOnchain": false,
"isHybrid": false,
"hasDelegation": false,
"snapshotSpaceName": "defidolla.eth",
"invalidSnapshots": [
"QmZUUs11CVfwPapHMs53N1ZbmeAzu3bhkfZJFRyENS9kGf",
"QmQG2ppd3TwTGK87KAX7rgyWVEkKo31tXCKw9f6GFQrhHA",
"QmYRKXzmqLVSD9ao3Sba3EsJcAbD3spG58Cg5wznVrnMUM",
"QmehCJcrywhtgU93vFu1AoeVPSzzYf8jBUEED7mBx15U4R",
"QmYRKXzmqLVSD9ao3Sba3EsJcAbD3spG58Cg5wznVrnMUM"
],
"branding": {},
"discourseForum": {},
"safeAddress": null
}

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -0,0 +1,226 @@
[
{
"constant":true,
"inputs":[],
"name":"name",
"outputs":[
{
"name":"",
"type":"string"
}
],
"payable":false,
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_spender",
"type":"address"
},
{
"name":"_value",
"type":"uint256"
}
],
"name":"approve",
"outputs":[
{
"name":"",
"type":"bool"
}
],
"payable":false,
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"totalSupply",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"payable":false,
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_from",
"type":"address"
},
{
"name":"_to",
"type":"address"
},
{
"name":"_value",
"type":"uint256"
}
],
"name":"transferFrom",
"outputs":[
{
"name":"",
"type":"bool"
}
],
"payable":false,
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"decimals",
"outputs":[
{
"name":"",
"type":"uint8"
}
],
"payable":false,
"type":"function"
},
{
"constant":true,
"inputs":[
{
"name":"_owner",
"type":"address"
}
],
"name":"balanceOf",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"payable":false,
"type":"function"
},
{
"constant":true,
"inputs":[],
"name":"symbol",
"outputs":[
{
"name":"",
"type":"string"
}
],
"payable":false,
"type":"function"
},
{
"constant":false,
"inputs":[
{
"name":"_to",
"type":"address"
},
{
"name":"_value",
"type":"uint256"
}
],
"name":"transfer",
"outputs":[
{
"name":"",
"type":"bool"
}
],
"payable":false,
"type":"function"
},
{
"constant":true,
"inputs":[
{
"name":"_owner",
"type":"address"
},
{
"name":"_spender",
"type":"address"
}
],
"name":"allowance",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"payable":false,
"type":"function"
},
{
"inputs":[
{
"name":"dutchAuction",
"type":"address"
},
{
"name":"owners",
"type":"address[]"
},
{
"name":"tokens",
"type":"uint256[]"
}
],
"payable":false,
"type":"constructor"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"from",
"type":"address"
},
{
"indexed":true,
"name":"to",
"type":"address"
},
{
"indexed":false,
"name":"value",
"type":"uint256"
}
],
"name":"Transfer",
"type":"event"
},
{
"anonymous":false,
"inputs":[
{
"indexed":true,
"name":"owner",
"type":"address"
},
{
"indexed":true,
"name":"spender",
"type":"address"
},
{
"indexed":false,
"name":"value",
"type":"uint256"
}
],
"name":"Approval",
"type":"event"
}
]

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,23 @@
{
"name": "Gnosis",
"description": "GnosisDAO uses Gnosis products to transparently guide decisions on development, support, and governance of its token ecosystem.",
"path": "gnosis.eth",
"folder": "gnosis.eth",
"type": "snapshot",
"suffix": "GNO",
"coinGeckoPriceString": "gnosis",
"tokenContractAddress": "0x6810e776880c02933d47db1b9fc05908e5386b96",
"isEnabled": true,
"hasOnchain": false,
"isHybrid": false,
"hasDelegation": false,
"snapshotSpaceName": "gnosis.eth",
"invalidSnapshots": [
"Qmey2pnp3wMctMBBiG4QgSdKejmgyXNAady5ZCZQKQKnKF",
"QmaGQ3K3PkjUakoyR127dbym8ESsruXg4dyeKKQxxRdPgA",
"QmcERezRFobLTWGqYw47t9NZtWVsiW791rVeqHvPTBs8gW"
],
"branding": {},
"discourseForum": {},
"safeAddress": null
}

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Some files were not shown because too many files have changed in this diff Show More