mento-protocol / mento-sdk

An SDK for integrating applications with the Mento protocol
MIT License
0 stars 3 forks source link

Update contract addresses based on new governance deployments on testnets #44

Closed bayological closed 5 months ago

bayological commented 6 months ago

Description We now have governance contracts deployed on Alfajores and Baklava. To make the contract addresses accessible we need to add them to the JSON mapping in the SDK that is used by the function getContractsByChainId, which is currently empty.

Acceptance Criteria

bayological commented 6 months ago

Story Points: 1 See the discussion in Sprint Poker - 18th Jan

Powered by Parabol

baroooo commented 6 months ago

ALFAJORES:

Governance Factory: https://alfajores.celoscan.io/address/0xD4079B322c392D6b196f90AA4c439fC2C16d6770#code

Proxy Admin: https://alfajores.celoscan.io/address/0x57F4f8A661760656302eB9F68C06a3bde936ce41#code

Mento Token: https://alfajores.celoscan.io/address/0x53De3F938c64baB8C621c8A3C5000b385afE2404#code

Emission: https://alfajores.celoscan.io/address/0x8D1267bFf3f8166AEB2B58217b74188d1fe326f3#code

Airgrab: https://alfajores.celoscan.io/address/0x281fA47f59456fA04DF699539fA4b1F25e7769A3#code

MentoLabs Treasury Timelock(Proxy): https://alfajores.celoscan.io/address/0xf9d1e8783fca3e5f712a53d0a544460fe017cf8f#readProxyContract

Mento Governor(Proxy): https://alfajores.celoscan.io/address/0x84382a356c1dc6ada21997e64dc72e5a7acf5826#readProxyContract

Governance Timelock(Proxy): https://alfajores.celoscan.io/address/0x2afc4a1e7928fb3bfc81076740d3142ff8b1de05#readProxyContract

Locking(Proxy): https://alfajores.celoscan.io/address/0x65a1271ce7b2ec8d564a4bc752e13a36a46e81b8#readProxyContract

baroooo commented 6 months ago

BAKLAVA:

Governance Factory: https://explorer.celo.org/baklava/address/0x77645271665AdDF195202dEf1ad3cA678B442411

Proxy Admin: https://explorer.celo.org/baklava/address/0x942815230f64b72e9e17f7923d335920aa04acb8

Mento Token: https://explorer.celo.org/baklava/address/0xd2f4f160baf7d88a7a9189b03d0b3aa6a5d9775b

Emission: https://explorer.celo.org/baklava/address/0xcd427ddb27d835e5353312e7897bb9ad35f0e214

Airgrab: https://explorer.celo.org/baklava/address/0x349aa8910577a6fe16ca7b98b5a135d14ce4df9f

MentoLabs Treasury Timelock: https://explorer.celo.org/baklava/address/0xe06c81885a45d50a15a2b66575355875332a2a78

Mento Governor: https://explorer.celo.org/baklava/address/0x5dfe8cc7743c636a86bed8f8d0de982d502e22fc

Governance Timelock: https://explorer.celo.org/baklava/address/0xb5977b1d208ef35faf97a9534dd849c356f362c5

Locking: https://explorer.celo.org/baklava/address/0x831dafc0912e1c2aba2da90668c0856d48a8c06b