Latest contract version: https://github.com/metagov/daostar/blob/main/contracts/src/Registration.sol

Deployment instructions

Create new command in package.json like here for mainnet https://github.com/metagov/daostar/blob/aa74717bc3e83ce4445c7e42a30e72b93873d220/contracts/package.json#L10

pnpm run deploy:[network]

Deployments

Network Index contract Registration factory
Mainnet https://etherscan.io/address/0x4f2c9028fe7107d9f1a8a9cff34aa2d3f28600fa https://etherscan.io/address/0x2dac5dbbf1d024c1e0d9c92d3aeda7618e15add7
Goerli https://goerli.etherscan.io/address/0xd8f49391ba81942d40c26a50f8ca63cdca6fb3da https://goerli.etherscan.io/address/0x3271b3479f7485dadb2bd5fff43eeb4367b1a91a
Gnosis Chain https://gnosisscan.io/address/0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298 https://gnosisscan.io/address/0x2cd7e39b7c27f3a76a312c650c760f129153077a

Subgraphs

Latest subgraph code: https://github.com/metagov/daostar/tree/updatesubgraph/Implementations/Subgraph/daostar

Deployment Instructions

Add network to network.json https://github.com/metagov/daostar/blob/updatesubgraph/Implementations/Subgraph/daostar/networks.json

address should be the index contract not the registration summoner

Update start block to deployment block for contract

{
    "mainnet": {
        "EIP4824Index": {
            "address": "0x4f2c9028fe7107d9f1a8a9cff34aa2d3f28600fa",
            "startBlock": 17874753
        }
    },
    "goerli": {
        "EIP4824Index": {
            "address": "0xd8f49391ba81942d40c26a50f8ca63cdca6fb3da",
            "startBlock": 8901481
        }
    },
    "gnosis": {
        "EIP4824Index": {
            "address": "0x8180cbfBFFe59F54BF3Ea5d7DdbaE1232e2bB298",
            "startBlock": 27702194
        }
    }
}

Deployments

Network HTTP endpoint
Mainnet https://api.thegraph.com/subgraphs/name/ipatka/daostar
Goerli https://api.thegraph.com/subgraphs/name/ipatka/daostar-goerli
Gnosis https://api.thegraph.com/subgraphs/name/mrutsavg/daostar-gnosis