For DAOs, functions such as the Milkman contract bridge the hole in time amongst a governance proposal and an on-chain swap by letting the DAO to specify an on-chain rate feed from which to drag real-time prices (rather then specifying a set cost) Greatest prices when COWs are identified, or http://cow-protocol.fi/