Skip to content

Commit da7a175

Browse files
committed
Update deployment information
1 parent 6716afd commit da7a175

3 files changed

Lines changed: 33 additions & 16 deletions

File tree

packages/dao/README.md

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,22 @@ and run
4848
npm run deploy:rinkeby
4949
```
5050

51-
## Verifying the DAO deployment
51+
## Verifying the Mainnet deployment
5252

53-
**This needs to be repeated with the final mainnet deployment.**
53+
```json
54+
{
55+
"api3Token": "0x0b38210ea11411557c13457D4dA7dC6ea731B88a",
56+
"timelockManager": "0xFaef86994a37F1c8b2A5c73648F07dd4eFF02baA",
57+
"api3Pool": "0x6dd655f10d4b9e242ae186d9050b68f725c76d76",
58+
"convenience": "0x95087266018b9637aff3d76d4e0cad7e52c19636",
59+
"dao": "0x593ea926ee9820a933488b6a288433c387d06dba",
60+
"acl": "0x1e7ecc6d3b5b4cfdfc71cb7c3ea9ac4a55f4195a",
61+
"votingAppPrimary": "0xdb6c812e439ce5c740570578681ea7aadba5170b",
62+
"votingAppSecondary": "0x1c8058e72e4902b3431ef057e8d9a58a73f26372",
63+
"agentAppPrimary": "0xd9f80bdb37e6bad114d747e60ce6d2aaf26704ae",
64+
"agentAppSecondary": "0x556ecbb0311d350491ba0ec7e019c354d7723ce0"
65+
}
66+
```
5467

5568
1. Install aragonCLI globally (specifying the package version because latest seems to be broken for some machines):
5669
```sh
@@ -62,10 +75,12 @@ Run it and make sure that it is connected to the correct chain.
6275

6376
3. Inspect the DAO with the following
6477
```sh
65-
aragon dao apps <DAO kernel address> --use-frame
78+
aragon dao apps 0x593ea926ee9820a933488b6a288433c387d06dba --use-frame
79+
```
80+
Review that the displayed information is correct.
81+
```sh
82+
aragon dao apps 0x9B64177757a0BD2A042446C8d910526476B7Bf57 --use-frame
6683
```
67-
For example, you can use `0x825cc178f0510de72c8d3af4be69917935b3d269` on Rinkeby (**note that this may not be identical to the final version**).
68-
Review the displayed information is correct.
6984

7085
4. In (3), you should have seen Api3Voting apps with the ID `0x323c4eb511f386e7972d45b948cc546db35e9ccc7161c056fb07e09abd87e554`.
7186
This is derived as `namehash("api3voting.open.aragonpm.eth")`.
@@ -80,13 +95,18 @@ Then check the source code at this implementation address using Etherscan and ve
8095

8196
6. Verify that the ACL (Access Control List) is configured correctly
8297
```sh
83-
aragon dao acl <DAO kernel address> --use-frame
98+
aragon dao acl 0x593ea926ee9820a933488b6a288433c387d06dba --use-frame
99+
```
100+
101+
You can compare with API3DAOv1
102+
```sh
103+
aragon dao acl 0x9B64177757a0BD2A042446C8d910526476B7Bf57 --use-frame
84104
```
85105

86106
7. Check that the following values are initialized correctly
87107
- `api3Pool` and the voting parameters (`supportRequiredPct` and `minAcceptQuorumPct`) at the Api3Voting apps
88108
- `api3Token`, `timelockManager`, `agentAppPrimary`, `agentAppSecondary`, `votingAppPrimary` and `votingAppSecondary` at the pool contract
89-
- If any claims manager contracts are set for the pool, they are audited and implemented to pay out claims in a trustless way with fail-safes such as payout limits (note that the pool will be deployed with no claims managers set initially)
109+
- If any claims manager contracts are set for the pool, they are audited and implemented to pay out claims in a trustless way with fail-safes such as payout limits (note that the pool will be deployed with no claims managers set initially and the DAO does not allow proposals in the first epoch to set a claims manager)
90110

91111
## Permissions
92112

packages/dao/arapp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"registry": "0x5f6f7e8cc7346a11ca2def8f827b7a0b612c56a1"
77
},
88
"mainnet": {
9-
"appName": "api3template.aragonpm.eth",
9+
"appName": "api3-dao-template.open.aragonpm.eth",
1010
"network": "mainnet",
1111
"registry": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
1212
"wsRPC": "wss://mainnet.eth.aragon.network/ws"
1313
},
1414
"rinkeby": {
15-
"appName": "api3-template-rqjrt5.open.aragonpm.eth",
15+
"appName": "api3-template-ijyy8.open.aragonpm.eth",
1616
"network": "rinkeby",
1717
"registry": "0x98Df287B6C145399Aaa709692c8D308357bC085D",
1818
"wsRPC": "wss://rinkeby.eth.aragon.network/ws"

packages/dao/scripts/deploy.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const minAcceptQuorumPct1 = 50e16;
1717
const supportRequiredPct2 = 50e16;
1818
const minAcceptQuorumPct2 = 15e16;
1919

20-
const gasPrice = "55" + "000" + "000" + "000";
20+
const gasPrice = "35" + "000" + "000" + "000";
2121

2222
/**
2323
* Returns the address of the deployer
@@ -50,8 +50,7 @@ module.exports = async (callback) => {
5050
let api3Token, api3Pool;
5151
let api3TokenAddress, timelockManagerAddress;
5252
if (network === "mainnet") {
53-
// TODO: replace below with 0x0b38210ea11411557c13457D4dA7dC6ea731B88a
54-
api3TokenAddress = "0x0000000000000000000000000000000000000001";
53+
api3TokenAddress = "0x0b38210ea11411557c13457D4dA7dC6ea731B88a";
5554
timelockManagerAddress = "0xFaef86994a37F1c8b2A5c73648F07dd4eFF02baA";
5655
api3Pool = await Api3Pool.new(api3TokenAddress, timelockManagerAddress, {
5756
gasPrice: gasPrice,
@@ -101,8 +100,7 @@ module.exports = async (callback) => {
101100

102101
let templateId;
103102
if (network === "mainnet") {
104-
// TODO: replace below with the final name
105-
templateId = "api3-template-test.open";
103+
templateId = "api3-dao-template.open";
106104
} else if (network === "rinkeby" || network === "ropsten") {
107105
templateId = `api3-template-${Math.random()
108106
.toString(36)
@@ -129,8 +127,7 @@ module.exports = async (callback) => {
129127

130128
let daoId;
131129
if (network === "mainnet") {
132-
// TODO: replace below with the final name
133-
daoId = "api3-test";
130+
daoId = "api3dao";
134131
} else {
135132
daoId = `api3-${Math.random().toString(36).substring(7)}`;
136133
}

0 commit comments

Comments
 (0)