Closed aslawson closed 3 years ago
Added details to requirements
Check no cEUR balance before destroying ReleaseGold contracts celocli releasegold:refund-and-finalize
Is this needed? IIUC this was to prevent contracts from being destroyed that may have accumulated cUSD validator rewards
What about account:balance
?
seems like economics team has taken most of this on, but not done in a generic stabletoken fashion. will create a separate ticket to generalize it.
@gastonponti will scope remaining work needed
It is included on the ticket, but here's an example of how the cli handles oracle:list
for an stableToken today
./packages/cli/bin/run oracle:list 0xcCA78ae41fe8F83eE7F37B0110eb6FAe3E9Ca0F0
(node:3956) ExperimentalWarning: The fs.promises API is experimental
Failed to close the connection: Error: Expected 0xcCA78ae41fe8F83eE7F37B0110eb6FAe3E9Ca0F0 to be one of: StableToken
See more help with --help
› Error: Expected 0xcCA78ae41fe8F83eE7F37B0110eb6FAe3E9Ca0F0 to be one of: StableToken
› See more help with --help
We should also update these commands:
celocli network:contracts
celocli network:parameters
@gastonponti is this item in the description complete?
Check no cEUR balance before destroying ReleaseGold contracts celocli releasegold:refund-and-finalize
Removed https://app.zenhub.com/workspaces/cap-backlog-board-600598462807be0011921c65/issues/celo-org/celo-monorepo/7157 from this epic as it is low priority and closing Epic as complete.
CLI use cases that need updating
celocli transfer:euros
celocli exchange:euros
celocli config:set --gasCurrency cEUR
celocli releasegold:refund-and-finalize
Detailed breakdown:
exchange show
commandexchange:euros
commandcheckNotDangerousExchange
to work for a parametrized stable tokenexchange:celo
andexchange:gold
to work with cEUR as wellaccount:balance
command to include cEURoracle:list
https://github.com/celo-org/celo-monorepo/blob/master/packages/cli/src/commands/oracle/list.ts#L16oracle:remove-expired-reports
https://github.com/celo-org/celo-monorepo/blob/master/packages/cli/src/commands/oracle/remove-expired-reports.ts#L16oracle:report
https://github.com/celo-org/celo-monorepo/blob/master/packages/cli/src/commands/oracle/report.ts#L18oracle:reports
https://github.com/celo-org/celo-monorepo/blob/master/packages/cli/src/commands/oracle/reports.ts#L18