At the end of the running time of the lottery pool, the winners are selected randomly by a smart contract and their principle amount is automatically swapped for the auctioned tokens. The pool creator claims the money raised from the sale, while winners will claim their swapped tokens from the pool.