Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more info to network:contracts #7379

Merged
merged 14 commits into from
Apr 1, 2021
Merged

Add more info to network:contracts #7379

merged 14 commits into from
Apr 1, 2021

Conversation

yorhodes
Copy link
Contributor

@yorhodes yorhodes commented Mar 10, 2021

Description

  • Adds version, implementation address, and token balances to network:contracts in table format for use with oclif table flags

Tested

Contract             Proxy                                      Implementation                             Version Balance
Accounts             0x7d21685C17607338b313a7174bAb6620baD0aaB7 0x942Bc5f6b0F2BCa66c0c7c4e1ebe70BD8B5dd617 1.1.1.1
Attestations         0xdC553892cdeeeD9f575aa0FBA099e5847fd88D20 0x936d74304a17440488e02197285a2EA5f6Dd40A8 1.1.1.1 cUSD: 7045750000000000000000
BlockchainParameters 0x6E10a8864C65434A721d82e424d727326F9d5Bfa 0xDEfbc89482cd36B98d1b506Cc56Dd2AF74217955 1.2.0.0
DoubleSigningSlasher 0x50C100baCDe7E2b546371EB0Be1eACcf0A6772ec 0x4Bb82B5862Beb483Fdb762EC4A6cB60953568A12 1.1.1.0
DowntimeSlasher      0x71CAc3B31c138F3327C6cA14f9a1c8d752463fDd 0x9ebB6A46149a43C9D1B12EfdC068b969eCA7246F 2.0.0.0
Election             0x8D6677192144292870907E3Fa8A5527fE55A7ff6 0xBDeC4C0A38D801dfc2C4d6bC2D87f9D73818b2cE 1.1.1.0
EpochRewards         0x07F007d389883622Ef8D4d347b3f78007f28d8b7 0x563BA8Ed56bd32a964831aB6AfF1E53238177eDA 1.1.1.0
Escrow               0xf4Fa51472Ca8d72AF678975D9F8795A504E7ada5 0x7A097d13F2B9f4E32effFBf2a5EA756dAb4420C1 1.1.1.1 CELO: 892000000000000000, cUSD: 1511978491313639313931
Exchange             0x67316300f17f063085Ca8bCa4bd3f7a5a3C66275 0xEDF3F7e01037e4583de2659C5e243621Ea2501A4 1.1.1.0
ExchangeEUR          0xE383394B913d7302c49F794C7d3243c429d53D1d 0x622833AB6E9501C9072d2c706c60AaB5Ff0234d9 1.1.0.0
FeeCurrencyWhitelist 0xBB024E9cdCB2f9E34d893630D19611B8A5381b3c 0xc301efebAe9c517eA81f87d2CF2Ff0A87caaBc83 1.0.0.0
Freezer              0x47a472F45057A9d79d62C6427367016409f4fF5A 0xa79cDb272799175A118A4Ce49ceCBF3eC86649e6 1.0.0.0
GasPriceMinimum      0xDfca3a8d7699D8bAfe656823AD60C17cb8270ECC 0x7C4194dF1Dbdb5ca737B7d457bB00176f8A52361 1.1.1.0
GoldToken            0x471EcE3750Da237f93B8E339c536989b8978a438 0x195bBd5Cf3E72cBF9a65b32ff6f0DC33938C3994 1.1.1.0
Governance           0xD533Ca259b330c7A88f74E000a3FaEa2d63B7972 0xe7A9d32D87910f4251c54587E447D6124Db6Fd37 1.2.0.2 CELO: 5160264454160221624226654, cUSD: 23838841479812513563, cEUR: 2000000000000000000000000
LockedGold           0x6cC083Aed9e3ebe302A6336dBC7c921C9f03349E 0xc683d91656ED9024ADDD7a40A181398E0258283F 1.1.1.1 CELO: 332042605973406935098788466
Random               0x22a4aAF42A50bFA7238182460E32f15859c93dfe 0xE43ea9C641a2af9959CaEEe54aDB089F65457028 1.1.1.0
Registry             0x000000000000000000000000000000000000ce10 0x203fdf86A00999107Df531fa00b4bA81d674cb66 1.0.0.0
Reserve              0x9380fA34Fd9e4Fd14c06305fd7B6199089eD4eb9 0x0bfE85B0428120D46f1aED15d49a78353E5f20eb 1.1.2.0 CELO: 116929640904329098129292433
SortedOracles        0xefB84935239dAcdecF7c5bA76d8dE40b077B7b33 0x6CEB70e9237dfE15eDC4A35aAd1598225609d171 1.1.2.0
StableToken          0x765DE816845861e75A25fCA122bb6898B8B1282a 0x2c4C1F3E06d494Bcc03E93b373637Cc4333CBd7D 1.2.0.0 cUSD: 1620000000000000000
StableTokenEUR       0xD8763CBa276a3738E6DE85b4b3bF5FDed6D6cA73 0x665CB564390741783d78813445BD3C2eE1A60B78 1.1.0.0
TransferWhitelist    0xb49E4d6F0B7f8d0440F75697E6c8b37E09178BCF 0x0000000000000000000000000000000000000000 1.0.0.0
Validators           0xaEb865bCa93DdC8F47b8e29F40C5399cE34d0C58 0x8cccD359E649d0985eAE0b5b294369aa39e903Af 1.2.0.0

Backwards compatibility

Brief explanation of why these changes are/are not backwards compatible.

@yorhodes yorhodes force-pushed the cli-contract-info branch from 7c309b8 to 789c5b6 Compare March 26, 2021 23:47
@yorhodes yorhodes marked this pull request as ready for review March 27, 2021 01:02
@yorhodes yorhodes requested a review from a team March 27, 2021 01:02
@yorhodes yorhodes requested a review from a team as a code owner March 27, 2021 01:02
@yorhodes yorhodes force-pushed the cli-contract-info branch from ecf6f59 to 65cfefa Compare March 27, 2021 01:02
packages/cli/src/commands/network/contracts.ts Outdated Show resolved Hide resolved
@yorhodes yorhodes force-pushed the cli-contract-info branch from 80a30d3 to 014e7e7 Compare March 30, 2021 19:50
@yorhodes yorhodes added the automerge Have PR merge automatically when checks pass label Mar 30, 2021
Copy link
Contributor

@gastonponti gastonponti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mergify mergify bot merged commit b9ad6f2 into master Apr 1, 2021
@mergify mergify bot deleted the cli-contract-info branch April 1, 2021 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants