Funding Round 02

Contracts:

UI: https://ipfs.io/ipfs/QmTCweEhCjjXN3RV4uJ5FTEj3JDmvKdD5EFWRBxQZqPrzu/

2 Likes

:tada::tada::tada:

Quick question, should the previous rounds (0 and 1) show up in the rounds section?

1 Like

They are not showed because previous rounds were running on different contracts and API is not compatible but I think we can just add links to previous UI deployments which still live on IPFS.

At some point, will we make the contract upgradable so that we don’t lose history when we make updates?

Or is that the wrong way to think about storing round history?

Round 02 results: https://ipfs.io/ipfs/QmQx3EfTnEEykGfnC9sMZuXAy4y1x7yVyjJeDNhNmaRYhk?filename=xdai-round-02-tally.json

1 Like

@xuhcc, what is the easiest way to associate an index with a recipient address?
Previous versions of the UI sorted by index, so I could just do it manually. Now that it sorts randomly, I guess I need to call a function to get address from index or vice versa.

The recipient registry contract has getRecipientAddress() method. Example:

let recipientRegistry = await ethers.getContractAt('KlerosGTCRAdapter', '0xd46f15e2b3abABE2B726D0F2959329a9a2b76748')
let address = await recipientRegistry.getRecipientAddress(index, 13467135, 13764434) // start & end blocks of the round
1 Like

I created a script to find projects that correspond to indexes in tally file. Here’s the result: https://ipfs.io/ipfs/QmNtSFFMS4xcF6LPr5iPYbJQvur91TvVN6HmjKH5YmrBov?filename=projects.json

1 Like

Oh this is great! Thanks for that.