Add liq 1.2, PAXUSD and USDT contracts for backfill events process#310
Add liq 1.2, PAXUSD and USDT contracts for backfill events process#310elizabethengelman merged 2 commits intobetafrom
Conversation
2767c54 to
d4b8764
Compare
| @@ -1,5 +1,6 @@ | |||
| #!/bin/sh | |||
|
|
|||
| ENDING_BLOCK_NUMBER=10875761 | |||
There was a problem hiding this comment.
I'm wondering if we might want to remove the ENDING_BLOCK_NUMER var from this file entirely and just hard code 10875761 as the value passed to -e ... not sure if an env var in the deploy could end up overriding the value we're assigning here
There was a problem hiding this comment.
oh yeah, good point - like if we have an ENDING_BLOCK_NUMBER set in the environment already, it could overwrite this value. i'll update shortly.
rmulhol
left a comment
There was a problem hiding this comment.
LGTM - minor questions but I don't think they're blocking
| address = "0x65c79fcb50ca1594b025960e539ed7a9a6d434a3" | ||
| abi = '[{"inputs":[{"internalType":"address","name":"vat_","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":true,"inputs":[{"indexed":true,"internalType":"bytes4","name":"sig","type":"bytes4"},{"indexed":true,"internalType":"address","name":"usr","type":"address"},{"indexed":true,"internalType":"bytes32","name":"arg1","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"arg2","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"LogNote","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"ilk","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"val","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"spot","type":"uint256"}],"name":"Poke","type":"event"},{"constant":false,"inputs":[],"name":"cage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"guy","type":"address"}],"name":"deny","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"ilk","type":"bytes32"},{"internalType":"bytes32","name":"what","type":"bytes32"},{"internalType":"uint256","name":"data","type":"uint256"}],"name":"file","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"what","type":"bytes32"},{"internalType":"uint256","name":"data","type":"uint256"}],"name":"file","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"ilk","type":"bytes32"},{"internalType":"bytes32","name":"what","type":"bytes32"},{"internalType":"address","name":"pip_","type":"address"}],"name":"file","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"ilks","outputs":[{"internalType":"contract PipLike","name":"pip","type":"address"},{"internalType":"uint256","name":"mat","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"live","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"par","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"ilk","type":"bytes32"}],"name":"poke","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"guy","type":"address"}],"name":"rely","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"vat","outputs":[{"internalType":"contract VatLike","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]' | ||
| deployed = 8928152 | ||
| [contract.MCD_VAT] |
There was a problem hiding this comment.
Are we adding the CDP_MANAGER and MCD_VAT here to avoid forgetting to add them in the future?
There was a problem hiding this comment.
Yep, just noticed that they were missing, so I though I'd add them to avoid confusion.
Also, I think this may be leftover from in the past where we had to make sure to configure all contract addresses, otherwise loading the config would fail. I feel like this isn't the case anymore, but wanted to make sure not to fail for that reason.
d4b8764 to
3414f31
Compare
TODO: