The crypto lender has secured a $400 million credit facility from FTX. The sale could net it $240 million.