Skip to content

Commit

Permalink
Fix Perennial V2.2 contract addresses (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsheng1568 authored May 31, 2024
1 parent e76ad9a commit 1cb4714
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"name": "AccountPositionProcessed",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "BeneficiaryUpdated",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "CoordinatorUpdated",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"name": "ExposureClaimed",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"name": "FeeClaimed",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "Initialized",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "OracleUpdated",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"name": "OrderCreated",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"name": "ParameterUpdated",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
"name": "PositionProcessed",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
"name": "RiskParameterUpdated",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"name": "Updated",
"type": "event"
},
"contract_address": "SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"contract_address": "SELECT market FROM ref('MarketFactory_v2_event_MarketCreated') GROUP BY market UNION ALL SELECT market FROM ref('MarketFactory_v2_2_event_MarketCreated') GROUP BY market",
"field_mapping": {},
"type": "log"
},
Expand Down

0 comments on commit 1cb4714

Please sign in to comment.