Skip to content

Commit

Permalink
chore: update bad hexes
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Jul 15, 2022
1 parent c30fe20 commit 93956b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dank_mids/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

# When you get these call responses back from the multicall, we know there was some problem with execution.
# If you make the exact same calls without multicall, you will get an Exception not a response.
# TODO: Replicate brownie's logic for detecting reverts.
BAD_HEXES = [
# Chainlink feeds no access
"0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094e6f206163636573730000000000000000000000000000000000000000000000",
Expand All @@ -21,4 +22,8 @@
"0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000246d73672e736967206973206e6f742061737369676e656420746f207375626d6f64756c6500000000000000000000000000000000000000000000000000000000",
# only wrapped native contract could send native token
"0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000346f6e6c792077726170706564206e617469766520636f6e747261637420636f756c642073656e64206e617469766520746f6b656e000000000000000000000000",
# Controller Rejected
"0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013434f4e54524f4c4c45525f52454a454354454400000000000000000000000000",
# Diamond: Function does not exist
"0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000204469616d6f6e643a2046756e6374696f6e20646f6573206e6f74206578697374",
]

0 comments on commit 93956b6

Please sign in to comment.