ZenGround0 / onramp-contracts

Prototyping smart contracts piping data to the filecoin network
2 stars 5 forks source link

Oracle selection protocol #12

Open ZenGround0 opened 4 months ago

ZenGround0 commented 4 months ago

While we are still using message passing we could do programmable oracle selection by putting oracle address in the extra data of a deal. The default alternative is that there is one prover contract for each onramp contract so SPs could make multiple deals with the same data to satisfy multiple different cross chain oracles.

We could also notify multiple oracles for a single deal i.e. half the data paid for by polygon half by matic.

This might not be that important since it probably goes away once we move from message passing to state oracle.