Closed Kukovec closed 1 month ago
Do we want one alert contract per monitored contract?
Yeah, that would be nice, but how would we discover this alert contract? We would need a repository contract then?
Yeah, that would be nice, but how would we discover this alert contract? We would need a repository contract then?
You could do this with N+1
contracts: a central AlertDispatcher
, which gets called by solarkraft, and delegates further to the individual AlertForX
contract associated with a particular monitored contract X
Yeah, that would be nice, but how would we discover this alert contract? We would need a repository contract then?
You could do this with
N+1
contracts: a centralAlertDispatcher
, which gets called by solarkraft, and delegates further to the individualAlertForX
contract associated with a particular monitored contractX
Let's keep things simple for this phase. One alert contract for everything.
First step towards #67
We should understand if this is the interface we want from the Alert contract or if we want to go in a different direction.