# \[UPDATE: CLOSED\]\[Call for devs\] Add wCELO balances in /treasury page

**URL:** <https://forum.0xprotocol.org/t/update-closed-call-for-devs-add-wcelo-balances-in-treasury-page/1071>\
**Category:** Wish List\
**Created:** [December 4, 2021, 12:16am UTC](https://forum.0xprotocol.org/t/update-closed-call-for-devs-add-wcelo-balances-in-treasury-page/1071 "2021-12-04T00:16:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mintcloud](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.0xprotocol.org/mintcloud/32/166_2.png) [@mintcloud](https://forum.0xprotocol.org/u/mintcloud)\
**Post date:** [December 4, 2021, 12:16am UTC](https://forum.0xprotocol.org/t/update-closed-call-for-devs-add-wcelo-balances-in-treasury-page/1071/1 "2021-12-04T00:16:54Z")

</div>

[UPDATE]: This proposal has been picked up and deployed in production by @vjnrv 🙏  
[https://github.com/0xProject/website/pull/432](https://github.com/0xProject/website/pull/432)

The 0x Treasury will soon have wCELO balances as a result of the [injection of capital by the Celo foundation](https://blog.0x.org/0x-celo-partnership-to-allocate-4-5-in-joint-funding-to-the-0x-dao/).

Currently, ZRX Portal [Treasury page](https://0x.org/zrx/treasury) does not support any other tokens than ZRX and MATIC. We want to see the total amount and the pie charts to reflect accurately the Treasury funds!

**I’ve created an issue in the ZRX Portal open-source repo and it would be awesome if a volunteer could step up and work on it.**

> <https://github.com/0xProject/website/issues/429>
>
> The 0x Treasury will soon have wCELO balances as a result of the injection of ca…pital by CELO foundation.
> 
> Currently, ZRX Portal \[Treasury page\](https://0x.org/zrx/treasury) does not support any other tokens than ZRX and MATIC.
> 
> The parts of the code that are likely to be modified are
> 
> \- https://github.com/0xProject/website/blob/development/ts/pages/governance/treasury\_breakdown.tsx#L201 (for fetching CELO prices, coingecko URL should be https://api.coingecko.com/api/v3/simple/price?ids=celo&vs\_currencies=usd)
> \- https://github.com/0xProject/website/blob/development/ts/pages/governance/treasury\_breakdown.tsx#L196 (Treasury page)
> \- https://github.com/0xProject/website/blob/development/ts/components/governance/hero.tsx#L218 (hero functions to update balances)
> 
> The Treasury has already 1 wCELO balance so it could be tested even before the entire funds are transferred.

 ![Screen Shot 2021-12-03 at 4.11.34 PM](https://canada1.discourse-cdn.com/flex027/uploads/x0xproject/original/1X/2e7a6cf7aa611a2cd6ae8ee4c8700209fc9b6591.png)

---

<div class="post-metadata">

**Author:** ![mintcloud](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.0xprotocol.org/mintcloud/32/166_2.png) [@mintcloud](https://forum.0xprotocol.org/u/mintcloud)\
**Post date:** [December 4, 2021, 12:17am UTC](https://forum.0xprotocol.org/t/update-closed-call-for-devs-add-wcelo-balances-in-treasury-page/1071/2 "2021-12-04T00:17:27Z")

</div>

@nikita is this something 0xEVE would consider funding?

---

<div class="post-metadata">

**Author:** ![nikita](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.0xprotocol.org/nikita/32/1259_2.png) [@nikita](https://forum.0xprotocol.org/u/nikita)\
**Post date:** [December 4, 2021, 1:17am UTC](https://forum.0xprotocol.org/t/update-closed-call-for-devs-add-wcelo-balances-in-treasury-page/1071/3 "2021-12-04T01:17:27Z")

</div>

sure, but assuming that over time the treasury will comprise additional assets, is it possible to do this in a way that reads all assets in the account address rather than only specific ones?

---

<div class="post-metadata">

**Author:** ![mintcloud](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.0xprotocol.org/mintcloud/32/166_2.png) [@mintcloud](https://forum.0xprotocol.org/u/mintcloud)\
**Post date:** [December 7, 2021, 12:08am UTC](https://forum.0xprotocol.org/t/update-closed-call-for-devs-add-wcelo-balances-in-treasury-page/1071/4 "2021-12-07T00:08:31Z")

</div>

It’s possible, but not super easy as I’m not sure if Coingecko has a way to pull prices from token addresses (as this is what we could read from the Treasury)

---

<div class="post-metadata">

**Author:** ![PlusZero](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@PlusZero](https://forum.0xprotocol.org/u/PlusZero)\
**Post date:** [December 8, 2021, 8:56am UTC](https://forum.0xprotocol.org/t/update-closed-call-for-devs-add-wcelo-balances-in-treasury-page/1071/5 "2021-12-08T08:56:43Z")

</div>

Hi!  
I’d be happy to do it. I would probably need to use another free api if you want to automatize the process for every new token, would that be ok?

---

<div class="post-metadata">

**Author:** ![mintcloud](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.0xprotocol.org/mintcloud/32/166_2.png) [@mintcloud](https://forum.0xprotocol.org/u/mintcloud)\
**Post date:** [December 8, 2021, 12:18pm UTC](https://forum.0xprotocol.org/t/update-closed-call-for-devs-add-wcelo-balances-in-treasury-page/1071/6 "2021-12-08T12:18:48Z")

</div>

Sure, which one were you thinking about?  
In any case, feel free to open up a PR and proceed.  
First come first served - with acceptable code quality, someone at 0x Labs will review.
