Skip to content

Commit

Permalink
Merge pull request #29 from metagov/readme
Browse files Browse the repository at this point in the history
Readme
  • Loading branch information
ipatka authored Jan 6, 2023
2 parents 5ba2fb7 + c56bcb6 commit 49e5417
Show file tree
Hide file tree
Showing 35 changed files with 6,423 additions and 1 deletion.
54 changes: 53 additions & 1 deletion Implementations/API/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Currently supported DAOs and frameworks:
| Moloch v2 | Yes | Yes | No | Mainnet, Gnosis Chain, Optimism, Rinkeby |
| Moloch v3 | Yes | Yes | Yes | Mainnet, Gnosis Chain, Optimism, Rinkeby |
| DAOStack | Yes | Yes | No | Mainnet |
| Aave | Yes | Yes | No | Mainnet |
| Aave | No | Yes | No | Mainnet |
| Safe | Yes | Yes | Yes | Mainnet |


Expand Down Expand Up @@ -298,6 +298,58 @@ function setDaoUri(string memory _newUri) external minionOnly;

## Aave

*This reference implementation has not been finalized. It is pending changes to reflect the most recent version of the DAO standard.*

### Proposals URI

Demo endpoint: `https://maj79gmufj.execute-api.us-east-1.amazonaws.com/aave/proposals/1/0xec568fffba86c094cf06b22134b23074dfe2252c`

Demo response:


```jsx
{
"@context": {
"@vocab": "http://daostar.org/"
},
"type": "Aave governance v2",
"name": "0xec568fffba86c094cf06b22134b23074dfe2252c",
"proposals": [
{
"id": "0",
"type": "proposal",
"status": "Executed",
"contentURI": "Na"
},
{
"id": "1",
"type": "proposal",
"status": "Executed",
"contentURI": "Na"
},
{
"id": "10",
"type": "proposal",
"status": "Executed",
"contentURI": "https://governance.aave.com/t/aave-protocol-v1-v2-migration-tool-and-transition-plan/2053"
},
{
"id": "100",
"type": "proposal",
"status": "Executed",
"contentURI": "https://governance.aave.com/t/proposal-to-add-maticx-to-aave-v3-polygon-market/7995"
},
{
"id": "101",
"type": "proposal",
"status": "Executed",
"contentURI": "https://governance.aave.com/t/arc-re-enabling-eth-borrowing-post-merge/9657"
}
]
}
```
## DAOStack
## Gnosis Safe
Expand Down
1 change: 1 addition & 0 deletions Implementations/Subgraph/daostar-dev
Submodule daostar-dev added at 573a94
315 changes: 315 additions & 0 deletions Implementations/Subgraph/daostar/abis/EIP4824Registration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,315 @@
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "AlreadyInitialized",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "string",
"name": "daoURI",
"type": "string"
},
{
"indexed": false,
"internalType": "address",
"name": "daoAddress",
"type": "address"
}
],
"name": "NewURI",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "previousAdminRole",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "newAdminRole",
"type": "bytes32"
}
],
"name": "RoleAdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleGranted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleRevoked",
"type": "event"
},
{
"inputs": [],
"name": "DEFAULT_ADMIN_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MANAGER_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "daoURI",
"outputs": [
{
"internalType": "string",
"name": "daoURI_",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
}
],
"name": "getRoleAdmin",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "grantRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "hasRole",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_daoAddress",
"type": "address"
},
{
"internalType": "address",
"name": "_manager",
"type": "address"
},
{
"internalType": "string",
"name": "daoURI_",
"type": "string"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_daoAddress",
"type": "address"
},
{
"internalType": "string",
"name": "daoURI_",
"type": "string"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "renounceRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "revokeRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "daoURI_",
"type": "string"
}
],
"name": "setURI",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
Loading

0 comments on commit 49e5417

Please sign in to comment.