File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
circuit_breaker_validator Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ class OnchainTrade(Trade):
9090 limit_sell_amount : int
9191 limit_buy_amount : int
9292 kind : str
93- hooks : Hooks = None # Will be populated with hooks from appData
9493
9594 def volume (self ) -> int :
9695 """Compute volume of a trade in the surplus token"""
@@ -232,9 +231,9 @@ class OnchainSettlementData:
232231 tx_hash : HexBytes
233232 solver : HexBytes
234233 trades : list [OnchainTrade ]
235- executed_hooks : list [tuple [ HexBytes , Hook ]] = (
236- None # Will be populated with executed hooks from transaction trace
237- )
234+ executed_hooks : list [
235+ tuple [ str , Hook ]
236+ ] # Will be populated with executed hooks from transaction trace
238237
239238
240239@dataclass
@@ -254,9 +253,7 @@ class OffchainSettlementData:
254253 jit_order_addresses : set [HexBytes ]
255254 native_prices : dict [HexBytes , int ]
256255 # hooks data
257- order_hooks : dict [HexBytes , Hooks ] = (
258- None # Will be populated with hooks from appData
259- )
256+ order_hooks : dict [HexBytes , Hooks ] # Will be populated with hooks from appData
260257
261258
262259@dataclass
You can’t perform that action at this time.
0 commit comments