Lotto: integration from transaction branch