Function: fund(IMarket IMarket)
Claims the oracle's fee from the given market.
Note that market
can be an attacker-deployed Market --- the only requirement is that market.oracle()
returns an oracle that is an instance of this factory. However, the only impact is that market.claimFee()
is called.
Inputs
market
Control: Arbitrary.
Constraints: None.
Impact: The
market.oracle()
is called, and if the return value is a valid instance,market.claimFee()
is called.