celo-monorepo icon indicating copy to clipboard operation
celo-monorepo copied to clipboard

Add Ultragreen functions to celocli

Open martinvol opened this issue 1 year ago • 4 comments

Functions should support:

  • handle(address tokenAddress)
  • handleAll()
  • distribute(address tokenAddress)
  • distributeAll()

As described in the CIP: https://github.com/celo-org/celo-proposals/blob/master/CIPs/cip-0052.md

### Tasks
- [x] Expose functions in contract kit
- [x] Integrate to celo cli
- [ ] Add unit tests.

martinvol avatar May 22 '23 12:05 martinvol

Related pull requests:

  • https://github.com/celo-org/celo-monorepo/pull/10524
  • https://github.com/celo-org/celo-monorepo/pull/10403

arthurgousset avatar Sep 25 '23 11:09 arthurgousset

(for context) The ultragreen smart contract is going live on Mainnet with the ginger hardfork.

arthurgousset avatar Sep 25 '23 11:09 arthurgousset

Some additional context from @martinvol:

  • UltraGreen contract is deployed and will accumulate fees after the hardfork
  • first exchange will happen after it gets enabled, in a separate governance proposal
  • At the moment there’s no rush to actually publish the CLI with the update

I still propose we get to work on this, so it's out of the way, but the prioritisation doesn't have to do with the Gingerbread hardfork tomorrow (Tue, Sep 26).

arthurgousset avatar Sep 25 '23 15:09 arthurgousset