Add CeloToken and LockedCelo to the registry

Proposal Key Aspects

  • Receiver Entity: N/A
  • Status: DRAFT
  • Title: Add CeloToken and LockedCelo to the on-chain contract registry
  • Author(s): @soloseng, Martín Volpe (@martinvol)
  • Type of Request: Smart Contract Changes
  • Funding Request: N/A
  1. Summary

This proposals aims to add CeloToken and LockedCelo to the Celo registry.

  1. Motivation

At mainnet launch back in 2020, the Celo token was called “Celo Gold”. The contracts and the directory registry where then named accordingly. When the token got renamed later that year, smart contracts were already using the assumption that the token was still called “Celo Gold”, and thus changing that would require heavy lifting.

This proposal is the first step in the path towards fully deprecating references to Celo Gold in the Celo smart contracts. After Contract Release 12, smart contracts will assume the Celo token has a registry entry CeloToken and the LockedCelo (currently known as “LockedGold”) has a registry entry called LockedCelo.

Registry entries GoldToken and LockedGold will remain in the codebase for backwards compatibility reasons, but after this proposal passes developers and users are highly encouraged to update their references.

  1. Specification

N/A

  1. Metrics and KPIs

N/A

  1. Current Status

Ready to propose.

  1. Timeline and Milestones

Ready to be submited.

  1. Detailed Budget

N/A

  1. Payment Terms

N/A

  1. Team

N/A

  1. Additional Support/Resources

Full proposal found here.

1 Like